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

Bad A/B testing is bad. Incremental rollouts are not bad.

comment 6y ago · link · parent

Or do A/B testing and incremental rollouts?

comment 6y ago · link · parent

But Go doesn't "figure it out" for you. It decides for you - there's no "figure it out" step.

That's the power of having tunables.

comment 6y ago · link · parent

I don't understand. There are self driving cars in SF. I saw one today. It is/ was raining.

There was a driver, but I'm fairly certain that the drivers are not actively driving but are legally required to be there.

comment 6y ago · link · parent

5MPH is roughly as fast as a brisk walk... it should not kill anyone.

comment 6y ago · link · parent

That's interesting that you feel that way. Living in SF I see self driving cars all the time - how do you account for that?

comment 6y ago · link · parent

I think there's just an obvious law of diminishing returns on certain things.

If you double the number of triangles, it doesn't take long to get to a clean looking circle - the next time you double it, it doesn't look that much better unless you're zooming way in on it.

So there's two things here, I think:

* There are tons of other improvements, like dynamic lighting. This turns into more of an immersion/ realism thing, and less of a "detail" thing. It's weird when your characters shadow doesn't move the way you expect with the light sources, it's weird when one part of the room is totally dark because a block is just slightly in the way of a light source, and the light isn't bouncing around it.

* With VR, this will all matter way more. You're going to have people taking objects in the game and putting them right up to their face - suddenly the difference between X triangles and 2X triangles is really noticeable again, relative to a 3rd person view on a monitor that's at least a foot or two away from you, where objects are always at a distance. Immersion is an extremely important factor for VR, so optimizing there makes a lot of sense.

So while todays mediums may not demonstrate these wins, they open up possibilities for new mediums.

comment 6y ago · link · parent

> (but correctly implemented)

Do you ensure this by simulating it?

comment 6y ago · link · parent

I don't think that's what they're saying. We could have the detail and understanding but lack compute.

It seems that they are saying that a simulation is required for proof. We write proofs for things all the time without exhaustively simulating the variants.

comment 6y ago · link · parent

OK, what if the simulation works, did you understand it before?

comment 6y ago · link · parent

But we understand tons of things without simulating them.

comment 6y ago · link · parent

I mean, I'm in SF so it's pretty aggressive here, but it's extremely not ended here.

I also don't really see your point.

comment 6y ago · link · parent

I agree with all of your points, really. Tesla very well may be able to provide a relatively safe environment.

> This is locking down for the sake of locking down, not an evidence-first safety driven approach.

The problem is here, I think.

Let's say I never drink poison. I have no data supporting that poison does any harm at all, therefor my policy of not drinking poison is not evidence-driven.

If lock-in is successful it may very well look like it was unnecessary.

comment 6y ago · link · parent

I don't really feel like playing the quotes game... but, sure.

"All of the issues we found had to do with tablet migrations"

"ndeed, the work Dgraph has undertaken in the last 18 months has dramatically improved safety. In 1.0.2, Jepsen tests routinely observed safety issues even in healthy clusters. In 1.1.1, tests with healthy clusters, clock skew, process kills, and network partitions all passed. Only tablet moves appeared susceptible to safety problems."

No one is here to claim that anyone is getting through any kind of rigorous testing without bugs found. But there is a huge difference between "My extremely common write path + a partition = dropped transactional writes" and "Under very specific circumstances, with worst case testing, multiple partitions, and the db in a specific state, we drop writes".

There is an ocean between, say, mongodb's test results, and Dgraph's.

Read Redis's evaluation, for example: https://aphyr.com/posts/283-call-me-maybe-redis

"If you use Redis as a queue, it can drop enqueued items. However, it can also re-enqueue items which were removed. "

"f you use Redis as a database, be prepared for clients to disagree about the state of the system. Batch operations will still be atomic (I think), but you’ll have no inter-write linearizability, which almost all applications implicitly rely on."

"Because Redis does not have a consensus protocol for writes, it can’t be CP. Because it relies on quorums to promote secondaries, it can’t be AP. What it can be is fast, and that’s an excellent property for a weakly consistent best-effort service, like a cache."

Again, Redis is a very different type of database, so expectations should be aligned. Further, this test is quite old.

But that's a huge difference from DGraph's results.

