Archive for March, 2010

benny bracelets

March 19, 2010 in benny.bracelets,life | Comments (0)

the tools.

the tools.

In 2002 I made a bracelet for a friend of mine. I’d worn them on my own wrists for ages as reminders to myself, and he wanted one. They’re simple: 3 strands of floss (the kind typically used for cross-stitch) braided together.  I wear earthy colors, or reds, unless the colors need to be something specific.

Sitting in the Denny’s booth I pulled out my bag, told him to pick colors that reminded him of the things he wanted to remember, and handed him the box with all of the floss.

He picked three different shades of purple. I still don’t know what he was trying to remember.

He wore it for the better part of two or three weeks before the reason he liked it so much hit him. He called me up one day:

“You know that bracelet you made me?”
“The purples braided together?”
“Yeah, thank you for that.”
“No problem, but you’ve said thank you before. What’s different today?
“Today I was bummed out, I saw the bracelet, I remembered you and it made me smile. That’s some kind of magic.”

They weren’t named until shortly thereafter.  I made one for another friend, one who peripherally knew the first.  They ran into each other on campus, and spotted the bracelets on the others wrists.

Is that a benny bracelet?

Yeah, is that?

Yeah.

In that moment I was immortalized.  That year was an especially hard year for many of my friends, so I made many bracelets.  It solidified our bond, and created a small group of very close friends.  Too, during the months that followed, I started to fully understand the power of small reminders.  The bracelets had meaning for me, but never did they work so well as for my friends.  Every time they caught the bracelet in their field of vision, they thought of me and smiled.  Their day got better, just by seeing the bracelet, and knowing they were loved.

It’s been a while since I wore them regularly, or made them for anyone else.  I finally have a bracelet on each wrist again, but I haven’t made any for anyone else in years.

If things go the way they have started this year, no one will *need* the boost they provide, but it’s always good to know you’re loved.

reinvention.

reinvention.


Team.

March 16, 2010 in work | Comments (0)

This is exactly what I think sets the leaders of Liquid Web apart, I think. We’re full of ‘can’, instead of the ‘can’t’ that he talks about.

Seth Godin: We Can Do it

“Just about everything worth doing is worth doing because it’s important and because the odds are against you. If they weren’t, then anyone could do it, so don’t bother.”

We, too, get caught up in the details of things and use them to prevent forward motion, instead of motivating us. We have to remind ourselves: everything has details. They are just as important as the big picture. Conquer them, complete them, and move on.


How I start my day.

March 9, 2010 in life | Comments (0)

My dirty little secret: My google reader list is a mixture of people I know, marketing gurus, comics, and sysadmins. XKCD, Seth Godin, PictureUnrelated, StandAlone Sysadmin. They are all there for a specific reason. Remember to laugh, remember to push yourself. Remember that every other person worth knowing is out there, doing exactly the same.


WordPress and Caching.

March 5, 2010 in tech | Comments (3)

Tags: ,

WordPress is one of my absolutely favorite pieces of software. It’s so simple, relatively intuitive, and knows exactly what its goal is. It’s elegant, one might say. For all of its splendor, however, it can be a serious resource hog. The fact that it is database driven means, given the right conditions, a WordPress site could cause significant load on the server that hosts your blog. You don’t understand what that means, you say? Well, allow me to explain it to you.

Every time you load a website, hosted anywhere on the planet, you are loading a series of files. Sometimes those files can reference other files, or (as in the case of a WordPress blog) databases. A database, as defined by wikipedia, is “an integrated collection of logically-related records or files consolidated into a common pool that provides data for one or more uses.”

While I could write an entire entry about the merits of good database organization (and I may later) suffice it to say: when you load the front page of bennycrampton.com, you hit the database for this blog (at a quick count in the source code) no less than 15 times, and load at least 5 different files. If my site were popular, with a modest 30 hits-per-minute (hey, a girl can dream!), my server would be serving 150 files, and getting content from the database 450 times, every minute.

That’s a lot.

The reason that’s a lot is not memory use, and not CPU use (though those might both come in to play depending on the plugins used on the site), the reason you will start to see problems with that is a thing called Disk I/O Wait.

Without getting too technical: Disk I/O (or Input/Output) is the writing to, and reading from, a hard-drive. No matter how awesome or fast your harddrive is, it can still only do one thing at a time: specifically reading or writing to a single file. This is where the ‘wait’ part gets involved. The more disk I/O is occuring, the longer a programs wait times become. How long, depends on a lot of things, but the things I’ve seen effect it most:

1) Extremely active databases.
2) Poorly designed slightly active databases.
3) {a large group of other things}
4) Failing drives.

So… with all of this potential fail, how do you keep your server stable, your site up, and your wallet *not* empty?

Enter Caching!

Caching (from wikipedia): “In computer science, a cache (pronounced /?kæ?/ kash) is a component that improves performance by transparently storing data such that future requests for that data can be served faster. The data that is stored within a cache might be values that have been computed earlier or duplicates of original values that are stored elsewhere.”

That’s right! All of the sudden that 150 file and 450 database reads go down to 1: the page that was generated previously and stored in cache. I cannot adequately express how much of a difference caching makes. I have seen servers serving a single site that got Dugg go from repreatedly crashing to serving 7Megs of traffic, just by enabling caching.

While WordPress doesn’t have any built-in caching, a number of 3rd party developers have created caching plugins for WordPress which offer various levels of simplicity and control.

http://wordpress.org/extend/plugins/wp-super-cache/

WordPress SuperCache is the plugin that this site uses. You can control how often the cache refreshes and who gets to see cached pages through the wp-admin interface.

From the site:

This plugin generates static html files from your dynamic WordPress blog. After a html file is generated your webserver will serve that file instead of processing the comparatively heavier and more expensive WordPress PHP scripts.

The static html files will be served to the vast majority of your users, but because a user’s details are displayed in the comment form after they leave a comment those requests are handled by PHP. Static files are served to:

1. Users who are not logged in.
2. Users who have not left a comment on your blog.
3. Or users who have not viewed a password protected post.

http://wordpress.org/extend/plugins/w3-total-cache/

W3-Total-Cache is for a more advanced user, and gives you more fine-tuned control, and can give you even better performance. It can also be coupled with memcached to drastically reduce your page load times.

The fastest and most complete WordPress performance optimization plugin. Trusted by many popular blogs like: mashable.com, briansolis.com, pearsonified.com, ilovetypography.com, noupe.com, webdesignerdepot.com, freelanceswitch.com, tutsplus.com, yoast.com, css-tricks.com, css3.info and others — W3 Total Cache improves the user experience of your blog by improving your server performance, caching every aspect of your site, reducing the download time of your theme and providing transparent content delivery network (CDN) integration.

There are more than these two out there, but the beauty of the majority of them: they are generally all easy to install, and will make both you and your webhost happy. When your site gets dugg, or get slashdoted, or gets posted to twitter by Neil Gaiman, and threatens a #NeilWebFail, your caching plugin will save your site, your stress level, and your uptime.