HN user

cyanmagenta

287 karma
Posts0
Comments44
View on HN
No posts found.
ECC and DDR5 2 days ago

Right. Everyone agrees that real ECC is more robust, and production servers of course run it. But it seems to me that if most RAM bitflips are in the module itself (rather than in transmission to CPU), then on-die ECC could in theory make the probability of a bitflip in practice so low that for things like home servers it isn’t worth the price premium for real ECC. But without data on this, everyone is just speculating.

ECC and DDR5 2 days ago

The problem I have with ECC discussions is that it’s always anecdotal. There is one Google study finding memory flips with some probability in their datacenters, but it was awhile ago. Everyone repeats the statement DDR5 on-die ECC isn’t a replacement for regular ECC, but nobody ever shows data on DDR5 bitflips. That’s not a knock on this article per se, but it’d be nice to have actual data here.

You make some good points, but here are some counterpoints:

There is an existing infrastructure for ticketing by license plate, payment processing, collection, etc.

You’re describing changes to the law, which require a bunch of procedural hurdles. It’s much easier for the DMV to just promulgate new rules that tap into existing infrastructure, as they did here.

Also, how is the government supposed to assess whether these violations are intentional or not? Tickets are strict liability (you get the ticket if you do it regardless of intent, reasons, etc.) because it is easy to administer.

According to Google Translate: “A man who loves text files and wears a peculiar hat announces a plan to have sex with the weather.”

Hope this helps.

Yes, that is why I said “local database (sqlite, or a traditional database over a unix socket on the same machine).”

This isn’t an sqlite-specific point, although sqlite often runs faster on a single machine because local sockets have some overhead.

There is some risk that, if you design your website to use a local database (sqlite, or a traditional database over a unix socket on the same machine), then switching later to a networked database is harder. In other words, once you design a system to do 200 queries per page, you’d essentially have to redesign the whole thing to switch later.

It seems like it mostly comes down to how likely it is that the site will grow large enough to need a networked database. And people probably wildly overestimate this. HackerNews, for example, runs on a single computer.

I view stuff like this kind of like code that fits into a bootloader or whatever. It’s really more of the technical challenge than to actually solve a problem. The result is much better if you just run a script on your hand-coded file to add syntax highlighting as DOM elements. Still, love seeing stuff like this.

water rights per acre

Is that actually taken into account in a taking? I haven’t thought about this stuff in decades, and I know there is some weirdness with regulatory takings.

Another way to frame the question: if the government just changes the water rights per acre, does that itself trigger the takings clause?

There is a network effect with programming languages. Once you get popular, more people write libraries and guides for that language, which in turn makes it even more popular.

If you were czar of the universe and could start from scratch, could a better scripting language be created? Sure. But that’s not the fact pattern, and Python isn’t bad enough at what it does to warrant starting over.

Monetary damages generally accumulate during the pendency of litigation. Also, it seems unlikely that this would take 5 years to resolve—Apple would presumably just reactivate the account and argue the case is moot now. I mean, maybe they want to establish precedent here to avoid opening the floodgates to this type of litigation, but more likely they’d just settle this one out quickly and quietly and fight the issue when they had better facts. OP’s story is pretty persuasive.

I am having trouble understanding the distinction you’re trying to make here. The computer has the same pixel information that humans do and can spend its time analyzing it in any way it wants. My four-year-old can count the legs of the dog (and then say “that’s silly!”), whereas LLMs have an existential crisis because five-legged-dogs aren’t sufficiently represented in the training data. I guess you can call that perception if you want, but I’m comfortable saying that my kid is smarter than LLMs when it comes to this specific exercise.

I love all the unexpected twists in this. And it’s very beautifully written and sobering.

the most important thing was to find xin fu in life, not to live your life in accordance to the expectations of anyone else

That is why I write all of my code in uncommented C. Your expectation of a maintainable program that doesn’t segfault all the time is just your expectation.

he wasted his entire life, my mom said

In some ways, she did too by listening to her mother and not just getting divorced as she had wanted to. But I recognize that going against your family’s core beliefs is easier said than done.

