IRC log of #maemo for Saturday, 2017-12-30

*** grinsekatze has quit IRC00:08
*** grinsekatze has joined #maemo00:09
*** cyteen_ has quit IRC00:12
*** cyteen has joined #maemo00:17
*** xy2_ has quit IRC00:48
*** NeKit has joined #maemo01:05
*** drcode has quit IRC01:06
*** NeKit has quit IRC01:09
*** Vajb has joined #maemo01:13
*** Elite-Epochs has joined #maemo01:51
*** Pali has quit IRC01:51
*** trumee has quit IRC01:54
*** trumee has joined #maemo02:09
*** trumee has quit IRC02:10
*** trumee has joined #maemo02:15
*** trumee has quit IRC02:20
*** florian has quit IRC02:23
*** Kabouik_ has quit IRC02:38
*** trumee has joined #maemo02:40
*** trumee has quit IRC02:47
*** pkill9 has quit IRC02:58
*** troulouliou_div2 has joined #maemo03:01
*** trumee has joined #maemo03:09
*** infobot has quit IRC03:17
*** infobot has joined #maemo03:18
*** trumee has quit IRC03:19
*** troulouliou_div2 has quit IRC03:23
*** trumee has joined #maemo03:38
*** cyteen has quit IRC03:55
*** cyteen has joined #maemo03:56
*** xes has quit IRC04:39
*** sunshavi has quit IRC04:40
*** sunshavi has joined #maemo04:40
*** jon_y has quit IRC06:01
*** jon_y has joined #maemo06:03
*** Wikiwide has joined #maemo06:04
WikiwideI don't understand backtick quotes. What do they do in ash script? Makes parsing wget output quite difficult.07:18
Wikiwide15:29:50 (20.69 KB/s) - `filepath' saved [43121]07:34
WikiwideFor example,  test="$(echo "15:29:50 (20.69 KB/s) - `filepath' saved [43121]")" line doesn't work - Terminal switches to > mode07:59
*** trumee has quit IRC08:43
brolin_empeyWikiwide: If I recall correctly, what you refer to as backtick quotes are some ASCII approximation anachronism popular with the FSF/rms.  I say anachronism because modern practice is to use Unicode separate left and right single or double quotation marks, i.e., ‘single’ and “double”.08:56
*** trumee has joined #maemo09:00
brolin_empeyIn your example/use case, it appears that the shell is expecting the ` to be used for command substitution?09:01
brolin_empeyI guess a possible workaround is to use tr(1) to replace the ` with ' .09:02
brolin_empeyOr maybe the program that uses ` in its output can somehow be told at runtime to use a different quoting style?09:03
WikiwideI might have worked around this by using grep -o \`.*\' , And then % and # bash string editors to remove suffix and prefix. But it's still a rough ride.09:07
brolin_empeyVajb: You may say “difficult” instead of “hard”.09:10
brolin_empeyCatButts: ISP is also In-System Programming.09:12
CatButtsIndiscreet Sibling Purr09:13
CatButts'be more specific', he says09:16
CatButts:p09:16
*** Wikiwide has left #maemo09:16
*** Wikiwide has joined #maemo09:17
brolin_empeyCatButts: KCalc can be used to convert between binary, octal, decimal, and hexadecimal.09:25
*** Wikiwide has quit IRC09:29
brolin_empeyI wonder if the D-Link DUB-E100 hardware version D1 still uses the same vendor and device identifiers as the hardware version C1.  My patch to the Maemo power kernel that I submitted in 2013 was to add support for the hardware version C1 that was current in 2013.  Now I have two of the hardware version D1 at work but stopped using the N900 in 2014.  When I am back at work, I should check the identifiers used by the hardware version D1.09:36
CatButtsDec 29 10:17:49 <freemangordon> why don't you just use wpa_passphrase?09:58
CatButtsin place of wpa_cli?09:58
CatButtsoh yeah, it outputs to stdout10:05
CatButtsI'd have to pipe it to a file10:06
CatButtsbutt you see...10:06
CatButtsI can't find my angled brackets :P10:06
CatButtsso wpa_cli it is!10:06
*** xy2_ has joined #maemo10:46
*** xy2_ has quit IRC11:22
*** xy2_ has joined #maemo11:24
Vajbbrolin_empey: true that!11:32
CatButtsdificult are the times11:41
CatButtshard is the surface to smack head against when times are dificult11:41
CatButts:P11:41
CatButtsdd if=/dev/mmcblk1 of=./mybackup.img11:53
CatButtsthis is taking unusually long11:53
CatButtsam I doing something naughty?11:54
CatButtstaking moreso, than say....11:54
CatButtsdd if=./mybackup.img of=/dev/mmcblk111:54
CatButts2gb SD card11:55
CatButtseh, with a bit of luck, it's not filling up all of 32gb MyDocs :P11:57
CatButts(ext2 formated)11:57
CatButtshmmmm, ext2....11:57
CatButtsso that's why it's taking long11:58
CatButtsI once made the mistake of using ext3 as backup drive for very large files(tens of GB)11:59
CatButtswriting to it would be stupendously slow11:59
CatButtsthen I nuked the fucker and made it ext411:59
CatButtsproblem solved11:59
*** Pali has joined #maemo12:01
*** Wikiwide has joined #maemo12:01
KotCzarnywikiwide: i would advise you to learn about shell scripting exploits12:02
WikiwideThank you :-)12:02
WikiwideI am just absolutely tired. Exhausted.12:03
KotCzarnyand the fact that you have troubles with parsing output suggest it might be insecure12:03
KotCzarnyas for backtics it's treated in bash as `run this command in new subshell`12:03
WikiwideInsecure, as in, random things injected into script?12:04
KotCzarnyand '> ' means it was waiting for closing backtick12:04
KotCzarnyyes12:04
KotCzarnyand executed on your system12:04
KotCzarnywhole shell scripting is tricky12:05
WikiwideWell, it's not like website can easily put anything into script. It's just, wget output has stderr and stdout in the same stream, and certificate warning get mixed up with filenames.12:05
KotCzarnybut you plan on making it into some package in repos for others?12:06
WikiwideTry wget https://www.duckduckgo.com , and see what wget says.12:06
WikiwideNot package yet. Just a script, for starters.12:06
* CatButts starts to regret making MyDocs into ext212:07
KotCzarnybecause while your private script would just fail, used by others might be treated as attack target12:07
Wikiwidehildon-mime-summon is somebody's package in extras-devel which needs some help. Its source package has both source and binary, while its binary has neither.12:07
WikiwideAnd, its binary doesn't exit upon having done its task; it just gets stuck in waiting for a Ctrl-C or some killall.12:08
KotCzarnyadd & ?12:09
WikiwideBut overall, it works as intended, opening /any/file with proper mime handler.12:09
WikiwideIt gets stuck in background. Neat but not sufficient. There is no reason for it to not exit.12:11
KotCzarnymaybe it waits for browser close12:14
KotCzarnyor needs to call destination app with '&'12:14
*** NeKit has joined #maemo12:28
*** pkill9 has joined #maemo12:41
*** msava has joined #maemo12:45
*** drcode has joined #maemo12:49
*** xy2_ has quit IRC12:50
*** drcode has quit IRC12:50
*** xy2_ has joined #maemo12:50
*** drcode has joined #maemo12:52
WikiwideHildon-mime-summon being closed and destination app being closed have absolutely no correlation. Feel free to test, binary executable is inside source package http://repository.maemo.org/extras-devel/pool/fremantle/free/source/h/hildon-mime-summon/hildon-mime-summon_1.0-1.tar.gz and source code, too, of course; .C13:04
*** drcode has quit IRC13:19
*** drcode has joined #maemo13:25
*** LauRoman has joined #maemo13:28
*** jonwil has joined #maemo13:31
jonwilhi13:32
CatButtsuhllo13:32
Wikiwidehello13:33
*** pkill9 has quit IRC13:34
*** pkill9 has joined #maemo13:51
sicelowhat's hildon-mime-summon?13:51
WikiwideA commandline application launcher for mimetype13:56
*** Wikiwide has quit IRC14:01
*** NeKit has quit IRC14:44
*** NeKit has joined #maemo14:57
*** jonwil has quit IRC14:59
*** NeKit has quit IRC15:09
*** mp107 has joined #maemo15:30
*** NeKit has joined #maemo15:30
*** spiiroin has joined #maemo16:47
*** Kabouik_ has joined #maemo16:50
*** NeKit has quit IRC17:16
*** herekun has quit IRC17:22
*** herekun has joined #maemo17:25
*** xes has joined #maemo17:38
*** mp107[m] has joined #maemo17:50
*** mp107[m] has quit IRC18:07
*** troulouliou_div2 has joined #maemo18:31
*** mp107 has quit IRC18:42
*** Smily has joined #maemo18:43
* CatButts is still waiting for dd18:55
*** msava has quit IRC19:01
*** cyteen has quit IRC19:07
*** cyteen has joined #maemo19:09
*** troulouliou_div2 has quit IRC19:09
*** CatButts is now known as COIOS19:32
*** mquin is now known as ISO310319:35
*** COIOS is now known as CatButts19:41
*** herekun has quit IRC19:41
*** cyteen has quit IRC19:42
*** cyteen has joined #maemo19:43
*** bl33d15 has left #maemo19:50
*** herekun has joined #maemo19:55
*** NeKit has joined #maemo19:55
*** xy2_ has quit IRC20:16
*** spiiroin has quit IRC20:18
*** xy2_ has joined #maemo20:22
brolin_empeyCatButts: Have you tried using bs=n to use a larger block size, such as bs=64M ?20:30
CatButtshmmm, have not20:30
CatButtsjust if and of params20:30
CatButtsI canceled dd20:32
*** spiiroin has joined #maemo20:32
CatButtsdid20:33
CatButtskillall -USR1 dd20:33
CatButtsfrom separate shell20:33
CatButts108kb/s20:33
CatButtswas copying 4gb20:33
CatButtssize of sd card20:34
DocScrutinizer51mquin / ISO3103 : preparation of liquor for use in sensory tests?20:34
CatButtswhat flavour?20:34
CatButts*hic*20:34
CatButtsI like mint20:35
* DocScrutinizer51 gets another Sol y Sombra20:35
KotCzarnyfonseca ruby porto20:35
KotCzarnynot bad stuff20:36
DocScrutinizer51fonseca???20:36
CatButtshmm, anise20:36
DocScrutinizer51wasnt that the bad guys of Panama papers?20:36
KotCzarnynope, family in portugal20:36
KotCzarnyhttps://en.wikipedia.org/wiki/Fonseca_(port)20:39
DocScrutinizer51mossack_fonseca20:39
DocScrutinizer51ignore me, Im not even really online20:45
*** xy2_ has quit IRC20:53
*** NeKit has quit IRC20:54
*** xy2_ has joined #maemo21:02
*** NeKit has joined #maemo21:06
DocScrutinizer51mossack_fonseca - cause tax paying is for the poor and stupid21:31
DocScrutinizer51my pub bartender has a yshirt with exactly this text ;-P21:32
DocScrutinizer51tshirt even21:33
*** TheKit has joined #maemo21:38
*** NotKit has joined #maemo21:40
*** NeKit has quit IRC21:41
*** TheKit has quit IRC21:43
*** Pali has quit IRC22:16
*** TheKit has joined #maemo22:18
*** NotKit has quit IRC22:22
*** auenf has quit IRC22:27
*** TheKit has quit IRC22:37
*** florian has joined #maemo22:54
*** troulouliou_div2 has joined #maemo23:06
*** Vajb has quit IRC23:22
*** troulouliou_div2 has quit IRC23:33
*** dreamer has quit IRC23:38
*** dingen has joined #maemo23:42
*** dingen is now known as dreamer23:56

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