News for hackers. Stuff that matters.

dnmc

This has been on my mind lately! Especially in light of the many incomprehensible but machine-checkable proofs we've been hearing about.

Occam's Razor is a useful heuristic, but it biases us towards simpler explanations.

They're targeting something like a 5th grade reading level — I'm not convinced it's slop.
Re:My two-part desk setup on Saturday May 23, 2026 @02:30PM (#48249991)
When you have two monitors, is your head always turned to one side? That always hurts my neck, so I wind up with the second monitor relegated to the side, where I never actually look at it.
Re:- -dangerously-skip-reading-code – olano.dev on Saturday May 23, 2026 @01:51PM (#48249636)
There are languages like Dafny that permit you to declare pre- and post-conditions for functions. Dafny in particular tries to automatically verify or disprove these claims with an SMT solver. It would be neat if LLMs could read a human-written contract and iterate on the implementation until it's provably correct. I imagine you'd have much higher confidence in the results using this technique, but I doubt that available models are trained appropriately for this use case.
Re:Unsigned Sizes: A Five Year Mistake on Saturday May 02, 2026 @04:46PM (#47990316)
Maybe this isn't what you're suggesting, but it's already possible to make an interface that prevents callers from doing math on indices in Rust — just return a struct that has a private member for the index. The caller can pass the value back at which point you can unwrap it and do index arithmetic.
Re:What is jj and why should I care? on Tuesday April 14, 2026 @05:22PM (#47771705)
And If `jj absorb` gets it wrong, you can run `jj undo`.

This is such a killer feature to me. I'm not scared to start potentially gnarly rebases anymore because I can painlessly undo.

Re:Filing the Corners Off MacBooks on Friday April 10, 2026 @08:28PM (#47725735)
In response, I expect the open-source community to make an optimal square packing window manager. https://en.wikipedia.org/wiki/Square_packing
Re:A new C++ back end for ocamlc on Wednesday April 01, 2026 @08:44PM (#47608632)
Is this the Stephen Dolan of "mov is Turing Complete" fame?
Re:C++26: The Oxford Variadic Comma on Sunday March 15, 2026 @02:48PM (#47390522)
Are you suggesting we move to C++++?
Re:4x faster network file sync with rclone (vs rsync) (2025) on Monday February 02, 2026 @11:20PM (#46866444)
I've never verified this, but it feels like scp starts a new TCP connection per file. If that's the case, then scp-ing a tarred directory would be faster because you only hit the slow start once. https://www.rfc-editor.org/rfc/rfc5681#section-3.1
Re:The WiFi only works when it's raining on Friday January 30, 2026 @12:14PM (#46827021)
I don't think the OP ever returned with a conclusive answer, but I'm somewhat convinced by the commenters that it was either a low-frequency engine sound rattling the neighbor's windows or something to do with the car's rear-cross sensor.
Re:The WiFi only works when it's raining on Thursday January 29, 2026 @09:58PM (#46820044)
Here's another for your collection.

- Putting the car in reverse sets off the neighbor's home security system. https://www.reddit.com/r/cars/comments/7k12fs/neighbors_hous...

Re:Banned C++ Features in Chromium on Friday January 23, 2026 @06:06PM (#46739208)
There are yet more interesting docs in the parent directory :)

https://chromium.googlesource.com/chromium/src/+/main/styleg...

Re:Show HN: Artificial Ivy in the Browser on Tuesday January 20, 2026 @04:57AM (#46690051)
Hah, believe me, the flamethrower feature is first in line for the v2 milestone!
Re:Show HN: Artificial Ivy in the Browser on Tuesday January 20, 2026 @04:48AM (#46689972)
Oh, those are great ideas. On that note, I was also considering simulating nutrients and rewarding the roots that find them.