Discussion:
Remember TCPMon?
Stuart Maclean stuart-2Mt1T0R+FriWzc88wn+gRje48wsgrGvP@public.gmane.org [seajug]
2014-06-02 18:34:48 UTC
Permalink
Anyone recall using TCPMon, an Apache Java-bsed tool that presents a
Swing UI and shows tcp traffic flowing between two apps? Useful for
learning about e.g. http, html?

As my first forage into the world of github, I have ripped out the UI
parts of TcpMon and come up with TcpTee, essentially the same idea
except tee'd traffic goes to stdout. Really an exercise in github
protocol. For anyone interested,

https://github.com/UW-APL-EIS/tcptee

Thanks

Stuart



------------------------------------
Posted by: Stuart Maclean <stuart-2Mt1T0R+FriWzc88wn+***@public.gmane.org>
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/
Jason Osgood zappini-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [seajug]
2014-06-06 23:36:24 UTC
Permalink
Hi Stuart.
Post by Stuart Maclean stuart-2Mt1T0R+FriWzc88wn+***@public.gmane.org [seajug]
https://github.com/UW-APL-EIS/tcptee
Both simple and useful. Thank you.

I wanted to capture some network traffic, maybe reverse engineer the protocol. Legacy code is lost kinda thing. Started to monkey with some of the network packet tools. Talk about overkill.

—

Hey. Maybe you can help settle a long standing bet I have with George Smith.

For bus tracking, does One Bus Away use live data, estimates, or both?

I don’t recall if you’ve ever given a demo or presentation of that work. (Hint.)



Cheers, Jason
Ross Bleakney rossbleakney-PkbjNfxxIARBDgjK7y7TUQ@public.gmane.org [seajug]
2014-06-07 01:13:51 UTC
Permalink
I'm gonna bet live data. But more than anything, I'm interested in the answer, and anything else about the subject (or similar subjects).
Thanks,
Ross

P. S. This subject might get me out to a SeaJug (or other) meeting. But probably not in the summer (or a splendid early Spring day). It is just too nice out there right now to spend time indoors.


To: seajug-***@public.gmane.org
From: seajug-***@public.gmane.org
Date: Fri, 6 Jun 2014 16:36:24 -0700
Subject: Re: [seajug] Remember TCPMon?





















Hi Stuart.

https://github.com/UW-APL-EIS/tcpteeBoth simple and useful. Thank you.
I wanted to capture some network traffic, maybe reverse engineer the protocol. Legacy code is lost kinda thing. Started to monkey with some of the network packet tools. Talk about overkill.
—
Hey. Maybe you can help settle a long standing bet I have with George Smith.
For bus tracking, does One Bus Away use live data, estimates, or both?
I don’t recall if you’ve ever given a demo or presentation of that work. (Hint.)


Cheers, Jason
George Smith litesoft-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org [seajug]
2014-06-07 15:11:21 UTC
Permalink
Observations on One Bus Away:

App says:

1. Bus in 5 mins
2. Bus in 1 Min
3. Bus Left 1 Min ago

Reality:

I've been standing here for the last 10 mins and there has been NO Bus!


Assumptions:

1. The Data is sent by the Bus "Sporadically" and NOT until the Bus
knows it's Route # and Direction.
2. There is some "magic" about how the bus knows it is AT a stop.
3. The App's arrival times are based on either:
4. Scheduled Time if No Data (like First Stop), or
5. "Projected" time from "some" last data point(s).
6. For a Bus that is late "starting" its run, there is NO DATA for
"Projected" times!

Implications:


1. If you are waiting at the first or second stop, the data is almost
useless!
2. If there is high variability (traffic) times from one stop to the
next, the "projected" times are almost useless!

