Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
91.
▲
by
nayuki
8mo ago
That's still wrong and you've solved nothing. 32 Gb = 32 000 000 000 bits = 4 000 000 000 bytes = 4 GB (real SI gigabytes). If you think 32 Gb are binary gibibits, then you've disagreed with Ethernet (e.g. 2.5 Gb/s), Thu
92.
▲
by
nayuki
8mo ago
> some environmental regulations work and are great and should if anything be reinforced, while other environmental regulations do more harm than good and need to be reigned in or eliminated You're right. Off the top of my head, the
93.
▲
by
nayuki
8mo ago
Nah, an imperial kilobyte is 5280 bits. That's way more plausible.
94.
▲
by
nayuki
8mo ago
Nice page, and nice link to Colin Percival's page too! Let me toss you one example: CDs are marketed in mebibytes. A "650 MB" burnable CD is actually 650 MiB ≈ 682 MB, and likewise for "700 MB" being actually 700 Mi
95.
▲
by
nayuki
8mo ago
> 1 kilobyte is precisely 1000 bytes Agreed. For the naysayers out there, consider these problems: * You have 1 "MB" of RAM on a 1 MHz system bus which can transfer 1 byte per clock cycle. How many seconds does it take to read
96.
▲
by
nayuki
8mo ago
This video is very apt: https://www.youtube.com/watch?v=_tjZchYXMmA Australian Taxpayers' Alliance - "ALL Obsolete Industries Deserve The Taxi Bailout!" (1m38s) [2015-12-13]
97.
▲
by
nayuki
9mo ago
> Doin’ It With A 555: One Chip to Rule Them All > We also know that microcontrollers implement logic gates – AND, OR, NOT, NAND, etc. But you don’t have to deal with those complicated logic functions, or worse, the software that runs
98.
▲
by
nayuki
9mo ago
More on the backward compatibility of the metre, this video released 7 hours ago explains it nicely: https://youtu.be/PWbfVcDcfFw?t=1039 Joseph Newton - "Cursed Units 3: The British Empire Strikes Back". Other par
99.
▲
by
nayuki
9mo ago
> Do whatever you want for distances between stars Actually, this is very problematic as well. As it stands, astronomical distances are quoted in single/thousands/millions/billions of kilometres, astronomical units (Earth-
100.
▲
by
nayuki
9mo ago
> Do you have problems with time too? How do you cope with that? I have memorized how time and dates work, but I do not enjoy the system. Time is my biggest sore point. For starters, doing any kind of arithmetic is an exercise in pain. F
101.
▲
by
nayuki
9mo ago
> he was able to work it out in his head, and pretty quickly That's a scary ability. I wonder if that guy is equally adept at converting acre-feet to gallons, or if he's a one-trick pony. Here's what I know without looking
102.
▲
by
nayuki
9mo ago
For those who don't know: The original definition of a metre is 1/40 000 000th of a full circle of longitude of Earth. That was considered not accurate enough, so it was redefined as the length of a certain metallic bar kept in Pa
103.
▲
by
nayuki
9mo ago
The tension that you experienced is common in imperial and traditional systems of units. Here's another example for you: Carpenters working with wood use mixed feet, inches, and fractional inches (like 2' 5 3/8"), but ma
104.
▲
by
nayuki
9mo ago
Possibly yes. But every implementation of base-60 I've ever seen is actually implemented as alternating base-6 and base-10. A true base-60 would have 60 unique symbols for the different digital values, much like how in our set of ten d
105.
▲
by
nayuki
9mo ago
I hope you're comfortable with changing literally every number in society to base 12. My house cost $42A765_12. My SSN is 399-AA-5866 and phone number is (289) 257-B84A. The distance to the moon is actually 50A693_12 feet. I used the a
106.
▲
by
nayuki
9mo ago
If I understand correctly, the FPLA ( https://en.wikipedia.org/wiki/Fair_Packaging_and_Labeling_Ac... ) requires grocery items to be labeled in both American units and metric units. Metric-only is illegal in America bu
107.
▲
by
nayuki
9mo ago
https://www.reddit.com/r/Metric/
108.
▲
by
nayuki
9mo ago
I would be highly concerned if I saw a 1/3 division of an inch instead of 1/2.
109.
▲
by
nayuki
9mo ago
> I find the imperial system fits in better with that warmth of humanity Right, so you enjoy warmth such as: 1 foot = 12 inches, 1 stone = 14 pounds, 1 pound = 16 ounces. Lots of useless names and numbers to memorize compared to kilo = 1
110.
▲
by
nayuki
9mo ago
> Typical matt displays have a coating added to their surface that scatters light. However, these coatings lower contrast while producing unwanted haze and sparkle. > Etched into the glass at the nanometre level, the nano-texture scat
111.
▲
by
nayuki
9mo ago
"4k tons" is 4 gigagrams (Gg).
112.
▲
by
nayuki
10mo ago
> One part that confused me is how I needed to use let() to define startColumn and startRow inside the loop. I don’t understand this… That's because you wrote a for-loop without braces, so it can only contain a single statement, and
113.
▲
by
nayuki
10mo ago
Oh good point; I wouldn't have noticed if you didn't point it out. The last ~5 comments from yoan9224 are all in 4-paragraph format. A few comments before that are in 3-paragraph format. They all look suspiciously uniform in writi
114.
▲
by
nayuki
10mo ago
You're right. If you really want to mess with speed and distance, just rename "nautical mile" to "knot-hour". In fact, that might be a great idea for trolling – it is fewer syllables (4 vs. 2), and aviation pilots d
115.
▲
by
nayuki
10mo ago
I use the conversion factor so often that I know it by heart: 1 day = 86400 seconds. I punch that 5-digit integer into a calculator, not an approximation like 8.5e5 (which is the same length, haha).
116.
▲
by
nayuki
10mo ago
I should have explained in my original comment why I think those sentences are wrong. I'll do so now. > pumped hydro [...] can store thousands of megawatts for days. You can't "store" a megawatt – because you can only
117.
▲
by
nayuki
10mo ago
> The tried-and-true grid-scale storage option—pumped hydro [--> https://spectrum.ieee.org/a-big-hydro-project-in-big-sky-cou... ], in which water is pumped between reservoirs at different elevations—lasts for decades
118.
▲
by
nayuki
10mo ago
I had a bad time with MATLAB. https://www.nayuki.io/page/matlab-language-pet-peeves
119.
▲
by
nayuki
10mo ago
> HTML parsing is not stable and a line of HTML being parsed and serialized and parsed again may turn into something rather different This is why people should really use XHTML, the strict XML dialect of HTML, in order to avoid these nas
120.
▲
by
nayuki
10mo ago
> The ia64 is a very demanding architecture. In tomorrow’s entry, I’ll talk about some other ways the ia64 will make you pay the penalty when you take shortcuts in your code and manage to skate by on the comparatively error-forgiving i38
More ›