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?
Ask HN: What's the most creative 'useless' program you've ever written?
361–370 of 422 posts
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#362When 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.
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#363Re: Ask HN: What's the most creative 'useless' program you've ever written?
#364I 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…
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#365Earlier 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.
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.
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#366https://github.com/tobylane/Bin?tab=readme-ov-file#tempinbar
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#367Re: Ask HN: What's the most creative 'useless' program you've ever written?
#368Forgive 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?
#369I 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 to draw on my websites too. I write a gpu-rendered background for basically any website I make for fun.
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#370So you can turn off googles tracking but still have your own.