Better HN
topnewbestaskshowjobs
Log inSign up

shakow

3,242 karma · joined Jul 18, 2020 (6y ago) · 960 submissions

Submissions

comment 5d ago · link · parent

I would argue this article has its conclusion in reverse: for 99.9% of end users, zram is better, as hitting a disk swap means that something went very wrong anyway, and it's better to let the OOM killer do its job (a shame that the default one sucks hard).

Using zswap only makes sense in a server context, where very long-running processes, relative expendability of SSDs and very high concurrency completely change the optimal.

But now, people just parrot this article and paste it everywhere without taking time to stop and think about how it applies to different use cases.

comment 1w ago · link · parent

> Just generate a random number modulo the number of files, and then play that file

That won't be uniform. If you want really random shuffle, mod to the closest next power of 2 then re-sample until you get a number within the bounds.

comment 1w ago · link · parent

Gates had affairs with Russian prostitutes, and well after the end of the Cold War; not with Soviet IT businesswomen that might have been linked to the KGB.

And w.r.t. Brin vs. Huang, Rosenberg was a comparatively much lower ranked employee that didn't have a stratospheric career. I think Huang would have survived Kimberly only, but she was just the cherry on the top.

comment 1w ago · link · parent

I don't think they would care much about the infidelity, but banging a report and a geopolitical enemy is a pretty bad idea overall. I don't think people would have been so surprised if a LockMart C-suite had been voluntold to resign after having an affair with a KGB-linked Soviet woman. And with a direct report as a cherry on top.

comment 1w ago · link · parent

> What is wrong with Jensen's sex life?

That banging customers and execs is a huge conflict of interest and security risk. There is a good reason if C-suites typically bang escorts instead of their colleagues.

comment 2w ago · link · parent

> But I'm not sure how hard it would be to resist a honey trap.

The guy has enough money to have sex parties with the prettiest girls on Earth every single night until the end of his life, I'm pretty sure resisting a state-sponsored honeypot is not the hardest thing ever.

comment 2w ago · link · parent

Yeah you say that then your country elects a serial-cheater pedophile as president; I'm not sure you are so representative of your country customs as you think.

comment 2w ago · link · parent

> if she's a spy he is a victim

I don't know; at some point “don't put your dick in people from the Other Side” should be a pretty well known rule if you're someone important. She didn't even hide her nationality.

comment 2w ago · link · parent

> And that analogous situation can happen in the safer language where crypt returns an Optional(String) which some bad programs assume is always present.

Once again, no, because these unknown programs would just crash on the `.unwrap()`; not get in a silently corrupted state. Same causes, different effects.

comment 2w ago · link · parent

And for having worked in a similarly behaving field, there is a big difference between “yeah we're not sure yet” and “no the ancients are most certainly wrong because our Modern Thinking is necessarily better (wink wink)”.

comment 2w ago · link · parent

And French has both casque (from latin) and heaume (from germanic languages).

comment 2w ago · link · parent

I mean, the academic community deliberately went against historical sources without much evidence-based arguments to do so. Turns out that denying DNA data is not doable, and now they have to do a 180.

I personally wouldn't put the “shame” onto GP.

comment 2w ago · link · parent

I don't really care about the form of the argument when the concrete results are that (i) “no unwrap in prod” is trivial to ensure through the toolchain, (ii) even though, its consequences are “damn it crashed” instead of “welp I guess this guy is root now”.

comment 2w ago · link · parent

First you shouldn't have unwraps in prod code, and you can verify that in your CI/build process/whatever. Second, now you have a crash of the SSH server, which is arguably much better than some random logging in as root.

comment 2w ago · link · parent

“Oh no I'd like to earn less money, sorry bye”

comment 2w ago · link · parent

No, that has nothing to do with PoW. PoW is computing something intrinsically useless but very hard just to prove you spent all that time, but trivial to check.

ZkPs are expensive to check and even more so to generate because the problem is intrinsically very compute heavy. The ecosystem would immediately jump into a faster way of doing thing, compute time are seen as a flaw, not a feature.

comment 3w ago · link · parent

If you buy it new sure; Porsches are always very expensive.

But you can get very good second hand ones for less than $70k; that should definitely fit OP's requirements.

comment 3w ago · link · parent

> EV akin to the ICE cars from [...] Genesis.

What about the EV Genesis? I personally couldn't see the difference between the ICE and electrified G80.

Otherwise, what about the Taycan?

comment 3w ago · link · parent

I know it can be shocking for tech people making good money, but whether the interior is plasticky and rattling is typically far down the checklist for most people buying a car.

comment 3w ago · link · parent

Would you mind detailing? I have never encountered that kind of issue, so I'd love to learn more.

comment 3w ago · link · parent

> The key distinction is that people only ever die of one thing and having a tumor that doesn't kill them is often better than risking the surgery to remove the tumor.

But what applies to humans doesn't apply to software. First, to pursue the metaphor, codebase can definitely die/be compromised/crash because of multiple reasons at the same time; second, there is virtually no risk, out of man-hours, in fixing a bug.

comment 3w ago · link · parent

What I'm afraid of if that following the turn toward authoritarianism that we observe worldwide, The Next One will keep all the dreadful legislation that Trump has set up, being more than happy to have them at disposal without having to pay the political cost to create them. Unfortunately, IME, these measures are always a ratchet.

But I hope I'll be proven wrong.

comment 3w ago · link · parent

> He is not, remotely, “like them all”

We will know this only if The Next One reverses all his policies.

comment 3w ago · link · parent

IMHO, the logical conclusion of your comment is that humans basically suck at prioritizing common good and very long-term vision, independently of their background.

From what I observed of my time in academia, I don't see any reason for academics to do any better than other groups. Like everywhere, the starry-eyed, altruistic ones always lose the fight against the political sharks.

comment 3w ago · link · parent

No. The last time this happened, it led to the Ethereum/Ethereum classic split, and that was 10 years ago.

However, the stablecoins are not “real” cryptocurrencies like e.g. BTC or ETH, but are built as smartcontracts on top of ETH, basically using it as a big replicated database. So they might(?) just manually “give back” the money to Binance, as in freezing money in the stolen account forever and “printing” an equal amount to Binance's credit.

Or, to put it in another way, no need to reverse an erroneous SQL transaction if you can just create a new one that fixes the data you altered.

comment 1mo ago · link · parent

I don't think that would make such a change when developing; you typically only build 3rd-party libs only once.

comment 1mo ago · link · parent

One can be a total asshole and be right.

comment 1mo ago · link · parent

> what AI should or should not be used is up for debate and decisions.

Of course; but it's very hypocritical to raise these feelings only when mathematicians are affected, whereas all the above professions are just told to adapt to the new way of things.

For sure though, translators don't have the same clout and social status as mathematicians do.

comment 1mo ago · link · parent

Well, they do they?

Whole sections of the economy are being upheaved by AI, and there is no reason to make a special case for the mathematicians anymore than for the illustrators, developers, translators, HR, etc.

comment 1mo ago · link · parent

That's interesting, because that has not been my experience at all – for my usage, Orion empirically clearly buries Vivaldi & Firefox.

Granted, I used Vivaldi rather than Chromium, but I don't expect it to have such a noticeable difference w.r.t. Chrome.

12345
32