IRC log of #maemo-devel for Sunday, 2010-03-28

mschr_where the h*** did they put the scratchbox qemu rootstrap??00:34
*** tbf has quit IRC00:50
*** Aranel has joined #maemo-devel00:53
*** njsf_ has quit IRC01:08
*** Pvt_Ryan has joined #maemo-devel01:09
*** Pvt_Ryan has quit IRC01:31
*** lardman has quit IRC01:50
*** lbt has quit IRC01:59
*** lbt has joined #maemo-devel01:59
*** mkfnx has joined #maemo-devel02:19
*** Tuxprobe has quit IRC02:34
*** mschr_ has quit IRC02:34
*** mschr__ has quit IRC02:34
*** mkfnx has left #maemo-devel02:41
*** Butcream has joined #maemo-devel02:54
*** njsf_ has joined #maemo-devel04:11
*** DocScrutinizer51 has quit IRC04:30
*** rsalveti__ has joined #maemo-devel04:34
*** rsalveti__ has quit IRC04:34
*** Docscrutemp has joined #maemo-devel04:34
*** rsalveti has joined #maemo-devel04:34
*** Docscrutemp is now known as DocScrutinizer5104:35
*** rsalveti_ has quit IRC04:37
*** njsf_1 has joined #maemo-devel04:39
*** njsf_ has quit IRC04:39
*** njsf_1 is now known as njsf_04:39
*** njsf_ has joined #maemo-devel04:39
*** Butcream has left #maemo-devel04:42
*** Aranel has quit IRC04:42
*** Aranel has joined #maemo-devel04:43
*** Aranel has joined #maemo-devel04:43
*** mkfnx has joined #maemo-devel05:18
*** njsf_ has quit IRC05:27
*** njsf_1 has joined #maemo-devel05:27
*** njsf_1 is now known as njsf_05:27
*** njsf_ has joined #maemo-devel05:27
*** shinkamui has joined #maemo-devel06:03
*** kamui__ has quit IRC06:07
*** SukhE_ has joined #maemo-devel06:14
*** SukhE_ has joined #maemo-devel06:14
*** SukhE has quit IRC06:15
*** eggonlea has quit IRC06:16
*** eggonlea has joined #maemo-devel06:29
*** njsf_ has quit IRC06:32
*** DocScrutinizer51 has quit IRC07:30
*** Docscrutemp has joined #maemo-devel07:30
*** Docscrutemp is now known as DocScrutinizer5107:30
*** DocScrutinizer has quit IRC07:30
*** DocScrutinizer has joined #maemo-devel07:31
*** Acedip has joined #maemo-devel08:26
*** SukhE_ is now known as SukhE08:44
*** boogeyman has joined #maemo-devel09:11
*** mkfnx has left #maemo-devel09:24
*** Acedip has quit IRC10:26
*** onen|openBmap has joined #maemo-devel11:30
*** lardman has joined #maemo-devel13:08
*** achipa has joined #maemo-devel13:13
*** tbf has joined #maemo-devel13:46
*** jwittema has joined #maemo-devel13:52
*** VDVsx has joined #maemo-devel14:08
*** mschr__ has joined #maemo-devel14:34
*** mschr_ has joined #maemo-devel14:34
*** Tuxprobe has joined #maemo-devel14:35
*** VDVsx has quit IRC14:37
*** charno has joined #maemo-devel15:08
charnomorning15:09
charnosomeone wants to help a pygtk beginner with python experience designing an UI?15:10
charnoi have problems with different widgets (VScroll, Treeview) and i don't know if i have done things right until now...15:11
*** Aranel has quit IRC15:18
*** jwittema has quit IRC15:19
lardmancharno: pastebin some code and I'm sure someone will help15:26
charnoladman, does maemo provide some webservice where i can paste it? or should i directly paste into the channel?15:27
lardman~pastebin15:27
lardmanhmm, no infobot15:27
lardmantry maemo.pastebin.com/org15:27
lardmansomething like that15:27
lardmannever directly into the channel though15:27
charnook, found it, thx15:29
SukhEHi. I wanted to ask a question about the phone control in Maemo. Since rtcomm isn't open source, what would be the best way to go about controlling the phone stuff? I intend to make a call filter for Maemo for the Summer of Code. I noticed that the only way would be using dbus. Any suggestions?15:29
charnoi wouldn'd paste directly into the channel 'cause of the mess15:29
charnohttp://maemo.pastebin.com/zDXWc2Ve <-- my source until now15:29
lardmanSukhE: rtcomm is open source afaik, and is not really what you need anyway15:30
SukhElardman: http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/DBus/DBus_in_Freemantle <- would this suffice?15:30
lardmanSukhE: DocScrutinizer was talking about this yesterday too15:30
lardmanSukhE: I don't know, but I had the feeling that a C/C++ api to hook into "phone" events would be better; but that will need to be sold to/justified to Nokia15:31
SukhEUhm, I intend to make a call filter, used for blacklisting calls and stuff and an answering machine, as a Google Summer of Code project.15:31
SukhElardman: Any documentation you can point me upto? Also, is this channel logged so that I can look up what DocScrutinizer said.15:32
lardmancharno: so other than the liberal use of expletives, what's wrong with the code?15:32
lardmanSukhE: we were just dicussing idly, ask him and see what he thinks; not sure whether it's logged, sorry15:32
SukhEOk, as a Maemo user, would you like to see this feature implemented?15:33
SukhEJust asking, (feedback sake)15:33
lardmanis of no interest to me, but I think it would be nice to have an api that allows people to do stuff like this15:34
SukhEOk. Thanks for the help. I wait here, in case DocScrutinizer shows up. :)15:34
charnolardman, the gtkTreeView isn't shown at all (i assume it should?), and the vscale is shown, but it does not work... it has no "bar", just the thumb and i can't scroll up/down15:34
charnoSukhE: http://mg.pov.lt/maemo-devel-irclog/15:34
lardmanwell he's here, ping him and see when he replies15:34
DocScrutinizersomeone summoned me?15:34
SukhEHehe. Hi DocScrutinizer.15:35
SukhEI was interested in doing a SoC project to implement a call filter/ answering machine for Maemo. I already have a mentor for this, but was interested in knowing what would be the best way to approach this issue.15:35
lardmancharno: hmm, dunno, and I have to go too, see if anyone else has any bright ideas15:36
charnook15:36
lardmanbbl15:36
charnohave a nice day15:36
SukhEIn the mailing list, some developers had said that rtcomm won't work since it is not open source .15:36
*** lardman is now known as lardman|afk15:36
DocScrutinizerSukhE: almost impossible to implement with current state of closed-source Nokia dialer app15:36
SukhEHow about I use the phone control methods / dbus? Should that work?15:37
DocScrutinizerSukhE: simple scenario: inbound call, the dialer window pops up, and there's no way to handle the call with your tel-answering-machine15:37
DocScrutinizeryou can - via dbus - accept the call, reject the call, dunno what else. But inevitably the usual dialer notification window pops up the very moment a call comes in15:38
DocScrutinizerthat's as far as I understand things15:39
SukhEHm. So even if I implement it, the window will pop up once before the call gets rejected? True?15:39
*** spliffy_ has quit IRC15:40
DocScrutinizeraiui yes15:40
SukhEI guess that can't hurt.15:41
DocScrutinizeralso you can't get a hold on the whole ringtone-playback, it's done inside the dialer app aiui15:42
*** spliffy has joined #maemo-devel15:42
SukhEOh uh. That is bad. If the ringtone rings, it defeats the whole purpose of having this in the first place.15:43
SukhE*this app.15:43
DocScrutinizerfor answering machine you also need profund knowledge on the whole audio system, which seems is poorly or not at all documented15:43
DocScrutinizerfor routing the GSM playback and mic to your app rather than headset earpiece and mic15:44
SukhEOh but even if it rings for a second, the call will be rejected after that so I guess the ringing part is not a problem.15:44
SukhEHm, I think this won't work out well.15:45
DocScrutinizerfor rejecting it's not. I think there's even a working app for that15:45
DocScrutinizercontact specific ringtones, and even TAM are another class of project15:45
DocScrutinizerbasically community would want a decent set of dbus events and methods, or callbacks, or other kind of hooks into the dialer app15:47
DocScrutinizeror a OSS dialer, to fix the shit in public15:47
SukhEI agree. Otherwise it seems like a handicap.15:48
DocScrutinizeryeah :-S15:49
DocScrutinizer:-/ :-(15:49
SukhEDocScrutinizer: Thanks for the time and the info.15:52
DocScrutinizeryw. thanks for your interest in my ideas and thoughts15:52
charnoI posted a new version of my project at http://maemo.pastebin.com/9JnzcRPY16:01
charnoi do now set the size of my scales using set_size_request16:01
charnobut i think this is an ugly way, cause if the screen size changes (for example portrait mode), the controls will stay at the same size16:02
charnoisn't there a way i could make the scale using the space which is left?16:02
corecode_how can i register for an event, say, internet connectivity available?16:13
corecode_is that some dbus signal?16:13
*** nthx has joined #maemo-devel16:25
*** Tuxprobe has quit IRC17:03
*** mschr_ has quit IRC17:03
*** mschr__ has quit IRC17:03
*** VDVsx has joined #maemo-devel17:04
* DocScrutinizer points to dbus-scripts pkg17:17
DocScrutinizercorecode_: look at dbus-scripts-settings app17:17
corecode_yes, yes, i saw that17:19
corecode_but since i'm running a python daemon already17:19
corecode_i find it a bit frustrating that the docs are severely lacking17:19
DocScrutinizerI find it puzzling you run a proprietary daemon, for no apparent reason17:20
corecode_because a sleep 10*60 is so much easier than trying to find out how i can run applications regularly, installing millions of dependencies, etc.17:21
corecode_plus i'd expect it to use less energy17:21
DocScrutinizernow that's what I call an odd reasoning17:21
corecode_and i can keep the state in memory, and don't have to write it to disk17:21
DocScrutinizerwait, what's your definition of 'daemon' fist instance?17:23
*** Tuxprobe has joined #maemo-devel17:23
DocScrutinizera userland app with hidden window isn't matching my def of daemon at least17:23
*** psybermonkey has joined #maemo-devel17:24
DocScrutinizerand to me it seems you can get along perfectly with all the issues you mentioned, with such userland process17:24
DocScrutinizercorecode_: and yes, of course you can issue a usleep() in your app, and it should idle happily for arbitrary times while using no cpu cycles. And there's a dbus signal obviously to catch connectivity changes. You might want to find out details how to catch it, in dbus-scripts sourcecode17:31
DocScrutinizeror by educated guess based on mdbus2 montoring17:32
* DocScrutinizer curses lack of dbus docs for maemo specific signals and methods, and feels with corecode_17:33
*** mschr__ has joined #maemo-devel17:41
*** mschr_ has joined #maemo-devel17:41
corecode_thanks17:45
corecode_oh what's a daemon then17:46
corecode_i thought in maemo speak that's just a background process17:46
*** sleipnir has joined #maemo-devel17:48
*** kamui__ has joined #maemo-devel18:03
*** onen|openBmap has quit IRC18:05
*** shinkamui has quit IRC18:07
*** VDVsx has quit IRC18:28
*** psybermonkey has quit IRC18:31
*** lardman|afk is now known as lardman18:39
lardmanto fix the dbus docs we need an enhancement bug request I guess18:41
*** t-tan has joined #maemo-devel18:50
*** t-tan has quit IRC18:50
*** sleipnir has left #maemo-devel18:55
*** einval has joined #maemo-devel19:00
*** spliffy has quit IRC19:02
*** JakubS_ has joined #maemo-devel19:22
*** kamui__ has quit IRC19:41
*** Milhouse has quit IRC19:41
*** kulve has quit IRC19:41
*** wnd has quit IRC19:41
*** JLP has quit IRC19:41
*** njsf has quit IRC19:41
*** _Lucretia__ has quit IRC19:41
*** fluemo has quit IRC19:41
*** zgold has quit IRC19:41
*** timoph has quit IRC19:41
*** Hukka has quit IRC19:41
*** dotCOMmie has quit IRC19:41
*** fragment has quit IRC19:41
*** JakubS_ has quit IRC19:41
*** frals has quit IRC19:41
*** blub has quit IRC19:41
*** Wolfie has quit IRC19:41
*** th0br0 has quit IRC19:41
*** dazo_afk has quit IRC19:41
*** T7g has quit IRC19:41
*** lcuk has quit IRC19:41
*** cpasjuste has quit IRC19:41
*** tbf has quit IRC19:41
*** Mek has quit IRC19:41
*** simeoni has quit IRC19:41
*** JLP has joined #maemo-devel19:44
*** tbf has joined #maemo-devel19:45
*** 30BAAEX2T has joined #maemo-devel19:45
*** simeoni has joined #maemo-devel19:45
*** JakubS_ has joined #maemo-devel19:45
*** kamui__ has joined #maemo-devel19:45
*** T7g has joined #maemo-devel19:45
*** frals has joined #maemo-devel19:45
*** Milhouse has joined #maemo-devel19:45
*** kulve has joined #maemo-devel19:45
*** Mek has joined #maemo-devel19:45
*** wnd has joined #maemo-devel19:45
*** njsf has joined #maemo-devel19:45
*** blub has joined #maemo-devel19:45
*** Wolfie has joined #maemo-devel19:45
*** lcuk has joined #maemo-devel19:45
*** cpasjuste has joined #maemo-devel19:45
*** _Lucretia__ has joined #maemo-devel19:45
*** zgold has joined #maemo-devel19:45
*** dazo_afk has joined #maemo-devel19:45
*** th0br0 has joined #maemo-devel19:45
*** timoph has joined #maemo-devel19:45
*** dotCOMmie has joined #maemo-devel19:45
*** Hukka has joined #maemo-devel19:45
*** fragment has joined #maemo-devel19:45
*** mschr_ has quit IRC19:55
*** mschr__ has quit IRC19:55
*** ynezz has quit IRC19:55
*** ynezz_ has joined #maemo-devel19:55
*** Tuxprobe has quit IRC19:55
*** lbt_ has joined #maemo-devel19:55
*** lbt has quit IRC19:55
*** zemm29 has joined #maemo-devel19:55
*** boogeyman has quit IRC19:55
*** lardman has quit IRC19:55
*** lbt_ has quit IRC19:55
*** lbt_ has joined #maemo-devel19:55
*** lardman has joined #maemo-devel19:55
*** lupine_85 has quit IRC19:55
*** Ian-- has quit IRC19:55
*** Ian-- has joined #maemo-devel19:55
*** corecode has joined #maemo-devel19:55
*** achipa has quit IRC19:56
*** apoi has quit IRC19:56
*** ieatlint has quit IRC19:56
*** lupine_85 has joined #maemo-devel19:58
*** boogeyman has joined #maemo-devel19:58
*** zemm has quit IRC19:59
*** corecode_ has quit IRC19:59
*** achipa has joined #maemo-devel19:59
*** ieatlint has joined #maemo-devel19:59
*** apoi has joined #maemo-devel19:59
*** ieatlint has quit IRC20:00
*** ieatlint has joined #maemo-devel20:00
*** cgoncalves has quit IRC20:00
*** scoopr has quit IRC20:00
*** Ian-- has quit IRC20:01
*** flx_ has joined #maemo-devel20:03
*** flx_ is now known as Guest6226220:03
*** flux has quit IRC20:03
*** Guest62262 is now known as flux20:03
*** mschr_ has joined #maemo-devel20:04
*** mschr__ has joined #maemo-devel20:05
*** Tuxprobe has joined #maemo-devel20:08
*** pillar_ has quit IRC20:08
*** pillar__ has joined #maemo-devel20:08
*** Ian-- has joined #maemo-devel20:09
*** cgoncalves has joined #maemo-devel20:09
*** scoopr has joined #maemo-devel20:09
*** JakubS_ has quit IRC20:13
*** apoi has quit IRC20:15
*** Pavel has quit IRC20:15
*** dragly has quit IRC20:15
*** matnel has quit IRC20:15
*** apoi has joined #maemo-devel20:17
*** matnel has joined #maemo-devel20:18
*** SukhE has quit IRC20:25
*** DocScrutinizer51 has quit IRC20:25
*** polac has quit IRC20:25
*** Ken-Young has quit IRC20:25
*** Pavel has joined #maemo-devel20:25
*** dragly has joined #maemo-devel20:25
*** lardman has quit IRC20:25
*** lardman has joined #maemo-devel20:25
*** SukhE_ has joined #maemo-devel20:25
*** SukhE_ has joined #maemo-devel20:25
*** Docscrutemp has joined #maemo-devel20:25
*** Docscrutemp is now known as DocScrutinizer5120:25
*** polac_ has joined #maemo-devel20:25
*** SukhE_ is now known as SukhE20:25
*** Ken-Young has joined #maemo-devel20:25
*** th00ry has joined #maemo-devel20:29
*** th00ry has quit IRC20:29
*** th00ry has joined #maemo-devel20:29
*** dazol has joined #maemo-devel20:30
*** dazo_afk has quit IRC20:30
*** th0br0 has quit IRC20:30
*** frals has quit IRC20:31
*** blub_ has joined #maemo-devel20:31
*** blub has quit IRC20:31
*** frals_ has joined #maemo-devel20:31
*** rsalveti has quit IRC20:36
*** SukhE has quit IRC20:39
*** SukhE has joined #maemo-devel20:39
*** SukhE has joined #maemo-devel20:39
*** SukhE has quit IRC20:54
*** SukhE has joined #maemo-devel21:07
*** SukhE has left #maemo-devel21:07
*** blub_ is now known as blubbi21:25
*** frals_ is now known as frals21:50
*** frals has joined #maemo-devel21:50
*** zemm29 is now known as zemm22:02
*** lbt_ has quit IRC22:23
*** nthx has quit IRC22:58
*** Aranel has joined #maemo-devel23:05
*** rsalveti has joined #maemo-devel23:05
charnohi again23:12
charnoin http://maemo.pastebin.com/Y1YH1zrd, i posted some python-source23:12
charnoi got a problem...23:12
charnoif i set the value (or in this example every property) of a scale (Line 148), the value-changed signal is going to be processed (Line 117,118)23:13
charnois there a way to find out if the value-change is done by user-input or from inside the code?23:13
DocScrutinizercorecode: (wikipedia:) In a Unix environment, the parent process of a daemon is often (but not always) the init process23:13
DocScrutinizercorecode: anyway that's my idea of a daemon, not the official one, which is exactly matching yours ;-)23:14
mschr__charno it will be done in a microsecond - if you set a boolean 'internal_event' inside the Mainwindow class, then check in your value-changed event; your ends meet?! :)23:16
*** lbt has joined #maemo-devel23:18
mschr__charno: http://maemo.pastebin.com/hdBNSuCL lines 65, 118, 15023:19
DocScrutinizercorecode: http://en.wikipedia.org/wiki/Daemon_(computer_software)23:20
charnomschr__: thanks, that's exactly what i searched for!23:22
DocScrutinizercorecode: nota bene neither screen nor even nohup are in the list of system daemons23:26
mschr__charno, value-changed does exactly what its designed to do :) just control your flow23:27
mschr__can someone verify that the example of AppMenu in maemomm tutorial does not work?23:28
mschr__http://maemomm.garage.maemo.org/examples/app-menu/23:28
mschr__http://maemomm.garage.maemo.org/docs/tutorial/html/sec-menus.html23:28
charnomschr__, i didn23:30
charno't blame value-changed to do something wrong... i just didn't find a way to find out if it is user- or internally triggered23:31
charnobut i'm currently tired and it's the first time i'm coding since about half a year...23:31
charnoand now i have to leave23:32
charnosee you23:32
*** charno has left #maemo-devel23:32
*** Ian-- has quit IRC23:44
*** Ian-- has joined #maemo-devel23:51

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