-
goffi
Link Mauve: thx for notice, I'm fixed the pagination in dev, it's not just updated yet.
-
goffi
Link Mauve: Ge0rG: about xml:lang, here is the screenshot of the experimental feature, using automatic language detection: https://repos.goffi.org/sat_docs/raw-file/tip/screenshots/0.7/language_filtering.gif . It was an experiment, I plan to use locale or explictly declared language.
-
Ge0rG
goffi: cool. Are those multiple messages or is it all in one with alternative bodies?
-
goffi
no they are multiple messages. But there is support for several in one boddy (in the backend, frontends now only show the first one).
-
goffi
I'm not sure if having more than one messages in the body is really useful, it could be for a bot maybe.
-
Ge0rG
goffi: the reason for my question is, how to handle messages that contain multiple languages, and your preferred one isn't among them
-
goffi
Ge0rG: my plan (not done now because I have other priorities) is to select a default one based on preferences, maybe first one if none is right, and displaying the other ones if we click on the language tag.
-
Ge0rG
goffi: that's an awesome plan
-
goffi
But as I've never seens several bodies in one <message> so far, it's really not in my short term list. But flagging the language is useful.
-
goffi
seen*
-
goffi
I would like to see multi-language MUC were you can filter on desired language. For instance SàT room is multilingual (English and French mostly), it's useful to filter out one language if you don't speak it.
-
Ge0rG
goffi: right. But how do you map that onto a good UX?
-
Ge0rG
goffi: let's say I filter on French, but then you paste a stacktrace or article link in [en], which is flagged as [en], so it's hidden from me?!
-
goffi
Ge0rG: there is no UX now, it's only visible in the TUI frontend like in the screenshot, and you filter with a manual command. Just an experiment so far, but I think it's useful.
-
goffi
yes for now it would be hidden, there is room for improvment for sure.
-
goffi
I think copy/paste should be handled separately anyway, they should be marked as paste, and handled appropriately (folder for instance, highlighted, or with a way to comment, etc.)
-
goffi
I don't like the auto pastebin, which is a hack IMHO.
-
oli
Ge0rG: don't hide, give a option to auto translate
-
goffi
autotranslate has many issues: first you're sending the message to a third party service, second quality is far from being always nice.
-
oli
hiding messages, just because it is in another language seems awkward
-
goffi
oli: if you can't understand them ?
-
goffi
As I've said earlier, there is room for improvment anyway, the important thing is to be able to flag the language of a message.
-
Link Mauve
“13:05:00 Ge0rG> goffi: the reason for my question is, how to handle messages that contain multiple languages, and your preferred one isn't among them”, in xmpp-parsers I did it like that: https://gitlab.com/xmpp-rs/xmpp-parsers/blob/master/src/message.rs#L111
-
Link Mauve
goffi, you may also be interested ↑
-
Link Mauve
karoshi, you’re blinking, fyi.
-
goffi
Link Mauve: thx
-
karoshi1
Link Mauve: thanks, seems to be a client bug
-
Link Mauve
karoshi1, there, I gave back your nick. :)
-
karoshi
thx 😃
-
Ge0rG
Link Mauve: you are an evil h4x0r
-
Ge0rG
Link Mauve: also you should be fixing poezio avatars.
-
oli
are there in ASCII?
-
Ge0rG
oli: http://caca.zoy.org/wiki/libcaca
-
Ge0rG
the pain point is not the use of libcaca, but the fact that slixmpp is requesting a full vcard-with-picture for each incoming contact presence.
-
pep.
No it's not libcaca, it's tct
-
goffi
do you have a screenshot on avatar shown on Poezio?
-
Link Mauve
goffi, https://linkmauve.fr/files/wayland-screenshot-2018-11-26_11-51-30.png
-
Ge0rG
pep.: so it's actually even worse than libcaca?!
-
pep.
Ge0rG, worse in what way
-
Link Mauve
Ge0rG, there is a better version if you enable half-block Unicode characters.
-
Ge0rG
pep.: libcaca is using different characters to represent a finer spatial / color resolution.
-
Ge0rG
Link Mauve: how do you enable them?
-
Link Mauve
Ge0rG, /set image_use_half_blocks true.
-
Link Mauve
It isn’t enabled by default because some ncurses versions (or terminals, not sure) don’t support that many colour variants.
-
pep.
oh wow, it _is_ better! Now I see poor daniel's face only being chopped up twice as less
-
Link Mauve
Now if only ncurses added support for TrueColor.
-
Link Mauve
I wouldn’t have to palettize it to only 256 default colours.
-
Ge0rG
I'm not even showing avatars at all.
-
Ge0rG
Link Mauve: did you fix the flood yet?
-
Link Mauve
Ge0rG, you’d have a patch to test if I did.
- Ge0rG checks inbox
-
Ge0rG
awwww 😞
-
Link Mauve
I’m busy with something else atm.
-
Ge0rG
excuses!
-
goffi
Link Mauve: thx.
-
Ge0rG
Wow, I can even recognize Tarkin now!