Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pornel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
181.
▲
by
pornel
9mo ago
Probably yes. It's ~300KB per binary, and it's a one-time cost. It can be avoided entirely by disabling the standard library, but that's inconvenient, and usually done only when writing for embedded devices. Usually the probl
182.
▲
by
pornel
9mo ago
Has anyone here even read the article?! All the comments here assume they're building a package manager for C! They're writing a tool to discover and index all indirect dependencies across languages, including C libraries that wer
183.
▲
by
pornel
9mo ago
If you can't charge at home, can't charge at work, don't park at any other place, and still need to drive a lot, then this is indeed a tough edge case. I don't have a charger at home, but when I'm travelling I stop
184.
▲
by
pornel
9mo ago
Once a week you plug it in for ~30 minutes somewhere. EVs charge unattended, so they can be left charging while you do something else. Shopping malls often have chargers. At city distances and city speeds BEVs often have enough battery to l
185.
▲
by
pornel
9mo ago
The enterprise version is just as slow. I thought they're only struggling with the free public version, but no. GitLab run on a private box is the same bag of lags and loading spinners.
186.
▲
by
pornel
9mo ago
OTOH, 60%-80% of electricity production is already renewable/low-carbon.
187.
▲
by
pornel
9mo ago
In the UK just having batteries already helps. There's a surplus of wind at night. Shifting it to 5pm peaks pays back the cost of the battery quicker than solar panels pay for themselves.
188.
▲
by
pornel
9mo ago
Too bad there are 11 players on the pitch, otherwise US could switch entirely to the football fields measurement system.
189.
▲
by
pornel
9mo ago
It used to be the same for founders. If you wanted to raise, you went to SV. SV used to be the Schelling point for funding.
190.
▲
by
pornel
9mo ago
Apple was never keen on customization, and instead they wanted to offer a good experience out of the box as a package (take it or leave it). The problem is that Apple has lost good taste and judgement. And their App Store obsession turned &
191.
▲
by
pornel
9mo ago
Redox is for CPUs that cost >$100. Xous is for CPUs that cost <$1.
192.
▲
by
pornel
9mo ago
Tesla will instead announce $20K AI-powered flying cars on Venus instead, available next year.
193.
▲
by
pornel
9mo ago
Rust doesn't have immutable memory, only access restrictions. An exclusive owner of an object can always mutate it, or can lend temporary read-only access to it. So the same memory may flip between exclusive-write and shared-read back
194.
▲
by
pornel
9mo ago
Usually it's a benefit for energy usage anyway. CPUs are most energy efficient sitting idle doing nothing, so finishing work sooner in wall-clock time usually helps despite overheads. Energy usage is most affected by high clock frequ
195.
▲
by
pornel
9mo ago
Go is weirdly careless about thread-safety of its built-in data structures, but GC, channels, and the race detector seem to be enough?
196.
▲
by
pornel
9mo ago
Both are true. Today we get a ridiculous amount of tech for <$1. ESP32 has a compute power of a PC from the early '90s (it can run Quake!), in addition to having wireless connectivity you couldn't even buy back then.
197.
▲
by
pornel
9mo ago
In short, the maximum possible speed is the same (+/- some nitpicks), but there can be significant differences in typical code, and it's hard to define what's a realistic typical example. The big one is multi-threading. I
198.
▲
by
pornel
9mo ago
When the optimizer knows writes can't change the reads, it can reorder and coalesce them. The main benefit of that is enabling autovectorization in more cases. Otherwise it saves a few loads here and there.
199.
▲
by
pornel
9mo ago
Why would it be disallowed? That's a useful service to the grid – it's renting energy storage. UK off-peak energy is mostly surplus of wind, while the peak is burning natural gas. Feeding off-peak energy back to the grid at peak t
200.
▲
by
pornel
9mo ago
Yes. It is required for W3C's DOM APIs, which give access to parent nodes and allow all kinds of mutations whenever you want. Event handlers + closures also create potentially complex situations you can't control, and you'll
201.
▲
by
pornel
9mo ago
Rust does its own testing, and regularly helps fix issues in LLVM (which usually also benefits clang users and other LLVM languages). Optimizing compilers are basically impossible to audit, but there are tools like alive2 for checking them.
202.
▲
by
pornel
10mo ago
And F-150s are called wankpanzer.
203.
▲
by
pornel
10mo ago
This syntax is ignored in HTML. The / is thrown away and has no effect. This non-closing talisman means that <div/> or <script/> are not closed, and will mess up nesting of elements.
204.
▲
by
pornel
10mo ago
NN did not reject invalid HTML. It could not incrementally render tables, while IE could. That's all. Because table layout was common, a missing </table> was a common error that resulted in a blank page in NN. That was a c
205.
▲
by
pornel
10mo ago
It's not about reach, but about not seeing a problem in being a member of Elon Musk's website.
206.
▲
by
pornel
10mo ago
But as the article shows - you don't even get consistency, since different apps pick different SF symbols for the same thing. It's just uniformity that failed to bring real user interface consistency.
207.
▲
by
pornel
10mo ago
X displays a cut down post preview to people who aren't members of the site. There's no context, no comments. It seems like the preview for not-fans-of-Elon is also missing a screenshot?
208.
▲
by
pornel
10mo ago
The complaints were that the UI was not customisable, with limited functionality, stubbornly did things the Mac way even if that was confusing to Windows users. The implementation was often slow and sometimes buggy. But it had taste and att
209.
▲
by
pornel
10mo ago
It used to be the opposite! From the end of the PowerPC era throughout most of the Intel era, the Mac OS X was the main selling point, while the hardware was slow, overpriced and overheating (they've had some nice touches like MagSafe
210.
▲
by
pornel
10mo ago
They've got the SF Symbols font, and probably assumed that's enough. Everyone has the same set of icons available, technically. It seems that Apple has nobody left who has all three at the same time: taste, attention to detail, an
More ›