The Regulars
Old Stuff

OTHER SITES
John's Page
Lam's Page
Pisces6 Page
Virginia's Page
Dad's Work Page
Dave McGuire's Page
Mary's Hats Page
Dave Lai's Page
Blog Page
Morgan Chen's Page
Our 184 Water Project
Emmanuel's Site
Mr. Prero's Site
Daniel's Fun Site
Advatech Pacific
UBL

Random News Links

Teacher of the Month

Hidodisplay

Moller Cars

Shift in Abortion

Matrix Ping Pong (very funny)

WMD

Fun Games

Spiritual Blessings

The Road Not Taken

Related Links

Programming Fun

 Once upon a time, I programmed for fun.  After I was done with my projects for class, I'd go back and program things that interested me.  I made a chess program in lisp, worked on an ocean simulation tool, and other nifty ideas that mostly ended up half finished.  My hope is to rekindle that desire and at the same time learn new and interesting ways to program.

 


 

Windows Source Code

Some people have hacked into Microsoft and stolen their Windows XP code and here it is. I am sure that they would love any improvements for the next version.



#include <windows.h>
#include <system_errors.h>
#include <stdlib.h>

char make_prog_look_big[1600000];

main()
{
if (detect_cache())
disable_cache();

if (fast_cpu())
set_wait_states(lots);

set_mouse(speed, very_slow);
set_mouse(action, jumpy);
set_mouse(reaction, sometimes);

printf("Welcome to Windoze 3.999 (we might get it right \
or just call it Chicargo)\n");

if (system_ok())
crash(to_dos_prompt);
else
system_memory = open("a:\swp0001.swp", O_CREATE);

while(1) {
sleep(5);
get_user_input();
sleep(5);
act_on_user_input();
sleep(5);
if (rand() < 0.9)
crash(complete_system);
}
return(unrecoverable_system);
}

 

 
Tic-Tac-Toe