November 2003 - Posts

Swimming Across - An inspiring story...

This is a story about the early years of a young man, who later became the CEO of Intel. It starts in the late 1930s in Hungary  and spans through the Second World War, the communist regime, his University year(s), the revolution of 1956 and finding a new home and life in America. I found this book invaluable because of its clear and honest way of telling the story of those years.

It helped me to understand the things happened in those years in my home country (Hungary) and what it takes to survive and not to sink while swimming across...

The worst jobs in science

there are some really bad jobs here like: Flatus Odor Judge, Barnyard Masturbator or Corpse-Flower grower...

Odor judges are common in the research labs of mouthwash companies, where the halitosis-inflicted blow great gusts of breath in their faces to test product efficacy. But Minneapolis gastroenterologist Michael Levitt recently took the job to another level—or, rather, to the other end. Levitt paid two brave souls to indulge repeatedly in the odors of other people's farts. (Levitt refuses to divulge the remuneration, but it would seem safe to characterize it thusly: Not enough.) Sixteen healthy subjects volunteered to eat pinto beans and insert small plastic collection tubes into their anuses (worst-job runners-up, to be sure). After each "episode of flatulence," Levitt syringed the gas into a discrete container, rigorously maintaining fart integrity. The odor judges then sat down with at least 100 samples, opened the caps one at a time, and inhaled robustly. As their faces writhed in agony, they rated just how noxious the smell was. The samples were also chemically analyzed, and—eureka!—Levitt determined definitively the most malodorous component of the human flatus: hydrogen sulfide.

original article

Computer software helps piece together shredded documents from Stasi archives...

... this sounds really cool!

The last secrets of the East German State Security Service (Stasi), torn into shreds and stored in 16,000 brown sacks, may soon be pieced together by a software program developed by the Fraunhofer Institute.

There are 16 000 bags of documents and it will take 5 years to piece together by software and it would take more than 400 hundred years by hand.

OpenFileDialog problem...

I am doing a winform app right now and want to use the OpenFileDialog control. I need to open a file... but I can't. It is weird, it is painfull and makes me very said. What is happening that when the execution arrives to this line, my application just hangs:

(new System.Windows.Forms.OpenFileDialog()).ShowDialog();

Does nothing. Almost like that OpenFileDialog would be there somewhere just only not visible. I moved this line to several different places and no luck, I moved it to my main procedure and it did not work there either and I do not understand what is happening and why. If I remove this one line then my appplication is just do fine, if I put this line back it hangs.... If anyone knows the solution please tell me. The other weird thing is when I shut down the machine a nice dialog window pops up telling me that some "WindowsForms ParkingWindow" is not responding and do I want to end the process...

This is clearly the low point of the week for me!

[Update]

ofdFile.InitialDirectory = Environment.GetFolderPath(System.Environment.SpecialFolder.DesktopDirectory);
if(ofdFile.ShowDialog(this) == DialogResult.OK) 
{
...
}

Setting the InitialDirectory was the key thing. It works now and if I remove the InitialDirectory line it does produce the same error. However I checked some of my earlier stuff and the FileOpenDialog was called without setting the InitialDirectory property. I tried to create a test project and I could do OpenFileDialog with no InitialDirectory specified at all... Weird!

Programmer or Serial killer...

you should decide if the person on the picture is a serial killer or a programmer. I was quite rubbish, I've got only 3/10. How about you? But it is fun....

Try the test.

My favorite java apps...

I 've been a big fan of java since the early beta days. It was a brilliant enviroment to learn object oriented programming. In the last couple of years I moved away from java as there was no proper IDE for it and the UI (Swing) was just dead slow and began to use .NET. But recently I just found couple of cool applications written in java and they are restored my faith in java partly... they are both cool and usefull. One of them is called Alice and helps to teach programming for little kids and the other app is called JDiskReport, it helped me big time to save some precious storage space on my packed hard drive....  

Worth2Read

Couple of articles for lunchbreak reading....

 

CLR Profiler 2.0

Download it from here and read about profiling sharpreader.