IRC log of #maemo for Friday, 2018-12-28

*** mavhc has joined #maemo00:03
*** aloril_ is now known as aloril01:14
*** ced117 has quit IRC01:30
*** ced117 has joined #maemo01:31
*** ced117 has joined #maemo01:31
*** Kabouik has quit IRC02:41
*** florian has quit IRC02:42
*** tm has quit IRC03:08
*** mavhc has quit IRC03:10
*** tm has joined #maemo03:11
*** mavhc has joined #maemo03:22
*** mavhc has quit IRC03:28
*** mavhc has joined #maemo03:38
*** mavhc has quit IRC03:42
*** mavhc has joined #maemo03:53
*** mavhc has quit IRC03:57
*** mavhc has joined #maemo04:04
*** mavhc has quit IRC04:17
*** nslu2-log_ has joined #maemo04:18
*** nslu2-log has quit IRC04:20
*** nslu2-log_ is now known as nslu2-log04:21
*** mavhc has joined #maemo04:21
*** buZz has quit IRC04:28
*** nslu2-log has quit IRC04:28
*** nslu2-log has joined #maemo04:29
*** buZz has joined #maemo04:36
*** buZz is now known as Guest9252204:36
*** mavhc has quit IRC04:42
*** mavhc has joined #maemo04:51
*** nslu2-log_ has joined #maemo05:14
*** mavhc has quit IRC05:15
*** nslu2-log has quit IRC05:17
*** nslu2-log_ is now known as nslu2-log05:18
*** mavhc has joined #maemo05:25
*** mavhc has quit IRC05:57
*** mavhc has joined #maemo06:01
*** mavhc has quit IRC06:39
*** mavhc has joined #maemo06:41
*** pagurus` has joined #maemo06:55
*** pagurus has quit IRC06:57
*** Guest92522 has quit IRC07:06
*** Guest92522 has joined #maemo07:06
*** Guest92522 is now known as buZz07:06
*** nslu2-log has quit IRC07:20
*** merlin1991 has quit IRC07:25
*** merlin1991 has joined #maemo07:25
*** nslu2-log has joined #maemo07:26
*** nslu2-log has quit IRC07:31
*** nslu2-log has joined #maemo07:33
*** mavhc has quit IRC07:48
*** mavhc has joined #maemo07:53
*** Natch has quit IRC08:14
*** mavhc has quit IRC08:26
*** Natch has joined #maemo08:26
*** mavhc has joined #maemo08:31
*** mavhc has quit IRC08:47
*** mavhc has joined #maemo08:52
*** mavhc has quit IRC09:02
*** mavhc has joined #maemo09:07
*** mavhc has quit IRC10:01
*** mavhc has joined #maemo10:07
*** Kilroo has quit IRC10:28
*** florian has joined #maemo10:53
*** Pali has joined #maemo10:53
*** mavhc has quit IRC10:57
*** florian has quit IRC11:02
*** mavhc has joined #maemo11:04
*** florian has joined #maemo11:15
*** ced117 has quit IRC11:17
*** florian has quit IRC11:20
*** Pali has quit IRC11:40
*** ced117 has joined #maemo11:43
*** ced117 has joined #maemo11:43
*** Pali has joined #maemo11:51
*** ced117 has quit IRC12:00
*** ced117 has joined #maemo12:40
*** ced117 has quit IRC12:47
*** ced117 has joined #maemo12:48
*** ced117 has quit IRC12:49
*** ced117 has joined #maemo12:52
*** Kabouik has joined #maemo13:16
siceloa key has fallen out of my hwkbd13:19
sicelowhat's a good glue to put it back on? i don't want tomake a mistake and use something that might make matters worse13:19
KotCzarnyorder replacement kb inlet?13:20
sicelonot practical in my case13:20
sicelothe key is not lose. just need the right glue to stick it back on13:22
KotCzarnyi see replacement kb for ~4 usd13:24
*** Vajb has quit IRC13:25
KotCzarnyh3droid is only for allwinner H2+/H3 soc13:26
KotCzarnyerm, -ECHAN13:26
*** florian_kc has joined #maemo13:35
*** Vajb has joined #maemo13:37
*** ecloud_wfh is now known as ecloud13:41
Vajbsicelo: I would go with 3M products or some other syanoachrylate glue.13:43
Vajbor some two-component glue, but I think that would be messier.13:44
*** mavhc has quit IRC13:55
*** mavhc has joined #maemo14:00
sixwheeledbeast^Trying to merge a list of txt files into one stripping the first line of each. However it would appear bash is processing wildcards not in filename order so output is not in date order. Anyone think of a solution without listing a string of filenames?14:14
KotCzarnybash required?14:15
sixwheeledbeast^nope desktop I think it's multithreading the tail command14:15
KotCzarnysome scripting language might be nicer if it's complicated14:16
Vajbcan't you sort them after merging?14:17
sixwheeledbeast^Tried just tail +2 and piping find into xargs tail +2, files seem to be processed in eights (8 core desktop)14:18
KotCzarnyhmm, internet says globbing guarantees alphabetical order14:18
sixwheeledbeast^I expected bash to maintain my intentional file order of foofile00 foofile01 etc14:19
KotCzarnyin php i would just populate array of arrays, drop first element in each subarray and iterate on final list14:19
KotCzarny(yes, i'm a fan of php-cli)14:20
VajbI think I would use java for that task.14:20
Vajb(just because we have had exhaustive java courses)14:21
sixwheeledbeast^Just running straight from the shell, I suppose if there is no straight forward way I could list the array of 60 odd files with tab complete...14:22
*** Wizzup has quit IRC14:22
Vajblets hear what exactly you are trying to do?14:22
KotCzarnybtw. sorting depends on locale set14:23
sixwheeledbeast^ah locale14:23
*** Wizzup has joined #maemo14:26
sixwheeledbeast^so for example "tail -q -n +2 *.txt >> conc.csv"14:26
KotCzarnytail would concatenate then cut probably14:27
KotCzarnyyou probably need for each in *.txt; do tail -q -n +2 >>conc.csv; done14:27
sixwheeledbeast^also "find . -name "*.txt" | xargs -n 1 tail -n +2 >> concx.csv"14:27
KotCzarnyfor each in *.txt; do tail -q -n +2 "$each" >>conc.csv; done14:28
KotCzarnyunless i misunderstood your question14:28
*** DocScrutinizer05 has quit IRC14:30
sixwheeledbeast^nope perfect, you understood exactly14:30
*** DocScrutinizer05 has joined #maemo14:31
sixwheeledbeast^the power of a loop, er14:31
KotCzarnycheck if it globs the files in the right order14:32
KotCzarnyotherwise you could simple replace it with sort14:33
KotCzarnyie. for each in `ls *.txt|sort`; do ..14:33
KotCzarny(as long names dont have spaces or weird chars14:33
sixwheeledbeast^Output is in correct order  :)14:35
KotCzarnyyay for cmdline!14:36
*** DocScrutinizer05 has quit IRC14:45
*** DocScrutinizer05 has joined #maemo14:45
*** DocScrutinizer05 has quit IRC14:55
totalizatorKotCzarny: do not simplify every code you get :E
KotCzarnyi see a lot of missing elses :P15:00
totalizatorthe shuttle flies too fast - I can't see :E15:05
*** mavhc has quit IRC15:08
*** mavhc has joined #maemo15:11
KotCzarnytotalizator: my shuttles are usually compressed into high velocity bullets that pierce through anything15:13
totalizatorI'll stick with my bike, thanks15:16
*** mavhc has quit IRC15:26
*** DocScrutinizer05 has joined #maemo15:27
sixwheeledbeast^After Vajb mentioned merging first I came up with this solution :)   "cat *.txt >> conc.csv && sed -i '/String/d' conc.csv"15:28
sixwheeledbeast^Don't know why i didn't think of that earlier...15:28
KotCzarnyor just grep -v ?15:28
sixwheeledbeast^Possibly I seemed to gravitate towards sed -i. Seems cat works in file order tho whereas tail didn't, makes sense.15:33
*** mavhc has joined #maemo15:34
DocScrutinizer05glob sorts15:35
DocScrutinizer05per definition15:35
DocScrutinizer05why not pipe? cat *.txt | sed -i '/String/d' >conc.csv15:36
DocScrutinizer05err without "-i"15:36
inzUseless use of cat ;)15:36
* KotCzarny mreoows15:37
DocScrutinizer05prolly sed '/String/d' *.txt  >conc.csv also works15:37
KotCzarnyinz, cat is nice as a pipe starter15:37
inzIt is usually more readable, yes15:37
KotCzarnyeasier to modify ending params than to move the cursor back further15:37
KotCzarnyso it has its uses15:37
*** Vajb has quit IRC15:39
KotCzarnya bit offtopic, what triggers gsm network to send internet/mms configuration?15:40
DocScrutinizer05location register server does that, on sensing a new IMEI on an account15:41
*** Vajb has joined #maemo15:41
DocScrutinizer05or on sensing a roaming user15:41
KotCzarnyDocScrutinizer05: so putting card into another phone, letting it go into network, then putting card back should work for sending config again15:43
KotCzarnyunless they keep a list of seen imeis per user15:43
sixwheeledbeast^It was due to finding cat was processing the files in the correct order but it seems just sed works fine too.15:43
KotCzarnynow i need another phone to confirm, hrm15:44
sixwheeledbeast^Here once SIM is seen on the network it doesn't prompt you to download config info again unless you request it from the network.15:51
DocScrutinizer05KotCzarny: depends, prolly not tsince the "old" IMEI gets stored15:52
DocScrutinizer05yes, keeping list of seen IMEIs seems to be exactly what they do15:52
sixwheeledbeast^s/SIM/IMEI/ ^ is most likely15:52
DocScrutinizer05once that IMEI had been seen on that SIM/account, it won't usually get a second SMS15:54
DocScrutinizer05but I'm not completely sure, done too few tests to have a sufficient sample base15:54
DocScrutinizer05I also guess there must be some "aging"15:55
KotCzarnydont have another phone handy atm, but will check in an hour15:56
DocScrutinizer05after all you could have nuked the settings by inserting another SIM15:56
KotCzarnybut it could've been different network, which your home network wouldnt know about15:57
KotCzarnyso it might be bound to sim+imei combination15:57
DocScrutinizer05sp maybe they send a SMS when they didn'T see that account|IMEI tuple for >1 week or whatever15:57
DocScrutinizer05SIM=IMSI=account, yes15:59
KotCzarnyi just find it weird it wasnt standardized and left for user side16:00
DocScrutinizer05most providers offer a web service to trigger semding of config SMS16:02
DocScrutinizer05"register new phone" or somesuch16:02
KotCzarnythe one i'm currently helping with doesnt16:02
KotCzarnyor at least they dont expose that information anywhere16:03
DocScrutinizer05ask their hotline16:03
KotCzarnyalso, it's a virtual operator16:03
DocScrutinizer05could also simply be a SSC/USSD, or a SIM with "cinfigure internet" to 666, or whatever16:04
DocScrutinizer05well, either they operate on their own network ID (2 digits country + 3 digits Provider-ID) or you are using then genuine network operator's location register and thus should ask their hotline16:07
DocScrutinizer05what does the phone show? "virtual" ├╝provider name, or genuine network operator name?16:09
KotCzarnynah, they use real operator network, numbers are probably routed inside the network by operators using shared database16:09
KotCzarnythey say it shows suboperator name (ie. different than real operator)16:11
DocScrutinizer05then they use their own database, either on own hardware or virtualized on genuine operator's Location Register16:20
sixwheeledbeast^You can either text a number or use the web portal to resend the config here.16:21
sixwheeledbeast^Also customer service can force the prompt to appear again.16:23
KotCzarnyi'm looking for an automatic way, preferably without customer service call, people are allergic to it16:24
*** mavhc has quit IRC16:27
*** mavhc has joined #maemo16:32
*** ced117 has quit IRC17:03
DocScrutinizer05oh, so you ask how providers *should* do it?17:26
DocScrutinizer05keep a list of IMSIs in Location Register user account. Delete those that had not been seen logged in for a week or two. Send a SMS to each new IMSI17:28
DocScrutinizer05allow manual trigger of SMS sending. Ideally by SMS and by web interface17:29
DocScrutinizer05rate-limit to max 10 config SMS / day17:31
DocScrutinizer05to defeat all sorts of hiccups and exploits17:31
KotCzarnyyum, manual trigger with some service code would be best17:31
DocScrutinizer05SMS "new" to 66617:32
KotCzarnycurrently its up for operator to setup such codes, which varies wildly between them17:32
DocScrutinizer05or dial *NEW-INTERNET#17:33
KotCzarnyand its even worse with MVOs17:33
DocScrutinizer05better: *NEWPHONE#"17:33
KotCzarnyor just INTERNET17:33
KotCzarnyand MMS17:33
KotCzarnywhich some of them do now17:34
KotCzarnybut not all17:34
*** florian_kc has quit IRC19:03
*** freemangordon has quit IRC19:21
*** ced117 has joined #maemo19:43
*** Pali has quit IRC20:15
*** mavhc has quit IRC20:22
*** Pali has joined #maemo20:24
*** eMHa__ has joined #maemo20:25
*** eMHa_ has quit IRC20:27
*** mavhc has joined #maemo20:28
*** Elektra has joined #maemo21:07
*** Elektra has quit IRC21:08
*** ashley has quit IRC21:08
blebare there any good tools to determine which bands a phone supports?21:11
*** florian_kc has joined #maemo21:11
bleblike i have an e66 and i want to figure out if it's the US version or non-US version21:11
*** ced117 has quit IRC21:14
*** Elektra has joined #maemo21:22
*** Elektra is now known as ashley21:25
*** ced117 has joined #maemo21:38
*** mavhc has quit IRC21:54
*** mavhc has joined #maemo22:02
*** Kilroo has joined #maemo22:25
*** mavhc has quit IRC22:28
*** florian_kc is now known as florian22:31
*** mavhc has joined #maemo22:31
*** mavhc has quit IRC23:48
*** mavhc has joined #maemo23:50

Generated by 2.15.1 by Marius Gedminas - find it at!