News for hackers. Stuff that matters.
Re:Berlin public transport in real time by merlingore on Thursday November 19, 2015 @04:49AM (#10593775)
Isn't this a security concern?
Re:Berlin public transport in real time by lagadu on Thursday November 19, 2015 @04:59AM (#10593824)
What? In my country every single station has a timetable saying which metro/train/bus stops there at exactly which minute. Are you suggesting we should randomize public transport schedules?
Re:Berlin public transport in real time by ff7c11 on Thursday November 19, 2015 @05:08AM (#10593870)
Randomise the destinations as well. Will play havoc with the terrorists.
Re:Berlin public transport in real time by hussong on Thursday November 19, 2015 @05:20AM (#10593914)
Dark City comes to mind...

  John Murdoch: Excuse me. How do I get to the end of the line?
  Train Passenger: You want the Express.
  John Murdoch: [after train blows by him] Hey, how come that 
  train didn't stop?
  Station Master: That's the Express.
Re:Berlin public transport in real time by superpatosainz on Thursday November 19, 2015 @05:27AM (#10593942)
That sounds like the switchman by Juan Jose Arreola.

Full text: http://www.jstor.org/stable/25293822

Re:Berlin public transport in real time by ckozlowski on Thursday November 19, 2015 @05:13AM (#10593896)
Metro roulette! =D
Re:Berlin public transport in real time by sveme on Thursday November 19, 2015 @04:54AM (#10593801)
In what way? You know, there are printed time tables hanging in all stations. They are even online, accessible from the middle east!
Re:Berlin public transport in real time by Kenp77 on Thursday November 19, 2015 @04:58AM (#10593823)
Timetables can change, 'live' data does not. But, if it's 'calculated' then you're right, and it's pretty much a visual timetable.

Also, I know you were joking, but let's not generalise and say middle east shall we? :)

Re:Berlin public transport in real time by sveme on Thursday November 19, 2015 @05:06AM (#10593862)
Maybe I inferred too much from gp's comment and replied very tongue-in-cheek. Obviously I could have also said "accessible from Saxony (for the neo-nazis there), Cologne (for remnants of the red army faction) or Uganda (in case Josef Kony ever decides to turn up in Berlin)". Hope I now covered all major political and religious extremes.

Back to the topic: Munich had something for the S-Bahn, the commuter train system, in their app for several years already. I really doubt that it's a security risk and find it sad that this is the first reaction something as nice as this gets.

Re:Berlin public transport in real time by merlingore on Thursday November 19, 2015 @05:10AM (#10593880)
Haha, are you sure you covered all extremism there?

I didn't mean it to come off so paranoid actually, I was just interested in starting a discussion about it, hence the "Isn't this" vs "THIS IS DEFINITELY"! I agree it's awesome tech, especially as it loads instantly on coffee shop internet, but all the comments here already reflect that.

Re:Berlin public transport in real time by ff7c11 on Thursday November 19, 2015 @04:56AM (#10593811)
I thought the same. But I can't actually come up with a good reason. Maybe German trains are so punctual that you can infer their position anyway. Can someone in Berlin measure the lag? Next time I'm back there I might test it.
Re:Berlin public transport in real time by pyvpx on Thursday November 19, 2015 @05:02AM (#10593844)
I can only speak for Berlin and will say punctuality is not the strong point of S or U-bahn here.
Re:Berlin public transport in real time by odiroot on Thursday November 19, 2015 @05:46AM (#10594007)
It's pretty good for underground U-Bahns and Stadtbahn. Ringbahn, Nord-Süd Bahn and overground U-Bahns are less reliable.
Re:Berlin public transport in real time by _yy on Thursday November 19, 2015 @05:00AM (#10593831)
> Maybe German trains are so punctual that you can infer their position anyway.

That's what the map is doing, anyway (plus delays).

Re:Berlin public transport in real time by DCoder on Thursday November 19, 2015 @07:28AM (#10594358)
Would that make https://www.flightradar24.com/ a much bigger concern?
Re:Berlin public transport in real time by gsnedders on Thursday November 19, 2015 @11:33AM (#10595693)
The typical security concerns with rail networks don't really apply to aviation: it's much, much harder to stop a plane in flight (esp. at cruising altitude) than it is to stop a train.
Re:Berlin public transport in real time by graup on Thursday November 19, 2015 @04:51AM (#10593786)
According to the website, the location information isn't exact, but "calculated" (whatever that means).
Re:Berlin public transport in real time by buster on Thursday November 19, 2015 @05:01AM (#10593834)
It most likely means that there is no exact GPS data, but the company knows when trains arrive at a certain station and can calculate when the trains arrive at the next station (thus, they show us if a train or bus is late in minute-resolution). So it's easy to tell when a train is just departing, or when a train should be approximately 100 meters from the last station away, etc.
Re:Berlin public transport in real time by ff7c11 on Thursday November 19, 2015 @04:58AM (#10593822)
Ah. So no use in real-time if there is an unplanned delay as the map will show that the train just went past you when in fact it didn't. Shame.
Re:Berlin public transport in real time by Piskvorrr on Thursday November 19, 2015 @05:34AM (#10593962)
Not really.

As far as I understand the technologies (and I assume that Berlin does the same thing as every other city-user), a precise ("physical") GPS position is usually not reported (although newer systems do that as well), but a position at a "logical" map is. In case of buses, this usually means "left the previous stop at $xx:$yy, with $zz seconds of delay; reported average speed is normal for this area, so expected arrival is at $aa:$bb." In case of trains, the usual reported data is "has left section of track $AA, is now at $BB, delay $x seconds, expected at $CC in $yy:$zz".

Not millisecond-perfect, but fairly precise to about a minute or two; the biggest guesstimate is the exact position (you'll see that all the trains seem to be using a single track, where in reality they would be on different ones).

So, while delays are reported near-realtime (and thus the scenario you describe doesn't happen), the map might be inaccurate if the route needs to be changed (e.g. there's an accident blocking the road and a bus needs to take the next street instead). Again, with the rollout of GPS-equipment across fleets, this becomes less of an issue. Btw, most delays are unplanned ;)

Re:Berlin public transport in real time by Zach_the_Lizard on Thursday November 19, 2015 @08:54AM (#10594726)
My understanding is that with newer CBTC signalling systems--not sure if Berlin is using that--the trains know pretty much exactly where they are on the track, along with the positions of all other trains, speeds, braking distance, etc. This allows the trains to run closer together than they could using fixed block signalling technology. It's not required for full automation, but it makes full automation relatively simple.

The L train in New York is an example of where this is installed. My understanding is this means the two staff on the train are redundant; the driver pretty much just provides acknowledgement to the train to keep doing its thing, and the conductor only opens and closes doors and makes announcements (if that). They would run with only a single staff member except for union rules.

Re:Berlin public transport in real time by Piskvorrr on Thursday November 19, 2015 @09:17AM (#10594852)
Oh, sure, there's all sorts of useful telemetry coming from the trains and the tracks, even with fixed-block signalling (unless you have a 100-year-old signalling infrastructure ;)). That's pretty much the case of most modern train systems: the driver is there essentially to (re)boot the train computers, push the "doors close" button, and for emergencies. Apart from that, the trains pretty much drive themselves (except when they don't, oh the joys of software).

However, even when the position of the train is known precisely (no need for fancy CTBC, just start counting wheel revolutions from a known starting point and reset any measuring error at the next known-good point, usually a station - which is the basic way the Parisians do it with their driverless metro lines), not every transport agency exposes this sort of raw data to the general public; usually it's watered down to "it's between Station A and Station B, with X seconds of delay."

Re:Berlin public transport in real time by gsnedders on Thursday November 19, 2015 @10:01AM (#10595109)
As far as I'm aware, all the Berlin S-Bahn and U-Bahn lines use absolute block signalling.

FWIW, automation is actually mostly tangential to absolute v. moving block signalling. As far as I'm aware, most automated systems still use absolute block signalling.

Re:Berlin public transport in real time by ant6n on Thursday November 19, 2015 @11:34AM (#10595696)
It seems that often the signalling system and the real time location reporting system aren't integrated. In NYC on many lines you get reports like 'there's a Brooklyn-bound train 2 stops away' that they make over the loud-speakers. Makes me wonder whether they have a separate device that just picks up when trains pass by a track segment, rather than using the information available via the signalling.
Re:Berlin public transport in real time by Zach_the_Lizard on Friday November 20, 2015 @08:18AM (#10600998)
In New York the signalling system on most lines is ancient. The L train has a CBTC signalling system and it has real time arrival information. The 1/2/3/ and 4/5/6 have had upgrades, though not to CBTC, to provide similar countdown clock functionality. The 7 train is undergoing work to install CBTC.

On other lines, my understanding is that the signalling system doesn't know which train occupies a block, just that a train occupies the block. Which block is occupied isn't sent to a central control center either.

So "there's a Brooklyn-bound train 2 stops away" is the best it can do, since it can know based on which side of the tracks the train is on where the train is going. It can't know the letter or number.

Re:Berlin public transport in real time by Piskvorrr on Friday November 20, 2015 @03:03AM (#10600185)
Well, that's one of the most archaic systems out there: http://gothamist.com/2015/07/28/subway_steampunk_video.php (Not the oldest, but using the oldest technology). If I understand it correctly, the only information available from the signalling system there is the rudimentary "there's something on this track segment now; it's up to the human controller to figure out what it is, where it came from and where it's headed."
Re:Berlin public transport in real time by Kenp77 on Thursday November 19, 2015 @04:59AM (#10593829)
Yeah, that is a shame. Live data would be so much more useful!
Re:Berlin public transport in real time by rmc on Thursday November 19, 2015 @04:58AM (#10593820)
If you're standing on the street, I'm sure you can see where the bus/trams etc are.