Archive for May 11th, 2008

Why Microsoft sucks part 108748194

Sunday, May 11th, 2008

MicrosoftI don’t like Microsoft. True: without windows the peneratation of the personal computer would not have been as high as now. So also the widespread use of internet would not have been possible without Microsoft. Albeit I really have a problem with the way Microsoft does business. The latest scandal is that MSN and live messenger now block URL’s with YouTube links in them. So you can’t send any funny YouTube video’s to your friends who are using MSN of Windows live messenger.

This kind of practices really make me sick. I hope this will backfire on Microsoft in ways they can’t imagine.

Update: The junta in Redmond reversed the policy after being exposed.

25 year old bug fixed in BSD Unices

Sunday, May 11th, 2008

Here’s a remarkable report on a bug that has been living in BSD for over 25 years. At one time, BSD-hero, Kirk McKusick implemented the dir* library in BSD to prevent applications from having to implement the directory oriented functions themselves. Afterwards he changed 22 programs that were using direct directory handling to using the operating system functions. The bug could prolong itself for 25 years because it manifests itself in a particular (rare) case:

This code will not work as expected when seeking to the second entry of a block where the first has been deleted: seekdir() calls readdir() which happily skips the first entry (it has inode set to zero), and advance to the second entry. When the user now calls readdir() to read the directory entry to which he just seekdir()ed, he does not get the second entry but the third.

Even OSX has the same problem since it has BSD under the hood. The good news is that BSD now even got better and a small consolation for all coders out there: even Kirk McKusick slips one in every now and then. Happy coding.

Why there are no open-source video drivers

Sunday, May 11th, 2008

Did you wonder why the linux support of your graphics card from ATI or Nvidia is so crappy? Why don’t they just open source the driver? Now we know: here’s a link that shows you how to upgrade your consumer Nvidia GeForce videocard into a (way more expensive) Nvidia Quadro card. Of course you are not instructed to solder extra GPU’s on your videocard, this is a software modification. It allows you to use the premium drivers intended for the Quadro series on your GeForce. So the hardware is very similar but you pay around $1000 extra for the driver to make the card faster in professional 3D software.

So know you know why there never will be high quality open-source drivers for your graphics card: the manufacturers want to rip you.