Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
drostie
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
151.
▲
by
drostie
10y ago
Well that's the difference: it's the discrepancy between handling the data you're handed, and all the data possible. JSON has a lot of edge cases that are very infrequently exercised. Therefore a "robust, production-read
152.
▲
by
drostie
10y ago
I actually don't think that would be all bad if you in addition paired some parsers and serializers for other formats in your standard library. That could actually be a really fun language: "you can write this in Haskell-syntax, P
153.
▲
by
drostie
10y ago
I mean, you do incur a cost for programming with TDD though. The benefits may repay the cost in the end, but the cost is still there. And for that matter cars do undergo destructive testing, just not TDD--and the problem there is presumably
154.
▲
by
drostie
10y ago
There's something to be said for both. It's true that there is a scaling intrinsic to the Bitcoin protocol (which it had to have, as it was based on fast functions) to allow arbitrary slowdown at the brute-force level. However ide
155.
▲
by
drostie
10y ago
There's something to that, yes, that a lot of things become second-nature (e.g. once you learn Vim, when you're in Nano on an unfamiliar machine, you start finding yourself accidentally typing Esc-:w to try to save a file). There&
156.
▲
by
drostie
10y ago
Yeah. I think it works when you take three fingers from your left hand and mash them together with all five from your right, representing a set of 8 elements. Now to perform 8-choose-3 and choose a set of 3 out of the 8 elements, you separa
157.
▲
by
drostie
10y ago
Right, it intentionally violates the URI spec by appending something to the end of it. The data structure they're storing has a natural pair-of-structures at its top level: data Database = InMemory | LevelDB Path | ViaHTTP URL
158.
▲
by
drostie
10y ago
The actual logic is a bit more benign. Once upon a time, the digit for 0 was a dot, the digit for 1 was (close to) ι, the digit for 2 was (close to) μ, the digit for 3 was close to w with a leading descender like μ has. The digit for 4 migh
159.
▲
by
drostie
10y ago
> When you have political fact-checkers actually trying to claim that Trump thought email was 'bleached' with actual bleach, by taking his entire conversation out of context, I don't blame him. The clip that circulated was
160.
▲
by
drostie
10y ago
It's worth pointing out that the conventional formula for N choose K has a "story proof" as well, and it helps introductory students who can't necessarily keep straight whether, in these groups, order matters. "Ther
161.
▲
by
drostie
10y ago
This looks like a long blog post but I will be happy to read it. ^_^
162.
▲
by
drostie
10y ago
> I get that being able to check for non-termination would be useful—but is there more? It's not just that "there is more", it's that there is everything . The halting problem which we're talking about here i
163.
▲
by
drostie
10y ago
This is kind of a cop-out, but I am constantly surprising coworkers with the (I thought simple!) things that I do with relatively old-school JS. I think if you're just starting out on a project -- any project, any skill level -- then y
164.
▲
by
drostie
10y ago
You shouldn't be downvoted by the eval-is-evil folks for this; it's a legitimate question that has nothing to do with the sins of eval[1], since you're giving the page 100% full control anyway. The answer is actually a bit co
165.
▲
by
drostie
10y ago
You can address them with whatever domains you choose; suffixing them with .localhost is no better than suffixing them with .local, .loc, .qwyjibo, or not suffixing them at all: these are merely personal choices you made to give the domains
166.
▲
by
drostie
10y ago
You know that you do not need to use that naming convention, right? You might as well set up domains for www.pocalhost, files.pocalhost, doc.pocalhost. Or, why even have that part at all? You can just as easily set up the hosts record in &#
167.
▲
by
drostie
10y ago
Variant of http://www.wtfpl.net/txt/copying/
168.
▲
by
drostie
10y ago
Kind of reminds me of: Train approaching Whistle squealing Stop Avoid that run-down feeling Burma-Shave
169.
▲
by
drostie
10y ago
That's indeed what I remember as well, but in at least one of the sequels it made sense to transition to a fighter to gain the paladin powers on top of the rest. Playing for maximum freedom was actually incredibly constraining in certa
170.
▲
by
drostie
10y ago
Are you still comfortable with this explanation if the photons are released with a 1-second gap between them and the tally is visibly shown building up into the interference effect on a computer screen? "Interfering with each other at
171.
▲
by
drostie
10y ago
Let me give you a couple pointers; I did my Master's thesis in quantum transport. (A) Measurement and observation is NOT a simplified term for a well-understood complex process. It is an atomic term for a not-well-understood (therefore
172.
▲
by
drostie
10y ago
Yeah, basically. From what I can tell given some work I've done in a related field, what's happened is that they found a new way to do the math in a theoretical model some long time ago, and it revealed some cool new predictions w
173.
▲
by
drostie
10y ago
The other nice thing is that bigger monoliths often (not always) make opinionated decisions. This is usually a good thing. In my work I deal with a legacy system with an ExtJS GUI. The two ways that ExtJS fails to be opinionated are perpetu
174.
▲
by
drostie
10y ago
I think it's more compelling, however, to just think about how much bigger the interior of the planet is than our existence at the surface. We live on maybe ±1km of the surface or so; we don't dig much deeper than that except perh
175.
▲
by
drostie
10y ago
Sorry, what is the "objective, logical, correspondence-based meaning" that you're referring to? Moreover, you've already laden a lot of interpretation in there, "1kg" vs "2kg", "counterbalance&qu
176.
▲
by
drostie
10y ago
I am very happy to see this at least bring up one of the most strange parts of Everett's many-worlds (and others' "many-minds") theories: that in them, you are immortal; for there always exists a possible world which you
177.
▲
by
drostie
10y ago
Actually probably one of the best simple ones is Scholarpedia's article: in particular it covers one of the things that are kind of at the periphery of a non-applied statistician's mind when using cumulants: how the log-normal dis
178.
▲
by
drostie
10y ago
One of the fun ones, and this may or may not be covered by the link, is generating the "cumulants" for probability density functions. The basic idea in (basic, continuous) probability theory is that you have these things called &q
179.
▲
by
drostie
10y ago
I like to think of DELETE as "if the response to the DELETE is 200-level then further GETs to the resource should be at the 400-level." Call those responses to GET requests "2XXing" and "4XXing" respectively. S
180.
▲
by
drostie
10y ago
I mean, we're running up against one of the problems which metadata systems have to deal with, which is that metadata about an object really "lives" in parallel with that object, and not really "contained within it"
More ›