IRC log of #maemo for Friday, 2017-06-16

*** vrms is now known as LjL00:13
*** dafox has quit IRC00:31
*** ubizzy has joined #maemo00:44
*** Pali has quit IRC00:58
*** dafox has joined #maemo01:12
*** sunshavi has quit IRC01:24
*** dafox has quit IRC01:30
*** cyteen has quit IRC01:34
*** err0r3o3_ has joined #maemo01:54
*** ubizzy has quit IRC01:56
*** err0r3o3 has quit IRC01:58
DocScrutinizer05sicelo: repo fremantle-1.2 been mirrored from fremantle back when fremantle-1.3 rolled out but wasn't compatible for a very few apps. Fremantle-1.3 been created as a symlink to (rolling) fremantle, so eventually we could do same as fremantle-1.2 for 1.3 when 1.4 would come. Now the crux: prolly during server migration when maemo ownership was transferred to community, it seems the fremantle-1.3 symlink was converted to a copy (that's what02:15
DocScrutinizer05happens when you don't do rsync but wget or the like to get an image of a server). So odds are nowadays fremantle-1.3 and fremantle are not in sync anymore, and it's basically up to anybody's guess which of them is the more recent one - until somebody fixes that issue. Maybe I'm wrong and somebody already did fix it02:15
freemangordonDocScrutinizer05: iirc it was fixed02:22
DocScrutinizer05then there mustn't be a difference between http://repository.maemo.org/extras-devel/dists/fremantle/free/binary-armel/Packages.gz  and the fremantle-1.3 equivalent02:23
freemangordonis there?02:23
DocScrutinizer05see above02:23
* freemangordon checks on stage02:24
DocScrutinizer05diff <(wget http://repository.maemo.org/extras-devel/dists/fremantle/free/binary-armel/Packages.gz) <(wget http://repository.maemo.org/extras-devel/dists/fremantle-1,3/free/binary-armel/Packages.gz)  ?02:25
DocScrutinizer05('synthesized' the second URL)02:25
DocScrutinizer05anyway temporary "corruptions" of Packages.* are also not unheard of02:26
freemangordonon the server, /var/repository/live/extras-devel/live/ fremantle-1.3 is a symlink to fremantle02:26
DocScrutinizer05there must be a race in autobuilder somewhere02:26
freemangordonit is rsynced02:27
DocScrutinizer05good02:27
DocScrutinizer05oooh wait02:27
freemangordonafaik, ofc :)02:27
DocScrutinizer05rsync missing a --delete-after or somesuch?02:27
freemangordonno idea, it was a while I looked at the scripts02:27
DocScrutinizer05not as lonfg as me02:28
DocScrutinizer05I faintly recall BFS-mounts that gave me headache02:28
DocScrutinizer05NFS*02:28
*** xy2_ has quit IRC02:29
freemangordonI can;t even recall where those scripts were located, and I am too tired to look for them now :)02:29
DocScrutinizer05while in theory I could, I don't touch that stuff anymore since that would make some people angry or nervous02:29
freemangordonrsync -avogq --delete /var/repository/staging/${suite}/pool/${dist}/ /var/repository/live/${suite}/pool/${dist}/02:31
freemangordonrsync -avogq --delete /var/repository/staging/${suite}/dists/${dist}/ /var/repository/live/${suite}/dists/${dist}/02:31
freemangordonanyway, I am going to have some sleep02:32
freemangordonnight02:32
*** xorly has quit IRC02:36
*** cyphase has quit IRC02:36
*** cyphase has joined #maemo02:41
*** florian has quit IRC02:50
DocScrutinizer05thanks! lemme try to find out what's missing, some option should make rsync do a bulk-rename of all copied files *after* the copy completed, instead of file-by-file03:09
DocScrutinizer05--delete-after is part of it afaik03:09
DocScrutinizer05-avogq really now? seems -v and -q are contradicting03:12
DocScrutinizer05and -a implies go03:13
DocScrutinizer05-a, --archive               archive mode; equals -rlptgoD (no -H,-A,-X)03:13
DocScrutinizer05so -avogq is the same as -avq or even as -aq03:15
*** sunshavi has joined #maemo03:15
*** infobot has quit IRC03:17
DocScrutinizer05s/--delete/--delay-updates --delete-after/03:18
*** infobot has joined #maemo03:19
DocScrutinizer05maybe also --delete-delay03:19
*** sunshavi has quit IRC03:21
*** sunshavi has joined #maemo03:24
DocScrutinizer05while that doesn't eliminate the window for race condition, it reduces its 'size' from several minutes or even hours to a few seconds03:28
DocScrutinizer05watch out for storgae size though, it requires more for temporary files03:29
DocScrutinizer05actually for all new / changed files, on top of all that's already there03:43
*** cyteen has joined #maemo03:45
OksanaaDust... Okay, I don't like python2.7 (I think that it doesn't properly advertise to python that it has 2.7 available now, besides 2.5), so I am converting firefox_decrypt.py (for displaying MicroB's passwords) to be compatible with python 2.5 (hopefully, without losing compatibility with later versions of python).04:18
OksanaaAnd, it turns out that it would depend not only on python, but also on python-argparser and some kind of json (python-simplejson doesn't seem to work for it...)04:19
OksanaaAnd, I hope that "xyz %s" % (variable) works in newer python, because "xyz {}".format(variable) doesn't work in older python04:35
MaxdamantusThat `(variable)` bit seems suspicious .. is it meant to be `(variable,)`?04:38
OksanaaOkay, no idea how this one website manages to remember my login... because it's not in the list of remembered passwords. Maybe, 1year-valid cookies04:38
Maxdamantusthe former will probably work if `variable` is not iterable, the latter should always work.04:38
OksanaaMaxdamantus: Nay, definitely without commas04:38
MaxdamantusSeems weird having the brackets then.04:39
OksanaaCannot be too sure about shape of brackets, because I use minimum font size in XTerminal. Sometimes it's like "xyz {0}".format(variable)04:39
OksanaaAnyway, it worked now. Next steps: dump modified firefox_decrypt.py somewhere (it depends on python-argparse and python-simplejson), write down my passwords somewhere, move the password database file elsewhere (because MicroB doesn't actually seem to remember them), try to get MicroB remember a password (and display it in chrome://passwordmanagerso04:41
Oksanaamething)04:41
OksanaaJolted down the passwords in my Notes document. Extremely unsafe, that's for sure ;-)04:54
MaxdamantusProbably safer than storing them in a browser, since that's where people are going to look for passwords.05:36
Maxdamantusunless there's some sort of master password.05:36
*** xes has quit IRC05:41
*** xes has joined #maemo05:42
*** err0r3o3_ has quit IRC05:56
*** err0r3o3 has joined #maemo05:58
*** pagurus` has joined #maemo06:02
*** pagurus has quit IRC06:04
*** mavhc has quit IRC06:54
*** mavhc has joined #maemo07:20
*** crazyguy` has joined #maemo08:02
*** dafox has joined #maemo09:00
*** spiiroin has quit IRC09:07
*** dafox has quit IRC09:26
*** dmth|intevation has joined #maemo09:37
siceloso yes, 3G problem on N900 is mostly ISP, although clearly N900 modem doesn't handle the situation as well as other phones do (SGS4 for example)09:52
sicelos/on/on my/09:53
infobotsicelo meant: so yes, 3G problem on my N900 is mostly ISP, although clearly N900 modem doesn't handle the situation as well as other phones do (SGS4 for example)09:53
sicelothe 3G works a bit better during the daytime than in the evening09:56
*** geaaru has joined #maemo09:59
*** spiiroin has joined #maemo10:07
Vajbsicelo: time to pester ur service provider ;)10:09
Vajbsicelo: and im pestering my irssi provider. Perl script that used to work doesn't work anymore.10:10
siceloi also think maybe the other phone 'cheat' - android being more chatty compared to maemo10:10
Vajbi saw someone else having same problem and he traced it to ur version being compiled against wrong perl version10:11
sicelohalftux it was. unfortunately i was busy with reflashing .. i never got a chance to read/understand the problem10:16
siceloi'm also away from my machine10:16
sicelobut i wonder if it's wrong perl version .. we used scratcbox & autobuilder ...10:16
Vajbi wouldn't know. Only thing i do know is that script.pl that used to work with old version, does not with new :)10:18
Vajbbut not a big problem since it was just "vibrate on highlight, if not away"10:19
sicelohalftux was going to look at it further ... but i could maybe also investigate over the weekend. which script is it10:19
sicelotbh i don't use scripts at all :p10:20
Vajbi think u r better of just testing any script. This one is just ugle hack'n'slash till it works by me10:20
Vajbalso i noticed a thing with telegram purple. It seems to crash if i lose connection while it tries to send message10:22
freemangordonsicelo: afaik, android browser preloads pages linked from the currently loaded page10:24
MaxdamantusI suspect for me N900 is fairly chatty, and I get those disconnections too.10:25
Maxdamantuswell, dunno if it's more frequent than most.10:25
freemangordonn900 being chatty? I doubt10:25
sicelodefinitely not chatty n900 - uses least data when idle10:25
MaxdamantusI run an ssh session all day attached to tmux that shoes the current time.10:25
Maxdamantusso it's updating at least once a minute.10:25
Maxdamantusprobably more frequently than that because of keepalives.10:26
Maxdamantus(it's also by default always looking at the (status) window in irssi, so will see some of the window numbers changing colour occasionally)10:30
freemangordonMaxdamantus: still, iphbd will keep radio wakeups at minimum10:31
MaxdamantusSo you're saying the TCP messages would be held by my ISP for long periods of time?10:32
Maxdamantusand they're sending the TCP ACKs themselves?10:33
freemangordonno, what I say is that iphbd tries to "gather" outgoing packets so to not wake-up radio for every single packet.10:34
MaxdamantusRight, I suspect most of the activity is incoming though.10:35
*** Sicelo009N has joined #maemo10:36
Sicelo009Nthe lag so terrible .. even typing in ssh session does not work ok :-(10:36
KotCzarnysicelo: my usual fix: ping -s8 google.com10:36
KotCzarnykeeps radio active, lag == minimal10:36
freemangordonMaxdamantus: look at https://github.com/community-ssu/iphb-dkms/blob/master/iphb.c10:36
KotCzarnybut of course it's best to choose some first hop ip in your isp range10:37
freemangordonMaxdamantus: who sends keepalives to the device and at what interval?10:38
Sicelo009Nmax - by 'chatty' - i mean't traffic particularly at idle. droids connect to too many things and silencing them completely is not trivial10:38
sicelostill :-)10:39
freemangordon...if possible at all10:39
KotCzarnysicelo: still, worth a try ;)10:39
Sicelo009Ni've done that before. doesn't help10:39
Sicelo009Nthe network is just bad (quality-wise).10:40
KotCzarnybad droids, bad.10:40
Maxdamantusfreemangordon: I'm not actually sure there are any keepalives going to the device, since there's always activity at least once a minute and I think keepalives are generally set to something infrequent in openssh.10:40
freemangordonMaxdamantus: so, what happens, most probably, is that usually you have radio wake-up only once a minute for a second or so and all the chatter is done within that second.10:42
*** Sicelo009N has quit IRC10:42
* Maxdamantus wonders how to show the keepalive for a current connection.10:42
freemangordontcpdump10:42
MaxdamantusThere should be a way to introspect the socket rather than monitoring a TCP dump.10:43
MaxdamantusI know the pid and fd.10:43
freemangordonno idea of any other way10:44
*** Sicelo009N has joined #maemo10:45
freemangordonMaxdamantus: also, what is the problem with tcpdump?10:46
KotCzarnyethereal ? or whatever it's called now10:47
KotCzarnyor nettop10:47
Sicelo009NVajb: i see the scripts problem. ugly10:47
freemangordonwireshark :)10:47
freemangordonKotCzarny: but that's UI yoiu can use to inspect pcps from tcpdum10:47
freemangordon*you10:47
freemangordonomg10:48
* freemangordon heads to the coffee machine10:48
* freemangordon hopes the second coffee will improve his typing skills10:50
freemangordonMaxdamantus: use -o option of netstat10:53
VajbSicelo009N: nevertheless it used to work ;)10:57
Maxdamantusfreemangordon: thanks.10:58
Maxdamantuskeepalive (744.41/0/0)10:58
* Maxdamantus wonders if that means 744 seconds10:58
MaxdamantusOh, it's counting down.10:59
MaxdamantusYeah, so 691 seconds until teh next keepalive.10:59
MaxdamantusUsually it will probably be higher, but I detached it from tmux when I got home.10:59
MaxdamantusSeems to actually be 7200 seconds.11:00
Maxdamantus2 hours11:01
freemangordonMaxdamantus: that's system default11:02
Sicelo009NVajb: i'll dig up halftux comment11:04
*** florian has joined #maemo11:04
Maxdamantusfreemangordon: hm, so it is. I thought it was more frequent than that.11:06
Sicelo009NVajb: what is your perl version?11:07
freemangordonMaxdamantus: yep, not that chatty :) .11:07
Sicelo009N:-)11:08
freemangordonDocScrutinizer05: could you give me the link to mce brightness thread on TMO as it seems I lost the browser tab somehow. I need it to put it in the mce changelog11:08
*** jskarvad has joined #maemo11:11
*** jskarvad has quit IRC11:11
*** jskarvad has joined #maemo11:11
*** Sicelo009N has quit IRC11:12
*** Sicelo009N has joined #maemo11:12
*** florian has quit IRC11:12
*** cyteen has quit IRC11:14
*** florian has joined #maemo11:18
freemangordonDocScrutinizer05: https://github.com/community-ssu/mce/commit/88a69e02c61e24aa272e1f63971e03424c051b0911:25
freemangordonI will run it on my device for a while, if everything is ok, will put the fixewd package in cssu-devel11:26
*** Kabouik has joined #maemo11:26
*** florian has quit IRC11:29
*** florian_ has joined #maemo11:29
VajbSicelo009N: actually it seems i have none installed. How it can be?11:36
Vajbi have candidate 5.8.3 available, should i install?11:36
Vajbi think i never had it and still earlier version worked11:37
Vajbmaybe problem lies somewhere else?11:37
*** geaaru has quit IRC11:39
*** geaaru has joined #maemo11:52
siceloVajb: perl-base ... should have it11:56
Vajbsicelo: 5.8.3 installed12:13
VajbInstalled: 5.8.3-3osso13+0m512:14
Sicelo009Nok. same as halftux and myself .. i wonder what version is in autobuilder (and which one i have in SB .. will check mine in the evening)12:19
*** xorly has joined #maemo12:20
*** Sicelo009N has quit IRC12:35
*** Kabouik has quit IRC12:40
*** Kabouik has joined #maemo12:41
*** ubizzy has joined #maemo12:45
ShadowJKnetstat -ta sometimes shows timers like keepalive12:48
*** Sicelo009N has joined #maemo12:57
Sicelo009NVajb: i've compared the earlier irssi i had compiled with this latest one. for some weird reason the new one doesn't have the perl modules which should get saved in /usr/lib/perl .. will have to look at the compile options again12:58
Sicelo009Nat least now i know exactly what's wrong. fixing is a different story :-)12:59
*** Sicelo009N has quit IRC13:10
*** cyteen has joined #maemo13:21
*** florian_ has quit IRC13:22
*** florian has joined #maemo13:22
*** florian has joined #maemo13:22
Vajbsicelo: could those be symlinked or moved to right places?13:34
DocScrutinizer05freemangordon: http://talk.maemo.org/showthread.php?p=138836813:35
DocScrutinizer05http://mg.pov.lt/maemo-ssu-irclog/%23maemo-ssu.2013-11-23.log.html#t2013-11-23T06:20:4813:35
DocScrutinizer05http://mg.pov.lt/maemo-irclog/%23maemo.2017-06-05.log.html13:35
DocScrutinizer05freemangordon: can you send me the binary?13:37
DocScrutinizer05dreamer: tcpdump? tshark!13:49
DocScrutinizer05sorry, dreamer! freemangordon^^^13:50
* DocScrutinizer05 also sips his coffee13:51
DocScrutinizer05tshark is the CLI version / remote-frontend for wireshark13:52
DocScrutinizer05wireshark also can read tcpdump pcap dumps, but remote control works best with tshark13:52
DocScrutinizer05https://www.wireshark.org/docs/man-pages/tshark.html13:55
DocScrutinizer05http://paste.ubuntu.com/24871861 could need an urgent update :-/13:58
DocScrutinizer05~pkg13:58
infobotmethinks pkg is http://maemo.org/packages/13:58
DocScrutinizer05http://maemo.org/packages/view/tshark/13:58
DocScrutinizer05TShark 1.12.10 (Git Rev Unknown from unknown)   Copyright 1998-2016 Gerald Combs   is what my PC has14:00
* L29Ah failed to communicate with old tshark so he used tcpdump piped over ssh14:00
DocScrutinizer05and *shark sure as hell seen quite some security fixes14:00
L29Ahwireshark can consume stdin14:00
DocScrutinizer05@all: whoever is looking for getting his hands dirty with easy package building and maintenance: tshark is a fine candidate14:02
*** xy2_ has joined #maemo14:02
DocScrutinizer05L29Ah: yes, I know14:07
DocScrutinizer05tshark just has more convenient syntax/filters14:07
DocScrutinizer05>>Without any options set, TShark will work much like tcpdump. It will use the pcap library to capture traffic from the first available network interface and displays a summary line on stdout for each received packet.<<14:08
DocScrutinizer05btw a pity I only installed http://talk.maemo.org/showthread.php?t=84753 saera yesterday first time ever14:12
*** xy2_ has quit IRC14:15
DocScrutinizer05installs just fine via HAM, imcl al dependencies14:16
DocScrutinizer05afaikt14:16
DocScrutinizer05s/k/c/14:16
infobotDocScrutinizer05 meant: afaict14:16
DocScrutinizer05L29Ah: http://talk.maemo.org/showthread.php?t=73753&highlight=wireshark14:21
DocScrutinizer05wireshark -k -i <(ssh -l root IroN900 tshark -w - -i phonet0 )14:22
L29Ahi mean, modern wireshark can communicate with a remote stub to avoid moving around lots of data in case only a portion is filtered out at the ui14:24
DocScrutinizer05that remote stub being tshark, no?14:25
L29Ahnow i'm not sure14:27
*** xy2_ has joined #maemo14:27
L29Ahok it cannot do this, man sshdump(1) suggests it's as dumb as a pipe14:28
*** Pali has joined #maemo14:31
DocScrutinizer05sshdump? https://www.wireshark.org/docs/man-pages/14:39
*** ubizzy has quit IRC14:44
DocScrutinizer05weird, why is the manpage missing? https://github.com/wireshark/wireshark/blob/master/doc/sshdump.pod14:48
DocScrutinizer05I fail to see the advantage of sshdump over a simple wireshark -i <(ssh host tshark), rather it looks terribly complicated14:54
L29Ahyeah14:55
DocScrutinizer05aiui it creates a virtual local interface mirroring a remote interface which wireshark can dump from14:55
DocScrutinizer05maybe needed for wireshark on windoof?14:56
DocScrutinizer05but wait, it wouldn't even work on windoze14:57
*** ubizzy has joined #maemo14:59
DocScrutinizer05anyway any brave soul taking maintainership of http://maemo.org/packages/view/wireshark/ and http://maemo.org/packages/view/tshark/ would earn eternal positive karma :-)15:01
DocScrutinizer05since particularly tshark is CLI only, and the package already exists, an update should be a matter of 'minutes' without much if any patching needed15:02
*** spiiroin has quit IRC15:06
*** xorly has quit IRC15:18
*** xorly has joined #maemo15:22
*** LjL has quit IRC15:30
*** xy2_ has quit IRC15:31
*** Wikiwide has joined #maemo15:31
WikiwideDarn... Went to firefox_decrypt.py on Github. It's already a different (somewhat) file. Okay, so I went and edited this different file again (three main points: with statement, Exception as e, and str.format()). Tested it on device, added fourth point (argparser and --version). Works on Python 2.5, send pull request. Tests... Fail 11 out of 16. One of 11 failed is actually --version, which requires research into argparser capabilitie15:42
Wikiwides with Python 2.515:42
WikiwideAnd on the way, added simplejson and argparser into python's list of requirements (no idea whether it's interacting with debian packages; does pip inform dpkg when yet another python dependency gets installed, or are the pip-installed dependencies "invisible" to dpkg and apt?)15:47
*** spiiroin has joined #maemo15:59
*** dmth|intevation has quit IRC15:59
sicelo~bme16:21
infobothmm... bme is http://wiki.maemo.org/N900_Software_BME16:21
*** Pali has quit IRC16:25
sicelo~bme-replacement16:36
infoboti heard bme-replacement is http://atrey.karlin.mff.cuni.cz/~pali/rx51-bme-replacement  http://atrey.karlin.mff.cuni.cz/~pali/projects/maemo/bme-replacement.html  See also: http://wiki.maemo.org/Bme_replacement . Please, use wiki page to report bugs/problems and/or solutions to them!, or http://talk.maemo.org/showthread.php?t=9318316:36
*** cyteen has quit IRC16:37
*** Wikiwide has quit IRC16:47
*** LjL has joined #maemo17:19
*** auenf has quit IRC18:23
*** Kabouik_ has joined #maemo18:24
*** Kabouik has quit IRC18:25
*** xy2_ has joined #maemo18:46
*** cyteen has joined #maemo18:48
*** auenf has joined #maemo19:07
*** auenf has quit IRC19:07
*** cyteen has quit IRC19:07
*** dafox has joined #maemo19:15
*** auenf has joined #maemo19:27
*** dafox has quit IRC19:49
*** dafox has joined #maemo19:50
*** jon_y has quit IRC19:51
*** jon_y has joined #maemo19:53
*** Kabouik_ has quit IRC20:03
*** xy2_ has quit IRC20:03
*** dafox has quit IRC20:09
*** SmilyOrg has joined #maemo20:18
*** Smily has quit IRC20:20
*** crazyguy` has quit IRC20:30
*** dafox has joined #maemo20:37
*** xy2_ has joined #maemo20:38
*** cyteen has joined #maemo21:16
*** frals has quit IRC21:26
*** geaaru has quit IRC21:35
*** jskarvad has quit IRC21:52
sicelosixwheeledbeast: did you try out the permissions issue for cutenews? i can reproduce it on a fresh install21:58
*** chfoo[m] has quit IRC22:00
*** xy2_ has quit IRC22:34
*** xy2_ has joined #maemo22:39
*** frals has joined #maemo22:41
*** cyteen has quit IRC22:57
sixwheeledbeastsicelo: I changed it but I can't recall what wasn't working23:00
*** Wikiwide has joined #maemo23:48

Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!