this post was submitted on 10 Nov 2023
64 points (87.2% liked)

Linux

47952 readers
2565 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
top 10 comments
sorted by: hot top controversial new old
[–] [email protected] 48 points 11 months ago (1 children)

amazing work. I just changed all my production systems to UTF-Random! �������������������������������. �����������������������������!

[–] [email protected] 16 points 11 months ago* (last edited 11 months ago) (1 children)

You have to wait until 930am Monday morning to do that. Everybody will appreciate it more.

[–] [email protected] 12 points 11 months ago

5 minutes before I go on a 3 week long vacation to a remote island obviously!

[–] [email protected] 19 points 11 months ago

This almost seems like a good idea... if unicode weren't already shaky enough.

UTF-8 is, honestly, pretty amazing. It lets you do things like compose latin-character text, and then interpose words like 𰻞.

That's 'biáng', which is, to my understanding, a kind of Chinese noodle dish. It's apparently the most complex Chinese character, comprising more than 50 strokes. (https://www.compart.com/en/unicode/U+30EDE).

In hex it's encoded as: 0xF0 0xB0 0xBB 0x9E

So, yeah, only 8 bytes to describe a character that looks like white noise to me unless I zoom WAY in on it! (My vision's getting pretty bad, tbh. I need it to be about the size it shows up on compart.com to make out the individual radical characters.)

If you were to count strokes on 'biáng', you end up with 5 bytes to encode 11 pen strokes or 2.2 strokes per byte. At 8 bytes to 57 pen strokes, the information density goes up to 7.125 strokes per byte.

So in Latin characters provided by UTF-8, you end up with very similar storage requirements. To encode the much more complex character, you get more than 3 times the information density.

[–] [email protected] 12 points 11 months ago (1 children)

Even UTF-16 used by Windows isn't fair because it needs twice as much space for hieroglyphs. Won't someone think of the ancient Egyptians?

Seriously, now that most display systems can handle putting accents on letters instead of needing a code point just for á, a new universal encoding would be nice. Purge it of Unicode's precomposed letters, duplicated Chinese characters, and duplicated-in-retrospect letters and you could fit another few alphabets into Plane 0.

But convincing tech companies to make webpages bigger seems difficult.

[–] [email protected] 11 points 11 months ago

But convincing tech companies to make webpages bigger seems difficult.

Do we live in opposite universes or something?

[–] [email protected] 8 points 11 months ago

UTF-32 is completely fair.

[–] [email protected] 4 points 11 months ago

Was zum Fick!?

[–] [email protected] 2 points 11 months ago (1 children)

Technical details: ������������������������������������������������������������������

Does this mean anything to anyone else? I just see question marks (on Lemmy and Fenic)

[–] [email protected] 2 points 11 months ago

�����,������������������������😀 ����������������������������. ���������� ��������������������? ����,���������������������!