Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Matthias247
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
1.
▲
by
Matthias247
10mo ago
When I first read about it I assumed it would have been a "poison pill" - a bad config where the ingestion of the config leads the process to crash/restart. And due to that crash on startup, there is no automated possibility
2.
▲
by
Matthias247
11mo ago
As far as I remember from building these things with others within the async rust ecosystem (hey Eliza!) was that there was a certain tradeoff: if you wouldn’t be able to select on references, you couldn’t run into this issue. However you a
3.
▲
by
Matthias247
1y ago
Some other material that has been written by me on that topic: - Proposal from 2020 about async functions which are forced to run to completion (and thereby would use graceful cancellation if necessary). Quite old, but I still feel that no
4.
▲
by
Matthias247
1y ago
I've played that one a lot (hundreds of games on Evil difficulty). So far there's no guessing required after the initial click. Everything can be deducted. Even though some deductions are really hard (you have to go through mine b
5.
▲
by
Matthias247
1y ago
Clarification question: > When a NOTIFY query is issued during a transaction, it acquires a global lock on the entire database (ref) during the commit phase of the transaction, effectively serializing all commits. It only serializes comm
6.
▲
by
Matthias247
1y ago
I think the only guessing situation in the game is the starting point (first click). after that, everything can be solved by deduction.
7.
▲
by
Matthias247
1y ago
How does it work technically? Does Whatsapp expose these messages via an API? If yes, then it seems like this is not only on Google. If no: Are they reading data from raw UI widgets? Are they intercepting input controls? Are they intercepti
8.
▲
by
Matthias247
1y ago
I'm wondering too. In general this seems to work only if there's a single offline client that accepts the writes. With limitations to the data scheme (e.g. have distinct tables per client), it might work with multiple clients. How
9.
▲
by
Matthias247
2y ago
Besides whats called out by others: It would be nice to have the usual action of "press both mouse buttons" on a number to open all non flagged fields around it. That reduces the amount of required clicks a bit. But maybe its inte
10.
▲
by
Matthias247
2y ago
If you want to stream data inside a HTTP body (of any protocol), then the ReadableStream/WritableStream APIs would be the appropriate APIs ( https://developer.mozilla.org/en-US/docs/Web/API/Streams_AP
11.
▲
by
Matthias247
2y ago
Duplex streams are not really a HTTP/2-only feature. You can do the same bidirectional streaming with HTTP/1.1 too. The flow is always: 1. The client sends a header set. 2. It can then start to stream data in the form of an unlimi
12.
▲
by
Matthias247
2y ago
If this is mainly useful for working with plain/uninterpreted byte arrays, then I wonder why we can't just do `[u8; N]::with_noinit()` method instead of doing the multi-line plus unsafe things listed in the article. Is the main po
13.
▲
by
Matthias247
2y ago
They still have windows that you can open
14.
▲
by
Matthias247
2y ago
Are there any numbers/data for the quality of healthcare in the provinces over time? At least for housing I see the average home prices in each category (condos, townhomes, detached) still higher in Vancouver than Toronto (when googlin
15.
▲
by
Matthias247
2y ago
io_uring reduces the overhead of system calls - but it doesn't do anything to reduce the overhead of the actual networking stack. If your send/receive calls spend most CPU time in going through routing/fragmentation/filt
16.
▲
by
Matthias247
2y ago
I agree that its a very subpar solution for programming, unless you value a lot of screen estate and can deal with tiny text. 4k/5k 27" screens with appropriate font scaling make text so much easier to read and are thereby much ea
17.
▲
by
Matthias247
2y ago
I actually didn't understand it being phrased as a limitation. It could also be a feature - maybe one would prefer to look at logs for multiple services within a single query? Anyhow, the nice thing about the system is that one can get
18.
▲
by
Matthias247
2y ago
I've been working in that domain for a long time - including being one of the main architects for HTTP/3+QUIC in a public CDN offering. And I'll agree with everyone that this is very niche question, and a great answer seems o
19.
▲
by
Matthias247
2y ago
Why? If the pod is defined to spawn multiple containers, and each container runs the same application, then this seems true to me? Unless you would add an additional filter on the container name.
20.
▲
by
Matthias247
2y ago
yes it can, if you tag your log stream correctly - either by having the stream externally tagged via attributes, or internally by following certain conventions in the log line. You can also do something like select client_ip from requests w
21.
▲
by
Matthias247
2y ago
It's not easy to cancel any future. It's easy to *pretend* to cancel any future. E.g. if you cancel (drop) anything that uses spawn_blocking, it will just continue to run in the background without you being aware of it. If you can
22.
▲
by
Matthias247
3y ago
Among others: having to transmit 1200-1500byte packets individually to the kernel, which it will all route, filter (iptables, nftables, ebpf) individually instead of just acting on much bigger data chunks for TCP. With GSO it gets a bit bet
23.
▲
by
Matthias247
3y ago
Actually the benchmarks just measure the first part (cpu efficiency) since it’s a localhost benchmark. The gap will be most likely due to missing GSO if it’s not implemented. Its such a huge difference, and pretty much the only thing which
24.
▲
by
Matthias247
3y ago
We need to distinguish between performance (throughput over a congested/lossy connection) and efficiency (cpu and memory usage). Quic can achieve higher performance, but will always be less efficient. The linked benchmark actually just
25.
▲
by
Matthias247
3y ago
NICs assume stuff for TCP (segmentation offload) that they can’t do for UDP, or can only do in a very limited fashion (GSO). TLS offloads are very niche. There’s barely anyone using them in production, and the benchmarks are very likely wit
26.
▲
by
Matthias247
3y ago
And Renesas continues to produce the existing chips/architectures (like SuperH), but also adopted ARM due to customer demand.
27.
▲
by
Matthias247
3y ago
I don't think you can. The library would block the libill worker thread, which would also block all other libmill coroutines from running. The libmill channels need to yield in a way where they don't block the underlying threads.
28.
▲
by
Matthias247
3y ago
libmill ( https://github.com/sustrik/libmill ) and libdill ( https://github.com/sustrik/libdill ) should be similar and probably mentioned. As far as I understand the differences between CspChan and l
29.
▲
by
Matthias247
3y ago
HTTP Streams (and Server Sent Events - which is a predefined body format that is understood among web browsers) are supported just fine by most infrastructure - probably even better than websockets. The advantage of them is that "they
30.
▲
by
Matthias247
3y ago
It seems extracted from levels, so it's about whatever people report there.
More ›