That’s what I see sometimes:
Якщо помітите помилку на цій сторінці, будь ласка, виділіть її вказівником миші та натисніть Ctrl+Enter. Зробімо наше мовлення чистішим!
2007-11-30
2007-11-18
2007-11-17
2007-11-11
Composed characters
I’ve noticed that there’s a way of depicting stress signs in Cyrillic text, like the following: КМІТЛИ́ВИЙ, ТЯМУ́ЩИЙ, МЕТИКО́ВАНИЙ, МЕТИКУВА́ТИЙ, ПОКМІ́ТЛИВИЙ, ШТУДЕ́РНИЙ. I don’t know how they were typed. But analysis revealed that they refer to so-called composed utf-8 characters. On the way of the investigation it appeared that the XOrg allows to define a custom composition key to type complicated characters easily.
There follow few examples below:
<rctrl>=e ⇒ € |
<rctrl>--- ⇒ — |
<rctrl>'e ⇒ é |
<rctrl>~n ⇒ ñ |
Nice! So I know how to type diacrytic characters in any graphical application. Additionally, to the graphical stress sign is one of composed unicode characters, it can be inserted into an XML by its code: ́
. There’re many other composing characters, which can do interesting things: w̳o̸rld.
2007-11-08
Sorting in the StarDict
Always mixed up accents in foreign words, and it was difficult to find wrong spellings in the StarDict. So I googled the problem.
It appeared that the unix-way is to rely the comparison during sorting on the current locale. Besides the StarDict allows a user to set any language-specific collate function:
I’ve chosen the utf_unicode_ci
, and now I’m astonished with the result:
2007-11-07
Core dump
Where’re those known from the university times core dumps on Linux? How can I discover a really rear bug in the server daemon?
Well, it appeared that they’re just turned off for ordinary users in the /etc/profile
:
# No core files by default ulimit -S -c 0 > /dev/null 2>&1
Really, why a user should know about such a weird thing? Now I always reset the ulimit before starting an application being debugged.