Projekt
„Nový hledač“
Stahování WWW stránek
Obecně
http://www.google.cz/#q=View+HTTP+Request+and+Response+Header
http://web-sniffer.net
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields
http://www.askapache.com/online-tools/http-headers-tool
http://www.ericgiguere.com/tools/http-header-viewer.html
http://en.wikipedia.org/wiki/Http
http://en.wikipedia.org/wiki/List_of_HTTP_header_fields#Responses
http://en.wikipedia.org/wiki/List_of_HTTP_status_codes
http://social.msdn.microsoft.com/Search/en-US?query=status%20code&beta=0&ac=3
http://msdn.microsoft.com/en-us/library/ee460783.aspx
http://www.google.cz/#sclient=psy&hl=cs&q=how+download+www+page+in+c%2B%2B
http://www.google.cz/#sclient=psy&hl=cs&q=how+download+www+page+c%2B%2B
http://www.google.cz/#sclient=psy&hl=cs&q=how+download+www+page+c+sharp
http://m.zdrojak.root.cz/clanky/co-prozradila-homepage-velkych-ceskych-serveru/
Správně by se měla využívat jedna connection pro více stránek - servery to mají raději, teda pokud nezasílají connection:close.
Virtual
disk in memory (RAM)
http://www.google.cz/#q=how+make+virtual+disk+in+memory
http://www.google.cz/#q=how+make+virtual+disk+in+ram
http://en.wikipedia.org/wiki/RAM_disk
http://www.google.cz/#q=windows+how+make+virtual+disk+in+memory
http://www.google.cz/#q=windows+how+make+virtual+disk+in+ram
http://support.microsoft.com/kb/257405
http://www.google.cz/#q=linux+how+make+virtual+disk+in+memory
http://www.google.cz/#q=linux+how+make+virtual+disk+in+ram
http://en.wikipedia.org/wiki/Tmpfs
http://www.vmware.com/support/ws55/doc/ws_newguest_setup_simple_steps.html
http://www.howtodothings.com/computers-internet/how-to-increase-virtual-memory-in-linux
http://www.petri.co.il/virtual_increase_vmware_performance.htm
http://www.vanemery.com/Linux/Ramdisk/ramdisk.html
https://help.ubuntu.com/community/VirtualBox
http://www.faqs.org/docs/linux_admin/x1752.html
http://www.linuxfocus.org/English/November1999/article124.html
Open Source
http://www.google.cz/#hl=cs&xhr=t&q=Open+Source
http://en.wikipedia.org/wiki/Open_source
http://cs.wikipedia.org/wiki/Open_source_software
http://www.opensource.com
http://www.opensource.org
http://sourceforge.net
http://ftp.novell.com
http://opensource.seznam.cz
http://www.google.cz/search?hl=cs&source=hp&biw=1276&bih=760&q=GPL
http://en.wikipedia.org/wiki/GNU_General_Public_License
http://cs.wikipedia.org/wiki/GNU_General_Public_License
http://www.gnu.cz
http://www.google.cz/search?hl=cs&q=GNU
http://en.wikipedia.org/wiki/GNU
http://cs.wikipedia.org/wiki/GNU
http://cs.wikipedia.org/wiki/Projekt_GNU
http://www.gnu.org
Operating system.
Linux - sdílení paměti mezi procesy, sleep procesy, semafory a monitory
1.
- Dá se nějak na Linuxu udělat pole v paměti, které by sdílely procesy?
Jistě, třeba shmget
- Pokud ne, zda se dá soubor namapovat do paměti?.
Jistě, třeba map
2.
Jak se dá udělat semafor a monitor, tedy aby
- se proces nemusel startovat vždycky nanovo, ale přešel po skončení činnosti
do sleep mode a nastavení nějaké veličiny jej vzbudilo?
proces musí byt forknut
- řeklo se jinému procesu, že tento proces přešel do sleep mode?
metod je milion, nejspolehlivější je to pres přes VFS (bud nahozené něco sveno,
nebo systemový adresar /proc)
3.
Poraďte, jak má jeden program říci druhému, že už je hotov? Jednoduše,
efektivně.
Nejrychlejší přes flag ve sdílené paměti (nebo ve virtuálním file systému).
Shared Memory
http://www.google.cz/#q=shared+memory
http://en.wikipedia.org/wiki/Random-access_memory
http://en.wikipedia.org/wiki/Shared_memory
http://www.cs.cf.ac.uk/Dave/C/node27.html
http://www.kohala.com/start/unpv22e/unpv22e.chap12.pdf
http://forum.builder.cz/read.php?24,3284588
http://www.abclinuxu.cz/poradna/programovani/show/303338
http://opensource.seznam.cz/SHAllocator/example/index.html?lang=en
http://fscked.org/writings/SHM/shm.html
http://searchcio-midmarket.techtarget.com/definition/shared-memory
http://jroller.com/talipozturk/
http://www.google.cz/#q=c%2B%2B+shared+memory
http://www.google.cz/#q=c%2B%2B+shared+memory+between+processes
http://www.google.cz/#q=c#+shared+memory
http://www.google.cz/#q=c#+shared+memory+between+processes
Flag in Shared Memory
http://www.google.cz/#q=flag+in+shared+memory
shmget
http://www.google.cz/#q=shmget
http://social.msdn.microsoft.com/Search/en-us?query=shmget
http://msdn.microsoft.com/en-us/library/aa366551%28VS.85%29.aspx
http://linux.die.net/man/2/shmget
Memory Stream
http://www.google.cz/#q=MemoryStream
http://social.msdn.microsoft.com/Search/en-us?query=MemoryStream
http://msdn.microsoft.com/en-us/library/system.io.memorystream.aspx
http://msdn.microsoft.com/en-us/library/system.io.memorystream%28VS.71%29.aspx
http://msdn.microsoft.com/en-us/library/system.io.memorystream%28VS.80%29.aspx
http://msdn.microsoft.com/en-us/library/system.io.memorystream.toarray.aspx
http://www.google.cz/#q=MemoryStream.GetBuffer
http://social.msdn.microsoft.com/Search/en-us?query=MemoryStream.GetBuffer
http://msdn.microsoft.com/en-us/library/system.io.memorystream.getbuffer.aspx
http://msdn.microsoft.com/en-us/library/system.io.memorystream.getbuffer%28VS.71%29.aspx
http://blogs.msdn.com/b/rnarayan/archive/2007/08/06/beware-of-memorystream-getbuffer-method.aspx
http://www.google.cz/#q=MemoryStream.ToArray
http://social.msdn.microsoft.com/Search/en-US?query=MemoryStream.ToArray
http://msdn.microsoft.com/en-us/library/system.io.memorystream.toarray.aspx
http://msdn.microsoft.com/en-us/library/system.io.memorystream.toarray%28VS.71%29.aspx
http://osherove.com/blog/2003/10/7/tipmemorystreamgetbuffer-vs-memorystreamtoarray.html
Semafor
http://www.google.cz/#q=Semaphore+programming
http://en.wikipedia.org/wiki/Semaphore_%28programming%29
http://www.google.cz/#&q=Semaphore+C%2B%2B
http://www.google.cz/#&q=Semaphore+C%23
Monitor
http://www.google.cz/#q=Monitor+programming
http://en.wikipedia.org/wiki/Monitor_%28synchronization%29
http://en.wikipedia.org/wiki/Machine_code_monitor
http://en.wikipedia.org/wiki/Hypervisor
http://www.google.cz/#&q=Monitor+C%2B%2B
http://www.google.cz/#&q=Monitor+C%23
Map file into memory
http://www.google.cz/#q=map+file+into+memory
http://en.wikipedia.org/wiki/Computer_data_storage
http://en.wikipedia.org/wiki/Virtual_memory
http://en.wikipedia.org/wiki/Memory-mapped_file
http://msdn.microsoft.com/en-us/library/ms810613.aspx
http://linux.die.net/man/2/mmap
http://linux.die.net/man/2/mmap2
http://www.mkssoftware.com/docs/man3/mmap.3.asp
http://www.gsp.com/cgi-bin/man.cgi?section=2&topic=mmap
http://dev.gentoo.org/~hollow/lucid/doc/group__mmap.html
FileMapping (MS)
http://social.msdn.microsoft.com/Search/en-US?query=FileMapping
http://msdn.microsoft.com/en-us/library/aa366556%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa366551%28v=VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa366542%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa366537%28v=VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/ms923218.aspx
http://msdn.microsoft.com/en-us/library/aa911527.aspx
http://msdn.microsoft.com/en-us/library/aa366791%28VS.85%29.aspx
http://support.microsoft.com/kb/125713
http://social.msdn.microsoft.com/Search/en-us?query=CreateFileMapping
http://msdn.microsoft.com/en-us/library/aa366537%28VS.85%29.aspx
http://msdn.microsoft.com/en-us/library/aa914748.aspx
http://msdn.microsoft.com/en-us/library/ms959953.aspx
http://msdn.microsoft.com/en-us/library/ms923951.aspx
http://www.google.cz/#sclient=psy&hl=cs&q=c+convert+char+array+to+string
http://www.dotnetperls.com/new-string-constructor
Move using Object
http://msdn.microsoft.com/en-us/library/system.object.tostring%28v=VS.71%29.aspx
Class Marshal
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.aspx
http://msdn.microsoft.com/en-us/library/system.runtime.interopservices.marshal.copy.aspx
http://msdn.microsoft.com/en-us/library/ms146625.aspx
http://msdn.microsoft.com/en-us/library/system.intptr.aspx
http://msdn.microsoft.com/en-us/library/6h19f480.aspx
User-agent
http://www.google.cz/search?hl=cs&source=hp&q=User-agent
http://en.wikipedia.org/wiki/User_agent
http://whatsmyuseragent.com
http://user-agent-string.info
http://www.useragentstring.com
http://www.useragentstring.com/Rekonq_id_17420.php
Timeout
http://www.google.cz/#sclient=psy&hl=cs&q=C%23+WebClient+timeout
http://stackoverflow.com/questions/601861/set-timeout-for-webclient-downloadfile
http://stackoverflow.com/questions/1789627/how-to-change-the-timeout-on-a-net-webclient-object
http://social.msdn.microsoft.com/forums/en-US/csharpgeneral/thread/5afef094-ae39-4070-9977-0cb06951cdd4
http://www.experts-exchange.com/Programming/Languages/C_Sharp/Q_23853028.html
http://www.eggheadcafe.com/community/aspnet/2/10122522/webclient-time-out-period.aspx
http://www.eggheadcafe.com/software/aspnet/30643656/webclient-timeout.aspx
http://www.techtalkz.com/c-c-sharp/66589-webclient-timeout.html
http://www.codeguru.com/forum/archive/index.php/t-288689.html
http://bytes.com/topic/c-sharp/answers/265007-webclient-timeout-exception
http://stackoverflow.com/questions/1043234/strange-timeout-webexception-in-http-get-using-webclient
Buffer Size - Maximum Length
http://www.google.cz/#hl=cs&xhr=t&q=C%23+WebClient+maximum+length
http://www.google.cz/#hl=cs&xhr=t&q=C%23+StreamReader+buffer+size
http://msdn.microsoft.com/en-us/library/ms143458.aspx
Je to parametr v konstrukci StreamReader.
public StreamReader(
Stream stream,
Encoding encoding,
bool detectEncodingFromByteOrderMarks,
int bufferSize
)
The
buffer size, in number of 16-bit characters, is set by the bufferSize
parameter. If bufferSize is less than the minimum allowable size (128
characters), the minimum allowable size is used.
Pozor: ve Stream.Read je pole i maximální délka v bytech, ve
StreamReader.ReadBlock je pole i maximální deláka v 16ti bytových Unicode
znacích.
Perl
Perl - Sockety
Viz moje programy.
Základní úlohy – problémy
Práce s WWW adresami.
User-agent.
Time-out při stahování.
Maximální délka stažených dat (bytes, chars, buffer, maximum_length).
Převod do UTF8.
Viz též