libera/#maemo-leste/ Monday, 2022-06-13

Wizzupuvos: tomorrow I will try to add headphone and speakerphone00:15
Wizzupand if we can then get the triggers in the right order, the hack should mostly just work00:15
Wizzupfreemangordon: https://news.ycombinator.com/item?id=3171702300:51
Wizzuptl;dr after june 16 2022, xmpp on google talk won't work00:53
siceloThey're doing it to spite leste/fmg for finally supporting it :-D07:41
bencohjune 16? that's pretty close ....10:59
bencohhangout works with libpurple btw10:59
freemangordonhmm?11:02
bencohfreemangordon: 01:53 < Wizzup> tl;dr after june 16 2022, xmpp on google talk won't work11:02
freemangordon:(11:02
bencohyeah11:02
bencohbut https://github.com/EionRobb/purple-hangouts11:03
bencohhmm, that one is no longer maintained though :/11:03
bencoh(no commit for a year)11:03
Wizzupbencoh: doesn't mean it doesn't work :)11:03
freemangordondo we have it?11:04
freemangordonin devuan/leste taht is11:04
bencohoh, nice : https://github.com/EionRobb/purple-googlechat11:04
Wizzupwell I don't know if I want to use it if it's not the same and not with the same users11:04
Wizzupwell I don't use it anyway but yeah :P11:04
Wizzupfreemangordon: I can pkg it if you want to try it with haze11:05
freemangordonsure11:05
Wizzupbut I don't have an account or know anyone that uses googlechat11:05
bencohapparently googlechat retains the same users/convs/whatever11:05
Wizzupaha11:05
freemangordonwhat is googlechat? gtalk?11:05
freemangordonok, will see11:06
Daanct12i haven't heard of google chat in a while11:06
bencohI think that's the chat windows that you get in the gmail interface11:06
bencoh(many people use that thing at $job here)11:06
bencohsupposedly it's the nextgen hangout11:06
Daanct12i'm surprised that not many actually uses it11:06
bencohI might give it a try, lemme see11:07
bencohthe tricky part is the oauth2 token thing, as usual ...11:10
freemangordondoes it have some UI integration?11:11
bencohapparently you still need to get it by yourself and feed it to some dialog11:11
freemangordonugh11:11
bencohyeah11:11
freemangordonok, thats not user-friendly11:11
bencohI had it working once (only once)11:12
freemangordonguys, I would really appreciate if you halp me designin (or pointing me out to) a framework to deal with this shit11:12
freemangordonapparently we won;t be able to ignore oauth211:12
freemangordon*help11:12
freemangordondoes anyone have experience with gsignond?11:13
bencohhmm, I don't, but ... let's see11:16
bencohwow, alright, looks like it works11:32
bencohhttps://github.com/EionRobb/purple-googlechat/issues/24 I finally understood what was needed11:33
bencohtechnically you have to open a specific link and check for a header / cookie, so ... I wonder if we could somehow work it out programmatically11:34
bencohif not, we'll have to apply for the verification process11:34
freemangordonbencoh: we'll have to12:10
freemangordonI don;t want to go the hacky and user-unfriendly route12:10
Wizzupmight I suggest we put it off a bit, I'm sure we'll have to wait for a long time on this stuff and it'll be demotivating12:33
norayri didn't even know it worked since they moved to hangouts. maybe only federation didn't work then. i have learnt it worked only recently in this chat.14:17
norayrbut well. how telepathy is going to support hangouts?14:17
norayror... how does it support hangouts, via jabber or by their protocol?14:18
norayrsorry, my laptop overheated in the night and last thing i received was that xmpp won't work since june 16, i don't know what happened in chat later.14:18
norayroverheated and died.14:18
norayrhunged.14:19
buZznorayr: if only this channel was logged :P15:05
buZznorayr: also ; 11:05:32 < bencoh> apparently googlechat retains the same users/convs/whatever15:06
buZzso hangouts is kinda pointless to implement if googlechat already works15:06
buZznorayr: also 16 june is in 3 days :P15:07
bencohbuZz: both have a working opensource purple plugin, but they both have a non-userfriendly auth mechanism15:45
buZzhmhm15:47
freemangordonWizzup: is this ok https://nominatim.org/release-docs/develop/ or I shall use something else?16:21
WizzupI have no idea, sorry, I don't know about this stuff16:21
freemangordonme neither16:22
freemangordonI just found it over the inet16:22
freemangordonwell, will use it, if someone complains it is not that hard to change16:23
freemangordonuvos: any comment ^^^ ?16:23
freemangordonhmm, hmm, seems "here maps" provide the same/similar api as Nokia maps, I wonder how to check if API key works16:32
Wizzuphere is commercial and not community maintained16:38
WizzupI also doubt anything is better than osm16:39
freemangordonsure, but we already have provider for Nokia Maps16:39
freemangordonso if maemo api key still works with here, it could be a stop-gap solution16:39
Wizzupdoubt it16:44
freemangordonyeah16:45
freemangordon{"error":"Unauthorized","error_description":"apiKey invalid. apiKey not found."}16:46
freemangordonWizzup: hmm, seems free servers provide only day map tiles17:04
WizzupI don't understand what that means17:05
uvos__im not a great fan of downloading maptiles/ bitmap maps17:18
uvos__if the api requires bitmap tiles17:18
uvos__why not just render them from osm vector data on device?17:18
freemangordonuvos__: resources?17:32
freemangordonwe talk mobile phones here, we shall consider battery usage etc17:33
uvos__i have allways been using purely vector maps17:34
uvos__never been a problem17:34
uvos__even on d1 (n900 equivalent perf)17:34
uvos__admittly the mapp data was less detailed back then17:35
uvos__but for mapphones android proves that its possible at considerable speed even with modern data17:35
freemangordonuvos__: ok, but shall we download all the data locally?17:36
uvos__sure like the various android apps just have the user select regions17:37
uvos__its not that big really17:37
uvos__ofc it will use some more data (maybe having 3g/4g active is also quite expensive)17:37
uvos__but i think this is a good tradeoff for not broadcasting your position to the map provider17:38
uvos__s/data/power17:38
uvos__anyhow there are various tile rendering serivces for linux that work with osm data17:39
uvos__that you could then run localy or not with the same code otherwise17:39
freemangordonI would appreciate if you provide a list, besides https://wiki.openstreetmap.org/wiki/Tile_servers17:40
freemangordonalso, we need geolocation, not only map tiles17:40
freemangordonuvos__: actually maybe it is not that bad if we can query OSM for data to render tiles locally17:41
freemangordoneither ways those get cached17:41
freemangordonso it will be one time only17:41
uvos__geolocation is totaly runlated17:41
uvos__*unrelated17:41
freemangordonkeep in mind I have no idea how this all works17:41
freemangordonsure17:41
uvos__no i have never used any of those17:41
uvos__so we should just use geoclue really17:42
freemangordonwhat is this? ?me asks google17:42
uvos__all other mobile des use it and it sythesises location based on lots of factors17:42
uvos__(ie various plugins)17:42
freemangordonah, no, dbus service17:42
uvos__not sure what you mean17:43
uvos__geoclue is a dbus service yeah17:43
freemangordonwe already have the framework17:43
freemangordonwhat we need is a provider17:43
uvos__geoclue has various provider plugins17:43
uvos__i works fine on desktop/phosh17:44
uvos__*it17:44
freemangordonthat can do address to location resolution and vice versa17:44
uvos__right17:44
freemangordonsee https://github.com/community-ssu/nokiamaps-navigation-provider/blob/master/nm-nav-provider.xml17:44
uvos__thats something else17:44
uvos__you can obviously also do this ofline on osm data17:45
uvos__thats what the aforemention various android mapping apps do17:45
uvos__maybe there is a widely used implementaiton17:45
uvos__id have to check17:45
freemangordonyes, but I would prefer to not download the whole world on device17:45
freemangordonI found https://nominatim.org/release-docs/develop/17:46
uvos__its farily unlikely the user suddenly needs the whole world17:46
uvos__usualy letting him download regions is sufficant17:46
uvos__but ok17:46
uvos__why not both17:46
freemangordonboth?17:46
freemangordonuvos__: again, keep in mind I don't know how OSM API is supposed to work17:47
freemangordonso it is possible I am talking bullshit17:47
uvos__weill osm api really isent a thing17:49
uvos__theres various services that use osm data17:49
freemangordonI have look at https://wiki.openstreetmap.org/wiki/API_v0.6 and didn't grok it17:49
uvos__both offline and online implementaions17:49
freemangordonright17:49
freemangordonthat's why I asked for help to choose the most appropriate :)17:49
uvos__unfortionatly i cant say that i have used these in any developmental capacity so im no help there17:50
freemangordonbut, basically, I need providers that are able to implement ^^^ dbus specification17:51
freemangordonimplement == have API that will allow me to implement17:51
freemangordonuvos__: so, do you know what query I shall use and how to render a region on the map?17:52
uvos__no i dont, and the android applications doent use this directly they preporcess the data first17:54
uvos__i ques looking at thair implementations might help17:54

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