Live data from Hacker News

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

news.ycombinator.com

81–90 of 422 posts

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

#81
I love a good useless program, I may have written more useless ones than useful. Here's a few of my faves from the last 10 years!

- A password strength page that insults you based on strength https://trypap.com/

- Minesweeper with 1 square https://onesquareminesweeper.com/

- Adding elevator music to "go to top" buttons https://tholman.com/elevator.js/

- CSS Animation library of obnoxious over the top animations https://tholman.com/obnoxious/

- A fake mosquito with the web audio api https://tholman.com/mosquito-js/

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

#82
post #78
post #18

A decade and a half ago, I came across this beautiful bar in Bahrain (online) that was visually appealing to the eye with contrasty colors. I was so fascinated by it that I started writing a simple algorithm to just extract out the dominant colors in the image, just for fun, but mostly because I was so lazy to open Photoshop and pick the colors out manually. Turns out, this is actually a real challenging task for com…

It's a cool problem. Did you ever see the pywal project? It has a few backends for generating palettes, I think the best is the imagemagick one in wal.py https://github.com/dylanaraps/pywal/tree/master/pywal/backen... Also, I guess dylanaraps has archived all his projects and taken up farming? Fair enough

> Also, I guess dylanaraps has archived all his projects and taken up farming? Fair enough

Seems the author mostly wrote Bash (and Python) code. Makes sense that at one point they just had enough.

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

#83
post #81

I love a good useless program, I may have written more useless ones than useful. Here's a few of my faves from the last 10 years! - A password strength page that insults you based on strength https://trypap.com/ - Minesweeper with 1 square https://onesquareminesweeper.com/ - Adding elevator music to "go to top" buttons https://tholman.com/elevator.js/ - CSS Animation library of obnoxious over the top animations https…

This stuff is amazing. Thank you! I especially love the mosquito app.

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

#84
post #81

I love a good useless program, I may have written more useless ones than useful. Here's a few of my faves from the last 10 years! - A password strength page that insults you based on strength https://trypap.com/ - Minesweeper with 1 square https://onesquareminesweeper.com/ - Adding elevator music to "go to top" buttons https://tholman.com/elevator.js/ - CSS Animation library of obnoxious over the top animations https…

I will admit that I clicked the one square in the mine sweeper.

Not sure what I expected.

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

#85
post #18

A decade and a half ago, I came across this beautiful bar in Bahrain (online) that was visually appealing to the eye with contrasty colors. I was so fascinated by it that I started writing a simple algorithm to just extract out the dominant colors in the image, just for fun, but mostly because I was so lazy to open Photoshop and pick the colors out manually. Turns out, this is actually a real challenging task for com…

I'm replying because it's the first mention of Bahrain I've come across on HN. I spent the first 30 years of my life there.

Interestingly though, I've worked on similar algorithms before, some of which are in production.

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

#86
post #50
post #13

Earlier quoted context omitted.

This got a downvote and I wonder if it’s from a person who doesn’t think it’s true

It more likely s from a person whose fingers are much larger than the distance between the up/downvote triangles on their device (that’s about everybody)

Indeed, although note that if you do fat-finger the up or down vote button, you can undo that by poking the 'unvote' or 'undown' link that appears on the same line.

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

#87
post #81

I love a good useless program, I may have written more useless ones than useful. Here's a few of my faves from the last 10 years! - A password strength page that insults you based on strength https://trypap.com/ - Minesweeper with 1 square https://onesquareminesweeper.com/ - Adding elevator music to "go to top" buttons https://tholman.com/elevator.js/ - CSS Animation library of obnoxious over the top animations https…

Is it too much to ask that the back to top elevator animate an actual elevator travelling up the side of the web page. The elevator music is good but I need it to sound like it would in an actual elevator too. Thanks for these links, they gave me a chuckle.

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

#88
post #85
post #18

A decade and a half ago, I came across this beautiful bar in Bahrain (online) that was visually appealing to the eye with contrasty colors. I was so fascinated by it that I started writing a simple algorithm to just extract out the dominant colors in the image, just for fun, but mostly because I was so lazy to open Photoshop and pick the colors out manually. Turns out, this is actually a real challenging task for com…

I'm replying because it's the first mention of Bahrain I've come across on HN. I spent the first 30 years of my life there. Interestingly though, I've worked on similar algorithms before, some of which are in production.

I’m hear about that country at work often, mostly people traveling back talking about all the crazy expensive cars they saw.

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

#90
I made an art program I titled PixelSmoosh: https://gitlab.com/zanehenderson/pixelsmoosh

You give it a set of source images and a target image. For each pixel in the target image, it will look at the same pixel in each of the source images and choose the closest colour, using that pixel to then paint a new image.

Post reply on HN