Josh's Avatar

Josh

@joshtuddenham.dev.bsky.social

I code things joshtuddenham.dev

39 Followers  |  127 Following  |  21 Posts  |  Joined: 04.08.2024  |  1.7053

Latest posts by joshtuddenham.dev on Bluesky

Your Agent's Safety Net Is an If-Statement. Mine Is a Proof. | Josh Tuddenham Two weeks ago, security researchers found over 1,800 exposed OpenClaw instances. Every vulnerability maps to the same failure mode - a code path that didn't hit the check. Petri nets fix this.

Every agent framework guards your tools with if-statements. I replaced mine with a mathematical proof. www.joshtuddenham.dev/blog/agent-s...

16.02.2026 18:39 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Another good one is "what tradeoffs did you make when writing this?"

I have also prompted AI to write documentation for what it has built (pointing it at great examples of documentation elsewhere) and that has really helped for me.

15.02.2026 17:55 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Speed Vertigo: A New Kind of Engineering Debt | Josh Tuddenham It's not imposter syndrome. It's being over-leveraged in the code you shipped.

I wrote about this recently too, I think it is the biggest thing we will need to grapple with in agentic coding. I used a slightly different term (speed vertigo) but it's the same thing:

joshtuddenham.dev/blog/vertigo/

15.02.2026 17:53 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is absolutely deranged. Imagine being that disconnected from the trials and tribulations of your employees.

15.02.2026 09:46 โ€” ๐Ÿ‘ 2    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

In short, I think allowing users to create a 'personality' for their AI agent, and have it speak to them and treat them in a certain way could very easily lead to even more AI induced psychosis than we already are seeing.

15.02.2026 09:31 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

I have noticed this too. Measured takes seem to have nowhere near as much virality as either boosterism or doomerism.

15.02.2026 09:29 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
ChatGPT promised to help her find her soulmate. Then it betrayed her ChatGPT sent screenwriter Micky Small down a fantastical rabbit hole. Now, she's finding her way out.

Lots has been written about the security implications of Moltbot/Openclaw, but I think even more dangerous is soul.md. As stories like this show, adding memory to chatbots can lead to profound impacts on users. I dont think we have sufficient guardrails in place yet.

www.npr.org/2026/02/14/n...

15.02.2026 09:23 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0

I really enjoyed this article, thought it was really even handed and well reasoned.

09.02.2026 21:42 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 1    ๐Ÿ“Œ 0
You're Already Building Petri Nets. You're Just Building Them Badly. | Josh Tuddenham There's a formalism from 1962 that solves a problem you hit every month. Nobody told you about it.

You're already building Petri nets. You're just building them badly. (alt title - 'we are all building state machines wrong')

joshtuddenham.dev/blog/petri-n...

09.02.2026 19:49 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Screenshot of a complex mathematical theorem from the Elastic Hashing paper defining an injection function phi.

Screenshot of a complex mathematical theorem from the Elastic Hashing paper defining an injection function phi.

the notation in the 'elastic hashing' paper looks like the Rosetta stone to me.

โ€‹implemented it in zig to see if it actually survives 99% load. (it does, mostly).

joshtuddenham.dev/blog/hashmaps/

16.01.2026 09:21 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

This is diabolical. Sign me up!

13.01.2026 06:38 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

Great work, had been hoping for this!

27.12.2025 07:34 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 4 - Advent of Code 2025

I just completed "Printing Department" - Day 4 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/4

Love a grid puzzle. My answer is verbose (I know I could probably do the grid checking with a loop) but works:

github.com/joshuaisaact...

04.12.2025 07:19 โ€” ๐Ÿ‘ 4    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 3 - Advent of Code 2025

I just completed "Lobby" - Day 3 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/3

My solve here:

github.com/joshuaisaact...

Feel like I got the first part surprisingly quickly, then took over an hour on the second. Kept going OOB / running out of length in my byte array.

03.12.2025 07:35 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Day 1 - Advent of Code 2025

I've completed "Secret Entrance" - Day 1 - Advent of Code 2025 #AdventOfCode adventofcode.com/2025/day/1

Part 2 of this a classic edge case puzzle, my solution is definitely ugly, but got there in the end:

github.com/joshuaisaact...

01.12.2025 09:32 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Post image

I just shipped Music Round for the @tanstack.com ร— @convex.dev hackathon. - a live multiplayer (and solo) music guessing game with three gameplay modes (a daily, a battle royale and a playlist based).

Music Round Daily #321
โœ… โœ… โŒ โŒ โœ…
Score: 2,267/5,000

App: tranquil-bombolone-5e7a31.netlify.app

17.11.2025 19:23 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Josh Desk - Office Attendance Made Simple Manage your hybrid schedule where you already work - right in Slack. No new apps to learn.

Like George Foreman with his grill, I too have put my name on a product.

Introducing Josh Desk!

Try it out: joshdesk.live

Please excuse the logo - turns out "designer" isn't on my LinkedIn skills list for a reason ๐Ÿ˜…

23.01.2025 05:11 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Express Error Handling: Because Things Will Go Wrong | Joshua Tuddenham | Full-Stack Engineer From try-catch hell to elegant error handling: A deep dive into implementing robust error handling in Express with TypeScript, custom error types, and global middleware.

Spent some time improving error handling in Wooster (my AI trip planning app) and wrote about the journey. From simple beginnings:

if (error) {
console.log(error);
}

To typed errors, proper logging, and middleware.

Here's the full story: www.joshtuddenham.tech/blog/wooster...

23.12.2024 14:50 โ€” ๐Ÿ‘ 1    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Preview
Advent of TypeScript Advent of TypeScript

I've completed ๐ŸŽ…Santa Wants Housing Data - Advent of TypeScript 2024 Day #3 adventofts.com/events/2024/3

03.12.2024 06:42 โ€” ๐Ÿ‘ 3    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0
Joshua Tuddenham | Full-Stack Engineer Full-stack engineer specializing in modern web technologies. View my latest projects and blog posts.

From console.log to proper structured logging with Pino ๐Ÿ“

Just published my latest piece on taming chaos in Express backends.

If you've ever littered your code with console.logs (we all have), read how I cleaned up my act with proper logging.

joshtuddenham.tech/blog/wooster-logging

24.11.2024 10:37 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

debugging prod: why are my DB queries returning duplicates?

*3 hours later*

oh my CI/CD never deletes old files and I've been running a horrifying hybrid of old and new code for a month

nothing like discovering your prod server is basically a code necropolis where old functions refuse to die ๐Ÿ’€

23.11.2024 09:26 โ€” ๐Ÿ‘ 0    ๐Ÿ” 0    ๐Ÿ’ฌ 0    ๐Ÿ“Œ 0

@joshtuddenham.dev is following 20 prominent accounts