dnmc

Joined 9 months ago

Karma
66
Submissions
17
Member since
Jan 20
I write code at Google. Opinions are my own. https://github.com/dmcardle
View on Hacker News

Recent submissions

Comment · 4 months ago
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.

Comment · 4 months ago
They're targeting something like a 5th grade reading level — I'm not convinced it's slop.
Comment · 5 months ago
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.
Comment · 5 months ago
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.
Comment · 6 months ago
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.
Comment · 6 months ago
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.

Comment · 6 months ago
Comment · 7 months ago
Is this the Stephen Dolan of "mov is Turing Complete" fame?
Comment · 7 months ago
Are you suggesting we move to C++++?
Comment · 9 months ago
Comment · 9 months ago
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.
Comment · 9 months ago
Comment · 9 months ago
Comment · 9 months ago
Oh no! I can run it on my phone, which is a few years old, so I figured it wouldn't lock anybody's computers up.

It's pretty CPU-heavy because it's constantly creating and updating SVG elements. I may attempt to rewrite sometime with WebGL and shaders :)

Comment · 9 months ago
Hah, believe me, the flamethrower feature is first in line for the v2 milestone!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton