Better HN
topnewbestaskshowjobs
Log inSign up

zrm

3,007 karma · joined Jul 4, 2014 (12y ago) · 1,036 submissions

Submissions

comment 2h ago · link · parent

Code compilation is running into Amdahl's law there. The 2x9996 system has 1024 threads. The reason power went from 180W to 500W and 600W is that core count went from 32 to 96 and 256, but the single-threaded compilation steps don't care about that, and wouldn't use 500W/600W during them. Notice that the 96 core one is keeping up with or beating the 256 core one there, because it has a higher boost clock and has the advantage on the single-threaded steps.

The memory and cache likewise haven't increased much per core. They now have 4MB of L3 per core instead of 2MB and for the 9996 the memory bandwidth per core is only up 33%, and code compilation cares more about memory latency than bandwidth. The memory in the newer systems is actually a liability there because DRAM latency hasn't improved at all and they were using MRDIMMs, which prioritize bandwidth over latency and correspondingly have worse latency than the DDR4 in the old system. If you were specifying a build system you'd want to use ordinary DDR5 RDIMMs instead and it'd have been a bit faster (and cost less).

Compare this to the last page. Geometric mean of all tests says 9996 (Zen6c) is >12x faster with 8x the cores and 9686F (Zen6) is >8x faster with 3x the cores. Meanwhile the average power consumption (these are all 2-socket systems) was 331.6W, 751.3W and 805.8W. Performance per watt is up 5x for 9996 and 3.8x for 9686F, and the F models are the ones that sacrifice performance per watt for higher clock speeds.

comment 3h ago · link · parent

> For AMD CPUs, the CPU cores are the same in server CPUs and desktop CPUs, so until and including Zen 5 there was no difference in the performance per watt that was reachable in server CPUs and desktop CPUs with lower power limits.

Zen5c generally has better performance per watt than Zen5 but there are no Zen5c desktops and the Zen5c laptops are heterogeneous (e.g. 4 Zen5 and 8 Zen5c cores), whereas with Epyc you can get all Zen5c and they use TSMC N3E instead of TSMC N4P to make them.

comment 17h ago · link · parent

The interesting thing about both the halting problem and the continuum hypothesis is that they involve infinity.

The halting problem is trivially (but not necessarily efficiently) computable if you constrain the evaluated program to any specific finite amount of memory, because then a failure to halt would have to repeat a previous state. To solve it the evaluating program needs to keep more state than the evaluated program, which makes it incomputable when the evaluated program is allowed infinite state.

Which is kind of weird, because that makes it computable for any finite amount of state no matter how large, but not for an infinite amount.

Meanwhile the speed of light and Planck units seem to imply that physical reality can't deal with infinity either.

comment 18h ago · link · parent

> Like I can't crack your encrypted messages if I don't have the messages.

P=NP with manageable constants would break all public key authentication. You could crack anyone's ssh keys, use them to gain access to software update servers and forge the signatures to distribute updates to every machine. Every encrypted connection and hashed password would become equivalent to plaintext. Breaking into the networks of major ISPs would then be fairly straightforward, and they could MITM anyone from there.

> Any many of the most sensitive systems have already moved on to algorithms which aren't vulnerable to such attacks.

You're thinking of PQ. That's for if we ever get practical quantum computers. If P=NP then those algorithms are done too and so is the symmetric encryption quantum computers can't break.

Quantum computers don't efficiently solve every problem in NP. P=NP would, and nobody is prepared for what would happen then.

comment 1w ago · link · parent

> Münchhausen's Trilemma showed that its impossible to prove any truth with absolute certainty without eventually relying on an unprovable assumption.

Obviously not, because if it was true then it couldn't have shown it without eventually relying on an unprovable assumption.

Which gives us a hint as to why it's wrong. It's possible to yield a logical contradiction if you accept a false premise, and in so doing establish that you have a false premise. You can thereby prove A by disproving not-A.

In other words, we can defeat Baron Munchausen with Sherlock Holmes: "When you have eliminated the impossible, whatever remains, however improbable, must be the truth."

comment 1w ago · link · parent

> they still require a generator and high voltage battery.

They require two generators, but they also don't require a starter motor or an alternator. Meanwhile a non-plugin hybrid only needs around 2 kWh worth of battery, which has gotten so cheap you might prefer that to a clutch replacement.

comment 2w ago · link · parent

Yeah, this thing is unusual. It resembles a consumer GPU but using normal DRAM with more channels, so then you get more RAM but less memory bandwidth than GDDR/HBM, which is the same thing Apple does. And the TDP is pretty attractive for what it is.

