C# CrawlerSagiv Hadaya is crawling in C#...just for funGuids- September 19, 2002 An easy and fast way to create unique ID's for your application is GUIDs, A GUID is a 128-bit integer (16 bytes) that can be used across all computers and networks wherever a unique identifier is required. Such an identifier has a very low probability of being duplicated. in C we create a new guid like so: System.Guid guid=System.Guid.NewGuid(); this will generate a guid out of your local MAC (network adapter physical address which itself is unique) your local time, and more...if you.http://radio.weblogs.com/0111551/2002/09/19.html#a60 Threads made easy- September 19, 2002 Dont believe everything they told you...Threads in C is not hard, in fact its not even easy, its SUPER easy. A thread is an encapsulation of the flow of control in a program. you might be used to writing single-threaded programs ... a new article is now available through the articles section (the left pane) or herehttp://radio.weblogs.com/0111551/stories/2002/09/19/threadsMadeEasysuperEasy.html Is my string Interned- September 17, 2002 String interning...what does it mean catch a new article (right) that explains that exact issue. ...Defenition: The CLR maintains a table (the "intern pool"), which holds one instance of each unique string declared in a program, as well as any unique instance of string you programmatically added...http://radio.weblogs.com/0111551/stories/2002/10/11/stringInterned.html Downloader App- September 12, 2002 This you will all love...i hope. I have wrote an application which make use of the easy class in C - WebClient. the application logs into a playboy pics site, and downloads ALL pictures from the site to your computer...now notice that its about 600 pics!!! its on the articles section to the right.http://radio.weblogs.com/0111551/stories/2002/10/11/thePlayboyDownloader.html Reading from Console- September 10, 2002 A very nice,easy and smart way to run a console application as a second process from your console application, and read its output into string buffer of your application. Articles links to the right.http://radio.weblogs.com/0111551/stories/2002/10/11/runASecondConsoleAppAndReadItsOutput.h... Abstract in my Class- September 10, 2002 Abstract abstract abstract, what is it well read it all on the new article about C Abstract Classes.http://radio.weblogs.com/0111551/stories/2002/10/11/cAbstractClasses.html Hashtable: add versus property- September 4, 2002 In my last Hashtable & serialization example, you my have noticed a Hashtable addition that has a different approach then the retrival. for addition we used: myCollection.add(mn,ad); for retrival we used: ad = myCollectionmn; where myCollection is the hashtable, mn and ad are structs. i got an email saying that an addition could be performed as such: myCollectionmn=ad; and that is correct and excellent, but lets point the differences between property addition and add...http://radio.weblogs.com/0111551/2002/09/04.html#a54 Hashtable serialized- September 3, 2002 Just added a new article to the articles section (left). this article shows a full usage of the hashtable data structure in C and a way to serialize it into a binary file. the full application is a phone-like book, you can freely change it and use it as you wish. any questions regarding that article will be hapily answeredhttp://radio.weblogs.com/0111551/stories/2002/09/03/hashtableSerialized.html Find & replace insensitive- September 3, 2002 This has been a question that i saw couple of times at the Microsoft news groups...and it goes something like that: "Is there a way to search a given string for a specific sub-string and replace that with another, but the string to be searched will be case insensitive" And i decided to sit down and hit the keyboard until a nice function will come up, and it works,,,check the articles link (right) for the 'Find & replace Insensitive' article...http://radio.weblogs.com/0111551/stories/2002/10/11/searchReplaceInsensitive.html |