uvos__ has quit [Ping timeout: 260 seconds]
<Wizzup> Oksana: what about a droid 4?
<Oksana> Wizzup: Not too bad, but that's 11yo device, didn't anybody release anything better since then? Is its 4G compatible with Australian Optus? Probably no RGB backlight for keyboard.
<Oksana> At this rate, KaiOS is tempting.
existence_ has joined #maemo-leste
<Wizzup> no, no rgb backlight keyboard...
* Wizzup zzz
_3xistence has quit [Ping timeout: 268 seconds]
Juest has quit [Ping timeout: 256 seconds]
Juest has joined #maemo-leste
joerg has quit [Ping timeout: 268 seconds]
joerg has joined #maemo-leste
Juest has quit [Ping timeout: 256 seconds]
Juest has joined #maemo-leste
joerg has quit [Ping timeout: 252 seconds]
joerg has joined #maemo-leste
ceene has joined #maemo-leste
elastic_dog has quit [Ping timeout: 246 seconds]
elastic_dog has joined #maemo-leste
fab_ has joined #maemo-leste
diejuse has joined #maemo-leste
xmn has quit [Ping timeout: 264 seconds]
pere has quit [Ping timeout: 264 seconds]
fab_ has quit [Quit: fab_]
fab_ has joined #maemo-leste
pere has joined #maemo-leste
peetah has quit [Ping timeout: 268 seconds]
diejuse has quit [Ping timeout: 250 seconds]
ungeskriptet has quit [Quit: Ping timeout (120 seconds)]
ungeskriptet has joined #maemo-leste
fab_ has quit [Quit: fab_]
<inky> i am using d4 as my main mobile device since january 2023. more than a year.
<inky> and i must say i cannot advice doing that. (:
<Oksana> inky: Cannot? Laggy, or what are the problems?
<inky> screen is small for people used to bigger screens. even to me it is harder to read from it. and other main problem is that the best browser for it is that qt demo browser and it becomes slow very fast if you open several tabs.
<inky> if i need to show someone something from the web i tell them 'search for it' instead of finding myself and showing.
<Oksana> Would /etc/hosts adblock help?
<inky> just a web page may be too heavy for it. and of course you must forget videos.
<Oksana> Nokia N900 played videos just fine, I thought :-/
arno11 has joined #maemo-leste
<inky> i dont think so, modern web is so complicated anyway. i have an dblock ah home but using d4 is still hard.
<inky> i think it can play 320x240 but waybe not. 120p certainly.
<inky> for n900 i remember i was converting videos.
<inky> again, you just cannot open lots of tabs or use firefox.
<arno11> through yt-dlp, no probs to play online 360p videos
<inky> but i use it, i run dino on it all the time, i used pidgin on it all the time.
<Oksana> Nokia N900 had Fennec, Firefox for mobile. Of course, it's ancient now.
<inky> > through yt-dlp, no probs to play online 360p videos
<inky> good! thats not what people expect though.
<Oksana> 800x480 resolution, do not try to play videos of higher resolution
<dsc_> inky: you are using leste yeah?
<inky> you can use just firefox for the desktop. i have my scripts running it in mobile touch friendly mode. but on d4 you must wait five minutes for it to start. on pinephone (not pro) you feel that it can run same firefox and open mny tbs without problems.
<inky> yes, leste.
<dsc_> probably gives better experience than qt demo browser
<inky> i broke the screen of my xperia in dec 31 2022 and decided since then i will use d4.
<inky> i think i tried it? i'll try again. ty.
<dsc_> it does not support multiple tabs or windows... should probably make that
<arno11> btw links2 (gui mode) is still faster than everything else on old devices, with lot of options/settings. (not for video browsing ofc)
<arno11> it's like 'opera mini' but with far more options and compatible websites
<arno11> *like opera mini: i mean, the user exp
<inky> well i think modern web should not be used. (: that's why i packaged lagrange gemini browser.
<inky> and i have to make it rotatable one day i guess?
<inky> and on my computer i have http to gemini proxy which allows me to view many pages with gemini browsec.
<inky> also i like projects like https://epicyon.net/ - works with console browsers, doesnt require js at all.
<inky> so i try to use more of what is usable.
udder has quit [Quit: die in fire]
<inky> alas the activity pub software i run isn't that. it didn't exist back then. and it needs browser js. so opening it from d4 is always a problem. i need to write an app for it probably, that would be a solution.
udder has joined #maemo-leste
<inky> that http to gemini proxy didnt compile on chimaera, i need to understand why.
arno11 has quit [Quit: leaving]
pere has quit [Ping timeout: 264 seconds]
ceene has quit [Ping timeout: 256 seconds]
pere has joined #maemo-leste
DPA has quit [Ping timeout: 256 seconds]
DPA has joined #maemo-leste
<freemangordon> Wizzup: help! GVariant drives me mad :(
<freemangordon> this https://pastebin.com/nLCiT2C7
<freemangordon> "the GVariant format string '(sa{sv})' has a type of '(sa{sv})' but the given value has a type of 'v'"
<freemangordon> the 'given' value is the structure
peetah has joined #maemo-leste
<freemangordon> code is g_variant_get(value, "(sa{sv})", NULL, &sw);
<Wizzup> tell me about it :D
<Wizzup> I need a moment to refresh
<Wizzup> so it's a tuple of a string, and then of an array of dictionaries
<Wizzup> and then the g_variant_get is where you get stuck?
<Wizzup> I also used the g_variant_print or whatever for debug
<freemangordon> ok, lemme try with g_variant_print
<Wizzup> I can take a deeper look in a bit, do you have a bit more code
<Wizzup> like what is value and what is &sw
<freemangordon> Wizzup: (controlpanel:6974): cellular-settings-DEBUG: 16:12:02.805: <('interrogation', {'VoiceCallWaiting': <'enabled'>, 'FaxCallWaiting': <'disabled'>, 'SmsCallWaiting': <'disabled'>, 'DataSyncCallWaiting': <'enabled'>, 'DataAsyncCallWaiting': <'enabled'>})>
<freemangordon> this is what g_variant_print(value, TRUE) results in
<freemangordon> that's what I try to get as "(sa{sv})"
* sicelo isn't too free right now ... but what interface are you on, and what are you looking to extract
xmn has joined #maemo-leste
<sicelo> nokia-n900:~$ busctl call org.ofono /n900_2 org.ofono.SupplementaryServices I
<sicelo> nitiate s '*#43#'
<sicelo> sv "CallWaiting" (sa{sv}) "interrogation" 5 "VoiceCallWaiting" s "enabled" "FaxCallWaiting" s "disabled" "SmsCallWaiting" s "disabled" "DataSyncCallWaiting" s "disabled" "DataAsyncCallWaiting" s "disabled"
<freemangordon> sicelo: yes, this is what I want to parse from C code
<freemangordon> it comes as GVariant
<sicelo> freemangordon: so if i read this correctly and looking at your gvariant print output ... this is "sv", with the (sa{sv}) being another "v" :)
<freemangordon> hmm... ok, lemme try it
<freemangordon> oh, no
<freemangordon> the 's' part I already have, as operation_name
<freemangordon> so it is the 'v' part I want to parse
<freemangordon> so trying to pares the 'v' as '(sa{sv})' gives the ^^^ error
<sicelo> ah ok. was mixing it with your pastebin. so operation_name is "CallWaiting", i guess?
<freemangordon> yes
<sicelo> what's the NULL?
<freemangordon> I do not need the 's' part of '(sa{sv})'
<freemangordon> "interrogation"
ungeskriptet7 has joined #maemo-leste
ungeskriptet has quit [Ping timeout: 240 seconds]
ungeskriptet7 is now known as ungeskriptet
<freemangordon> ok, got it
<sicelo> ok great. what was missing?
<freemangordon> I have to first upack one variant
<freemangordon> g_variant_get_variant()
<freemangordon> and then use that variant to unpack the structure
<sicelo> sure, makes sense
* sicelo is playing with ell dbus these days
<Wizzup> freemangordon: yeah I think that is also what I did in wpasupplicant icd module
f_ is now known as funderscore
<sicelo> freemangordon: wow that was quick response from ofono folk :p
Pali has joined #maemo-leste
funderscore is now known as f_
<peetah> exit
<freemangordon> sicelo: yeah
mdz has joined #maemo-leste
<sicelo> freemangordon: Wizzup: may i abuse you for a moment ... https://paste.debian.net/1307567/ .. this segfaults on line 61. any obvious reason?
<sicelo> oh, damn. i see what's wrong now
xmn has quit [Ping timeout: 256 seconds]
<Wizzup> good ole rubber duck debugging
<sicelo> yeah, i've been stumped for quite a while, and just after writing here, i immediately saw my mistake
<sicelo> freemangordon: hehe ... looks like your answer to concerns about sailfish is going to be the response to https://lore.kernel.org/ofono/7B2450B9-BC8E-45A4-8C39-10E3E2887279@holtmann.org/T/#m2c3a81e48edde86f0f724f70aedd113be318059b ...
<freemangordon> heh
<Wizzup> rafael2k: halfway done copying the image
akossh has joined #maemo-leste
diejuse has joined #maemo-leste
<diejuse> Hello. Is there any relationship between the space bar key and screen rotation? (although it may sound strange). I've been testing some virtual keyboards and when I press the space bar with the screen in portrait mode, Maemo reverts to landscape mode.
<Wizzup> hildon-desktop might rotate if windows show up that do not suport portrait mode
<Wizzup> that is about all I can think of
<diejuse> What seems strangest to me is that it only happens when I press the space bar key
<diejuse> inky has observed the same thing as me using the virtual image.
<Wizzup> it would be easier if we could reproduce it
<Wizzup> in qemu?
<inky> no no in droid4
<inky> on droid 4 if i force device to portrait mode
<inky> run osso-xterm
<inky> then press any buttun with x11 kbd of my friend, these buttons are getting sent. if whitespace - the device goes back to landscape and it is impossible to get it back to porttrait.
<inky> i cannot reproduce it with hwkbd because if i open hwkbd device goes to landscape.
<inky> and if i type with maemo vkbd then it doesnt actually send whitespace to app, it types in the keyboard's own buffer.
<Wizzup> maybe check dbus-monitor and see if anything interesting happens
<diejuse> Exactly, only when the blank character is sent (keycode 65)
<diejuse> *whitespace
akossh has quit [Quit: Leaving.]
<Wizzup> sounds like a github bug report would help, especially if it explains how to reproduce
retr0id5 has joined #maemo-leste
retr0id has quit [Read error: Connection reset by peer]
retr0id5 is now known as retr0id