*** mavhc has joined #maemo | 00:03 | |
*** aloril_ is now known as aloril | 01:14 | |
*** ced117 has quit IRC | 01:30 | |
*** ced117 has joined #maemo | 01:31 | |
*** ced117 has joined #maemo | 01:31 | |
*** Kabouik has quit IRC | 02:41 | |
*** florian has quit IRC | 02:42 | |
*** tm has quit IRC | 03:08 | |
*** mavhc has quit IRC | 03:10 | |
*** tm has joined #maemo | 03:11 | |
*** mavhc has joined #maemo | 03:22 | |
*** mavhc has quit IRC | 03:28 | |
*** mavhc has joined #maemo | 03:38 | |
*** mavhc has quit IRC | 03:42 | |
*** mavhc has joined #maemo | 03:53 | |
*** mavhc has quit IRC | 03:57 | |
*** mavhc has joined #maemo | 04:04 | |
*** mavhc has quit IRC | 04:17 | |
*** nslu2-log_ has joined #maemo | 04:18 | |
*** nslu2-log has quit IRC | 04:20 | |
*** nslu2-log_ is now known as nslu2-log | 04:21 | |
*** mavhc has joined #maemo | 04:21 | |
*** buZz has quit IRC | 04:28 | |
*** nslu2-log has quit IRC | 04:28 | |
*** nslu2-log has joined #maemo | 04:29 | |
*** buZz has joined #maemo | 04:36 | |
*** buZz is now known as Guest92522 | 04:36 | |
*** mavhc has quit IRC | 04:42 | |
*** mavhc has joined #maemo | 04:51 | |
*** nslu2-log_ has joined #maemo | 05:14 | |
*** mavhc has quit IRC | 05:15 | |
*** nslu2-log has quit IRC | 05:17 | |
*** nslu2-log_ is now known as nslu2-log | 05:18 | |
*** mavhc has joined #maemo | 05:25 | |
*** mavhc has quit IRC | 05:57 | |
*** mavhc has joined #maemo | 06:01 | |
*** mavhc has quit IRC | 06:39 | |
*** mavhc has joined #maemo | 06:41 | |
*** pagurus` has joined #maemo | 06:55 | |
*** pagurus has quit IRC | 06:57 | |
*** Guest92522 has quit IRC | 07:06 | |
*** Guest92522 has joined #maemo | 07:06 | |
*** Guest92522 is now known as buZz | 07:06 | |
*** nslu2-log has quit IRC | 07:20 | |
*** merlin1991 has quit IRC | 07:25 | |
*** merlin1991 has joined #maemo | 07:25 | |
*** nslu2-log has joined #maemo | 07:26 | |
*** nslu2-log has quit IRC | 07:31 | |
*** nslu2-log has joined #maemo | 07:33 | |
*** mavhc has quit IRC | 07:48 | |
*** mavhc has joined #maemo | 07:53 | |
*** Natch has quit IRC | 08:14 | |
*** mavhc has quit IRC | 08:26 | |
*** Natch has joined #maemo | 08:26 | |
*** mavhc has joined #maemo | 08:31 | |
*** mavhc has quit IRC | 08:47 | |
*** mavhc has joined #maemo | 08:52 | |
*** mavhc has quit IRC | 09:02 | |
*** mavhc has joined #maemo | 09:07 | |
*** mavhc has quit IRC | 10:01 | |
*** mavhc has joined #maemo | 10:07 | |
*** Kilroo has quit IRC | 10:28 | |
*** florian has joined #maemo | 10:53 | |
*** Pali has joined #maemo | 10:53 | |
*** mavhc has quit IRC | 10:57 | |
*** florian has quit IRC | 11:02 | |
*** mavhc has joined #maemo | 11:04 | |
*** florian has joined #maemo | 11:15 | |
*** ced117 has quit IRC | 11:17 | |
*** florian has quit IRC | 11:20 | |
*** Pali has quit IRC | 11:40 | |
*** ced117 has joined #maemo | 11:43 | |
*** ced117 has joined #maemo | 11:43 | |
*** Pali has joined #maemo | 11:51 | |
*** ced117 has quit IRC | 12:00 | |
*** ced117 has joined #maemo | 12:40 | |
*** ced117 has quit IRC | 12:47 | |
*** ced117 has joined #maemo | 12:48 | |
*** ced117 has quit IRC | 12:49 | |
*** ced117 has joined #maemo | 12:52 | |
*** Kabouik has joined #maemo | 13:16 | |
sicelo | a key has fallen out of my hwkbd | 13:19 |
---|---|---|
sicelo | what's a good glue to put it back on? i don't want tomake a mistake and use something that might make matters worse | 13:19 |
KotCzarny | order replacement kb inlet? | 13:20 |
sicelo | not practical in my case | 13:20 |
sicelo | the key is not lose. just need the right glue to stick it back on | 13:22 |
sicelo | *lost | 13:23 |
KotCzarny | i see replacement kb for ~4 usd | 13:24 |
*** Vajb has quit IRC | 13:25 | |
KotCzarny | h3droid is only for allwinner H2+/H3 soc | 13:26 |
KotCzarny | erm, -ECHAN | 13:26 |
*** florian_kc has joined #maemo | 13:35 | |
*** Vajb has joined #maemo | 13:37 | |
*** ecloud_wfh is now known as ecloud | 13:41 | |
Vajb | sicelo: I would go with 3M products or some other syanoachrylate glue. | 13:43 |
Vajb | or some two-component glue, but I think that would be messier. | 13:44 |
*** mavhc has quit IRC | 13:55 | |
*** mavhc has joined #maemo | 14: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 |
KotCzarny | bash required? | 14:15 |
sixwheeledbeast^ | nope desktop I think it's multithreading the tail command | 14:15 |
KotCzarny | some scripting language might be nicer if it's complicated | 14:16 |
Vajb | can'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 |
KotCzarny | hmm, internet says globbing guarantees alphabetical order | 14:18 |
sixwheeledbeast^ | I expected bash to maintain my intentional file order of foofile00 foofile01 etc | 14:19 |
KotCzarny | in php i would just populate array of arrays, drop first element in each subarray and iterate on final list | 14:19 |
KotCzarny | (yes, i'm a fan of php-cli) | 14:20 |
Vajb | I 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 IRC | 14:22 | |
Vajb | lets hear what exactly you are trying to do? | 14:22 |
KotCzarny | btw. sorting depends on locale set | 14:23 |
sixwheeledbeast^ | ah locale | 14:23 |
*** Wizzup has joined #maemo | 14:26 | |
sixwheeledbeast^ | so for example "tail -q -n +2 *.txt >> conc.csv" | 14:26 |
KotCzarny | hmm | 14:27 |
KotCzarny | tail would concatenate then cut probably | 14:27 |
KotCzarny | you probably need for each in *.txt; do tail -q -n +2 >>conc.csv; done | 14:27 |
sixwheeledbeast^ | also "find . -name "*.txt" | xargs -n 1 tail -n +2 >> concx.csv" | 14:27 |
KotCzarny | erm. | 14:28 |
KotCzarny | for each in *.txt; do tail -q -n +2 "$each" >>conc.csv; done | 14:28 |
KotCzarny | unless i misunderstood your question | 14:28 |
*** DocScrutinizer05 has quit IRC | 14:30 | |
sixwheeledbeast^ | nope perfect, you understood exactly | 14:30 |
*** DocScrutinizer05 has joined #maemo | 14:31 | |
sixwheeledbeast^ | the power of a loop, er | 14:31 |
KotCzarny | check if it globs the files in the right order | 14:32 |
KotCzarny | otherwise you could simple replace it with sort | 14:33 |
KotCzarny | ie. for each in `ls *.txt|sort`; do .. | 14:33 |
KotCzarny | (as long names dont have spaces or weird chars | 14:33 |
sixwheeledbeast^ | Output is in correct order :) | 14:35 |
KotCzarny | yay for cmdline! | 14:36 |
sixwheeledbeast^ | \o/ | 14:36 |
*** DocScrutinizer05 has quit IRC | 14:45 | |
*** DocScrutinizer05 has joined #maemo | 14:45 | |
*** DocScrutinizer05 has quit IRC | 14:55 | |
totalizator | KotCzarny: do not simplify every code you get :E https://github.com/kubernetes/kubernetes/blob/ec2e767e59395376fa191d7c56a74f53936b7653/pkg/controller/volume/persistentvolume/pv_controller.go | 14:59 |
KotCzarny | i see a lot of missing elses :P | 15:00 |
totalizator | the shuttle flies too fast - I can't see :E | 15:05 |
*** mavhc has quit IRC | 15:08 | |
*** mavhc has joined #maemo | 15:11 | |
KotCzarny | totalizator: my shuttles are usually compressed into high velocity bullets that pierce through anything | 15:13 |
totalizator | I'll stick with my bike, thanks | 15:16 |
*** mavhc has quit IRC | 15:26 | |
*** DocScrutinizer05 has joined #maemo | 15: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 |
KotCzarny | or 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 #maemo | 15:34 | |
DocScrutinizer05 | glob sorts | 15:35 |
DocScrutinizer05 | per definition | 15:35 |
DocScrutinizer05 | why not pipe? cat *.txt | sed -i '/String/d' >conc.csv | 15:36 |
DocScrutinizer05 | err without "-i" | 15:36 |
inz | Useless use of cat ;) | 15:36 |
* KotCzarny mreoows | 15:37 | |
DocScrutinizer05 | prolly sed '/String/d' *.txt >conc.csv also works | 15:37 |
KotCzarny | inz, cat is nice as a pipe starter | 15:37 |
inz | It is usually more readable, yes | 15:37 |
KotCzarny | easier to modify ending params than to move the cursor back further | 15:37 |
KotCzarny | so it has its uses | 15:37 |
*** Vajb has quit IRC | 15:39 | |
KotCzarny | a bit offtopic, what triggers gsm network to send internet/mms configuration? | 15:40 |
DocScrutinizer05 | location register server does that, on sensing a new IMEI on an account | 15:41 |
*** Vajb has joined #maemo | 15:41 | |
DocScrutinizer05 | or on sensing a roaming user | 15:41 |
DocScrutinizer05 | afaik | 15:42 |
KotCzarny | DocScrutinizer05: so putting card into another phone, letting it go into network, then putting card back should work for sending config again | 15:43 |
KotCzarny | unless they keep a list of seen imeis per user | 15: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 |
KotCzarny | now i need another phone to confirm, hrm | 15: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 |
DocScrutinizer05 | KotCzarny: depends, prolly not tsince the "old" IMEI gets stored | 15:52 |
DocScrutinizer05 | yes, keeping list of seen IMEIs seems to be exactly what they do | 15:52 |
sixwheeledbeast^ | s/SIM/IMEI/ ^ is most likely | 15:52 |
DocScrutinizer05 | once that IMEI had been seen on that SIM/account, it won't usually get a second SMS | 15:54 |
DocScrutinizer05 | but I'm not completely sure, done too few tests to have a sufficient sample base | 15:54 |
DocScrutinizer05 | I also guess there must be some "aging" | 15:55 |
KotCzarny | dont have another phone handy atm, but will check in an hour | 15:56 |
DocScrutinizer05 | after all you could have nuked the settings by inserting another SIM | 15:56 |
KotCzarny | but it could've been different network, which your home network wouldnt know about | 15:57 |
KotCzarny | so it might be bound to sim+imei combination | 15:57 |
DocScrutinizer05 | sp maybe they send a SMS when they didn'T see that account|IMEI tuple for >1 week or whatever | 15:57 |
DocScrutinizer05 | so* | 15:58 |
DocScrutinizer05 | SIM=IMSI=account, yes | 15:59 |
KotCzarny | yup | 15:59 |
KotCzarny | i just find it weird it wasnt standardized and left for user side | 16:00 |
DocScrutinizer05 | most providers offer a web service to trigger semding of config SMS | 16:02 |
DocScrutinizer05 | "register new phone" or somesuch | 16:02 |
KotCzarny | the one i'm currently helping with doesnt | 16:02 |
DocScrutinizer05 | hmm | 16:02 |
KotCzarny | or at least they dont expose that information anywhere | 16:03 |
DocScrutinizer05 | ask their hotline | 16:03 |
KotCzarny | also, it's a virtual operator | 16:03 |
DocScrutinizer05 | could also simply be a SSC/USSD, or a SIM with "cinfigure internet" to 666, or whatever | 16:04 |
DocScrutinizer05 | well, 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 hotline | 16:07 |
DocScrutinizer05 | what does the phone show? "virtual" üprovider name, or genuine network operator name? | 16:09 |
KotCzarny | nah, they use real operator network, numbers are probably routed inside the network by operators using shared database | 16:09 |
KotCzarny | they say it shows suboperator name (ie. different than real operator) | 16:11 |
DocScrutinizer05 | then they use their own database, either on own hardware or virtualized on genuine operator's Location Register | 16: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 |
KotCzarny | i'm looking for an automatic way, preferably without customer service call, people are allergic to it | 16:24 |
*** mavhc has quit IRC | 16:27 | |
*** mavhc has joined #maemo | 16:32 | |
*** ced117 has quit IRC | 17:03 | |
DocScrutinizer05 | oh, so you ask how providers *should* do it? | 17:26 |
DocScrutinizer05 | keep 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 IMSI | 17:28 |
DocScrutinizer05 | allow manual trigger of SMS sending. Ideally by SMS and by web interface | 17:29 |
DocScrutinizer05 | rate-limit to max 10 config SMS / day | 17:31 |
DocScrutinizer05 | to defeat all sorts of hiccups and exploits | 17:31 |
KotCzarny | yum, manual trigger with some service code would be best | 17:31 |
DocScrutinizer05 | SMS "new" to 666 | 17:32 |
KotCzarny | currently its up for operator to setup such codes, which varies wildly between them | 17:32 |
DocScrutinizer05 | or dial *NEW-INTERNET# | 17:33 |
KotCzarny | and its even worse with MVOs | 17:33 |
DocScrutinizer05 | better: *NEWPHONE#" | 17:33 |
KotCzarny | or just INTERNET | 17:33 |
KotCzarny | and MMS | 17:33 |
KotCzarny | which some of them do now | 17:34 |
KotCzarny | but not all | 17:34 |
*** florian_kc has quit IRC | 19:03 | |
*** freemangordon has quit IRC | 19:21 | |
*** ced117 has joined #maemo | 19:43 | |
*** Pali has quit IRC | 20:15 | |
*** mavhc has quit IRC | 20:22 | |
*** Pali has joined #maemo | 20:24 | |
*** eMHa__ has joined #maemo | 20:25 | |
*** eMHa_ has quit IRC | 20:27 | |
*** mavhc has joined #maemo | 20:28 | |
*** Elektra has joined #maemo | 21:07 | |
*** Elektra has quit IRC | 21:08 | |
*** ashley has quit IRC | 21:08 | |
bleb | are there any good tools to determine which bands a phone supports? | 21:11 |
*** florian_kc has joined #maemo | 21:11 | |
bleb | like i have an e66 and i want to figure out if it's the US version or non-US version | 21:11 |
*** ced117 has quit IRC | 21:14 | |
*** Elektra has joined #maemo | 21:22 | |
*** Elektra is now known as ashley | 21:25 | |
*** ced117 has joined #maemo | 21:38 | |
*** mavhc has quit IRC | 21:54 | |
*** mavhc has joined #maemo | 22:02 | |
*** Kilroo has joined #maemo | 22:25 | |
*** mavhc has quit IRC | 22:28 | |
*** florian_kc is now known as florian | 22:31 | |
*** mavhc has joined #maemo | 22:31 | |
*** mavhc has quit IRC | 23:48 | |
*** mavhc has joined #maemo | 23:50 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!