Recent submissions

Comment · 1 year ago
BTW preact + hooks + router (preact-iso) is 10 kb. It's a good starting point.

And SVG icons should use svg `<use>` tag and shouldn't be counted in code size.

Comment · 1 year ago
Yes. In the case mentioned binaries written in Go (goaws). I can add all the goaws binaries into my git repo, and have a single cross platform entry point devs can call without figuring out which one is for their OS.
Comment · 2 years ago
AWS lambda and fly.io uses firecracker VMs internally. So I think it can replace containers to some extent.
Comment · 4 years ago
I took a shot at the math behind this at https://www.codepasta.com/databases/2020/09/10/shorter-uniqu...

Using the equation listed in the article I couldn't generate a collision so far. Yet, I still check (in code) for id collision, and pick new id, just to be 100% sure.

Comment · 4 years ago
It does, but at the most inconvenient time always :D
Comment · 4 years ago
Its battery lasts for several weeks. So I never realize it's battery hitting close to zero. And unluckily its hit bottom several times at the beginning of a work day. It wouldn't have hurt if they made the thing useable while plugged in.
Comment · 4 years ago
planetscale (if I need rdbms) or firestore or dynamodb (if I need just document). I checked latency of planetscale and dynamodb from frankfurt,paris,singapore from DO/linode/scaleway to db in same region; these are low latency (mostly single digit).

For single server, I'd just use sqlite.

Comment · 4 years ago
There is always places people can contribute. Look at some terrible softwares.. medical, insurance, 3pl logistics etc.. they don't need extraordinary brilliance to improve.. just UX, better systems, process and lots of area to cover.

If you can improve one industry a bit more than it is today, isn't that a sufficient place in the world?

Comment · 5 years ago
Comment · 5 years ago
Wonder what people here think of signal. I find it more user friendly than matrix. Any info about it's security vs matrix?
Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton