Microsoft Windows reveals stupidity...

February 2, 2009
Part of the source code to Windows 2000 had been leaked onto the Internet before, and pretty it was not. Microsoft's flagship product turned out to be a vast sprawl of spaghetti in Assembly, C and C++, all held together with sticky tape and paper clips. The source code files contained many now-infamous comments including "We are morons" and "If you change tabs to spaces, you will be killed! Doing so f***s the build process".

There were many references to idiots and morons, some external but mostly at Microsoft. For example:

  • In the file private\ntos\rtl\heap.c, which dates from 1989:
    // The specific idiot in this case is Office95, which likes
    // to free a random pointer when you start Word95 from a desktop
    // shortcut.

  • In the file private\ntos\w32\ntuser\kernel\swp.c from 11-Jul-1991:
    // for idiots like MS-Access 2.0 who SetWindowPos( SWP_BOZO )
    // and blow away themselves on the shell, then lets
    // just ignore their plea to be removed from the tray.

  • Morons are also to be found in the file private\genx\shell\inc\prsht.w:
    // We are such morons. Wiz97 underwent a redesign between IE4 and IE5

  • And in private\shell\shdoc401\unicpp\desktop.cpp:
    // We are morons. We changed the IDeskTray interface between IE4

  • In private\shell\browseui\itbar.cpp:
    // should be fixed in the apps themselves. Morons!

  • As well in private\shell\ext\ftp\ftpdrop.cpp:
    We have to do this only because Exchange is a moron.

Microsoft programmers also take their duty to warn their fellow developers seriously against unsavory practices, which are apparently committed on a regular basis. There are over 4,000 references to "hacks". These include:

  • In the file private\inet\mshtml\src\core\cdbase\baseprop.cxx:
    // HACK! HACK! HACK! (MohanB) In order to fix #64710
    // at this very late date

  • In private\inet\mshtml\src\core\cdutil\genutil.cxx:

  • In private\inet\mshtml\src\site\layout\flowlyt.cxx:
    // God, I hate this hack ...

  • In private\inet\wininet\urlcache\cachecfg.cxx:
    // Dumb hack for back compatibility. *sigh*

  • In private\ispu\pkitrust\trustui\acuictl.cpp:
    // Believe it or not there is no way to get current height

  • In private\ntos\udfs\devctrl.c:
    // Add to the hack-o-rama to fix formats.

  • In private\shell\shdoc401\unicpp\sendto.cpp:
    // Mondo hackitude-o-rama.

  • In private\ntos\w32\ntcon\server\link.c:
    // HUGE, HUGE hack-o-rama to get NTSD started on this process!

  • In private\ntos\w32\ntuser\client\dlgmgr.c:
    // HACK OF DEATH!!

  • In private\shell\lib\util.cpp:

  • In private\ntos\w32\ntuser\client\nt6\user.h:
    // The magnitude of this hack compares favorably with that
    // of the national debt.

The most worrying aspect here is not just how these bad practices persist and even find their ways into release builds in large numbers. After all, few things are as permanent as a "temporary" solution. Nor is it surprising how much ancient code still exists in the most recent versions of Windows (although it is somewhat unsettling to see how decades-old mistakes continue to be a problem). No, the most frightening thing is that Microsoft's developers obviously know they are doing terrible things that serious undermine the quality of the end product, but are apparently unable to remedy the known bad quality of their own code.

As you may remember, Windows XP was already out by the time that the above source code got leaked. In fact, back in 2004, Microsoft had been talking about Longhorn (Windows Vista) for three years. Just a few months after the source code leaked out, it was announced that WinFS, touted as Microsoft's flagship Relational File System Of The Future, would not ship with Vista after all. The reason isn't hard to guess: Windows' program code has become increasingly unmaintainable and irrepairable over the years.

more at :


Τι είναι το Linux και γιατί να ασχοληθώ μ'αυτό

January 26, 2009

Το Linux είναι ένα ελεύθερο λειτουργικό σύστημα τύπου Unix που αρχικά δημιουργήθηκε από τον Linus Torvalds και στη συνέχεια αναπτύχθηκε/αναπτύσσεται με τη βοήθεια προγραμματιστών από όλον τον κόσμο. Χρησιμοποιείται στο 65% τών Server του διαδικτύου, σε υπερυπολογιστές, στο διάστημα, σ...

Continue reading...

Linus Torvalds interview at

January 26, 2009
In January 22-2009 Linus Torvalds, the founder of Linux OS, talks about the open source identity. He spoke about a host of topics including point releases, filesystems and what it is like switching to GNOME. He also puts Windows 7 in perspective. I would like to point some of them :

It's 2009 and Linux development is approaching 20 years. How do you look back at the past two decades?

I feel like its very natural and I don't think it will go away. I have a suspicion I will be doing this for a...

Continue reading...

Almost Ready..

January 24, 2009
Well... the website is up and running... I've got some features to add but, for now its ok. Everything is working perfectly... Some minor problems I had, are now solved.
Let me point some of them:

1)The Blog page. There is an annoying bug, that if you create a blog page and name that 'blog' it will not display your posts even if the build manager is full of your posts. The workaround for this is to delete that blog page whit the name 'blog', and create a new one with a different name ( like MyB...
Continue reading...

Hello world.. again..

January 23, 2009
Μετά από μια προσπάθεια να φτιάξω την ιστοσελίδα μου στο .... τελικά διαπίστωσα ότι ο "Site builder" του έχει αρκετά ενοχλητικά bug's, το documentation είναι λιτό και δεν υπάρχει απ'οτι φαίνεται, κάποιο forum με ενεργούς χρήστες.

Ευτυχώς το site που είχα φτιάξει δεν είχε ακόμα υλικό... αλλά ...
Continue reading...

Hello world

January 23, 2009
what a test now

Continue reading...

About Me

Born and living in Greece, interested in Philosophy, Science, Technology, Operating Systems but mostly in tweaking and hacking Linux