PDA

View Full Version : code critique?




yeroen
Mar 4, 2008, 01:43 PM
/*
TOP SECRET Microsoft(c) Project:Longhorn(TM) SP1
Estimated release date: 2008
*/

#include "win95.h"
#include "win98.h"
#include "leopard.h"

char chew_up_some_ram[10000000];

void main() {
while(!CRASHED) {
if(first_time_install) {
make_10_gigabyte_swapfile();
do_nothing_loop();
search_and_destroy(FIREFOX|OPENOFFICEORG|ANYTHING_GOOGLE);
hang_system();
}

if(still_not_crashed) {
basically_run_windows_xp();
do_nothing_loop();
}
}

if(!DX10GPU()) {
set_graphics(aero, very_slow);
set_mouse(reaction, sometimes);
}

//printf("Welcome to Windows 2000");
//printf("Welcome to Windows XP");
printf("Welcome to Windows Vista");

while(something) {
sleep(10);
get_user_input();
sleep(10);
act_on_user_input();
sleep(10);
flicker_led_promisingly(hard_disk);
}

create_general_protection_fault();
}

(from techradar.com advert in Linux mag)
the sequence of "Welcome to.." printfs is what really impressed me



ebel3003
Mar 4, 2008, 08:04 PM
That about sums it up... I chuckled. :D

cherry su
Mar 4, 2008, 08:26 PM
LOL.

This has to be a joke right? It's not a class assignment or w/e?

yeroen
Mar 4, 2008, 09:02 PM
LOL.

This has to be a joke right? It's not a class assignment or w/e?

It's from a Linux magazine. I had a bit of a laugh over it at lunch today, and thought I'd share.

sord
Mar 4, 2008, 09:18 PM
Copyright infringement is a serious crime... :D

yeroen
Mar 4, 2008, 11:14 PM
Copyright infringement is a serious crime... :D

microsoft's copyright that is...

now that the lid on Vista is blown wide open, I'm going to have to go underground to dodge the long arm of Microsoft Legal

pilotError
Mar 5, 2008, 07:38 AM
Good Stuff!