Better HN
topnewbestaskshowjobs
Log inSign up

echoangle

5,374 karma · joined Oct 20, 2023 (3y ago) · 2,449 submissions

Submissions

comment 2mo ago · link · parent

That's the problem with UB, once you hit it (or even have it in your code), you can't really trust anything about the execution anymore. That the function is called isn't something the compiler does on purpose, it's just that the main function is compiled empty due to the UB and the function directly behind it is executed because the CPU just keeps looking for the next instruction.

comment 2mo ago · link · parent

And how would you generate assembly to keep a microcontroller idle then?

comment 2mo ago · link · parent

I'm also confused that an uncalled function is even compiled and linked, wouldn't it make sense to remove it entirely if the compiler can detect that it's never called?

comment 2mo ago · link · parent

The article mentions a use case for that:

> What I found is that this is common in embedded and kernel code as a halt-on-error pattern. When a fatal error occurs and there’s no operating system to exit to, you simply stop:

comment 2mo ago · link · parent

> Except in your own examples it can easily be shown that it is not handled differently.

I was talking about humans vs. cars as an analogy to you comparing GPUs and cars.

Nobody is taxing humans the way cars are taxed, so why should the computing speed of a GPU be compared to that of a human?

> A bridge can hold ten thousand humans or thousand trucks. You can argue that a "human" may not weigh 100 kgs or a truck may not weigh exactly 1 ton. That's fine. It is a rough approximate to equalize unequal entities.

And you do not think that comparing weights to measure bridge load makes a lot more sense than comparing FLOPS to determine learning of GPUs vs humans?

EDIT: Maybe let's just go back to the original point

> We need to define machine in terms of "human-power"... much the same as how we already define automobiles via "horse-power". A single NVIDIA GeForce RTX 3090 chip, for example, delivers roughly 35.58 teraflops of standard computing power (via 10,496 CUDA cores). That means 35.58 trillion calculations every second. In comparison, a mathematically trained human being, taking their time to solve a complex, multi-digit decimal division problem by hand takes roughly 100 to 120 seconds. That gives the human 0.01 flops. To match RTX 3090, you would need 3.56 quadrillion people working/learning in perfect sync. We can use a calculation similar to this to derive metrics on how much is being stolen for "learning/training" these models. The loot can be quantified.

So you want to compare the learning rate of a GPU to that of a human by comparing their respective FLOPS. Why would FLOPS be a valid proxy for learning ability in humans just because that works out in GPUs, if the way they learn is fundamentally different?

Is the effect of someone reading a copyrighted book dependent on how fast they are at doing math in their head?

comment 2mo ago · link · parent

Do you not think that stealing requires the original owner to lose access?

If I sneak into your home, take apart the coffee machine, measure everything, put it back together and go home and build a copy to have my own, did I steal your coffee machine?

Can we not just stick to calling it copyright infringement?

comment 2mo ago · link · parent

> The same applies to "horse-power". Yet we have no issue making the comparison anyways and HP has become an industry standard.

Yeah, which is why it's only used to compare cars etc. among each other. Nobody would calculate the equivalence of a car to a horse using their HP rating because a horse doesn't even have 1 HP. They have more or less depending on the task you're doing. It was a marketing thing at the time to make steam engines look good.

In france, cars are taxed by their engine power. Do you think pedestrians walking on the sidewalk should be taxed according to their power on an ergometer too?

Do you not see that different things need to be handled differently before the law and just taking an arbitrary measure that you can technically apply to both doesn't capture the situation?

comment 2mo ago · link · parent

> unless you maintain that the USSR wasn't truly communist.

Didn’t they themselves say they were a socialist society on the path to communism?

Does anyone think the USSR was communist?

comment 2mo ago · link · parent

The multiplication comparison makes no sense because humans don’t learn by multiplying numbers to change weights. It’s like comparing the lubrication oil consumption of a car to the cooking oil consumption of a human to compare the carrying capacity. That’s an implementation detail inside the GPU and doesn’t let you compare how much they learn. Otherwise, a human would learn much less in their whole life than a GPU does in one second.

