News for hackers. Stuff that matters.
Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by jandrese on Friday March 16, 2018 @02:34PM (#16602900)
Accurately predicting when a bus will be at the stop in a window 2 hours into the future is effectively impossible, but being able to say "this stop won't be needed in the next 5 minutes" is almost certainly feasible. So the UPS software would need to dynamically decide the routes based on parking availability that is constantly changing throughout the day. Not an easy problem, but one that seems solveable.

The city only needs to publish the ETA for the next bus on each stop, information that bus riders would also find extremely useful.

Busses get slowed down for any number of reasons. Bus schedules are basically fantasies, as any big city resident can tell you. There are too many things that can slow a bus down. Stop lights, accidents, securing wheelchairs, delivery vehicles blocking your lane, construction, police activity, congestion, the guy who gets on and discovers he doesn't have bus fare and wants to argue about it, and on and on and on.

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by maksimum on Friday March 16, 2018 @03:02PM (#16603137)
> as any big city resident can tell you.

I used to take the bus every day in Prague (Czech Republic) for about 6 years. It was almost always on schedule in both the morning and afternoon.

I don't know anywhere near enough to argue why in general. But not having drivers sell tickets, and route planning certainly help. For example, shorter routes are guaranteed to reduce variance. But I'm not sure what the downsides are.

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by pythonistic on Friday March 16, 2018 @03:30PM (#16603364)
Former Seattle (now Las Vegas) resident here. To make the buses run on time, the planners build in "time stops." These are locations where the bus should go through at specific times to not be too early for the rest of the schedule, and they also provide some buffer for buses to recover time lost due to bike loading, disabled passengers, and traffic congestion. If you're getting the bus after a time stop, you'll likely almost always get it on time. If your stop is before the time stop, bus arrival times will vary wildly.

It gets even more interesting when you add transport of the bus: the Seattle (King County) Metro also serves Vashon Island, so some of the buses travel on ferries with their associated delays and peculiarities.

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by kaslai on Friday March 16, 2018 @10:45PM (#16605354)
I get on a bus right before a time stop. It's only about 30 blocks after the previous time stop (Northgate TC) but has arrived as soon as 5 minutes before the posted time. That's always fun when combined with a 10 minute late bus following it.

It always stings to see the bus approach early such that I have to run for it, only to then have it wait for 5 minutes at the time stop 2 stops later.

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by lgregg on Friday March 16, 2018 @04:30PM (#16603810)
> some of the buses travel on ferries That's an interesting that they would do that along an entire route rather than splitting the two. I've never heard of that before.

I also do really like how Seattle has that dedicated busway twice a day. It's one of the avenues downtown right?

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by pythonistic on Friday March 16, 2018 @04:35PM (#16603844)
Third Avenue downtown, yes.
Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by grogenaut on Friday March 16, 2018 @06:51PM (#16604536)
Also an insaneo bike lane iirc.
Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by dfox on Friday March 16, 2018 @04:59PM (#16603977)
One thing that helps is that the transit authority (ie. DPP, routes that are run by other companies usually are not that good at keeping the schedule) seems to genuinelly care about keeping the schedule. For streetcars there are online monitored checkpoints at least every kilometer or so (usually on each other stop, as part of the station sign, look for rectangular hole in the upper part) and buses are online GPS tracked, this dat is then used both to improve the scheduling and assess the driver's performance.

Edit: another thing that certainly helps is that most transit lines do not go through the typically congested streets (eg. no daytime public transit goes through the Magistrala in city center) and if they do they are separated (eg. Jecna).

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by jandrese on Friday March 16, 2018 @04:32PM (#16603828)
In smaller cities with less congestion it's much easier to keep the busses running on schedule. I took the bus every day when I was in college and it was like clockwork, but that was in a modest town with low population density. The situation gets worse in a hurry when you're in the middle of Manhattan on roads that were originally laid out for horses.
Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by normaljoe on Friday March 16, 2018 @04:17PM (#16603707)
This is the exact opposite of what UPS software does today. It routes based on spending the least amount of gas. Dynamic routing to also conserve fuel in NYC would be a quite a thing and what's the incentive to do that? They would need to get enough tickets to justify the cost.
Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by aurelianito on Friday March 16, 2018 @05:01PM (#16603993)
> They would need to get enough tickets to justify the cost.

That's easy! Even more with the proposed automatic system.

Re:Bus Lane Blocked, He Trained His Computer to Catch Scofflaws by kerkeslager on Friday March 16, 2018 @04:58PM (#16603967)
> The city only needs to publish the ETA for the next bus on each stop, information that bus riders would also find extremely useful.

This information already is collected and available by text.