Some part of me is definitely a geek. I wound up working more than 14 hours straight today, mostly because I just couldn't stop working on the problem until it was solved, but the problem refused to solve itself.
What I've been doing is creating a trigger definition mechanism using Nevow's LivePage (Ajax) technology. The trigger definition is rather complex. A trigger is basically an event-routing rule, similar to what you see in your mail client's sorting rules.
In this first stage there's just one level of constraint definitions, but eventually the constraints will grow "or" and "and" clauses and allow for defining trees of constraints as a result. To make this work with in-page editing using Ajax, you wind up creating controller objects parameterised in such a way that they can all have unique ids and properly registered callbacks. Getting those to work reliably has been a bit of a pain, and I haven't even tried to run the scripts on IE yet
The neat thing about the Ajax is that it's giving a very immediate feel. You choose a given state for a given trigger and can immediately see the statistics all modems in that state, you can type in a range for a measured value and see statistics for the modems in that range pretty much instantly.
Of course, thick-clients have had that since day one, but it does make one pause to consider how poor web interfaces really are. Anyway, my brain is fried, so I'll stop rambling now and try to get to sleep.



Comments
2010-03-15 17:33
So, A lot of the problems w ith TG stem from repoze.what. We are working on it. I've b een collaborating with G [...]
2010-03-13 14:54
Thanks. At the moment I haven 't created an icon for the pac kage. Some day I'll hook up t he tablet and draw one : [...]
2010-03-12 22:53
Nice work; thanks! FWIW, I' ve packaged both RunSnakeRun a nd SquareMap for Fedora, so it should be possible to i [...]
2010-03-12 19:21
Fascinating spam pattern; half of the comments are textbook blog spam (generic comments, t rivially reworded text o [...]
2010-03-12 19:05
Thanks, how did that manage to be wrong for so long?
2010-03-12 17:11
I just noticed a typo in your site's subtitle: "Plumblin g Life's Depths" should be "Pl umbing Life's Depths" [...]
2010-03-12 16:29
re-configured to work are unab le to obtain virtualenv mean t hat isn 't possible to develop ?or I've misunderstood y [...]
2010-03-10 10:27
Turbo gear was though a long a waited release and people call ed it very nice but the small problems in it really ma [...]
2010-03-02 08:56
Thanks!
2010-03-01 22:40
Actually I do use setuptools for RSR. I just haven't yet got out of the Python 2.3 habi t of avoiding "extra" ar [...]
2010-03-01 19:57
Thanks! That was me.
2010-03-01 19:14
Oh, you're not using setuptool s/distribute? I got so used t o packages explicitly listing their dependencies in th [...]
2010-03-01 18:59
Yup, the SquareMap package is a dependency. easy_install Sq uareMap should pull it in. wx Python is also a depende [...]
2010-03-01 18:49
Release early, release often! (Incidentally, when I easy_ install RunSnakeRun 2.0.0b4, I 'm unable to start it: R [...]
2010-02-24 10:11
I wasn't actually there, just read the slides. I really like the characterization "PyPy is Shirt Origami research."