But what is that amount of SRAM for? It simultaneously seems like a lot, because SRAM is so expensive, but still not very much, because what can you fit in 0.5GB? Is there a specific workload that needs something that looks like this?

comment 3w ago · link · parent

Wet is a significant loss of traction, it's just that wet after a dry spell is even worse.

I'm from the Northeast but happened to be in Seattle on a day when it snowed. Every road was a hill and every hill was full of sideways cars.

comment 2mo ago · link · parent

Consider this (quite common) code:

  char buffer[LARGE_SIZE];
  if(maybe_fill_buffer(buffer, sizeof(buffer))) {
      use_result(buffer);
  }
The function maybe_fill_buffer() is an external library function that either fills the buffer and returns true or doesn't access it and returns false. Or maybe it unconditionally fills it, or unconditionally returns false without reading from it. The compiler can't see any of that though because it's in an external library. For all it knows that function is going to read from it instead of writing to it.

Notice that if it could actually figure it out 99% of the time then it could also emit a warning the 1% of the time that it can't and encourage you to make an explicit choice, which would have been a better option if that was actually the rate.

comment 2mo ago · link · parent

That's assuming you were reading it without writing to it. There are three common cases when that isn't true.

The first is that you have a fixed buffer large enough for the maximum message size even though the typical ones aren't that big. You most often write 1% of the buffer and read it back, the other 99% is never accessed.

The second is that you always write the entire contents before reading it but the compiler may not be able to see that.

And the third is that you have a code path where that variable is simply not used.

You would then have the compiler emitting instructions to write zeros that are either overwritten before being read or are never read at all.

Moreover, zero initializing the data doesn't actually remove the bugs when that isn't the case. Consider the first case when you mess up. You have a fixed buffer used to store variable length messages. For the first message the buffer is now zeros instead of uninitialized, but for every subsequent message the remainder of the buffer still contains the remainder of the previous message and subjects you to information disclosure or data modification if you're reading back a different amount than was written in the associated call.

Now consider the second or third case. You unintentionally read from a variable before assigning to it. You get zeros instead of uninitialized memory, but if you weren't expecting zeros, well, the UID field is now 0.

comment 2mo ago · link · parent

> the more features you add to the burner phone, the more it begins to look like the device you're leaving "safe" at home.

Wouldn't a sensible way to do this be to create an encrypted backup of your device on a VPS, then restore it to the "burner phone" once you're on the other side of the border, and wipe the device again before you come back?

The idea being that whenever you're at the border crossing, the device contains nothing, and the passphrase for the backup is in your head.

comment 3mo ago · link · parent

How does the customer service rep tell that a name with some Unicode gubbins is an attack rather than a customer from Juárez or 서울? Having a busy hand copy and paste the attacker-provided string into the system doesn't get you out of it.

comment 3mo ago · link · parent

> Any stenographic system that you have the code for can be trivially defeated.

They're giving you an oracle regardless, which is almost as good. Take LLM output, make some modification, ask the detector if it's LLM output, repeat until you learn what kind of changes you have to make to defeat it.

Or don't even bother learning what to do, just make arbitrary changes until it says it's not, so when the person they're submitting to does the same check it says the same thing.

comment 3mo ago · link · parent

> we're approaching a time where a single processor has hundreds of threads

Approaching? EPYC 9996 has 512 threads. EPYC 9754 had 256 threads three years ago.

comment 5mo ago · link · parent

It seems like what's missing here is lower cost plans, because the existing plans had been fairly affordable, but now they're basically triple.

The least expensive one seems to be CPX11, old price $6.99, new price $20.49. That's 2GB RAM, 40GB SSD. RAM and SSD are now much more expensive, fair enough, but maybe I don't need all that for my mostly-idle VM, so then where's the plan with ~0.67GB RAM and ~13GB SSD for the old price?

comment 5mo ago · link · parent

> I did not.

This is the exact quote:

> And at least for connected devices at home, a dedicated app can have lower friction for initial setup for the "I'm not a computer person" crowd than other alternatives do.

What good does it do you to dispute that you implied it as a justification for the status quo when your error is contained in the part you're not disputing?

comment 5mo ago · link · parent

You made the claim that companies require apps because it has lower friction for ordinary users. That claim is in error.

The implication that there is nothing anyone can do to improve the existing state of affairs is also incorrect.

comment 5mo ago · link · parent

> And at least for connected devices at home, a dedicated app can have lower friction for initial setup for the "I'm not a computer person" crowd than other alternatives do.

For a router? This is the device that you will often not have internet access with which to download an app until after it's configured. Many people have wired internet specifically because they live somewhere with poor cellular reception. Meanwhile the device can give out DHCP and use the standard captive portal mechanisms to automatically direct any client device to its configuration page.

