arbtt ideas Was: ZuriHac: possible cooperation
Martin Kiefel
mk at nopw.de
Wed Mar 17 20:13:45 CET 2010
On Wed, Mar 17, 2010 at 07:15:14PM +0100, Joachim Breitner wrote:
> Hi Sergey,
...
> > >> * an optional charting facility (arbtt-chart) may be useful too, but I
> > >> think we should stick to the unix way.
> > >
> > > A graphical statistics GUI is definitely wanted. It’s not clear whats
> > > best: Implement it in Haskell, directly or using Chart (maybe after
> > > extending Chart as needed), or implement it in python to re-use the
> > > widgets created for hamster.
> >
> > I would maintain graphical part as separated as possible, probably as a
> > separate command line tool, and I would try to do it in Haskell. There
> > are some nice libraries around (Chart and Diagrams), it would be shame
> > not to try them.
>
> Yes, I concur.
>
> > I don't know much about hamster. Even if it is used as a built-in
> > storage, it makes me uneasy to couple storage and representation
> > together. If it used only for storage, then it would be relatively easy
> > to change storage in the future.
>
> If anything, it would be used for presentation. Martin has looked at it
> recently, maybe he can tell us more.
There might be a chance to use it for something like that. It really has
nice interactive charts.
But still I think some work would have to be done to get the 'hamster'
data model to fit that from arbtt.
Arbtt has not such a concept of having _one_ activity name for every
sample it takes. So it is kind of hard to come up with a specific name.
True, you can use their tags.
I tried this the other day. You can have a look [1] :)
Even if we get the 'hamster' to cooperate with us I think there is a
performance issue, since arbtt is collecting a lot of data and the
charts are not even really responsive on my machine with the little data
I've collected so far.
And it kind of feels strange to call a python program to do the drawing.
Do you have an idea which chart drawing library we could use? I know
there is Chart on hackage but it pulls gtk2hs in. Not sure if it's a bit
of an overkill.
>
>
> Greetings,
> Joachim
>
> PS: I wonder at what point we need a mailing list for arbtt.
>
:)
Cheers,
Martin
[1] http://mrtrac.nopw.de/2010-03-17-201203_715x586_scrot.png
--
Martin Kiefel +49 176 21064781
Veilchenstr. 11 mk at nopw.de
76131 Karlsruhe
Germany
More information about the arbtt
mailing list