Live data from Hacker News

Ask HN: What's the most creative 'useless' program you've ever written?

news.ycombinator.com

361–370 of 422 posts

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#361
post #246
post #96

When I was first learning computer vision, I wrote a program that could tell the time from an image of a clock [1]. I had no purpose for it besides the fact that it seemed like a cool problem to try and solve. Years later, I get an email from a stranger in Korea, asking me how to run my program. Why would he want to use my silly program? Turns out you can adapt the code to read analog pressure gauges which is really…

Out of interest, how does this account for the orientation of the clock? Is it assuming 12 is always at the top, or is there some way it would work if the photo was somewhat rotated?

Yep, it does some naive rescaling of the clock to make it circular (since perspective would make it more like an ellipse in the image), but then assumes 12 is always at the top.

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#362
post #96

When I was first learning computer vision, I wrote a program that could tell the time from an image of a clock [1]. I had no purpose for it besides the fact that it seemed like a cool problem to try and solve. Years later, I get an email from a stranger in Korea, asking me how to run my program. Why would he want to use my silly program? Turns out you can adapt the code to read analog pressure gauges which is really…

Did you once share this anecdote on /.? I remember this.

Hmm, I've never used /. so it wasn't me who shared it.

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#364

I once wrote an OS hack to drive a friend crazy. This was back in the early 1990s when we worked at a company making Macintosh utility software. My friend, another coder, liked to arrange his Finder windows so that they reflected the underlying folder hierarchy and were perfectly aligned. I mean pixel perfect. So one day I wrote an extension to patch the OS on his machine to randomly nudge a window by just a single p…

Such a fine line between helpful and malicious!

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#365

Earlier quoted context omitted.

Hey, I've seen some of your IOCCC entries. Even had some fun trying to understand them back in the day. IOCCC gang rise up. This is mine: https://www.ioccc.org/years.html#2005_persano

Somehow, I have a rather small one: https://www.ioccc.org/2012/kang/kang.c I think I have submitted once or twice before that got won, and all other entries were excessively long to be honest. Guess a conciseness is a virtue.

> Guess a conciseness is a virtue.

Indeed; quoting from my winning entry [1] that same year:

> This program celebrates the close connection between obfuscation and conciseness, by implementing the most concise language known, Binary Lambda Calculus (BLC).

> The submission implements the universal machine in the most concise manner conceivable.

[1] https://www.ioccc.org/2012/tromp/hint.html

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#366
I wrote a bash script to put a colour dot in the mac menu bar to represent the CPU temperature. I barely used it when I was on Intel, and it doesn't work on Apple Silicon. It's now only possible to ask for the thermal pressure, and be told a descriptor, always 'Nominal' in my case. I wrote the change but haven't pushed it.

https://github.com/tobylane/Bin?tab=readme-ov-file#tempinbar

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#368
I had a hypothesis that any song could be a Christmas song if you just add jingle bells to it. I don't know if I proved that, but I created a website to test it out: http://jinglefy.me

Forgive the lack of SSL certs. It works on chrome if you "Proceed Anyway". I think it has issues on mobile though, and please also forgive the no-longer working Twitter links - I haven't done anything with this site in years!

One unexpected challenge was that, because I encode the entire jingle-bell playback info in the URL parameters, the URLs became very large. So I created my own url shortener (123fwd.me) for use when sharing your jinglefied videos. Here's a jinglefied version of Gangnam Style I created back in the day: http://123fwd.me/16MbXts

After this, I decided to create http://fartify.me based on the same engine. You can probably guess the purpose of this site! :D

Have fun, and I'd love to have you share your own jinglefied or fartified creations here!

Re: Ask HN: What's the most creative 'useless' program you've ever written?

#369

I like inserting art, like the header to https://simonsarris.com A village pops up. There is no point to it. You can click to make more houses. You can right-click to drag things around. When I touch it again I think I'll add a sun and moon that track the time of day for wherever the user is located. Actually the footer has art too, each page has a semi-randomly assigned illustration from public-domain (old) art that…

I like it, and I agree with you. Websites follow some simple design rules, some from typesetting, some new especially for the Web. Not least because of the behaviour of base components and the availability of styling libraries that keep their own smell around no matter what one does.

I like to draw on my websites too. I write a gpu-rendered background for basically any website I make for fun.

https://gtblank.org

https://ungut.at

Post reply on HN