comment 6mo ago · link · parent

You only need things like that for non-iterated games. A company that gets a reputation for keeping the money when it's a real bug would stop getting real bug reports.

comment 6mo ago · link · parent

You don't have to determine if it's an AI or not. If AI finds a real bug then it can get the bounty. If a human pays to make you read artisanal hand-crafted word salad then they don't get a refund. Real bugs get the bounty, imaginary bugs pay the fee.

comment 6mo ago · link · parent

Bounties already have that whenever you reject one for being nothing.

comment 6mo ago · link · parent

Just require people submitting a bounty to post an evaluation fee. If it's a real bug they get a refund and the bounty. If it's AI slop, you keep the evaluation fee.

comment 6mo ago · link · parent

It seems like what this needs is the return of video arcades.

Fill a room at the mall with Linux boxen with midrange GPUs and fiber internet and the sort of keyboards you can clean with pressurized water. Charge an entry fee and then sell pizza, cheetos, coffee, soda and beer. Open at 11AM and close at sunrise.

Then publish the public IPs used by the arcade-owned machines at each location in the chain and use different public IPs for the customer WiFi. No DRM nonsense, just a way to know you're playing with someone at the arcade where the management doesn't allow cheats on their machines.

comment 6mo ago · link · parent

There are two different kinds of updates.

One is security updates and bug fixes. These need to fix the problem with the smallest change to minimize the amount of possible breakage, because the code is already vulnerable/broken in production and needs to be updated right now. These are the updates stable gets.

The other is changes and additions. They're both more likely to break things and less important to move into production the same day they become public.

You don't have to wait until testing is released as stable to run it in your test environment. You can find out about the changes the next release will have immediately, in the test environment, and thereby have plenty of time to address any issues before those changes move into production.

comment 6mo ago · link · parent

> That whole model dates to before automated testing was even really a thing, and no one knew how to do QA; your QA was all the people willing to run your code and report bugs, and that took time.

That's not what it's about.

What it's about is, newer versions change things. A newer version of OpenSSH disables GSSAPI by default when an older version had it enabled. You don't want that as an automatic update because it will break in production for anyone who is actually using it. So instead the change goes into the testing release and the user discovers that in their test environment before rolling out the new release into production.

> On top of that, the backport model heavily discourages the kinds of refactorings and architectural cleanups that would address bugs systemically and encourage a whack-a-mole approach - because in the backport model, people want fixes they can backport.

They're not alternatives to each other. The stable release gets the backported patch, the next release gets the refactor.

But that's also why you want the stable release. The refactor is a larger change, so if it breaks something you want to find it in test rather than production.

comment 6mo ago · link · parent

They can block traffic to update servers so the computers behind the router aren't all patched up, then exploit them. They also get access to all the IoT devices on the internal network. They can also use your router as a proxy so their scraping/attack traffic comes from your IP address instead of theirs.

It's definitely bad.

comment 6mo ago · link · parent

They're not going to put a newer version in stable. The way stable gets newer versions of things is that you get the newer version into testing and then every two years testing becomes stable and stable becomes oldstable, at which point the newer version from testing becomes the version in stable.

The thing to complain about is if the version in testing is ancient.

comment 6mo ago · link · parent

For that you really only need CAP_NET_BIND_SERVICE.

The bigger issue is that if you want to install or update system-wide packages, many of those will be used by privileged processes. Suppose you want to update /bin/sh. Even if the only permission you had is to write binaries, that'll get you root.

comment 6mo ago · link · parent

> But if you want to participate in the writing, debugging, and maintenance, it has to be in a language that a human can read.

I think the idea is that languages like Python and JavaScript make it easier for humans to write the initial implementation, whereas the "hard" languages from the perspective of creating the minimum viable product are the ones that make it easier for humans to maintain the code, and this has historically been a major trade off.

Whereas if you have the AI write the initial implementation...

comment 6mo ago · link · parent

"When you thrash them" is kind of the issue. There are ten year old business desktops with a <10W idle power consumption. If your use for it is to have something to rsync files to and host your personal website and the like, even old hardware is going to average 99% idle. There is no meaningful power savings from newer hardware unless you're consistently putting it under significant load.

Some of the newer hardware is actually worse because the idle power consumption of PCs since around 2010 is determined in significant part by the low-load efficiency of the power supply. Brand new machines with the wrong power supply can use several times as much power at idle as ten year old machines with the right power supply. Annoyingly, power supply efficiency at idle is rarely documented so the only thing to do is measure it.

12345
35