IRC log of #maemo for Thursday, 2018-05-10

*** DocScrutinizer05 has quit IRC00:51
*** DocScrutinizer05 has joined #maemo00:51
*** Kilroo has joined #maemo00:53
*** povbot has joined #maemo01:03
*** TheKit has quit IRC01:12
*** Pali has quit IRC01:18
*** DocScrutinizer05 has quit IRC01:26
*** DocScrutinizer05 has joined #maemo01:26
*** xy2_ has quit IRC01:46
*** florian has quit IRC02:02
*** dafox has quit IRC02:34
*** louisdk has quit IRC02:54
*** infobot has quit IRC03:18
*** infobot has joined #maemo03:20
*** ChanServ sets mode: +v infobot03:20
*** Kabouik- has joined #maemo03:33
*** Kabouik_ has quit IRC03:36
*** auenf has quit IRC03:48
*** auenf has joined #maemo03:51
*** Kabouik has joined #maemo03:59
*** Kabouik- has quit IRC04:00
*** ssvb has joined #maemo04:48
*** ssvb has quit IRC05:10
*** vahe has joined #maemo05:23
*** Kabouik has quit IRC05:26
*** vakkov_ has joined #maemo06:03
*** auenf has quit IRC06:21
*** auenfx8 has joined #maemo06:22
*** povbot has joined #maemo06:38
*** pagurus` has joined #maemo06:51
*** pagurus has quit IRC06:53
*** geaaru_ has joined #maemo07:13
*** geaaru has quit IRC07:14
*** Enrico_Menotti has quit IRC07:18
*** aloril has quit IRC07:19
*** Kilroo has quit IRC07:21
*** Enrico_Menotti has joined #maemo07:23
brolin_empeyOff-topic but I dislike the ##windows* channels on freenode but the persons in this channel are intelligent and knowledgeable: Can anyone else load https://www.youtube.com/ in Internet Explorer 11 on Windows 10?  I get an error page from IE that says I should enable TLS 1.0 , 1.1 , and 1.2 in Advanced settings and try connecting again but all three of these protocols were already enabled when I opened the Advanced settings. 0_o  Has Google/YouTube dropped07:31
brolin_empeysupport for IE?07:31
*** aloril has joined #maemo07:35
*** Enrico_Menotti has quit IRC08:09
*** Enrico_Menotti has joined #maemo08:10
enycbrolin_empey: humm iirc there are other limitations, e.g. TLS SNI ..  install Firefox/Edge/soemting else =), and help sort out new alternative browser for leste =)08:11
enycbrolin_empey: try out  mint-19 when it becomes avaibale in a month ish,   =)08:11
*** rm_work has quit IRC08:37
*** rm_work has joined #maemo08:37
sixwheeledbeastbrolin_empey: I believe a lot of thinks are dropping support for IE even WIndows.08:45
sixwheeledbeast*things08:45
sixwheeledbeastI imagine it is left there for legacy/compatibility (ActiveX etc) but will be dropped completely in the future. I am surprised to hear anyone is still using IE with its poor HTML5 score.08:49
KotCzarnysome people like the pain08:49
KotCzarnyits just way humans are08:49
*** pagurus` has quit IRC09:00
*** pagurus has joined #maemo09:01
*** geaaru_ has quit IRC09:02
sixwheeledbeastA bad workman blames his tools, a good workman uses the right tools09:10
KotCzarnyand some people have 'idee fixe' they ponder over and over09:11
*** frals_ is now known as frals09:16
*** Pali has joined #maemo09:30
*** Venemo has joined #maemo09:54
*** Venemo has joined #maemo09:54
*** florian has joined #maemo10:10
*** geaaru has joined #maemo10:47
*** xy2_ has joined #maemo10:57
Vajbif several people are working in a project and making changes to few common .java files. What would be the best solution to merge changes to that file? So far we have been using text editor to paste the lines we changed, but that feels kinda stupid way to do it.11:11
KotCzarnygit?11:11
KotCzarnythat way you keep history with rollback11:12
KotCzarnyand you know who is breaking things11:12
Vajbwe took a look on git gui, but no one bothered to learn it.11:13
Vajbit is just small school project. Mysql databese with java gui to interact with it11:13
*** jskarvad has joined #maemo11:14
*** xy2_ has quit IRC11:15
KotCzarnystill. learn some version control, will come handy if you plan on being part of the project in the future?11:15
MaxdamantusI imagine people who are meant to be modifying .java files are likely to learn git at some point anyway.11:15
Maxdamantusmight as well do it now instead of looking for some sub-par version control system that has an appealing GUI.11:16
Vajbi would guess it is the topic of next course. They mentioned version control, when we asked a tool for it, but also added that it is too heavy for this project11:17
Maxdamantusfwiw, my Windows-using colleage uses tortoisegit .. but I can't vouch for it personally since I haven't really used it.11:17
Vajbok. Maybe i'll use my holidays for playing with git11:18
MaxdamantusYeah, if you're not at all familiar with git and the version control isn't particularly important, it might not be worth using.11:19
Maxdamantusbut once you are familiar with git, you'll probably use it for everything.11:19
Maxdamantusotherwise it's a bit like trying to use an editor that has no "undo".11:20
KotCzarnyi suspect they have the task of finding a way to manage a project kind of hands-on experience so the teacher can show them magic git that will be simpler than whatever they come up with11:21
KotCzarny;)11:21
Vajbthat sounds plausible :)11:23
Vajbwe have this new ict-path system which joins different school systems in to one for basic studies11:25
Vajband we are first batch going through11:25
*** louisdk has joined #maemo11:27
*** Kabouik has joined #maemo11:29
Vajbdoes maemo have some tool for finding duplicates? I searched for fslint, but could not find it.11:30
KotCzarnyfind?11:30
KotCzarny:)11:30
KotCzarnyalso, writing a script to do that in php/perl/python is quite easy task11:31
Vajboh, did not know it finds duplicates too11:31
MaxdamantusIt doesn't inherently.11:31
KotCzarnywell, it can be used as a part of the script to do that11:31
Maxdamantusfind . -type f -exec sha1sum '{}' '+' | tee sha1s11:31
MaxdamantusThen can pipe `sort sha1s` to some `uniq` invocation.11:32
Maxdamantussort sha1s | uniq -c -w40 | sort -n11:32
Maxdamantussomething like that11:32
KotCzarnybut that's vajb homework, isnt it?11:33
VajbKotCzarny: actually it is not ;)11:33
KotCzarnyanyway, using any scripting language is more flexible to operate on lists that pure bash11:34
Maxdamantustbh the bash way above is perfectly reasonable for solving the task.11:35
KotCzarnyand in php you can even export/import array via var_export/eval11:35
KotCzarnymaxd: i suspect it's only part of the task11:35
*** gonp[m] has quit IRC11:36
*** ollieparanoid[m] has quit IRC11:36
Vajbok. I rearranged my school folder on computer and when I synced it with n900 winscp didn not rearrange those but instead sent new files and kept old11:36
KotCzarnyuse rsync, not winscp11:37
KotCzarnythere is windoze build of rsync called grsync afair11:37
Vajbyes i fiddled with it but lost interest when it didn't work as i wanted (mainly not at all)11:38
Vajbso I went to easy solution of winscp11:38
KotCzarnywindoze is hairy when it comes to file times/permissions, but its doable11:38
KotCzarnybut if you want to keep things in sync. rsync.11:39
VajbIdeal think would be that it starts syncing automagically when my phone joins to same wlan.11:40
Vajbthing*11:41
*** MartijnBraam has quit IRC11:41
*** chfoo[m] has quit IRC11:41
MaxdamantusSeems a bit expensive.11:41
MaxdamantusEach time you join WLAN it would do a full filesystem search?11:41
Vajbjust one folder11:41
MaxdamantusIt'd be perfectly reasonable using something like btrfs.11:42
Maxdamantusah11:42
Vajbalso I only join to that wlan when I wanna sync.11:44
KotCzarnywell, you can have icon on n900 that will enable/join wlan then run rsync11:44
*** Pali has quit IRC11:45
VajbI use script to connect to wlan. To keep gprs intact11:45
*** Pali has joined #maemo11:48
*** louisdk has quit IRC12:27
*** louisdk has joined #maemo12:29
sixwheeledbeastIf your not using git or another VCS, I can only imagine using a separate diff file where line changes would be recorded between versions.12:33
sixwheeledbeastAlso i suppose you can modify your wlan connect script to check for location then sync?12:34
*** ollieparanoid[m] has joined #maemo12:34
MaxdamantusBut doing diffs requires storing the files at least twice. A VCS will do that for you in such a way that you won't easily make mistakes.12:41
sixwheeledbeastYou can run rsync on a cronjob "server side". Easy to set your device to use a static ip for that SSID12:41
sixwheeledbeastI agree, you are basically manually doing the job of a VCS12:42
sixwheeledbeastan example of rsync would be in ~jrtools12:42
*** chfoo[m] has joined #maemo12:42
*** MartijnBraam has joined #maemo12:43
*** gonp[m] has joined #maemo12:43
KotCzarnyremember windoze fs might require finer tuning12:43
* Maxdamantus does N900 backups using rsyncd directly over g_ether12:44
Maxdamantus(so no ssh encryption overhead)12:44
* Maxdamantus doesn't do them partircularly frequently though.12:45
Wizzupwhy not just set a ssh null cipher?12:53
MaxdamantusHm. I don't think that's possible.12:55
MaxdamantusI know you can select some less computationally expensive cipher, but I didn't think there's normally a "null" cipher enabled in openssh.12:55
KotCzarnyunless you forbid it in sshd, it is12:55
KotCzarnyhttps://bugs.launchpad.net/ubuntu/+source/openssh/+bug/5418012:58
KotCzarnyhehe12:58
KotCzarnymaxd 1:0 wizzup13:00
MaxdamantusHm, interesting.13:01
Wizzuppretty sure I've used it in the past13:01
Wizzupbut I'm not a ubuntu user, so13:02
KotCzarnymight be that some distros played along users requests13:02
Wizzupwell, pick a weak cipher then :P13:03
KotCzarnylast comment on that thread is a valid point13:04
*** louis__ has joined #maemo13:15
KotCzarnyand obviously, you arent required to run ssh based filetransfers, with rsync running rsyncd is enough13:15
*** florian has quit IRC13:17
*** pcfe has quit IRC13:18
*** pcfe has joined #maemo13:19
*** pcfe has quit IRC13:19
*** pcfe has joined #maemo13:19
*** louisdk has quit IRC13:20
*** dafox has joined #maemo13:24
*** florian has joined #maemo13:34
*** trx has quit IRC13:44
*** trx has joined #maemo13:48
*** trx has quit IRC13:53
*** xy2_ has joined #maemo13:57
*** trx has joined #maemo13:57
bencohMaxdamantus: is your n900 back to life?13:57
Maxdamantusbencoh: mostly, apparently.13:59
bencohyay :)13:59
bencoh"mostly"?13:59
MaxdamantusI noticed it flicking on/off earlier today after turning the screen off.13:59
bencohah13:59
bencohbroken lockswitch maybe?13:59
MaxdamantusDunno.14:00
MaxdamantusI wonder if it might be related to the fact that the slide gpio on the device has never worked as long as I've had it.14:00
bencohslide gpio?14:00
*** florian has quit IRC14:00
bencohdisplay slide?14:00
MaxdamantusFor detecting that the keypad is in/out.14:00
bencohyeah14:00
bencohhmm ... dunno14:00
bencohso is it always open or always closed?14:01
MaxdamantusDunno if that's a mechanical issue or not .. not sure how the mechanism works.14:01
bencohit's a hall effect sensor iirc14:01
bencohso no mechanics14:01
*** trx has quit IRC14:01
Maxdamantusoh yeah, and the front hall sensor has never worked on it (again, as long as I've had it)14:01
KotCzarnymaybe some super secret r&d factory operating nearby?14:02
Maxdamantus# cat /sys/devices/platform/gpio-switch/slide/state14:03
Maxdamantusopen14:03
MaxdamantusSame with proximity14:03
MaxdamantusI can still see messages in the syslog indicating that it thinks the back cover state is changing sometimes when I flick the screen lock switch.14:04
MaxdamantusThough I modified omap_hsmmc.ko to not block access to the SD card when that happens, and ke-recv seems to fail to unmount it luckily.14:05
*** trx has joined #maemo14:05
MaxdamantusStill messes with camera-ui.14:05
*** xorly has joined #maemo14:09
Maxdamantus/sys/class/mmc_host/mmc0/cover_switch14:09
MaxdamantusSometimes changes between "closed" and "open" when locking/unlocking.14:09
bencohright, I remember you patching it :)14:12
bencohyou could use camera-ui2 and patch it too14:13
MaxdamantusYeah, but that wasn't because I was having issues with the cover state.14:13
KotCzarnyis gpio part of the kernel closed?14:14
KotCzarnybecause it looks like the best part to patch14:14
MaxdamantusThe main reason is because I use the SD card for swap, and don't want the device to go into a crazy state just because I take the back cover off.14:14
Maxdamantus(and also, force removing a device at that level is just really stupid)14:15
KotCzarnyignore-gpio-changes kind of modification14:15
MaxdamantusWell, I suspect the easiest fix would be to just mount static files over the sysfs nodes.14:16
Maxdamantussince I'm pretty sure mce (and maybe ke-recv) just reads the states from sysfs.14:16
Maxdamantus mount --bind /tmp/closed /sys/class/mmc_host/mmc0/cover_switch14:19
Maxdamantus# mount --bind /tmp/closed /sys/class/mmc_host/mmc0/cover_switcha14:20
Maxdamantuser, double posted .. anyway, that seems to stop the unmount spam in syslog (/tmp/closed just has the contents "closed\n")14:21
*** vahe has quit IRC14:21
KotCzarnywiki worthy14:21
MaxdamantusMaybe, but it should be noted that it's only useful with the omap_hsmmc patch.14:22
KotCzarnyput the patch/module there too14:22
Maxdamantussince otherwise the kernel itself blocks access to the SD card when that cover switch changes anyway.14:22
MaxdamantusI guess I'll just keep using this device for now.14:25
MaxdamantusThe one that I haven't used is still in very good condition. Might try to get a screen protector before using the display from it at least.14:26
*** florian has joined #maemo14:44
*** mklm has joined #maemo14:46
*** mklm has quit IRC14:46
*** trx has quit IRC14:57
*** pagurus has quit IRC14:59
*** Mek has quit IRC14:59
*** Mek has joined #maemo15:00
*** trx has joined #maemo15:00
*** trx has quit IRC15:00
*** trx has joined #maemo15:00
*** florian has quit IRC15:03
*** pcfe has quit IRC15:16
*** pcfe has joined #maemo15:21
*** pcfe has quit IRC15:21
*** pcfe has joined #maemo15:21
sixwheeledbeastDevice will die and reboot to Nokia logo if swap is lost without unmounting.15:30
sixwheeledbeastswapoff i should say15:31
MaxdamantusI imagine that would just be because the watchdog process is likely to mess up at some point.15:35
MaxdamantusI think if swap is suddenly lost, userspace is going to behave in very weird ways. I think processes would generally be killed when they try to access lost pages.15:37
*** trx has quit IRC15:59
siceloit dies and reboots immediately Maxdamantus.16:00
*** trx has joined #maemo16:03
*** trx has quit IRC16:03
*** trx has joined #maemo16:03
*** florian has joined #maemo16:04
*** xorly has quit IRC16:06
Maxdamantussicelo: what detects it?16:09
sicelono idea. never looked. doesn't system consider swap to be RAM, and therefore will panic when RAM disappears?16:12
KotCzarnymore likely you had something system related swapped out16:13
*** florian has quit IRC16:14
MaxdamantusWell, it's not RAM since the CPU can't address pages on a disk.16:18
Maxdamantusand I doubt Linux's normal behaviour would be to panic just because the swap is gone. The obvious behaviour I can think of is if the kernel just kills processes which pagefault for inaccessible pages.16:20
MaxdamantusShouldn't be hard to test, but need to sleep now.16:21
siceloah, ok16:26
*** xy2_ has quit IRC16:42
*** trx has quit IRC16:50
*** xy2_ has joined #maemo16:54
*** trx has joined #maemo16:55
*** trx has quit IRC16:55
*** trx has joined #maemo16:55
*** Maxdamantus has quit IRC16:55
*** trx has quit IRC16:59
*** Maxdamantus has joined #maemo17:01
*** trx has joined #maemo17:03
*** trx has quit IRC17:03
*** trx has joined #maemo17:03
*** xorly has joined #maemo17:18
*** Venemo has quit IRC17:20
*** xorly has quit IRC17:47
*** vahe has joined #maemo17:58
*** xorly has joined #maemo18:06
*** auenf has quit IRC18:22
*** auenfx8 has joined #maemo18:22
*** xes has quit IRC18:28
*** xes has joined #maemo18:28
*** Natch has joined #maemo18:29
*** auenf has joined #maemo18:38
*** auenfx8 has quit IRC18:38
*** KotCzarny has quit IRC18:39
*** KotCzarny has joined #maemo18:40
*** geaaru has quit IRC18:54
*** DocScrutinizer51 has quit IRC19:13
*** sixwheeledbeast has quit IRC19:13
*** DocScrutinizer51 has joined #maemo19:13
*** sixwheeledbeast has joined #maemo19:14
*** drrty2 has joined #maemo19:29
*** drrty has quit IRC19:34
*** Maxdamantus has quit IRC19:37
*** drrty2 has quit IRC19:37
*** Maxdamantus has joined #maemo19:38
*** drrty2 has joined #maemo19:41
*** florian has joined #maemo19:50
*** florian has quit IRC19:58
*** florian has joined #maemo20:08
*** jskarvad has quit IRC20:19
*** luke-jr has quit IRC20:25
*** luke-jr has joined #maemo20:25
*** florian has quit IRC20:25
*** Kabouik_ has joined #maemo20:29
*** Kabouik has quit IRC20:32
*** sunshavi has quit IRC20:38
*** vahe has quit IRC20:50
*** florian has joined #maemo21:13
*** trx has quit IRC21:17
*** trx has joined #maemo21:22
*** florian has quit IRC21:22
*** trx has quit IRC21:27
*** trx has joined #maemo21:30
*** trx has quit IRC21:30
*** trx has joined #maemo21:30
*** xorly has quit IRC22:10
*** Pali has quit IRC22:24
*** sunshavi has joined #maemo22:29
*** louis__ has quit IRC23:02
*** TheKit has joined #maemo23:18
*** florian has joined #maemo23:29
*** florian has quit IRC23:42
*** Venemo has joined #maemo23:52

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