Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
crdrost
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
105 ms
·
691.
▲
by
crdrost
7y ago
There is a wonderful corollary in basic statistics modeling that success tends to be a long-tailed distribution. Reason: the easiest framework that allows modeling "the resulting random variable R is zero if any of the incoming varia
692.
▲
by
crdrost
7y ago
Addition is reversible, in the physics sense. So for example one typical quantum gate is called for physicists CNOT, or you would call it in computing a generalization of the XOR gate. We physicists would not think “Oh XOR is irreversible
693.
▲
by
crdrost
7y ago
(also if you want a longer overview a bunch of related concepts are talked about in Dominica DeGrandis’s book Making Work Visible , and the advice on managing by the critical path method comes from a makes-my-eyes-roll-a-little-but-still-p
694.
▲
by
crdrost
7y ago
Awesome! There is a way to avoid some of the pain discussed in the article with iframes as well, and it uses techniques from domain-driven design as applied to microservice architectures. So in this analogy the iframes are your "browse
695.
▲
by
crdrost
7y ago
There is a much bigger point here, though, about idle time. Idle time is not just about healing the psyche. It also does that. But you run into problems from not having idle time much sooner than burnout, typically. What is at stake is th
696.
▲
by
crdrost
7y ago
Treating the cause's cause: use a programming language which makes a distinction between actions and values, so that an action-which-produces-a-boolean is not valid where a boolean is expected. Treating the cause's cause's ca
697.
▲
by
crdrost
7y ago
I mean I have an answer which helps me understand but it is not a particularly “satisfying” answer… the answer basically boils down to this being a mathematical theorem. So you have an election cycle. Each election is a function Polity → Po
698.
▲
by
crdrost
7y ago
I mean it's not so bad. If we meet aliens there is a decent chance that they will have a base-9 counting system in balanced ternary: so their digits would be -4, -3, -2, -1, 0, 1, 2, 3, 4. Rather than prefixing negatives with a minute
699.
▲
by
crdrost
7y ago
Meanwhile, there is something special about base-12, namely that the log base 2 of 3 has a really good rational approximation as 17/12, the log base 2 of 5 has a pretty good approximation as 7/3 (you can do better with 28ths). Thi
700.
▲
by
crdrost
7y ago
Yeah it's not actually that bad, the base-12 system helps you out. You multiply the feet by 3, divide the inches by 4, add, multiply by 10. Optionally add 1.5% to really get that extra precision. It's 30.5•(a+b/12) understood
701.
▲
by
crdrost
7y ago
You can also add a half and a tenth. 135, half is 67, a tenth is 13, add those two together to get 80, 135+80=215.
702.
▲
by
crdrost
7y ago
I don’t understand why you think these things are necessary or opposite. You can have a system where everyone has a copy of the database. That is not hard, it just requires the separation of what a ballot means, from what is stored in the d
703.
▲
by
crdrost
7y ago
Right, the protocol is essentially that you have a central server which supports in essence two SQL queries, UPDATE ballots SET status = "burned" WHERE contents = :ballot AND status = "unused" which, i
704.
▲
by
crdrost
7y ago
Homomorphic encryption does not affect that problem... It's just down to policy. If the decryption authority “stays open” after the election and no longer insists on checking ballots to see if they have already been cast, then yeah, yo
705.
▲
by
crdrost
7y ago
Just the way I said in the comment you are replying to. Well, actually, I know two ways, that is just one of them. Let me put it a different way. Let us suppose that you are in New York State in 2016, voting for the US president, and let&#x
706.
▲
by
crdrost
7y ago
1. The box only fits one ballot. This is easier to do with bits than with real boxes, of course. "This is box number 12345" and that number is present also within the homomorphically-encrypted payload and we can confirm that the s
707.
▲
by
crdrost
7y ago
Well, no, if you do it cryptographically, at least with the proper mechanism, you can prevent votes from being buyable. In your case, if someone wants to buy your vote, they can ask you to text the number to them before it has appeared as a
708.
▲
by
crdrost
7y ago
To address the inevitable “what is this useful for” questions, my go-to example is cryptographic voting mechanisms. The idea is that you segment a large integer into a couple of different bins by its bitwise representation. So you have a 60
709.
▲
by
crdrost
7y ago
It’s also not absolutely necessary to use Bayesian reasoning to come up with a concrete final answer, but still allow for scientific style “we have a significant discovery, but it may not change our view from the status quo just yet” types
710.
▲
by
crdrost
7y ago
With that said, before you start writing your state legislature about “Multi-member districts TODAY!” you should also know that they have a very difficult history of being shot down by the Supreme Court. This was pointed out to me by a numb
711.
▲
by
crdrost
7y ago
[Just to give an example that I should have given yesterday for anyone who finds this in the future, in particular if you omit some of the safeguards of SRP then the “core” of it has h(V, s) = V^s (mod N) for some N and in some sense it is
712.
▲
by
crdrost
7y ago
Yeah I mean that comment is about achieving challenge/response without storing something password-like; obviously a non-challenge/response login is not going to be a counterexample. While CR does not need the full force of public
713.
▲
by
crdrost
7y ago
Just to be clear with you, the mistake here is that the salt is being generated. This means that you are not storing H(salt, pass) in your DB but probably something that is “password-like,” in that if you know it you can log in as that user
714.
▲
by
crdrost
7y ago
Probably it means store-bought. One key thing about squeezing your own juice is that typically you get more fiber in your diet and fiber usually has a negative impact on cancer, which I would strongly suspect would mitigate the impact of th
715.
▲
by
crdrost
7y ago
If you are just going to drink it once, there is no difference. If you are going to drink them habitually then we need to know more about the contexts in which you drink them, how often, etc. If you were to only drink one per week for examp
716.
▲
by
crdrost
7y ago
I mean there would be better reasons to not use Go or Kubernetes than just that they're Google tech. Both can add tremendous overheads to otherwise simple prototypes. Here, a Google aversion can be more pronounced because the thing is
717.
▲
by
crdrost
7y ago
Your maxim is already in common parlance as Karlton’s principle. “There are only two hard things in computer science: cache invalidation and naming things.” (Some add “and off-by-one errors” but arguably that is the same problem of some ‘ca
718.
▲
by
crdrost
7y ago
Yeah, if you want to search more on it, the technique is called vegetative propagation, it is a procedure by which potatoes are cloned rather than bred. It happens to be really easy for potatoes. Searching for "mcdonalds genetically&qu
719.
▲
by
crdrost
7y ago
If it helps you out personally, it may be nice to impose a translation filter between the rest of the world and yourself here? These other folks say “know” when they mean “have confidence in” and they are looking for you to similarly say “k
720.
▲
by
crdrost
7y ago
I think you don’t give yourself enough credit by calling it a “romantic ideal of purity;” it really does make a difference. A little pesticide is fine for cosmetic value: people buy more of the prettier fruits and veggies, great. But when y
More ›