Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

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

@insanitybit
Submissions

comment 6y ago · link · parent

This assumes (and likely correctly assumes, in most cases) that 'reasonable limit' and 'probable system limit' are orders of magnitude apart.

I think that may not always be true though. Especially for highly variable workloads.

How many requests per seconds does your site handle on average vs how many can it handle? What about spikes?

If your previous peak is at 10 rps and you can probably handle 20 rps, when should you start dropping connections to keep the site up?

Most systems are designed to have small margins, for cost purposes, so I imagine this sort of situation might come up quite a bit.

comment 6y ago · link · parent

It's at least not as wide varied as "One type of exercise is lying perfectly still in bed" and "Another is sprinting and lifting weights".

To me, that's the range of definitions that meditation has. I have heard that meditation should be thinking of nothing, I have heard that meditation should be reflection on the past, I have heard that meditation should be free-form thinking, or focused on the present.

This range is, to me, roughly equivalent to "meditation is basically anything, usually (but not always) involving some quite though process".

comment 6y ago · link · parent

As far as I can tell he's been way too slow and this is still not a lock down, so I'm unsure why I see so much praise for him.

I suspect it's because he did a cutesy interview.

comment 6y ago · link · parent

You are correct. Especially given that expenses are hightened right now. People are stocking up all at once, which requires upfront money - something most of the country does not have.

1k is considerably less than even unemployment, which is also not enough for a huge portion of society. I would say 3k is probably the bare minimum for 1 month of self-isolation. Essentially expanding unemployment (just over 2k) to everyone.

comment 6y ago · link · parent

Not all directors are on the board, but sure you can say executives or whatever. That's probably more accurate.

comment 6y ago · link · parent

I think what they meant was that the board does not usually interact a lot with employees, or in a directly employee-facing way. Usually directors will interact with the board, both in terms of informing them and soliciting advice, and that turns into company direction, which funnels down through multiple layers before getting to ICs.

Few people can have more impact on the company than a board, but it's very typically abstracted away.

comment 6y ago · link · parent

Yeah. A lot of people focus on the insured vs uninsured gap - if you're uninsured you're fucked. But the reality is that, even with insurance, medical care is a disaster. Finding a doctor in your network, waiting months to see them, completely unpredictable costs that, to me, borders on fraud, etc.

I've recently started a company, and at the same time a friend was laid off, and over the last 6 or so months I've gotten to experience the absurdity of this system from a few angles. It has been eye opening.

comment 6y ago · link · parent

To my knowledge every single major AV packages a local emulator. We have long, long moved beyond a world where AV does basic pattern matching.

Frankly, I am far less concerned with the js interpreter than I am the rest of the codebase.

http://computervirus.uw.hu/ch11lev1sec4.html

https://www.blackhat.com/presentations/bh-europe-08/Feng-Xue...

http://joxeankoret.com/download/breaking_av_software_44con.p...

comment 6y ago · link · parent

> But how many C/C++ engineers would think to design a system that runs a min interpreted code,

This is essentially how antivirus software works. Every one of them packages an emulator to execute malicious binaries.

I'd say the number one thing stopping C++ devs from running eval'd C++ code is the lack of a std eval, and that's probably it.

comment 6y ago · link · parent

I've been using DDG for years. It's perfectly fine. What I've found is I don't use general search engines much in general anyways - I use ddg macros like !rust to search rust docs, or other common places I search.

comment 6y ago · link · parent

Just what you want from your service provider.

comment 6y ago · link · parent

The actor model is at least 50 years old if not more, and it is found in all sorts of places in some form, which is unsurprising since it is a fundamental model for computation. So, for example, it is not hard to argue that SOA/Microservices are implementations of an Actor approach to services.

comment 6y ago · link · parent

The thesis is, in general, excellent and well worth a read if you're interested in software reliability even outside of Erlang. The first few chapters are just a great read for any developer I think.

comment 6y ago · link · parent

Even if it were 17%, that ignores impact. Impact of a bug in C is very often, at best, taking the entire service down, and at worse gaining full RCE.

I also think that a percentage is a weak indicator in general. With bug bounties we're seeing a massive influx of vulnerability reports for exposed APIs - this is almost always XSS and CSRF. I am not discounting the impact of those vulns, only saying that percentages are very market driven.

comment 6y ago · link · parent

This would be super compelling.

comment 6y ago · link · parent

To be clear I'm not the person who stated K8s has a garbage codebase or whatever. I was just linking relevant material (and I should have clarified that in my post instead of drive-by posting - sorry, was distracted).

I agree with what you're saying.

comment 6y ago · link · parent

We reading the same code? The nim code is way simpler.

Maybe if you'd used auto (if that's possible - now I understand that auto is out of fashion due to sometimes forcing copies) it'd be closer.

`let people = [`

vs

`Person people[] {`

Just for starters...

comment 6y ago · link · parent

https://medium.com/@arschles/go-experience-report-generics-i...

comment 6y ago · link · parent

https://aws.amazon.com/timestream/

comment 6y ago · link · parent

Sounds like one to me.

comment 6y ago · link · parent

That just sounds like a graph.

comment 6y ago · link · parent

I think it's probably fair to call kernel development niche? And the fact that Linux uses linked lists a lot is not necessarily a strong case for linked lists, but just a matter of very specific constraints - like perhaps not wanting to optimize too much for underlying hardware?

comment 6y ago · link · parent

Maybe I just don't have enough experience, but I use classes in Javascript and TypeScript, as well as constructors, and they look virtually identical to me. What am I missing here?

comment 6y ago · link · parent

Typescript makes virtually no changes to JS syntax, except what's necessary to support types.

comment 6y ago · link · parent

We don't typically see that with ransomeware so I don't know why we'd see that with other types of extortion.

comment 6y ago · link · parent

Maybe we'll have to disagree because I'm still pretty sure nodejs is somehow slow.

comment 6y ago · link · parent

Submit that to them then?

comment 6y ago · link · parent

I think your point is actually just proving something important that I ended my initial post with - that there is almost never a "pure IO" workload, but that compute is actually an extremely important part of any service. Given node's concurrency model it's even more important, as compute can block other operations.
1
124125126
164