Recent submissions

Comment · 19 hours ago
Huge asymmetries both in bandwidth and capability between up and downstream. A lot of US users are still on DOCSIS, a lot of users worldwide behind CGNAT (less of an issue with IPv6), stateful firewalls for cellular to avoid creating unsolicited radio traffic. A ton of the bandwidth the average person is consuming is from talking to a caching box sitting in the ISP's DC. Basically the network you're connected to is optimized for feeding you lots of data and having you send back ACKs.
Comment · 15 days ago
IPFS?
Comment · 15 days ago
Apparently a good chunk of 5090s have had their chips ripped off to make frankencards for those who can't get DC cards.
Comment · 15 days ago
but one of his execs will buy and raze the whole block and build himself a luxury compound?
Comment · 16 days ago
It could be if you packed both tos variables into a single atomic and the compare and swapped the combined value.
Comment · 16 days ago
too bad it's just LARPing, underneath the covers it's the typical bloated Framer site.
Comment · 16 days ago
It drains up to 256K unread bytes period, it doesn't just optimize the case of the body not being read at all.

https://cs.opensource.google/go/go/+/refs/tags/go1.27.2:src/...

What it won't do looking at the code is handle streamed responses over transfer-encoding:chunked which means that if the other end is doing

  json.NewEncoder(responseWriter).Encode(&someStruct)
this optimization won't do anything.
Comment · 16 days ago
HTTP libraries in general are tough because HTTP in practice requires understanding of at least DNS and TLS and in a lot of cases L4 networking as well. If you try to target application developers you end up with leaky abstractions (unread H/1 body draining behavior when you don't even know what HTTP version you're using) or a library low level enough that application developers don't know how to use it. See rust's hyper and reqwest as an example of an attempt at that split.
Comment · 16 days ago
It's mostly the property of servers and clients that you interoperate with that don't speak H/2. There are other situations too like if you run a CDN and you're doing sendfile with kernel TLS, you can do stuff like the below

  sock.write('HTTP/1.1 200 OK\r\ncontent-length: ' + f.size() + '\r\n\r\n')
  sendfile(sock, f)
which wouldn't work with H2/H3. WebSockets are still in practice H/1 only (spec exists but is disabled in browsers). Another aspect is that if you're simply using HTTP as a preamble to 1 large (bidi) pipe, the extra framing and flow control of H/2 is just a performance handicap.
Comment · 17 days ago
Basically not possible to do JIT (needed for decent JS perf) on iOS for 3p apps (since that requires pages that are both writable and executable) and then on top of that Apple bans 3p browsers specifically in markets where they're allowed to.
Comment · 18 days ago
This is true of all forms of confidential compute.
Comment · 23 days ago
There are more avenues for immoral but legal behavior once you have money.
Comment · 24 days ago
Since Jan 2019
Comment · 24 days ago
Even within California there are smog-exempt counties. This makes perfect sense, things like excess NOx simply don't matter if the population density is low enough which incidentally is also true of a lot of the rest of the country. CA is the strictest with smog-related, going as far as barring federal (non-CA) vehicles from being registered unless they're 7500+ miles on the odometer. Tint should be limited to 70% VLT nationally really, but that's another topic. Other than that some north-eastern states have safety inspections which makes total sense given the rust. By developed country standards we have it very easy.
Comment · 24 days ago
Because not paying is tax evasion. If you go abroad, purchase a $50k watch, get a VAT refund then fail to declare, US Customs will fine you and probably pull your trusted traveler status. Are those people going to leave the US?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton