News for hackers. Stuff that matters.
Re:Bike Share Program Opens in New York City After Long Delay by kh_hk on Tuesday May 28, 2013 @09:19AM (#5779785)
[Shameless spam plug, hope it's relevant here]

Just today I have added New York's Citibike to my bike sharing project [1]. Feel free to give it a spin!

    List of juicy features:
     - Android version
        - Push notifications for stations of interest
        - Distraction free map!
     - HTML version [2]
     - Hacky goodie: realtime world map [3]
[1]: CityBikes - http://citybik.es

[2]: http://api.citybik.es/citibikenyc.html

[3]: http://citybik.es/realtime/#citibikenyc

Re:Bike Share Program Opens in New York City After Long Delay by mapleoin on Tuesday May 28, 2013 @09:27AM (#5779846)
That looks pretty awesome. How do you get your data? Do all those bike sharing services have real-time public APIs that you connect to?
Re:Bike Share Program Opens in New York City After Long Delay by kh_hk on Tuesday May 28, 2013 @09:36AM (#5779908)
Some have (for instance NYC, kudos to them!), other services do not have anything, and data has to be scraped from their website. Most of the time it's a pain in the ass that involves many different dodgy tricks.

I have a python library available at http://github.com/eskerda/pybikes that unifies all the data from different sources into the same model.

Re:Bike Share Program Opens in New York City After Long Delay by mapleoin on Tuesday May 28, 2013 @09:43AM (#5779955)
Awesome! Thanks for making that opensource!
Re:Bike Share Program Opens in New York City After Long Delay by Thrymr on Tuesday May 28, 2013 @11:38AM (#5780640)
Citibike has a json API: http://citibikenyc.com/stations/json
Re:Bike Share Program Opens in New York City After Long Delay by riordan on Tuesday May 28, 2013 @10:11AM (#5780137)
Pretty sweet. The real-ish station status data's got to be pretty interesting in aggregate.

I'm also looking forward to people competitively racing these things with the personal trip data a part of the platform.

Re:Bike Share Program Opens in New York City After Long Delay by kh_hk on Tuesday May 28, 2013 @01:58PM (#5781494)
I did play with the idea myself - That was during the 'gamification era' two years ago - and ended up thinking that people would only play it if it was passive, or automatic. I don't think much people will go to the length of checking in and out every time they take or leave a bike.

From our side, it's difficult to track bike movements due to false positives (bikes that are transported by van from station to station).

Of course, city councils could (and should) try new ideas with all the information they have. The funny part is that most city councils do not have access to the full history, and only the company providing the service. The companies providing these services are old players, and do not want or do not care to invest on cool features.

Who would not want to appear on the Highscore table?

Re:Bike Share Program Opens in New York City After Long Delay by bryanlarsen on Tuesday May 28, 2013 @10:32AM (#5780249)
You're missing Ottawa Canada, which also uses Bixi.

P.S. Your contact page 404's, and you don't have your email address in your hacker news profile.

Re:Bike Share Program Opens in New York City After Long Delay by kh_hk on Tuesday May 28, 2013 @10:46AM (#5780336)
Thanks for reporting, Ottawa is not missing anymore ;) Feel free to ping me anytime at [email protected]
Re:Bike Share Program Opens in New York City After Long Delay by aram on Tuesday May 28, 2013 @09:28AM (#5779853)
Pretty cool site!

However note 404 on about page

http://citybik.es/about

Re:Bike Share Program Opens in New York City After Long Delay by kh_hk on Tuesday May 28, 2013 @10:32AM (#5780256)
Duly noted, this is the 5th time in these last 3 years that this is said, it's time to add the about page... Done!
Re:Bike Share Program Opens in New York City After Long Delay by Major_Grooves on Tuesday May 28, 2013 @12:46PM (#5781058)
Will you be adding anything from Germany? Pretty sure there is a city bike-sharing scheme here in Berlin.
Re:Bike Share Program Opens in New York City After Long Delay by kh_hk on Tuesday May 28, 2013 @01:51PM (#5781439)
In Germany, there's the 'next-bike', and 'call a bike'. I have been waiting to add them until I have the new structure of the project figured out. At that point, they will be much easier to have, and less hacky.

The 'call a bike' system is interesting, and differs from the overall scheme of most bike sharing systems. You have to call a number, enter a pin, and then you get a code to unlock the chain. I find it pretty intelligent, but a bit conflicting with what I have currently running.

At the same time, both systems are really small in stations, but big in locations (as in, there are lots of cities). That's the main reason I have to not support them at the moment, and the main reason of rewriting the architecture of the project. I did not know the project was going to grow at the start, so every city is a different module, if possible, with some inheritance. The new architecture [1] will feature systems as instances, instead of a separated class, thus, making it trivial to generate instances on the run.

Not sure if I went too far with the response, hope it's useful.

[1]: https://github.com/eskerda/pybikes/wiki/architecture