Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 5y ago · link · parent

The're not really far behind so much as they cover a whole bunch of useless shit and the're not particularly prescriptive.

comment 5y ago · link · parent

> These companies are viewed as exemplars of operating at scale.

I mean we can just talk openly about the companies - like are we talking Google? Because I don't know anyone who thinks Google is organizationally functional.

comment 5y ago · link · parent

> We can call that a management failure, but that’s not the point.

Yeah that's actually exactly my point.

> And this is a ground reality in at least two of the companies whose products you most likely use every day.

Yeah, those companies suck organizationally.

comment 5y ago · link · parent

Yeah, I agree fwiw. I think that most engineers have a very weak idea of "fast" vs "slow". I've met people who think JS is really fast, or that Go is like C++ level speed. And we wonder why software is so slow.

comment 5y ago · link · parent

> Focusing on efficiency will always come at cost of reduced features.

This is probably sort of true, but it's way worse than it has to be. I feel like with just a little more effort, a little bit of a higher standard, we could get massive improvements.

Electron is great for the problem that it solved. But what if they'd started from day 1 thinking about performance? Maybe they would have taken a year longer, or whatever, but I'd imagine it could be 10x-100x faster/lighter. Perhaps not, but there's plenty of software where that is the case.

The problem then is that someone would release a garbage slow version sooner, and we'd all be using that - and imo this is the more serious issue. When something like electron comes out we need to push back wayyyy harder, the industry needs actual standards.

Things like maximum viable latency for UX - it is insane to me that software deployed on extremely powerful systems can have 10s of milliseconds spent on something like typing a character, or even longer! But we have no quality standards in this industry, so it's I guess hard for everyone to say "this is below our standard".

comment 5y ago · link · parent

How does SOA make this worse? The alternative is I guess that no one owns things, so team A could have touched the code, and then no one wanted to maintain it so it would have accrued as debt?

It sounds like it's working really well to expose an organizational failure. As soon as you have "A owns service, B asks A to build feature, A won't" that has nothing to do with SOA and it's instead about how you prioritize work. Whoever owns the business priorities will have to make the call on what happens here.

comment 5y ago · link · parent

For sure :) I just have expectations.

comment 5y ago · link · parent

https://linkerd.io/

Seems relevant.

comment 5y ago · link · parent

Our product is built on AWS and is primarily written in Rust. If you're renting compute you'd better make the most of it, cause that's just money down the drain.

comment 5y ago · link · parent

TBH it will be a huge step forward in tech terms - Rusoto is maintenance mode, and it's missing functionality. I had to jump into it just the other day to add S3 Select support.

comment 5y ago · link · parent

Yeah I could think of multiple answers to my questions, which is why I asked.

comment 5y ago · link · parent

Well, there is a pin on a yubikey[0], but I just meant I don't think it's totally necessary, and I'm not sure exactly when it's required.

> but all of my online/digital properties as well (assuming passwords become a thing of the past)

For sure, and that's definitely not a threat to take lightly - another thing to consider would be when the attacker is someone who inherently has physical access to you (say an abusive partner, parent, etc).

You're totally right that a password can, at least to some extent, help in these situations. Like I said, I still see a use case for the password, it's just that the scope would change - like how password managers only require you to remember one single password, and that password is essentially only used in one place. This really reduces the risk of phishing.

> If they have my phone which has Touch/Face ID enabled, that poses a much more significant challenge to an attacker (and can maybe be mitigated if I can remote wipe the device in time).

Yeah, agreed - I think biometrics can definitely be a key part of how we get to a password-less world. There's other stuff too, like if the attacker has your key, but they're logging in from a new device, maybe it asks for some other verification like a biometric, or even a password / pin - but now the password again is taking a very different, much more limited role.

All I'm really saying is that the current way things work is pretty bad. Passwords get forgotten, guessed, stolen, reused, phished, etc. Using a device solves those problems really well, and while it does have its caveats, I think the caveats are largely addressable.

