Better HN
topnewbestaskshowjobs
Log inSign up

gracefulliberty

12 karma · joined Feb 27, 2026 (9mo ago) · 7 submissions

https://gracefulliberty.com
Submissions

comment 2mo ago · link · parent

Sending user data to Anthropic?

comment 3mo ago · link · parent

Would also like to see the stats of men who do the same.

comment 3mo ago · link · parent

I meant that the convenient interface only works for stderr. So you aren't accidentally sending debug messages to stdout and if you want to send bytes to stdout you have to do so intentionally and use the right interface.

comment 3mo ago · link · parent

Everything it's doing it clear and readable. It's just not as easy to write. It streams the bytes to stdout using the default IO interface, and it can fail.

Alternatively, here's a simpler version (prints to stderr).

    const std = @import("std");

    pub fn main() void {
        std.debug.print("Hello, world!\n", .{}); 
    }
In practice, you normally don't want to print messages to stdout. So the increased friction here actually pushes you in a better direction.

comment 4mo ago · link · parent

Both an excellent showcase of the Zig build system and a convenient way to use C libraries within Zig.

comment 4mo ago · link · parent

Let it be known that this is a spelling mistake I have made for years. I thought I had rooted out of this article. It must have made it back in with later drafts.

comment 6mo ago · link · parent

If that's the case, that's not a bad thing. Maybe men who aren't properly bonded with their kids have higher than normal testosterone for some reason?