Inconceivable (I don't think that word means what you think it means!):

The Buses can now "tell" (play appropriate recordings) what the next stop
is (most of the time correctly) as we are approaching, and ORCA relies on
"real-time" communication, yet the bus are unable to report their location
in a timely way!


Solution:

1. Bluetooth Beacons on Bus Stop Signs, AND strategically placed points
before stops.
2. Stop adding more stand-alone systems to Buses, and just add a Bus
Management 4G Tablet (*1*) that handles:


1. Route Mapping (including alternates) (big boon to drivers new to
routes),
2. Reader Boards,
3. Announcements,
4. Location awareness (including the Beacons), and
5. Communication to/from the "mother ship".


*1* - Drivers could be given these Tablets to put in the Buses "cradle"
pre-loaded with the appropriate data, thereby minimizing the traffic on the
4G network. And given that Buses are down for Maintenance, and borrowed
from other agencies (KCM borrows buses from ST all the time), the Tablet
would be attached to the Agency, not the Bus!

George
Post by Ross Bleakney rossbleakney-***@public.gmane.org [seajug]
I'm gonna bet live data. But more than anything, I'm interested in the
answer, and anything else about the subject (or similar subjects).
Thanks,
Ross
P. S. This subject might get me out to a SeaJug (or other) meeting. But
probably not in the summer (or a splendid early Spring day). It is just too
nice out there right now to spend time indoors.
------------------------------
Date: Fri, 6 Jun 2014 16:36:24 -0700
Subject: Re: [seajug] Remember TCPMon?
Hi Stuart.
https://github.com/UW-APL-EIS/tcptee
Both simple and useful. Thank you.
I wanted to capture some network traffic, maybe reverse engineer the
protocol. Legacy code is lost kinda thing. Started to monkey with some of
the network packet tools. Talk about overkill.
—
Hey. Maybe you can help settle a long standing bet I have with George Smith.
For bus tracking, does One Bus Away use live data, estimates, or both?
I don’t recall if you’ve ever given a demo or presentation of that work.
(Hint.)
Cheers, Jason
--
"And the users exclaimed with a laugh and a taunt: It's just what we
asked for but not what we want." -- Unknown
Nimret Sandhu nimret-rf+Eeaps6PzQT0dZR+AlfA@public.gmane.org [seajug]
2014-06-07 20:29:37 UTC
Permalink
OBA's better than nothing :)

you may find this entry in their blog useful:
http://onebusaway.blogspot.com/2012/04/on-metro-transition-to-gps.html

cheers,
-
Nimret Sandhu
http://www.nimret.org
Post by George Smith litesoft-***@public.gmane.org [seajug]
1. Bus in 5 mins
2. Bus in 1 Min
3. Bus Left 1 Min ago
I've been standing here for the last 10 mins and there has been NO Bus!
1. The Data is sent by the Bus "Sporadically" and NOT until the Bus
knows it's Route # and Direction.
2. There is some "magic" about how the bus knows it is AT a stop.
4. Scheduled Time if No Data (like First Stop), or
5. "Projected" time from "some" last data point(s).
6. For a Bus that is late "starting" its run, there is NO DATA for
"Projected" times!
1. If you are waiting at the first or second stop, the data is almost
useless!
2. If there is high variability (traffic) times from one stop to the
next, the "projected" times are almost useless!
The Buses can now "tell" (play appropriate recordings) what the next stop
is (most of the time correctly) as we are approaching, and ORCA relies on
"real-time" communication, yet the bus are unable to report their location
in a timely way!
1. Bluetooth Beacons on Bus Stop Signs, AND strategically placed
points before stops.
2. Stop adding more stand-alone systems to Buses, and just add a Bus
1. Route Mapping (including alternates) (big boon to drivers new to
routes),
2. Reader Boards,
3. Announcements,
4. Location awareness (including the Beacons), and
5. Communication to/from the "mother ship".
*1* - Drivers could be given these Tablets to put in the Buses "cradle"
pre-loaded with the appropriate data, thereby minimizing the traffic on the
4G network. And given that Buses are down for Maintenance, and borrowed
from other agencies (KCM borrows buses from ST all the time), the Tablet
would be attached to the Agency, not the Bus!
George
Post by Ross Bleakney rossbleakney-***@public.gmane.org [seajug]
I'm gonna bet live data. But more than anything, I'm interested in the
answer, and anything else about the subject (or similar subjects).
Thanks,
Ross
P. S. This subject might get me out to a SeaJug (or other) meeting. But
probably not in the summer (or a splendid early Spring day). It is just too
nice out there right now to spend time indoors.
------------------------------
Date: Fri, 6 Jun 2014 16:36:24 -0700
Subject: Re: [seajug] Remember TCPMon?
Hi Stuart.
https://github.com/UW-APL-EIS/tcptee
Both simple and useful. Thank you.
I wanted to capture some network traffic, maybe reverse engineer the
protocol. Legacy code is lost kinda thing. Started to monkey with some of
the network packet tools. Talk about overkill.
—
Hey. Maybe you can help settle a long standing bet I have with George Smith.
For bus tracking, does One Bus Away use live data, estimates, or both?
I don’t recall if you’ve ever given a demo or presentation of that work.
(Hint.)
Cheers, Jason
--
"And the users exclaimed with a laugh and a taunt: It's just what we
asked for but not what we want." -- Unknown
Stuart Maclean stuart-2Mt1T0R+FriWzc88wn+gRje48wsgrGvP@public.gmane.org [seajug]
2014-06-09 16:53:20 UTC
Permalink
Hi Jason, George, all

I worked at the UW on projects that pre-dated OneBusAway, and have never
worked on OBA. We did Mybus and Busview, both of which were re-badged
by Metro and offered as 'Tracker' on their site. I think they have now
moved to newer technologies. Looking back on it, we did some pretty cool
things, we had a tiled map of the region well before GoogleMaps came along.

When I worked on this stuff, 1998-2004, we made a real-time position
feed available, and that is what i suspect OBA used. As far as I know
we never made schedules available, though we did get them 3 times a year
from Metro. So I think OBA started as a mashup of our data feed atop
Google Maps. In those days Metro did not have GPS on the buses, it was
an older signpost plus wheel revolutions system, sounds almost laughable
now.

The group I worked in is now defunct I think, so I doubt ANY bus info
data is available there.

I did give a Seajug talk on all this stuff many years ago, probably
circa 2000. I recall attendances back them as being very good, so I too
think it's a shame that fewer people are going. I myself haven't made
it out in years, what with a 6 year old and a part time teaching gig. I
note also how Seajug-jobs is a pale imitation of what it was even 2
years ago. Maybe Java really has had its day. I shudder to think it
will replaced by such montrosities as Python and/or Node.js.

Stu



------------------------------------
Posted by: Stuart Maclean <stuart-2Mt1T0R+FriWzc88wn+***@public.gmane.org>
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/seajug/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/seajug/join
(Yahoo! ID required)

<*> To change settings via email:
seajug-digest-***@public.gmane.org
seajug-fullfeatured-***@public.gmane.org

<*> To unsubscribe from this group, send an email to:
seajug-unsubscribe-***@public.gmane.org

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/

Loading...