**** BEGIN LOGGING AT Tue Feb 10 02:59:58 2015 Feb 10 06:00:41 is there a way to have n800 reconnect wifi automatically? Feb 10 06:14:01 nvm, found it Feb 10 06:15:54 KotCzarny show and tell? Feb 10 06:16:30 just forgot about 'connect automatically' slider in 'connection settings' Feb 10 06:17:00 i've set it to 'wlan', will test when my crappy router reboots sometime today Feb 10 08:50:47 stupid castrated maemo. eh. Feb 10 09:34:15 anyone here knows graham cobb? Feb 10 09:36:09 is he that guy on tv? Feb 10 09:36:29 nope, the guy that hacked libesd into maemo5 Feb 10 09:36:48 im pretty sure he's the guy on tv Feb 10 09:36:59 oh wait thats heather graham Feb 10 09:42:14 :] Feb 10 09:43:35 so, anyone been able to use esd on n900? Feb 10 09:47:25 does the esd daemon run ? Feb 10 09:47:53 well, i start esdcompat wrapper Feb 10 09:47:58 it creates socket Feb 10 09:48:03 hmm Feb 10 09:48:11 oh, right, that Feb 10 09:48:12 esdcat connects to it but says 'no device' or something Feb 10 09:51:28 strace says it fails with mmap Feb 10 09:51:33 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40020000 Feb 10 09:51:33 write(1, "WARNING: sound not available", 28WARNING: sound not available) = 28 Feb 10 09:52:21 or maybe not Feb 10 09:54:03 hmm Feb 10 09:54:08 now it works Feb 10 09:58:20 wooo Feb 10 10:45:56 KotCzarny: that is probably why I can't make your player to produce any sound on my alsa only system unning on N900 Feb 10 10:49:48 xorly: i got it working Feb 10 10:50:01 just finishing error handling and will upload new build Feb 10 10:52:50 ahm, your system has alsa and not pulseaudio? Feb 10 11:01:53 so many audio systems to compile in, alsa, esd, pulseaudio Feb 10 11:02:11 why couldnt they keep to oss or alsa only, Feb 10 11:03:17 xorly, if you have a bit of time, i might ask you to test one thing (putting: default_driver=esd into ~/.libao Feb 10 11:04:16 whoops, sory, I have alsa only Feb 10 11:05:12 you mean just# echo "default_driver=esd" >> ~/.libao ? Feb 10 11:05:12 but you have installed libesd, maybe it will 'just work' Feb 10 11:05:22 yeah Feb 10 11:05:54 another possibility will be putting oss instead of esd in that file Feb 10 11:06:06 assuming you have oss modules for alsa loaded/handy Feb 10 11:09:16 though for esd you might have to run esound daemon too, if it's debian or something Feb 10 11:12:17 KotCzarny: give me a second, I'll compile it Feb 10 11:12:36 k Feb 10 11:15:07 im still puzzled with bme replacement. CI:0. Last measured discharge 1450mah. Applet shows 1297mah. What happened to 200mah? Is it saved as some just to be on safe side stuff or what? Feb 10 11:16:00 mayb 1297 is the max in software Feb 10 11:16:24 measured discharge could differ from the one stored in battery Feb 10 11:16:54 * KotCzarny remembers discharging thinkpad batteries while battery showing 0mAh Feb 10 11:16:59 for 5-15min Feb 10 11:17:23 could be that you are discharging battery too deep Feb 10 11:26:26 the heck Feb 10 11:26:50 decoding thread takes 7% of cpu, pulseudio.. 91%... Feb 10 11:27:20 that's stupid.. Feb 10 11:28:42 haha Feb 10 11:31:29 ffs, whoever wrote the code forgot about select, i see bazilions of polls via strace Feb 10 11:34:45 there's prolly no difference regarding this Feb 10 11:35:09 you can react to things in select more intelligently Feb 10 11:35:53 it's roughly the same, what you really need is an event-driven design Feb 10 11:37:27 ok, I have esd installed and deamon is running, any idea how to test it? Feb 10 11:37:42 xorly: esdcat or esdplay Feb 10 11:37:52 with esdcat just use any short file Feb 10 11:38:03 ~30kB of noise will do Feb 10 11:38:11 esdplay uses wavs Feb 10 11:39:13 bencoh: you can sleep indifinetely with select and still get instant event response Feb 10 11:39:57 you mean, timeout=0 ? you can do that with poll() as well Feb 10 11:40:08 err, -1 Feb 10 11:40:22 hmm, a bit better, now decode thread eats 17% and pulseaudio eats 17% too Feb 10 11:40:26 (-1 in poll) Feb 10 11:44:32 poll is mostly same as select Feb 10 11:45:05 still, esdcompat goes nuts when i try to fork it with stdout closed Feb 10 11:46:23 k, fixed that Feb 10 11:46:55 that pulseaudio thing is fun killer Feb 10 11:47:19 eating almost 20% cpu just by playing regular audio Feb 10 12:57:56 oh, right, that 18% is at 250mhz clock Feb 10 12:58:01 so, not that bad Feb 10 15:17:43 personally I can't think of anything positive to say about pulseaudio Feb 10 15:18:46 never caused me anything but trouble Feb 10 15:20:04 ate my n900 battery a few times, the only device on which I have that abomination installed Feb 10 15:22:25 pulseaudio works fine for most other people however... and finally works fine on my PA-enabled desktops... Feb 10 15:40:11 generally when it come to N900 and audio I have more issues with the tracker than anything else. Feb 10 15:43:33 tracker .... bleh Feb 10 15:47:06 mm? Feb 10 15:48:17 i liked the idea of libao, one lib to rule them all Feb 10 15:50:55 pity it's not installed by default on n8x0 Feb 10 15:53:49 still, right now my app works with n8x0 and n900 Feb 10 15:54:23 what else shall it support? Feb 10 15:55:10 theoretically it can even work on 770, but i dont have one to test Feb 10 15:56:43 (not to mention it would require recompilation, but still, could work) Feb 10 15:59:51 KotCzarny: make a debian source package and upload to extras ! :) Feb 10 16:00:09 that would be problematic Feb 10 16:00:15 why ? Feb 10 16:00:17 idea was to be FREE of deps Feb 10 16:00:27 and ? Feb 10 16:00:28 ie. it links to several libs Feb 10 16:00:35 but i linked them statically Feb 10 16:00:42 bleh :) Feb 10 16:00:47 so it works without sucking hundreds of megs of deps Feb 10 16:00:48 that's not "free of deps" Feb 10 16:01:02 free in the sense you wont have to download anything else from repos Feb 10 16:01:04 almost Feb 10 16:01:18 imagine playing ANY audio file Feb 10 16:01:18 anyway, if it's kewl, you can still make a package out of it Feb 10 16:01:24 sure Feb 10 16:01:33 will do once it reaches beta quality Feb 10 16:01:35 people prolly have most of those libs already installed anyway Feb 10 16:01:36 :) Feb 10 16:01:40 ie. gets tested by other people Feb 10 16:01:51 bencoh: seen my libs list? Feb 10 16:02:01 hmm, yeah, ok, some of those :) Feb 10 16:02:34 http://pastebin.com/raw.php?i=kUCZZu7P Feb 10 16:02:50 and those are only media libs Feb 10 16:03:36 also, i've patched few of them to be able to use them Feb 10 16:03:54 most notably sidplay, ao and uade2 Feb 10 16:04:20 so i would need to include modified sources for them in pkg Feb 10 18:01:15 wth is osso-addressbook Feb 10 18:01:30 and why is it running without my consent Feb 10 18:04:56 is there any similar way to n800's '.nomedia' to mark dirs i do not want to be scanne automatically? Feb 10 18:11:28 tracker-cfg, woo Feb 10 18:11:56 osso-addressbook is Contacts, iirc Feb 10 18:11:59 it's prelaunched Feb 10 18:13:04 bencoh: why did it launch when tracker launched when i copied few zips ontoo device? Feb 10 18:14:19 wtf Feb 10 18:16:57 Is it normal that my n900 is so slow that I can't browse the web on it? Feb 10 18:19:41 melissa: can you launch xterm and run 'top' ? Feb 10 18:19:50 then see which app eats cpu Feb 10 18:20:25 but keep in mind sites are packed with flash/javascript nowadays, so disabling flash/ads would be preferred Feb 10 18:20:26 Melissa_: also, post the output of "free" command in xterm Feb 10 18:20:55 KotCzarny: unfortunately adblock on n900 does more harm than good :( Feb 10 18:21:02 unfortunately you cant "disable ads" on n900 Feb 10 18:21:10 heh :) Feb 10 18:21:19 freemangordon, bencoh: i've written my own c-proxy Feb 10 18:21:26 lightweight and cuts most ads Feb 10 18:21:30 oh Feb 10 18:21:44 those that punch through are usually domains in the pattern jkljlkajalk.com Feb 10 18:21:49 but i add them as i go Feb 10 18:22:16 KotCzarny: is it integrated with microb or is standalone application? Feb 10 18:22:42 freemangordon: its standalone proxy, ~200kb, pure c Feb 10 18:22:43 BTW, how hard is to rewrite adblock with something else, not js? Feb 10 18:23:10 handles http, https and ftp Feb 10 18:23:25 KotCzarny: please do share :) Feb 10 18:23:36 does it run on your server or on your n900 ? Feb 10 18:23:44 I mean, I can write very very fast code in c/++ for domain matching, but miss the info on the glue with gecko Feb 10 18:23:50 bencoh: pure c, you can compile it anywhere Feb 10 18:24:12 freemangordon: i use shell matching available in libc already Feb 10 18:24:20 KotCzarny: can't it get the domain info from adblock servers? Feb 10 18:24:34 you can write some converter i guee Feb 10 18:24:38 *guess Feb 10 18:24:43 freemangordon: I know mozilla has some builtin "policy" rules, not sure you can use that Feb 10 18:24:50 I think noscript uses it, somehow Feb 10 18:25:02 but you can at least see what they do there, maybe Feb 10 18:25:02 using adblock lists would require using perl regexp lib Feb 10 18:25:21 KotCzarny: yeah but where do you run it ? :) Feb 10 18:25:33 KotCzarny: well, I guess a hash table or somesuch, esp optimized for domain matching will beat the standard functions :) Feb 10 18:25:36 bencoh: i compiled it for windoze and linux Feb 10 18:25:44 when im at home i use the one on my router Feb 10 18:25:58 when im roaming i just launch one locally Feb 10 18:26:25 freemangordon: i tell you, ad*.com grabs many Feb 10 18:26:30 :)) Feb 10 18:26:40 ad*.com seems quite greedy Feb 10 18:26:54 you can add ~addidas.com in the list to make exclusions Feb 10 18:26:58 etc Feb 10 18:27:02 admin*.com would match ;) Feb 10 18:27:13 add ~admin*.com, done Feb 10 18:27:18 huhu Feb 10 18:27:45 and it doesnt need to be restarted as it watches the block file Feb 10 18:27:47 qt has regexp matching Feb 10 18:27:52 qt is heavy Feb 10 18:28:01 core is not that much Feb 10 18:28:07 qtcore that is Feb 10 18:28:10 im talking about something that i ran on my linksys (200mhz mips) Feb 10 18:28:12 libc has regex as well Feb 10 18:28:25 I am talking about n900 :) Feb 10 18:28:37 n900 need cpu power for rendering sites ;) Feb 10 18:28:45 we can use REG_EXTENDED Feb 10 18:29:18 yep, but matchin how much? 10000 sites? should be not that heavy Feb 10 18:29:48 if you need to compile 10000 regexps? Feb 10 18:30:11 and you have to keep them in memory or compile again Feb 10 18:30:12 well, I bet this can be optimized Feb 10 18:30:44 i use fnmatch() from libc Feb 10 18:30:46 just checked Feb 10 18:31:08 I am sure a hash table will do it in 15 iters, regexp matching included Feb 10 18:31:37 if you want regexp junk blocker you can see privoxy Feb 10 18:32:14 see, I don;t care wether it will do regexp or whatever, all I need is a working adblock on n900 :) Feb 10 18:32:19 *whether Feb 10 18:32:50 maybe I shoudl look at adblock and see what it does and if it can be optimized Feb 10 18:33:07 [root@Nokia-N900:/home/src/oscp]# apt-cache search privoxy Feb 10 18:33:08 privoxy - Privacy enhancing HTTP Proxy Feb 10 18:33:17 someone already put it in repos Feb 10 18:33:34 even moving the regexp matching out of the js to even standard c implementation should make a difference Feb 10 18:34:09 but having proxy means you cant match url part anymore, only domain Feb 10 18:34:13 but usually its enough Feb 10 18:36:29 cute: https://vcs.maemo.org/svn/browser/mozilla/trunk/extensions/adblockplus-webaddon/develop/%7Bd10d0bf8-f5b5-c8b4-a8b2-2b9879e08c5d%7D/chrome/adblockplus/content/filterClasses.js Feb 10 18:47:26 freemangordon i use polipo Feb 10 18:53:08 hrm, zziplib crashes with gcc-4.6 on n900 Feb 10 18:53:10 o.o Feb 10 19:01:15 erlehmann: with or without disk caching ? Feb 10 19:01:41 isnt disk caching expensive on nit? Feb 10 19:02:55 KotCzarny: that's what I experimented, but others might have a different experience Feb 10 19:03:26 unless you have random 4k iops on your sd card >100 Feb 10 19:03:56 usually its in 0.1-2.0 range Feb 10 19:04:25 or use some smart algo to change it into circularbuffer or something Feb 10 19:07:12 bencoh without Feb 10 19:24:28 i use custom hosts file for adblocking Feb 10 19:24:38 works well enough for my taste Feb 10 19:24:45 if it works, ok Feb 10 19:24:58 i like ad*.com fnmatch Feb 10 19:25:20 and also css block Feb 10 19:28:51 css block ? Feb 10 19:29:03 block by media size Feb 10 19:29:05 probably Feb 10 19:30:54 freemangordon: http://talk.maemo.org/showthread.php?t=48544 Feb 10 19:33:25 erlehmann: hmm does polipo has ssl support in maemo ? Feb 10 19:33:39 (doesnt look like it does, to me) Feb 10 19:34:55 hrm Feb 10 19:35:43 codeblock works when compiled alone, runs when compiled in app, yet i get segv in lib Feb 10 19:35:44 (at least judging at ldd) Feb 10 19:36:04 bencoh: you dont have to link to openssl to be ablo to connect Feb 10 19:36:11 and pass data to client Feb 10 19:36:27 but then you can only filter by domain name Feb 10 19:36:27 hmm right it might passthrough Feb 10 19:36:48 Pali: in kernel 3.19 is module called nokia_h4p isn't this module supposed to work with N900 BT hw? Feb 10 19:37:23 nokia_h4p or hci_h4p is bluetooth module for n900 Feb 10 19:39:00 i hate obscure bugs Feb 10 19:39:41 anyone has an idea how to debug something that fails deeper in libs? Feb 10 19:40:11 Pali: it is not even complaining about missing fw and there is no bt adapter avilable after loading Feb 10 19:40:33 ask pavelm, he is working on bluetooth driver Feb 10 19:41:21 KotCzarny: coredump and gdb ? Feb 10 19:42:14 http://pastebin.com/raw.php?i=qqKdTiaY Feb 10 19:42:28 extract_file_zip is func in my program Feb 10 19:42:35 rest is libs Feb 10 19:42:52 zzip/zlib/libc Feb 10 19:43:12 build with -g (without -O2, or force -O0), and check your pointers :) Feb 10 19:43:28 might as well do that Feb 10 19:43:40 as i have no other ideas (apart from digging in zzlib) Feb 10 19:44:50 im already using -O2 -g apparently Feb 10 19:44:55 lets check O0 Feb 10 19:45:17 bencoh: css block is in extras i think Feb 10 19:45:46 Vajb: http://maemo.org/packages/view/adflashblock-css/ ? Feb 10 19:45:46 it just removes those empty banners on browser Feb 10 19:46:35 seems like it Feb 10 19:47:10 I forgot how setting a proxy with microb can be a pain Feb 10 19:47:16 :> Feb 10 19:47:25 this *shit* insists on overriding my settings Feb 10 19:47:27 why not fennec? Feb 10 19:47:29 even in user.js Feb 10 19:47:33 fennec is freaking slow Feb 10 19:47:58 amazingly with -O0 it didnt crash Feb 10 19:48:01 o.O Feb 10 19:48:19 huhu Feb 10 19:48:24 maybe i should rollback this gcc 4.6 back to 4.2 Feb 10 19:53:34 fennec is unusable slow to start Feb 10 19:53:48 opera is soso Feb 10 19:54:08 there was also 'tear' browser Feb 10 19:54:38 only problem with opera is that it shows only thumbnails of pics Feb 10 19:54:49 hmm didn't try tear Feb 10 19:55:02 wasnt opera browser just a 'proxy' to their service? Feb 10 19:55:03 tried links but it crashes too much Feb 10 19:55:15 no idea Feb 10 19:55:26 could be mobile version for dumb phones tho Feb 10 21:08:23 Three levels of "boost" in opera, more or less Feb 10 21:08:49 The "mini" version for not-smartphones, rendering in opera servers Feb 10 21:09:34 Mobile has "turbo" mode, where opera servers downloaded a webpage, compressed it into a single file, and sent to user's phone, where opera unpacked and rendered it Feb 10 21:09:50 and without turbo, it fetched the weboage from phone directly Feb 10 21:13:56 opera mobile on N900 can use a proxy? e.g polipo? Feb 10 21:48:51 Vajb: iirc in opera you can long press on images and get them to open in full Feb 10 22:36:51 Sicelo: yes, but it still is low ress image. 177x133 Feb 10 22:40:08 im speaking about images posted in facebook Feb 10 22:53:39 facebook does so much messing itself Feb 10 23:14:42 ~beasttweaks Feb 10 23:14:43 [beasttweaks] http://wiki.maemo.org/User:Sixwheeledbeast/Scripts Feb 10 23:19:00 grr, killall trackerd Feb 10 23:20:25 oh well, hopefully tracker will be finished by the morning... Feb 10 23:21:04 if the watchdog doesn't kick in again **** ENDING LOGGING AT Wed Feb 11 02:59:58 2015