Recent submissions

Comment · 1 month ago
The unhealthy part of smoking is the smoke, not the nicotine.
Comment · 1 month ago
Or using the saturating methods.
Comment · 1 month ago
The problem with:

    ret = ""
    for s in strings:
        ret += s
is that it re-allocates O(n) times, even if ret is referenced only once.
Comment · 1 month ago
Comment · 1 month ago
You have probably run WebAssembly without noticing it, I would call that a success.
Comment · 1 month ago
Obviously it is, I've been writing a scientific library that runs in-browser and WebAssembly has been a blessing, it's easily 10x faster than the backend Python code it replaced, and 2-5x faster than I could achieved with JavaScript.
Comment · 1 month ago
Unless you're using DNS over HTTPS they can see the unencrypted DNS traffic. There's also Encrypted Client Hello, but they can also see which IP you're connecting to.
Comment · 2 months ago
Isn't this already happening with ADHD drugs?
Comment · 2 months ago
Comment · 2 months ago
The kid dying is sad, but it could have probably been prevented if the batteries were coated with a bitter agent such as denatonium.
Comment · 2 months ago
Comment · 2 months ago
Yes, it gets boring that each time one of these supply chain attack article appears everybody starts talking about cooldowns, 2FA, MFA, etc. Just don't give Node the permissions to your complete filesystem / network.
Comment · 2 months ago
A compromised device still can't access the secure enclave.
Comment · 3 months ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton