[Xastir] Replaying logs made with trackme

Curt, WE7U archer at eskimo.com
Mon Apr 12 13:28:04 EDT 2004


On Mon, 12 Apr 2004, Jack Twilley wrote:

> Hmm.  Timestamps are broken in Cygwin, I believe.  I'll update and
> rebuild before taking the laptop on another roadtrip.  One good
> solution to the problem you describe is to not permit log replaying
> while any interface is open.

Or even simpler:  Halt processing of incoming packets from
interfaces until done with the log.


> Curt> If we had full-blown timestamps in the log file for each packet
> Curt> and used those timestamps to do inserts into our database, we
> Curt> could reconstruct the proper track no matter what was coming in
> Curt> or when.
>
> You're assuming that one could "catch up" after the log replaying is
> over, right?  Seems like a gamble.  Might be better to just lock out
> the interfaces but that's just me.

I'd rather not lose good information that might be coming in.  I can
imagine cases where critical positions come in at just the wrong
time during a SAR mission or public service event, and you wouldn't
want to be there with your face turning read when they asked you for
the most recent position.  Of course that would happen anyway if the
log replay was still going, and going, and going...


> Anyway, after reading this message and thinking about it a bit, what
> I'd rather see as a solution is a small window with some buttons and a
> text window large enough to show a line from the TNC or Internet
> server log, and some buttons:  pause, stop, line advance, play.  A
> setting in the config file controls how many lines are replayed per
> second, using a slider or whatever.  The window displays the current
> line in the log file, which is the line most recently processed.
>
> This is good for debuggers and for post-event analysis and for
> demonstrating xastir's coolness.  If Tom had had this feature, he
> might have been able to isolate the bug faster and I wouldn't have
> needed the feature. :-)

I would call it VCR controls, or tape-player controls, but pretty
soon nobody will know what those are.  Shall we call them DVD
controls just to be safe?

You're not going to want a reverse button and alternate endings too,
are you?  ;-)

I like your idea for a playback window.  It would also allow us to
have a "read at maximum rate" button for those times when we want to
reconstruct our display in a hurry.

--
Curt, WE7U			    archer at eskimo dot com
Arlington, WA, USA		http://www.eskimo.com/~archer
"Lotto:    A tax on people who are bad at math." -- unknown
"Windows:  Microsoft's tax on computer illiterates." -- WE7U
"The world DOES revolve around me:  I picked the coordinate system!"



More information about the Xastir mailing list