IRC log of #maemo for Sunday, 2014-10-05

*** xes has joined #maemo00:05
*** troulouliou_dev has joined #maemo00:23
*** mavhc has quit IRC00:29
*** mavhc has joined #maemo00:35
*** troulouliou_dev has quit IRC00:43
*** xes has quit IRC01:03
*** xes has joined #maemo01:04
*** xes has quit IRC01:05
*** xes has joined #maemo01:06
*** sunny_s has quit IRC01:08
*** louisdk has quit IRC01:13
*** Elleo has quit IRC01:14
*** xes has quit IRC01:16
*** xes has joined #maemo01:20
*** bef0rd has joined #maemo01:25
*** bef0rd has quit IRC01:27
*** xes has quit IRC01:29
*** bef0rd has joined #maemo01:30
*** bef0rd has quit IRC01:32
*** qwazix_ has joined #maemo01:33
*** florian has quit IRC01:37
*** qwazix_ has quit IRC01:38
*** hurrian has quit IRC01:59
*** jonwil has joined #maemo02:03
*** hurrian has joined #maemo02:13
*** hurrian has quit IRC02:13
*** hurrian has joined #maemo02:13
*** bencoh_ is now known as bencoh03:02
*** troulouliou_dev has joined #maemo03:04
*** nox- has quit IRC03:34
*** troulouliou_dev has quit IRC03:35
*** M4rtinK has quit IRC03:50
*** M4rtinK has joined #maemo04:01
*** Neutron7 has joined #maemo04:04
*** bef0rd has joined #maemo04:04
*** bef0rd has joined #maemo04:04
*** M4rtinK has quit IRC04:16
*** protem has joined #maemo04:47
*** erlehmann_ has joined #maemo04:47
*** erlehmann has quit IRC04:51
*** qwazix_nc has quit IRC05:08
*** qwazix has quit IRC05:11
*** qwazix has joined #maemo05:13
*** qwazix_nc has joined #maemo05:17
*** maybeArgh has joined #maemo05:31
*** maybeWTF has quit IRC05:33
*** lxp1 has joined #maemo06:02
*** lxp has quit IRC06:04
*** wicket64 has joined #maemo06:05
*** Gh0sty has quit IRC06:19
*** Gh0sty has joined #maemo06:21
*** bef0rd has quit IRC07:23
*** hurrian has quit IRC07:29
*** bef0rd has joined #maemo07:29
*** bef0rd has joined #maemo07:29
*** wicket64 has quit IRC07:37
*** hurrian has joined #maemo08:07
*** hurrian has quit IRC08:07
*** hurrian has joined #maemo08:07
*** hurrian has quit IRC08:11
*** hurrian has joined #maemo08:17
*** hurrian has quit IRC08:17
*** hurrian has joined #maemo08:17
*** bef0rd has quit IRC09:06
*** qwazix has quit IRC09:14
*** qwazix_nc is now known as qwazix09:14
*** bluelupo has joined #maemo09:17
*** hurrian_ has joined #maemo09:24
*** hurrian has quit IRC09:25
*** FlameReaper-PC has joined #maemo09:27
*** LauRoman|Alt has joined #maemo09:39
*** Wizzup has quit IRC10:07
*** Wizzup has joined #maemo10:08
*** LauRoman|Alt has quit IRC10:08
*** Wizzup is now known as Guest978110:08
*** Guest9781 is now known as Wizzup__10:10
*** Psi has joined #maemo10:17
*** LauRoman has joined #maemo10:22
*** dhbiker has joined #maemo10:30
*** protem has quit IRC11:41
*** LauRoman has quit IRC12:07
*** M4rtinK has joined #maemo12:15
*** LauRoman has joined #maemo12:16
*** Elleo has joined #maemo12:53
*** mkaindl has joined #maemo13:05
*** troulouliou_dev has joined #maemo13:08
*** troulouliou_dev has quit IRC13:14
FatPhilwhat's a simple way of generating a random number in a specified range in the n900 default shell?13:36
freemangordonFatPhil: hmm, isn't there RNG?13:40
FatPhil$RANDOM is a bashism13:41
freemangordonno, I meant /dev/urandom or similar13:42
FatPhilothe best I can come up with idd if=/dev/random bs=2 count=1 2>/dev/null | od -d | sed something13:42
freemangordonwon't cut be of use?13:46
freemangordonor head?13:48
FatPhilI can do the cut and the head both in a sed, I'd rather use a shorter than a simpler pipeline13:53
*** tanty is now known as tanty_off13:56
*** tanty_off is now known as tanty13:56
FatPhilWTF? I can only set a file that's in one of the FAT filesystems as an SMS tone?!?!13:57
FatPhilwhich means I can13:57
FatPhilt use a symlink13:57
PaliFatPhil: you can use profileclient for setting tone via xterm14:08
Paliand via profileclient you could specify any file14:09
FatPhilooh sounds interesting14:09
Palibut nokia decided to not include profileclient DEB package into any repository14:10
FatPhilI want to create a switcher as a Desktop Execution Widget14:10
Palibut it is in CSSU14:10
FatPhilhmm, my phone's not on a network currently, and google's not finding it14:11
Palihttp://repository.maemo.org/community-testing/pool/fremantle/free/p/profiled/14:12
Palithere is profileclient_0.30.2-1+0cssu1_armel.deb14:12
Palisource code on gitorious: https://gitorious.org/community-ssu/profiled14:13
FatPhilah, so it's a DBus call14:25
*** Kabouik has joined #maemo14:38
*** FReaper-PC has joined #maemo14:47
*** FlameReaper-PC has quit IRC14:50
*** LauRoman|Alt has joined #maemo14:52
raccoon_FatPhil: you can do it in a perl or python oneliner (random numbers)14:56
raccoon_but if you really want to do it "native" i'd check for an rng device in the sys tree (are there any?) or do it with dd like you said, but egrep '[0-9]{n}' where n is length14:58
raccoon_or {m,n} where m is min and n max length14:58
raccoon_and i'd add the -o flag to grep so you only get the actual numbers and not a full line that matches partially.14:59
raccoon_i've never benchmarked the entropy seed on the n900, i usually generate ssh and gpg keys elsewhere. but if it's a problem theres quite a few software rng solutions that might fit here15:00
raccoon_i know i've seen an PRNG seeding from pulseaudio data15:00
raccoon_ah, sorry... it was for alsa. http://www.digital-scurf.org/software/randomsound15:01
jonwilI bet you could leverage the RNGs OpenSSL are using15:02
jonwilThey should be fairly strong in terms of their randomness15:02
raccoon_also HAVEGED seems to be an interesting project http://www.issihosts.com/haveged/ http://www.irisa.fr/caps/projects/hipsor/15:02
*** XenonXZ has joined #maemo15:06
*** XenonXZ has quit IRC15:18
*** flo_lap has joined #maemo15:23
*** erlehmann_ is now known as erlehmann15:26
*** flo_lap is now known as florian15:27
*** LauRoman|Alt has quit IRC15:29
*** FR-PC has joined #maemo15:46
*** FReaper-PC has quit IRC15:50
*** lxp1 has quit IRC16:18
*** lxp has joined #maemo16:22
*** emma has quit IRC16:32
*** erlehmann has quit IRC16:47
*** emma has joined #maemo16:48
*** freemangordon has quit IRC16:54
*** beford has joined #maemo17:01
*** LauRoman|Alt has joined #maemo17:02
*** FlameReaper-PC has joined #maemo17:09
*** FR-PC has quit IRC17:12
*** freemangordon has joined #maemo17:12
*** louisdk has joined #maemo17:47
*** beford has quit IRC18:02
*** beford has joined #maemo18:04
*** RzR has quit IRC18:28
*** ZrZ has joined #maemo18:28
*** ZrZ has quit IRC18:31
*** RzR has joined #maemo18:32
*** ZrZ has joined #maemo18:40
*** RzR has quit IRC18:42
*** at1as has joined #maemo18:44
*** shentey has joined #maemo18:49
*** bef0rd has joined #maemo18:53
*** shentey has quit IRC18:54
*** jonwil has quit IRC19:16
*** _2_Natalie has joined #maemo19:22
*** at1as has quit IRC19:25
*** cyborg-o1e has joined #maemo19:28
*** cyborg-one has quit IRC19:32
*** LauRoman|Alt has quit IRC19:34
*** at1as has joined #maemo19:50
*** protem has joined #maemo19:58
*** at1as has quit IRC20:06
*** b-p has joined #maemo20:18
*** xes has joined #maemo20:26
*** fuz_ has quit IRC20:34
*** BCMM has joined #maemo20:37
*** b-p has quit IRC20:37
*** M4rtinK has quit IRC20:42
*** ced117 has quit IRC20:43
*** FlameReaper-PC has quit IRC20:48
*** nox- has joined #maemo20:57
*** fuz_ has joined #maemo21:05
FatPhilmany thanks for the profileclient hint - I now have an SMS tone changer desktop widget!21:59
*** M4rtinK has joined #maemo22:05
*** bluelupo has quit IRC22:07
*** ZogG_laptop has joined #maemo22:15
*** ZogG_laptop has quit IRC22:15
*** ZogG_laptop has joined #maemo22:15
*** ZogG_laptop has quit IRC22:21
*** ZogG_laptop has joined #maemo22:21
*** ZogG_laptop has quit IRC22:21
*** ZogG_laptop has joined #maemo22:21
*** M4rtinK has quit IRC22:32
*** beford has quit IRC22:41
*** beford has joined #maemo22:41
*** troulouliou_dev has joined #maemo22:51
*** troulouliou_dev has quit IRC22:58
*** LauRoman has quit IRC23:04
*** shentey has joined #maemo23:20
*** ZogG_laptop has quit IRC23:27
*** M4rtinK has joined #maemo23:47
*** Kabouik has quit IRC23:57

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