**** BEGIN LOGGING AT Mon Nov 07 03:00:00 2016 Nov 07 07:39:25 jonwil: libdevlock should be ready for extensive testing, initial tests(lock, unlock, lock code change, autolock timeout change) are passing Nov 07 07:39:36 ok, great Nov 07 09:37:49 hi Nov 07 09:38:32 moin Nov 07 19:32:35 Package coreutils is a virtual package provided by: Nov 07 19:32:36 busybox 3:1.10.2.legal-1osso31+0cssu0 Nov 07 19:32:38 :( Nov 07 19:32:55 try coreutils-gnu Nov 07 19:33:05 \or gnu-coreutils, or something Nov 07 19:33:39 :* Nov 07 19:33:55 in fact i'm trying to find where does n900 store its sms database Nov 07 19:34:07 in home Nov 07 19:34:24 el-v1.db Nov 07 19:39:35 :* Nov 07 19:58:52 how do you do somehting like N = N+1 in bash? Nov 07 19:59:09 N = $[ $N + 1 ] Nov 07 19:59:10 where N is a variable holding a number Nov 07 19:59:14 spaces importantes Nov 07 19:59:15 ah, thatnks Nov 07 19:59:23 or: N = $(( $N + 1 )) Nov 07 19:59:28 diff. syntax a bit Nov 07 19:59:34 both do the same Nov 07 19:59:38 makes sense though. awesome Nov 07 20:00:14 i think there was also a way of: set -i N; incr N (or $N), but i think it was shell dependent Nov 07 20:04:29 the 2nd one doesn't seem to work :-/ Nov 07 20:04:31 trying the 1st Nov 07 20:06:52 you can also use: let N++ Nov 07 20:08:26 that one works perfectly. thanks! Nov 07 20:08:28 for a quickie do: man bash, press /, then enter: post-incr, then press enter Nov 07 20:10:08 here's what i'm doing with it, http://paste.debian.net/893402/ Nov 07 20:10:54 <_maniac_> I keep http://wiki.bash-hackers.org/ open when I forget shell syntax (i.e. every time I need to write something larger than 10 lines) Nov 07 20:11:39 i tend to use /usr/bin/php for my scripting language of choice for anything more complicated and requiring quick mash-up Nov 07 20:11:44 maybe there's better way .. but i have named pictures, and their resized duplicates, numbeedr 0.jpg, etc. So I want to rename the duplicates to have the original name, deleting the original fles in the process Nov 07 20:12:03 sicelo: using bash is the right way Nov 07 20:12:29 <_maniac_> the only thing I would run php for is quick base64 decode Nov 07 20:13:36 html scraping/parsing is what i do usually Nov 07 20:13:52 perl is a bit too hardcore in its syntax Nov 07 20:14:01 and bash too simple Nov 07 20:14:13 <_maniac_> I used ruby with selenium for my last scraping project Nov 07 20:14:33 i like php's lazy variables Nov 07 20:14:53 string, number, array, whatever you like it to be at the moment ;) Nov 07 20:15:13 cost is speed of course, but those mashups are usually one-off Nov 07 20:15:54 and php-cli binary is small enough to be included wihtout any additional modules Nov 07 20:17:25 another php bonus is c-like syntax Nov 07 20:18:18 <_maniac_> I spent 6 years (or so) writing php. I know it has some good parts. Nov 07 20:19:19 good parts are simplicity, bad parts is chaos Nov 07 20:19:56 python (for scraping)? Nov 07 20:20:26 i like to write messy code Nov 07 20:20:48 ie. to have as much code as possible without losing readability on screen at once Nov 07 20:21:20 <_maniac_> you might want to use perl after all ;) Nov 07 20:24:14 nah, unless i get some good lessons Nov 07 20:24:14 and readability of perl is miniscule ;) Nov 07 20:24:14 with c-like syntax you can at least untangle it easily Nov 07 20:38:21 hi Nov 07 20:38:44 uhllo Nov 07 22:38:52 * Oksana whistles.... http://bokomoko.de/~rd/maemo/unstable/ has navit_0.5.0+dfsg.1-1maemo1~6012_armel.deb while http://maemo.org/packages/view/navit/ has navit_0.2.0~svn2916+dfsg.1-1maemo1_armel.deb Nov 08 01:03:25 * Oksana wonders where navit_0.5.0+dfsg.1-1maemo1~6534_armel.deb comes from Nov 08 01:08:02 Extras-devel, apparently? http://maemo.org/packages/view/navit/ is very misleading **** ENDING LOGGING AT Tue Nov 08 03:00:00 2016