Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rmunn
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
70 ms
·
631.
▲
by
rmunn
1y ago
> ... Batchelder's piece on the "Unicode Sandwich," ... Is this the piece you mean? https://nedbatchelder.com/text/unipain.html
632.
▲
by
rmunn
1y ago
Which is why I've seen lots of people recommend testing your software with emojis, particularly recently-added emojis (many of the earlier emojis were in the basic multilingual plane, but a lot of newer emojis are outside the BMP, i.e.
633.
▲
by
rmunn
1y ago
"... would it not be better if all the "Unicode-unaware" apps at least supported the BOM (stripping it, in the simplest case)?" What that question means is that the Unicode-unaware apps would have to become Unicode- awar
634.
▲
by
rmunn
1y ago
My search also turned this up: https://x.com/jbogard/status/1111328911609217025 If that link doesn't work, then try: https://xcancel.com/jbogard/status/1111328911609217025 Source (w
635.
▲
by
rmunn
1y ago
Oh wow. Doing a quick search I found https://www.xml.com/axml/notes/BOM.html ... which is marked © 1998. Not ALL of the 20th-century Internet has bit-rotted and fallen apart yet. (Just most of it).
636.
▲
by
rmunn
1y ago
Probably a good idea, but when UTF-8 was designed the Unicode committee had not yet made the mistake of limiting the character range to 21 bits. (Going into why it's a mistake would make this comment longer than it's worth, so I&#
637.
▲
by
rmunn
1y ago
Sun Tzu would like a word or two with you.
638.
▲
by
rmunn
1y ago
The fact that you advocate using a BOM with UTF-8 tells me that you run Windows. Any long-term Unix user has probably seen this error message before (copy and pasted from an issue report I filed just 3 days ago): bash: line 1: #!
639.
▲
by
rmunn
1y ago
I'm assuming you misspelled Shift-JIS on purpose because you're sick and tired of dealing with it. If that was an accidental misspelling, it was inspired. :-)
640.
▲
by
rmunn
1y ago
UTF-16 is simpler most of the time, and that's precisely the problem. Anyone working with UTF-8 knows they will have to deal with multibyte codepoints. People working with UTF-16 often forget about surrogate characters, because t
641.
▲
by
rmunn
1y ago
Me, a tabletop RPG gamer and board gamer who hasn't played computer games in years (literally more than a decade): "Huh, that's interesting. Why are they rolling a 12-sided die between 1 and 3 times, choosing how many times i
642.
▲
by
rmunn
1y ago
So you don't believe in extrapolating from past experiences elsewhere? Good luck with that as you go through life. Personally, I don't do anything so formal as calculating Markov chains, but I certainly think that patterns of past
643.
▲
by
rmunn
1y ago
Certainly torrenting the same tracks you'd paid for through whatever no-downloads-allowed store, if you can find those tracks, would be fewer steps, and whoever put those up would likely have tagged them already. But if you have obscur
644.
▲
by
rmunn
1y ago
It's not that hard to set up Audacity to record the audio loopback input on your computer; https://manual.audacityteam.org/man/tutorial_recording_compu... is a way to do it on Windows, and if you're on Linux
645.
▲
by
rmunn
1y ago
For that specific question, none; I'm extrapolating from past experience, mostly not mine but other people's (who told me stories). For regulators in general doing dumb things? Lots and lots of examples all over the place. Talk to
646.
▲
by
rmunn
1y ago
What I mean is that if they don't add it, they're going to get threatening emails from regulators saying "Hey, you don't have a cookie banner". Those regulators don't have any way of knowing how their site oper
647.
▲
by
rmunn
1y ago
I don't use the Youtube app on mobile, precisely because I've been unable to block ads in it. Instead, I do one of two things: either pre-download the video with yt-dlp then copy the .mp4 to my phone and watch it with the VLC app,
648.
▲
by
rmunn
1y ago
Considering they have a login system, I'm going to guess that the cookie includes your login (probably in JWT form), which automatically makes it essential to site functionality. Which means the banner is there just because if it was a
649.
▲
by
rmunn
1y ago
BTW, I'm aware that yt-dlp is against Youtube's terms of service, but in America, the right to timeshift a broadcast was well-established in the days of VCRs by multiple court precedents. It has never been tested in court whether
650.
▲
by
rmunn
1y ago
> Also, YouTube Premium because I can't stand ads. Yes, I'm aware I'm paying the mafia thugs to leave me alone. It sucks. uBlock Origin has been able to block 100% of Youtube ads in my experience so far; granted I don'
651.
▲
by
rmunn
1y ago
I know several linguists who also know more than a little about computers. The number of times I've heard rants about the Unicode committee rejecting a perfectly valid historical character, yet adding more "modern hieroglyphics&qu
652.
▲
by
rmunn
1y ago
So when white people have emojis available that more accurately reflect their skin tone than the neutral-yellow one, and yet they prefer to use the one that DOESN'T reflect their skin tone nearly as well, to me that's pretty stron
653.
▲
by
rmunn
1y ago
So that cucumber and tomato salad with vinegar dressing... is a fruit salad, as 100% of its ingredients are fruit or processed fruit. (As long as you leave off the onions).
654.
▲
by
rmunn
1y ago
Norton, McAfee, in fact most virus scanners. Plenty of examples I've heard about but haven't actually used myself so I can't confidently assert the quality of the software. But Windows ME, Norton, and McAfee, I have personal
655.
▲
by
rmunn
1y ago
I'm not the one who made that assertion, but... Windows Millenium Edition almost makes his case all by itself.
656.
▲
by
rmunn
1y ago
To reply to your edit: the fact that he wrote this in an example does not mean that he would write this in actual code . Examples are often contrived. The guy you're replying to clearly meant "no Zig developer would write this
657.
▲
by
rmunn
1y ago
Too late for me to edit my comment, but you're correct; thanks for catching that.
658.
▲
by
rmunn
1y ago
Then you might want to update the Wikipedia article which claims that it's a fallacy "in which one modifies a prior claim in response to a counterexample by asserting the counterexample is excluded by definition", citing thre
659.
▲
by
rmunn
1y ago
No True Scotsman is only a fallacy when it involves changing your definitions after counterexamples are presented. But it can also be insisting on a non-standard definition. E.g., "No true Scotsman would hate haggis!" "You&#x
660.
▲
by
rmunn
1y ago
I found the bits-of-entropy analysis hard to follow, so here's how I explained the solution to my wife (who's not a programmer). SPOILERS FOLLOW as I will be discussing the answer. Looking at the table, device 3 obviously tells yo
More ›