Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
j-pb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
66 ms
·
751.
▲
by
j-pb
6y ago
I think that's a symptom, not the cause. The complexity of web standards in general smother it with it's own weight. The common web has enough raw financial and person backing to grind through that. The semantic web does not. CURI
752.
▲
by
j-pb
6y ago
Yeah, I think the regular overlfow is actually an advantage. A.) you pracice having overflows regularly, so the issue is resolved now and not left to some pooor schmuck world war XXVII Survivor in the year 35.000. B.) It uses every bit, jus
753.
▲
by
j-pb
6y ago
That's not even statistics. That's simply the pigeon hole principle. A second has 1000ms. If you have more than 1000 users doing things per second, there MUST be a collision.
754.
▲
by
j-pb
6y ago
> Hashing the IDs won't solve their lack of entropy. Yes and no. It would still significantly largen the search space, as an attacker wouldn't get a point of reference to latch on to.
755.
▲
by
j-pb
6y ago
Nice! This is kinda what I had in mind, while writing that ammendum! Thanks for sharing :D
756.
▲
by
j-pb
6y ago
Have you considered using a 32 bit time value with second resolution? That way you still get sort-ability, you get 16 bit more entropy, fare better on 32 bit systems, and still get 130 years of usage, out of them. Also you actively discoura
757.
▲
by
j-pb
6y ago
Yes, monotonic counters, are ULID's "billion dollar mistake". They're not an edge case, in that the standard displays them quite prominently. They're actually the only code examples given. The standard should deprec
758.
▲
by
j-pb
6y ago
You have to ask yourself the question though. If "URL-Safety" is a main feature. What URLs / user-data are NOT security relevant? Leaking users private pictures / documents / whatever, will also kill a company. I gu
759.
▲
by
j-pb
6y ago
ULID has a serious security flaw though. In order to try to improve performance / increase prefix similarity, there is a mode where it reuses the random value, and just increments it, for each new ULID. With purely random UUID, you can
760.
▲
by
j-pb
6y ago
Premise: A is containing all values in range [1, 4] except one: Let's say that, without loss of generality: > 1 ^ 2 ^ 3 ^ 4 ^ A[0]=1 ^ A[1]=2 ^ A[2]=3 ^ A[3]=4 However, A is now missing no value. Contradiction. ∎
761.
▲
by
j-pb
6y ago
Ah off by one errors are hard: > 1 ^ 2 ^ ... ^ n ^ A[0] ^ A[1] ^ ... ^ A[n - 1] should be > 1 ^ 2 ^ ... ^ n ^ A[0] ^ A[1] ^ ... ^ A[n - 2] Because a 0 indexed array of length n-1, has n-2 as it's last index. After all, it's
762.
▲
by
j-pb
6y ago
This still proves that CSS layout algorithms are O(EVIL). Enumerating and memoizing all possible states will still be impractical, even for small machines.
763.
▲
by
j-pb
6y ago
"solving" NLP, is AGI complete. GPT-3 is great at superficially correct syntax but breaks at deep / consistent / meaningful semantics.
764.
▲
by
j-pb
6y ago
Politicians inability to tackle an imminent threat like covid has left me completely without hope that we have even a remote chance at tackling a threat like climate change that's taking decades to manifest.
765.
▲
by
j-pb
6y ago
Oh yeah, you're right. Can't tax those billionaires. I completely forgot the paperwork. And those invaluable art collections. You just can't put a price tag on those!
766.
▲
by
j-pb
6y ago
> What if the sale price doesn’t match up with the valuation amount? Then you don't have to sell as much as you thought. > What happens if a majority shareholder is forced to sell and it results in them becoming a minority shareh
767.
▲
by
j-pb
6y ago
We're not talking about old people here that acidentally stumbled upon something that has really sentimental value to them but is also worth 150 billion. Stop mixing billionaires and millionaires. Having billions is unfair by definitio
768.
▲
by
j-pb
6y ago
It's all about efficient range reads and seek operations. You can compute set operations pretty efficiently using sorted indices that support a "find next or greater" operation. For intersection, take the first value from the
769.
▲
by
j-pb
6y ago
Force them to sell. If there isn't actually the demand at that valuation, then then it's a bubble anyways, that should be popped sooner than later. Also, at that point, you shure as hell diversify your assets, instead of having th
770.
▲
by
j-pb
6y ago
Your argument is the same as saying "but they don't have any money, they only have 65238 metric tons of gold". Money doesn't have any intrinsic value either. You might as well say "societal power" instead of &q
771.
▲
by
j-pb
6y ago
Ha, doubling it, that's cute. The top marginal tax rate in the US used to be 92% in the 50s, and that's what was widely considered it's "golden age". Those 600 people hold $4 Trillion dollar. Which is the federal bu
772.
▲
by
j-pb
6y ago
"Taxing the super rich is hard, so let's not do it." That's what tax inspectors are for.
773.
▲
by
j-pb
6y ago
The people being taxed would be the billionares. Those are by no measure the "productive" members of society, these people are statistical outliers created by chance and luck in an unstable system that sometimes creates self enfor
774.
▲
by
j-pb
6y ago
The last time ULID was mentioned in a thread it got some flack for its "weird" generator local monotonicity property. But it's actually pretty useful, when you're building database indices, because it reduces the amount
775.
▲
by
j-pb
6y ago
More structure actually increases the chance for collisions. Because at that scale the chance of bit errors is dominating the equation. More rng protects against that.
776.
▲
by
j-pb
6y ago
The colors in these charts are a color-blinds nightmare...
777.
▲
by
j-pb
6y ago
Yeah but Telegram still does less. It's not your one stop digital life that is common in the chinese app space. Telegram is still only focused on conversational interactions, it's just darn good at it. I'm glad that it isn&#x
778.
▲
by
j-pb
6y ago
I think telegram is one of the operating systems of the future, most just haven't realized it yet. Using their API and System to develop apps is a breath of fresh air after years of bad and broken web APIs, non portable and cluttered n
779.
▲
by
j-pb
6y ago
Please stop moving the goalpost. "Debugging clj / cljs is hardpartly due to transducers" -> "I can step though my code with cursive" -> "how does cursive handle transducers?" -> "you don'
780.
▲
by
j-pb
6y ago
I just moved a medium sized codebase from clojure transducers to JS, and after having used clojure for 7+ years, and done so professionally, I don't wanna go back, ever. The JS solution is shorter, faster, and easier to understand. I&#
More ›