IRC log of #maemo for Friday, 2015-05-22

kerio^_^00:00
freemangordonthumb-compiled :)00:00
keriohold on doesn't it have some shared library00:00
freemangordonis that what you wanted?00:00
keriopossibly00:01
keriolemme check00:01
freemangordonNFC, I just did "make install DESTDIR=../bin"00:01
kerioD:00:01
keriohold on destdir00:01
keriowhich means that the prefix is still usr local yay00:01
freemangordonyep00:02
freemangordonshould I change the prefix?00:02
kerionah00:02
kerioalthough i'm wondering if anything depends on the openssh package00:02
keriowtf is var empty00:02
keriogoddammit openbsd developers00:02
KotCzarnyprivilege separation00:03
KotCzarnyand no, not openbsd, but your ignorance00:03
KotCzarny:P00:03
kerioi assume all of this should be owned by root instead of user 100000:03
freemangordonKotCzarny: enlighten the ignorant, please00:03
keriogoddammit scratchbox00:03
freemangordonkerio: how hard is to chown -R?00:04
kerioomg, bootmenu depends on openssh-server :c00:05
kerioalright time to dpkg-divert all the things00:05
freemangordonhowever, /me is out, night guys00:06
kerionight, tyvm00:06
kerioyou're literally my favourite person right now00:06
kerioi love you very much00:06
keriono homo00:06
*** florian has quit IRC00:20
keriowhy is ssh-agent sgid ssh00:23
L29Ahno homo ☹00:27
kerioalright i got it00:30
kerioALRIGHT00:35
kerio1.8s to login00:35
kerioand i don't even have the strongest and fastest crypto known to man enabled yet00:35
*** erstazi has quit IRC00:36
L29Ahi hope it'll get pushed to extras-devel :]00:39
KotCzarnyrun with -v to check for errors00:39
keriohohohohoh00:41
kerioHOHOHOHOHOH00:41
kerioHAOHOAHOHAOHAOHAOOAHOAHOA00:41
kerioreal0m0.890s00:41
*** florian has joined #maemo00:44
kerioAHGIHAIGHIAHGOGHAOGHAIGHIEHGE00:45
keriothis is amazing00:45
kerio^_^00:46
L29Ahi'll advise openssh to a neighbour junkie00:47
kerioaww00:49
kerioreal0m0.988s00:49
keriowith ed2551900:49
keriobut still00:49
kerio^_^00:49
L29Ah[00:41:56]<kerio> real0m0.890s00:51
L29Ahw/ rsa?00:51
keriorsa 409600:52
kerioyes00:52
kerioit's weird because ed25519 is supposed to be faster00:52
keriobut i think it's optimized for modern 64bit cpus00:52
*** noch^off has joined #maemo00:53
*** noch^off has quit IRC00:57
*** lobito has quit IRC00:59
*** Pali has quit IRC01:02
*** lobito has joined #maemo01:04
keriook this is seriously legit tho01:15
*** Andril has joined #maemo01:16
*** arcean has quit IRC01:17
*** L29Ah has left #maemo01:32
*** L29Ah has joined #maemo01:32
*** florian has quit IRC01:38
*** Neutron has quit IRC02:05
*** Neutron has joined #maemo02:42
*** L29Ah has left #maemo02:54
*** L29Ah has joined #maemo02:55
*** Andril has quit IRC03:06
*** M4rtinK has quit IRC03:11
*** LjL has quit IRC03:36
*** LjL has joined #maemo03:36
*** LjL has quit IRC03:39
*** LjL has joined #maemo03:39
*** robink has quit IRC03:43
*** robink_ has joined #maemo03:45
*** LauRoman has joined #maemo03:45
*** Hurrian has quit IRC03:48
*** LauRoman|Alt has quit IRC03:49
*** louisdk has quit IRC04:10
*** heroux has quit IRC04:12
*** heroux has joined #maemo04:13
*** Humpelst1lzchen has joined #maemo04:27
*** Humpelstilzchen has quit IRC04:29
*** esaym153 has quit IRC04:32
*** esaym153 has joined #maemo04:33
*** robink_ is now known as robink04:35
*** futpib has joined #maemo05:07
*** pigeon has quit IRC05:09
*** pigeon has joined #maemo05:15
*** maybeHere has joined #maemo05:30
*** maybeArgh has quit IRC05:33
*** eMHa_ has joined #maemo05:52
*** eMHa has quit IRC05:55
*** protem has joined #maemo07:12
*** eMHa_ has quit IRC07:18
*** shamus has quit IRC07:34
*** shamus has joined #maemo07:35
*** unclouded has quit IRC07:38
*** unclouded has joined #maemo07:39
*** heroux has quit IRC07:52
*** eMHa_ has joined #maemo07:58
*** VDVsx has quit IRC08:05
*** RedW has quit IRC08:05
*** RedW has joined #maemo08:10
*** heroux has joined #maemo08:18
*** Unbreakable has joined #maemo08:21
*** VDVsx has joined #maemo08:35
*** Unbreakable is now known as HOWSdEGO2day08:40
*** HOWSdEGO2day has quit IRC08:42
*** zGrr has joined #maemo09:06
*** futpib has quit IRC09:21
*** noch^off has joined #maemo09:30
*** Pali has joined #maemo09:35
zGrrmoin :)09:40
KotCzarnyoink09:48
*** ketas has quit IRC10:07
*** protem has quit IRC10:12
*** noch has joined #maemo10:13
*** noch^off has quit IRC10:13
*** norayr has joined #maemo10:19
*** florian has joined #maemo10:24
zGrrKotCzarny:  hi10:25
*** L29Ah has left #maemo10:39
keriofreemangordon: are you awake?10:53
*** Haudegen has quit IRC10:56
*** L29Ah has joined #maemo10:57
*** L29Ah has left #maemo10:59
*** L29Ah has joined #maemo11:03
*** tanty_off is now known as tanty11:03
*** L29Ah has left #maemo11:06
*** L29Ah has joined #maemo11:07
*** netkat has quit IRC11:11
*** noch has quit IRC11:16
*** L29Ah has left #maemo11:19
*** N-Mi has joined #maemo11:21
*** dafox has joined #maemo11:39
*** Haudegen has joined #maemo11:45
*** beford has quit IRC11:48
*** beford has joined #maemo11:48
*** SpeedEvil has quit IRC11:53
*** SpeedEvil has joined #maemo11:53
*** SpeedEvil has quit IRC11:58
*** SpeedEvil has joined #maemo11:59
*** dafox has quit IRC12:02
*** SpeedEvil has quit IRC12:09
*** SpeedEvil has joined #maemo12:10
*** M4rtinK has joined #maemo12:11
*** LauRoman has quit IRC12:23
*** RiD has joined #maemo12:41
*** qt_junkie has joined #maemo12:48
*** eMHa_ has quit IRC12:56
*** eMHa_ has joined #maemo12:56
*** norayr has quit IRC12:56
*** noch has joined #maemo12:58
*** sparetire_ has quit IRC12:58
*** noch has quit IRC13:04
*** KotCzarny has quit IRC13:08
*** KotCzarny has joined #maemo13:10
*** ashneo76 has quit IRC13:14
*** SpeedEvil has quit IRC13:18
*** SpeedEvil has joined #maemo13:19
*** freemangordon_ has joined #maemo13:19
*** geaaru has joined #maemo13:41
*** ketas has joined #maemo14:10
*** Haudegen has quit IRC14:10
*** L29Ah has joined #maemo14:16
*** L29Ah has left #maemo14:26
*** Haudegen has joined #maemo14:34
*** L29Ah has joined #maemo14:35
*** L29Ah has left #maemo14:45
*** L29Ah has joined #maemo14:48
*** L29Ah has left #maemo14:48
*** L29Ah has joined #maemo14:53
*** L29Ah has left #maemo14:57
*** L29Ah has joined #maemo15:02
*** norayr has joined #maemo15:12
freemangordon_do someone know how to replace "--" in a file, by using the replace command?15:21
L29Ahzsh: command not found: replace15:26
L29Ahmust be some useless stuff15:26
kerioyeah idk i'd just use sed15:26
L29Ahsed -e 's#--#foobar#g' file15:26
kerio-bash: replace: command not found15:26
freemangordon_I guess sed will take a while to pars 18GB file15:26
freemangordon_*parse15:26
freemangordon_it is part of mysql-server15:27
bencohlooks like the important property is "in-place"15:28
freemangordon_well, sed can do it as well15:29
freemangordon_-i15:29
kerio-i is quite nonstandard15:29
freemangordon_don;t care, as ling as it works on ubuntu15:29
freemangordon_r*long15:29
freemangordon_anyway, could someone gimme the regexp to replace "--" with "#" at the start of line?15:30
*** frals has quit IRC15:30
bencohfreemangordon_: ^-- ?15:30
freemangordon_no idea15:30
*** frals has joined #maemo15:30
bencoh^ should be "start of line"15:30
bencohso ^-- should work15:30
freemangordon_I tend to not touch regexps15:31
freemangordon_hmm, ok15:31
KotCzarnyfor inline you should probably use "# " or "##"15:31
freemangordon_use where?15:31
KotCzarnyin the replace15:31
KotCzarnysed -re 's/^\-\-/# /m'15:32
KotCzarnyi think15:32
KotCzarnybut check on a test file first15:32
freemangordon_no, it turned out to be "\-\-", but I gave up on replace, as it doesnt seem to support regexp15:32
freemangordon_ok15:32
freemangordon_what is /m ?15:32
KotCzarnymight be /s15:33
KotCzarnyalways confused about those two flags15:33
bencohtime to open the grymoire15:33
bencohhttp://www.grymoire.com/Unix/Sed.html15:33
KotCzarnybut just test it15:33
KotCzarnyone of it works15:33
KotCzarnycould be also without any flags15:33
freemangordon_sed -i 's/^\-\-/#/' $FILE should do the job, lets see15:34
KotCzarnynope15:34
KotCzarnyfor ^ you need -r15:35
KotCzarnyor im just sleepy15:35
bencohI think you're sleepy15:35
KotCzarnyi guess ^ isnt regexp anyway15:35
bencohwhat is it then ?15:36
freemangordon_"use extended regular expressions in the script." ???15:36
KotCzarnyand its not needed15:36
KotCzarnyecho -e "123\n--234\n5--5" | sed -e 's/^--/# /'15:36
KotCzarnythis one worked fine15:36
freemangordon_KotCzarny: it works without -r here15:36
KotCzarnyi guess sed just understands ^ without regexps flag15:36
freemangordon_and why the '-e'?15:36
KotCzarny'execute this script'15:37
bencohKotCzarny: regex != extended regex15:37
freemangordon_which script?!?15:37
KotCzarnythe one in ''15:37
freemangordon_but, but... it does it wothout -e15:37
KotCzarnythough it worked without -e too15:37
KotCzarnymight be for multiple scripts15:37
bencohfreemangordon_: -e allows for multiple expressions15:37
*** zGrr has left #maemo15:37
freemangordon_so I don;t need it I guess15:38
*** L29Ah has left #maemo15:43
*** L29Ah has joined #maemo15:43
*** vakkov has joined #maemo15:44
*** NIN101 has quit IRC15:45
*** beford has quit IRC15:45
*** beford has joined #maemo15:46
*** NIN101 has joined #maemo15:46
*** RiD has quit IRC15:53
*** L29Ah has left #maemo16:07
*** Haudegen has quit IRC16:24
*** Haudegen has joined #maemo16:29
*** L29Ah has joined #maemo16:33
*** VDVsx has quit IRC16:33
*** Haudegen has quit IRC16:34
*** netkat has joined #maemo16:40
*** Reisebus has joined #maemo16:43
*** Reisebus is now known as Cat_bus16:43
*** VDVsx has joined #maemo16:45
Cat_busHey there, I am entirely new to maemo. What kind of OS things can I actually run on a N900?16:46
L29Ahany linux of your choice, basically16:46
Cat_busare there readymade images anywhere or do I have to chase the parts? any overview thread?16:47
L29Ahgoogle n900 <yourdistro>16:47
bencohthere are quite a few articles/threads about running other distros16:47
bencohkeep in mind you might/will lose some functionalities16:48
Cat_busok, thats what I was about. Whats the best thing, to still use it as phone?16:48
*** jon_y has quit IRC16:48
*** jon_y has joined #maemo16:49
bencohmost probably maemo16:49
KotCzarnyhe he16:49
bencoheven though you should be able to keep the phone part with any distro, a custom kernel, and proper userland (ofono for instance, or some libcmt-speech based software)16:50
KotCzarnyin short, old glibc and old kernel16:50
KotCzarnyother than that everything linuxish works16:50
KotCzarnyit has 256M of ram, so dont expect anything modern to work16:51
*** disco_stu has quit IRC16:52
Cat_busSo I will chase parts ^^ thanks!16:54
bencohchase parts ?16:55
*** Haudegen has joined #maemo16:58
*** konelix__ has joined #maemo17:12
*** KotCzarny has quit IRC17:13
*** KotCzarny has joined #maemo17:23
*** disco_stu has joined #maemo17:31
*** disco_stu_droid has joined #maemo17:52
*** disco_stu has quit IRC17:52
*** disco_stu_droid is now known as disco_stu17:53
*** norayr has quit IRC18:33
*** eMHa_ has quit IRC19:17
*** RST38h has quit IRC19:19
*** dafox has joined #maemo19:20
*** florian has quit IRC19:29
*** RiD has joined #maemo19:40
*** dafox has quit IRC19:50
*** L29Ah has left #maemo20:08
*** L29Ah has joined #maemo20:08
*** N-Mi has quit IRC20:22
*** geaaru has quit IRC20:40
*** beford has quit IRC20:55
*** futpib has joined #maemo21:04
*** obsed has quit IRC21:19
freemangordonShadowJK: I have an external battery (solar) which I didn;t use for long time. now, it seems it self-discharged too much. I disassembled it and the voltage on battery ports was .36V. I connected a charger and after about 1h, the voltage is 0.43V. So, 1 - is it safe to charge that battery? 2-what consequences should I expect?21:22
ShadowJKIt might catch fire eventually21:23
KotCzarnyfreemangordon: it started crystallizing inside21:28
KotCzarnybattery is ded21:29
KotCzarnyded ded21:29
freemangordonShadowJK: really? even if the charging current is just a couple of mA21:29
KotCzarnyand crystals pierce the insulator21:29
freemangordonhmm, I see21:29
KotCzarnyand you know what happens when high current runs inside?21:30
KotCzarnyor outside21:30
KotCzarnypart of it might still holding charge, but overall its trash now21:31
ShadowJKhttp://www.mpoweruk.com/lithium_failures.htm21:31
ShadowJKSo the copper in it is dissolving, if you manage to recharge it, and the copper is now no longer dissolved, you'll have solid copper in random places where it's not supposed to be.. which makes the battery riskier to use, because that copper creates local short ciruits21:32
freemangordonok, got it, thanks21:34
freemangordonthe battery goes to trash, might use the solar cell though :)21:34
KotCzarnydefinitely21:35
KotCzarnyall lions charge the same (roughly) so you should be able to replace it21:36
freemangordonyeah21:36
freemangordonhmm, is it safe to connect li-ion batteries in parallel?21:37
freemangordonmy gut feeling tells me yes, but I want some expert's say :)21:38
ShadowJKIf they're at the same voltage when you make the connection21:38
KotCzarnyi dont know, but i bet its not safe21:38
freemangordonShadowJK: yea, sure21:38
KotCzarnydifferent parameters/aging21:39
KotCzarnyso they will charge/discharge differently21:39
ShadowJKLi-Ion batteries in parallell are self-balancing21:39
ShadowJKNiMh batteries in parallell are not21:39
KotCzarnynice to know21:39
freemangordonShadowJK: thanks a lot21:39
KotCzarnyshadowjk: how to make them same voltage tho?21:40
freemangordoncharge them ;)21:40
ShadowJKyep21:40
KotCzarnyor some mergin of difference is acceptable?21:40
KotCzarnydoh21:40
KotCzarnys/mergin/margin/21:41
freemangordonI guess no, the charging current will be too big21:41
ShadowJKYou can crudely estimate the margin of difference, by multiplying cell voltage difference by the sum of the internal resistances of the two cell. Hobbyists don't always have access to equipment that can measure the internal resistance, though :)21:41
KotCzarnyso, its not safe at home21:41
KotCzarny:)21:41
freemangordonKotCzarny: I guess a serial resistor for a couple oh hours will make it safe :)21:42
freemangordon*of21:42
KotCzarnywouldnt that confuse the charger tho?21:43
freemangordonyou're missing the point - connect those 2 charged batteris in paralle, but through a resistor21:43
ShadowJKSo for example two fresh new BL-5J batteries have an internal resistance of, well, for this puprose well use a bit too low estimate of 0.1 Ohm. Say one was in a N900 that just shut down, so around 3.5V, and the other is full at 4.2V. Ohm's law, (4.2V - 3.5V) / 0.2 .. 4.5 Amps... Which is a bit too much :)21:43
freemangordonuntil the measured voltage (and thus the charging current from higher voltage batt to lower) falls in some safe margin21:44
ShadowJKSo I'd say this puts the safe margin at < 0.1V difference :)21:45
KotCzarnyhehe21:45
KotCzarnyalso, what would happen if one of the batteries gets bad? (for whatever reason)21:46
freemangordonfor example 10 Ohm resistor for 24 hours (sounds good to me, didn;t calculated) will be enough IMO21:46
freemangordonKotCzarny: fire in the hole I guess21:46
freemangordon:)21:46
KotCzarny:)21:46
KotCzarnysounds fun21:46
freemangordonShadowJK: what about that serial R? does ity sound sane to you?21:47
freemangordonassuming both batteries are charged to 4.221:47
freemangordon~.1/1021:47
infobot0.0121:47
freemangordon10 mA should be safe by all measures21:48
ShadowJKPersonally, if I charged them both in a non shitty charger i would just parallell with wire21:48
freemangordonyeah, but you never now21:48
freemangordonI mean - the charger quality, unless you have a lab21:48
freemangordonwhich I don't :)21:48
ShadowJKCoincidentally I do have a battery jumper wire with a 1R resistor in it, but that I used for inrush current limiting21:49
*** script has quit IRC21:49
freemangordonso 10R is t0o much?21:50
freemangordon*too21:50
ShadowJKwhen i was lacking 24V psu and wanted to power some 24V inudstrial kit21:50
*** script has joined #maemo21:50
ShadowJKeh, dunno21:50
freemangordon:)21:51
freemangordonok, will see when I don;t find a replacement battery so I need to use 2 or 3 smaller ones21:51
ShadowJKid just check battery voltaged with meter,  and if close use wire, if not, resistor21:51
freemangordonok21:52
* ShadowJK just bought a 6000mAh powerbank from Lidl for 12E :)21:54
ShadowJKDid you btw see about that new Mediatek SoC?21:55
ShadowJK10(+1) cpu cores21:55
ShadowJKkinda insane :)21:55
freemangordonomg21:59
keriorip freemangordon22:00
kerioyou will be missed22:00
freemangordonhmm?22:01
*** florian has joined #maemo22:02
keriosuch a young life22:02
keriolost in the explosion of multiple lithium batteries22:02
kerioconnected in parallel22:02
kerio*charged in parallel22:02
freemangordon:D22:03
*** sq-one has joined #maemo22:15
KotCzarnycharge junkie22:16
*** RiD has quit IRC22:20
*** tanty is now known as tanty_off22:35
*** xes has joined #maemo22:36
*** xes_ has quit IRC22:38
*** louisdk has joined #maemo22:41
*** LauRoman|Alt has joined #maemo22:45
*** sparetire_ has joined #maemo22:52
*** Vajb has quit IRC23:54
*** auenf has joined #maemo23:55
*** Vajb has joined #maemo23:56
*** auenfx4 has quit IRC23:56
*** futpib has quit IRC23:56

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