Recent submissions

Comment · 11 months ago
Using Qt6 and Go.

Shows prices of:

- Cryptocurrencies

- Gold and silver

- Fiat currency rates

- Stocks

Comment · 1 year ago
This does not conflict with Andrew Kelly's point! The software is not your js code!! Your js code is s tiny fraction of the software. The rest of it (including node) has serious design issues. JavaScript is an messy interpreted dynamically-typed language with a week type system that was designed for browser 30 years ago and even its creator discourages you from using it now.
Comment · 1 year ago
This is fascinating, but for some reason I don't care enough to read it all. So I just save it to a pdf file for later maybe!
Comment · 1 year ago
So it's industry's management problem, not a tech problem.
Comment · 1 year ago
Same. Unless you want to differentiate -0 and +0 (which make it more complicated), you can not distinguish infinity from negative infinity.
Comment · 1 year ago
Yes, I meant when the result gets bigger. You get the idea.
Comment · 1 year ago
If you were to define a/0 the most logical choice would be a new special value "Infinity". The second best choice would be the maximum supported value of the type of a (int, int64 etc). Anything else would be stupid.
Comment · 1 year ago
That's nonsense. a/b is float in Python 3, and even in other languages a/b gets closer to it's actual value as a and b get bigger (the "limit", which is the basis of Algebra). So four operations in programming generally do agree with foundations of Algebra. But a/0=0 is %100 against Algebra. And it's very unintuitive. It's basically saying zero is the same as infinity, and therefore all numbers are the same, so why bother having any numbers at all?
Comment · 1 year ago
Who is Zoe if not you?!
Comment · 2 years ago
Checking the resistance of some cheap Chinese clip leads I bought. The way these are crimped often doesn't make great contact. But even after soldering them, the resistance was still high. The wires were really thin, but it turns out, the resistance was still high considering that. It turns out, the wires, though they look like copper, are made of iron and coated with copper!
Comment · 2 years ago
If you don't give the binary or source to anyone else, no. If you do, you have to give them the rights to use the source code under GPL.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton