Live data from Hacker News

What every software developer must know about Unicode in 2023

tonsky.me

51–60 of 572 posts

Re: What every software developer must know about Unicode in 2023

#52
post #41

What on EARTH is that mouse cursor thing all about? Why would you even bother writing this, then making it impossible to read properly?

It's tracking every visitors' cursor and sharing it with every other visitor.

Why would a frontend developer demonstrate their ability to do frontend programming on their personal, not altogether super-serious blog? I meant that rhetorically but it's a flex. I agree, not the best design in the world if you're catering for particular needs, but simple and fun enough. You should check out dark mode.

In that vein, I think it's okay if we let people have fun. That might not work for everyone, but why should we let perfect be the worst enemy of fun?

Re: What every software developer must know about Unicode in 2023

#53

Unicode is a total mess. In a sane system, "extended grapheme clusters" would equal "codepoints" and it wouldn't make a difference for 99% of languages. Now we ended up with grapheme clusters, normalization, decomposition, composition, Zalgo text, etc. But instead of deprecating this nonsense, Unicode doubled down with composed Emojis.

What sort of practical issues are you running into due to Unicode's codepoint compositionality?

It's unnecessary complexity and a security nightmare. Have you ever tried to implement Unicode normalization? A single bug in your code and malformed text can crash your application or worse.

Re: What every software developer must know about Unicode in 2023

#57

> The rest, about 800,000 code points, are not allocated at the moment. They could become characters in the future. Why is Tengwar still not in Uniclde officially? What's the problem with it?

To save other people the google: Tengwar is probably not in unicode because it is a fictional script from a book.

Re: What every software developer must know about Unicode in 2023

#58

The author seem to hate people which concentration issues and/or various visual sicknesses. That coloration tools shows the moving mouse coursers of other participants even if they aren't needed/wanted is already pretty bad, why bring it to a website?

This seems like good feedback but it could really be phrased more constructively. I doubt the author “hates” any such thing and you know it too. “Didn’t design with such in mind”, sure. You can do better.

Re: What every software developer must know about Unicode in 2023

#59
I wondered about how to do simple text centering / spacing justification given graphemes showing string lengths that don't match up human-perceived characters, like in 'Café' (python len('Café') returns 5, even though we see four letters).

Found this! good to know about. https://pypi.org/project/grapheme/ "A Python package for working with user perceived characters. "

(apparently the article talks about this however the blog post is largely unreadable due to dozens of animated arrow pointers jumping all over the screen)

Re: What every software developer must know about Unicode in 2023

#60
post #41

What on EARTH is that mouse cursor thing all about? Why would you even bother writing this, then making it impossible to read properly?

(sarcasm)

It's revenge against anyone with certain kinds of visual impairments and/or concentration issues because the ex-spouse of the author which turned out to be a terrible person had such.

(sarcasm try 2)

It's revenge against anyone using JS on the net with the author trying to subtle hint that JS is bad.

(realistic)

It's probably on of:

- the website is a static view of some collaborative tool which has that functionality build in by default

- some form of well intended but not well working functionality add to the site as it was some form of school/study project, in that case I'm worried about the author suffering unexpected very much higher cost due to it ending up on HN ...

Post reply on HN