kerio | ^_^ | 00:00 |
---|---|---|
freemangordon | thumb-compiled :) | 00:00 |
kerio | hold on doesn't it have some shared library | 00:00 |
freemangordon | is that what you wanted? | 00:00 |
kerio | possibly | 00:01 |
kerio | lemme check | 00:01 |
freemangordon | NFC, I just did "make install DESTDIR=../bin" | 00:01 |
kerio | D: | 00:01 |
kerio | hold on destdir | 00:01 |
kerio | which means that the prefix is still usr local yay | 00:01 |
freemangordon | yep | 00:02 |
freemangordon | should I change the prefix? | 00:02 |
kerio | nah | 00:02 |
kerio | although i'm wondering if anything depends on the openssh package | 00:02 |
kerio | wtf is var empty | 00:02 |
kerio | goddammit openbsd developers | 00:02 |
KotCzarny | privilege separation | 00:03 |
KotCzarny | and no, not openbsd, but your ignorance | 00:03 |
KotCzarny | :P | 00:03 |
kerio | i assume all of this should be owned by root instead of user 1000 | 00:03 |
freemangordon | KotCzarny: enlighten the ignorant, please | 00:03 |
kerio | goddammit scratchbox | 00:03 |
freemangordon | kerio: how hard is to chown -R? | 00:04 |
kerio | omg, bootmenu depends on openssh-server :c | 00:05 |
kerio | alright time to dpkg-divert all the things | 00:05 |
freemangordon | however, /me is out, night guys | 00:06 |
kerio | night, tyvm | 00:06 |
kerio | you're literally my favourite person right now | 00:06 |
kerio | i love you very much | 00:06 |
kerio | no homo | 00:06 |
*** florian has quit IRC | 00:20 | |
kerio | why is ssh-agent sgid ssh | 00:23 |
L29Ah | no homo ☹ | 00:27 |
kerio | alright i got it | 00:30 |
kerio | ALRIGHT | 00:35 |
kerio | 1.8s to login | 00:35 |
kerio | and i don't even have the strongest and fastest crypto known to man enabled yet | 00:35 |
*** erstazi has quit IRC | 00:36 | |
L29Ah | i hope it'll get pushed to extras-devel :] | 00:39 |
KotCzarny | run with -v to check for errors | 00:39 |
kerio | hohohohoh | 00:41 |
kerio | HOHOHOHOHOH | 00:41 |
kerio | HAOHOAHOHAOHAOHAOOAHOAHOA | 00:41 |
kerio | real0m0.890s | 00:41 |
*** florian has joined #maemo | 00:44 | |
kerio | AHGIHAIGHIAHGOGHAOGHAIGHIEHGE | 00:45 |
kerio | this is amazing | 00:45 |
kerio | ^_^ | 00:46 |
L29Ah | i'll advise openssh to a neighbour junkie | 00:47 |
kerio | aww | 00:49 |
kerio | real0m0.988s | 00:49 |
kerio | with ed25519 | 00:49 |
kerio | but still | 00:49 |
kerio | ^_^ | 00:49 |
L29Ah | [00:41:56]<kerio> real0m0.890s | 00:51 |
L29Ah | w/ rsa? | 00:51 |
kerio | rsa 4096 | 00:52 |
kerio | yes | 00:52 |
kerio | it's weird because ed25519 is supposed to be faster | 00:52 |
kerio | but i think it's optimized for modern 64bit cpus | 00:52 |
*** noch^off has joined #maemo | 00:53 | |
*** noch^off has quit IRC | 00:57 | |
*** lobito has quit IRC | 00:59 | |
*** Pali has quit IRC | 01:02 | |
*** lobito has joined #maemo | 01:04 | |
kerio | ok this is seriously legit tho | 01:15 |
*** Andril has joined #maemo | 01:16 | |
*** arcean has quit IRC | 01:17 | |
*** L29Ah has left #maemo | 01:32 | |
*** L29Ah has joined #maemo | 01:32 | |
*** florian has quit IRC | 01:38 | |
*** Neutron has quit IRC | 02:05 | |
*** Neutron has joined #maemo | 02:42 | |
*** L29Ah has left #maemo | 02:54 | |
*** L29Ah has joined #maemo | 02:55 | |
*** Andril has quit IRC | 03:06 | |
*** M4rtinK has quit IRC | 03:11 | |
*** LjL has quit IRC | 03:36 | |
*** LjL has joined #maemo | 03:36 | |
*** LjL has quit IRC | 03:39 | |
*** LjL has joined #maemo | 03:39 | |
*** robink has quit IRC | 03:43 | |
*** robink_ has joined #maemo | 03:45 | |
*** LauRoman has joined #maemo | 03:45 | |
*** Hurrian has quit IRC | 03:48 | |
*** LauRoman|Alt has quit IRC | 03:49 | |
*** louisdk has quit IRC | 04:10 | |
*** heroux has quit IRC | 04:12 | |
*** heroux has joined #maemo | 04:13 | |
*** Humpelst1lzchen has joined #maemo | 04:27 | |
*** Humpelstilzchen has quit IRC | 04:29 | |
*** esaym153 has quit IRC | 04:32 | |
*** esaym153 has joined #maemo | 04:33 | |
*** robink_ is now known as robink | 04:35 | |
*** futpib has joined #maemo | 05:07 | |
*** pigeon has quit IRC | 05:09 | |
*** pigeon has joined #maemo | 05:15 | |
*** maybeHere has joined #maemo | 05:30 | |
*** maybeArgh has quit IRC | 05:33 | |
*** eMHa_ has joined #maemo | 05:52 | |
*** eMHa has quit IRC | 05:55 | |
*** protem has joined #maemo | 07:12 | |
*** eMHa_ has quit IRC | 07:18 | |
*** shamus has quit IRC | 07:34 | |
*** shamus has joined #maemo | 07:35 | |
*** unclouded has quit IRC | 07:38 | |
*** unclouded has joined #maemo | 07:39 | |
*** heroux has quit IRC | 07:52 | |
*** eMHa_ has joined #maemo | 07:58 | |
*** VDVsx has quit IRC | 08:05 | |
*** RedW has quit IRC | 08:05 | |
*** RedW has joined #maemo | 08:10 | |
*** heroux has joined #maemo | 08:18 | |
*** Unbreakable has joined #maemo | 08:21 | |
*** VDVsx has joined #maemo | 08:35 | |
*** Unbreakable is now known as HOWSdEGO2day | 08:40 | |
*** HOWSdEGO2day has quit IRC | 08:42 | |
*** zGrr has joined #maemo | 09:06 | |
*** futpib has quit IRC | 09:21 | |
*** noch^off has joined #maemo | 09:30 | |
*** Pali has joined #maemo | 09:35 | |
zGrr | moin :) | 09:40 |
KotCzarny | oink | 09:48 |
*** ketas has quit IRC | 10:07 | |
*** protem has quit IRC | 10:12 | |
*** noch has joined #maemo | 10:13 | |
*** noch^off has quit IRC | 10:13 | |
*** norayr has joined #maemo | 10:19 | |
*** florian has joined #maemo | 10:24 | |
zGrr | KotCzarny: hi | 10:25 |
*** L29Ah has left #maemo | 10:39 | |
kerio | freemangordon: are you awake? | 10:53 |
*** Haudegen has quit IRC | 10:56 | |
*** L29Ah has joined #maemo | 10:57 | |
*** L29Ah has left #maemo | 10:59 | |
*** L29Ah has joined #maemo | 11:03 | |
*** tanty_off is now known as tanty | 11:03 | |
*** L29Ah has left #maemo | 11:06 | |
*** L29Ah has joined #maemo | 11:07 | |
*** netkat has quit IRC | 11:11 | |
*** noch has quit IRC | 11:16 | |
*** L29Ah has left #maemo | 11:19 | |
*** N-Mi has joined #maemo | 11:21 | |
*** dafox has joined #maemo | 11:39 | |
*** Haudegen has joined #maemo | 11:45 | |
*** beford has quit IRC | 11:48 | |
*** beford has joined #maemo | 11:48 | |
*** SpeedEvil has quit IRC | 11:53 | |
*** SpeedEvil has joined #maemo | 11:53 | |
*** SpeedEvil has quit IRC | 11:58 | |
*** SpeedEvil has joined #maemo | 11:59 | |
*** dafox has quit IRC | 12:02 | |
*** SpeedEvil has quit IRC | 12:09 | |
*** SpeedEvil has joined #maemo | 12:10 | |
*** M4rtinK has joined #maemo | 12:11 | |
*** LauRoman has quit IRC | 12:23 | |
*** RiD has joined #maemo | 12:41 | |
*** qt_junkie has joined #maemo | 12:48 | |
*** eMHa_ has quit IRC | 12:56 | |
*** eMHa_ has joined #maemo | 12:56 | |
*** norayr has quit IRC | 12:56 | |
*** noch has joined #maemo | 12:58 | |
*** sparetire_ has quit IRC | 12:58 | |
*** noch has quit IRC | 13:04 | |
*** KotCzarny has quit IRC | 13:08 | |
*** KotCzarny has joined #maemo | 13:10 | |
*** ashneo76 has quit IRC | 13:14 | |
*** SpeedEvil has quit IRC | 13:18 | |
*** SpeedEvil has joined #maemo | 13:19 | |
*** freemangordon_ has joined #maemo | 13:19 | |
*** geaaru has joined #maemo | 13:41 | |
*** ketas has joined #maemo | 14:10 | |
*** Haudegen has quit IRC | 14:10 | |
*** L29Ah has joined #maemo | 14:16 | |
*** L29Ah has left #maemo | 14:26 | |
*** Haudegen has joined #maemo | 14:34 | |
*** L29Ah has joined #maemo | 14:35 | |
*** L29Ah has left #maemo | 14:45 | |
*** L29Ah has joined #maemo | 14:48 | |
*** L29Ah has left #maemo | 14:48 | |
*** L29Ah has joined #maemo | 14:53 | |
*** L29Ah has left #maemo | 14:57 | |
*** L29Ah has joined #maemo | 15:02 | |
*** norayr has joined #maemo | 15:12 | |
freemangordon_ | do someone know how to replace "--" in a file, by using the replace command? | 15:21 |
L29Ah | zsh: command not found: replace | 15:26 |
L29Ah | must be some useless stuff | 15:26 |
kerio | yeah idk i'd just use sed | 15:26 |
L29Ah | sed -e 's#--#foobar#g' file | 15:26 |
kerio | -bash: replace: command not found | 15:26 |
freemangordon_ | I guess sed will take a while to pars 18GB file | 15:26 |
freemangordon_ | *parse | 15:26 |
freemangordon_ | it is part of mysql-server | 15:27 |
bencoh | looks like the important property is "in-place" | 15:28 |
freemangordon_ | well, sed can do it as well | 15:29 |
freemangordon_ | -i | 15:29 |
kerio | -i is quite nonstandard | 15:29 |
freemangordon_ | don;t care, as ling as it works on ubuntu | 15:29 |
freemangordon_ | r*long | 15:29 |
freemangordon_ | anyway, could someone gimme the regexp to replace "--" with "#" at the start of line? | 15:30 |
*** frals has quit IRC | 15:30 | |
bencoh | freemangordon_: ^-- ? | 15:30 |
freemangordon_ | no idea | 15:30 |
*** frals has joined #maemo | 15:30 | |
bencoh | ^ should be "start of line" | 15:30 |
bencoh | so ^-- should work | 15:30 |
freemangordon_ | I tend to not touch regexps | 15:31 |
freemangordon_ | hmm, ok | 15:31 |
KotCzarny | for inline you should probably use "# " or "##" | 15:31 |
freemangordon_ | use where? | 15:31 |
KotCzarny | in the replace | 15:31 |
KotCzarny | sed -re 's/^\-\-/# /m' | 15:32 |
KotCzarny | i think | 15:32 |
KotCzarny | but check on a test file first | 15:32 |
freemangordon_ | no, it turned out to be "\-\-", but I gave up on replace, as it doesnt seem to support regexp | 15:32 |
freemangordon_ | ok | 15:32 |
freemangordon_ | what is /m ? | 15:32 |
KotCzarny | might be /s | 15:33 |
KotCzarny | always confused about those two flags | 15:33 |
bencoh | time to open the grymoire | 15:33 |
bencoh | http://www.grymoire.com/Unix/Sed.html | 15:33 |
KotCzarny | but just test it | 15:33 |
KotCzarny | one of it works | 15:33 |
KotCzarny | could be also without any flags | 15:33 |
freemangordon_ | sed -i 's/^\-\-/#/' $FILE should do the job, lets see | 15:34 |
KotCzarny | nope | 15:34 |
KotCzarny | for ^ you need -r | 15:35 |
KotCzarny | or im just sleepy | 15:35 |
bencoh | I think you're sleepy | 15:35 |
KotCzarny | i guess ^ isnt regexp anyway | 15:35 |
bencoh | what is it then ? | 15:36 |
freemangordon_ | "use extended regular expressions in the script." ??? | 15:36 |
KotCzarny | and its not needed | 15:36 |
KotCzarny | echo -e "123\n--234\n5--5" | sed -e 's/^--/# /' | 15:36 |
KotCzarny | this one worked fine | 15:36 |
freemangordon_ | KotCzarny: it works without -r here | 15:36 |
KotCzarny | i guess sed just understands ^ without regexps flag | 15:36 |
freemangordon_ | and why the '-e'? | 15:36 |
KotCzarny | 'execute this script' | 15:37 |
bencoh | KotCzarny: regex != extended regex | 15:37 |
freemangordon_ | which script?!? | 15:37 |
KotCzarny | the one in '' | 15:37 |
freemangordon_ | but, but... it does it wothout -e | 15:37 |
KotCzarny | though it worked without -e too | 15:37 |
KotCzarny | might be for multiple scripts | 15:37 |
bencoh | freemangordon_: -e allows for multiple expressions | 15:37 |
*** zGrr has left #maemo | 15:37 | |
freemangordon_ | so I don;t need it I guess | 15:38 |
*** L29Ah has left #maemo | 15:43 | |
*** L29Ah has joined #maemo | 15:43 | |
*** vakkov has joined #maemo | 15:44 | |
*** NIN101 has quit IRC | 15:45 | |
*** beford has quit IRC | 15:45 | |
*** beford has joined #maemo | 15:46 | |
*** NIN101 has joined #maemo | 15:46 | |
*** RiD has quit IRC | 15:53 | |
*** L29Ah has left #maemo | 16:07 | |
*** Haudegen has quit IRC | 16:24 | |
*** Haudegen has joined #maemo | 16:29 | |
*** L29Ah has joined #maemo | 16:33 | |
*** VDVsx has quit IRC | 16:33 | |
*** Haudegen has quit IRC | 16:34 | |
*** netkat has joined #maemo | 16:40 | |
*** Reisebus has joined #maemo | 16:43 | |
*** Reisebus is now known as Cat_bus | 16:43 | |
*** VDVsx has joined #maemo | 16:45 | |
Cat_bus | Hey there, I am entirely new to maemo. What kind of OS things can I actually run on a N900? | 16:46 |
L29Ah | any linux of your choice, basically | 16:46 |
Cat_bus | are there readymade images anywhere or do I have to chase the parts? any overview thread? | 16:47 |
L29Ah | google n900 <yourdistro> | 16:47 |
bencoh | there are quite a few articles/threads about running other distros | 16:47 |
bencoh | keep in mind you might/will lose some functionalities | 16:48 |
Cat_bus | ok, thats what I was about. Whats the best thing, to still use it as phone? | 16:48 |
*** jon_y has quit IRC | 16:48 | |
*** jon_y has joined #maemo | 16:49 | |
bencoh | most probably maemo | 16:49 |
KotCzarny | he he | 16:49 |
bencoh | even 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 |
KotCzarny | in short, old glibc and old kernel | 16:50 |
KotCzarny | other than that everything linuxish works | 16:50 |
KotCzarny | it has 256M of ram, so dont expect anything modern to work | 16:51 |
*** disco_stu has quit IRC | 16:52 | |
Cat_bus | So I will chase parts ^^ thanks! | 16:54 |
bencoh | chase parts ? | 16:55 |
*** Haudegen has joined #maemo | 16:58 | |
*** konelix__ has joined #maemo | 17:12 | |
*** KotCzarny has quit IRC | 17:13 | |
*** KotCzarny has joined #maemo | 17:23 | |
*** disco_stu has joined #maemo | 17:31 | |
*** disco_stu_droid has joined #maemo | 17:52 | |
*** disco_stu has quit IRC | 17:52 | |
*** disco_stu_droid is now known as disco_stu | 17:53 | |
*** norayr has quit IRC | 18:33 | |
*** eMHa_ has quit IRC | 19:17 | |
*** RST38h has quit IRC | 19:19 | |
*** dafox has joined #maemo | 19:20 | |
*** florian has quit IRC | 19:29 | |
*** RiD has joined #maemo | 19:40 | |
*** dafox has quit IRC | 19:50 | |
*** L29Ah has left #maemo | 20:08 | |
*** L29Ah has joined #maemo | 20:08 | |
*** N-Mi has quit IRC | 20:22 | |
*** geaaru has quit IRC | 20:40 | |
*** beford has quit IRC | 20:55 | |
*** futpib has joined #maemo | 21:04 | |
*** obsed has quit IRC | 21:19 | |
freemangordon | ShadowJK: 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 |
ShadowJK | It might catch fire eventually | 21:23 |
KotCzarny | freemangordon: it started crystallizing inside | 21:28 |
KotCzarny | battery is ded | 21:29 |
KotCzarny | ded ded | 21:29 |
freemangordon | ShadowJK: really? even if the charging current is just a couple of mA | 21:29 |
KotCzarny | and crystals pierce the insulator | 21:29 |
freemangordon | hmm, I see | 21:29 |
KotCzarny | and you know what happens when high current runs inside? | 21:30 |
KotCzarny | or outside | 21:30 |
KotCzarny | part of it might still holding charge, but overall its trash now | 21:31 |
ShadowJK | http://www.mpoweruk.com/lithium_failures.htm | 21:31 |
ShadowJK | So 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 ciruits | 21:32 |
freemangordon | ok, got it, thanks | 21:34 |
freemangordon | the battery goes to trash, might use the solar cell though :) | 21:34 |
KotCzarny | definitely | 21:35 |
KotCzarny | all lions charge the same (roughly) so you should be able to replace it | 21:36 |
freemangordon | yeah | 21:36 |
freemangordon | hmm, is it safe to connect li-ion batteries in parallel? | 21:37 |
freemangordon | my gut feeling tells me yes, but I want some expert's say :) | 21:38 |
ShadowJK | If they're at the same voltage when you make the connection | 21:38 |
KotCzarny | i dont know, but i bet its not safe | 21:38 |
freemangordon | ShadowJK: yea, sure | 21:38 |
KotCzarny | different parameters/aging | 21:39 |
KotCzarny | so they will charge/discharge differently | 21:39 |
ShadowJK | Li-Ion batteries in parallell are self-balancing | 21:39 |
ShadowJK | NiMh batteries in parallell are not | 21:39 |
KotCzarny | nice to know | 21:39 |
freemangordon | ShadowJK: thanks a lot | 21:39 |
KotCzarny | shadowjk: how to make them same voltage tho? | 21:40 |
freemangordon | charge them ;) | 21:40 |
ShadowJK | yep | 21:40 |
KotCzarny | or some mergin of difference is acceptable? | 21:40 |
KotCzarny | doh | 21:40 |
KotCzarny | s/mergin/margin/ | 21:41 |
freemangordon | I guess no, the charging current will be too big | 21:41 |
ShadowJK | You 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 |
KotCzarny | so, its not safe at home | 21:41 |
KotCzarny | :) | 21:41 |
freemangordon | KotCzarny: I guess a serial resistor for a couple oh hours will make it safe :) | 21:42 |
freemangordon | *of | 21:42 |
KotCzarny | wouldnt that confuse the charger tho? | 21:43 |
freemangordon | you're missing the point - connect those 2 charged batteris in paralle, but through a resistor | 21:43 |
ShadowJK | So 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 |
freemangordon | until the measured voltage (and thus the charging current from higher voltage batt to lower) falls in some safe margin | 21:44 |
ShadowJK | So I'd say this puts the safe margin at < 0.1V difference :) | 21:45 |
KotCzarny | hehe | 21:45 |
KotCzarny | also, what would happen if one of the batteries gets bad? (for whatever reason) | 21:46 |
freemangordon | for example 10 Ohm resistor for 24 hours (sounds good to me, didn;t calculated) will be enough IMO | 21:46 |
freemangordon | KotCzarny: fire in the hole I guess | 21:46 |
freemangordon | :) | 21:46 |
KotCzarny | :) | 21:46 |
KotCzarny | sounds fun | 21:46 |
freemangordon | ShadowJK: what about that serial R? does ity sound sane to you? | 21:47 |
freemangordon | assuming both batteries are charged to 4.2 | 21:47 |
freemangordon | ~.1/10 | 21:47 |
infobot | 0.01 | 21:47 |
freemangordon | 10 mA should be safe by all measures | 21:48 |
ShadowJK | Personally, if I charged them both in a non shitty charger i would just parallell with wire | 21:48 |
freemangordon | yeah, but you never now | 21:48 |
freemangordon | I mean - the charger quality, unless you have a lab | 21:48 |
freemangordon | which I don't :) | 21:48 |
ShadowJK | Coincidentally I do have a battery jumper wire with a 1R resistor in it, but that I used for inrush current limiting | 21:49 |
*** script has quit IRC | 21:49 | |
freemangordon | so 10R is t0o much? | 21:50 |
freemangordon | *too | 21:50 |
ShadowJK | when i was lacking 24V psu and wanted to power some 24V inudstrial kit | 21:50 |
*** script has joined #maemo | 21:50 | |
ShadowJK | eh, dunno | 21:50 |
freemangordon | :) | 21:51 |
freemangordon | ok, will see when I don;t find a replacement battery so I need to use 2 or 3 smaller ones | 21:51 |
ShadowJK | id just check battery voltaged with meter, and if close use wire, if not, resistor | 21:51 |
freemangordon | ok | 21:52 |
* ShadowJK just bought a 6000mAh powerbank from Lidl for 12E :) | 21:54 | |
ShadowJK | Did you btw see about that new Mediatek SoC? | 21:55 |
ShadowJK | 10(+1) cpu cores | 21:55 |
ShadowJK | kinda insane :) | 21:55 |
freemangordon | omg | 21:59 |
kerio | rip freemangordon | 22:00 |
kerio | you will be missed | 22:00 |
freemangordon | hmm? | 22:01 |
*** florian has joined #maemo | 22:02 | |
kerio | such a young life | 22:02 |
kerio | lost in the explosion of multiple lithium batteries | 22:02 |
kerio | connected in parallel | 22:02 |
kerio | *charged in parallel | 22:02 |
freemangordon | :D | 22:03 |
*** sq-one has joined #maemo | 22:15 | |
KotCzarny | charge junkie | 22:16 |
*** RiD has quit IRC | 22:20 | |
*** tanty is now known as tanty_off | 22:35 | |
*** xes has joined #maemo | 22:36 | |
*** xes_ has quit IRC | 22:38 | |
*** louisdk has joined #maemo | 22:41 | |
*** LauRoman|Alt has joined #maemo | 22:45 | |
*** sparetire_ has joined #maemo | 22:52 | |
*** Vajb has quit IRC | 23:54 | |
*** auenf has joined #maemo | 23:55 | |
*** Vajb has joined #maemo | 23:56 | |
*** auenfx4 has quit IRC | 23:56 | |
*** futpib has quit IRC | 23:56 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!