13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions
comment 6y ago · link · parent
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
> 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
"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
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
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 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
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.