u/dzimazilla

▲ 220 r/linux

Microsoft just shipped its own general-purpose Linux distro: Azure Linux 4.0

Microsoft released Azure Linux 4, a Fedora based general purpose server distro available as an Azure VM and under WSL. Interesting to see Microsoft shipping its own Linux distro after years of mostly hosting others.

reddit.com
u/dzimazilla — 2 days ago

Security plugins especially just feel like a band-aid for a bloated install

Hot take but honestly the “best” WP setup is just less stuff. Every time I see a site with 20+ plugins I already know it’s gonna be slow and annoying to maintain. You really don’t need most of that.

I usually keep WP doing the bare minimum and push everything else out. CRM, emails, forms, etc --> just use external services and embed it. Way less headache.

Security plugins especially just feel like a band-aid for a bloated install: trying to “secure” things after you’ve already filled your site with a bunch of poorly secured stuff.

Only thing I wouldn’t skip is backups!

reddit.com
u/dzimazilla — 2 days ago
▲ 73 r/SoftwareTips+1 crossposts

I migrated 60k pages from a dead phpBB forum to WordPress using raw SQL

My client had a phpBB forum that died 5 years ago. 60,000 topics, ~180k comments, spanning 2008-2020. He wanted to preserve the content. WordPress was the practical choice (my opinion) for long-term manageability.

Every migration plugin I tried was either abandoned, broke above 5k posts, or couldn't handle phpBB's schema at all. So I wrote a custom PHP script that connected directly to MySQL and streamed data in batches.

The setup:

  • Ran everything in Docker: phpBB container (old DB), WordPress container (new DB), PHP script as a third container
  • My workflow: if something broke, I'd just docker compose down -v && docker compose up -d and start fresh from clean images
  • This let me test aggressively without worrying about corrupting state

The approach:

  1. Connect to both databases: PDO to phpBB (read-only) and WordPress (write)
  2. Batch process topics: SELECT with LIMIT/OFFSET, 500 rows at a time. Loop until no more rows
  3. Map phpBB tables to WordPress:
    • phpbb_topics + phpbb_posts (first post) --> wp_posts
    • phpbb_posts (replies) --> wp_comments with comment_parent
    • phpbb_forums --> wp_terms (categories)
    • phpbb_users --> just usernames (no emails/passwords for privacy)
  4. Convert timestamps: phpBB uses Unix integers, WordPress wants YYYY-MM-DD HH:MM:SS
  5. Handle comment threading: iterate replies in order, chain comment_parent to previous ID
  6. Add indexes on temp tables before big JOINs: otherwise 60k rows is slow

What I removed:

  • User emails and passwords (privacy)
  • Profile pictures (not worth it for dead forum)

Results:

  • 60,247 topics --> 60k WordPress posts
  • ~180k comments with threading
  • All timestamps preserved (2008-2020)
  • Some data was lost
  • Total time: 1 day including testing, debugging, redoing from scratch 7 times

Bonus: Client found a way to monetize the archive (backlinks... somebody's still buying them). So dead forum became an asset.

If you want the code, describe the setup to any AI and it'll generate it, the approach above is the hard part.

Anyone else done migrations this big?

reddit.com
u/dzimazilla — 15 hours ago

Why am I suddenly seeing so many WordPress ads?

Lately I feel like I’m getting way more WordPress ads on YouTube than usual.

Is it just me? Or are they reacting to the rise of AI website builders? Wondering if this ad push is related.

Or this is just normal marketing and I’m overthinking it.

reddit.com
u/dzimazilla — 6 days ago

quick question: has anyone actually used the WordPress connector in Claude Desktop?

From what I understand it only works with sites hosted on WordPress that have the WordPress MCP integration enabled, so it doesn’t really help me since I’m on Hostinger and pretty happy with it. I’m curious if the experience is actually “fantastic” or more of a niche thing, like how often you actually use it versus just working directly in the WordPress admin or with plugins. Also, has anyone tried running the WordPress MCP adapter on a self-hosted WordPress and connecting it to Claude as a custom connector? If yes, was it worth the setup effort and what kind of tasks did you mainly use it for? I feel that just keep doing what I’m doing :)

reddit.com
u/dzimazilla — 7 days ago

Claude FM is one of those quietly interesting things Anthropic shipped

Claude FM lowkey makes my Claude agent work ~15% faster… not sure if it’s the lofi beats or just psychological peer pressure from ambient vibes.

Also found out some artists on there don’t even know their music is being used… so apparently even the musicians are running in “unsupervised mode.”

reddit.com
u/dzimazilla — 7 days ago
▲ 17 r/softwarearchitecture+1 crossposts

JSON PATCH: I thought nullable DTO fields were enough

I thought nullable DTO fields were enough for PATCH.

My rule was simple: if a field is missing or null, treat both the same. Client sends only what it wants to update.

That worked until it didn’t

We accidentally wiped a production value because the client updated one field and omitted another intentionally. :(

After deserialization, I couldn’t distinguish “not sent” from “explicit null,” so my code cleared a field that should have stayed untouched. So we had to roll back. No problem

I am looking at a few alternatives like nullable fields, explicit field_present flags, JSON Patch, and wrapper types that preserve field presence.

Curious how other people handle “missing vs null” in PATCH without making the client payload ugly?

reddit.com
u/dzimazilla — 8 days ago

The way we build AI software doesn’t look like modern frameworks at all

It actually looks a lot like WordPress dev Sound wrong but just think about it We spent years chasing clean code: typed stuff, pure functions, neat modules etc

AI dev is kinda the opposite. It's messy. You chain tools that you don't fully control, deal with random APIs, webhooks from everywhere, stuff breaks, you patch it. The one real question is: does it work together and how long?

That's basically Wordpress!!!!

Foe years dev people lookd down on WP devs for doing "glue work"... Turns out...that was the future.

Plugins = tool orchestration APIs = llm comnnectors Hooks = event-driven pipelines Multiple vendors =multi-agent chaos Same Same Same Same mindset! Same instincts! Same tolerance for messy things. Framework engineers aren't bad at this, just not used to it.

The dev who wins in AI era isn't the cleanest coder. It is the one who is okay making broken things talk to each other until they kinda work

and yeah, I'll probably get killed on this hill today :-)

reddit.com
u/dzimazilla — 9 days ago
▲ 6 r/Laval

i think half of montreal's "taxis" are just people who paid $200 to skip traffic

I bet half of montreal's uber/lyft taxis are just guys who paid 200 cad to use bus/taxi lane during rush hour. That's not a taxi business, that's commute hack

hahaha, 200 and you got a TRPA permit (yellow shiny sign).

Honestly suprized more people haven't caught on. the lanes are half-empty anyway and Montreal has bigger enforcement problems to deal with

also heard somewhere that a budget airline CEO who registered a taxi company to use a reserved bus corridor.

reddit.com
u/dzimazilla — 9 days ago