News for hackers. Stuff that matters.

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?

( 27 comments | 4 points | on HN )
Re:Ask HN: Weirdest programs you ever made? by willmeyers on Monday May 26, 2025 @03:45PM (#44100941)
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

Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Monday May 26, 2025 @03:52PM (#44101023)
Bots ruin everything.
Re:Ask HN: Weirdest programs you ever made? by gcheong on Monday May 26, 2025 @02:32PM (#44100182)
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.
Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Monday May 26, 2025 @03:54PM (#44101046)
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...
Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Monday May 26, 2025 @05:38PM (#44101913)
I'll just make it with JS. Can't be that hard.
Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Tuesday May 27, 2025 @05:22PM (#44110783)
Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Tuesday May 27, 2025 @05:25PM (#44110790)
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
Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Tuesday May 27, 2025 @07:12PM (#44111464)
Done, posted it on Show HN.
Re:Ask HN: Weirdest programs you ever made? by gcheong on Monday June 02, 2025 @02:31PM (#44161648)
Looks good!
Re:Ask HN: Weirdest programs you ever made? by vunderba on Monday May 26, 2025 @07:21PM (#44102531)
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.

Re:Ask HN: Weirdest programs you ever made? by poolnoodle on Tuesday May 27, 2025 @08:16AM (#44106194)
Fun fact: You can hurl app icons off the homescreen on Android.
Re:Ask HN: Weirdest programs you ever made? by gdhkgdhkvff on Monday May 26, 2025 @07:36PM (#44102644)
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.

Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Monday May 26, 2025 @08:28PM (#44102888)
Re:Ask HN: Weirdest programs you ever made? by yen223 on Monday May 26, 2025 @08:48PM (#44102974)
One of the first websites I ever built was a Lorem Ipsum-style placeholder text generator that uses quotes from the /r/nocontext subreddit
Re:Ask HN: Weirdest programs you ever made? by 90s_dev on Monday May 26, 2025 @11:07PM (#44103626)
That sounds legitimately interesting and fun to use. You should republish it!
Re:Ask HN: Weirdest programs you ever made? by mikewarot on Monday May 26, 2025 @09:36PM (#44103194)
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.

Re:Ask HN: Weirdest programs you ever made? by nssnsjsjsjs on Tuesday May 27, 2025 @07:04AM (#44105735)
Smart. You can charge a $100 to "recover" the boot sector.
Re:Ask HN: Weirdest programs you ever made? by mikewarot on Wednesday May 28, 2025 @02:59PM (#44119450)
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.
Re:Ask HN: Weirdest programs you ever made? by sralbert on Monday May 26, 2025 @11:26PM (#44103713)
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.
Re:Ask HN: Weirdest programs you ever made? by nssnsjsjsjs on Tuesday May 27, 2025 @07:05AM (#44105742)
Probably red means add an extra couple of years to the sentence.
Re:Ask HN: Weirdest programs you ever made? by gaoryrt on Wednesday May 28, 2025 @04:23AM (#44113833)
Reminds me of https://xkcd.com/221/
Re:Ask HN: Weirdest programs you ever made? by hiAndrewQuinn on Tuesday May 27, 2025 @12:02AM (#44103862)
"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.

Re:Ask HN: Weirdest programs you ever made? by ChrisGermano on Tuesday May 27, 2025 @11:23AM (#44107846)
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âàâ

Re:Ask HN: Weirdest programs you ever made? by dcminter on Tuesday May 27, 2025 @04:53PM (#44110597)
You probably enjoyed this xkcd: https://xkcd.com/3054/
Re:Ask HN: Weirdest programs you ever made? by ChrisGermano on Thursday May 29, 2025 @01:36PM (#44128286)
That's hilarious, I don't remember that one at all
Re:Ask HN: Weirdest programs you ever made? by babyent on Tuesday May 27, 2025 @01:39PM (#44109067)
Dating app gamification. Never felt worse in my life but hey job experience is job experience.
Re:Ask HN: Weirdest programs you ever made? by bhu1st on Tuesday May 27, 2025 @10:27PM (#44112274)
I built a polyphonic ringtone maker that could create Nokia 1600-compatible ringtones in QBasic. Good ol days.