Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yakubin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
151.
▲
by
yakubin
3y ago
Dissolving in acid seems like the safest/most overkill option: < https://youtu.be/L0bcNm1gfpU >.
152.
▲
by
yakubin
3y ago
Ookla traffic is known to be prioritised by ISPs. Maybe ISPs just haven’t caught up with Cloudflare yet and what you’re seeing now is more realistic speeds.
153.
▲
by
yakubin
3y ago
That’s not that crazy. It just shadows the global + function. And thanks to lexical scope it has a rather limited impact.
154.
▲
by
yakubin
3y ago
Some percentage of children are going to die before getting a chance to have their own children.
155.
▲
by
yakubin
3y ago
I see in the Netherlands church is financed by donors, which sounds better. But here in Poland we have an even worse variant than in Germany: the Church receives money from the government every year. The quantity doesn’t depend on the numbe
156.
▲
by
yakubin
3y ago
But when they are in the middle of a film, they often make the film twice as long, and films these days are already awfully long. They can also give you a heart attack when they are thrice as loud as the film, and often start after there wa
157.
▲
by
yakubin
3y ago
This "acceptable quality" photo at the top in AVIF made me initially think someone took a blurry photo. I only understood what happened after switching to original and JPEG, which look much better. So this is an apples-and-oranges
158.
▲
by
yakubin
3y ago
Your functional core also includes an imperative core inside it. Most of your “pure” functions modify the process page table and GC roots. Basically all the runtime is imperative. Finally some of your functions are written in something equi
159.
▲
by
yakubin
3y ago
Except in “Celtic” and “Cillian” the “c” is a k.
160.
▲
by
yakubin
3y ago
Currently you can be an anonymous creator and sell your stuff in various places. You can also be a celebrity and live from a mix of Patreon and social media. The suggestion to allow free sharing of everything would remove the first model. I
161.
▲
by
yakubin
3y ago
> There will always be piracy, but that doesn't impact the creator because people who like a work want to support the creator if they can afford to. Fear of piracy comes from insecure creators, and that insecurity comes from the la
162.
▲
by
yakubin
3y ago
Because your filesystem is a storage layer. Its concern is storage, not display. It shouldn’t concern itself with how bytes are interpreted by your terminal, GUI, whatever. Those will also differ based on the particular program doing the in
163.
▲
by
yakubin
3y ago
An even sadder example of it: Windows.
164.
▲
by
yakubin
3y ago
Not just when you rent/move. It's nice to be able to routinely read 1k+ pages long books, holding them in a single hand without straining your wrist, being able to comfortably do it on public transport, without a table etc.
165.
▲
by
yakubin
3y ago
I don’t know if it’s different in the US, but here in Europe you can bring water bought after going through security. I think it’s more a means to make people buy things at the airport at inflated prices.
166.
▲
by
yakubin
3y ago
Yes. Not just them. A lot of mathematics was done by Indians. But that’s not Rome.
167.
▲
by
yakubin
3y ago
Using maths is not the same as inventing new maths.
168.
▲
by
yakubin
3y ago
The collapse of mathematical thought that was the Middle Ages actually began with a huge slow-down in hellenistic (Roman) times, i.e. the Middle Ages was more of a continuation of a trend. I’m not convinced that Rome on its own would develo
169.
▲
by
yakubin
3y ago
I can tell you that 9 times of 10 when I hit a 404 on an ecommerce website, I can’t find the product anymore through a website’s search function. Knowing this, sometimes I don’t even bother to search at this point anymore and go somewhere e
170.
▲
by
yakubin
3y ago
Cars are commodities though. Your business won’t be disturbed when you change your car. There’s basically no difference from the point of view of your customers. But when you use a managed ecommerce service and you want to migrate to anothe
171.
▲
by
yakubin
3y ago
> Why are small businesses like that running their own servers? Because the more managed a service, the less of a commodity it tends to be and leaves you at the mercy of the service provider wrt price changes, future availability, gene
172.
▲
by
yakubin
3y ago
Taking up photography as a hobby made me notice and appreciate good shots and colours in films much more. So the opposite effect.
173.
▲
by
yakubin
3y ago
The question should rather be: why would it protect you? This switch statement also runs on a CPU, which is still vulnerable. This CPU still speculates the execution of the switch statement. No amount of software will make hardware irreleva
174.
▲
by
yakubin
3y ago
> Actually running zlib on every request will only make it worse. I wouldn't be so sure, given that without zlib HTTP connections take longer, thereby increasing the size of the wait queue and the number of parallel connections.
175.
▲
by
yakubin
3y ago
FWIW, enabling gzip/zstd compression in your HTTP server could help.
176.
▲
by
yakubin
3y ago
My issues with std::variant in C++ boil down to it being a runtime, not compile-time construct, and surprising interactions with implicit casts, especially in the case of primitive types. After that, unlike what I described about combining
177.
▲
by
yakubin
3y ago
That depends more on the producer than the store. Try buying Assassin’s Creed II or any later AC games without DRM.
178.
▲
by
yakubin
3y ago
Most of my enums are sums of types that don't have any intersection. You can think e.g. of a type Token that is a sum of Identifier, Number, etc. It's annoying to keep wrapping Identifier in Token, instead of just assigning. I sol
179.
▲
by
yakubin
3y ago
You're thinking about C unions, not union types. Union types behave more like unions in set theory. Sum types behave more like disjoint unions. In particular, if you have a union type A|B, then A is a subtype of A|B. If you have a sum
180.
▲
by
yakubin
3y ago
Yes. That's thanks to Hindley-Milner type inference which makes the compiler infer which None you mean. But in longer code snippets full Hindley-Milner type inference can cause hard-to-understand type errors. Here specifically the comp
More ›