Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 4y ago · link · parent

What if you'd die wind surfing? What if you would have cured cancer if you'd only worked that one extra day? What if you would have met the love of your life on the train to work?

Asking a bunch of hypotheticals isn't a great way to make your point. Yes, as time goes on the chance of "bad things happens" increases. But we can also make a lot of assumptions. I don't plan to die at 57, I don't plan on being expendable at 50, I don't plan for economic collapse. They're all possible outcomes, but they're also not what I consider likely at all, or things I can reasonably prepare for.

comment 4y ago · link · parent

There are a number of ways around that if you have money, such as investing in an HSA early on, or buying private insurance. Or get married.

comment 4y ago · link · parent

Lots of people I know in a generation or two above me regret not saving when they were younger. Now they're nervous about being 70 and having to retire soon but not feeling stable, or feeling that they may financially burden their children.

Compounding interest on money means, as previously mentioned, money you earn at 20 will be 10x as valuable compared to money earned towards a typical retirement age. With tech having strong early salaries and heavy stock compensation I think this is even more the case.

> You think your gonna wind surf when your 60? You think it's smart to spend your 'non arthritis' fingers on coding?

How about 40? Because if you start working at 21 in tech and you're aggressive about your career that's when you can retire.

Do experiences compound? Will I enjoy an experience more at 25 than 45? Maybe, and there's always some balance, of course. No one should work themselves to death.

But I worked obscene hours for my first 4 years of my career, lived with many roommates, and saved a lot of money. And I started years later than most, as I entered the market at 24 instead of 21.

It buys me great peace of mind to know that I am financially stable and independent, that I can take care of friends and family who are not, and that I have bought myself decades of retirement.

comment 4y ago · link · parent

I think it's worth all getting on the same page on the fact that math is fake and stupid. If it's more useful for 0/0 to == 0, that's justification enough imo.

comment 4y ago · link · parent

I think this is a bit different. Pony's div is total, and in order to be total div by 0 is 0, which is not a particularly absurd idea.

That said, I do feel that Pony should have added a 'panic' concept and then forced actors to handle panics, but that's me.

comment 4y ago · link · parent

> It’s a huge misconception that Meta is outpaying everyone.

Offers can be pretty specific. I might be worth 300k to one company but 600k to another down the street. The ranges can get pretty ridiculous at a certain point. levels.fyi can't really cope with ranges like that, especially if you're being grabbed for a more niche role/ background that they're particularly eager to fill.

What this means is that, no, you're not in luck. One company might legitimately pay you twice what the others will.

comment 4y ago · link · parent

That sounds fine to me tbh. It's worth knowing, but it's not weak. Email is a pretty good 2FA in terms of security, it's just not great in terms of usability, so it makes for a good fallback.

Attacker with MP + email access is pretty severe.

I wish more services used email as a 2FA instead of SMS.

comment 4y ago · link · parent

Valgrind support is cool but it's not a solution to the problem.

comment 4y ago · link · parent

HN articles aren't for people who understand a topic. They're for topics that may be of interest to hackers.

comment 4y ago · link · parent

If you can trust your writers there's likely no need for this. A modern approach tends to have databases owned by a single service, which exposes the model via RPCs. So you generally don't have more than one writer, which means you're pretty much de-facto "zero trust" if that single writer follows a few rules (ie: mutual auth, logging, etc).

But in some cases you don't have that same constraint. For example, databases that store logs (Elastic, Splunk, etc) might have many readers and writers, including humans.

In that case enforced immutability might be a nice property to have. Attackers who get access to your Splunk/ES cluster certainly will have fun with it.

comment 4y ago · link · parent

Yeah to be clear I'm not saying all fault lies with the JVM here. But a lack of concurrency primitives exacerbates the problem by encouraging very large threadpools.

comment 4y ago · link · parent

I remember working in Java where we'd have huge threadpools that sat idle 90% of the time.

It feels like you can eliminate most of this problem in other languages by using a much smaller pool and then leveraging userland concurrency/ scheduling. You probably don't want to have N cores and N + K threads, but in some languages you don't have much choice. Java has options for userland concurrency but they're pretty ugly and I don't think you'll find a lot of integration.

Containers make this a bit harder, and the Linux kernel sounds like it had a pretty silly default behavior, but how much of this is also just Java?

comment 4y ago · link · parent

There's this mistake people make, especially in tech, where if someone says "X is bad" people think "Wow, they must really know about X". There's tons of 'hot takes' and criticism because it's really easy to look and feel smart when you're the person levying those.

comment 4y ago · link · parent

> AWS is hoping to exploit developers' willingness to do free work in exchange for nebulous "reputation" points

Like literally everyone else?

comment 4y ago · link · parent

The IDE is more than two decades old. Cut them some slack?

comment 4y ago · link · parent

I don't care much about RAM tbh and CPU usage is fine. If it were faster, that'd be great. But what I get is great extensions, language support, debugger, etc.

When I've been forced to use vscode I'm pretty shocked at how weak the experience is.

comment 4y ago · link · parent

Because different releases are different. So just package up the releases you know work with your app.

comment 4y ago · link · parent

Yep, agreed.

comment 4y ago · link · parent

I am much more productive in Rust vs Python and Java, it's not even close. Memory management in Rust is trivial, it takes up virtually 0% of my time.

comment 4y ago · link · parent

It's not that hard in my experience. You generally do it by using a guarded scope where the user provides a callback and doesn't manage the resource (like a thread) themselves.

comment 4y ago · link · parent

Yes, that's correct. I just want to be clear that it's not like destructors in rust are unreliable in the way that finalizers are in Java.

comment 4y ago · link · parent

It doesn't guarantee it under all circumstances, like if your computer shuts off obviously destructors don't get called. But you can rely on the behavior to be deterministic.

comment 4y ago · link · parent

Rust is already extremely easy to use.

comment 4y ago · link · parent

That's true. It's also true that AWS's IAM system is pretty complex and not incredibly well designed. AWS internally makes mistakes with it with some regularity.

comment 4y ago · link · parent

There's no reason to believe that to be the case.

comment 4y ago · link · parent

Exactly. This is something we'll be reviewing in our monthly security review at work, discussing what the impact was, why we were not impacted, and any action items we want to take.

Declaring an incident doesn't mean sending out a breach report or anything particularly dramatic, though I can see how as an outsider it may sound that way.

comment 4y ago · link · parent

> There is no compliance reason why OP couldn't have read access to look at the source.

Companies can have whatever compliance terms they like, whether they map to ISO27001 controls or not.

> Any organization that uses compliance as an excuse for opaqueness, creating silos, and guarding projects like treasure is toxic, especially if people there are so institutionalized that they think that's a valid reason, and OP should begin looking for another job ASAP.

Or they believe it's a reasonable control. Let's imagine this is a company working on self driving cars. Your source code is probably something you want to protect very carefully.

comment 4y ago · link · parent

Yeah you might want to add a few levels there for sure. But that's still a far cry from fully emulating the human body.
1
686970
164