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-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."
2010-02-20 23:19
It didn't come off as ranty as you may think. I found it mor e thought provoking than the s everal ranty lightning t [...]
2010-02-16 17:06
We actually use trac's functio nal test infrastructure (heavi ly modified). It has custom ki lls + subprocess.
2010-02-15 15:22
python is the best programming language out there. Its an ex cellent platform for 3d progra mming. It has the capabi [...]
2010-02-14 22:34
Unfortunately it isn't a singl e moment. Once you find an in teresting narrative is easy to find a similar but new [...]
2010-02-14 19:49
Add my name to the 'interested ' column.
2010-02-14 19:21
At PyCon, I'm hoping so, but n ot likely in my talk. Doesn't really fit with the "topics t o keep you up all night" [...]
2010-02-14 19:18
Ah, the great advantage of bei ng an arrogant so-and-so, can just skip all that