Archive | May, 2010

Subway Has Decided to Tessellate Cheese

What began as a funny web comic back in 2007 has finally become company policy at Subway — it looks like you no longer have to suffer having your cheese stuck corner-to-corner, but instead they will arrange them in an up/down fashion so they fit together giving you full-cheese-coverage! This all started with this web […]

Read full story Comments { 0 }

Dealing with Facebook Privacy Issues

If you are on Facebook (that was addressed to all 130 million of you) and you aren’t happy with the changes Facebook has been making to the privacy settings in order to best expose your information to advertisers, don’t worry, they are on your side… sort of. I got a kick out of this: (Click […]

Read full story Comments { 0 }

Tommy Carruthers – Incredibly Fast Fighter

For those of you that are fans of martial arts you’ve probably watched all the Bruce Lee “speed” videos on YouTube where you can see how fantastically fast Lee is. This is a video of Tommy Carruthers that looks to be pretty damn fast as well when demoing strikes: Watching another compilation video of his though […]

Read full story Comments { 0 }

Finding and Removing Hidden WordPress Hacks

I’ve run a handful of WordPress sites over the last 4 years and half of them have gotten hacked at one time or another. The hacks were always of the “Put a hidden IFRAME in the WordPress page/theme files” type that end up hosting/serving spyware/malware from my sites. This inevitably leads to the black-listing by […]

Read full story Comments { 1 }

Memorial Day Musings.

I think I’m just kind of annoyed, so I am going to ramble about it while sharing my attention with 15 Bodacious Bathrooms – a show that really deserves a rant of its own.  People with slightly outdated but well-appointed bathrooms bitching about how UGLY their bathrooms are, and spending untold amounts of money to […]

Read full story Comments { 24 }

IntelliJ IDEA Tip: source release 1.6 requires target release 1.6

If you are an IntelliJ IDEA user and you are using Maven in your project, chances are you may some day run into this incredibly cryptic and confusing message: Error: javac: source release 1.6 requires target release 1.6 Googling it digs up a few approaches to solving the problem as well as some IntelliJ IDEA […]

Read full story Comments { 36 }

The Ultimate Email Regular Expression

Regular Expressions (regex) – damnable little expressions written in seemingly non-sense notations used by software developers to extract value from text. At least that is what they look like on the outside… One of the most popular uses of regex’s by programmers is to validate information typed into forms on web pages, like email addresses. Actually, validating […]

Read full story Comments { 1 }

Web Comics That Will Make you Laugh-Poop

If you enjoy yourself an occasional web comic and tend towards the new style of unnecessarily childish-drawings with over the top dialog you’ll really enjoy Matthew Inman’s “The Oatmeal” or Allie Brosh’s “Hyperbole and a Half“. A few of my favorite The Oatmeal comics are “Why We Should Be Eating Horses Instead of Riding Them” […]

Read full story Comments { 0 }

Ardi Rizal: The 2-year-old Smoking Baby

Thanks (I think?) to Preston Lee for sending in a link to a story by The Sun about Ardi Rizal, a 2-year-old addicted to smoking after his father gave him his first cigarette to try at 18-months. I’ll let you digest that first sentence… Ardi’s mom, Diana Rizal (26), “weeps” that her child is addicted […]

Read full story Comments { 0 }

Funny Opera Browser Speed Test

I suppose Google put together a Rube-Goldberg “speed test” of the Chrome browser and Opera decided to 1-up them with what I found a hugely entertaining and funny “Opera Browser vs a Potato” speed test video. A lot of what I found to be gold about this video was that it’s more like an SNL […]

Read full story Comments { 0 }

Patrick’s 10 Favorite Current TV Shows

With Lost and 24 ending this past week and the veritable blood bath that was this season’s cancellations with losses so deep that even Law and Order ended its 20 year run, I found myself left unsure of what my favorite show was and that left me in the sort of listless contemplation one only […]

Read full story Comments { 1 }

Git Tip: git config and for local (not global) config

Git is a source-control tool used by software developers. As I’ve mentioned I’m just learning the ropes of Git and as someone doing that I’m going through a lot of tutorials that have a lot of similar-looking tips. One in particular is the use of: git config –global “Your Name” git config –global […]

Read full story Comments { 3 }

Sorcha Faal Article on BP Spill Warns of ‘Toxic Rain’ Wiping out the US

Update #2: The BBC has an excellent set of 7 animated slides showing what the drill site looks like and how “top kill” will work — I give BP a bit more respect, this doesn’t look like an easy thing to do. A report written by Sorcha Faal (a group of proclaimed light-bringers-to-dark-places) titled “Toxic […]

Read full story Comments { 4 }

Git Tip: git push ‘No refs in common and none specified’

Git is a source-control tool used by software developers. I recently switched from Subversion to Git and while things have been mostly smooth, there have been a few “WTF?” moments. I am going to try and blog the few beginner ones I ran into in hopes of helping anyone else. Today I ran a ‘git […]

Read full story Comments { 42 }

New TV Show Trailer – The Hard Times of RJ Berger

MTV has a new script-based comedy show coming out called “The Hard Times of RJ Berger”, the trailer they put together was pretty clever: I thought it was a trailer for a new season of Hung at first.

Read full story Comments { 0 }

WordPress Posts to FaceBook Fan Page

There are a few WordPress plugins out there (e.g. WordBook) that help you cross-post your WordPress blog posts to your FaceBook Wall, but in our case (and other’s) you want to cross-post your WordPress posts to your FaceBook Fan page, and not the wall. But how do you do that? onecoolsitebloggingtips has 5 excellent tips […]

Read full story Comments { 1 }

It’s a Dead Man’s Party!

Who could ask for more? I am not a doctor, nor do I play one on TV.  It is also a fair and arguable point that my interest in human beings primarily relates to the intricacies that make up the sum total of the person and how one’s consciousness might survive physical death.  Ghosts, remember?  […]

Read full story Comments { 6 }

Lost… so Lost…

Update #2: There is an excellent description of what the show was all about in Update #2 Cont below… NOTE: This post contains Lost spoilers. If you haven’t watched the last episode yet, please be aware of that and continue reading at your own risk. NOTE #2: I’m super-cereal guys, this post contains spoilers about […]

Read full story Comments { 1 }

Increase WordPress Performance on Apache with Worker MPM, PHP and mod_fcgid

This is a continuation of two previous posts about Apache performance running PHP-apps like WordPress. One was on running PHP via CGI and the other was on running Apache with the thread-based “Worker” MPM instead of the default “Prefork” MPM. As mentioned in the other posts (incase you don’t want to read them… I don’t […]

Read full story Comments { 15 }

You’re Ugly and Your Drama Dresses You Funny.

Of course, I am talking about PARA drama. For the uninitiated, para drama is a stupid term invented to define an even stupider thing.  That stupid thing being the ridiculously disproportionate amount of infighting, backstabbing, trickery, chicanery, and downright lying that members of a so-called “paranormal community” commit towards each other with more regularity than […]

Read full story Comments { 53 }

How to Enable Apache Worker MPM in CentOS / RedHat / Debian

I am reposting this tip because it took me a few hours to Google for it (likely using the wrong terms or combination of terms to find it) and then had a huge “duh!” moment when I saw the answer. If you are on CentOS / RedHat / Fedora and want to run Apache with […]

Read full story Comments { 7 }

Optimizing WordPress Page-Load Pauses with PHP-CGI

For the last 6-months I’ve been trying to deal with mysterious “page load pause” issues with WordPress on my Apache/prefork/mod_php setup. Server load was low, hardware was a 4GB 2-core machine, spent 4 months of that time tweaking MaxClients and other Apache prefork settings until I finally gave up. The behavior I was seeing is hitting […]

Read full story Comments { 3 }

WordPress (PHP, Sendmail, Postfix) Keeps Sending Mail to Local Spool

Description of Problem You are running WordPress (or some other PHP-application on Linux) and you host your email with Gmail or Google Apps hosted account. Unfortunately, every time you try and generate an email from WordPress and send it with Sendmail or Postfix (on CentOS, Debian, whatever) it always ends up going into your local […]

Read full story Comments { 0 }

Tip for TimThumb (thumb.php) not Generating Thumbnails

This tip is for anyone using TimThumb (aka “thumb.php”) either directly or indirectly via a WordPress theme (WooThemes uses it a lot) and is not having their thumbnails successfully generated. I have run into this 3x in the last few years and ever time I forget the solution and have to re-find it, so I’m […]

Read full story Comments { 291 }