Posts tagged with “”

Feed Problems

It was pointed out to me this morning that my feed, currently run through Feedburner, wasn’t working properly. I created that problem when I upgraded my site software (the new version provides a different feed URI), so it seems that none of the posts I’ve written since the upgrade have been getting through to aggregators. I don’t know how that managed to elude my notice, but it did.

Everything should be corrected now, so please check the site if you don’t see those posts appear in your reader. There’s been a fair amount of activity – 10 posts, to be precise – in the last week or so including the posting of my Ant script and instructions for sync’ing Firefox across multiple machines using Dropbox. Good stuff. Really. You don’t want to miss it. :-)

Apologies for the inconvenience.

Thinking in Subversion

I just spent more time than I should have needed to spend learning that svn revert is so not the same thing as git revert.

I had modified a page in my working copy while trying to track down and understand the nature of an error. Once I figured out what I needed, I wanted to get my working copy of that file back to where I started. Having been a Subversion user for so long, I immediately tried to revert those changes. Wrong. Then I tried git reset only to find that while it works on entire repositories, it doesn’t work on individual file paths. At a loss, I turned to Twitter and, once again, Twitter delivered.

Thanks to Ben Kutil and Brad Greenlee, I learned that git checkout is what I needed. That never even occurred to me and, honestly, I doubt I would have tried it even if it had occurred to me. I’d have assumed it would throw an error. In the git paradigm, of course, it makes perfect sense that no error is thrown, but I’m still ascending that learning curve. I’m still thinking in Subversion.

The Lingering Effect of Daylight Savings Time

I just spent the better part of the last 2 hours or so (plus a little time away to refresh my brain cells) trying to figure out why the following statement wasn’t behaving as expected:

$text = strlen ( $_POST['text'] > 0 ) ? $_POST['text'] : uniqid ( rand(), true );

Oy. Some nights just aren’t made for writing code.