Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
85 ms
·
841.
▲
by
nayuki
4y ago
I see at least one subtle advantage in being multi-lingual: distinguishing concepts more clearly. I see monolingual English speakers who confuse to/too/two, there/their/they're, etc. It's hard to blame them bec
842.
▲
by
nayuki
4y ago
Note how almost every diesel locomotive has electrical generators and motors as an intermediate step because they decided that it's cheaper, more efficient, and/or lighter than having a huge gearbox. Electrification has some real
843.
▲
by
nayuki
4y ago
Decentralized stuff like .onion, Ethereum Name Service, Namecoin, ...
844.
▲
by
nayuki
4y ago
A scrolly solar system with a similar presentation style: https://joshworth.com/dev/pixelspace/pixelspace_solarsystem.... , https://hn.algolia.com/?query=If%20the%20moon%20were%20only%...
845.
▲
by
nayuki
4y ago
Capital T is tesla, a unit of magnetic flux density.
846.
▲
by
nayuki
4y ago
The correct answer in metric is 9.98 Gg (gigagrams). > we're still measuring disk sizes in half-kibibytes by default Where do you see that? Marketing and operating systems always measure disk sizes in bytes (or KB, KiB, MB, etc.), n
847.
▲
by
nayuki
4y ago
> Is total recall fair? That's what corporations and governments can do already. You might not remember what you purchased 20 years ago, but they certainly do. > Can I take back a conversation I had with you? On an increasing num
848.
▲
by
nayuki
4y ago
Yes you do. You are allowed to resell a copyrighted book. You can pillage public-domain works to your heart's content. You can use open-source software commercially.
849.
▲
by
nayuki
4y ago
> replace my 2014 MacBook Pro. It was, and is, a great machine. If not for its woefully aged processor and now-insufficient memory, I’d happily keep using it. > my MBP was struggling to manage even a single Chrome tab, and noticed tha
850.
▲
by
nayuki
4y ago
Stack Overflow too. https://stackoverflow.com/questions/1732348/cthulhu-asdfghjk...
851.
▲
by
nayuki
4y ago
It's possible to make EVs lighter by giving up range (e.g. 500 km -> 200 km), speed (e.g. max speed 150 km/h -> 100 km/h), and capacity (e.g. 2 seats). But people aren't willing to make these sacrifices because the
852.
▲
by
nayuki
4y ago
> That reason largely disappears for electric vehicles. An electric truck will still use more electrical energy to accelerate than an electric car. The cost to drive a mile in an electric vehicle is lower than a gas vehicle (maybe like o
853.
▲
by
nayuki
4y ago
> While cars tend to vault cyclists over, SUVs with large front ends run them down, resulting in more head injuries This is the perfect excuse for pro-car people to shout "But was he wearing a helmet?" in response to any incide
854.
▲
by
nayuki
4y ago
Another from About Here: https://www.youtube.com/watch?v=nYyutqP48ok "The Problem with SUVs"
855.
▲
by
nayuki
4y ago
Keep in mind that Profit = (Sale price − Production cost) × Quantity sold.
856.
▲
by
nayuki
4y ago
No, Bitcoin is like sending cash directly to the recipient. Lightning is exactly like cryptographic Hawala, with many hops along the way.
857.
▲
by
nayuki
4y ago
> assemler mnemonic representations of opcodes are not hiding anything They do hide things. There are often multiple ways to encode a line of assembly into machine code. For example on x86, JMP can take an 8-, 16-, or 32-bit displacement
858.
▲
by
nayuki
4y ago
> The first language I properly learned was C in first year of my engineering degree. [...] My experience in the class solidified my belief that programming was what I wanted to do and forged a bond with the C language that I didn’t real
859.
▲
by
nayuki
4y ago
https://docs.oracle.com/javase/8/docs/api/java/nio/MappedByt...
860.
▲
by
nayuki
4y ago
I wrote some stress-test cases for a Java library recently which involved 1-GB and 2-GB strings. On the surface, a java.lang.String should be a wrapper around a char[], whose maximum length is Integer.MAX_VALUE = 2 147 483 647. This is roug
861.
▲
by
nayuki
4y ago
The "Barebones example in C" is enshrined in Java at the language level as every object has a built-in lock and condition variable, and locking is done through the synchronized keyword. https://en.wikipedia.org/wik
862.
▲
by
nayuki
4y ago
If you're describing an image format where all subobjects are bitmaps and not vectors, and all math is done with integers, then pixel perfection is possible. Once you introduce any mildly interesting vector or typesetting feature, you
863.
▲
by
nayuki
4y ago
> The Law of Context Density: A larger context naturally emerges with a bigger screen real estate. This is so true. It's why I naturally feel dumber when I switch from a desktop computer to a laptop computer, and very stupid when wo
864.
▲
by
nayuki
4y ago
This looks a lot like YAML, especially with the non-quoted strings, colons, and indentation. It also seems to share the problems of YAML, namely a very non-uniform syntax. For example, how do you distinguish null (denoted as "?")
865.
▲
by
nayuki
4y ago
Public transit is a big factor. https://www.bloomberg.com/news/articles/2015-09-28/in-japan-... > In Japan, small children take the subway and run errands alone, no parent in sight.
866.
▲
by
nayuki
4y ago
It's a shame to see Windows Sandbox and also Docker touted as novel features. The operating system was supposed to be the original sandbox. Processes run on time slices of a virtual CPU using memory on a virtual address space and acces
867.
▲
by
nayuki
4y ago
Speaking as a complete noob here, what are some alternatives to PFAS linings? Wax? Plant-based plastics?
868.
▲
by
nayuki
4y ago
I was forced off of document.write() over 10 years ago by switching to XHTML, which doesn't support this feature (for good reason).
869.
▲
by
nayuki
4y ago
How am I being wildly uncharitable and disingenuous? The post I was replying to said: > the anti-car stuff is becoming extremely toxic and [...] finding slightly different ways to describe cars as death machines I'm refuting the com
870.
▲
by
nayuki
4y ago
That's right. Suburbanites want the freedom to drive everywhere but also limit through-traffic and noise on the street their house exists on. That's why twisty roads and culs de sac exist. "Oh The Urbanity!" argues this
More ›