IRC log of #maemo for Monday, 2017-02-06

*** xes has quit IRC00:01
PaliDocScrutinizer05: gunzip can unpack .Z files00:04
DocScrutinizer05Pali: yeah, see my last line00:05
Palimy gzip does not support -k00:06
PaliDocScrutinizer05: .Z files should be compressed by LZW compression, that one used in GIF images00:08
*** xes has joined #maemo00:08
Pali(in past there were problem with that compression because of patents)00:09
DocScrutinizer05  -k, --keep        keep (don't delete) input files00:11
DocScrutinizer05funny detail: the original ftp download was mode 20000:14
DocScrutinizer05jr@saturn:~> ll /home/jr/tmp/igu19350_18.sp3.Z00:15
DocScrutinizer05--w------- 1 jr users 185183  5. Feb 21:15 /home/jr/tmp/igu19350_18.sp3.Z00:15
*** xes has quit IRC00:15
*** xes has joined #maemo00:16
DocScrutinizer05well, actually is mode 000000:17
*** agomez{M} has quit IRC00:17
*** platicus has quit IRC00:17
DocScrutinizer05I just fail to grok why seems to not provide almanac data00:22
DocScrutinizer05well, maybe NASA to the rescue then?
*** Pali has quit IRC00:23
*** agomez{M} has joined #maemo00:29
*** platicus has joined #maemo00:30
DocScrutinizer05to help with background: the ephemeral contains data about the exact coordinates of a SV at a particular point in time, while almanac contains the orbital data which allows calculation of such coordinates for any random point in time00:31
DocScrutinizer05at least that's what I see00:31
DocScrutinizer05hmm, not that sure anymore:
DocScrutinizer05maybe eph contains both00:35
DocScrutinizer05>>Ephemeris data parameters describe SV orbits for short sections of the satellite orbits. Normally, a receiver gathers new ephemeris data each hour, but can use old data for up to four hours without much error. The ephemeris parameters are used with an algorithm that computes the SV position for any time within the period of the orbit described by the ephemeris parameter set.<<   and   >>Almanacs are approximate orbital data parameters00:36
DocScrutinizer05for all SVs. The ten-parameter almanacs describe SV orbits over extended periods of time (useful for months in some cases) and a set for all SVs is sent by each SV over a period of 12.5 minutes (at least).<<00:36
DocScrutinizer05so alm tells receiver which sats to look for (visible), while eph tells about precise position of a particular sat in next 4h so a decent fix can get calculated00:40
DocScrutinizer05a SUPL server prolly won't send alm when receiver asks for eph applicable to current position estimate, rather the server uses alm locally to determine which eph data to provide to receiver, based on where the receiver currently is located00:42
DocScrutinizer05(my uneducated guess)00:43
*** at1as has joined #maemo00:44
* DocScrutinizer05 whould read RFC:SUPL00:44
DocScrutinizer05~rfc supl00:44
DocScrutinizer05bencoh: (( hm no cellid-based geoloc doesn't depend on supl afaiu ))
*** at1as has quit IRC00:54
*** agomez{M} has quit IRC00:54
*** platicus has quit IRC00:55
DocScrutinizer05SUPL V3: Additional positioning methods supported: •  SET Based Enhanced Cell/Sector ID00:58
DocScrutinizer05•  Sensors01:00
*** jonwil has joined #maemo01:03
DocScrutinizer05sensors like magnetic compass vs accelerometer to determine geographic latitude? Ambient Light to find if day or night? microphone to detect known acoustic fingerprints?01:04
DocScrutinizer05barometer and temperature for altitude and possibly northern/southern hemisphere?01:05
*** platicus has joined #maemo01:05
*** agomez{M} has joined #maemo01:06
DocScrutinizer05for any service consider employing >> Security model for non-UICC devices using client certificates stored on the device <<01:12
DocScrutinizer05incl an app that updates such client certificate when publishes a new one01:13
DocScrutinizer05I guess the latter is easily accomlished via HAM (being that app)01:14
DocScrutinizer05jonwil: you seen?:
*** trumee has quit IRC01:18
jonwilThe specs for SUPL aren't really relavent except maybe a few pieces of it if you were cloning location-proxy (which would be wasted effort IMO)01:23
jonwilMost of the interesting work is done by the bb501:24
DocScrutinizer05huh? we're considering supl.maemo.org01:31
DocScrutinizer05ROTFL @
*** at1as has joined #maemo01:31
*** platicus has quit IRC01:31
*** agomez{M} has quit IRC01:31
DocScrutinizer05wow, this goes on like that:
DocScrutinizer05you may assume Nokia adhered to the requirements in all BB5 and possibly even in maemo closed blobs like csd01:37
jonwiloh I didn't know you were considering running a supl server for maemeo, that is a cool idea01:38
DocScrutinizer05jonwil: gzip -dkvc <(wget -O -)|less; #
* DocScrutinizer05 hates having the 'choice' between prone to die, and prolly rogue and often changing API01:42
jonwilFYI the header file for the GPS part of bb5 is available and out there. Although no-one has produced a header file for the liblas library that does the low level talking to the GPS part of bb501:43
jonwilOnly things I know of that talk to liblas though are location-daemon, location-proxy and that clear tool01:45
DocScrutinizer05you're aware that BB5 is a OMAP A8 (iirc) system of its own?01:45
jonwilyes I am aware01:46
jonwilI mean the GPS ISI messages01:46
jonwilthe interface to the GPS code in the bb501:47
jonwilliblas is a wrapper around libisi to send isi messages to GPS bits on bb501:47
*** xorly has quit IRC01:49
jonwilbut since no device other than the N900 likely has the same GPS hardware, there is no real benefit reverse engineering too much of this stuff or cloning it01:50
jonwilThere are things far more useful to clone out there (pulseaudio blobs for one :)01:50
DocScrutinizer05of course01:51
*** atk has quit IRC02:00
*** atk has joined #maemo02:00
*** M4rtinK has quit IRC02:04
*** florian has quit IRC02:18
jonwilits cool that the GPS problems plaguing everyone for so long got sorted fairly easily once it was obvious what was going on.03:30
jonwilOh and in regards to the comment earlier about the maintainer of the cert cache deciding whats trusted, I would say that I qualify as the maintainer since I am the only one who has done any work on that repo in 3+ years :)03:35
jonwiland as maintainer I say that the cert store should reflect whatever Mozilla is shipping :)03:35
*** hurrian has quit IRC03:37
*** hurrian has joined #maemo03:38
DocScrutinizer05It's *me* who's the maintainer of my cert cache ;-) I _might_ delegate this task to somebody with a sound idea like e.g. simply trusting a particular expired or flawed cert that otherwise would cause problems with SUPL, particularly when the rest of the cert cache gets updated to some set that's not tailored to fit the particular device and its needs03:48
DocScrutinizer05I don't think Mozilla ever bothered about or particularly maemo03:50
DocScrutinizer05my note was meant to say that the maintainer aka owner of the device and its cert cache is free to trust whatever certs he likes, so why not consider simply trusting the cert needed for instead of worrying about which parent cert it is signed by?03:52
DocScrutinizer05I also had a flawed cert (homegrown) which been flawed in many respects, I imported it into chrome's cert cache and manually trusted it - no problems since04:03
DocScrutinizer05can't see why it wouldn't work in a similar way for the cert used in supl04:04
jonwilAnyhow the supl cert issue is fixed for everyone once they get the new maemosec-certman-common-ca :)04:15
jonwiland maps/GPS gets a lock really fast now04:15
*** auenf has quit IRC04:17
jonwilwhich will be great for when I need maps when out and about04:18
*** auenf has joined #maemo04:18
*** auenf has quit IRC04:21
*** auenf has joined #maemo04:22
*** lxp has quit IRC06:04
*** chainsawbike has quit IRC06:36
*** chainsawbike has joined #maemo06:38
DocScrutinizer05 07777 mode  WTF?06:38
JuestoIsnt that full rwx?06:43
MaxdamantusI think that means sgid and suid.07:03
Maxdamantusand maybe something else.07:03
MaxdamantusOh, it'll be sticky as well, right?07:05
Maxdamantusdunno what that would mean on a file.07:06
MaxdamantusJuesto: and yes, the lower three octets indicate ugo+rwx07:10
Maxdamantusthe weird thing is that it has the higher three bits set too, which mean sgid, suid and sticky, in some order (dunno what)07:11
Maxdamantusso anyone can write a malicious binary to it (because it's o+w), and then execute it with euid 0 (because it's owned by root and +s o+x)07:12
*** DocScrutinizer05 has quit IRC07:35
*** DocScrutinizer05 has joined #maemo07:35
DocScrutinizer05"new services as a service" ROTFL07:38
DocScrutinizer05spot on07:38
KotCzarnymaxd: or broken archiver/fs07:47
*** lobito has joined #maemo07:53
MaxdamantusKotCzarny: well, the broken archiver scenario would only really be interesting if the archiver is running with root permissions for some reason.07:57
MaxdamantusKotCzarny: in which case it .. is already root.07:57
KotCzarnymaxd: or packaging on some broken os (ie. windoze)07:57
MaxdamantusWindows doesn't have suid afaik07:58
KotCzarnybut can have tar and friends07:58
KotCzarnyand i have seen plethora of different file modes when unpacking archives made on windoze07:59
*** spiiroin has quit IRC07:59
KotCzarnymade on windoze, unpacked on linux07:59
MaxdamantusAgain, unless the unarchiver is running as root, it can't make a file with those permissions.08:00
Maxdamantus(well, it can, but it wouldn't be root-owned)08:00
Maxdamantus(so it would just be suid/sgid with uid/gid being the user, not 0)08:00
KotCzarnyi think unarchiver can be told to ignore file flags in such case08:01
MaxdamantusBut it can't create a file owned by root, unless it's running as root.08:01
MaxdamantusThat's just how unix works.08:01
Maxdamantus[max@jove (~)]$ chown root:root /tmp/108:02
Maxdamantuschown: changing ownership of ‘/tmp/1’: Operation not permitted08:02
KotCzarnyyes, but im saying file flags stored in archive are broken and should be ignored anyway08:02
MaxdamantusA bug in the archive or the unarchiver can't just break the unix security mechanism.08:02
DocScrutinizer05non-persistent settings in IRC client are reeally a PITA08:17
DocScrutinizer05Juesto: yes. And silly systemd used an unsigned int var for file permissions, and then the devel was poettering and stupid enough to defines mode_pemissionflags_invalid=-1  :-P08:19
*** DarioAlejandro has quit IRC08:26
*** eMHa__ has joined #maemo08:38
DocScrutinizer05so guess what is the result from touch(file, PERMISSION_INVALID)08:38
*** spiiroin has joined #maemo08:41
DocScrutinizer05(disclaimer: I didn't look into the flawed code, just seen what the bug ticket explains)08:41
DocScrutinizer05commit ee735086f8670be1591fa9593e80dd60163a7a2f08:59
DocScrutinizer05    util-lib: use MODE_INVALID as invalid value for mode_t everywhere08:59
KotCzarnydoc, make a blog or something08:59
KotCzarnymore useful than just random irc bitching09:00
DocScrutinizer05mode_t is unsigned, so MODE_INVALID < 0 can never be true.09:00
*** dafox has joined #maemo09:04
*** L29Ah has quit IRC09:07
* DocScrutinizer05 makes a blog named "for KotCzarny who doesn't want to read mail archives even when linked to it, and prefers to explain supposed brokenness of archivers instead", then fixes the fallout of that non-persistent mode settings in IRC client another time09:09
*** platicus has joined #maemo09:20
*** eMHa__ has quit IRC09:24
*** dafox has quit IRC09:28
*** platicus has quit IRC09:34
*** platicus has joined #maemo09:47
jonwilLooks like I can add the supl server cert fix to the long list of things I have accomplished since I first discovered the Nokia N900 :)09:49
*** xes_ has joined #maemo10:22
*** xes has quit IRC10:23
*** geaaru has joined #maemo10:31
*** florian has joined #maemo10:32
*** herekun has quit IRC10:39
*** M4rtinK has joined #maemo10:48
*** xorly has joined #maemo10:49
*** jskarvad has joined #maemo11:03
*** jskarvad has quit IRC11:03
*** jskarvad has joined #maemo11:03
*** ecloud has quit IRC11:09
*** xorly has quit IRC11:13
*** ecloud has joined #maemo11:13
*** Konsieur has joined #maemo11:26
Sicelojonwil: thanks very much for the fix11:52
jonwilglad my fix is appreciated11:52
jonwiland will get some use :)11:52
jonwilAnyone got anything else useful I can reverse engineer or investigate or try and fix?11:55
Sicelo0.2.9 is not yet available in repo, is it?11:56
jonwilno idea, repos aren't my responsibility11:56
Sicelolol .. where can i find your updated pacakges then11:57
jonwilYou need to wait for someone to upload them to the repos11:58
jonwilor build them yourself...11:58
Sicelook. will wait then .. 0.2.3 working good for now11:59
*** zGrr has joined #maemo11:59
jonwilso yeah nothing to work on :(12:02
DocScrutinizer05jonwil: even for building "somebody else" likely will need a URL to download12:09
Wizzup_jonwil: you should ask fmg12:10
jonwilThe source code you need to compile is in the CSSU repo :)12:12
jonwiland should be trivial to build for anyone with a working dev env :)12:13
KotCzarnyi shall test my dev chroot on n900 one day12:15
*** xorly has joined #maemo12:16
KotCzarnyit allows creation of packages in as tiny as 400MB of space12:16
KotCzarnyfully arm native12:16
KotCzarnyand being a chroot, it doesnt break device's packages12:16
jonwilI wouldn't want to do on-device compiling for any of the big packages (I challenge anyone to build microb-engine or QT on-device for example)12:20
KotCzarnybeing a chroot it also allows easy deploy of arm based compile farm12:20
Vajb_jonwil: i have an idea for u. Make irssi script that hibernates it to tray ;)12:22
*** Vajb_ is now known as Vajb12:22
KotCzarnyhow do you hibernat text program ?12:23
SiceloVajb: screen .. it's available for N90012:24
KotCzarnysicelo, but how do you hibernate it to tray?12:24
Siceloyou don't12:25
Siceloi think he just doesn't want to see the window all the time ..12:25
Wizzup_KotCzarny: so it's like musl, but larger12:25
Wizzup_err, like alpine*12:26
Vajboh it excists already?12:27
Vajbbut otoh im kinda used to have it always open12:27
Sicelohaha Vajb ... it's N900 .. what did you expect .. of course screen exists12:29
KotCzarnybut its not comfortable to detach/reattach it every time12:29
KotCzarnyhe wants something single click12:29
KotCzarnyvajb, create a xterm shortcut with screen -rd yourircsession as a command12:30
KotCzarnyshould be enough for what you need12:30
Vajbthink im gonna keep my "don't fix it if it aint broken aproach this time :)12:34
KotCzarnyvajb, screen + desktop shortcut should be trivial to do12:34
Vajbbut i've been thinking of making irssi plugin for n900 to have notifications on yellow bubles, but i still lack the know how12:36
KotCzarnythat should be doable with python/dbus maybe?12:36
Vajb$ apt-cache policy screen12:37
Vajbscreen: Installed: (none) Candidate: (none) Version table:12:37
Vajbyes it is i know. I just need to learn enough python to do it12:37
Vajbguess that makes a script kiddie then :)12:38
Vajbmakes me a*12:38
Siceloyou'll need perl too for the irssi part ..12:38
Siceloi'd take an existing perl notification script, install phone-control from repo, and use `phone-control --dialog ...`12:40
Sicelosimple and you need no programming knowledge :)12:40
Wizzup_I thought irssi optionally required perl12:40
Wizzup_oh- nvm12:41
Siceloyou're correct12:41
Vajbah right. I mixed perl and python. I meant perl12:41
Sicelotry my suggestions .. should work12:42
Vajbi might look into it, but i've been meaning to learn some programming anyways. Have just been lazy tho.12:47
Sicelowhich language?12:51
Vajbfirst perl. I already found book via irssi homepage12:51
Vajbso far i read the introduction12:51
VajbKotCzarny: how about imgur plugin? Coming together neatly?12:52
Sicelook :)12:52
Vajbin an ten years i'll announce my totally awesome n900 specific irssi plugin.12:53
* buZz cant wait12:54
*** heroux has quit IRC12:54
buZzis there a crowdfunding? :P12:54
Vajbhaha not yet :p12:55
KotCzarnymy plugin has similar pace as yours12:58
KotCzarnymaybe i'll look into it today12:59
bencohVajb: I'd love a weechat-like remote plugin for irssi ;p13:01
*** heroux has joined #maemo13:03
*** Michael_a330 has joined #maemo13:09
*** Michael_a330 has left #maemo13:12
Vajbawww, my first feature request.13:17
jonwilOk so still looking for something to do. Something that doesn't involve Python or Perl or other things I dont have any understanding of or interest in13:23
Vajbhow about fixing callerx?13:31
jonwilwhats callerx?13:38
Vajbprogram to block calls based on blacklist or whitelist13:39
Vajbit works but sometimes in whitelist mode it blocks all calls13:39
SiceloVajb: :p13:39
Vajbi suspect that problem is whitelist file being in mydocs and when phone is mounted to pc. It doesn't reload that file.13:40
VajbSicelo: well u know whos nawel comes first :p13:41
Vajbhmm what else. Calendar widget could show weeknumber too.13:43
Sicelojonwil  is talking about 'system-level' stuff though13:43
Vajbwell i heard that pulse audio has some things to do...13:44
Vajbjk tho13:44
Sicelore: calendar .. there's alternatiove FOSS widget .. you can maybe make feature request on it13:44
Vajbi'll look onto it13:44
Vajbi have that alternate widget in use atm13:45
DocScrutinizer05install phonecontrol?13:47
infobotsomebody said phonecontrol was
*** yosafbridge has quit IRC14:12
*** yosafbridge has joined #maemo14:17
*** Smily has quit IRC14:17
*** Smily has joined #maemo14:23
*** spiiroin has quit IRC14:23
*** clopez has quit IRC14:25
*** ssvb has joined #maemo14:28
*** clopez has joined #maemo14:30
*** mp107 has joined #maemo14:32
*** mp107 has quit IRC14:33
*** mp107 has joined #maemo14:34
*** robinak has quit IRC14:38
*** xorly has quit IRC14:42
*** robink has joined #maemo14:53
*** jonwil has quit IRC14:53
*** robink has quit IRC14:59
*** robinak has joined #maemo15:00
*** at1as has quit IRC15:07
*** mp107 has quit IRC15:12
*** mp107 has joined #maemo15:17
*** spiiroin has joined #maemo15:49
*** troulouliou_div2 has joined #maemo16:02
*** robink has joined #maemo16:31
*** robinak has quit IRC16:31
*** eMHa__ has joined #maemo16:34
*** eMHa__ has quit IRC16:44
*** xorly has joined #maemo16:48
*** eMHa__ has joined #maemo16:48
*** xorly has quit IRC17:00
*** eMHa__ has quit IRC17:11
*** eMHa__ has joined #maemo17:11
*** at1as has joined #maemo17:13
*** florian has quit IRC17:14
*** eMHa__ has quit IRC17:16
*** kerio has quit IRC17:24
*** kerio has joined #maemo17:24
*** mp107 has quit IRC18:14
*** florian has joined #maemo18:21
*** Pali has joined #maemo18:25
freemangordonSicelo: 0.2.9 is in cssu-devel repo18:26
*** troulouliou_div2 has quit IRC18:28
*** eMHa__ has joined #maemo18:30
*** phlixi has quit IRC18:37
*** phlixi has joined #maemo18:37
*** eMHa has joined #maemo18:39
*** eMHa__ has quit IRC18:40
*** dafox has joined #maemo18:47
*** zGrr has quit IRC18:58
*** Wizzup_ has quit IRC19:12
*** Wizzup has joined #maemo19:12
*** dafox has quit IRC19:18
*** Konsieur has quit IRC19:26
*** at1as has quit IRC19:42
sixwheeledbeastDo I recall someone mentioning a fix for SMS Conversations silently failing due to Emoji's? I don't care for emojis but if your silently losing SMS messages it's not good.20:06
bencohyup, happened to me as well, and fix works20:09
sixwheeledbeastAny chance of getting patched libsms-utils in CSSU?20:10
*** Pali has quit IRC20:11
bencohwe dont have source so emojifix is only a workaround, and iirc it implies patching a binary20:14
sixwheeledbeast so it appears20:15
bencohit's quite clever though, and I guess cssu could always push libemojitils to user and run emojifix patcher in postinst20:17
Vajbhappened to me too20:19
Vajbbut didn't know there is a fix20:19
bencohwell, there is20:19
bencohand you can even get (some) emojis working by installing android/iphone fonts20:20
Vajbwell i installed droid fonts, but didn't know what to do with them :)20:20
*** NeKit has quit IRC20:30
*** hurrian has quit IRC20:30
Vajbdoes that fix work with maemo too?20:32
Vajbumm fremantle i guess20:32
Vajbhmm reverse engineering rtcom-messaging-ui would be a job fit to jonwil :)20:46
*** Kabouik has joined #maemo20:49
*** Kabouik_ has quit IRC20:50
*** hurrian has joined #maemo20:58
*** geaaru has quit IRC21:01
*** at1as has joined #maemo21:11
*** NeKit has joined #maemo21:12
*** drrz has joined #maemo21:34
*** robink has quit IRC21:39
*** robinak has joined #maemo21:46
*** robinak has quit IRC21:52
*** robinak has joined #maemo21:53
*** louisdk has joined #maemo21:56
*** xorly has joined #maemo21:56
Sicelofreemangordon: thanks. already installed :)22:04
*** Maxdamantus has quit IRC22:06
*** Maxdamantus has joined #maemo22:07
freemangordonanybody wants to do debian packaging of ?22:26
freemangordonI am really sick of that code :)22:26
freemangordonit is still buggy in some places, but I'll fix those later22:26
freemangordonbencoh: ^^^22:27
freemangordonwanna package that?22:27
bencohlemme see22:27
freemangordonbencoh: there is -dev package in maemo repos you can use as a template for .pc file22:28
bencoherr, how comes osso-* stuff isn't already packaged? is that RE work?22:28
freemangordonyes, it is22:29
bencoh"RE finished" nevermind :D22:29
bencohyeah I'll have a look at it then :)22:29
freemangordonbencoh: this is what I used to compile gcc `pkg-config --cflags --libs glib-2.0 gconf-2.0 libxml-2.0` bookmark_parser.c -shared -o -fPIC -Wall -O222:29
*** Dakon has joined #maemo22:37
*** Dakon has left #maemo22:38
*** jonwil has joined #maemo22:39
freemangordonjonwil: hi! osso-bookmark-engine RE is finished, it just needs debian packaging and a couple of code fixes :)22:42
jonwilgreat :)22:42
jonwilthat's good news22:42
jonwilStill looking for something to do (and no I dont want to touch osso-bookmark-engine at all :)22:48
bencohis it that ugly? :D22:49
freemangordonbencoh: yes, it is, despite I did a lot of fixes22:53
freemangordonfor example - it uses globals to pass data bewtween recursive function calls22:53
freemangordonor just look at the so-called lock()-unlock() functions which are supposed to protect bookmarks file from concurrent accesses22:54
freemangordonthere was stuff like xmlGetSomething and then g_free on the result22:55
freemangordonhalf of the allocated things rere not freed22:55
freemangordonone and the same code is copy/pasted all over the place (still)22:56
freemangordonhonestly, I can;t remember seeing such a piece of crap in whole my dev experience22:56
*** lxp has joined #maemo23:14
*** at1as has quit IRC23:21
DocScrutinizer05maybe once have a look into bme23:25
jonwilStill cant find anything useful/interesting to do...23:25
DocScrutinizer05just for fun23:25
DocScrutinizer05prolly like watching a train crash23:26
bencohoh shit, fuck libtool23:38
jonwilNot even going to touch the mess that is BME...23:50

Generated by 2.15.1 by Marius Gedminas - find it at!