If we want to make the math analogy, C++ seems more like the language of math (basic algebra, the notion of proofs, etc.) that everyone uses, and the compartmentalization comes when you start to apply it to specific fields (number theory, etc.). That same concept exists in the C++ community: the people who care about stuff like asynchronous networking libraries aren’t usually the people who care about SIMD math libraries, and vice versa.

I also wonder if most junior C++ programmers can shortcut a bit by just using common patterns. Articles like these I’ve always thought were geared more toward experienced programmers who are intellectually curious about the inner workings of the language.

Images over DNS 10 months ago

Right, but you aren’t limited to one DNS call. You could have the javascript resolve multiple text records, then combine them together.

You could even do this over UDP if you really wanted, just merging a bunch of 1200-byte records together

Images over DNS 10 months ago

The cap for record size is 64KB, but you can have an arbitrary number of records, so larger images should be possible by combining multiple TXT record responses into one.

once you have children, owning your home is a very welcome level of stability

I think this is the biggest factor if it applies. If we want to be utilitarian about it, the benefit to your kids of having the same school to attend, same neighbors to play with, same room to call their own and paint the walls as they desire, etc. just dwarfs everything else. Kids just do well in stable, predictable home environments.

It always feels weird when Linux distro articles brag about new releases that are mostly just updated versions of third-party software. The stuff in the article (GNOME 48, KDE Plasma 6.3, python 3.13, etc.) have cool new features for sure, but it’s not like they were created by Debian.

That’s not a knock on the distro. Debian is great. It’s just a strange state of affairs.

The context here is suing the government for unconstitutional executive orders, so wouldn’t be an issue.

But yeah, ever since the Supreme Court blessed those provisions in National Labor Relations Board v. Murphy Oil USA, Inc (2018), companies have been adding them to employee agreements.

The distinction will be whether those online posts were obtained legally, analogous to whether the books in this case were pirated.

It’s not as simple as it sounds, since I’m sure scraping is against Reddit’s terms and conditions, but if those posts are made publicly available without the scraper actually agreeing to anything, is that a valid breach of contract?

Will be interesting to see how that plays out.

Let me preface this by saying that civil procedure and criminal procedure are separate bodies of law with their own rules on these issues. I’m not a criminal attorney and thus not comfortable speaking out of field. That said, I know there is an analogous work product doctrine that applies to pro se criminal defendants, but I don’t know the contours of it.

It’s super interesting to think about though! Imagine if your Google Doc said something like “The stolen cash is hidden in these six places, but the prosecutors don’t seem to have anything linking me to some of those areas, so I should point that out at trial.” If the government didn’t already know where the cash was hidden, it seems implausible to me that any judge wouldn’t let them have that information. It likewise seems implausible that the judge would let the prosecutors know what the defendant thinks would be good or bad to emphasize at trial. So I’m guessing it’d be an in-camera review resulting in a redacted document just disclosing the places where the cash was hidden, but not the subsequent mental impressions. But the real question, as you asked, is whether you can actually put that in front of a jury to show guilt. And I’m afraid I’m going to have to plead ignorance here (but hope there are some criminal attorneys lurking on HN that could speak to this).

Lawyer here. There isn’t attorney-client privilege with AI itself because AI is neither your attorney nor your client. However, there is something called the work product doctrine that shields things like your activities with legal research tools, document review tools, etc. so long as they are used in anticipation of litigation. So, despite what the other commenters are saying here, there is pretty much no chance that any of this would be discoverable, barring very strange circumstances.

but does the kernel then also do certificate validation for you

No, the asymmetric cryptography is all done in userspace. Then, post-handshake, symmetric cryptography (e.g., AES) is done in-kernel. This is the same way it works with TCP if you’re using kTLS.

I'd far rather have the OS provide a verified safe socket layer

There is work going on right now[1] to implement the QUIC protocol in the linux kernel, which gets used in userspace via standard socket() APIs like you would with TCP. Of course, who knows if it’ll ultimately get merged in.

[1] https://github.com/lxin/quic