Skip to content

Comment on Show HN: Doomguy as a Serviceparent

Comments

It was just a fun toy app that I whipped up. Didn't mean to offend anyone with my "hot tech". :-)

Though I think GP is being a bit of an idiot, I read your source and I was a little surprised. The app only consists of static files, yet you run every request through a rack app that does nothing but send the static files (except for the indexing of the face files, which could've been done ahead of time too).

Why?

The idea was that the image URL could just be a number between 0 and 100 and the app would handle translating that to 1 of 5 possible images.

If I just served a file for every possible number, the browser would have to potentially download 20x the data.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.