Internet-Controlled Train Set
Eric Barch writes "Using a servo connected to a Mini SSC II and wired into a dedicated server through the serial port, the Control Our Junk team has created a working train set controlled from any computer on the Internet with a few ports open and Java installed. The trains speed can be modified on the control page, which uses a PHP script to send commands to a .NET application sitting on the server. When the .NET application recieves the PHP command it sends the data to a serial port, and in turn, changes the speed of the train. The train set is running 24 hours a day, 7 days a week and is quite fun to operate from the dual webcams mounted on a top down and side view of the train set. If you would like more information, or to control the train set visit controlourjunk.com/ and take the train for a spin."
I remember there was a song for cs452 on Buddy's site :)
http://buddy.bbsg.ca/pics/cs452/pos-code.txt
Ode To My Code
==============
(To the tune of "Ode to My Car" by Adam Sandler)
Lyrics corrupted by Marc "Slackmaster" Fletcher
and "His Alcoholiness" Pete Strachan.
Here we go
Piece of shit code
We've Microsoft code
That fuckin' pile of shit
Won't move trains very far
Out code's a big piece of shit
'Cause the kernel's fucking shot
The context switch is fucking broken
And the clock ain't doing so hot
(It's a piece of shit)
I can't see the track display
Cause our VGA programming is a flop
And the WYSE term looks real bad
It pukes debug output non-stop
(It's a piece of shit)
(Piece of shit code)
Piece of shit code
(They've got a real shitty app)
It sucks royal dick
(That fuckin' pile of shit)
100% crap
(Never gets us many marks)
Oh fuck you code
It's got no timeslicing, it only got the syscall Pass()
Whoever designed this course can lick MFCF's sweaty ass
(They can lick our nuts too)
And it's got no keyboard handler
We can't tell it what to do
Eleven times a day I see
``Unhandled IRQ''
(You fuckin' piece of shit)
(Piece of shit code)
We've got piece of shit code
(They've got a piece of shit code)
Interrupts suck my ass
(That fuckin' pile of shit)
That pile of assembly shit
(Never gets trains very far)
Who the fuck do I call
I'll see Gord again next fall
Four megs is too small
No free space at all
A blocking Reply() system call
But it's too late to rewrite it all
Oh fuck me
Well the track likes to lock
The trains they tend to crash
And when they hit the floor
It's five hundred dollars cash
(Ouch, ouch, ouch)
The lab code is public knowledge
So we've got to work in MC 6080
(What a pain in their asses)
And if a girlie sees our app
There's no chance I'll bang that lady
(Even Raymond gets more pussy)
Hey shut up
(Piece of shit code)
You piece of shit code
You piece of shit code
(Piece of shit code)
Bad fucking cprintf()s
(You got a piece of shit program)
No dynamic allocation
(Piece of shit code)
Only 8 bit colour
(You got a piece of shit app)
Fucking "halt" for a Delay()
(Piece of shit code)
NMI gives a fucking parity check
(You got a piece of shit app)
(Piece of shit code)
(You've got a piece of shit code)
(Piece of shit code)
The whole class thinks we're slackers.
(You got pile of shit code)
(Ian give us some marks)
(Pile of shit code...)