Recent submissions

Comment · 6 days ago
Nothing is respected by this criminal company.
Comment · 1 month ago
Lol you are talking about Google here
Comment · 1 month ago
Or they would pay a designer to do it for them. Also no effort but just cost more.
Comment · 2 months ago
This makes a lot of sense if you consider that it is consistent with the rest of the language. It is one more way to set up tripwires in your code to to catch your own programming errors. Similar to using asserts in your functions to vet input and output.

I use Array list a lot so excited to add this throughout the code to harden them.

I can imagine this is not everyone's cup of tea, but then you probably also wouldn't enjoy any of the other explicitness.

Comment · 2 months ago
What happened?
Comment · 2 months ago
That made me question who this is for. Looks like it's only for racing bikes that have taken off the rear mudguard. And those bikes are typically used to exercise..

Which makes me wonder about the cleaning after it rained..

Comment · 2 months ago
Very well said. A 62.5g Mars bar is a hefty boy and it's only righteous that its size was minused and divided.
Comment · 3 months ago
I'm tired boss
Comment · 3 months ago
LLMs catch memory bugs quite easily in my experience.

All of this is just a (succesful) marketing stunt by Anthropic.

Comment · 3 months ago
We should reintroduce chef's hats back in the control rooms. Switching with real finesse!
Comment · 3 months ago
> This is just so weird to me, because I would say the same about Zig.

I think you missed his point. He's arguing against homogeneity of (cyber) culture. For example, programming languages that promise to do everything. Rust fanatics indeed can be a bit like that. Every time I see a thread here about someone building something in Zig, they storm in and start arguing 'why not rust!?'.

The fact that you don't like the zig community is healthy and not weird. Don't worry about it. You don't have to like everything and you can disagree on taste.

Comment · 3 months ago
Comment · 3 months ago
Sounds like you've never built something. Even with small products you have to keep correcting yourself as it's hard to foresee how each component interacts. Now try building a self-hosted C replacement lol
Comment · 4 months ago
If you are going to write your own allocators, I think it doesn't matter too much which Zig version you are on. Most drastic changes since 0.15 are done to the standard lib and the language itself stayed pretty much the same. That said, they did clear a lot of bugs which I would never run into, because I make relatively simple programs. But with writing things like allocators, you might reach those edgecases a bit sooner.
Comment · 4 months ago
Storing numbers as arrays of u8? That doesn't make sense

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton