Interesting linkage–some old, some new

  • “Unfairenheit 9/11” – A review of Michael Moore’s latest. (link courtesy of Mark)
  • Max Thrane’s “Why I hate Gmail” – An interesting complaint (with hilarious examples) on the hype that has sucked up bloggers regarding Gmail. (On a geeky note, that is a very sexy color scheme/layout on that site…)
  • “UPN, blackspoitation of the 21th (sic) century” – Written by a Rose student (should this be advertised?), this is commentary on (as the title suggests) UPN’s choice of programming, complete with a proposed, ah, “solution”. The first half of the post has a good point, anyway. The second half is a little over the top.
  • “Donor Eggs and Stupid Names and Anal Temperatures, Oh My!” – Hilarious for the stupid names portion, in the second and third paragraphs. Actually, the whole thing is interesting and intelligent (as is the rest of the site, for that matter).
  • “Chappelle lets rude crowd have it” – Damn. Some folks are rude. It must be some kind of tiring to be in Chappelle’s spot–everywhere you go, someone is quoting your worst one-liners, as though you’ve said nothing intelligent or that was actually commentary. Now, I haven’t watched enough of Chappelle’s show to know if he makes intelligent commentary (I’m a George Carlin girl, myself), but I think I can understand Chappelle’s frustration with the “rude crowd”. (link courtesy of Sexy Short Stuff, also known as Steve)
  • Anybody need a reading list? (This is the good one, not the “Reader’s” list.) Where to find some of those books, if your local university library is so crummy as to only have technical books? Project Gutenberg, of course. Or at least, I found James Joyce there.

Unfortunately, the difficult part is tomorrow…

So I’ve been working on this app for Dr. M–the UV/VIS number cruncher. I’ve got it working and all that good stuff, but I need to redesign the GUI, and that gets saved for tomorrow, with all the joys of fighting with Visual C++. The big thing was getting it working, and quickly, behind the scenes.

I ran into an interesting dilemma where the app ran so slowly it was unbearable. It took twenty to thirty minutes to crunch about seventy thousand pairs of wavelength/absorbance data (a 1.3 MB comma delimited file). It took the old DOS version about a minute. It obviously wasn’t any of the algorithms Mr. Dr. M wrote, since the DOS version worked fine.

Two hours and much research on file streams in Windows later (my initial suspicion was that using the old iostream class to perform file IO in Windows was killing the app–but again, the DOS version does), I found two lines where I used an ass-backwards, convoluted way of clearing two vectors and inserting data into them again. And those two clearing statements are executed for every single sample set (26 * 4.5 = 117), and the two statements to assign the data are executed for every single pair of wavelength/absorbance data. See about about 70,000 pairs being in this particular file.

A quick fix to the four lines in question gave me a sexy fast app. It’s about damn time. I love this stuff, though…

Now I must read and unwind so I can sleep, which should be easy since Dublab.com is playing Will Smith’s “Summertime”.