2,639 karma · joined November 17, 2015
my blog: blog.andrepopovitch.com
That said there’s one restaurant near me which uses Toast, which makes the dining experience so much nicer imo. I just ask for the receipt, scan the QR code with my phone, pick one of the suggested tips and pay with apple pay. I wish every restaurant used it
It’s a bit tricky to explain precisely in an HN comment but basically, something is monotonic if, once you learn that something is true, nothing can disprove it. For example, let’s say you know of a bunch of nodes on a graph, and you’re slowly learning about edges between the nodes. Once you see a cycle, no amount of new edges will ever “disprove” the cycle. So this means that, if what you care about is cycles, then a CRDT is fine. However, let’s say you’re trying to do disturbed garbage collection of nodes that have no edges leading to them. (And as before you’re slowly learning about new edges.) You can see a node has no edges leading to it that you know of, but if you think a node of garbage-collectible you might always be proved wrong by learning about a new edge. So the problem of distributed garbage collection can’t be solved using CRDTs.
There’s a paper on this that you’ll find if you google for the CALM theorem.
Fundamentally the order doesn’t really matter, as long as it doesn’t change retroactively. Once you have agreement on the order, anyone can process the transactions and know they’ll get the same final result as anyone else.
I’m not sure about this specific one, but most “rollup”s use the main chain for agreement on the order, and then outsource the actual processing to someone outside the chain. Some use cryptography from verifiable computing, so the off-chain person can also submit a proof that their processing is right and there’s no possibility of fraud. (the proof can then be verified extremely quickly.)
Of course, bitcoin transactions incentivize block creation, but gold transactions also incentivize gold mining to some degree.
The problem is that an SQL database isn’t distributed and trustless, but bitcoin wanted to be. But how does bitcoin accomplish this?
Bitcoin is backed by a blockchain, which is like a linked list of blocks. (Each block containing a list of transactions.) By looking at the history of the chain, you can learn the current balance of every wallet.
Anyone can add a block to the chain, and because bitcoin is distributed it’s possible for two people to add blocks at the same time. When this happens, the chain forks, and there needs to be a way to decide which fork is the “true” one. That’s because the chains associated with each branch of the fork will have different wallet balances, and it’s no good if there’s uncertainty about what your balance is.
In practice one of the two branches is picked randomly, but there’s an attack where someone spends bitcoin to buy something irl, then forks the chain at a point before they bought that thing. If the attacker’s fork were picked as the “true” one, the seller would find the bitcoin they received has disappeared. All the computational work of bitcoin to mitigate this problem.
Whatever way of deciding which fork is the true one must have one very important property: “the current true chain is always the descendent of a previous true chain”. But anyone can join the bitcoin network at any time, and when they do they need some way of knowing what the previous “true chain” was. You can’t just ask, because the person you ask might lie to you, so you need a way to tell which branch is “true“ just by looking at them.
Bitcoin solves this by introducing “proof of work”. To add a block, you need to do some computational work, and the true chain is the one with the most computational work behind it. That means that as long as more than half of the computing power in the bitcoin network is honest (always adding their computational work to the “true” chain), the chain with the most work behind it will be the true one.
Bitcoin goes further and rewards people who add blocks. This incentivizes people to add blocks (and therefore, computational work) to the longest chain they can find. The goal of doing that is to increase the chances that more than half the chain is trustworthy.
I’ve never understood why this isn’t called toxic femininity. If society’s standards of femininity cause women to become anorexic, that standard of femininity is clearly toxic. Just like how a standard of masculinity that causes men to take steroids and damage their bodies would rightly be considered toxic by everyone.
I think the reason is that there’s a kind of cat-coupling. When you say “I visited the famous golden gate bridge”, you don’t mean “among all the golden gate bridges, I visited the one that was famous”. You mean “I visited the golden gate bridge, and by the way the golden gate bridge is famous”.
When you say “toxic masculinity” even if you mean “the subset of masculinity which is toxic”, it’s possible to interpret that as “masculinity, and by the way masculinity is toxic”.
Feminist academics, being mostly female, have no emotional response to the idea that saying all masculinity is toxic, so the possible misinterpretation doesn’t bother them. But they might have a response to someone saying all femininity is toxic, so they wisely chose a term that was less likely to be misinterpreted (“internalized misogyny”). More diversity in their field would have prevented them from making the same mistake w.r.t. toxic masculinity.
As an example, if you would pay $100 to extend your healthy life by one day (I know I would), that means each healthy day of your life you have ahead of you should be worth at least $100 to you. Assuming you have 10 years left of healthy life, your life ought to be worth at least 10×360×100=$360,000 to you. So a 1/1000 chance of death costs you 1/1000 * $360,000 = $360.
Why's that? IME it is usually simplest to just put everything in redux. For example, if you have a form under some kind of tab navigation thing, you'd ideally want the form state to be preserved even when they tab out and then back in. Putting it in redux means you don't really have to think about it