News for hackers. Stuff that matters.
Re:Diet Coke probably isn't a cognitive performance enhancer by LeifCarrotson on Monday June 13, 2022 @02:33PM (#31729555)
Let me check my spam folder - yeah, there are tons of phishing attempts with unusual combinations of hyphens, no hyphens, and company/inc/group that have similar amounts of legitimacy. A domain of coca-colacompany.com doesn't seem that unusual.

Oh, you mean the

    #:~:text=
URI fragment - yeah, that is weird! I wonder what the function of the :~ emoji is in their CMS. I know from painful experience that XML names can begin with a colon [1]; I fear that an identifier which is only a colon features prominently in their schema...

I also enjoyed the line at the bottom, in corporatese nonanswer to the question "Is caffeine addictive?"

> We know that not everyone drinks caffeine and not everyone wants to drink it all the time, so we also offer a range of caffeine-free beverages, including [insert local caffeine-free example] so people can make the choice for them and their families.

Someone in some committee vetoed 'including water', much to the chagrin of the Dasani and Smartwater reps in the meeting... or maybe they were duking it out with the new Aha guy and there was no clear winner yet.

[1] https://www.w3.org/TR/REC-xml/#NT-NameStartChar

Re:Diet Coke probably isn't a cognitive performance enhancer by maleno on Monday June 13, 2022 @02:38PM (#31729628)
It's not a CMS thing, it's a Chrome thing.[1] It highlights the text in the URI fragment when you click through to the page, and also auto-scrolls to that text.

[1] https://web.dev/text-fragments/

Re:Diet Coke probably isn't a cognitive performance enhancer by acka on Monday June 13, 2022 @03:12PM (#31730226)
It appears that Google Search has started to add those text fragments onto URLs in search results. Is there a setting or a browser extension that allows me to get rid of them?
Re:Diet Coke probably isn't a cognitive performance enhancer by Sylamore on Monday June 13, 2022 @04:34PM (#31731420)
Bing does it too
Re:Diet Coke probably isn't a cognitive performance enhancer by LeifCarrotson on Monday June 13, 2022 @03:07PM (#31730146)
TIL! I'm a Firefox user, so didn't see anything.
Re:Diet Coke probably isn't a cognitive performance enhancer by atombender on Monday June 13, 2022 @02:39PM (#31729667)
It's called a text fragment, and it's a draft standard: https://wicg.github.io/scroll-to-text-fragment/.
Re:Diet Coke probably isn't a cognitive performance enhancer by echelon on Monday June 13, 2022 @09:57PM (#31733975)
Great info on the fragment, but I was calling out the domain name for being "mixed kebab case". The half hyphenation is correct, but jarring.