Ask HN: Weirdest programs you ever made?
I made a few odd apps in my time:
* cli utility that shows a rainbow unicorn flying across your screen, useful to run when all tests passed
* irc client using only named file pipes, so that channels were files you could pipe to stdout and write to via stdin
(Can't remember any others.)
What about you?
Back when I got a copy of Charles Petzold's Win32 API guide, the first program I created was a Win9x system tray app that would let you grab a window by the title bar, shake it furiously and hurl it off the screen. Once it was completely off screen, the app would send the appropriate PostMessage call to kill it.
Assigning a touch of anthropomorphism to a stubborn program provided a satisfying outlet for user irritation.
Fun fact: You can hurl app icons off the homescreen on Android.
Years back I wrote brainfuck in python to just use various A's and named it Screaming. It's dumb but fun. Hello World:
AAAAAAAAAAÁàAAAAAAAàAAAAAAAAAAàAAAàAááááaÀàAAâàAâAAAAAAAââAAAâàAAâááAAAAAAAAAAAAAAAâàâAAAâaaaaaaâaaaaaaaaâàAâàâ
You probably enjoyed this xkcd: https://xkcd.com/3054/
That's hilarious, I don't remember that one at all
I made a random number generator API that used a shared caps lock key as entropy (https://eieio.games/blog/the-global-capslock-key/). It didn't really work because bots made everything kind of deterministic. But it's kind of weird.
Code’s here: https://github.com/willmeyers/global-caps-lock-rng
Bots ruin everything.
Made a “machine learning movie recommendation” website. It went through some relevant questions and had you select some of your favorite movies to base the recommendation off of. Then it “calculated” and finally recommended Weekend at Bernie’s to everyone regardless of what you answered. Then gave you an option of another movie, which was always Weekend at Bernie’s 2.
I had no specific reason to build it other than I thought it would be funny.
https://xkcd.com/221/
"Weird" might be overselling it, but I'm quite fond of the first nontrivial Go program I ever wrote, which SSHes into Debian machines and gives a JSON "status report" of everything you might need to know to determine whether a program running on Debian Machine A might run on Debian Machine B. https://github.com/hiAndrewQuinn/meikkalainen
I feel like this falls under a class of tools where the existing solutions are just far too complicated for me to wrap my head around, like many of my shell scripts are meant to help with.
I should really get around to writing the semantic JSON diff for this project at some point.
My first iOS app was a button that played a flushing sound. I was trying to replicate the device used by women in Japanese restrooms to mask their, um, noises. Apple rejected it as being too simple and I didn't care to expand it to make it past gatekeepers at that point so it never got to the App Store.
Similarly I made the best bubble emulation app on iOS maybe 8 or 10 years ago. I was so happy with it, to some extent I wish I didn't delete the source code. But it only took me one inspired Saturday to make. Unfortunately it sold no copies because nobody needs a bubble emulator that emulates a Windows 95 era screensaver but with touch capabilities. They were such pretty bubbles though...
I'll just make it with JS. Can't be that hard.
Ok finished https://bubbles.90s.dev/
Oh man I forgot that I made this to emulate the old Windows screensaver. Now I have to make this a screensaver you can embed into a webpage brb
Done, posted it on Show HN.
One of the first websites I ever built was a Lorem Ipsum-style placeholder text generator that uses quotes from the /r/nocontext subreddit
That sounds legitimately interesting and fun to use. You should republish it!
I was told to write a program that could erase the boot sector of a hard disk back in the MS-DOS days. I password protected it.
I thought it was a bad idea, so instead of just erasing the boot sector, I just flipped the bits so it could be undone by running it again.
Smart. You can charge a $100 to "recover" the boot sector.
Actually, my motivation back then was much simpler... to be able recover from stupid decisions on anyone's part. That and "Don't be Evil", as much as I could.
I worked for a court and a judge asked me to make a website with a button that would show a green circle 95% of the time and a red circle 5% of the time. I didn't ask what it was used for.
Probably red means add an extra couple of years to the sentence.
Reminds me of https://xkcd.com/221/
I built a polyphonic ringtone maker that could create Nokia 1600-compatible ringtones in QBasic. Good ol days.
Dating app gamification. Never felt worse in my life but hey job experience is job experience.