*** xes has joined #maemo | 00:05 | |
*** troulouliou_dev has joined #maemo | 00:23 | |
*** mavhc has quit IRC | 00:29 | |
*** mavhc has joined #maemo | 00:35 | |
*** troulouliou_dev has quit IRC | 00:43 | |
*** xes has quit IRC | 01:03 | |
*** xes has joined #maemo | 01:04 | |
*** xes has quit IRC | 01:05 | |
*** xes has joined #maemo | 01:06 | |
*** sunny_s has quit IRC | 01:08 | |
*** louisdk has quit IRC | 01:13 | |
*** Elleo has quit IRC | 01:14 | |
*** xes has quit IRC | 01:16 | |
*** xes has joined #maemo | 01:20 | |
*** bef0rd has joined #maemo | 01:25 | |
*** bef0rd has quit IRC | 01:27 | |
*** xes has quit IRC | 01:29 | |
*** bef0rd has joined #maemo | 01:30 | |
*** bef0rd has quit IRC | 01:32 | |
*** qwazix_ has joined #maemo | 01:33 | |
*** florian has quit IRC | 01:37 | |
*** qwazix_ has quit IRC | 01:38 | |
*** hurrian has quit IRC | 01:59 | |
*** jonwil has joined #maemo | 02:03 | |
*** hurrian has joined #maemo | 02:13 | |
*** hurrian has quit IRC | 02:13 | |
*** hurrian has joined #maemo | 02:13 | |
*** bencoh_ is now known as bencoh | 03:02 | |
*** troulouliou_dev has joined #maemo | 03:04 | |
*** nox- has quit IRC | 03:34 | |
*** troulouliou_dev has quit IRC | 03:35 | |
*** M4rtinK has quit IRC | 03:50 | |
*** M4rtinK has joined #maemo | 04:01 | |
*** Neutron7 has joined #maemo | 04:04 | |
*** bef0rd has joined #maemo | 04:04 | |
*** bef0rd has joined #maemo | 04:04 | |
*** M4rtinK has quit IRC | 04:16 | |
*** protem has joined #maemo | 04:47 | |
*** erlehmann_ has joined #maemo | 04:47 | |
*** erlehmann has quit IRC | 04:51 | |
*** qwazix_nc has quit IRC | 05:08 | |
*** qwazix has quit IRC | 05:11 | |
*** qwazix has joined #maemo | 05:13 | |
*** qwazix_nc has joined #maemo | 05:17 | |
*** maybeArgh has joined #maemo | 05:31 | |
*** maybeWTF has quit IRC | 05:33 | |
*** lxp1 has joined #maemo | 06:02 | |
*** lxp has quit IRC | 06:04 | |
*** wicket64 has joined #maemo | 06:05 | |
*** Gh0sty has quit IRC | 06:19 | |
*** Gh0sty has joined #maemo | 06:21 | |
*** bef0rd has quit IRC | 07:23 | |
*** hurrian has quit IRC | 07:29 | |
*** bef0rd has joined #maemo | 07:29 | |
*** bef0rd has joined #maemo | 07:29 | |
*** wicket64 has quit IRC | 07:37 | |
*** hurrian has joined #maemo | 08:07 | |
*** hurrian has quit IRC | 08:07 | |
*** hurrian has joined #maemo | 08:07 | |
*** hurrian has quit IRC | 08:11 | |
*** hurrian has joined #maemo | 08:17 | |
*** hurrian has quit IRC | 08:17 | |
*** hurrian has joined #maemo | 08:17 | |
*** bef0rd has quit IRC | 09:06 | |
*** qwazix has quit IRC | 09:14 | |
*** qwazix_nc is now known as qwazix | 09:14 | |
*** bluelupo has joined #maemo | 09:17 | |
*** hurrian_ has joined #maemo | 09:24 | |
*** hurrian has quit IRC | 09:25 | |
*** FlameReaper-PC has joined #maemo | 09:27 | |
*** LauRoman|Alt has joined #maemo | 09:39 | |
*** Wizzup has quit IRC | 10:07 | |
*** Wizzup has joined #maemo | 10:08 | |
*** LauRoman|Alt has quit IRC | 10:08 | |
*** Wizzup is now known as Guest9781 | 10:08 | |
*** Guest9781 is now known as Wizzup__ | 10:10 | |
*** Psi has joined #maemo | 10:17 | |
*** LauRoman has joined #maemo | 10:22 | |
*** dhbiker has joined #maemo | 10:30 | |
*** protem has quit IRC | 11:41 | |
*** LauRoman has quit IRC | 12:07 | |
*** M4rtinK has joined #maemo | 12:15 | |
*** LauRoman has joined #maemo | 12:16 | |
*** Elleo has joined #maemo | 12:53 | |
*** mkaindl has joined #maemo | 13:05 | |
*** troulouliou_dev has joined #maemo | 13:08 | |
*** troulouliou_dev has quit IRC | 13:14 | |
FatPhil | what's a simple way of generating a random number in a specified range in the n900 default shell? | 13:36 |
---|---|---|
freemangordon | FatPhil: hmm, isn't there RNG? | 13:40 |
FatPhil | $RANDOM is a bashism | 13:41 |
freemangordon | no, I meant /dev/urandom or similar | 13:42 |
FatPhil | othe best I can come up with idd if=/dev/random bs=2 count=1 2>/dev/null | od -d | sed something | 13:42 |
freemangordon | won't cut be of use? | 13:46 |
freemangordon | or head? | 13:48 |
FatPhil | I can do the cut and the head both in a sed, I'd rather use a shorter than a simpler pipeline | 13:53 |
*** tanty is now known as tanty_off | 13:56 | |
*** tanty_off is now known as tanty | 13:56 | |
FatPhil | WTF? I can only set a file that's in one of the FAT filesystems as an SMS tone?!?! | 13:57 |
FatPhil | which means I can | 13:57 |
FatPhil | t use a symlink | 13:57 |
Pali | FatPhil: you can use profileclient for setting tone via xterm | 14:08 |
Pali | and via profileclient you could specify any file | 14:09 |
FatPhil | ooh sounds interesting | 14:09 |
Pali | but nokia decided to not include profileclient DEB package into any repository | 14:10 |
FatPhil | I want to create a switcher as a Desktop Execution Widget | 14:10 |
Pali | but it is in CSSU | 14:10 |
FatPhil | hmm, my phone's not on a network currently, and google's not finding it | 14:11 |
Pali | http://repository.maemo.org/community-testing/pool/fremantle/free/p/profiled/ | 14:12 |
Pali | there is profileclient_0.30.2-1+0cssu1_armel.deb | 14:12 |
Pali | source code on gitorious: https://gitorious.org/community-ssu/profiled | 14:13 |
FatPhil | ah, so it's a DBus call | 14:25 |
*** Kabouik has joined #maemo | 14:38 | |
*** FReaper-PC has joined #maemo | 14:47 | |
*** FlameReaper-PC has quit IRC | 14:50 | |
*** LauRoman|Alt has joined #maemo | 14: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 length | 14:58 |
raccoon_ | or {m,n} where m is min and n max length | 14: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 here | 15:00 |
raccoon_ | i know i've seen an PRNG seeding from pulseaudio data | 15:00 |
raccoon_ | ah, sorry... it was for alsa. http://www.digital-scurf.org/software/randomsound | 15:01 |
jonwil | I bet you could leverage the RNGs OpenSSL are using | 15:02 |
jonwil | They should be fairly strong in terms of their randomness | 15: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 #maemo | 15:06 | |
*** XenonXZ has quit IRC | 15:18 | |
*** flo_lap has joined #maemo | 15:23 | |
*** erlehmann_ is now known as erlehmann | 15:26 | |
*** flo_lap is now known as florian | 15:27 | |
*** LauRoman|Alt has quit IRC | 15:29 | |
*** FR-PC has joined #maemo | 15:46 | |
*** FReaper-PC has quit IRC | 15:50 | |
*** lxp1 has quit IRC | 16:18 | |
*** lxp has joined #maemo | 16:22 | |
*** emma has quit IRC | 16:32 | |
*** erlehmann has quit IRC | 16:47 | |
*** emma has joined #maemo | 16:48 | |
*** freemangordon has quit IRC | 16:54 | |
*** beford has joined #maemo | 17:01 | |
*** LauRoman|Alt has joined #maemo | 17:02 | |
*** FlameReaper-PC has joined #maemo | 17:09 | |
*** FR-PC has quit IRC | 17:12 | |
*** freemangordon has joined #maemo | 17:12 | |
*** louisdk has joined #maemo | 17:47 | |
*** beford has quit IRC | 18:02 | |
*** beford has joined #maemo | 18:04 | |
*** RzR has quit IRC | 18:28 | |
*** ZrZ has joined #maemo | 18:28 | |
*** ZrZ has quit IRC | 18:31 | |
*** RzR has joined #maemo | 18:32 | |
*** ZrZ has joined #maemo | 18:40 | |
*** RzR has quit IRC | 18:42 | |
*** at1as has joined #maemo | 18:44 | |
*** shentey has joined #maemo | 18:49 | |
*** bef0rd has joined #maemo | 18:53 | |
*** shentey has quit IRC | 18:54 | |
*** jonwil has quit IRC | 19:16 | |
*** _2_Natalie has joined #maemo | 19:22 | |
*** at1as has quit IRC | 19:25 | |
*** cyborg-o1e has joined #maemo | 19:28 | |
*** cyborg-one has quit IRC | 19:32 | |
*** LauRoman|Alt has quit IRC | 19:34 | |
*** at1as has joined #maemo | 19:50 | |
*** protem has joined #maemo | 19:58 | |
*** at1as has quit IRC | 20:06 | |
*** b-p has joined #maemo | 20:18 | |
*** xes has joined #maemo | 20:26 | |
*** fuz_ has quit IRC | 20:34 | |
*** BCMM has joined #maemo | 20:37 | |
*** b-p has quit IRC | 20:37 | |
*** M4rtinK has quit IRC | 20:42 | |
*** ced117 has quit IRC | 20:43 | |
*** FlameReaper-PC has quit IRC | 20:48 | |
*** nox- has joined #maemo | 20:57 | |
*** fuz_ has joined #maemo | 21:05 | |
FatPhil | many thanks for the profileclient hint - I now have an SMS tone changer desktop widget! | 21:59 |
*** M4rtinK has joined #maemo | 22:05 | |
*** bluelupo has quit IRC | 22:07 | |
*** ZogG_laptop has joined #maemo | 22:15 | |
*** ZogG_laptop has quit IRC | 22:15 | |
*** ZogG_laptop has joined #maemo | 22:15 | |
*** ZogG_laptop has quit IRC | 22:21 | |
*** ZogG_laptop has joined #maemo | 22:21 | |
*** ZogG_laptop has quit IRC | 22:21 | |
*** ZogG_laptop has joined #maemo | 22:21 | |
*** M4rtinK has quit IRC | 22:32 | |
*** beford has quit IRC | 22:41 | |
*** beford has joined #maemo | 22:41 | |
*** troulouliou_dev has joined #maemo | 22:51 | |
*** troulouliou_dev has quit IRC | 22:58 | |
*** LauRoman has quit IRC | 23:04 | |
*** shentey has joined #maemo | 23:20 | |
*** ZogG_laptop has quit IRC | 23:27 | |
*** M4rtinK has joined #maemo | 23:47 | |
*** Kabouik has quit IRC | 23:57 |
Generated by irclog2html.py 2.15.1 by Marius Gedminas - find it at mg.pov.lt!