Search Results

Donate at least $25 to LLS, get a special gift from me.

As of today I’m at 62% and less than $1,000 to go to make my Team in Training fundraising goal of $2,400 by the end of this month. Sales through my Amazon storefront have slowed down a bit. So I’m making this offer to my readers and Twitter followers: Donate at least $25 (My LLS page, [...]

As of today I’m at 62% and less than $1,000 to go to make my Team in Training fundraising goal of $2,400 by the end of this month. Sales through my Amazon storefront have slowed down a bit. So I’m making this offer to my readers and Twitter followers:

Donate at least $25 (My LLS page, or use the widget to the right) and you will receive a special gift from me. A real, tangible thing, not just a Thank-You email (though you’ll get one of those, too!). What is it? It’s a surprise, but I guarantee you’ll like it. Just make sure you include a mailing address in your donation.

Thanks again for your support and GO TEAM!

 

Comments off

So you’ve decided to follow me on Twitter

(with thanks to Ana Marie Cox for the post title) I suppose the first question to be answered is, which “me” are you following? There are at least four. Yes, I know. Sigh. @smartwatermelon is my first, original Twitter account. It’s public, so anyone in the world can read my Tweets and follow me if [...]

(with thanks to Ana Marie Cox for the post title)

I suppose the first question to be answered is, which “me” are you following? There are at least four.

Yes, I know. Sigh.

@smartwatermelon is my first, original Twitter account. It’s public, so anyone in the world can read my Tweets and follow me if they so desire. Nowadays @smartwatermelon is the account most closely associated with my job at HP/Palm–many of my recent followers are (directly or indirectly) a result of this Tweet from Lisa Brewster (@adora) of Palm’s Developer Relations:  

Welcome to @, @! He started today as SDK Tools Engineer and will be working closely with @.
@Adora
Lisa Brewster
That, on my first day at HP/Palm, gained me around 100 followers almost immediately and since I’ve been active in the webOS Twitter community I’ve picked up a few hundred more.

@smartwatermelon is also (sort of, a little bit, in some circles) known for being name-checked on The Rachel Maddow Show as a result of this Tweet, retweeted by Rachel herself and actually displayed on the show. I’m still gobsmacked over that one. 

Finally, as my primary public account, it’s the one to which I have various social-network services tied. You’ll see Tweets from Foursquare, GetGlue, Twitpic and Untappd. Quite a lot from Untappd, actually. It’s also the account which is shown in the Twitter widget in the right column of these pages.

So: techy stuff with an emphasis on mobile devices, Macs and general geekitude; politics, especially the liberal/progressive kind and especially the ridiculous aspects of such; social-network checkins; and beer.

The name? Oh, the name comes from a watermelon-flavored soft drink made by the Coca-Cola company that’s only sold in China but can be tasted at Club Cool at Epcot in Walt Disney World and also at the Coke Museum in Las Vegas. Well, you asked.

Interested? Intrigued? Inchoate? Follow smartwatermelon on Twitter


@swm_photos is a special account I use for live photoblog updates using my EyeFi card. When I take my camera, phone (for tethered Internet access) and EyeFi card on a photowalk, the resulting pictures are uploaded in nearly realtime and tweeted to @swm_photos. This is mostly so I don’t overwhelm @smartwatermelon followers with quick-succession tweets. I’ll tweet from @smartwatermelon when photos are forthcoming to @swm_photos. Follow swm_photos on Twitter


You’ve come here from a link from MousePlanet–one of my (infrequent) articles, the Twitter widget on the MousePlanet home page or perhaps you met me at at Disney park? You want @MPAndrew, my public account for MousePlanet, Disney and related Tweets.

I’m far less active on @MPAndrew than on @smartwatermelon (which might be a good thing) but if you want to know what I’m doing in the Disney-related Web arena then @MPAndrew is the account for you. It gets busiest around the time of our semi-annual MouseAdventure events and whenever I’m at or near one of the parks. I also occasionally tweet about some of the “backstage” or behind-the-scenes technical aspects of my work on MousePlanet.com. Follow mpandrew on Twitter


Not enough? You want to know the real me? Then @andrewmrich is the account for you. This one, however, is a private account. That means Tweets from this account aren’t visible to anyone I haven’t allowed to follow me.

My use of @andrewmrich is much more of a long-term, very high-latency conversation among friends who already know each other. If you already know me in real life (and it’s not from work or from a Disney connection) then feel free to put in a follow request.

Follow andrewmrich on Twitter

I keep the followers down to a minimum on @andrewmrich, though, to keep the conversation at a comfortable pace, so don’t be offended if I don’t approve it. Just scroll up to the top of this post and re-read the clever and witty descriptions of my other three accounts again.

And thanks for reading.

Comments off

What I’m Avoiding: Oh boy.

The current contents of my to-do lists. Some of these things have been hanging on for months. I apologize for useful-only-to-me abbreviations. The to-do list TECHY STUFF Sync manager thingie fix MP guide hotel pages / menu structs MP mobile guide pages full MP CSS to mobile MP MP mobile mirror misc URLs write “welcome [...]

The current contents of my to-do lists. Some of these things have been hanging on for months. I apologize for useful-only-to-me abbreviations.

The to-do list

TECHY STUFF

  • Sync manager thingie
  • fix MP guide hotel pages / menu structs
  • MP mobile guide pages
  • full MP CSS to mobile MP
  • MP mobile mirror misc URLs
  • write “welcome to mobile MP” article
  • @MP theme based on MP.com
  • new countdown code in Pad
  • new theme in Pad
  • full Pad CSS to mobile Pad
  • hack importing old updates
  • add Pad mobile forum collapse
  • sexybookmarks in Pad
  • add ads to Pad mobile
  • move social-network to rightnav
  • MP menus (HTML5 “nav”)
  • add intelligent URL detection to PCG
  • improve Twitter box on MP main page: http://ukijs.org/
  • automate/template MP DLR update hours/refurbs
  • implement Twurl & OAuth for Tweet-from-CMS
  • set up new external drive
  • set up guest room media
  • clean MBP keyboard
  • migrate PIRR
  • migrate Box of Kittens
  • migrate MPA HOA blog
  • fix GreaseMonkey script

GENERAL TODO

  • update Craigslist glass post
  • get car washed
  • look into GTD or similar
  • find reseller for car nose protector parts
  • call XM
  • call DirecTV
  • laundry
  • drop off dry cleaning
  • cat boxes
  • fill cat water dispensers
  • check 401k funds


Powered by Plinky

Comments off

Why a Web page is like a blueberry pie

Yesterday afternoon I Tweeted this: I thought it might be worth explaining what I was talking about, using a metaphor lots of people would understand. So, consider a blueberry pie. To bake a blueberry pie, you assemble your ingredients, do some mixing and combining and stick it in the oven. Let’s say, though, that after [...]

Yesterday afternoon I Tweeted this:

Poking the DOM with PHP. I know YOU all knew about it but *I* just found it and it's wonderful.
@smartwatermelon
Andrew Rich

I thought it might be worth explaining what I was talking about, using a metaphor lots of people would understand. So, consider a blueberry pie. To bake a blueberry pie, you assemble your ingredients, do some mixing and combining and stick it in the oven. Let’s say, though, that after the pie is out of the oven and cooled, a picky young man with short blond hair says “but Mom, I wanted cherry pie!” Being the outstanding parent you are, you lift the top off the pie, pick out every single blueberry and replace them with cherries. (I know, just go with it.) Remember that, it’ll be important in a few minutes.

On another day, you’re preparing your pie ingredients when the aforementioned picky young man again requests a cherry pie instead of blueberry. This time, you can replace the blueberries with cherries before mixing the ingredients and baking the pie. Same result, but one is clearly easier and less disruptive on the final product.

Finally, the pie is done and you cut a slice. Look at the cross-section of that slice of pie. You have a crust, filling, berries, maybe some ice cream or whipped cream on top. That’s the structure of the completed pie that’s ready to eat.

How does this tasty metaphor apply to Web pages, and specifically to my not-entirely informative Tweet?

A Web page, like a pie, has a structure that can be examined. It has text, images, colors, different fonts, maybe some embedded video clips. These are all elements that make up the structure of the Web page. This structure is called the Document Object Model, or DOM–for purposes of this post it’s not important what that means, but where you see “DOM” you can read “bits and pieces that make up a Web page.”

Let’s say you want to change one of these elements. You could do it after the page has been loaded (the Web browser is showing the page) or you could do it before the page has been sent to the Web browser. Changing the elements of the Web page after it has been loaded is usually done with JavaScript, which is code that runs in the Web browser and is analogous to removing the blueberries after the pie is baked. Changing the elements before the Web page is sent to the browser is, in this instance, done with PHP, which is code that runs on the Web server. This is like adjusting the pie recipe before mixing the ingredients.

The major difference, and why I was excited to discover this capability of PHP, is that adjusting or changing the Web page after it’s been loaded (with JavaScript) is about as simple as removing blueberries from a fully-baked pie. It depends on the capabilities of the Web browser viewing the page and in some cases of the OS running the Web browser. It also adds to the total amount of data sent from the Web server down to the browser (all content [text, images, video, etc] plus the extra code which runs after the page has loaded) and is just generally inefficient.

On the other hand, the ability of PHP to change the contents and structure of a Web page while its still in ingredient form and hasn’t been mixed and baked means that what’s sent down to the Web server is already what I want it to be and I can tweak it as much as I need to before it’s served.

This is a drastic oversimplification, of course–there are plenty of good reasons to fiddle with the DOM using JavaScript once the page has loaded; Web applications like Gmail, Twitter and even WordPress use this capability all the time to change, add or delete elements of the page without making a round trip back to the server. There are also lots of applications where large-scale preprocessing is done on the server with PHP and final tweaks are done in the browser, often depending on the specific browser and version being used. However, the pie metaphor does make a good high-level explanation of this aspect of Web page development.

At least, I think it does. What do you think? Comments welcome.

Comments (1)

I never believed #Plinky would be back!

Plinky Then I saw Jolie O’Dell’s Tweet: WordPressjust bought Plinky from Thing Labs. Nice work, @shellen and @photomatt! http://bit.ly/bIPWY4less than a minute ago via TweetMemeJolie O’Delljolieodell And then I got my first Plinky prompt today. Welcome back!

Plinky

Then I saw Jolie O’Dell’s Tweet:


WordPressjust bought Plinky from Thing Labs. Nice work, @shellen and @photomatt! http://bit.ly/bIPWY4less than a minute ago via TweetMeme

And then I got my first Plinky prompt today. Welcome back!

Comments off