News for hackers. Stuff that matters.
Re:Betting on the Web – Why I Build PWAs by CamelCaseName on Monday September 11, 2017 @12:57PM (#15220024)
I feel like such an app could download the bus schedule and do this all offline (and let the user know it is simply an estimate)

In fact, I really wish Google Maps did this, but I guess the damage of getting it wrong once is far greater than getting it right 100 times.

Phones are pretty powerful with huge storage. If you can compute directions offline, why not buses? Saving a map or route is tiny compared to the 64, 128, or 256 GB storage on most people's devices, surely bus schedules can't be that big.

Re:Betting on the Web – Why I Build PWAs by scaryclam on Monday September 11, 2017 @03:46PM (#15221651)
I think you may misunderstand. The bus company provides live information. This is not a schedule, so cannot be downloaded ahead of time.
Re:Betting on the Web – Why I Build PWAs by drewda on Tuesday September 12, 2017 @11:57AM (#15228341)
Many public transit agencies provide both static and real-time data.

- static data often is sharing using the "GTFS" specification, which includes stop locations, route geometries, scheduled trips, etc. See http://gtfs.org/

- real-time data is shared using a variety of specifications, and typically includes vehicle locations, service alerts, and other notifications from the agency

The static kind of data can certainly be cached for local use. Try browsing and downloading some from the Transitland open transit data platform and its API: https://transit.land

Re:Betting on the Web – Why I Build PWAs by kevmo314 on Monday September 11, 2017 @04:27PM (#15221982)
What if I just want the schedule though? It's not unusual that I'm underground (perhaps getting off a subway train) and don't have connection.
Re:Betting on the Web – Why I Build PWAs by _Tev on Wednesday September 13, 2017 @03:52AM (#15236318)
The online search takes into account all short term schedule modifications. Considering how many such changes occur on almost daily basis, you would be quickly complaining about data usage from all those schedule updates. Or you would frequently get wrong route.

Either way, a lot of complexity / resources spent on something trivially solved by the original solution (webpage).

Re:Betting on the Web – Why I Build PWAs by dumbmatter on Monday September 11, 2017 @04:52PM (#15222214)
Some buses don't have schedules, just an estimated frequency. Or some have schedules but don't stick to them with any reliability.
Re:Betting on the Web – Why I Build PWAs by kevmo314 on Monday September 11, 2017 @04:59PM (#15222285)
Not providing schedules because some buses don't have them seems like throwing the baby out with the bathwater.
Re:Betting on the Web – Why I Build PWAs by true_religion on Monday September 11, 2017 @07:10PM (#15223273)
The bus schedule is available on the bus company website. The only thing that app gives over that is what the schedule is now.
Re:Betting on the Web – Why I Build PWAs by boondaburrah on Monday September 11, 2017 @07:33PM (#15223416)
You clearly haven't ridden the buses in Boston.
Re:Betting on the Web – Why I Build PWAs by boondaburrah on Monday September 11, 2017 @07:32PM (#15223409)
There should be paper schedules available in the station.
Re:Betting on the Web – Why I Build PWAs by mbrameld on Monday September 11, 2017 @05:24PM (#15222472)
Then download the schedule from the web site?
Re:Betting on the Web – Why I Build PWAs by kevmo314 on Monday September 11, 2017 @05:30PM (#15222539)
So... like a PWA?
Re:Betting on the Web – Why I Build PWAs by troelsSteegin on Tuesday September 12, 2017 @09:12AM (#15226963)
the app is in leveraging the rider's actual experience ... each time the rider rides the bus, she records the time of arrival - eg takes a photo of the bus - and builds a record of actual arrival times. the app makes predictions about when the bus will come.