Basically, saying "Well no one does well on Jepsen" isn't really true. Lots of databases do well, but you have to adjust your definition of "do well".

comment 6y ago · link · parent

Sure, I was speaking more broadly. Jepsen isn't a meaningful tests for a lot of databases, or use cases/configurations of databases.

comment 6y ago · link · parent

Just going from the last one I read for DGraph, it did extremely well. Pretty sure etcd did well.

They always have bugs somewhere, but there are huge differences between bugs that show up for very specific, niche cases, and normal "I wrote to the db and it dropped it".

comment 6y ago · link · parent

There are lots of dbs that do very well under Jepsen tests.

comment 6y ago · link · parent

It would be cool if more papers had a glossary for the symbols they use, though. If you're going to use a bunch of single character symbols, at least put somewhere what they are.

comment 6y ago · link · parent

Lambdas are pretty easy to move away from in my experience. It's "just a function", and functions can be really easily moved into a shim for another FaaS or even dedicated instance.

Dynamo is tough. At the same time, it's really really good.

comment 6y ago · link · parent

> including accessing passwords as they are being typed.

If you're running X you don't even need root :(

comment 6y ago · link · parent

I see this all the time. Every single engineer starts off thinking "What should I study?".

IMO, it's the wrong question. Study whatever you want, it doesn't really matter. Get a lot of breadth, that's fine.

But go deep somewhere. How? Do a project! Something interesting, something you can't do today, and something you want to do. And don't stop. You'll hit walls, just ask people for help, find communities where they'll help you through it, read docs.

Even if you fail, so long as you really push yourself, you'll learn a ton. And soon you'll know which projects are "tough but possible" a lot better.

It's a meme at this point that developers have 1000 different projects they never finished. Don't worry about that. In my experience it's because about 75% through a project you hit a point where it stops being fun, you stop learning things, and now it's just doing the work to wrap it up, which can be a lot less valuable.

comment 6y ago · link · parent

They can not care about more than one thing.

comment 6y ago · link · parent

As a member of the Rust Armada I can tell you that I don't believe that rewriting cat in rust is something I consider a high priority.

comment 6y ago · link · parent

Is the joke that Theo said virtually the exact same thing in the linked thread?

Again, quoting Theo directly...

> However there is a rampant fiction that if you supply a new safer method everyone will use it. For gods sake, the simplest of concepts like the stack protector took nearly 10 years for adoption, let people should switch languages? DELUSION.

Anyways, I think you've clearly misunderstood my point.

comment 6y ago · link · parent

I think geofft's points go a long way. I think having this conversation would require a lot though - what is "Secure" what is "general purpose". Is OpenBSD even general purpose? Is the base install general purpose? What makes an OS secure?

I think maybe as a "with 0 configuration to the OS/ services" OpenBSD could be a top contender. With "I have practical security challenges to solve and I'm willing to change things in this system" I might choose Linux. If I'm handing a laptop out to an employee or friend, maybe a Chromebook, or even Windows! It's a pretty nuanced discussion that I couldn't do justice to without really caring and feeling that everyone involved in the conversation is equally invested/ coming in with the right attitude, which is impossible on an internet forum.

comment 6y ago · link · parent

There is a big difference between being having vulnerabilities and being valuable attack surface. Again, I am not saying that cat and others do not provide attack surface, or even valuable attack surface, only that step 1 is not "rewrite cat".

Generally "cat" is not exposed to the internet, and if you're running a service and you said "I'm concerned about local attackers using cat" it's probably a lot easier to just put the service into some sort of environment (container, sandbox, user, whatever) that doesn't give access to cat.

comment 6y ago · link · parent

> I am curious of your notion of "gatekeeping"

Repeatedly telling people that they're bad developers, should walk away from a computer, that they are "script kiddies", because they do not know or enjoy some arcane technical artifact. I call this gatekeeping.

comment 6y ago · link · parent

You can tell me that other build tools have problems, but the "You must know how to run some os/project-specific commands to write a program or you're a bad developer" is the funniest kind of gatekeeping to me.

But keep calling people "script kiddies" that's cool.

comment 6y ago · link · parent

"If you are not able to run a ./configure / make / make install & 3 apt-get properly."

Nearly choked on my water reading this. Incredible how many developers are stockholme syndrome'd by their godawful tooling experience.

1
121122123
164