comment 2mo ago · link · parent

Is it weird that I like the version where the icon is centered on the multiple lines?

comment 2mo ago · link · parent

I don't think every GPS receiver necessarily has to have this problem, even with the old signal. It's not crazy to keep a week count in persistent memory and use that as a lower bound on startup so you only get a wrong time if the receiver isn't online for 1024 weeks.

comment 2mo ago · link · parent

I think by thermal gradient they mean a change in temperature over time, not space.

comment 2mo ago · link · parent

I disagree, I think motor in this case only means “creating movement”. The motor is the thing creating movement depending on the ambient temperature.

Also you seem to have a miscommunication with the person replying to you where they are talking about a spacial thermal gradient and you mean it in a temporal sense.

comment 2mo ago · link · parent

> also the drone operator sounds trigger-happy

That’s a manned AH-64 Apache attack helicopter with a pilot and gunner.

comment 2mo ago · link · parent

That’s not a contradiction, since missiles are one of the weapon types carried by aircraft. Unless you mean it was literally hit by aircraft in a sense that aircraft were flown into the building.

comment 2mo ago · link · parent

Yeah, they have exercise equipment there

https://en.wikipedia.org/wiki/Advanced_Resistive_Exercise_De...

Apparently they exercise around 2h every day

comment 2mo ago · link · parent

Wouldn't the thermostatic radiator valves contain a wax motor? According to the definition in the article, using ambient heat as the energy source counts. Or are you saying it's only a wax motor if there's electric heating?

comment 2mo ago · link · parent

> First of all, because not everyone starts with inherited wealth.

So how are you going to build the supermarket?

> Also because ideally running a supermarket should give you more money even in a deflationary world.

If it needs to give you more money than just saving the investment (which it should, you need to be rewarded for the risk or you would just save the money), obviously the profit margin has to be higher than it currently is, which would increase prices.

comment 2mo ago · link · parent

Isn’t the problem that multiple datacenters in one zone were blown up?

comment 2mo ago · link · parent

> The real URL is in the Location header on /goto. Request that URL. Do not follow the redirect.

What does this mean? Isn’t the location header the redirect? Am I not following the redirect by requesting the location header url?

comment 2mo ago · link · parent

Wasn’t the criticism of photography kind of correct though? I don’t think people think of photography as an art as much as painting is an art. There aren’t a lot of photographs that a layman couldn’t in principle also take, but only a few people could replicate a good painting.

comment 2mo ago · link · parent

Amazon also has AWS as infra though, they only do retail as a side gig

comment 2mo ago · link · parent

Calls on AirPods don’t sound worse to me than on the phone speakers, I don’t think the AirPods noticeably decrease the quality compared to the stuff happening on the phone network.

comment 2mo ago · link · parent

As I mentioned in my comment, I don’t notice the worse Bluetooth quality on calls because the audio itself is already bad, so making calls isn’t really a reason to not use Bluetooth.

comment 2mo ago · link · parent

If you’re outside with a smartphone, why do you actually need that though? If you call someone, their audio will be bad anyways, and when do you need playback and microphone at the same time? Outside multiplayer gaming, I don’t really know any application where high quality audio playback and microphone is needed at the same time.

comment 2mo ago · link · parent

They mean that the audio quality you hear on the AirPods is better if you only listen to audio compared to listening and using the microphone. I don’t know if that happens on Macs too, but it’s certainly true when using AirPods on Linux because you have to switch the profile when you want to use the microphone and then the audio is really compressed for playback.

comment 2mo ago · link · parent

> Most recently, Automattic attempted to claim it owns the word “automatic.”

Real austin powers vibes

> He would make outrageous claims like he invented the question mark.

comment 2mo ago · link · parent

If solved problems don’t count anymore, the sentence also doesn’t make sense because now navier stokes apparently isn’t open anymore too, right?

comment 2mo ago · link · parent

Laying down arms as an action is different to being unarmed.

And it was a hypothetical, there are a lot of situations where you can kill unarmed military personnel legally.

You can just bomb military barracks full of sleeping unarmed people legally for example.

1
678
82