News for hackers. Stuff that matters.
Re:Decoding the MetroCard, Part 2: Research and Past Attempts by eric_h on Monday July 18, 2016 @09:03PM (#12118899)
This post actually puts to rest (and confirms) a theory that my coworker had when I thought I had a truly unlimited metrocard.

Basically, I bought an unlimited monthly pass from a machine. By the third day of using it, I noticed that every day I used it, the expiration date displayed at the turnstile would advance a day. Obviously, I thought I had somehow become the owner of the golden metrocard that would work forever (I was admittedly optimistic, hoping it would be true).

Several days later, when I had confirmed that it wasn't a fluke and shared the story of my fortunate acquisition of the "golden metrocard" my coworker suggested that perhaps the expiration date stored on the card was null, and the default behavior of the turnstile was to always show an expiration date 30 days out.

Sure enough, when thirty days passed, the card stopped working, and I apparently blew the booth attendant's mind when I asked why the card wasn't working (something about a negative balance or some such, she'd never seen such a thing before).

My coworker was absolutely right, the expiration date was cached on the card (as a null or some other invalid value in this case) and it was then checked against a list of actually expired cards over the network.

Re:Decoding the MetroCard, Part 2: Research and Past Attempts by woodruffw on Monday July 18, 2016 @09:26PM (#12118971)
Do you happen to still have that card? I'd love to see a dump of it (and line it up with known fields circa 2006 on tracks 1 and 2).
Re:Decoding the MetroCard, Part 2: Research and Past Attempts by eric_h on Tuesday July 19, 2016 @10:42AM (#12122054)
I'm afraid not. I'd intended to hold onto it, but it fell through the cracks during a move.