Readit News logoReadit News
zsmi commented on Blacksmith – Rowhammer bit flips on all DRAM devices today despite mitigations   comsec.ethz.ch/research/d... · Posted by u/buran77
mhh__ · 4 years ago
M1 is vulnerable to Spectre (some variants at least) as far as I'm aware.

Any speculation around memory accesses will yield this.

zsmi · 4 years ago
That why the solution is to only allow speculation when it's "ok". M1 is believed to have a number of Spectre-esq security mechanisms built into it to determine just that. For example: https://patents.google.com/patent/US20200192673A1

Also, In dougallj's code [1] the zero of registers should be superfluous so it is assumed the function below is needed to make the experiments run stably by claiming ownership of the registers as part of a general anti-speculation security mechanism.

static int add_prep(uint32_t *ibuf, int instr_type);

The M1 explainer [2] has lot of interesting ideas like this contained inside it.

[1] https://gist.github.com/dougallj/5bafb113492047c865c0c8cfbc9...

[2] https://news.ycombinator.com/item?id=28549954

zsmi commented on Blacksmith – Rowhammer bit flips on all DRAM devices today despite mitigations   comsec.ethz.ch/research/d... · Posted by u/buran77
zsmi · 4 years ago
There was another paper last year that showed something similar, and it went into way more detail on what TRR actually is.

TRRespass: Exploiting the Many Sides of Target Row Refresh

https://arxiv.org/pdf/2004.01807.pdf

Memory controller mitigation of RowHammer can work pretty well, if one actually has it turned on. Which is unfortunately rarely the case even in 2021.

zsmi commented on Monterey’s memory leak and how to avoid it   eclecticlight.co/2021/11/... · Posted by u/llimllib
still_grokking · 4 years ago
> What is a stock Linux?

Anything considered stable.

I wanted to avoid OS flamewar so I wasn't too specific. But we are already there I fear…

Nobody it answering my question. Instead people point out Linux isn't without bugs either. Even I never claimed that.

It's without almost daily catastrophes. That's a big difference!

zsmi · 4 years ago
>>> With a stock Linux you never see anything even close to all those catastrophes. >> What is a stock Linux? > Anything considered stable.

https://en.wikipedia.org/wiki/Tautology_(logic)

zsmi commented on Monterey’s memory leak and how to avoid it   eclecticlight.co/2021/11/... · Posted by u/llimllib
still_grokking · 4 years ago
I'm also using Linux since the last millennium. I can't confirm such issues.

Using Fedora means using experimental stuff. Pipewire for example is not ready for prime time, so it has obviously issues. Simple as that.

But I don't say of course Linux is without bugs. Never seen any more complex software without bugs… The point is how grave those bugs are and how they could possibly pass QA. Especially Apple has a comparably simple job here as they only support officially a hand full of products which are even build by themself.

And it's not only me who sees one catastrophe following the other at Apple. Just have a look at the discussion thread on the other current front page topic:

https://news.ycombinator.com/item?id=29229881

To repeat my question: How do people bear that? That's what I just can't understand.

Again, I'm not interested in an OS flamewar. That Apple's products are subpar is a fact at this point, and we don't need to discuss that again. (Just follow the other HN thread). The question is why people are still using this stuff and not voting with their wallet (especially as it would make their wallet more happy).

zsmi · 4 years ago
> Again, I'm not interested in an OS flamewar. That Apple's products are subpar is a fact at this point

That second sentence seems like it was specifically crafted to start a flame war to me. You don't even mention on what dimensions Apple products are subpar. All possible ones I presume?

zsmi commented on Monterey’s memory leak and how to avoid it   eclecticlight.co/2021/11/... · Posted by u/llimllib
still_grokking · 4 years ago
Seeing all the comments here I'm asking myself once more how people can bear such crappy products. Especially as the products are overpriced on any reasonable scale.

With a stock Linux you never see anything even close to all those catastrophes.

I'm not aiming at a OS flame but honestly question how this is bearable to otherwise mostly reasonable people. Is there a true core to this Stockholm syndrome meme about Apple users? Why are people using obviously extremely broken stuff, especially as it costs at least one-third more than perfectly fine working stuff? I just don't get that. Honestly!

zsmi · 4 years ago
> With a stock Linux