[0] https://developers.yubico.com/yubikey-piv-manager/PIN_and_Ma...

comment 5y ago · link · parent

Ah, got it thanks.

comment 5y ago · link · parent

What is "Google's 2FA" ?

comment 5y ago · link · parent

> companies want to get rid of one of the factors

This is because the security of "2FA" isn't really from the fact that there are two factors, but that one of the factors is kinda just ok, and the other factor is ideal. A password on top of a proper 2FA method doesn't actually add any security to the typical login flow.

> So we’re back to one factor that’s ultimately secured by a device password/passcode anyway.

Unsure of exactly what you mean here - in what way is something like a yubikey secured via a password? Also, even if that were the case, changing the scope of passwords is important in and of itself.

> Plus if/when you’re not able to access the device, it’s much more painful to deal with.

Agreed, this is the big problem to solve - essentially this is just a subset of the "recovery" problem. It's one place where passwords may still fit in, though in a different role.

Ultimately, verifying identity at scale is just extremely difficult, and there will never be a perfect solution to recovery, but I think that we can mitigate that quite well with things like:

a) Phones as 2FA devices/ recovery devices

b) Multiple devices (ie: if we can reduce the cost of hardware tokens by an order of magnitude it becomes viable to buy 2+ for many more people)

c) Slower recovery methods that involve leveraging multiple identity methods - things like validating a government issued ID, mailing address, etc.

comment 5y ago · link · parent

Yeah, but this is best used for abstract methods or type stubs. I think in 'real code' you would want to raise NotImplementedError, or even (if you use mypy) potentially return a NoReturn

ie: from typing import Any, NoReturn

    def foo(bar: Any, baz: Any) -> NoReturn:
        raise NotImplementedError

comment 5y ago · link · parent

Fair enough. You're right, and my response was attacking a straw man argument that you never made - sorry about that.

comment 5y ago · link · parent

I don't think this proves anything at all, but certainly not about wages. Food in big cities is often 2-3x the cost, which you can attribute to:

a) Customers having higher salaries

b) Property being massively more expensive

c) In the case of NYC, much higher property taxes

d) Yes, perhaps the cost of labor as well

Seems really hard to draw any conclusion given all of that.

comment 5y ago · link · parent

For sure, I'd heard that 10% before and it makes sense - also aware of the McDonald's use case. I wasn't trying to imply that this was a simple or universal fix. Still, pulling unemployment to force people back to work feels really gross and I think we need to start to look at where there's room in that 10% (or more for other companies) to help people.

That said, do we need so many McDonald's? If, say, half of them closed, but the people who worked there had better lives and more free time, I'm inclined to believe the world would benefit. So maybe we end up with fewer low-skill jobs, but ultimately was society really benefiting greatly from that labor anyways?

And if the answer is "yes", ok, that's probably a case for the government to start providing or assisting in that service.

comment 5y ago · link · parent

If it sounded like I was implying that companies would do that, that's my mistake - I was only saying that they could do that.

comment 5y ago · link · parent

> Rising the wages across the board raises prices sooner or later.

Does it actually have to though? If a company is still profitable it doesn't actually have to raise its prices just because its profits go down.

comment 5y ago · link · parent

I had a similar experience. I've lived a relatively privileged life, I've never been in a warzone. Being exposed to the brutality that exists outside of my comfort zone really opened my eyes to the fact that other people live very very differently. You can "know" that, but it's much harder to feel it without some experience - and while a picture is nothing like experiencing that sort of life, it's a hell of a lot more than just reading that it happens.

There's a visceral reaction when you see something so brutal and horrific, and an empathy as well with the victim, that I think is extremely hard to obtain via text, especially short text.

I'm not saying LiveLeak was perfect or good, I think that it likely also fetishized tragedy - but I will say that there is absolutely something missing in existing news organizations with regards to showing the brutal, hard to watch truth.

comment 5y ago · link · parent

> What they don’t want is companies that are spending say $2-4 million per month to be able to put in a hard limit at $2.5M.

