HNHacker News
TopNewBestAskShowJobs

roetlich

335 karma · joined May 1, 2018

Hi, my name is till. Feel free to reach out to me, contact info is on my website. There you'll also find some blog posts about programming languages.

Email: hn at my domain name. Website: https://till.red/ Business email: till @ business domain name. Business website: https://specificadvice.com/ LinkedIn: https://www.linkedin.com/in/till-schroeder/ meet.hn/city/ee-Tallinn

submissionscomments
roetlich··on My thoughts on the Bun Rust rewrite
Love the exclamation marks. So let's just use, for example, this definition: https://www.britannica.com/topic/ad-hominem

Here it's a type of argument, and it's only sometimes a fallacy. Seems like this how it's defined most of the time, unless you explicitly look for "ad hominem fallacy". Ad hominem without any context can be vague, I guess, so I tried to be more explicit.

I don't know, maybe I'm wrong, English isn't my first language, but I think "Obvious Fabrication" (capital letters) is a bit silly.

roetlich··on My thoughts on the Bun Rust rewrite
Oh yes, I didn't clarify that I meant an argumentum ad hominem, which isn't the same thing as the informal fallacy of the same name. So yeah, I agree, this isn't directly fallacious.
roetlich··on My thoughts on the Bun Rust rewrite
> if Andrew isn't trying to enter the discussion

But he is. Both in the title, and in later half of the blog post, he directly enters that discussion. I'm not saying an ad hominem argument is always bad, but this clearly is one.

roetlich··on My thoughts on the Bun Rust rewrite
No, the discussion started with a the article from Bun, stating that rust has some technical advantages for them. The response from the Zig creator is a bunch of personal attacks directed at one guy, like calling him a stinky manager. All of these are fully unrelated to which language is better for Bun.

This is like the textbook definition of an ad hominem.

roetlich··on IBM debuts sub-1 nanometer chip technology
Well, this seems like a very dangerous way of using AI. If you keep pushing until you get back an answer that makes sense to you, you might just get your own believes fed back to you.
roetlich··on GitHub Copilot App
Who would have thought that git worktree is the technology of the year 2026?
roetlich··on Show HN: 500 years of Joseon court omens as an observability dashboard
Great, now we need this with current data for modern governments
roetlich··on Show HN: Chestnut – The antidote to AI-induced skill atrophy
Great idea, to include learning into the regular work.

Can you explain how the lessons are generated?

It looks like there are no pre-generated lessons, they are created on the fly by the AI. Wouldn't it be possible to write a skill or similar that does the same with your existing coding agent?

roetlich··on Graphs that explain the state of AI in 2026
My Firefox doesn't accept your https cert. Maybe check that out?
roetlich··on Show HN: I built a tiny LLM to demystify how language models work
What does "done offline" mean? Otherwise you are limited by context window.
roetlich··on LibreOffice and the art of overreacting
"Managment" usually are office workers.
roetlich··on OpenAI – How to delete your account
> Does it continue if you agree to the warning?

No, you can't "agree".

> What if you ask about 9/11?

It answers the question.

roetlich··on Crafting Interpreters
Well, most interpreters use a compiler internally, for example to compile to byte code. The book explains that as well, so I'd recommend just reading it: https://craftinginterpreters.com/a-map-of-the-territory.html...
roetlich··on Ask HN: Share your personal website
Thanks, will fix! Haven't maintaineed the website in a bit :)
roetlich··on Ask HN: Share your personal website
https://till.red/ :)
roetlich··on C++ Web Server on my custom hobby OS
Very cool! Why was and the entire networking stack straight forward, but not HTTP (and TCP)? Could you take inspiration form other projects for things like DNS?
roetlich··on I DM'd a Korean presidential candidate and ended up building his core campaign
Interesting! The article talks mostly about how this all worked, but rarely about what was actually discussed. Which opinions of the party do you like or support?
roetlich··on Advent of Code 2025: Number of puzzles reduce from 25 to 12 for the first time
> one door per day until it's Christmas eve

That would be 24.

roetlich··on Dumb Pipe
What?

I think there must be some misunderstanding? I think deathanatos just wants an easy way to send files between computers when the internet is down, which seems decently reasonable.

roetlich··on Brave blocks Microsoft Recall by default
Then don't turn it on?
roetlich··on Show HN: I'm building an app to replace Overleaf and Notion
Any comparison to Typst?
roetlich··on Redis is open source again
Unless you modify Redis, what do you want to share? You don't have to share any of your server code or anything. No reason to be so dramatic. :)
roetlich··on Growing a Language [pdf] (1998)
Or you could use C# and get all of those features.
roetlich··on Show HN: Torque – A lightweight meta-assembler for any processor
This looks very cool, maybe I'll try this for risc-v if I have some time. I guess you could also use this to write RAW images, or other binary data.
roetlich··on Zig's new LinkedList API (it's time to learn fieldParentPtr)
Fair, thanks.
roetlich··on Zig's new LinkedList API (it's time to learn fieldParentPtr)
Oh, that makes more sense. Thank you!

Is this linked list type then mostly meant to be used as an internal implementation detail, and not be exposed in a public API? Because if I see a function that takes a non-generic list I won't really know how to call it. :)

roetlich··on Zig's new LinkedList API (it's time to learn fieldParentPtr)
Thank you, that answers all my questions.
roetlich··on Zig's new LinkedList API (it's time to learn fieldParentPtr)
Well I personally almost never use linked lists, don't like them. But Zig seems to think otherwise, they have two implementations in the standard library.

I don't know much Zig, I just wanted to ask how to use the type that the article talks about?

Let's use the very simple example from the article. Let's say I want to extract this code into a function:

    while (node) |n| {
      const user: *User = @fieldParentPtr("node", n);
      std.debug.print("{any}\n", .{user});
      node = n.next;
    }
1. How does that look, what's the type signature of this function? 2. What happens if I put in a list doesn't contain users? Do I get a simple to understand compile time error, or can I segfault because I'm accessing bad memory?

And I don't think that would need any generics, since the list type isn't generic, right?

roetlich··on Zig's new LinkedList API (it's time to learn fieldParentPtr)
Okay, thanks for explaining more.

> And it's typesafe: if you write invalid code the compiler will give you an error.

One more question, if @fieldParentPtr("node", n) is typesafe and can get you a User, the compiler needs to know that the struct has the fields of a User, and that this pointer is indeed pointing at a node field, right? Then why do you need to specify "node" at all?

I think I don't understand Zig at all :)

roetlich··on Zig's new LinkedList API (it's time to learn fieldParentPtr)
This looks somewhat horrifying. How do I safely write a function that takes a linked list as a parameter?
Page 1 of 5Next →