Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
klodolph
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
25 ms
·
331.
▲
by
klodolph
2y ago
Can’t you just use --long options everywhere? For, like, 95% of the tools out there, I’m going to use --long every single time. Anyway, I don’t even know the options that a program takes until I read the program docs. The program docs will
332.
▲
by
klodolph
2y ago
Does go’s defer allocate on the heap? I thought it would only do that if necessary.
333.
▲
by
klodolph
2y ago
Scratchy chalk is low-quality chalk or poor technique. Every writing instrument has its own techniques. Like how fountain pens work better at a lower angle and lower pressure, and ball-point pens work better at a higher pressure and the ang
334.
▲
by
klodolph
2y ago
Same thing as what? Same thing as having an installer modify HKEY_LOCAL_MACHINE\Software\Classes, and having the associations break if you move the program to a thumb drive?
335.
▲
by
klodolph
2y ago
I’m really fond of the way macOS does this, which is to stick this information in the executable. Back in the day, this worked via a flag in the metadata for each file. When you got a new executable, the flag was unset . The OS would see a
336.
▲
by
klodolph
2y ago
It’s ordinary corporate dysfunction. The mandates come top-down. People in management don’t think too hard about exceptions. The people making decisions are far-removed from the consequences of their decisions.
337.
▲
by
klodolph
2y ago
Java value types aren’t going to be even roughly comparable to what you can do in Go. It’s just gaining something with the name “value type”, don’t let the naming similarity lead you to believe that this is conceptually like how the same-na
338.
▲
by
klodolph
2y ago
On the technical side, Java and C# are OOP languages with nominal typing, compacting GCs (at least by default), objects are reference types, can't have a reference to a variable, strings are UTF-16, async is available via promises 
339.
▲
by
klodolph
2y ago
Yes… there’s a lot of overlapping territory, for sure. Just like how Java relaces a lot of projects that would have previously been written in C++ or C.
340.
▲
by
klodolph
2y ago
I could write a whole article on this, but my take on this is that Go occupies one space, and Java and C# occupy a different space. This happens despite the checklist similarity between these languages.
341.
▲
by
klodolph
2y ago
This is the way that Pascal does it, which was always more sensible than prefix notation. Pascal uses ^
342.
▲
by
klodolph
2y ago
The question is underparameterized. 20% more efficient happens when you accomplish 20% more work with the same amount of money. It also happens when you accomplish the same amount of work with 17% less money. Right now it looks like neither
343.
▲
by
klodolph
2y ago
This surprises nobody. People import goods before tariffs because the price is lower, and that money going to trade isn’t going to GDP. Greater economic uncertainty and higher savings rates. Difficult labor market. The only question is the
344.
▲
by
klodolph
2y ago
According to the paper’s abstract, - We’d like to study exoplanet atmospheres, but that’s hard because you can’t separate them from the star. Brown dwarfs are a good substitute because they are kind of like really big exoplanets. - There’s
345.
▲
by
klodolph
2y ago
I always thought of automating my career away as, you know, a success story. Your solutions and knowledge become code, which lets the next generation build on top.
346.
▲
by
klodolph
2y ago
…if there’s a “why”, maybe it’s because WASM can’t interact with the DOM and the debugging experience isn’t very good. The DOM API is defined as a JavaScript API. The browser, JavaScript, and the DOM API have been evolving in parallel for o
347.
▲
by
klodolph
2y ago
> I doubt that insanity stops just because you're dead. It really does stop. What can you do with someone’s SSN? Get loans, open bank accounts, receive government benefits, set up utilities, etc. It harms someone because creditors
348.
▲
by
klodolph
2y ago
Other people have mentioned this… but it’s been established in policy that the SSN of a deceased person is not PII. There are a ton of different ways to get the SSN of someone who is deceased.
349.
▲
by
klodolph
2y ago
When the parent comment says “OS on a separate thread”, they’re talking about the fact that even if your user-space workload is single-threaded, the OS has a separate set of threads, which can run on separate cores from the user thread. The
350.
▲
by
klodolph
2y ago
I get kinda pissed at any program that creates a visible directory.
351.
▲
by
klodolph
2y ago
> Knowing that, there were probably lots of undiscovered places where the density got high enough to fission. Density of U235, specifically… you could crystallize pure uranium in the Earth’s crust today, and it would not be enriched enou
352.
▲
by
klodolph
2y ago
“Capital has the ability to subsume all critiques into itself. Even those who would critique capital end up reinforcing it instead.” —Joyce Messier, Disco Elysium Gibson is a concrete example. He fashions critiques of capitalism in a book,
353.
▲
by
klodolph
2y ago
Zstd is basically LZ77 + FSE. There are some other pieces to it, but they’re minor. FSE is a form of entropy coding that you can swap out with other entropy coding techniques, like Huffman or arithmetic coding. For most objectives, FSE is t
354.
▲
by
klodolph
2y ago
When one of these limitations gets spelled out in an article, it feels like six months later, somebody has a demo of a chatbot without that particular limitation. These limitations don’t seem in any way “fundamental” to me. I’m sure there a
355.
▲
by
klodolph
2y ago
I think you would just need ANS, not the rest of zstd.
356.
▲
by
klodolph
2y ago
> Seems like most experts estimate 3-10 years. That’s spitting distance from “we don’t know”. I think most of these valuations are made by people without the expertise to predict what the next one year of AI looks like, never mind 3-10 y
357.
▲
by
klodolph
2y ago
Nearly every time I’ve had to reverse a string, it’s been for a coding interview.
358.
▲
by
klodolph
2y ago
I’ve been a Go programmer for many years now, and I don’t “get what he means”. Am I stupid? Maybe you could elaborate. What is complex versioning? In Go, you specify a minimum minor version, and breaking changes change the package name &
359.
▲
by
klodolph
2y ago
This is how Go worked in the old days, before modules. Nowadays, the version constraints are specified in go.mod. Because the fully-qualified package names are used to import them, you can reconstruct go.mod from the sources, assuming that
360.
▲
by
klodolph
2y ago
It is not painful in Go. For example… let’s say you have just plain search-replace and no smart tools. You need to update github.com/abc/def to github.com/abc/def/v2. This is a search-replace operation. This only ha
More ›