|
2010-05-03
, 12:04
|
Posts: 38 |
Thanked: 18 times |
Joined on Mar 2010
@ Guildford, UK
|
#102
|
|
2010-05-03
, 12:13
|
|
Posts: 246 |
Thanked: 204 times |
Joined on Jun 2007
@ Potsdam (Germany)
|
#103
|
The Following User Says Thank You to jukey For This Useful Post: | ||
|
2010-05-03
, 13:21
|
Posts: 254 |
Thanked: 122 times |
Joined on Nov 2009
|
#104
|
|
2010-05-03
, 20:58
|
Posts: 254 |
Thanked: 122 times |
Joined on Nov 2009
|
#105
|
Btw, for scheduling, there is also the 'at' tool (atd) which may be a better choice then sleeping. although i'm not sure how exactly it's implemented.
|
2010-05-04
, 08:34
|
|
Posts: 246 |
Thanked: 204 times |
Joined on Jun 2007
@ Potsdam (Germany)
|
#106
|
Not in maemo. Maemo has alarmd which is better than at or cron for one simple reason: it is hardware supported. It works when your phone is switched off. And it has powerful recurrence support.[...]We didn't manage to find any application, which uses it, but now you can see how it is implemented in ET-Prolog.
By the way. I couldn't find how to obtain shepherd and see how it is implemented. Am I right, that this topic and wiki page is everything available?
The Following User Says Thank You to jukey For This Useful Post: | ||
|
2010-05-04
, 10:31
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#107
|
|
2010-05-10
, 08:14
|
Posts: 20 |
Thanked: 21 times |
Joined on Aug 2009
@ Belgium
|
#108
|
|
2010-05-29
, 09:14
|
Posts: 3,319 |
Thanked: 5,610 times |
Joined on Aug 2008
@ Finland
|
#110
|
The Following User Says Thank You to attila77 For This Useful Post: | ||
Tags |
cron, power save, scheduling, shepherd |
|
Imho the querying of apps, event reporting, and undertaking of actions is a must for a hacker device like the n900, and all applications should have the appropriate interfaces in place to support it. Actually I assumed something like this would be in place in maemo by default.
Some people said "isn't this a bit like option foo in program bar", but they are missing the point: something like this gives you total control to do whatever you want, depending on anything. configuration options are much more limiting, they cannot express the same level of flexibility.
Also, if you centralize the "brain" of the scheduling and event handling, you can make a lot of apps simpler, and better.
Personally I'm quite curious about the GUI approach. My first thought was that the semantics are too complicated to be expressed in a GUI (and hence, I would opt for letting users write in a script language)
However, if all plugins present their properties and events in a uniform manner, it may be possible to come up with a decent enough GUI that lets users easily write logic ("at this point in time, query this variable from program foo, if it equals bar, then wait this amount of time, then do this action, etc")
Btw, for scheduling, there is also the 'at' tool (atd) which may be a better choice then sleeping. although i'm not sure how exactly it's implemented.