Felix Palmen ๐Ÿ“ฏ

@zirias@techhub.social
4 Followers
29 Following
733 Posts
Dipl.inform., FreeBSD ports committer, musician, C64 fan/coder, hetero cis white male, not proud, no wing, no ally, leaning liberal/ecologist, pro facts/science
FreeBSDhttps://people.freebsd.org/~zirias/
C64 scenehttps://csdb.dk/scener/?id=25812
Githubhttps://github.com/Zirias

Ok, I couldn't resist any more. Here's #French #qXmoji. Or, something like that ...? ๐Ÿ™ˆ

Dear native-speakers, if I messed up TOO badly, help me out and send patches / pull requests ๐Ÿคฃ๐Ÿป

(edit: ah great, I directly spot the first typo in this screenshot ... gonna fix immediately. Still, the hardest thing is to express technical things in french, I guess that counts as "domain specific language" and I really have NO idea how to do it)

#X11 #emoji #keyboard

My #ZFS pool (RAID-Z1 with 4x4TB spinning disks) is running with one damaged drive. Now after the 5th or 6th time SATA errors caused the whole machine to almost stall for minutes, I finally ordered two new replacement disks.

The issue with ZFS is, it works too well ๐Ÿ˜† -- after super smooth replacement of already 2 failed drives, another one starting to fail doesn't "feel" as alarming any more as it should ๐Ÿ™ˆ (of course I have another backup)

Hardware quality is very underwhelming though. A pool with 4 disks operating for 8 years (24/7, but in a private/family use scenario) and soon, there will be only one of the original disks left? Bah. ๐Ÿง

I have one little piece of custom platform-specific code in #qXmoji.

Background is that #Qt's QFileSystemWatcher doesn't work correctly on #NFS (and probably other network filesystems). It uses some platform mechanism (e.g. inotify on #Linux, kqueue on #FreeBSD) internally, so exact behavior probably depends on the platform. On FreeBSD, it *seemed* to work, but only when the change to the file on NFS is done from the local machine. ๐Ÿ™„

Now regarding this code:
https://github.com/Zirias/qxmoji/blob/master/src/bin/qxmoji/nfsdetect.c
-- I still have doubts.

โ–ช Should it check for other filesystems as well? Which ones?
โ–ช Will this construct checking for 'BSD4_4' in <sys/param.h> reliably detect every OS derived from 4.4BSD (assuming a POSIXy system that *has* sys/param.h)?
โ–ช Should it have implementations for *other* POSIXy systems than 4.4BSD-descendants and Linux?
โ–ช Why the hell is there no standard for checking the *filesystem* a file resides on? ๐Ÿง๐Ÿ˜

qxmoji/src/bin/qxmoji/nfsdetect.c at master ยท Zirias/qxmoji

Barebones X11 emoji keyboard with Qt GUI. Contribute to Zirias/qxmoji development by creating an account on GitHub.

GitHub

The obligatory post-release-๐Ÿคฆ-commit:

https://github.com/Zirias/qxmoji/commit/80f9d807837f774414fa5a26cc4dfad22499a2c1

Is there a tool checking for these? Pointless/leftover includes in #C and C++?

guimain: Remove pointless includes ยท Zirias/qxmoji@80f9d80

QLocale and QTranslator were leftovers from before integrating loading of translations into the main application class.

GitHub

#qXmoji v0.7 released!

https://github.com/Zirias/qxmoji/releases/tag/v0.7

This brings several improvements, mainly in the build system, but the major change is support for localization, with translated Emoji names imported from #Unicode #CLDR. I added a German translation, see screenshot. Once again, I'd appreciate more translations, the process to translate is documented here:
https://github.com/Zirias/qxmoji/blob/master/TRANSLATE.md

Updated FreeBSD port:
https://people.freebsd.org/~zirias/patches/0001-x11-qxmoji-Add-new-port.patch

#X11 #emoji #keyboard #FreeBSD #Linux

Release qxmoji-0.7 ยท Zirias/qxmoji

Make everything translatable, add a document how to translate Add support to import emoji translations from Unicode CLDR files Translate to German Many improvements to the build system

GitHub

If there are no takers, I might be seduced to add #French myself.

TBH, this is kind of a threat to all french-speaking ppl. It's the only language I ever learned besides German and English, and school is a *very* long time ago. It will probably end up somewhat similar to your typical chinese user's manual ๐Ÿ˜‚

#qXmoji #X11 #emoji #keyboard

#qXmoji is now completely translatable, and fully localized for ๐Ÿ‡ฉ๐Ÿ‡ช.

So, here comes a request for contributions ๐Ÿ˜ (pretty please ๐Ÿ™ƒ):

More languages would be nice! Therefore I documented the process to add them here:
https://github.com/Zirias/qxmoji/blob/master/TRANSLATE.md

#X11 #emoji #keyboard

qxmoji/TRANSLATE.md at master ยท Zirias/qxmoji

Barebones X11 emoji keyboard with Qt GUI. Contribute to Zirias/qxmoji development by creating an account on GitHub.

GitHub

Got a vertical prototype working, the tooltips in the "normal" emoji tabs are translated ๐Ÿฅณ

๐Ÿบo'clock, later ... ๐Ÿป

#qXmoji #X11 #emoji #keyboard

Use the hashtable to map translations to emojis and auto-generate #Qt #Linguist translation files containing both texts -> done.

I just *had* to check: No, there isn't a catchy german translation for "facepalming" ๐Ÿ™„

#qXmoji #X11 #emoji #keyboard

Working on the next thing for #qXmoji: #l10n.

First step: Build a hash-table for localized emoji names from Unicode CLDR data.

#X11 #emoji #keyboard