I love my Droid X phone. I was a little nervous when I switched from my BlackBerry in July, due to the Droid’s shorter battery life (but giant screen!), largess (but giant screen!), and lack of a physical keyboard (but giant screen!). Clearly, I feel the beautiful, giant screen makes up for this. Not to mention a second battery as a backup.
One thing that always seems to amaze me is how powerful these devices are becoming. I seamlessly transition between devices all day long, and it also allows me to carry my laptop less and leave my desk more without having that unsettling ‘untethered’ feeling.
With that, here’s a cool process story from a few weeks ago. Daniel Bachhuber sent me a message asking why HTML was being filtered on a WordPress import, even though he was disabling the filtering system. (Read his roundup.) I checked his code and it looked fine, so I was stumped and didn’t know what to tell him. Fast forward to that evening, I was in the Metro with Aaron Jorbin on the way to the monthly DC PHP meetup, and in mid-conversation (which was entirely unrelated) it suddenly it dawned on me I was pretty sure that on multisite, we enforced filtering on import even for super administrators. 0
I fired off a quick email with my suspicions. Moments later I opened my Android browser and was browsing the WordPress source (I have it bookmarked, of course), and found the line. Success.
It didn’t stop there. After the meetup, I joined John Bloch 0 and a few others at the bar around the corner. While there, I received a reply from Daniel, and he wasn’t exactly happy that the only way around this was a core hack. I agreed, so I sent a Skype message (again, still from the phone) to Ryan Boren asking about perhaps adding a filter. He liked the idea, so I opened a new browser tab 0 and created a Trac ticket.
Of course, I had to keep going. So I fired up my SSH client, navigated to a checked out Subversion repository on my server, updated to trunk, opened the right files in Vim, and made the changes. After a sanity check from John, I was able to then commit a filter. All from my phone, having not opened my laptop all evening. Fun times.
Development while on the go is something I’ve wanted to attempt for a while — if only just once. Clearly only so much testing can go into it, and it’s certainly not something that will become a habit. Nonetheless, it was a quirky and fun experience, and it’s a testament to how powerful these mini-computers have evolved.
Notes:
As I recall, though, you did have your computer on in front of you when you edited the code and committed the change. Granted, it was only because your battery was almost dead, so you had plugged your phone (with giant screen!) into the computer…
😉
Having SSH on my phone has saved my butt a few times. I wouldn’t want to code full time on it, obviously, but it’s been great not having to have a laptop around in case a server needed to be rebooted or tweak a small bit of code here and there. Plus all the other stuff, like email, browsing, social etc. that’s all become part of my job to keep up with. The thing I’m most excited about in this space though is not where we are but where we’ll be in just another 5 years.
Amen.
And I forgot to mention, this update explains a problem I’ve been having on a multi-site, so thanks for posting this!
So when’s the mobile theme coming for core.trac.wordpress.org 🙂
I only had a few random issues using Trac on my BlackBerry. Namely, I think it was the lack of JavaScript (I never turned on JS or CSS; it was faster, easier and more interesting to browse the plain HTML) that seemed to cause an issue where sometimes a field would be set to itself again. (Example.) So I would browse in the BlackBerry browser, and if I wanted to make a comment, I would switch to Opera Mini.
That said, the Android browser is really slick, and I don’t mind browsing the regular Trac on it. I really do like browsing the real web, and often dislike mobile themes on sites, unless it is a fully featured skin. Most aren’t, because they are designed for a lower common denominator. Trac on the Android browser doesn’t slow me down at all and I post from there more often than you think.
What I really want to get around to writing is a Greasemonkey script that can provide some Gmail-esque keyboard shortcuts. Now that’d be awesome.