libera/#maemo-leste/ Sunday, 2023-05-14

norayri think on chimaera my live wallpaper (my?) behaves differently. something is broken on chimaera.12:50
norayrthe tram does not appear as often as it did before.12:50
norayrsometimes it doesn't understand that it is an evening and it needs to change the wallpaper.12:51
norayrhmmm.12:51
Wizzupbtw, it looks like the upower history set to higher than 7 days makes it use a lot of ram14:10
Wizzuplike 6% on my d414:10
WizzupI guess we'll have to drop it14:10
Wizzupidk why upower needs to keep it all in memory though14:10
bencohis that RSS or just file-backed mmap()?14:27
Wizzupbencoh: well it shows up as regular mem in htop, I'd have to check14:32
bencohit's probably real memory then14:33
dsc_https://cdn.kroket.io/~sander/pic/2352362g.png19:56
dsc_becomes19:56
dsc_https://cdn.kroket.io/~sander/pic/432g34h.png19:56
dsc_the buttons and the combobox do not have borders, looks a bit strange19:57
freemangordondsc_: thats' weird20:06
freemangordondo you start that from ssh session?20:06
dsc_oh, I might have, sec20:06
freemangordonif yes, try to 'export DISPLAY=:0'20:06
freemangordonno, I mean: how do you start that application?20:07
freemangordonas it seems it cannot connect to sapwood server20:07
dsc_ah20:07
dsc_im trying via VNC ;))20:07
freemangordonah20:08
dsc_because my QEMU is broken20:08
freemangordonwon't work :)20:08
dsc_but thats probably the reason20:08
dsc_alright20:08
Wizzupyeah the styling is done by another process (sapwood)20:42
dsc_this explains all the sapwood related errors ;)20:43
dsc_Wizzup: FYI with sapwood working the completer still does not sow up20:48
Wizzupright20:49
dsc_maybe feature request somewhere20:49
dsc_what repo20:49
dsc_?20:49
Wizzupon n900 fremantle this works by just showing the first text autocompleted / coloured differently20:49
WizzupI don't know how these dialogs are supposed to show20:49
dsc_ah ok20:49
uvostheres a bug here tho20:50
uvosor at least there was, sapwood fails to understand that :0 and :0.0 are the same xserver20:50
uvostheaming fails if its not exactly the same string as sapwood itself was lauched with20:51
dsc_my workflow is an IDE on host computer, then compile/debug/run on the remote (via the IDE)20:53
dsc_this happens via SSH20:53
dsc_so all the themeing stuff breaks20:54
dsc_I have a hacky solution for that; https://github.com/maemo-leste/conversations/blob/master/src/main.cpp#L30-L5420:54
dsc_which comes down to20:55
dsc_run the program normally once, dump its environment to a file20:55
dsc_then reconstruct that exact environment on every run (via IDE+SSH)20:55
dsc_¯\_(ツ)_/¯20:57
freemangordonuvos: the problem is that it names the socket after the $DISPLAY variable21:01
freemangordondsc_: you just need to export DISPLAY=:021:02
freemangordonuvos: so yeah, the bug is still there21:02
dsc_freemangordon: IIRC I did try that initially but then its not just themeing, its also dbus that had issues21:03
dsc_which is probably related to authentication/permissions, not sure21:03
freemangordonyou need to run it with run-standalone.sh21:03
freemangordonand with user 'user'21:04
dsc_thanks ill try it21:05
dsc_not sure how `run-standalone.sh` integrates with the IDE's remote debugging functionality, i.e: not sure if there is something lke "run this script before, in the same shell, then run gdb <program>"21:07
dsc_maybe I can invoke `run-standalone.sh` at runtime, before constructing Qt, then adopt its environment21:07
freemangordondon't know, sorry21:09
freemangordonbut for debugging you don;t really need nice UI, no?21:10
dsc_C++ programmers like their applications breakpointable and steppable in their silly IDEs21:11
dsc_this hack is suitable for now, all good21:12
freemangordondsc_: I am C *and* C++ programmer ;)21:14
freemangordonso I like breakpoints in IDE21:14
dsc_i am from the new generation and have never touched a terminal21:14
dsc_:D21:14
freemangordonthe point was that application UI does not need to be nice while debugging21:15
dsc_oh, you mean themeing, hmm21:15
dsc_sure21:15
dsc_but the dbus issue was problematic due to telepathy21:16
freemangordonright21:17
dsc_freemangordon: how do you use breakpoints in IDE for leste?21:20
Wizzupif you log in over ssh and have program showing in vm, shouldn't it just work?21:27
freemangordondsc_: I don;t21:29
freemangordonI use gdb21:29
freemangordonthrough ssh21:29
WizzupIDEs can attach using gdb though, no?21:31
dsc_true21:32
dsc_well, attaching an already spawned process via SSH is probably not possible21:33
dsc_(from my IDE, that is :P)21:34
dsc_Wizzup: https://cdn.kroket.io/~sander/pic/6g324h34h.png21:36
dsc_text ok?21:36
buZzcool, offline translations :)21:37
dsc_buZz: doing machine-learning on a CPU from 2007 was .... a challenge :P21:40
buZzwith tensorlite or something?21:40
dsc_the fine folks over at the university of edinburgh did the training of language models using https://marian-nmt.github.io/21:42
dsc_getting it to run on droid4's Cortex-A9 was interesting21:42
buZzcool :)21:46
buZzi assume the models are txt only? no pronounciation?21:48
dsc_yes, I did some testing with voice-to-text but it was quite slow21:49
dsc_so txt only for now21:49
buZzno i mean, text-to-voice21:49
dsc_ah21:49
buZzlike 'how do i pronounce bla in japanese'21:49
dsc_i think voice-to-text for just plain english will be hard performance-wiise, let alone pronouncing other languages21:50
Wizzupdsc_: sounds good, maybe mention the data debian pkgs as well21:50
buZzdsc_: no, text-to-voice :D21:50
bencohdsc_: actually attaching to an existing process over ssh should be do-able even from your IDE21:51
buZzmaybe just espeak would be plenty, i guess21:51
bencohyou'll just have to help it (gdbserver + ssh tunnel)21:51
dsc_buZz: sorry I meant text-to-voice, I was doing some experiments recently with tts but didnt try on maemo leste yet21:52
dsc_using software I forgot the name of21:52
buZzespeak supports >100 languages anyway, and is pretty understandable21:52
buZzand pretty low on cpu requirements21:52
buZzoh this all reminds me i should make a new SD card for the d4 , see if i get working gprs again :D21:53
dsc_buZz: here's the thing I made few months ago: https://tts.kroket.io/21:55
dsc_"I made" -> its software by some other people21:55
dsc_but these speakers are english or american, getting translation models that work on e.g japanese will be hard21:57
dsc_bencoh: dont think CLion supports this22:02
bencohdsc_: it if supports specifying a gdb port to connect to, then it should22:04
buZzsomeone at nurdspace made a HASS voice model based on https://acapela-box.com/AcaBox/index.php (proprietary, dutch , femke) voice22:04
buZzso we can run that voice locally now , faster and more private22:04
dsc_buZz: why is there some background sound?22:07
buZzbecause they dont want you to steal the voice :P22:08
buZzits a 'free demo' site22:08
dsc_:D22:08
buZzthe new model he made is for 'piper'22:09
dsc_being able to make models is nice22:10
buZzhe has a rtx4070 , he also made a stablediffusion modelsomething that 'makes everything buzz' based on a couple photos of me22:11
buZzor 4090? not sure22:11
dsc_buZz: https://mbarnig.github.io/TTS-Models-Comparison/22:15
* buZz tries maemo-leste-1.0-armhf-droid4-20230430.img.xz22:17
dsc_Wizzup: what kind of text would you like regarding the models? Just a listing of the available models?22:17
dsc_or how to install new models?22:17
dsc_how does one install new models anyway?22:17
dsc_in the package manager?22:17
dsc_ill add some default model to the runtime requirements in debian/control...22:23
Wizzupdsc_: or just mention what packages people need to install22:24
dsc_https://github.com/maemo-leste-extras/maemo-translate#models22:24
dsc_ill just use this text22:24
Wizzupyeah22:25
buZzfresh leste SD fixed my gprs22:41
buZzalso regained ability to get a battery percentage :P22:42
buZzbuuut havent enabled -devel yet22:42
buZzoh with the 1.0-armhf-droid4-20230430.img.xz , the 'ok button layer' of keyboard isnt working again22:52
buZzbut maybe i need a reboot22:53
dsc_ok button layer?22:53
buZzlike 'ok' + p = |22:55
buZzon droid4 , one of the keys is 'ok'22:56
buZzits used for special keys22:56
dsc_ah22:56
dsc_never noticed :P22:56
buZznot something you'd notice22:56
buZzunless you tend to hit random buttons :)22:56
dsc_it can dismiss popup modals?22:57
buZzeh, likely?22:57
buZzhttps://leste.maemo.org/images/e/e0/Maemo-leste-droid4-kbd-2021-07.png  <-- the 'ok layer' is blue22:57
buZzfixed > https://github.com/maemo-leste/bugtracker/issues/510#issuecomment-81561859122:59

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!