Karl Seguin
karlseguin.com
Karl Seguin
@karlseguin.com
In my old age, I prefer:

(hasPending() == false)

over:

(!hasPending()).

Fuck it, I said it.
February 4, 2026 at 10:07 AM
It's so easy to inject code into, what seems like, a [large] rebase.
February 4, 2026 at 8:11 AM
Said it before, I'll say it again. The reason #Ziglang should have a string type is purely so that code can discriminate between a string a binary data, which can be important in all types of cases usually involving things like interacting with other libraries or systems.
February 1, 2026 at 12:56 AM
It's simple: posix is better to program with than std.Io #Ziglang
January 24, 2026 at 3:28 AM
I'm starting to think unconditional WFH might not be right for most companies. For a well-managed company, it should probably be a per-employee policy. But for companies that can't deal with the drama that will cause, it should just default to hybrid.
January 22, 2026 at 3:51 AM
The Zig compiler (0.15.2) has been SIGABRT'ing on me daily for trivial errors. It can hard to review the current changes & figure out the error.

Thankfully, this almost always finds the issue and turns a near-dealbreaker into a chuckle:

find . -name "*.zig" -exec zig ast-check {} \;
January 16, 2026 at 12:17 PM
Engineering managers have 1 job right now:

Find out which employees don't feel like coding agents are significantly increasing their productivity and figure out why.
January 15, 2026 at 2:56 AM
A commit message should explain why, not what. The diff already has what. Don't say "moved this to an ordered map"...that's redundant. Say _why_: "We need to execute these in insertion order as per the spec (ideally: link to spec)"
January 13, 2026 at 10:08 AM
That old joke, applied to tmux...

How do you know if someone uses tmux? Don't worry...they'll tell you.
January 9, 2026 at 10:28 AM
Container tabs is the only reason I stick with Firefox. Can't believe it still isn't available in Chromium.
January 8, 2026 at 11:17 PM
I'm too dumb to know if the compiler will optimize my code, and too smart not to worry about it.
December 29, 2025 at 8:37 AM
Sometimes the #ziglang compiler just fails with no meaningful error. Just this:

test
└─ run test
└─ compile test Debug native failure
error: the following command terminated unexpectedly:
December 22, 2025 at 9:58 AM
There's virtually no code that I write now without an accompanying claude session. The $20/m plan suits my needs, but I could see myself doubling my usage (but not much more).

I think comfort and success with it directly relates to your comfort and success with collaborative coding in general.
December 21, 2025 at 3:28 AM
WIP PR is at +62,029 −31,380 (and it isn't some linter / formatting).
December 16, 2025 at 11:39 AM
If I was building a web site/service today, I'd, if nothing else, at least consider Gleam.
November 26, 2025 at 4:22 AM
TIL:

// zig fmt: off
November 17, 2025 at 7:44 AM
I find it fun. And there's probably a blog post or two in there. But the TL;DR would be - I've always found reading / reviewing code fun. It's the same, but a bit different.
October 29, 2025 at 8:31 AM
Claude also didn't like the way pg.zig's pool handled connections in a fail-state, so it wrote this:
github.com/karlseguin/p...
October 29, 2025 at 5:03 AM
Claude didn't like my lame hash function.

github.com/karlseguin/h...
October 28, 2025 at 2:09 PM
Everyone should try and use Google Jules just to see that there's clearly something wrong at Google.
October 9, 2025 at 5:18 AM
Spam on Fastmail is getting a bit bad.
October 8, 2025 at 10:06 AM
Let's pay some bills.
September 20, 2025 at 6:03 AM
Blogged: Is #zig's New Writer Unsafe?

www.openmymind.net/Is-Zigs-New-...

Please tell me I'm doing something stupid. #ziglang
Is Zig's New Writer Unsafe?
Karl Seguin's Blog - A mix of coding and creative writing
www.openmymind.net
September 20, 2025 at 12:08 AM
Not the #zig post I thought I was writing, but this is what came out:

Everything is a []u8
www.openmymind.net/Everything-I...
September 7, 2025 at 1:33 PM
dev: my zig code is slower than Go.
zig dev: have you tried ReleaseFast?

dev: my zig code is less safe than Go.
zig dev: have you tried ReleaseSafe?

dev: my #zig binary is larger than with Go.
zig dev: have you tried ReleaseSmall?
August 25, 2025 at 1:30 AM