Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cr212
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
cr212
5y ago
It's important to distinguish: asset1 = await httpGET(...) asset2 = await httpGET(...) from: assets = await Promise.join(httpGET(...), httpGET(...)) asset1 = assets[0] asset2 = assets[1] Where the first does one req
2.
▲
by
cr212
5y ago
some disadvantages: i) There's RuntimeException which is an unchecked exception which could happen anywhere, so even the absence of a throws is not a guarantee of not throwing. ii) In order to avoid many different throws specifiers, yo
3.
▲
by
cr212
6y ago
I think it was the ZX81 (and later the Spectrum) where my brother and I had it hooked up to the mains on my parent's boat. The problem was there was only one 12V battery (via a voltage regulator) which not only powered lights and our c