Archive for category The Wonderful Internet
Wellington – Real Time Public Transport Information
Posted by Nick in Mobile, The Wonderful Internet, Wellington, android, iPhone on February 28, 2010
WelliBUS users have been asking me for real time bus info ever since WelliBUS was first released a long time ago.
I have been in touch with the Metlink people (who are just awesome) but sadly the information will not be available any time soon, and even when it will become available 3rd parties will probably have to wait even longer (unless they decide to start scraping HTML).
So after doing some thinking I have decided to try and implement it myself. Yup, I am indeed crazy. The craziest part is that I believe that this could work, especially if you get involved. At the moment 4000 of you are using WelliBUS and I would like to thank each and every one of you. Most of you are using iPhones, the rest are on iPod touches and Android devices. Although this is intended mostly for iPhone users there are scenarios when even an iPod touch can be used (WiFi on the bus, Free Wifi Hotspots, etc).
If out of 4000 people just 2000 decide to use this system I am sure we will get pretty good coverage, especially at peak times when we need it the most.
I have already starting implementing this which is why I am asking for everyone’s help. Please post comments below to tell me what you think, what I should and should not do, what you think is most important in the first release, what I missed out on, whatever you think might be useful. Once you’ve done this please spread the word. Don’t forget to download WelliBUS if you have an iPhone, iPod touch or Android device.
Here’s how I was thinking that it would work.
User waiting for the bus:
- Starts the app and selects the bus stop number they are at and also the service numbers that they want a notification for. (e.g. Stop 5002 – St James Theatre, Services 1 – Island Bay, 46 – Broadmeadows, 54 – Churton Park)
- Either leaves the application running (at least in the 1st release) or closes the application and waits for a push notification (future release)
User traveling on the bus:
- After getting on the bus the user selects the service that they are on and taps “I’m on the Bus“. (e.g. select stop 5000 – Courtenay Place, Service 54 – Churton Park)
- User leaves the application running and can alternatively see on a Google Map view as the bus travels towards its destination
- User sees a Good Citizen points indicator. See how the points work below.
WelliBUS will:
- Notify the user in stop 5002 that a service 54 – Churton Park is on its way and reports the approximate distance between the stops
- Reward the user on the bus 1 Good Citizen point for having helped another traveller find out when the bus was coming. The more people use the information broadcast by the user on the bus the more Good Citizen points the users get. All users that broadcast their location on the bus will get “rewarded”
- Provide a Good Citizen ranking system (users can register and submit their points to our server)
Good Citizen points:
- A user that leaves the application running while on the bus (between start and stop) will accrue 0.5 points for each stop they pass by
- If at least another user is on the same bus and broadcasts the information then all users receive another 0,5 points
- For each user that is notified about the bus that the Good Citizen is on then another point is awarded.
- Sponsors can reward Good Citizens: e.g. maybe Snapper can give them extra credit, maybe Metlink could discount a monthly pass as long as a minimum number of points is accrued the previous month. Other sponsors can be as creative as they want. The rewards should be provided in exchange for Citizen Points. The claimed points will go towards a Sponsors Ranking. (e.g. If my favourite coffee shop in Wellington, Mojo Old Bank give a free coffee for every 200 Citizen Points then their points value will go up by 200 every time they offer a reward. This is a rough guide at the moment)
Cheating:
- If a person is in a car rather than on a bus then the application will detect the car speed, missing the stops, and other similar checks
- If somebody does manage to fool the “system” the other people will be able to veto them. e.g. if user A reports being on a bus that never reaches user B although it should then user B will be able to give thumbs down to user A. The more thumbs down the slower the user accrues Citizen points. Eventually a lying user can be removed from the system.
- Other “punishments” could be applied. Be creative!
You can:
- Donate. You can help the development of this feature by contributing with funds.
- Spread the word! Nothing is more helpful.
- Twit about this. Here’s an example Help Wellington get Real Time Public Transport information. http://bit.ly/9pq2v3 Please RT
- Post a link to this post on your Facebook wall. For example you could post Make Wellington the first city in the world with real time traffic info driven by us. Details here http://bit.ly/9pq2v3
- You could sponsor this project. There are many ways in which you can help. First email office [at] tmro [dot] net and we will take it from there.
- You could buy ads in WelliBUS. Your business logo and a 1 sentence message could be displayed on the Map View close to a relevant stop.
- You could help in ways I haven’t even thought about.
Cheers…
Reviewing a MyFreeview|HD DVR
Posted by Nick in Hardware, The Wonderful Internet, Wellington on November 15, 2009
After Mauricio (the Geekzone BDFL) asked me to review the JCMatthew DVR-320T I wasn’t sure what to expect. Now I can honestly say that I am happy to do this. I will try to be as impartial as possible and provide the readers with a no-nonsense review. My tone will be as non-technical as possible and I will strive to explain the slang as clearly as I can.
So I’ve started this reviewing journey that you can follow here. I will not be cc-ing my review to this blog but I will be taking questions via this post if there are any.
So feel free to drop me a line if you feel like it.
Cheers…
WelliBUS is out
Posted by Nick in Mobile, The Wonderful Internet, Wellington, iPhone on September 21, 2009
Overview
On Thursday 17th of September Apple approved WelliBUS. Now the people in Wellington, NZ have a new option when it comes to finding out when their bus comes:
- use www.metlink.org.nz
- txtBUS 287 (20c / msg)
- 0800 801 700 (free)
- WelliBUS (free, needs an active internet connection)
A quick look at txtBUS will show you what a neat service it is. Type the stop number (optionally the service number and time), send yr msg to BUS (287) and there you go. But what happens when you don’t know that stop number? Or what if you forget the txt syntax? You can browse the metlink website or you can call their 0800 number. Alas neither option is convenient. This is where WelliBUS excels!
With WelliBUS you can do everything that you can do with txtBUS but you can also find out the bus stop number by searching by a street name or by simply tapping a GPS button that will do the hard work for you. Then you’ll be returned a list of nearby stops. Just tap one and you’re done! WelliBUS let’s you filter by date or service number just as you’d expect it to.
Launch
WelliBUS has been out there for only a few days now and I have to say I am impressed by the feedback I’ve received. Thank you everyone.
I don’t know if it is because it’s free or because Wellingtonians love their iPhones or because they use public transportation a lot.
I know many of you are asking about real time bus information, it’s coming but you have to be patient, from what I’ve heard you won’t have to wait much longer… At this point treat this as a rumor.
I hear a few of you have found some issues, please post them here as comments and I will prioritize them and tackle them as soon as I can. I know there is a typo and I know that if you filter by buses using 00 prefixes the app fails to filter. So if you search for service 008 please use just 8 instead.
If you want a copy, the app is here WelliBUS
Rest assured the app will stay free, ad-free, bloatware free. But if you like it I encourage you to download one of my paid apps from here: tmro apps.
Cheers…
p.s. My close friends know the funny story of how this application was conceived, but this is neither the place nor the time to share that story…
p.p.s. please leave your comments and feature requests as comments below.
New Site
Posted by Nick in The Wonderful Internet on July 2, 2009
Recently I have decided to put together a new website. I never really enjoyed putting together a website for myself. Somehow I always feel more inspired when I have to develop / assemble a website for someone else.
For this reason I decided to keep things simple so I embraced a WordPress template. After quite some time of using blogger (blogspot) I thought all blogging engines were the same. I was wrong. WordPress simply is better: nicer UI, more plugins, upload directory, editable database, and more. The New Post editor seems a little buggy (HTML tags seem to get lost when switching between WYSIWYG and HTML) but that’s a small price to pay considering the multimedia support and the plethora of configuration options.
I haven’t finished migrating everything yet, and I am still customizing the template but now you should be able to get a rough idea of what the website will look like. So please don’t hesitate to post/email your comments and feedback.
Cheers…
The Java Store – Project Vector
Posted by Nick in Java, The Wonderful Internet on May 25, 2009
Special App Stores
Today I was having a conversation about the Apple App Store App Review process and I realized that I don't really mind a little bit of censorship but with a twist…
Google Apps For Your Domain. Problems after Hostname change
Posted by Nick in Google, The Wonderful Internet on April 27, 2009
I have my domain managed by Google Apps. Yesterday I created a new site using Google Sites and decided to have a nice hostname, say http://mynewsite.tmro.net
UPDATE: It appears that the email MX records were messed up as well! Luckily after updating the MX records I received quite a few emails that had been queued so I imagine nothing got lost…
iPhone Enterprise Application Distribution
Posted by Nick in Apple, The Wonderful Internet, iPhone on April 20, 2009
This is by no means official. After lots of (repeated) googling I managed to gather this information. Feel free to add your Q & A or make corrections.
Apache with OpenSSL on Windows 2003
Posted by Nick in Security, The Wonderful Internet on February 25, 2009
Now, the part I didn't know is that Verisign had changed their intermediate certs and they were no longer signing our cert with their root cert.
Well that shouldn't be so hard to fix though since Apache (mod_ssl) has a directive for intermediate (aka chain) certificates called SSLCertificateChainFile. I just pointed it to what I thought was the correct intermediate cert, restarted Apache, pointed Firefox to the url and tada, all good. I got this intermediate cert by simply exporting from the chain of certificates you see when double clicking on your own cert and browsing to the certificate path. What a mistake this will prove to be…
But wait, when I browsed with Safari I got a nasty "this certificate was signed by an unknown authority" error message. On my iPhone same thing, the cert failed. Tried IE7, no issues. Hmm… something was wrong. So I inspected the certificate chain and I discovered that at least in Safari my ssl cert looked as if the roor cert was VeriSign Class 3 Secure Server CA rather than Class 3 Public Primary Certification Authority (which is also Verisign,Inc and has the serial number 70 BA E4 1D 10 D9 29 34 B6 38 CA 7B 03 CC BA BF).
After googling I came across an article (don't click the link) that explains how to add an intermediate cert to Microsoft's list of trusted certificates using Microsoft Management Console and lots of fiddling. Turns out I didn't really need to do that. (told you not to click the link
)
At this point it was clear that the intermediate cert was somehow now available to all the clients. So what seemed like a logical thing to do was to see what that intermediate cert reeally looks like. Luckily there is this ssl cert checker from VeriSign. To my surprise when using it the intermediate cert was not really what I exported above. So I copied the code for the new intermediate cert and replaced the one I exported and gave it a go!
Hooray! Everything now worked.
Now what have I learned?
1. Never trust a browser to test an ssl cert. Either use openssl s_server or the applet above that verisign have built
2. Avoid Windows as a host OS for web servers. (lack of openssl, confising trusted root certificate management, etc)
3. The new cert was almost double the size of the first one. Looks like the versign intermediate cert is bundled with my cert as well. Maybe someone can clarify this?
4. Let infrastructure people handle ssl cert installation
Cheers…
Windows file paths on *nix systems
Posted by Nick in The Wonderful Internet, Tutorial on December 4, 2008
Yesterday I amused myself when I re-discovered that I had to deploy a web application that was pointing to external files using windows style absolute paths rather than relative paths.
Imagine this scenario:
1. You are running a *nix system. Mac OS, Linux (Ubuntu) etc
2. You have an existing web application that references some sort of external resource (e.g. logging configuration file), but the path to this resource is windows style. e.g. C:/logging/config.xml
3. This web application used to run just fine on a server running on Windows (e.g. JBoss) but now that you have deployed it to your new OS the path no longer makes sense…
You have three choices:
1. bitch at those who used absolute paths in the web application and ask them to fix it.
2. change the web application to reference some sort of relative path
3. WOW: create a c: folder in your JBoss bin folder.
I kid you not! This is actually possible… funny as hell, but still possible.
If you are on Mac OS, the trick is to create the c: folder from the Terminal rather than Finder. Finder will not allow ":" in the name of a folder. So fire up terminal, cd to the JBoss/bin folder and run :
>mkdir c:
Now copy into this folder the resources that you need. e.g. logging/config.xml and you are ready to go.
Let me know if this worked on your OS.
Cheers…

Recent Comments