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

I'd rather hire a criminal (depending on the crime, obviously) than, say, a racist, especially given how many laws I disagree with.

comment 6y ago · link · parent

Clearly a controversial point, but I actually sort of agree. I hate technical challenge interviews because I think they measure the wrong thing, but then we have a problem of only wanting to hire senior people with big portfolios, because someone else has essentially done the vetting - this makes it harder and harder for those without experience, for whatever reason, to get a job.

Clearly we need some way to evaluate entry level employees who wouldn't have had time to build a portfolio, it just remains an open question as to what an effective method would be.

comment 6y ago · link · parent

I mean specifically if you're planning on making significant changes to how you supplement/ diet/ generally maintain health, it's a good idea to get tests done so you can actually measure the impact and understand if you're actually addressing an issue.

comment 6y ago · link · parent

Most people should just go to a doctor every 6 months. Guessing is not a great idea imo.

comment 6y ago · link · parent

An interesting plot. Something similar happened with a computer in a Spider-Man comic, and as I recall (it's been a while since I read it) the computer ends up determining that Spider-Man must be Flash, through no tampering but just because computers are in fact not good at that sort of thing. Spider-Man is strong and Flash is strong, Spider-Man shows up in a lot of places that Flash does, etc, and of course no one had actually told the computer about radioactive spiders.

comment 6y ago · link · parent

> I don't see how it isn't against the 1st amendment right to peaceably assemble.

I assume that there are a number of factors here, most notably that the assembling, while peaceful, poses a considerable danger to the public. Certainly it would be nice to see some sort of carve out for explicit protesting but there you go.

All allowed activities are government approved activities.

comment 6y ago · link · parent

Persons within the age range of 18-22 are not a protected class, so this does seem legal. Effective, maybe? I assume this is based on the idea that this age group is acting as super spreaders.

Ethical? That's a judgment call. I say yes, personally.

comment 6y ago · link · parent

Do you not believe in content moderation? When someone posts spam, or a virus, should it not be removed? If it should be, what about propaganda? What about dangerous disinformation?

comment 6y ago · link · parent

Thanks for that.

comment 6y ago · link · parent

Oh tons of ways. The fact that the default search engine is Google is the obvious one, but GSuite is huge for Google - they're competing directly with Dropbox, O365, etc. and GSuite heavily integrates with Chrome.

ChromeOS of course puts them in the OS market, and it's doing very well for a niche operating system - my entire company runs on ChromeOS in fact.

comment 6y ago · link · parent

I'm certainly curious as to why, they have a board and shareholders, no? Regardless, it changes little about my point. I'm not saying a CEO shouldn't earn a nice salary, but to repeatedly take raises during a downturn, a downturn so severe you had to completely gut projects, is gross.

comment 6y ago · link · parent

I took a major financial hit to be a CEO, and as a CEO I feel personally responsible for the company's success. My compensation is primarily in ownership and stock - I would never take a massive pay raise if my company were failing, let alone repeated massive raises over years of company downturn.

And then to wipe out a massive portion of your employee base? I find it abhorrent, personally.

comment 6y ago · link · parent

Google has done an incredible job of monetizing Chrome, I think it's a mistake to think that Firefox is somehow incapable of this.

comment 6y ago · link · parent

Thank you, this looks like what I need.

comment 6y ago · link · parent

I don't think we can try to tell companies like Facebook that they're being irresponsible and unethical and then ask that every tech company releases tech that they don't understand yet into the world without fear of consequences.

These are dangerous capabilities and it is reasonable to open them up to the world slowly.

comment 6y ago · link · parent

I think something that's become clear with propaganda is that it scales extremely well. If you could create propaganda 100x faster it's a meaningful capability, and it's hard to estimate how dangerous that could really be.

comment 6y ago · link · parent

Yeah, thinking about it more I do feel that this is a justifiable cost.

comment 6y ago · link · parent

This feels like a strange and expensive way to solve this problem.

1. Why do you need a graph database? You could almost certainly keep the entire thing in memory, who has >16GB of infrastructure?

2. 500+ dollars a month for a service that I'll use very infrequently?

3. I feel like all I actually want is something that takes CloudFormation and gives me a picture, for free, in a python script on my laptop. But ok, fine, what about things not in CF, and other metadata sure, but then see (1) and (2).

If this were, say, one dollar a month (or serverless) and the infrastructure was totally abstracted away I'd be a lot more excited.

edit: OK so (2) isn't really their fault, since this isn't an AWS service, but still. And 600 bucks isn't that bad for many companies, I just think there's a bit of a pricetag shock on this one.

comment 6y ago · link · parent

No question, it's not a 0 cost change.

comment 6y ago · link · parent

The reason is because obscure things tend to be less well understood. SSH port being on another port isn't a case of that, but it isn't security by obscurity.

Security by obscurity might be "I use a non standard PDF viewer, therefor I am safer". But a non-standard PDF viewer may also be subject to less auditing, may not have pressure to improve its security, etc. It's an unknown both to the attacker but also to you. This is where security through obscurity is actually a problem.

It also makes it harder to threat model. Do you consider your obscurity as a mitigation when you consider threats to your system? It leads to the temptation of "well, but the attacker would have to know that I'm using this PDF viewer", and then you start to treat that as a mitigating factor. It can be a dangerous thing.

Secrets are not obscurity. Randomness is not obscurity. People seem to make that mistake the most.

comment 6y ago · link · parent

A major reason to move the port is exactly so that you can log when someone does hit 22, especially internally.

If you standardize on port 5555, for example, and all of your tooling understands this, now you can audit 22. Anyone hitting 22 is either not using your standard tooling, or is at least potentially an attacker. Being alerted to an attacker is not a small thing.

comment 6y ago · link · parent

I think we can at least agree that the terminology is fairly broken here, people very often say IO bound when they mean something totally different, and it is extremely common to hear "X doesn't need to be fast, it's IO bound anyway".

comment 6y ago · link · parent

I'm in full agreement that you can prioritize other things over efficiency, and that a framework in a slower language can be the right call.

comment 6y ago · link · parent

No real argument about this, seems to be essentially true. I just have never cared about anything in this article while writing Rust. The maturity I care far more about is "if I want a library is it available, documented, api stable, and relatively bug free", which Rust does okay at.

comment 6y ago · link · parent

I wonder if it's possible to just go byte by byte, and try to parse the statement as valid SQL? If you use the same parser, or a compatible parser, to the backend DB you'd at least catch any valid SQL statements?

comment 6y ago · link · parent

I'm not sure what you mean.

> Almost every web app.

No? My point is exactly that almost every web app is not io bound. They're just... slow. They write bad queries, they make bad usage of resources and block on requests, etc.

> Even WhatsApp scale runs on a “slow” dynamic language.

But that has nothing to do with being IO bound. Whatsapp, via Erlang, works by having tons of connections on a single box. And you can watch plenty of talks by them about how they've had to work with BEAM to get Erlang to actually be IO bound.

"IO bound" is a meme. Most people just mean "my queries are slow". Unless you're saturating your NIC, you're not io bound with regards to throughput, and unless your queries execute in ~<100ns you probably aren't IO bound on latency either.

comment 6y ago · link · parent

Malware authors like nice APIs, just like devs do. They love when it's really nice and simple to just push some data to a storage service.

comment 6y ago · link · parent

It's very common for malware to use services like this:

1) To host secondary payloads

2) To exfiltrate user data

3) In some cases even to coordinate commands to payloads

comment 6y ago · link · parent

This post is hosted on Dropbox's Paper product, which allows for publishing by 3rd parties (anyone with a free Paper account).

This post does not have to do with Dropbox engineering, which I do not believe uses Actix. But Dropbox does use Rust quite a lot - their storage layer and sync engine, among other things, are implemented in Rust.

comment 6y ago · link · parent

> Rust offers perfomance improvements in CPU and memory usage of the core application logic, and it's almost never the bottleneck for the typical web apps.

Has anyone actually managed to find that this is the case? Just because your app is stalling on db queries doesn't mean it's "IO bound". Even the most trivial service that's just routing messages between two other services is likely to be radically faster when implemented in Rust vs JS.

1
110111112
164