What is a stock Linux?

Want to be amazed. Check this out: https://en.wikipedia.org/wiki/List_of_Linux_distributions

I mean, there are family trees...

zsmi commented on Report on Stablecoins [pdf]   home.treasury.gov/system/... · Posted by u/TheAlchemist
wpietri · 4 years ago
> Clearly, the coins have value because someone out there feels like paying money for them.

That's not a great definition of worth. Is the correct value for a Ponzi scheme really determined by the most recent dollar they took in? I'd say not.

zsmi · 4 years ago
> Is the correct value for a Ponzi scheme really determined by the most recent dollar they took in?

I wouldn't say a Ponzi scheme should be valued by this dollar. It should be valued by the next dollar that someone is willing to put into it as the whole point of the Ponzi scheme is to gather the next dollar.

zsmi commented on There’s a queue coming for Tesla charging   spectrum.ieee.org/univers... · Posted by u/samizdis
dragontamer · 4 years ago
> How complex are the actual charging "pumps"?

150 kW per supercharger.

So your typical 8-pod supercharger needs to supply 1.2 MW, or roughly the same amount of power as 1000-typical US homes. EDIT: And now to build a thick enough cable that is weather-proofed and idiot-proof, so that no one kills themselves touching that wire... in all weather conditions (hot, cold, rain, snow, sleet), and... yeah... its actually kinda scary if you think about it.

------------

Yeah, in terms of "MW of fuel delivered per second", a gas station pumping gasoline is surprisingly efficient and simple. Doing it purely electrically, even at a much slower rate (30 minute charge times) is surprisingly complex.

zsmi · 4 years ago
I think most stalls are actually shared so when your neighboring stall is occupied you'll get less power. Stations are more crowded these days so it's getting common. Anyway, it doesn't actually diminish your argument, especially as 16-pod+ supercharging stations exist.

https://en.wikipedia.org/wiki/Tesla_Supercharger "When both pairs of Tesla Supercharger station stalls (A and B) are occupied, they share the available power of up to 150 kW."

zsmi commented on How imaginary numbers were invented [video]   youtube.com/watch?v=cUzkl... · Posted by u/peter_d_sherman
AnotherGoodName · 4 years ago
I think focusing on the perpendicular doesn't make much sense since of course we graph different variables perpendicular.

The real point i think you're making is that complex numbers are just a notational shorthand for multidimensional vectors. And yeah. That's true.

https://xkcd.com/2028/

zsmi · 4 years ago
This is why it's fun to know the history of math.

The complex plane was introduced by Caper Wessel in a paper that was published in 1799 so it would've existed before vector notation.

My guess is by the time vectors got popular the complex notation, and theorems that people had proved which used complex notation, had already stuck. But I'm only a hack math historian so I can definitely be wrong here.

I think it's important to keep in mind that math and science, much like the code base that I am trying my hardest to avoid, is evolved.

zsmi commented on How imaginary numbers were invented [video]   youtube.com/watch?v=cUzkl... · Posted by u/peter_d_sherman
zsmi · 4 years ago
I really enjoy looking into the history of mathematics and physics. I think it gives one a much better appreciation of why things are defined the way they are, and also the limitations of those definitions.

There is a really great book on the history of imaginary numbers. The history mostly focuses on how i was used to help solve algebra problems, so definitely one should be comfortable with high school algebra to get something from the text, but I don't think one needs much more math than that for the first half of the book. The second half gets more into how various use cases developed, in those chapters basic college level calculus would be a major plus. I read it more than 10 years ago though so no promises. :)

An Imaginary Tale: The Story of √-1 Paul J. Nahin

https://press.princeton.edu/books/paperback/9780691169248/an...

zsmi commented on I'm “still afraid to use spaces in file names” years old   twitter.com/TheIdOfAlan/s... · Posted by u/dario_satu
Dudeman112 · 4 years ago
I could infer a lot about the second and what those params mean and what they do.

The first one is some magical incantation.

zsmi · 4 years ago
Another interpretation is:

On the first, you think you know what it does, but you're not sure. So maybe it gets looked up.

On the second, you know you don't know what it does. You so know to look it up.

Personally, I'll take the second. Assumptions during debugging are dangerous things.

u/zsmi

KarmaCake day462March 23, 2021View Original