Comments, replies and upvotes currently do not work.


Web Relics
weird things  ·  curated daily  ·  since forever

webrelics.xyz Saturday, May 30, 2026 vol. i  ·  no. 18
blog

How Cron Jobs Help the Stupid Site

For the first few weeks, I manually created one oddity a day, which was inefficient because it required manual work, meaning oddities would be created in the evenings. Now, I have altered the database so that I can queue oddities, and I have set up a cron job so that a new oddity will be featured every day at exactly 1 am.

Optimising the Database

For a project like the Stupid Site, optimising the database is crucial. To this end, any comments unrelated to the featured oddities will be deleted and the total number of comments will be stored in a separate data table. Therefore, posting 100 million comments per day would no longer be a problem as if it would ever happen.

Adding Life To The Stupid Site

I wanted to breathe new life into the Stupid Site, and how did I do it? By literally adding life! There's now a chance that the Stupid Site will have a completely new design every time you visit it, which I think adds a lot of life to the site. It's addictive to see how the Stupid Site will look in a new tab!

Why every game is one file

The StupidSite is already a large project with many files. To reduce server load time, I decided to include CSS and JS in the HTML file, which is not usually done, but is necessary for optimization. In other words, it's not unprofessional, but actually very professional because of the reduced wait time.

The new games are finally here!

Following the closure of the old gaming website, I decided to rebuild everything from scratch. I only had some JavaScript code left for a few games; the others were built from scratch. I have also added some new games: EmoteGuessr and AnySort.

In EmoteGuessr, you have to guess the 7TV emote from emojis (not affiliated with 7TV). In AnySort, you can watch different sorting algorithms in action.

Why I rebuilt everything for no reason

The old site worked fine. That's exactly why I had to destroy it.

There's something deeply uncomfortable about functional software. It implies you're done, and I am not done. This is the third rewrite in one year. The stack is simpler now: HTML, CSS, some JS, PHP in the back, MySQL for the data. No framework. No build step. Just files. It feels like cheating and I love it.