IRC log of #maemo-devel for Saturday, 2010-07-03

*** BluesLee has quit IRC00:05
*** fiferboy has quit IRC00:10
*** Venemo has joined #maemo-devel00:17
*** SpeedEvil has quit IRC00:34
*** SpeedEvil has joined #maemo-devel00:49
*** csaavedra has quit IRC01:23
*** SpeedEvil has quit IRC01:34
*** SpeedEvil has joined #maemo-devel01:36
*** edisson has quit IRC01:38
*** lbt has quit IRC01:38
*** einval has quit IRC01:38
*** polac has quit IRC01:38
*** ruskie has quit IRC01:38
*** Milhouse has quit IRC01:38
*** th0br0 has quit IRC01:38
*** juise- has quit IRC01:38
*** lupine_85 has quit IRC01:38
*** lupine_85 has joined #maemo-devel01:41
*** juise- has joined #maemo-devel01:41
*** th0br0 has joined #maemo-devel01:41
*** Milhouse has joined #maemo-devel01:41
*** polac has joined #maemo-devel01:41
*** einval has joined #maemo-devel01:41
*** lbt has joined #maemo-devel01:41
*** _0x471 has quit IRC01:41
*** ruskie has joined #maemo-devel01:44
*** nims_ has joined #maemo-devel02:02
nims_help02:02
nims_er, ignore that02:02
*** Lullen has joined #maemo-devel02:11
*** rcampbell_ has quit IRC02:47
*** Venemo has left #maemo-devel03:01
*** rcampbell_ has joined #maemo-devel03:13
*** azakai has quit IRC04:09
*** rcampbell_ has quit IRC04:18
*** shinkamui has joined #maemo-devel04:28
*** kamui__ has quit IRC04:33
*** nims_ has quit IRC04:39
*** swc|666 has quit IRC06:10
*** Acedip has joined #maemo-devel07:09
*** DocScrutinizer has quit IRC07:32
*** DocScrutinizer has joined #maemo-devel07:32
*** _0x471 has joined #maemo-devel09:44
*** _0x47 has quit IRC09:53
*** csaavedra has joined #maemo-devel10:05
*** Acedip has quit IRC10:22
*** BluesLee has joined #maemo-devel10:42
*** BluesLee has quit IRC11:15
*** go1dfish has quit IRC11:28
*** zgoldberg has quit IRC11:28
*** go1dfish has joined #maemo-devel11:28
*** zgoldberg has joined #maemo-devel11:28
*** Venemo has joined #maemo-devel11:56
*** Venemo has quit IRC12:32
*** Venemo has joined #maemo-devel12:34
*** lardman has joined #maemo-devel12:48
*** BluesLee has joined #maemo-devel12:49
*** lardman is now known as lardman|afk13:06
*** nims_ has joined #maemo-devel13:49
*** BluesLee has quit IRC13:55
*** pillar has quit IRC14:16
*** pillar has joined #maemo-devel14:21
*** kW_ has joined #maemo-devel14:47
*** kW has quit IRC14:50
*** Venemo has left #maemo-devel15:10
LullenAnyone hot any idea how to debug a maemo program without a phone?15:27
lcukLullen, in scratchbox you can build with x86 and run inside xephyr?15:32
lcukor arm version also15:32
lcukand can debug from there?15:32
lcukor if you wrote using the nokia qt sdk theres an emulator/simulator there15:32
Lullenthe simulator do not like QMaemo5ValueButton and dbus etc15:33
*** nims_ has quit IRC15:37
*** _0x47 has joined #maemo-devel15:38
*** nims_ has joined #maemo-devel15:44
*** kW_ has quit IRC16:18
*** kW_ has joined #maemo-devel16:21
*** kW_ has quit IRC16:26
*** kamui__ has joined #maemo-devel16:28
*** kW has joined #maemo-devel16:31
*** shinkamui has quit IRC16:33
*** kW has quit IRC16:36
*** lardman|afk is now known as lardman16:47
*** kW_ has joined #maemo-devel16:58
*** kW_ has quit IRC17:06
lardmanRight, anyone happen to know whether I need to connect to the session or system (DBus) bus to get hildon-mime functions to work>?17:16
*** SpeedEvil has quit IRC17:16
*** SpeedEvil has joined #maemo-devel17:17
*** kW_ has joined #maemo-devel17:23
*** kW_ has quit IRC17:27
lardmanno-one knows about QDBus? :(17:38
lardmanAnyone know how I check if mBarcode is correctly registered with DBus?18:11
lardmanhmm, dbus-monitor18:13
lardmanand it appears we are correctly registered18:13
lardmanso why does hildonmime not want to work?18:13
*** Mek is now known as Mekzahl18:17
*** nims_ has quit IRC18:28
*** nims_ has joined #maemo-devel18:32
*** Mekzahl is now known as Mek18:37
*** _Lucretia_ has quit IRC18:43
*** _Lucretia_ has joined #maemo-devel18:44
*** Lullen has quit IRC19:21
lcuklardman, eep19:24
lardmanhey lcuk20:12
lcukwhats hildonmime meant to be doing that its not20:13
lardmanright, onto other questions - I'd like external apps to register themselves as wanting to receive DBus messages, I suppose I could get them to call a DBus method on mBarcode when they install/run, but this will start mBarcode20:13
lardmanare there any other centralised settings services I could use and have mBarcode read when it starts up?20:14
lardmanGConf I suppose?20:14
lcuklardman, i dunno, i havent actually used dbus20:15
* lcuk is not the font of all knowledge :P but i bet someone over there knows >>>20:16
lardmanyeah, don't worry, wasn't aimed directly at you lcuk! :)20:16
lcukgood20:16
lcuk:D20:16
lcuki broke liqcam20:16
lardmanBasically mBarcode now broadcasts a message over DBus saying "I've found a barcode, it's this type and this is the content"20:17
lardmanso apps can hook into that and use it20:17
lardmanbut some apps might want to be woken/started-up if a certain type of barcode is detected, so I was thinking they should register their interest (barcode type)20:18
lardmanand then mBarcode will consult the registration list every time a barcode is scanned, and send out a specific DBus message to each of the registered apps20:18
lcukhttp://liqbase.net/liq.20100703_181352.cameraui.scr.png20:18
lardmanthese messages will start said apps if necessary20:18
lcukcool!20:18
lardmanthe question is how to do the registration20:19
lcukthe registration isnt done by you though is it20:20
lcukits opening the right app20:20
lcukahhh i see20:20
lardmanwell the apps in question will need to do something, either register everytime they start up, or when installed20:20
lcuknot just opening one type of app, its a group20:20
lardmaneither way, probably best that mBarcode itself isn't started just to handle the registration20:21
lcukwould the app in question always want to be brought up whilst you are scanning?20:21
lcukor would you want it to come up at the end20:21
lcukafter you have built up your tillroll20:22
lcukwhen the user clicks on a barcode, open the app20:22
lardmanit would be presented on the plugins list like the built-in plugins, then foregrounded/started by pressing the button20:22
lcukis another stable opportunity20:22
lcukthink, you will potentially want bulk input20:22
lcukrunning over your music albums20:23
lcukor books20:23
lardmanmaybe, maybe not though20:23
lcukyou dont want to dismiss a book thing20:23
lcukonce per barcode20:23
lcuk(in other situations, you might)20:23
lardmanquite, but filling the db can be done in a separate way20:23
lcukyup20:23
lardmanI was wondering whether writing the itemdb as a Python standalone app would be better, then having it listen for the barcode scanned messages to fill the db20:24
lardmanand when running in anger, have it register to be told about EAN/ISBN barcodes and started as an external plugin20:24
lcukwhat if the user wants to scan his historical photographs for barcodes or identification features20:25
lardmanas in all at once? Or a single item?20:25
lcuki have over 1000 photos on my n90020:26
lardmanah, you mean the ones that have already been recorded?20:26
lcukive taken photographs of quite a few barcodes!20:26
lardmansaved even20:26
lcukyeah20:26
lcukcan mbarcode run over all of them20:26
lcukand give me a list?20:26
lcukof everything it found20:26
lardmanwell you will soon be able to open them one-by-one20:26
lcuktheres codes on all my plane tickets20:26
lardmanbut no, not atm, and that's also not in the plan - what is the use-case?20:26
lcukand all my train tickets20:26
lcukand on signposts and albums ive liked20:27
lardmanof course, but usually you'd scan those as you see them, not all at once20:27
lcukjust seeing what ive seen20:27
lcukwell - ive got the data20:27
lcukit just needs processing20:27
lardmanlibzbar + libdmtx20:27
lcuki can reassemble things based on the data ive stored :) so getting on a plane at this date etc20:27
lardmannot what mBarcode is designed for though20:27
lcukwell i was in a GTD mood20:28
lcukstore the data and process another time :D20:28
lcukits been long enough now lol - ive probably got some trips i havent claimed expenses for !20:28
lardmanit would be trivial to write a program which scans a dir for photos, opens each one into e.g. a QImage, scans with libzbar + libdmtx and writes the result to a file20:28
lcukcool20:29
lardmannot so trivial trying to get lists of photographs to be passed down the gst pipeline in mBarcode20:29
lcukand those libraries are now on the machine20:29
lcukok reasonable enough dude20:29
lcukbut i can give you yuv data direct20:29
lardmanI can give you some code to scan them if you want?20:29
lardmanif you want to hook it into liqbase for example?20:29
lardmanI can't see that specific use-case being useful for many people20:30
lardmanbut if it turns out to be, then I'm happy to take a look at it20:30
lcukcool!20:30
lcukso if i make a tiny liqbase project with it ill put it on github which has entry for detection20:31
lardmanI'd quite like to be able to hook into the camera, so you have an extra button to "Scan for barcodes"20:32
lcukand ill talk to you more from there, the image selector has code, ill finish making it multiselect20:32
lardmanwhich would then broadcast a DBus message20:32
lcuklardman, :) ive always wanted a barcode button20:32
lardmans/camera/built-in camera app20:32
* lcuk nods20:32
lardmanlcuk: bend some arms in and amongst the Nokians ;)20:32
lardmanwould be good to be able to add random plugins to the camera app in fact20:33
lcukyeah facial recognition is something im keen on20:33
lcukas well as multibarcode20:33
lcuki know its feasible20:33
lardmanthen again, might be better to re-write it ourselves, in which case we need to unhook the shutter release and shutter cover from the built-in app20:33
lcuki just leave my shutter open nowadays20:34
lardmanmultibarcode is probably handled by zbar and dmtx already20:34
lardmanin fact I'm pretty sure it is20:34
lcukliqbase has a camera button on the file select dialog20:34
lcukthat screenshot i shown is from there20:34
lcukthe file select you saw a couple of days ago that is20:34
lcukthe very very fast one20:34
lardmanthere was some talk a while back about writing a replacement camera app wasn't there?20:34
lcuk;)20:34
lardmanand being able to insert custom filters/etc in the pipeline, did that die?20:34
lardmanlcuk: unless it's the app that is started when you open the shutter cover/press the shutter release it's still a pita20:35
lardmanI find that now with mBarcode20:35
lcukyeah20:35
lcukbut as a halfway house i just leave it open during testing20:36
lardmanyeah same here20:36
lardmanbut it being part of the official/normal camera app would be better imho20:36
lardmanor at least having some way of selecting which is started up20:36
lardmanout for food, bbl20:38
lcukk cya later \o20:38
*** lardman is now known as lardman|out20:38
*** nims_ has quit IRC20:53
*** BluesLee has joined #maemo-devel21:12
*** _Lucretia__ has joined #maemo-devel21:15
*** _Lucretia_ has quit IRC21:15
*** BluesLee has quit IRC21:19
*** _Lucretia__ is now known as _Lucretia_21:23
*** _Lucretia_ has quit IRC21:24
*** _Lucretia_ has joined #maemo-devel21:24
SpeedEvilYou can replace the normal app21:29
SpeedEvilIt's a mess21:30
SpeedEvilThe bit that polls the camera shutter can be poked in such a way to change the keyname it sends over dbus21:30
SpeedEvilThis of course means tha tthe camera doesn't start.21:30
*** _0x471 has quit IRC21:37
lcukheh, lardman|out even though you are out, heres the multiselect image grid22:38
lcukhttp://github.com/lcuk/libliqbase/issues/#issue/1922:39
*** pillar_ has quit IRC22:42
*** scoopr has quit IRC22:42
*** pillar_ has joined #maemo-devel22:44
*** scoopr has joined #maemo-devel22:44
*** Acedip has joined #maemo-devel23:40

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