Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kadoban
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
928 ms
·
3031.
▲
by
kadoban
8y ago
That's a potentially very interesting perspective to me. My point of view would be that Americans are spending on average about an hour every day driving. That's an hour that could very well be spent doing any number of more inter
3032.
▲
by
kadoban
8y ago
"Unusable" seems quite strong. It's usable for open source projects.
3033.
▲
by
kadoban
8y ago
It probably depends how artificial you allow your problems to be. In competitive programming, range queries are quite common because they're easy to specify and there's a variety of techniques and data structures for them, and the
3034.
▲
by
kadoban
8y ago
The data structure invented here is called a "segment tree" in competitive programming. It's absurdly common in that context and fairly esoteric anywhere else. https://cp-algorithms.com/data_structures/s
3035.
▲
by
kadoban
8y ago
Red-black trees aren't known for having good spatial locality of reference (heaps aren't either, but I fail to see how this is a point in favor of RB trees). Is there a particular implementation that doesn't share this shortc
3036.
▲
by
kadoban
8y ago
It was $8.54 in 1968 "when adjusted for inflation", not the actual value it was at the time. (at least according to the article, I didn't calculate it myself)
3037.
▲
by
kadoban
8y ago
For a magnet to be used as propulsion, you'd need something for it to pull or push against. Finding a likely target seems impossible. The way magnetism drops off with distance means it would only be useful when you were already there (
3038.
▲
by
kadoban
8y ago
Not a lot of who/what/why/how answers in that, that I could understand. Anyone have links to more information, or does one have to wait until the "end of September" followup mentioned?
3039.
▲
by
kadoban
8y ago
The simple way would be to use part of the hash for the domain and part for the user. If you alternated bits it wouldn't be obvious. I doubt it'd be worth spending the effort to target people with personal domains though, and it w
3040.
▲
by
kadoban
8y ago
I wouldn't be worried about the performance cost of using `date +%s` personally, I'd be concerned about what happens when the user or an automated process changes the system time. For example, what will happen in the debounce func
3041.
▲
by
kadoban
8y ago
Couldn't you just move over if the adjacent seat was empty? But yes, airplane seats reclining always seemed to be some kind of holdover from the days when there was plenty of room between rows. It probably should have been done away wi
3042.
▲
by
kadoban
8y ago
That does indeed seem to be the reason. As the article states it: "[T]he Krukenberg procedure's poor cosmesis makes it very rare [...]" I'm sure self-image is a complicated consideration when someone is dealing with an a
3043.
▲
by
kadoban
8y ago
It looks like range-diff is a little bit different than git log --patch A...B . It say it's "[...] a tool for comparing two sequences of commits, including changes to their order, commit messages, and the actual content changes th
3044.
▲
by
kadoban
8y ago
I've use something very similar in practice. Haskell's fixed point operator is: fix f = let x = f x in x This allows you to turn a non-recursive function into a recursive one, it factors the recursion out. It turns out that
3045.
▲
by
kadoban
8y ago
In my reading, there would be thermal radiation (aka light) and a high intensity photon beam (aka light) interacting to create particles. I didn't see matter being consumed anywhere, did I miss it?
3046.
▲
by
kadoban
8y ago
Well, if what the author of the op-ed is saying is true, they are one of the few people holding back the worst of Trump's behavior from destroying this country. Unmasking that person will surely make them unable to continue doing so. T
3047.
▲
by
kadoban
8y ago
Two hundred times thirty is 6000