Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ncruces
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
241.
▲
by
ncruces
9mo ago
It's more like he was renting a knife to cut fruit for some reason and now, and instead of just buying a knife, he built one from scratch. (1) Let's hope he doesn't cut himself if the knife breaks apart while in use. (2) Why
242.
▲
by
ncruces
9mo ago
What this tells me is that these should never have been a subscription. A trial, and then a $5 or $10 one time purchase. If ever you're missing some feature that gets added in a later version, then maybe a $5 upgrade. But why would a s
243.
▲
by
ncruces
9mo ago
What's the isolation level? They only mention write-write conflicts. The reason SQLite's BEGIN CONCURRENT does not greatly increase concurrency (unless you're very careful with your schema and queries) is as much due to pag
244.
▲
by
ncruces
9mo ago
“The size of Denmark’s investment in US Treasury bonds, like Denmark itself, is irrelevant.” So an ally is irrelevant. People wonder why the EU is built the way it is, and behaves the way it does. It's precisely to avoid this. To bind
245.
▲
by
ncruces
9mo ago
What do you expect (e.g.) Norway to do except disentangle, when their PM sends this text and gets back this response? And note that Finland's president (Alex there) has been one of the big proponents of continuing to engage with Trump.
246.
▲
by
ncruces
9mo ago
The prototype phase meant data centers are now measured in MW instead of TFLOPS. At a time where we were desperate to reduce emissions, data centers now consume around 20% of the energy consumed by the entire aviation sector, with consumpti
247.
▲
by
ncruces
9mo ago
The referendum is on independence. Which they might want if they weren't under the threat of annexation. When given a choice between the US and Denmark, they chose Denmark, and might choose to go all in rejoin EU.
248.
▲
by
ncruces
9mo ago
POSIX locks are insane enough that when I reimplemented the SQLite file system API, I gave up on them: https://github.com/ncruces/go-sqlite3/tree/main/vfs#file-loc...
249.
▲
by
ncruces
9mo ago
In the EU, yes, Ireland. Their inward FDI stock to GDP ratio is around 250%, which is about 4× the EU average; and Ireland does this with a decently sized economy. And then there's Luxembourg (1400%) and Malta (2000%) which arguably do
250.
▲
by
ncruces
9mo ago
Yes. Apart from the countries which live off of foreign direct investment, taxes are generally pretty high. Also, in many EU states, companies contribute to social security. In some this is indexed to profits, but on others this is indexed
251.
▲
by
ncruces
9mo ago
That's a bit like software developers iterating until all unit tests pass, and then considering all user feedback dumb.
252.
▲
by
ncruces
9mo ago
Much of the world would have no problem with americans being in love with their McMansions. But many would find them wasteful, and a terrible place to live, compared to a decently sized apartment (one 10m² - 100 sq ft - bedroom per person&#
253.
▲
by
ncruces
9mo ago
They're happy to provide that. It's a called debit card that you take to an ATM machine. It's been popular demand, not financial institutions, driving the change to “the smartphone can do everything, I don't want to take
254.
▲
by
ncruces
9mo ago
Not really. For the question “is the data in the checksum database immutable” you can trust people like the parent, who double checks what Google is doing. For the question “is it the same data that can be downloaded directly from the repos
255.
▲
by
ncruces
9mo ago
Conversely, I can say that an hash being in go.sum doesn't mean it will be used for anything. Only that if the corresponding version does get used, and the hash doesn't match, you get an error. But you can have multiple versio
256.
▲
by
ncruces
9mo ago
Running `go mod tidy` months apart with no other changes to your module will not change your go.mod. It certainly won't update dependencies. You run that when you've made manual changes (to go.mod or to your Go code), or when yo
257.
▲
by
ncruces
9mo ago
> No, it does not. Minimum version selection means that the libraries will at least be that version, but it could be substituted for a later version if a transient dependency asks for such. No? All dependencies - direct and indirect - ar
258.
▲
by
ncruces
9mo ago
An economy that wasted resources building mega yachts for billionaires is more unequal than one that builds cruise ships that high income families can go on an holiday. https://scottsumner.substack.com/p/imagine-1300000
259.
▲
by
ncruces
9mo ago
This makes no sense. Not even from a cynical and selfish view point. I consider my job to be actually useful. That I produce useful stuff to society at large. I definitely hope that I'm replaced with someone/thing better; whatever
260.
▲
by
ncruces
9mo ago
The topic is whether Rust should be used to re-implement SQLite. If SQLite fails to allocate memory for a string or blob, it bubbles up the error, frees some data, and maybe tries again. Your app may be "hopeless" if the error bub
261.
▲
by
ncruces
9mo ago
It just needs to have whatever memory it needs statically allocated.
262.
▲
by
ncruces
9mo ago
Since we're talking about SQLite, by far the most memory it allocates is for the page cache. If some allocation fails, the error bubbles up until a safe place, where some pages can be dropped from the cache, and the operation that fail
263.
▲
by
ncruces
9mo ago
How will those juniors ever grow up to be seniors now?
264.
▲
by
ncruces
9mo ago
I'm just one data point. Me being unimpressed should not be used to judge their entire work. I feel like I have a pretty decent understanding of a few small corners of what they're doing, and find it a bad omen that they've b
265.
▲
by
ncruces
9mo ago
I follow at least one GitHub repo (a well respected one that's made the HN front page), and where everything is now Claude coded. Things do move fast, but I'm seriously under impressed with the quality. I've raised a few conc
266.
▲
by
ncruces
9mo ago
Indeed. I implemented a gap sequence not analyzed here (Gonnet & Baeza-Yates) and it's amazing how compact Shell sort can be. C: https://github.com/ncruces/go-sqlite3/blob/main/sqlite3/libc.
267.
▲
by
ncruces
10mo ago
Maintainers did a bunch of useful work for them and they refuse to report issues the way maintainers find the most useful, because it's a burden to help maintainers do all their free work.
268.
▲
by
ncruces
10mo ago
I did a similar VFS in Go. It doesn't run client-side in a browser. But you can use it (e.g.) in a small VPS to access a multi-TB database directly from S3.
269.
▲
by
ncruces
10mo ago
https://sqlite.org/vfs.html While designed for OS portability, you can use it to convince SQLite to read from something other than a file on disk.
270.
▲
by
ncruces
10mo ago
You do aligned reads, which can't crash. Not even musl uses a scalar loop, if it can do aligned reads/writes: https://git.musl-libc.org/cgit/musl/tree/src/string/stpcpy.c And you don'
More ›