Live data from Hacker News

Ask HN: What's the funniest thing you've done with code?

news.ycombinator.com

1–10 of 15 posts

Re: Ask HN: What's the funniest thing you've done with code?

#3
My job as a student involved working in an IT office, and we had a policy of "always lock your screen". Those who didn't got creative pranks put on their computer. Only rules were no root level pranks and it had to be SFW.

Some of them I can remember

- Randomly eject CD drive. This was done in various formats like a background script running, aliased commands, etc.

- Alias 2 commands to each other (e.g. switch ls and cd)

- Switch key bindings

- Wallpaper switching

- Screensaver switching

Re: Ask HN: What's the funniest thing you've done with code?

#6
I write a lot of little vb.net applications for troubleshooting/repairing software for our helpdesk. Sometimes if I'm writing something that only 1 specific person is going to use I'll do something like every 3 days set their homepage to that david hasslehoff speedo gif that zooms in on his crotch over and over. Totally inappropriate at work, but I get a chuckle out of it. Since it only happens every three days they haven't figured out what's causing it.

Re: Ask HN: What's the funniest thing you've done with code?

#8

I write a lot of little vb.net applications for troubleshooting/repairing software for our helpdesk. Sometimes if I'm writing something that only 1 specific person is going to use I'll do something like every 3 days set their homepage to that david hasslehoff speedo gif that zooms in on his crotch over and over. Totally inappropriate at work, but I get a chuckle out of it. Since it only happens every three days they…

LOL XD

Simple and chuckleful... :p I like it...

Re: Ask HN: What's the funniest thing you've done with code?

#9
post #7

Not really a prank, but a while ago my group of friends thought that the smiley with a nose ( :^) ) was really weird and creepy in casual conversation (we never use smileys). So naturally I wrote a twitter bot that finds all normal smileys and adds the nose.

Haha, it really is weird...

Re: Ask HN: What's the funniest thing you've done with code?

#10
post #3

My job as a student involved working in an IT office, and we had a policy of "always lock your screen". Those who didn't got creative pranks put on their computer. Only rules were no root level pranks and it had to be SFW. Some of them I can remember - Randomly eject CD drive. This was done in various formats like a background script running, aliased commands, etc. - Alias 2 commands to each other (e.g. switch ls and…

"Alias 2 commands with each other"

You sir, deserve the Nobel prize...

Post reply on HN