Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jhugo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
45 ms
·
631.
▲
by
jhugo
4y ago
Yup, `dd` helps in a lot of situations when you need portability, not just this one. Commands like `cp --sparse=always` aren't worth such a blanket disrecommendation though; if you are working directly at a console as opposed to script
632.
▲
by
jhugo
4y ago
the rest: "... Amsterdam has been six metres underwater for ages, and that’s a really nice place. We will cope with it." I think he's making a pretty decent point, but "who cares" is probably the worst way to start
633.
▲
by
jhugo
4y ago
The one I typed is unlikely (I wrote it in response to your "Anything after the `cat file |` can't overwrite the file", which is factually incorrect as demonstrated), but there are plenty of other simple mistakes. Understand
634.
▲
by
jhugo
4y ago
That seems like a bad reason. You can always overwrite the file by messing up the command. cat file | cat > file (This won't, as you might hope, leave the file unchanged.) Re-read what you typed before hitting enter, and keep
635.
▲
by
jhugo
4y ago
It doesn't assume gzip, it detects the compression format.
636.
▲
by
jhugo
4y ago
Yup, I remember when you had to pass `z` if it was gzip, and I remember my surprise when I missed it once and it still worked (apparently about 5 years after it was no longer needed!)
637.
▲
by
jhugo
4y ago
or just use `cp --sparse=always` if it's from one file to another
638.
▲
by
jhugo
4y ago
head -b 440 /usr/lib/syslinux/bios/mbr.bin > /dev/sda
639.
▲
by
jhugo
4y ago
This is oversimplifying things. Bluetooth devices are typically much closer than WiFi devices, and need less bandwidth. The protocol has less overhead (on modern BT devices). It's true that implementation quality of BT devices is typic
640.
▲
by
jhugo
4y ago
Yes, and if you don't need dynamic size you can use an array (of any size). The lack of trait implementations is generally a minor inconvenience in the scale of the various inconveniences of writing an OS. It doesn't stop you doin
641.
▲
by
jhugo
4y ago
Do you have any more evidence for some of the claims made in those texts than you do for the claims made in religious texts? Read them all as fiction, but they're still culturally significant and a lot can be learned by reading them, e
642.
▲
by
jhugo
4y ago
How do you know that? Success can be measured in many ways, many of them not public.
643.
▲
by
jhugo
4y ago
Yes, I know, but the trait limitation only applies to arrays, not to Vec. Many people coming from other languages would reach for Vec first when they want an "array". I believe that misunderstanding the meaning of "array"
644.
▲
by
jhugo
4y ago
Since nobody else mentioned it, it's worth pointing out that what e.g. JS calls an array is Vec in Rust and can be as long as you want, with no ergonomic difference regardless of the length. Array in Rust specifically refers to an arra
645.
▲
by
jhugo
4y ago
There are myriad models available with headphone jacks. If it's an important feature to you, you have a lot of choice.
646.
▲
by
jhugo
4y ago
Worst case extra latency added by a Bluetooth headset is less of an issue, you are close and congestion is less of a problem. Home WiFi generally has really bad worst case latency and variability (jitter), removing it from the path is one o
647.
▲
by
jhugo
4y ago
For distributed teams the Internet RTT between a pair of call participants is frequently higher than 300ms, and that's unloaded -- if the connection is marginal then average RTT could be much higher. Wi-Fi is also a huge contributor to
648.
▲
by
jhugo
4y ago
The opinion is very readable, and includes a summary at the top which covers some background, the issues considered, and the decision.
649.
▲
by
jhugo
4y ago
> mid-range phone I said "phones", without qualification. So while your factoid is interesting, it has little to do with what I wrote.
650.
▲
by
jhugo
4y ago
Phone are available with and without headphone jacks. The ones without sell better. The ship has sailed, move on.
651.
▲
by
jhugo
4y ago
Eh? I'm not mining anything on anything, just pointing out what the commenter I replied to left out. If power is free then any hashrate is profitable. With "typical" power prices you basically need ASICs. In the middle there
652.
▲
by
jhugo
4y ago
, if you are paying typical prices for electricity. Most people are, but many major mining operations are not.
653.
▲
by
jhugo
4y ago
It's fairly obvious to me that it was sarcasm.
654.
▲
by
jhugo
4y ago
I doubt they would prohibit use. They'd just control the TLD (as they effectively already do, just more indirectly) and potentially apply different policies than are currently applied w.r.t eligibility for registration/renewal.
655.
▲
by
jhugo
4y ago
Google uses theirs (.google, .goog, .gle, .youtube) both for public and infrastructure stuff. Same with AWS (.aws). For things like `pki.goog` or `ecr.aws` I think it makes a lot of sense; compared to an equivalent .com domain it removes th
656.
▲
by
jhugo
4y ago
Another person with that family name is a Canadian professional ice hockey player. A lot of family names are pretty common, it turns out.
657.
▲
by
jhugo
4y ago
Of course it's an issue; the cost of finding out why it sank is huge because it didn't have telemetry.
658.
▲
by
jhugo
4y ago
Sure, but then you'll have to ship the batteries separately and those battery ships will have the same concerns but multiplied due to higher density.
659.
▲
by
jhugo
4y ago
What's your point? Of course the avoidance of a human tragedy is great but the cost of this incident (to the shipping company, automotive manufacturers, insurers, environment) was enormous. It makes perfect sense to try to understand i
660.
▲
by
jhugo
4y ago
The recorder contains alarms and other data as well as the conversations on the bridge. As I understand it, they're like an aviation CVR and FDR but combined. Just like with aircraft accidents, the conversations can provide as much (or
More ›