News for hackers. Stuff that matters.
Re:Apple agrees to settle potential class action suit by U.S... by banana_giraffe on Thursday August 26, 2021 @10:39PM (#28323745)
Re:Apple agrees to settle potential class action suit by U.S... by jrockway on Thursday August 26, 2021 @10:42PM (#28323767)
That's a good one. Since legacy code is less likely to change than the English language, I just call it a "referer" in writing unrelated to HTTP. That way, I'm never confused. (Everyone else? Good luck.)
Re:Apple agrees to settle potential class action suit by U.S... by dhosek on Friday August 27, 2021 @12:05AM (#28324177)
I used to do technical writing and for some software that I wrote the manual and help system for, one of the menu items was misspelled. I spelled the word correctly in the text describing its functionality, but whenever I referred (so to speak) to it directly as the menu item to be selected, I kept the misspelling (this was the early 90s, the days of people saying non-ironically that they couldn't find the "any" key on their computer).
Re:Apple agrees to settle potential class action suit by U.S... by grenoire on Friday August 27, 2021 @12:59AM (#28324452)
Pretty sure people still can't find the any key, we just stopped asking them to!
Re:Apple agrees to settle potential class action suit by U.S... by curryst on Friday August 27, 2021 @09:53AM (#28327812)
Yep, I get some prompts now that say "Press the $X key" (often space), but will actually proceed if you hit any key. It always give me a touch of chuckles when I think about why they named a specific key then.
Re:Apple agrees to settle potential class action suit by U.S... by inopinatus on Thursday August 26, 2021 @11:40PM (#28324056)
I once saw this implemented as a regex. Unfortunately the regex was refer*er.

“Tests pass, ship it”

Re:Apple agrees to settle potential class action suit by U.S... by exikyut on Thursday August 26, 2021 @11:46PM (#28324094)
The tests clearly did not include spinning up an HTTP server and actually using the correctly-spelled header (as per correct English), then.
Re:Apple agrees to settle potential class action suit by U.S... by dqv on Thursday August 26, 2021 @11:47PM (#28324098)
I don't know enough about overflows, but that could theoretically be exploited, right? referrrrrrrrrrrrrrrrrrrrrrrrrrrer
Re:Apple agrees to settle potential class action suit by U.S... by zeusk on Thursday August 26, 2021 @11:56PM (#28324135)
inb4 refeer (should've used referr?er)
Re:Apple agrees to settle potential class action suit by U.S... by xmprt on Friday August 27, 2021 @01:32AM (#28324594)
I also feel like this is a buffer overflow waiting to happen. If somehow someone makes the header length way longer than expected (eg. referrrrrrrrrrrrrrer).
Re:Apple agrees to settle potential class action suit by U.S... by jsjohnst on Friday August 27, 2021 @08:55AM (#28327192)
? is 0 or 1 instances of the preceding character, so referrrrrrrrrrrrrrer wouldn’t match /referr?er/, only referer or referrer.

Proof: https://regex101.com/r/s56ebD/1

Re:Apple agrees to settle potential class action suit by U.S... by xmprt on Friday August 27, 2021 @03:40PM (#28332143)
I'm replying to the grandparent comment. I said "Also" meaning I was adding onto your comment.
Re:Apple agrees to settle potential class action suit by U.S... by dhosek on Friday August 27, 2021 @12:01AM (#28324161)
Lets not forget the misspelling of guillemet as guillemot that is now firmly embedded into PostScript and Adobe software with no chance of ever being fixed.

Unicode sidestepped the issue by naming the characters RIGHT/LEFT-POINTING DOUBLE ANGLE QUOTATION MARK.

Re:Apple agrees to settle potential class action suit by U.S... by Someone on Friday August 27, 2021 @03:03AM (#28325109)
Unicode also documents its mistakes in technote 27 “Known Anomalies in Unicode Character Names” (https://unicode.org/notes/tn27/), with remarks such as

“U+034F COMBINING GRAPHEME JOINER

The name does not describe the function of this character. Despite its name, it does not join graphemes”

“The use of the spelling lamda derives from ISO 10646. This does not mean that it is more correct than lambda, merely that the spelling without the 'b' is the one used in the formal character names”

“A spelling error: "brakcet" should be "bracket". A formal alias correcting this error has been defined”

Re:Apple agrees to settle potential class action suit by U.S... by mananaysiempre on Friday August 27, 2021 @08:17AM (#28326833)
I’ve heard Greeks insist that lamda is indeed correct (as a non-misleading approximation of something like [lamða], not necessarily as an English spelling), so that part might have been a deliberate result of the ISO process.

(There’s also the name caron for the haček, apparently not used by anyone before the 80s; per the official FAQ:

Q: Why is the haček accent called “caron” in Unicode?

A: Nobody knows.)

Re:Apple agrees to settle potential class action suit by U.S... by Someone on Friday August 27, 2021 @10:19AM (#28328096)
Re:Apple agrees to settle potential class action suit by U.S... by asddubs on Friday August 27, 2021 @06:52AM (#28326227)
Why can't unicode change the names of the glyphs?
Re:Apple agrees to settle potential class action suit by U.S... by Someone on Friday August 27, 2021 @07:13AM (#28326340)
From that page:

“Because Unicode Standard is a character encoding standard and not the Universal Encyclopedia of Writing Systems and Character Identity, the stability and uniqueness of published character names is far more important than the correctness of the name. The published character names are normative for the purposes of the Unicode standard and the large number of other IT standards that reference it. These standards require stable identifiers and character names must therefore be immutable — any change of character names is almost as disruptive of the standards as changing code points for characters would be. Accordingly, the Unicode Consortium has adopted the Name Stability Policy, preventing changes in character names. As a result, errors in character names cannot be corrected. Instead, important character name anomalies anomalies (SIC) are documented with annotations in the Unicode Character Code Charts.”

Also because somebody, somewhere, might have used those names to look up Unicode code points.

Part of each Unicode release is a file named “UnicodeData.txt” (https://unicode.org/Public/13.0.0/ucd/UnicodeData.txt), so those strings are public information.

Re:Apple agrees to settle potential class action suit by U.S... by jfk13 on Friday August 27, 2021 @09:29AM (#28327555)
Just a note in passing: Unicode doesn't name glyphs; it names characters.