HNHacker News
TopNewBestAskShowJobs

nrds

131 karma · joined January 16, 2025

submissionscomments
nrds··on Single vaccine could protect against all coughs, colds and flus
Indeed, I wonder whether the vaccine content matters at all in current vaccines. We could probably just inject people with the adjuvants and get the same result.
nrds··on Evaluating AGENTS.md: are they helpful for coding agents?
Wait, that's not right, let me think through this more carefully...
nrds··on C and Undefined Behaviour
If that's the author's point then the article needs a rewrite. I suspect that was _not_ the author's point and it's offered as a good faith but misplaced post-hoc justification.
nrds··on C and Undefined Behaviour
Is it even worth pointing out that the author misunderstands how UB works in Rust, given that at this point such a misunderstanding has to be willful than otherwise? There is _no_ UB in the safe subset of Rust, and in mixed safe-unsafe rust, the UB can only originate in the unsafe blocks.

In modern C++ (i.e. with smart pointers) something similar is true in that the UB can only occur in code dealing with certain types and functions (e.g. raw pointers), and not other types and functions. It's really the same as rust, just without the compiler support and the explicit unsafe blocks.

nrds··on Where did all the starships go?
> Also, we've realized the scientific reality that traveling faster than light is likely impossible

I'm confused at what speculative fiction exists from before the 1910s (or thereabouts) which involves FTL? I've no doubt there's a handful of works but this is hardly a plausible explanation for a _recent_ decline in these topics.

nrds··on That's not how email works
And if the automatic payment doesn't go through, well, then there's nothing to report on so no email generated.
nrds··on Auto-compact not triggering on Claude.ai despite being marked as fixed
What else could they do? If they don't vibecode Claude Code it is a bad look.
nrds··on X (Twitter) Is Down
I understand there's an increased error rate, that's how I concluded there is an attempted DOS. But it appears not to be working completely, and so a post claiming X is "down" does appear to be pre-coordinated to reflect the _intended_ rather than _actual_ effect.
nrds··on Rust the Process
There are no types whose fields "live on the heap", nor are there types whose fields "live on the stack"; these are simply not properties of types. Values always live exactly where you put them and you can put values anywhere you want, thanks to Rust's "all types are moveable" rule. Now something like a `Vec` or a `Box` _owns_ some data strictly on the heap, but that data is not _part of_ (i.e. a field of) the `Vec` or `Box` value.

As a counter-example to your idea, it's theoretically possible for a type to have a `?Sized` field (at the end), although this idea was never completely fleshed out in the language. A value of such a type could be constructed on the stack.

Now in practice, if you encounter a type with an unsized type parameter, it's probably a smart pointer. It may have an ownership relation to some data which lives on the heap. That may be what you're referring to. But such heuristics are going to be more confusing than helpful for anyone who doesn't understand the basic premise. The location of data in rust is actually quite simple, but sometimes beginners make it more complicated than it really is somehow.

nrds··on Ask HN: Can you patent prompts?
The federal circuit COA has never met a patent they don't like. That's all that matters. Statute text is irrelevant. The federal circuit openly ignores SCOTUS precedent about patents (e.g. Alice).
nrds··on GotaTun – Mullvad's WireGuard Implementation in Rust
That's the traditional answer parroted in the Wireguard documentation but a few hours' serious thought and design is enough to reveal the fatal flaw: any encapsulating protocol will have to reinvent and duplicatively implement all of the routing logic. Perr-based routing is at least 50% of wireguard's value proposition. Having to reimplement it at the higher level defeats the purpose. No, obfuscation _has_ to be part of the same protocol as routing.

(Btw, same sort of thing occurs with zfs combining raid and filesystem to close the parity raid write hole. Often strictly layered systems with separation of concerns are less than the sum of their parts.)

nrds··on Ask HN: How can I get better at using AI for programming?
It takes a lot of uncached tokens to let it learn about your project again.
nrds··on Ask HN: How can I get better at using AI for programming?
> Use Opus 4.5.

This drives up price faster than quality though. Also increases latency.

nrds··on GPT-5.2
> beliefs and assumptions

Unfortunately during coding I have found many LLMs like to encode their beliefs and assumptions into comments; and even when they don't, they're unavoidably feeding them into the code. Then future sessions pick up on these.

