Recent submissions

Comment · 3 months ago
Excellent improvement. The server-side complexity required to handle sessions has been a large burden both on infrastructure and on educating teams on its characteristics.
Comment · 6 months ago
~1.5 billion train journeys a year is “functional”.
Comment · 9 months ago
0C = Frozen!
Comment · 1 year ago
It’s hard to answer without specifics but languages shouldn’t require you to determine whether it’s safe to use an api in an async context or whether it will hang your app. I imagine some of the sharp edges you might have run into are because go has real parallelism and you have to address data sharing.
Comment · 1 year ago
This is fantastic progress for CPython. I had almost given up hope that CPython would overcome the GIL after first hitting its limitations over 10 years ago.

That being said I strongly believe that because of the sharp edges on async style code vs proper co-routine-based user threads like go-routines and Java virtual threads Python is still far behind optimal parallelism patterns.

Comment · 1 year ago
Right, in a 3rd-party library.
Comment · 1 year ago
Segfaults with no use of “Unsafe” equivalents in managed languages can give immediate indication it’s not a code problem.
Comment · 1 year ago
I believe the driver silently swapped the textures to lower quality ones that looked worse but gave a performance boost.
Comment · 1 year ago
That’s not my experience but it’d be interesting to from others on the matter.
Comment · 1 year ago
TR in the US makes sockets harder to use, but I have never heard anyone complain about TR in the UK, as the earth/ground pin is always present, and is physically longer than the live and neutral, so mechanically it is reliable and unnoticeable.

“Just baby proof” means remembering to keep those little plastic covers in place in every outlet. That doesn’t seem like superior usability.

Comment · 1 year ago
The shutter prevents someone (including children) shoving something metal into the live/hot. I have never heard of it failing. Newer US outlets (TR/tamper resistant) are way more finicky because of the optional ground pin. Sticking the little plastic covers over the outlet is a workaround.

The reason for a fuse is because of the high current capacity of ring circuits vs branch/radial. The fuse protects the power cable of appliances catching fire as they can’t handle the current available on the circuit .

Ring circuits are a thing due to minimizing copper usage when rebuilding after ww2.

Comment · 1 year ago
The switching of command and service in the argument order from the init script days still catches me out.

foo restart vs restart foo

Comment · 2 years ago
It at least has the virtualization framework now. There’s a product called Anka that plugs into Jenkins and lets you deploy macOS VM images as build agents on top of physical Apple hardware. While slower than containers, and limited to 2 VMs (?!?) you can have reproducible and sane build environments via VM images.
Comment · 2 years ago
Comment · 2 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton