17,493 karma · joined May 14, 2013 (13y ago) · 5,497 submissions
Revenue focused web analytics to help you quickly identify where to focus your effort to best increase revenue.
And embersofvictory.com
Retro turn-based strategy game.
comment 5y ago · link · parent
What really makes me think though is the way China is being uncooperative. You'd think if they were innocent they wouldn't need to limit access to data and prevent investigation of the Wuhan lab. Maybe that's just in their nature as a totalitarian regime, but it's not doing them any favors here.
comment 5y ago · link · parent
You'd do well to remember there are two sides to any conflict (as my parents drilled into us whenever my brother and I would blame each other).
In my opinion you can see Israel exercising serious restraint, evacuating people from a target first when possible, firing warning shots before the real attack. Hamas on the other hand is indiscriminately firing over 3000 rockets at Israel civilians. That's like what the Nazis did to London with their V2 rockets. Now there is a big power imbalance here, and I feel for the Palestinians, but they're hardly the good guys here. That's terrorism, plain and simple. No country would tolerate that.
comment 5y ago · link · parent
If you want to redefine eventually consistent to prohibit that behavior then you've just reclassified most real life AP systems as eventually inconsistent.
Eventually consistent systems allow stale reads of older data plus deleted data for an undefined period of time. If you turn around and issue a write based on that you get inconsistency. Eventually consistent systems do not prohibit this.
> Nonsense. CPUs only work on very limited data structures (sequences of bits), but that's not a concern in practice because we can build up more complicated datastructures on top of them. The same is true for CRDTs.
You're talking like there are no downsides to CRDTs. There are huge downsides to them, which is why they're rarely used in practice. Your analysis is only valid in theory.
comment 5y ago · link · parent
I really would like to see a good numerical analysis of the costs and benefits of lockdown policies - I have yet to see one that's not seriously flawed.
comment 5y ago · link · parent
Mostly they behave well. It's really that they have edge cases that are unintuitive.
In your example of a user is switching between A and B all the time, imagine their confusion as their changes keep getting lost and reappearing. Now imagine they make other changes based on that situation.
This can also happen with different users communicating via a side channel.
comment 5y ago · link · parent
It's really just about carefully defining the behavior of the system in the face of failures. Typically that means in a CP you tolerate some failures, but eventually you lose the majority and (perhaps only on one side of a network partition) and you have to sacrifice write availability at the minimum to maintain consistency - and reads might now be stale.
comment 5y ago · link · parent
CRDTs are interesting, but over hyped. They only work for very simple situations and very limited data structures.
comment 5y ago · link · parent
So in theory you have to choose in the event of P do you sacrifice A or C. That's CAP in a nutshell. You have to plan for P so choose your failure mode in that case.
And this is where people went wrong. They figured you can't sacrifice availability, so then you can't have consistency. If you can't have consistency in failure modes, you may as well not have it at all.
That's really dumb, because in reality you're always going to have some downtime. Most use cases can afford a little downtime, rather just work to keep it to acceptable levels. By sacrificing consistency you enter a realm where logic and cause and effect no longer apply - it's hell to program with that model - and the resulting bugs will cost you availability anyway.
CP should be the default choice.
comment 5y ago · link · parent
I feel like I shouldn't have to clarify that.
Also if you're a 50 year old man with high status you'll fare substantially better than a 20 year old man with low status with 30 year old women.
I've personally been outcompeted by balding, portly middle aged men with women my own age when I was in my twenties. Not that anecdotes mean much, but it's pretty universally true about humans. It even holds with primates and other social animals in general, not just humans.
comment 5y ago · link · parent
People might be quick to point out anecdotes to the contrary - as there are always exceptions, but it's still generally true. It has been that way probably for all human history as women are more attracted to status in general and men to youth and beauty (proxies for virility.)
Which leads me to think it must be really lonely being a single women over 50. Also if you're a man of that age into older women, you've basically got the market to yourself.
comment 5y ago · link · parent
If it is inflationary like doge you have the incentive to spend it instead of hoard it.
comment 5y ago · link · parent
It also can handle higher transaction volume with cheaper fees.
I don't think it'd be a good currency, but it's funny to compare it with bitcoin which was marketed as such but is totally a failure for that use case.
comment 5y ago · link · parent
That's an odd position for anyone living in Taiwan to take, seeing as how their democracy and country exist only because China does not yet have the military strength to change that. I find it highly probable that they cease to exist as a separate entity within the next two decades.
comment 5y ago · link · parent
What happens in old batteries is the physical structure of the lithium metal is damaged so it does not function as well as a battery, but you can separate out the lithium from the old battery, melt it down and reform it into a new battery (or whatever else you want to do with lithium.)
comment 5y ago · link · parent
They focused only on short keys and values, only on UDP, used a simple hash table with no collision algorithm, and still had to split the code into 7 ebpf programs.
Quite an achievement though, I didn't think it was possible.
Also it seems udp memcached is not popular and hasn't been optimized well - it uses a single socket and spends a lot of time fighting for the kernel lock on that socket. Both the authors and Facebook patched memcached to get around that bottleneck. It's surprising that hasn't yet found its way upstream.