←
Lars Jansen8,703 posts
Lars Jansen avatar

Lars Jansen

@oldstackjournal

🛠️ AI tools | Web Dev | Indie | Automation | Old School Web/Tech | Hardware 🔥searchtriage.com 🔥beyondthe.news 🔥oldstackjournal.com

◷ Joined May 2026▧ 122 Photos and videos
Lars Jansen avatar
Lars Jansen@oldstackjournal·2h

The original answer to "how do I put a contact form on my static site?" was FormMail dot pl from Matt's Script Archive, first released in 1995. Drop it in cgi-bin, point your form at it, done. Early versions took the recipient address from a hidden form field. Hidden from the visitor, not from a spammer, and plenty of web servers became handy anonymous mail relays😆

Lars Jansen avatar
Lars Jansen@oldstackjournal·12h

Crysis wanted 1 GB of RAM, a 256 MB graphics card and 12 GB of disk on XP in 2007, and those were the minimums. Plenty of people found out their perfectly good PC wasn't. What was the game or app that finally made you upgrade? For me it was @EveOnline o7

Lars Jansen avatar
Lars Jansen@oldstackjournal·15h

Moving a site off WordPress means deciding what to do with all the URLs it made without asking. /feed/, /author/admin/, /category/uncategorized/. Sending the lot to the home page is tempting. Google's site move docs warn that redirecting lots of URLs to one irrelevant page can be treated as soft 404s, and a feed reader polling /feed/ just gets a page of HTML. If there's a genuinely relevant replacement, redirect there. Otherwise, return a proper 404. Not everything needs a redirect.

Lars Jansen avatar
Lars Jansen@oldstackjournal·19h

The old way to keep a debug page local only in PHP was something like: if ($_SERVER['REMOTE_ADDR'] === '127.0.0.1') Then someone puts nginx in front of Apache as a reverse proxy, and as far as PHP is concerned every visitor on the internet is now 127.0.0.1.

Lars Jansen avatar
Lars Jansen@oldstackjournal·22h

Old web servers have their own version control: index.php.bak, index.php.old, index-final-2.php. Most of them are just funny. wp-config.php.bak isn't. Apache usually only hands files ending in .php to PHP, so a .bak copy sitting in the web root can be served as-is, database password and all.

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 17

An agents md file is basically the onboarding doc plenty of teams never got round to writing for new hires. How to build it, how to run the tests, which folders not to touch, the conventions everyone just knows. Turns out we could always write it down. We just needed a new starter who'd actually read it:)

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 17

Something else WordPress does without telling you: change a post's slug and it saves the old one as _wp_old_slug in wp_postmeta, then keeps redirecting the old URL for as long as the site runs. Moving to static? Pull those rows out before you write the redirect map, or every renamed post's old links start returning 404s.

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 16

One thing I've noticed with AI coding agents is how much slower apparently simple changes can become as a project grows. A change that took five minutes early in development can turn into a ridiculous amount of searching, reading and explaining later on. I'm curious what other people are finding works best. Fresh sessions? Short project notes? Smaller files? Or something else entirely?

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 16

I'm looking at putting one of my websites behind Cloudflare's free plan, mainly to get rid of some of the rubbish traffic. The bit that worries me isn't blocking the obviously malicious stuff. It's accidentally blocking useful crawlers, search engines or other automated clients that don't behave like a normal browser. Anyone here done this before? Is it simple enough? I havent done much "cloud" stuff:)

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 16

You can see my initial progress write up here:

I've spent the last couple of evenings moving Old Stack Journal away from WordPress. 511 static pages rebuilt, redirects tested, RSS and sitemaps sorted, and plenty of stuff I'd forgotten WordPress was doing. Wrote up the whole process so far :)

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 16

One thing I'm working through with my planned WordPress replacement is how to keep the entire public frontend static while still supporting things like contact forms. I don't want to give up useful functionality just to get rid of WordPress. Static pages, dynamic services behind an API, and a way of inserting those services into the generated pages. Sounds straightforward until you start listing everything a normal website needs to do.

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 16

There's a nasty difference between a coding agent guessing the wrong version of a software package and guessing the wrong package name. The first usually fails when you try to install it. The second might install a completely different package that somebody else has registered. I've become quite picky about checking dependencies that an agent suddenly decides my project needs.

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 16

I'd like to connect with more people on X who are building things around a normal full-time job. Programmers, AI builders, hobbyists, indie makers, people learning to code and anyone trying to get something useful online with whatever spare time they've got. I'm in that boat myself. Drop in and say hello. I'd love to see what you're working on.

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 15

Laravel says it patched every Laravel Cloud app within roughly 27 hours of October's critical PHP and Node.js security disclosures. I still like running my own VPS, but that's a pretty good argument for managed hosting.

Lars Jansen avatar
Lars Jansen@oldstackjournal·Nov 15

I've spent the last couple of evenings moving Old Stack Journal away from WordPress. 511 static pages rebuilt, redirects tested, RSS and sitemaps sorted, and plenty of stuff I'd forgotten WordPress was doing. Wrote up the whole process so far :)