nrds··on APT Rust requirement raises questions
As a first guess, they're trained on lots of social media and Q&A content. The former has lots of complaints about "look how complex rust is!" while the latter has lots of "help I've written very complex rust".
nrds··on Fifty Shades of OOP
IME with this sort of thread there is a huge correlation between praising OOP and believing that encapsulation is an identifying feature of OOP. Also polymorphism to a much lesser extent, but the other two almost none.

It is very difficult to tell whether this is a definitional problem - people believe any kind of encapsulation is OOP - or if some people can't wrap their heads around how to do encapsulation without message passing and the rest.

nrds··on Several core problems with Rust
Maybe rust should put a function in the core library which does this! Send a PR!
nrds··on Nearly all UK drivers say headlights are too bright
I only do it if no one is behind the flasher; I thought was obvious. And I have OEM headlights.
nrds··on Nearly all UK drivers say headlights are too bright
> BLUE MEANS BLINDING

ONLY IF YOU'RE LIVING IN THE '90S! THE REST OF US HAVE MATRIX HEADLIGHTS! ALSO TURN OFF YOUR CRUISE CONTROL FOR COOL!

nrds··on Nearly all UK drivers say headlights are too bright
When I get incorrectly flashed I force my high beams on and keep them on, FYI. Don't do it.
nrds··on Nearly all UK drivers say headlights are too bright
> If this blue indicator is on, you're blinding everyone

Your information is outdated. My Tesla with matrix headlights keeps the high-beam indicator on but oncoming drivers are not blinded.

nrds··on Zig's New Async I/O
TL;DR. Zig now has an effect system with multiple handlers for alloc and io effects. But the designer doesn't know anything about effect systems and it's not algebraic, probably. Will be interesting to see how this develops.
nrds··on Media over QUIC vs. WebRTC
I have long felt the killer feature of QUIC is its ability to encapsulate _both_ reliable in-order delivery and unreliable datagram delivery in the same opaque-to-middleboxes container. Whereas HTTP becoming the everything-protocol is debatable, if QUIC becomes the everything-protocol we will be a lot better off. QUIC is the middlebox and censorship killer. Unfortunately that last point is its greatest weakness: censors can currently get away with blocking it.
nrds··on Scheme Reports at Fifty
What works for Kmett most often does not work for mere mortals.

As for your first point, I think it's self-defeating: You claim "you don't have to worry about libraries providing an interface to your chosen incremental streaming library", but this requires "a careful choice of implementation" in those libraries with your chosen incremental streaming semantics in mind, which is the same thing but less explicit! And as long as mere mortals can't figure out the magic implementation of `sort` which makes incremental streaming work without explicit bindings, then what's the point?

Haskell is a great language for consuming libraries written by Ed Kmett, as your link demonstrates. Otherwise, it's difficult to work with.

nrds··on Environment variables are a legacy mess: Let's dive deep into them
I do not claim they are the only or even best tool :)
nrds··on The Unknotting Number Is Not Additive
Only countably many of those subsets can be distinguished from other ones. So "anything I could ever imagine caring about" is surely still a countable set.

I think the argument you are trying to make rests on a pretty serious fallacy generalizing "I care about some subsets of natural numbers" (and maybe " I care about subsets of natural numbers, in general") to "I care about all subsets of natural numbers, including undefinable ones".

nrds··on Environment variables are a legacy mess: Let's dive deep into them
I think it's worth specifically calling out that the right way to set environment variables is in execve() only, as communication across an exec() is the precise niche for which they are the right tool.
nrds··on The Culture novels as a dystopia
> minds struggle

I never believed this explanation for SC as provided by Culture-aligned unreliable narrators. It seems far more likely that it's an outlet for people who desire to have control over others, a supermajority of the West which is conspicuously absent from the novels.

I recently finished Inversions and I think this novel supports my hypothesis by featuring citizens whose needs in this direction are being fulfilled directly or indirectly via SC.

Incidentally when Minds actually want to get things done urgently, they go beyond SC; see Excession. This supports that SC is a playground for human (and drone/other AI) expression rather than an actual power-center of the Culture.

nrds··on Tesla is trying to hide 3 Robotaxi accidents
And that means they know what lane they need to be in 100, 200, 500 ft down the road. Tesla has map data but it's so poor that they can't get the lanes right.
nrds··on Tesla is trying to hide 3 Robotaxi accidents
Waymos stop in the middle of the street several times a day, behavior I've never seen or even heard of from FSD. And I'm not sure what it has to do with lane selection.

FSD goes around stopped vehicles without any problem too.

← PreviousPage 2 of 3Next →