Ask HN: What's the most creative 'useless' program you've ever written?
341–350 of 422 posts
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#342It was inspired by Ed Ruscha's "34 Parking Lots in Los Angeles" artist booklet from 1967, and the output looked pretty similar, but with photos of domestic interiors instead of parking lots. So far so ordinary, but the difference was that you could tweet any UK postcode at the machine and a couple of minutes later it would spit out a custom-generated, printed-on-demand booklet of living rooms in that neighbourhood.
The way it worked was when it received a postcode, it went to Gumtree (popular UK second hand listings site) and looked for second hand sofas for sale within a radius of 1km. It then scraped the photos, imported them into a document, generated a PDF on the fly and sent it to a laser printer with a built-in binding machine. The results were insanely good. Always hoped I'd get to show it to Ed Ruscha one day.
The project was commissioned by the Victoria and Albert Museum in London, but still kind of pointless from a utilitarian point of view :)
[1] https://gagosianshop.com/products/ed-ruscha-thirtyfour-parki...
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#343Writing programs that play games for me. I enjoy that more than playing the games.
Quite a fun hobby. What game you working on now?
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#344My nefarious intent was to make my screen at work look like I am editing code from remote login :). PS: the aciinema link for the demo video is dead right now.
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#345Earlier quoted context omitted.
Could you use this to build your own “poop detector” where an object is routed around until you confirm with the robot if it’s “safe” to proceed in that area? I love my robot vacuum but I dare never run it when I’m not at home for fear or smearing poop all over my floor on accident. Sadly I didn’t shell out enough money for a bot with superior object detection.
Maybe just stop shitting on the carpet.
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#346Re: Ask HN: What's the most creative 'useless' program you've ever written?
#347I think most of the stuff I make falls into this category... My favourites are probably these two: - a tool I made called gif-to-ansi ( https://dom111.github.io/gif-to-ansi/ ) which converts an animated GIF to a stream of ANSI escapes in a shell script. I made this because I wanted to loop a GIF image in terminal when I mistyped a command to train me to do better typing. - a 26 "language" polyglot ( https://codegolf.…
> I made this because I wanted to loop a GIF image in terminal when I mistyped a command to train me to do better typing. Have you seen `sl` and `gti`?
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#348PostScript is a Forth dialect, so you can do quite a lot with it. If you had a printer that supported PostScript, you could pipe the source code straight to lpt1 (or wherever), and the printer would execute the program directly. It was fun to see what I could get to execute on printer hardware, which was generally fairly limited.
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#349[1] - https://en.wikipedia.org/wiki/Bad_Apple%21%21
Re: Ask HN: What's the most creative 'useless' program you've ever written?
#350I also made a simple mod tracker in JavaScript. It didn't use the audio API. It worked by changing the frequency of header values in WAV files it had embedded within it to play different notes from a sample. Surprisingly it actually changed pitches properly. But the embedded nature made it unfeasible to keep or play more than two samples at a time. It was a good lesson in editing binary, file formats, and browser limitations