Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
duskwuff
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
31 ms
·
571.
▲
by
duskwuff
1y ago
As an aside: UTF-8, as originally specified in RFC 2279, could encode codepoints up to U+7FFFFFFF (using sequences of up to six bytes). It was later restricted to U+10FFFF to ensure compatibility with UTF-16.
572.
▲
by
duskwuff
1y ago
UTF-16 also had a bunch of unfortunate ramifications on the overall design of Unicode, e.g. requiring a substantial chunk of BMP to be reserved for surrogate characters and forcing Unicode codepoints to be limited to U+10FFFF.
573.
▲
by
duskwuff
1y ago
> The grande crime was that we squandered the space we were given by placing emojis outside the UTF-8 specification I'm not sure what you mean by this. The UTF-8 specification was written long before emoji were included in Unicode,
574.
▲
by
duskwuff
1y ago
Your understanding is incorrect; a substantial number of the ranges allocated outside BMP (i.e. above U+FFFF) are used for CJK ideographs which are uncommon, but still in use, particularly in names and/or historical texts.
575.
▲
by
duskwuff
1y ago
Bonus word: if you want to sound all fancy, beekeeping is also known as apiculture .
576.
▲
by
duskwuff
1y ago
Not to any meaningful degree. Lynx (or other terminal-based browsers) would be an extraordinarily poor choice of browser for a non-sighted user, as it lays text out visually in the terminal (e.g. using color and indentation to distinguish b
577.
▲
by
duskwuff
1y ago
It's not even just ad segments or sponsor logos anymore. Some sports networks will have representatives from betting agencies in their pre-game shows to talk about the odds.
578.
▲
by
duskwuff
1y ago
> No substitute to professional equipment and a doctors visit. Of course. The purpose of this feature is to tell the right people that they might have a problem, and that they should ask a doctor about it - just like they've done in
579.
▲
by
duskwuff
1y ago
I think it is. I've seen similar rhetoric from a few people in this thread, and it's extraordinarily silly. Apple is not developing this technology to make it harder to install torrent apps*; there's real problems they'r
580.
▲
by
duskwuff
1y ago
Another corollary is that, if you're designing a data compression format, you try to avoid having sequences in your compressed data which are invalid, or which a compressor would never emit. Either one is probably a waste of bits which
581.
▲
by
duskwuff
1y ago
Good news: there are tools like https://github.com/mvdan/gofumpt which fork gofmt and enforce stricter rules (while remaining invariant under gofmt).
582.
▲
by
duskwuff
1y ago
> An hour of audio in 64MB would absolutely not be “CD-quality.” At 128 kbps, you can fit a bit over an hour of audio into 64 MB. Which isn't great , especially not using a late-90s MP3 encoder, but it's perfectly listenable.
583.
▲
by
duskwuff
1y ago
However, note that using a random function as the comparator for a sort function does not generally result in an unbiased shuffle.
584.
▲
by
duskwuff
1y ago
That isn't a genetic change either, though. Those species of turtle either lack the typical sex-determining chromosomes entirely, or have sex-determining chromosomes which can be inactivated during development. The genotype doesn'
585.
▲
by
duskwuff
1y ago
That's a separate effect, known as acromelanism, or "point coloration". It's the result of an enzyme which is inactivated by higher temperatures, not a genetic change - the extent of pointing can change over an animal&#x
586.
▲
by
duskwuff
1y ago
Let me put this a bit differently: Type 2 diabetes is both genetic and can be acquired during one's life (e.g. through bad dietary choices). But a man who develops diabetes does not acquire genetic T2D by doing so - he cannot pass it o
587.
▲
by
duskwuff
1y ago
So if you're doing B2B business primarily within the US, you have to hire/fire a bunch of employees in different states every time you sign a new contract? That sounds incredibly burdensome.
588.
▲
by
duskwuff
1y ago
Blindly seeking into XML data is a risky, error-prone approach. It's not impossible to do, but doing it correctly is difficult - even if the tags you're looking for are unique, there are a lot of messy edge cases involving comme
589.
▲
by
duskwuff
1y ago
"Plug and charge" is a thing, and is supported by some vehicles and charging stations. Unfortunately, it's not universal (yet), but the standards are there.
590.
▲
by
duskwuff
1y ago
Holy crap. I was not aware of that context - that's wild.
591.
▲
by
duskwuff
1y ago
You can't* index into XML. You have to read through the whole document until you get to the part you want. *: without adding an index of your own, at which point it isn't really XML anymore, it's some kind of homebrew XML-bas
592.
▲
by
duskwuff
1y ago
It's a leaked copy of the System 7.1 source code - just the System itself; it doesn't include any applications, control panels, or extensions. (So code for things like the Finder or QuickTime aren't included.) I'm not ce
593.
▲
by
duskwuff
1y ago
As an aside, you could also have gotten this data from the source code: https://github.com/historicalsource/supermario/blob/master/b... :)
594.
▲
by
duskwuff
1y ago
You might be surprised how inexpensive a small Linux-capable MPU is. The Rockchip RV1103 (1x Cortex-A7 @ 1.2 GHz, 64 MB integrated DRAM) is under $3 in quantity. High-end microcontrollers are actually more expensive than low-end MPUs, e.g
595.
▲
by
duskwuff
1y ago
> The strategic goal of "dumping" is to drive competitors (the example here being the US solar panel industry) out of a market Which makes very little sense, because the US solar panel industry is practically nonexistent. There
596.
▲
by
duskwuff
1y ago
The "goals" of the license are irrelevant. What matters from a legal perspective is the text of the license, and every time that text sets legal conditions which reference specific technologies like "linking", "obje
597.
▲
by
duskwuff
1y ago
GPL also gets incredibly ambiguous when it's applied to anything that isn't software written in a language like C for a personal computer. (What does "linking" even mean with respect to a Javascript library, for instance
598.
▲
by
duskwuff
1y ago
> But two, Apple has taken a long time to react to this guy providing proof of his Maltese residence, so that’s on them for being an unresponsive bottleneck. Someone I know has Maltese citizenship. From the stories they've told, th
599.
▲
by
duskwuff
1y ago
> Many Adafruit boards come with micropython which could also be seen as a waste of resources. Yet for low volume semi pro applications, the ease of development warrants the overhead. As a reality check: MicroPython can run in 16 KB of R
600.
▲
by
duskwuff
1y ago
> Running Linux makes it much easier to develop than a plain RTOS. I'm not convinced that's true. All of the microcontroller tooling I've seen has been built around RTOS development; I've never seen anything compara
More ›