Notes & Commentary

Smaller thoughts and bits not big enough for the Front Page.

RSS Trouble – Feed should now be fixed

August 20th, 2010 · No Comments

I’d upgraded my site to use WordPress 3.0 about a month or two ago, and until now I hadn’t noticed that it’d messed up the custom RSS plugin I use. The RSS feed for the site was showing zero posts! Yikes!

Well tonight I spent some time and got everything fixed  - upgraded the plugin, re-customized, re-tested. However – for about 30 minutes tonight my site’s feed was listing not only my blog posts, but was also including my bookmarks! That means if you’re one of the lucky few who’s RSS reader refreshed during that blessed half hour, you likely be seeing 20+ “posts” from me. While each of those bookmarks are assuredly awesome – I did not, in fact, go on a hellish post-writing spree – apologies for possibly spamming your RSS inbox with my bookmarks.

And apologies all around for 2 months of broken RSS + a hectic 30 minutes of too much RSS. I believe that everything should finally be back in working order. Please let me know if you notice any oddness.

All that said, if you are interested in reading what I’m reading, then head over to my bookmarks section or subscribe to them as well.

Post to Twitter Tweet This

Fixing “phone number detection not supported” warning in XCode

August 12th, 2009 · 5 Comments

I’m working on an iPhone app for WelcomeToYourMac, and during compilation I kept getting a warning saying:

warning: Turning off phone number detection is not supported on iPhone OS versions prior 3.0.

I couldn’t find the answer on Google, so I kept poking around in Interface Builder until I finally found the answer, and I thought I’d go ahead and share it here – just in case your as compulsive about squasing warnings as I am!  :-)

First I double checked my build properties were all set to iPhone OS 3.0. right click on your target

picture-37

to show and click Get Info to show:

Build Properties

Once confirmed, I opened the problematic .xib in Interface Builder and found the culprit. Press the unassuming info button Info Button then set the Deployment Target for that specific .xib!

Deployment Target

It had been set to OS 2.0. Switching the .xib’s target deployment to 3.0 fixed the problem.

Easy!

Post to Twitter Tweet This

Sour makes one incredible music video

July 13th, 2009 · 2 Comments

My dad just sent me this link to an awesome Japanese pop band’s music video. It was created nearly entirely by Sour’s fans, and features some impressive coordination on their part. Very cool.

See more funny videos and funny pictures at CollegeHumor.

Post to Twitter Tweet This

Juniper VPN with 64-bit Ubuntu

June 16th, 2009 · No Comments

Benjamin Sherman just put up an awesome post about how to get Juniper VPN working on 64-bit Ubuntu. I’m working remotely for the next 3 ish weeks, so this has saved me. I had been using my MacBook since it was the only box I had that was VPNable, but now I’m connected with my [much much much faster] Ubuntu box, and can happily revert my MacBook back to being a gigantic iPod. Awesome!

Post to Twitter Tweet This

Quirks with JavaScript String .replace() and regular expressions

June 4th, 2009 · 4 Comments

I was doing a global replace on a string using JavaScript String’s .replace() method, and I saw some funny behavior I thought was worth noting.

Given the following sample code, what do you expect the output to be? (Hint: notice the whitespace in the string and regex)

var str="Visit Microsoft Microsoft Microsoft !";
document.write(str.replace(/ Microsoft /g," W3Schools "));

Until today, I was expecting: “Visit W3Schools W3Schools W3Schools !” but wouldn’t you know it, the result is actually “Visit W3Schools Microsoft W3Schools !”

All of you regular expression ninjas probably knew that already, but it was news to me! :-)

Post to Twitter Tweet This

Google’s Auto-suggest is Feeling Lucky

May 22nd, 2009 · 1 Comment

Google's autocomplete results with the first link

Google’s auto-suggest feature now displays the first search result as the first item in the drop down.

Since the colors in the auto-suggest drop down are the same colors used in the sidebar ads on the results page, my knee-jerk reaction was naturally “how dare you put ads in my auto-suggest!” After a bit more poking, I realized it’s just showing the first search result of the first auto-suggested term as the first option in the auto-suggest.

I’ve never seen a site mix search results with auto-complete functionality, but I’ll be honest: I love it. Google: go give whoever’s idea this was a raise.

Post to Twitter Tweet This

Obama to seek [whopping] $17B in budget savings

May 6th, 2009 · 1 Comment

WASHINGTON (AP) — After a line-by-line scrub of the federal budget, President Barack Obama has signed off on a roster of 121 budget cuts totaling $17 billion — or about one-half of 1 percent of the $3.4 trillion budget Congress has approved for next year. (emphasis mine)

Obama, I refuse to believe that you even tried.

Post to Twitter Tweet This