Live data from Hacker News

Berlin public transport in real time

fahrinfo.vbb.de

31–40 of 143 posts

Re: Berlin public transport in real time

#31
post #21
post #13

Earlier quoted context omitted.

In what way? You know, there are printed time tables hanging in all stations. They are even online, accessible from the middle east!

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? :)

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

#32
Here's one for Brno (Czech Republic) and surrounding areas (South Moravia region): http://iris.bmhd.cz/

You can enable/disable different types of vehicles: trams, trolleybuses, city buses, regional buses, regional trains, ships (in that order).

No ships today, as the season ended last month).

Re: Berlin public transport in real time

#33
post #22

Isn't this a security concern?

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?

Randomise the destinations as well. Will play havoc with the terrorists.

Re: Berlin public transport in real time

#35
post #21
post #13

Earlier quoted context omitted.

In what way? You know, there are printed time tables hanging in all stations. They are even online, accessible from the middle east!

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? :)

[deleted]

Re: Berlin public transport in real time

#36
post #31
post #21

Earlier quoted context omitted.

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? :)

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…

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

#38
post #14
post #8

Earlier quoted context omitted.

CGI lives. > Who would run this on a webserver? Who wouldn't? It's an executable. Just like your favourite language runtime. Just like 90% of the web.

It's quite easy to make this particular *.exe path return an "Internal Error" by fuzzing the GET parameters, which may or may not be due to someone having written something that parses user-supplied data in C that then segfaults :)

Well, what else would you return? A `400 Bad Request` error might be more appropriate, but a `500 Internal Server Error` is "A generic error message, given when an unexpected condition was encountered and no more specific message is suitable." - you don't want to leak internal state, obviously, so just log the problem and respond with a 500.

TL;DR: Might be a segfault, but it's 2015 - it probably isn't.

Re: Berlin public transport in real time

#39
I was watching 2 S-Bahn approaching each other towards the centre of where the map loads. Creeping ever closer, then BAM! only one visible and stationary for the past minute. Should I call the emergency services? ;)

Looks awesome by the way, I wish this were more common. In the UK, many similar projects were shut down over IP issues.

Re: Berlin public transport in real time

#40
post #33
post #22

Earlier quoted context omitted.

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?

Randomise the destinations as well. Will play havoc with the terrorists.

Metro roulette! =D
Post reply on HN