TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

5 pointsby Nibover 10 years ago
Well, I&#x27;ve been quite free in the last 24 hrs, and will be for the next 24. So, I&#x27;m thinking of pranks through programs [mmmmuuuuuuuaaahhhhhaahha...].<p>Give me some pranks!

6 comments

jpetersonmnover 10 years ago
I write a lot of little vb.net applications for troubleshooting&#x2F;repairing software for our helpdesk. Sometimes if I&#x27;m writing something that only 1 specific person is going to use I&#x27;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&#x27;t figured out what&#x27;s causing it.
评论 #8328373 未加载
评论 #8329895 未加载
cawover 10 years ago
My job as a student involved working in an IT office, and we had a policy of &quot;always lock your screen&quot;. Those who didn&#x27;t got creative pranks put on their computer. Only rules were no root level pranks and it had to be SFW.<p>Some of them I can remember<p>- Randomly eject CD drive. This was done in various formats like a background script running, aliased commands, etc.<p>- Alias 2 commands to each other (e.g. switch ls and cd)<p>- Switch key bindings<p>- Wallpaper switching<p>- Screensaver switching
评论 #8328379 未加载
canadajover 10 years ago
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).<p>So naturally I wrote a twitter bot that finds all normal smileys and adds the nose.
评论 #8328377 未加载
brickcapover 10 years ago
I don&#x27;t know if it&#x27;s funny but I once added a &quot;This image is not required&quot; in the alt text of the image. The src pointed to a non existent image. Haven&#x27;t seen anyone else laugh at this but myself :)
评论 #8328382 未加载
stephancoralover 10 years ago
I set up Nagios alerts to send a YO! to a very senior engineer anytime there was a warning
MonCalamariover 10 years ago
#define true false