badtuple

Lover of all things programming, especially when silly and playful.

Talk to me about logistics and your solarpunk dreams.

Posts are mainly puns, automata over streams, database implementation, procedural narrative generation, and questions about that thing you said you'd blog about.

Currently based in Portland, OR.

badtuplebadtuple
2025-07-10

clicker games, not even once

badtuplebadtuple
2025-07-08

Anytime I start something substantial in Zig, there's another major language change on the roadmap that I 100% agree with...but means rewriting the most error-prone parts of my program.

Anyway, the Zig IO rewrite is super exciting. The design makes tons of sense. I hope when it lands I'll have a reason to go back and use it.

badtuplebadtuple
2025-07-07

Never learn the history of textiles. It'll distract during every historical movie and video game for basically no benefit.

badtuple boosted:
2025-07-04

Frontend's Lost Decade is not overcome by convincing people to stop using outdated frameworks, but rather by teaching a new generation of web developers the fundamentals of HTML, CSS and JS. To that end, I'm working on mastrojs.github.io/guide/

badtuplebadtuple
2025-07-04

@mb21 Maybe, but I don't think so? By AppleTalk you mean the set of networking protocols right? Maybe those could be configured via some english-y looking language but I'm having trouble finding it.

I mean a syntax for compiling something like "Albina Press has the best coffee in Portland" into a set of logical assertions that can be entered into a prolog database or a mini-kanren interpreter.

badtuple boosted:
2025-07-04

Consumer networking devices come in two varieties: Altar to a Dark God and Aromatherapy Machine.

A set of white cylindrical TP-link mesh wireless devicesA TP-link router that looks like a black slab bristling with sharp angular towers on three sides.
badtuplebadtuple
2025-07-04

Of all the gruels, cinnamon apple oatmeal has to be the best.

badtuplebadtuple
2025-07-04

Anyone familiar with attempts to formulate "plain language" prolog / logic programming rules? As in defining facts and rules in plain language, rather than queries like SQL.

Trying to unearth some prior art.

badtuplebadtuple
2025-07-01

The Warren Abstract Machine is so cool. It's a virtual machine that you compile Prolog down to that is very understandable.

How Prolog works isn't intuitive. But it's super clear how to go from Prolog -> the WAM, and how to go from WAM -> assembly.

IMO it's an example of a "perfect" abstraction. Too bad it's large enough that it's unreasonable to ask people to grok it purely on that basis.

badtuplebadtuple
2025-07-01

"Don't take this the wrong way, but I feel like you might own a printer."

badtuplebadtuple
2025-07-01

@csara that's totally fair. I also understand it's a primary screen for alot of folk, while I'm usually relatively close to a laptop.

badtuplebadtuple
2025-06-29

Eww, my phone says I use it for 1 hour 40 minutes every day? How.

If I'm awake for 15 hours a day...I just stare at my phone for 7 minutes every hour? Doing what?

badtuplebadtuple
2025-06-29

all jeans dream of becoming jorts in their old age

badtuplebadtuple
2025-06-27

Sauerkraut on pizza. You're welcome.

badtuplebadtuple
2025-06-27

When did air conditioning become common? Invented time travel and trying to figure out how far back I can stand to go.

badtuple boosted:
2025-06-26

I have watched my life burn to the ground and started again from scratch many, many times.

I believe in second acts and second chances.

I want to say this clearly for anyone who needs to hear it: it is possible to survive radical, unexpected and unwanted life changes, to start again, and to build a new life that is worth living.

badtuplebadtuple
2025-06-25

There's a note in my notes app that just says "remember"

badtuplebadtuple
2025-06-19

The Stack Overflow survey is almost entirely about AI and doesn't give any choices for moderate or nuanced opinions. I hate that those who haven't drank the kool-aid literally aren't even given an option.

I fear the results this year will be entirely useless.

badtuplebadtuple
2025-06-19

Is there a term for a library that is explicitly made to be used through various language bindings?

raylib, for example, is a c99 library but is used extensively in tons and tons of different languages. Are there other libraries that prioritize this as a design principle rather than an afterthought or adhoc third-party binding?

badtuple boosted:
Sy BrandTartanLlama
2025-06-10

Building a Debugger is now officially released!

It guides you through writing a whole native x64 debugger from scratch, dispelling all the magic and teaching you a ton about operating systems as it goes.

Even if you don't care about writing a debugger, you can read it to your cat.

The book Building a Debugger, featuring a robot designing a complex debugging machine on a drafting boardThe book placed in front of a tortie cat

Client Info

Server: https://mastodon.social
Version: 2025.04
Repository: https://github.com/cyevgeniy/lmst