Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kdps
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
kdps
4mo ago
> Clearly legacy heavy weight threads, virtual or not, are not superior. Associating virtual threads with "legacy heavy weight threads" is a fundamental misunderstanding > That’s why Swift, Rust and Typescript all chose asyn
2.
▲
by
kdps
5mo ago
I get why sync of mutiple machines matters for ordering and causality, but why is it a problem for uniqueness?
3.
▲
by
kdps
8mo ago
If you're referring to the SIMD aspect (I assume the other points don't apply here): It depends on your perspective. You could say yes, because the C# benchmark code is utilizing vector extensions on the CPU while Go's isn&#x
4.
▲
by
kdps
8mo ago
It's not really surprising given the implementations. The C# stdlib just exposes more low-level levers here (quick look, correct me if I'm wrong): For one, the C# code is explicitly using SIMD (System.Numerics.Vector) to process b
5.
▲
by
kdps
1y ago
Yes. What I was trying to imply is that now there is a lightweight processing unit that still is able to suspend on IO (independently and without involvement from the OS scheduler), but can do that without relying on async/reactive pa
6.
▲
by
kdps
1y ago
> So, in theory, one can create 100K threads on one machine, but in practice that's going to keep burning processor for GC cycles. The focus on "100k threads" and GC overhead is a red herring. The real win isn't spawn
7.
▲
by
kdps
1y ago
Don't they charge for every TB exceeding the included limit? (website says "For each additional TB, we charge € 1.19 in the EU and US, and € 8.81 in Singapore.")
8.
▲
by
kdps
1y ago
I'd argue that the severity varies between languages, despite the core problem being universal. Languages with comprehensive standard libraries have an advantage over those with minimal built-in functionality, where people rely on exte
9.
▲
by
kdps
2y ago
> Imagine we have immutable records that hold just data and static classes as function containers, and those functions just act on the records, return some new ones and change no state Or imagine those functions are part of the immutable
10.
▲
by
kdps
2y ago
In this case, API does not refer to client/server. The API of the aforementioned static class is the set of its methods and their signatures.
11.
▲
by
kdps
2y ago
> ...entirely missing the lightweight threading... They deliberately took the longer route, aiming to integrate lightweight threads in a way that doesn't force developers to change their existing programming model. No need for callb
12.
▲
by
kdps
2y ago
> Right. It's not a very widespread use case, to be honest. You'd find that most would be N actors for M threads (where N <= M What makes you think that? Having a large number of actors per thread is by far the most importan
13.
▲
by
kdps
3y ago
I don't get it :(. Why could the same task be executed more than once? From my understanding, if the UPDATE is atomic, only one worker will be able to set `used = 1`. If the update statement is not successful (affected != 1), then the
14.
▲
by
kdps
4y ago
Zoom charges VAT based on the local country (or based on the VAT number if you are a company and provide one)
15.
▲
by
kdps
4y ago
I predict people on hn will use the the expression "I predict" much more often now.
16.
▲
by
kdps
4y ago
Tutanota is a German company
17.
▲
by
kdps
4y ago
Translation issue. In German, the expression "... und Co" is a synonym for et cetera.
18.
▲
by
kdps
4y ago
My main concern with random-based UUIDs always has been running out of entropy and cause the application to remain in a blocking state (e.g. as described here: https://blog.fastthread.io/2022/03/09/java-uuid-g
19.
▲
by
kdps
4y ago
What's the current (2022) take on Hugo vs. Jekyll? I'm also wondering if Github Pages is a good alternative for hosting. Judging from their description, it seems to be free, without ads and can optionally be used with a custom do
20.
▲
by
kdps
6y ago
Regarding garbage collection: do you think ZGC or Shenandoah could reduce the problems you mentioned?
21.
▲
by
kdps
6y ago
That's what BioNTech has been researching for years. BNT162b2 is, slightly exaggerated, a by-product. From https://en.wikipedia.org/wiki/BioNTech : It develops pharmaceutical candidates based on messenger ribonucl
22.
▲
by
kdps
6y ago
The first time I came across varlink was the Podman 1.x remote API for client/server communication between clients and a host with the actual Podman installation. However, in Podman 2.x, it was replaced by a RESTful API. Afair, the rea
23.
▲
by
kdps
6y ago
From the FAQ: Q: Swiss made, how so? A: I was born in Switzerland. By induction, this clock is Swiss made. QED.