Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [User feedback request] Shepherd

    Reply
    Page 5 of 15 | Prev |   3     4   5   6     7   | Next | Last
    lardman | # 41 | 2009-11-10, 11:18 | Report

    I like the sound of this context aware framework, sounds similar to Graham Cobb's DBUS scripts: http://www.cobb.uk.net/770/index.html#dbus-scripts

    Just thinking about usability, and power consumption mainly, how many of these things/events have dbus messages?

    Afaiu the network up/down/change stuff has messages one could listen for (and therefore not need to poll).

    Things like the accelerometer are probably half way, some dbus messages exist, but to obtain more accurate data than simply portrait|landscape one would need to poll the sysfs device.

    Same goes for location, really course data is pretty much free, but to get more accurate data the GPS will need to be running.

    Attila, how do you currently hook into events? And do you have some test code available?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to lardman For This Useful Post:
    attila77

     
    attila77 | # 42 | 2009-11-10, 13:27 | Report

    Mostly using stuff via (Qt-)DBUS. I try to stay away from polling, but for some things it's inevitable). The whole architecture is pluggable - the idea is that you register a plugin that can signal the framework that a condition is met. These plugins are pretty independent, so the actual implementation (listen to dbus, poll, alarmd, use some other service, etc) is left to the plugin.

    Another thing wrt to power usage - I plan on labeling plugins regarding their power usage pattern. DBUS/alarmd based things get a green mark, things that need occasional (relatively cheap) polling get yellow, and things that actively use juice (like GPS) get a red power rating. That's the inital (not yet implemented) idea, anyway, so people could really think twice if they wish to enable a particular plugin.

    This could mean two location plugins, too, a yellow, coarse location enabler, and a red, 'full' GPS one. These can also be chained - i.e. if the coarse location gives us Amsterdam, we won't bother turning on the GPS/checking if we are in a particular street in Paris.

    I'm slowly stabilizing the plugin/action API. When I'm confident enough that daily breakages of these will not occur I plan on pushing the whole thing to extras-devel. Until that happens, the code is pretty fluid, so not much use from it (you can't really test the plugins without the shepherd part)...

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 4 Users Say Thank You to attila77 For This Useful Post:
    iKneaDough, lardman, nymajoak, pillar

     
    gjtorikian | # 43 | 2009-11-13, 21:04 | Report

    Whatever happened with this?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    attila77 | # 44 | 2009-11-14, 13:10 | Report

    In progress It needs two things before it's released to the public:

    a) stable API so the plugins do not get outdated on a weekly basis

    b) finish the GUI so it's end user friendly - I have finished a few dialogs but it's far from robust/complete.

    As soon as I have it ready on a level where people might start using it or contributing without fear of serious breakage (as it hooks/affect pretty low level APIs, it will be in extras-devel).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 8 Users Say Thank You to attila77 For This Useful Post:
    codeMonkey, edgar2, iKneaDough, jjx, lardman, Netweaver, nymajoak, qole

     
    qole | # 45 | 2009-11-23, 19:48 | Report

    Doesn't seem to be here (at least not using thread search), so I'd like to request a no-ip.com updater that will send an update whenever your device's IP address changes.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 5 Users Say Thank You to qole For This Useful Post:
    attila77, iKneaDough, nymajoak, pillar, skalogre

     
    attila77 | # 46 | 2009-11-23, 23:19 | Report

    I wonder if there is a DBUS message for IP changes, there is for connection changes but I'm not sure for DHCP or NAT-ed address changes... The update itself is just a oneliner action plugin (=script).

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to attila77 For This Useful Post:
    iKneaDough, qole

     
    qole | # 47 | 2009-11-24, 00:33 | Report

    Maybe I should bug fiferboy to add it to his IP address widget.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to qole For This Useful Post:
    attila77, iKneaDough

     
    lma | # 48 | 2009-11-24, 06:26 | Report

    Originally Posted by qole View Post
    Doesn't seem to be here (at least not using thread search), so I'd like to request a no-ip.com updater that will send an update whenever your device's IP address changes.
    There's the Dyndns & SSH thread.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to lma For This Useful Post:
    attila77, iKneaDough, qole

     
    nymajoak | # 49 | 2009-12-01, 11:54 | Report

    A while back a thread was started about an s60 application called mobots. As it is in some sense similar to Shepherd I thought I'd mention it here, for inspiration or whatever.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    v2px | # 50 | 2009-12-16, 00:36 | Report

    any news on this? i'd love to try it out :]

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to v2px For This Useful Post:
    iKneaDough, jukey

     
    Page 5 of 15 | Prev |   3     4   5   6     7   | Next | Last
vBulletin® Version 3.8.8
Normal Logout