Why not? It would make companies happy.

The reality is that, as much as many would like this feature, I'm not sure that a lot of large customers are actually asking for it. Does anyone who works at a large company know if they've asked for this feature before?

I can imagine why startups might want it, but also, AWS is extremely forgiving with startups and throws tons of money at them, so idk.

comment 5y ago · link · parent

The response didn't seem marketing heavy at all and directly addressed all of the points...

I see posts like yours all the time - attacking companies who believe in open source but know that the existing situation can and will lead to abuse by huge players in the market. It sounds like they have a very happy medium.

I find posts like this very frustrating because you almost never see the same kind of standards for proprietary software. People get less pushback for closed source than they do for "90% open, with restrictions on the last 10%".

As for AGPL dual license, have you tried selling AGPL software before? Even dual licensed, you've just added a massive roadblock - and it's no better than a custom license anyways, since it implies one.

Not to mention you've completely broken any path from "I'm a free user" to "I'm a paying user" - someone has to decide upfront to pay. Given that this is the most significant "win" for open source software (try before you buy, easy to inspect and get started with) it's kind of ridiculous how often I see it suggested.

Let's say I work for a company willing to pay for software. I have a hackweek where I want to try out TimescaleDB, in a world where it's AGPL or, upon payment, dual licensed. That's now dead in the water - I can't use it, AGPL is banned at every company I've worked at and we're not going to pay for me to try it out for a hackweek project.

comment 5y ago · link · parent

Exactly. People act like EC is impossible to make viable, and ignore the fact that transactional logic can impose 10-100x performance loss. Putting an EC system in front of a transactional system can be a massive performance win.

This isn't quite what the Helios paper talks about, but there's lots of things like async indexing in there that are kinda similar in nature

comment 5y ago · link · parent

It seems like the phone is at least in part a symptom, not a cause. So I'd suggest, for starters, seeking medical help for your underlying conditions.

That said, since the phone issue may also be causing a feedback loop of anxiety, I'd suggest a few things.

1. Schedule "phone time". Set an alarm for when it's over, and commit to not using it outside of that time.

2. Set "Do Not Disturb" on your phone. At least with Android you can do this just by talking to the phone. Or at the very least set quiet hours for the majority of the day.

Alternatively, (2) may cause more anxiety if you're constantly wondering "but what if" - in which case, perhaps set it to whatever is necessary to hear it, but tell your friends/ family that you're trying to stick to specific hours for phone calls/ texts.

3. Some sort of cognitive behavioral approach. Think about what triggers you looking at your phone, or your anxiety - write this all down. For every trigger, consider what actions you could use to directly address that trigger, in a healthier way. This could be as simple as counting to ten or focusing on your breathing when you feel that anxiety, giving your mind some time to rest.

Consider writing down when you feel that anxiety. Instead of turning to your phone, perhaps just with pen/paper, write down what you were doing, how you're feeling, and how you'll move past those feelings.

4. Log out of accounts. Even just having to log back in can force a pause, and give you a chance to back off. Remove distraction apps entirely. Don't just rely on blocking them or whatever - uninstall them. When you're feeling better, and have healthier habits, you can reintroduce them.

comment 5y ago · link · parent

> Under the current framework, you cannot get wealthy off of salary.

You can make hundreds of thousands of dollars a year as an engineer, without even talking about stock. I'd call that wealthy. If you're an engineer of some stature, 7 figures TC yearly is not out of reach.

comment 5y ago · link · parent

Can you be more specific? I've heard the argument, for example, that cell death is a defense against tumor growth, but we do not observe that across all living things - we have Peto's paradox where large animals have almost no incidence of cancer.

I'd be really hesitant to try to attribute any one specific reason as to why we age, or why that has benefited some life.

comment 5y ago · link · parent

I'm surprise to hear that it was so slow on a powerful machine. In my experience throwing more compute at a codebase can make compile times very, very fast, though of course only after the first run. It parallelizes pretty damn well.
1
979899
164