Archive for the 'Technology' Category

Giving T-Mobile A Chance

Faith does not play a large role in my life, but it was with a sense of blind belief that I ejected my AT&T SIM card and gave T-Mobile a shot at being the carrier for my wireless digital life.

Who wouldn’t want to think they could get quality unlimited voice minutes and SMS messages, plus plenty of data, for half the price of the big carriers. I wanted to believe so badly! Yet it was not to be. Even when I had “4G” data, the speed was so slow as to be frustrating, I only had Edge (2G) data in many places, I saw “No Service” way more often than I should, and many attempts to make a plain old voice call left me with “Call Failed”.

By the end of the second day, I couldn’t wait to rush home and reacquaint my phone’s innards with the AT&T SIM card I had left on my desk. Coming back to AT&T (not the perfect carrier by a long shot) was like waking up from a bad dream. Sometimes a bargain just isn’t a bargain. Too bad.

IMAP Push Notification with Boxcar and Procmail

Apple’s iOS supports push notification of new email, but not for generic IMAP servers, and the last thing I ever want to do is set up an Exchange server or switch to Yahoo Mail.

I prefer to run my own mail server, but sometimes I would still like immediate notification of new email messages. The Boxcar service allows you to accomplish this by forwarding your email to a secret address they give you. They then use the Apple Push Notification Service to notify you of the sender and subject on your iOS device.

Now, I certainly don’t want notification for every message, but I do want to know when certain people or organizations have emailed me. If you’re a gmail user, you can play with their filters to try and accomplish this. I use that favorite tool of mail administrators everywhere: procmail.

Here’s an example procmail recipe I use to provide me with selected notifications (make sure SENDMAIL is set to the full path to your sendmail program):

# Send on to Boxcar push notification service certain messages' headers
* ^Subject:.*New.Voicemail*|\
| formail -X"From" -X"Subject" | $SENDMAIL

This way, if I get a voicemail message (I use Telemessage, which does vmail-to-email conversion), a message from my sister, mother, or BFF, or from any address at one of my clients, the From: and Subject: headers are forwarded on to Boxcar, which then sends an immediate pop-up to my phone.

Note that you can send Boxcar the entire message and they promise to throw away the body of the message. I feel better avoiding any possible data leak by sending them the bare minimum of what they need; hence the formail -X"From" -X"Subject", which strips the message of everything but those two headers.

Of course procmail is extremely flexible and you should be able to adjust your .procmailrc file to specify exactly which files to send on to Boxcar. Note that Boxcar also provides many other notifications besides email, such as Twitter mentions and a whole lot more.

SoCal Smart Card Implementations Not Smart

In May of 2002, I arrived at the airport in Hong Kong and bought an Octopus Card so that I could get around the city. This was the first time I’d used a transit smart card, and it worked perfectly. You just tap it once when boarding the train or bus, and tap it again when you get off, and the proper fare is deducted. It is also accepted at many convenience stores.

Since then, I’ve used similar systems in Japan (Suica), Korea (T-Money), Singapore (EZ Link), China (公交卡), Taiwan (EasyCard), and England (Oyster). I’ve never had a problem with any of these systems.

I believe the implementation of the Oyster Card is especially well thought-out. You don’t have to decide in advance if it makes more sense to buy a daily pass or to pay for each journey, as it will never charge you more than the price of the day pass. This is key. You want to make it as easy as possible for people to use public transit, and not forcing them to make decisions is a good way to accomplish this. Just use the card, knowing you’re always paying the lowest fare. Along these same lines, the Oyster Card gives you a much lower fare than when paying cash, further pushing adoption of this technology.

In 2001, the San Diego Association of Governments (SANDAG) signed a contract with Cubic Transportation Systems, the same company that provided the smart card systems in England and Singapore, among many other places. Likewise, in 2002, the Los Angeles County Metropolitan Transit Agency contracted with Cubic for a similar system.

Yet here we are 10 years (and countless millions of dollars) later, and neither system has been fully and properly implemented. To wit, this quote from the pages of the Culver City bus system:

How do I transfer from one Culver CityBus to another Culver CityBus using a TAP card?

Simply tap your TAP card on the farebox. The base fare will be deducted from your card. Ask the Culver CityBus Operator for a Local Transfer and tap your card again to pay for the transfer. The Operator will then give you a paper transfer.

Excuse me??? This is a smart card! You should just be able to tap the card and have your fare deducted. If you use it again within the allowed transfer period (and it’s not a return trip), it should just deduct the price of a transfer. When the procedure to use a smart card is way more complicated than paying cash, something is very wrong.

The usefulness of L.A.’s TAP Card runs into more problems in those cases where you might exceed the price of a day pass. Even though they use the same technology as the Oyster Card, there is no daily cap. If you make many trips and just keep tapping your card, it will continue to deduct the full fare each time. So you must decide at the beginning of the day whether to buy the day pass or not. And if your trip starts at a subway or light rail station, no longer can you just tap on the fare gate or platform pedestal. Instead, you must wait in line at the ticket machine and purchase a day pass which is then added to your card, again completely negating the convenience of the smart card!

Things are no better in my hometown of San Diego and their Compass Card. Instead of a daily cap, they have set their systems to sell you a day pass by default. If you are at a trolley station and just want to make a one-way trip, too bad. You can’t use the pedestals and must line up at a ticket machine, unless you don’t mind paying $5 for a one-way trip. On the buses, you are supposed to be able to tell the driver before you tap your card that you want a one-way fare instead of a day pass, but in practice, when I do this, it still deducts the $5 cost of a day pass.

Commuting to and from work for me normally requires just two $2.25 one-way trips, and I don’t relish making a daily 50-cent donation to the local transit agency. But sometimes I decide to go somewhere after work. Again, a London style daily cap would work great and encourage me to use transit more often, as there would be no fear that I’ll end up spending way more than it costs me to drive.

There are several other problems with the San Diego system.

One is the slowness of the card readers. Bus boarding is severely delayed by the fact that it takes almost two seconds for the response to each card tap. Why oh why? L.A. uses the same fare boxes and the response is immediate, as it is too on MTS’s contract buses.

[2013-08-20 Edit: Interesting that an article I read concerning RTD Denver’s new smart card system said that they decided not to buy the integrated GFI fare boxes that MTS uses because “integrated machines would take too long to process a bus-boarding transaction” Hmmm. Ref:]

Also, despite the day pass supposedly being good until the end of service, it’s actually coded to end at 23:59. If you board a bus after midnight (I’m a late-night person, so this isn’t so unusual for me) and tap your card, it charges you for a day pass for the following day. (The same thing happens with their paper day passes. If you insert it after midnight, it eats the pass and doesn’t register as valid.)

Keep it simple. I should just be able to tap my card every time I get on a bus or train and know that I’m always getting the best fare. The easier it is, the more likely I am to use it. With the card set to auto-charge, it even feels like it’s free!

It can’t be that hard to get all this working. It’s just a matter of software. I can’t believe it’s been a whole decade, and while cities around the world have successful smart card implementations, here in Southern California they are still struggling through political and technical challenges to get everything right.


Lindows at Barnes & Noble

I had read that bookstores have drastically cut down on the number of computer titles stocked, and this was definitely in evidence on a recent visit to Barnes & Noble.

In fact, there was more shelf space devoted to Linux than to the operating system emanating from Redmond.