Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
61.
▲
by
nayuki
6mo ago
Well, that escalated quickly. From skimming the first few screenfuls of the page, I thought it was going to be about a beginner programmer's first time dissecting the low-level bit structure of floating-point numbers and implementing s
62.
▲
by
nayuki
6mo ago
Zscaler was deployed on a Windows 11 machine at a place that a friend worked at. When I assessed the software, its behavior was downright evil like malware. As we all know, it injects its own root certificate into the operating system in or
63.
▲
by
nayuki
7mo ago
I have a different take on the same topic: https://www.nayuki.io/page/java-biginteger-was-made-for-rsa-... My article isn't written as a step-by-step tutorial and doesn't come with example numbers. But mine f
64.
▲
by
nayuki
7mo ago
> Most consumers are using laptops and laptops are not keeping pace with where the frontier is in a singular compute node. Laptops are increasingly just clients for someone else's compute that you rent, or buy a time slice with your
65.
▲
by
nayuki
7mo ago
True. A most basic CRC implementation is about 7 lines of code: (presented in Java to avoid some C/C++ footguns) int crc32(byte[] data) { int crc = ~0; for (byte b : data) { crc ^= b & 0xFF;
66.
▲
by
nayuki
7mo ago
Just like that author, many years ago, I went through the process of understanding the DEFLATE compression standard and producing a short and concise decompressor for gzip+DEFLATE. Here are the resources I published as a result of that expl
67.
▲
by
nayuki
7mo ago
> Microsoft PowerToys feels like something that shouldn’t exist in Windows today. What started in 2019 as a couple of utilities for things like window and shortcut management has gradually expanded to nearly 30 useful tools Year 2019? Oh
68.
▲
by
nayuki
7mo ago
If I understand correctly, the "buy borrow die" strategy of tax avoidance hinges on these aspects of the tax code: Buying an asset is not a taxable event. Holding onto an asset and letting it appreciate is not a taxable event. Bor
69.
▲
by
nayuki
7mo ago
> Loaned money isn't taxable income, so you can save/spend it without affecting your tax rate. > Death is a popular escape from deferred taxes. When you die, your obligations to the government vanish. Your heirs inherit asse
70.
▲
by
nayuki
7mo ago
Then by your definition, SQLite isn't open-source because it's a code dump with a license, but outsiders are not allowed to participate in shaping (the official copy of) the code.
71.
▲
by
nayuki
7mo ago
Their hypothetical approach of extending IPv4 reminds me of how TLS v1.3 masquerades as v1.2 in order to pass through meddling middleboxes safely.
72.
▲
by
nayuki
7mo ago
There are a handful of neighborhood and street names used in Toronto (not necessarily from Toronto) that have unusual pronunciations. Here I'll give some triples of (English spelling, actual pronunciation (IPA), a naive pronunciation
73.
▲
by
nayuki
7mo ago
Upvoted, and the English prose is pretty good in spelling and grammar, but the metric units in the writing need improvement. > 10 microns "Micron(s)" is a deprecated word since 1967 and "micrometre(s)" must be used in
74.
▲
by
nayuki
7mo ago
Windows autoscroll makes this game too easy. This feature was introduced a very long time ago, possibly with the IntelliMouse in the year 1996. Press on the scroll wheel (considered to be middle-click) and release the button, which overlays
75.
▲
by
nayuki
8mo ago
2026 minus 2014 is 12 years
76.
▲
by
nayuki
8mo ago
I mistakenly thought that YouTube hit a compatibility problem with my Firefox browser. The only breakage I could see was that the right sidebar of related/recommended videos disappeared. But I was watching several videos consecutively
77.
▲
by
nayuki
8mo ago
> many are opting for digital only variants DVDs and BDs are digital.
78.
▲
by
nayuki
8mo ago
Toronto Parking Authority is guilty of this. If you pay at a terminal on the street, then you're charged the exact amount needed for your parking session. If you pay using the mobile app, then it charges your credit card in increments
79.
▲
by
nayuki
8mo ago
Or even use a computer to custom-format the card with a hilariously small partition (e.g. 128 MB on a 128 GB card).
80.
▲
by
nayuki
8mo ago
If you have an ISO-invariant camera, then yes - the final image would look the same whether you shot at low ISO and raised it in post versus shooting at a high ISO and doing no further editing. You can try it yourself. Or you can read the n
81.
▲
by
nayuki
8mo ago
Excellent presentation and explanation. I agree with ~90% of it except the small part at 4m54s where he tries to give an answer about the existence of noise. Yes, sensor readout noise and A/D quantization noise exist, but he forgot the
82.
▲
by
nayuki
8mo ago
Agreed. In other words, ISO is not exposure . Exposure is purely about how much light arrives on the sensor - which is a combination of scene illumination, object reflectivity, relative aperture, and shutter speed. ISO only plays a part in
83.
▲
by
nayuki
8mo ago
> no-unsigned-integers [...] still bothers me I like the lack of unsigned integers in Java. It simplifies the language while only removing a tiny bit of functionality. You can emulate almost all unsigned math using signed operations, whe
84.
▲
by
nayuki
8mo ago
> Some people who never play the piano claim it would be easier if had all white keys, or simply white alternating with black. Actually, I'm one of those people. For over 20 years, I struggled with playing piano because I would have
85.
▲
by
nayuki
8mo ago
> no one is going to confuse mB for millibytes because what would that even mean? Data compression. For example, look at http://prize.hutter1.net/ , heading "Contestants and Winners for enwik8". On 23.May'
86.
▲
by
nayuki
8mo ago
This is a frustrating replay of the DRM (digital rights management) / copy protection debate from about 20 years ago. That time, it was about restricting fully general-purpose computers and storage devices from copying or displaying ce
87.
▲
by
nayuki
8mo ago
> setting weights and measures by local and trade tradition and it was a nightmare Adding to your point, it is human nature to create industry- or context-specific units and refuse to play with others. In the non-metric world, I see exam
88.
▲
by
nayuki
8mo ago
Not true. Several SI prefixes already overlap with units. m is both metre and milli-. T is tesla and tera-. c is a prefix of candela (cd) but also centi-. (G is gauss (cgs unit, not mks/SI) and giga-.)
89.
▲
by
nayuki
8mo ago
It's "referer" in the HTTP standard, but "referrer" when correctly spelled in English. https://en.wikipedia.org/wiki/HTTP_referer
90.
▲
by
nayuki
8mo ago
> They didn't abuse the definitions. Yes they did. Kilo- means 1000 in SI/metric. The computer industry decided, "Gee that looks awfully close to 1024. Let's sneakily make it mean 1024 in our context and sell our RAM
More ›