Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hansvm
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
hansvm
3mo ago
Engineers are pretty jaded about plans expressed by authority, especially when there are obvious pressures opposing those plans. Yearly planning doesn't matter when a reorg will change the trajectory by Q3. Sprint planning doesn't
92.
▲
by
hansvm
3mo ago
Every time I've rewritten a major project I've made it smaller and faster while fixing all the major bugs and most of the minor ones. My current team has had similar experiences. I'd be curious to see what a Zig -> Zig rew
93.
▲
by
hansvm
3mo ago
Not just beeping. I had a rental Nissan recently violently pull me straight off the road when it couldn't read the lines very well in a thick fog. Apparently you can disable that deep in some settings menu through some magic button pre
94.
▲
by
hansvm
3mo ago
I remember an engineer I talked to recently saying that OSM didn't have sufficiently up-to-date data for their routing use case -- new roads, closed roads, traffic data, etc. Is that the case?
95.
▲
by
hansvm
3mo ago
Potentially lots of money, potentially none, but they should be honest about the capabilities and lifetimes of their products and not make that profit through bait-and-switch and other lies.
96.
▲
by
hansvm
3mo ago
And owe them royalties for infringement on the name "Verizon."
97.
▲
by
hansvm
3mo ago
I've found my calling. Is this "Tim" role open now that he's left?
98.
▲
by
hansvm
3mo ago
Interesting. I can barely stay awake in typical commercial planes, and I always attributed it to the lower partial oxygen pressure.
99.
▲
by
hansvm
3mo ago
That makes sense to me. There's a causal link between ambient air CO2 levels and cognitive changes, but the air in front of your face, which you breathe, doesn't play a role... A lack of direct study might make "in front of y
100.
▲
by
hansvm
3mo ago
For complicated problems, you can't just write the language spec. You need to iteratively develop it, which itself requires some intermediate state/language describing what you know so far. That intermediate state being the end pr
101.
▲
by
hansvm
3mo ago
It makes more sense when you view sandboxing as enabling project correctness in the presence of skilled, fallible maintainers rather than preventing explicit attacks. Solutions for the former do a lot to thwart attacks from the latter, but
102.
▲
by
hansvm
3mo ago
Sure, it's changing, and I use AI a ton. The second I ask it (where "it" is a smattering of all the SOTA models and harnesses) to do something as simple as design a server capable of doing <moderately simple task> when
103.
▲
by
hansvm
3mo ago
And who can't code its way out of a wet paper bag on hard problems. It's more productive for the day-to-day BS, which is convenient because it creates more day-to-day BS you need to handle, but that isn't the reason I hire a
104.
▲
by
hansvm
3mo ago
Whatever we're moving toward, I currently can't let any SOTA model + harness operate on more than ~10k changed SLOC at once, and even then only with very careful prompting I thoroughly understand, only on the simplest of problems,
105.
▲
by
hansvm
3mo ago
You could even just have straight proportional voting if you wanted, and that's be better than the current system. You got 3 votes? Great, you have a 3/100M chance to win.
106.
▲
by
hansvm
3mo ago
*hundreds to thousands of billions
107.
▲
by
hansvm
3mo ago
And that mistruth appears in delightfully insidious ways, like seemingly well-meaning comments opening up about "half" the job being lying when the point is to shift the Overton window away from the actual numbers, whatever they m
108.
▲
by
hansvm
4mo ago
It shows up easily at a macro level of you look at total "innovations" for a society (and have a good way to measure that -- currently still in an "I know it when I see it" stage). It won't usually show up in indivi
109.
▲
by
hansvm
4mo ago
The Bitcoin argument is usually paired with "there are no non-scam use cases which aren't better served by other methods/tech."
110.
▲
by
hansvm
4mo ago
Batching order, as you mentioned, matters a lot, and for any heavily optimized kernels it will change from one machine to the next. You also have the choice of backend numerical library from, e.g., different OS versions. There are floating-
111.
▲
by
hansvm
4mo ago
With breaks, and it's also normal that in a class of ~30 you'll still find a couple students with cramps.
112.
▲
by
hansvm
4mo ago
Many good students don't produce such artifacts. That's one of the big problems in academia -- a smart person with good ideas can inadvertently pursue a less promising path and not produce ground-breaking research, so how do you t
113.
▲
by
hansvm
4mo ago
I'm all for handwritten tests, but it's more complicated than that. If you're actually writing for 2hr+ and haven't studied appropriate technique or bought some sort of crutch like a pencil holder then the repetitive mot
114.
▲
by
hansvm
4mo ago
> have to manually run the code in your head If you're doing a good job, you have to do that anyway, or at least have enough of a spidey sense for broken code to know when to investigate and add an extra test case. Something like 30
115.
▲
by
hansvm
4mo ago
My initial implementation used [9][9]u9 (which desugars to [9][9]u16 with some zero bits) and was a fair bit slower. If I had to guess, it's because the shift/extract/align you're describing isn't actually a part of
116.
▲
by
hansvm
4mo ago
I'm probably not the only culprit then :) I'd be curious to know who else has done things like that.
117.
▲
by
hansvm
4mo ago
At most the second from me, and last time I didn't talk about the project (haven't talked about the project online at all IIRC).
118.
▲
by
hansvm
4mo ago
Old habits :) If I had to steel-man the idea, I'm pretty sure the integer-based solution has better codegen with many kinds of sparse, comptime-known masks. I think you're right though, StaticBitSet looks better.
119.
▲
by
hansvm
4mo ago
I used it for awhile for "prod" for a toy project. I was scraping nearly every sale across every Target location for awhile. It was fast and easy to use. At the time many (read) queries had bugs of various kinds, requiring strange
120.
▲
by
hansvm
4mo ago
IIRC, for "normal" bit widths the codegen basically uses the next larger machine type and preserves zero bits on the high end. An i3 is an i8 with five MSB zeroes (with more custom behavior for "packed" i3 values). It&#x
More ›