Category Archives: Ramblings

reCAPTCHA now Google reCAPTCHA, will help Google Books

0 minutes, 23 seconds

Having read the recent post about using reCAPTCHA, our friends over at twtitw sent over this breaking news: Google acquires reCAPTCHA. Google is going to put reCAPTCHA word deciphering foo towards helping digitize books going into Google’s Books project (aka GB) .

Doing some digging around, I turned up an existing side discussion about GB that I thought was interesting. Have a read if you’re the type who likes reading books and is interested in their metadata. Be sure to drop down to a comment from a GB employee.

iTunes iMovie on Lenovo’s new Media Center PC

0 minutes, 22 seconds

Flipping through a recent blog post, I clicked through to Lenovo’s new media center PC, the Q700. Ho hum, another small form factor desktop. Wait…those icons on the features page look familure. Hey! Those are the iTunes (slight color tweak) and iMovie icons (verbatim)!

Here’s the two icons followed by a screenshot with blow up of the icons on the page:
imovie_iconitunes_icon

q700webpage

I’m not getting into any sort of “Apple is better than Windows” or “Linus Rulez”. However, this is just sloppy!

Macchiato!

0 minutes, 17 seconds

macchiatoI will be the first to confess that I love the ritual around coffee as much as I love the the actual drinking of coffee. Today, joining my pal from twtitw, I went to the wonderful Cento Cafe. It was sunny, the two macchiatos looked lovely and I was as happy as, well, as a me drinking phenomenal coffee with a good friend in the sun!

This is what makes a happy Sunday

0 minutes, 16 seconds

Well, this and a good bike ride!

With out really knowing it, I’ve been working my way through the Joy of Cooking’s pancake recipes. I’ve done basic, cornmeal and today was buttermilk. The basic is a bit watery, resulting in flatter pancakes. Today was the opposite, a bit fluffy. However, the fluff made for a great 3d pacman pic.

Plip is no longer a cobblers child

0 minutes, 44 seconds

I work at a software company and do web development there. We have a more or less traditional set up of a dev site (well, a number of them, they’re virtualized under VM Ware) which can then push it’s code to a staging site and that can finally get pushed to a production site. This means developers can break stuff on their own virtualized instance of the site with out mucking up content editors working on staging. In turn, those editors half finished article won’t be seen by any one on the production site.

Welps, thanks to SVN, plip has a copy of the key pieces (home page, blog and URL shortner) in it’s own SVN repository. This means I can check out a local copy via a windows client and have a full dev/staging instance all in one on my desktop at home. Super handy and I should have done it years ago, but I’m just now not being such a lame cobbler!

New news, old open source

1 minute, 33 seconds

Hi faithful readers! Notice anything different about the news on ol’ plip? No? Probably not because there’s been none since December of aught 4. It’s no surprise no one noticed. However, to fight the stale news, encourage freshness, thus garner a new, rejuvenated mass of readers, old open source solutions have taken hold of news: WordPress on our LAMP stack running on Linux! Ok, the last two are not new, but WordPress is and all our news will live there.

On deck in the news section are geeky, bloggy types news: PHP tips and tricks, adventures and places to see, media consumed and ramblings. I guess the last one is redundant, as they’ll all start to ramble.

To give you a taste, here’s the PHP tip of the week: I used to use Magpie RSS to consume RSS feeds I wanted to re-syndicate on another site. Though it does have some nice features like normalizing different feed formats and using a cache file, it was a but heavy to just suck in some news for my own use. In this case, I wanted self syndicate to plip’s home page. Enter the simplexml_load_string() function! I can grab the latest news at the top of my home page:

//prep loading blog contents
$blogURL = "http://".$_SERVER['HTTP_HOST']."/blog/feed/";
$blogRSSraw = file_get_contents($blogURL);
$blogXML = simplexml_load_string($blogRSSraw);

And then further down, I can loop through all the entries and do a little formatting to output the latest news for y’all. Note that each child item (a blog post in this case) is it’s own SimpleXMLElement object. Further note that each key value pair (eg title, date etc.) has a magic “to string” function (which as my co-worker and I found can do unexpected things if you’re print_r-ing).

foreach ($blogXML->channel->item as $post){
	print "link."">".$post->title."";
	print "".strftime ("%d %b %Y",strtotime($post->pubDate) )."
"; print $post->description."

"; }

This tricks works great if you’re consuming search results from a Google Mini search appliance, which is where I first deployed this technique.