Archive for August, 2009

Coding for the unexpected

by Josh Fraser on August 31, 2009


You could write a piece of code, run it a million times, wait ten years, run it again and get exactly the same results.  At least that's what I used to believe. One of the things I love about computers is that they are boringly consistent.  Given ...

My wish list for Facebook

by Josh Fraser on August 29, 2009


I'm a big fan of Facebook.  It's one of the few services I use every day and I find it to be invaluable for keeping up with people. One of the results of using any service a lot, is that it makes it really easy to point out the flaws and features that ...

Restarting mysql master-master replication

by Josh Fraser on August 22, 2009


These are the steps for restarting master-master replication where replication has stopped due to a slave IO issue.  You can tell if this solution applies to you by typing "show slave status\G;" at the mysql prompt.  If "Slave_IO_Running: No", on one ...

Choosing your audience

by Josh Fraser on August 21, 2009


For every blog post I write, I pick an audience. For me, it boils down to two options: the first is to write for my RSS subscribers, my loyal readers, my friends, my community.  The second option is to write for strangers, random people searching ...

Splitting names

by Josh Fraser on August 17, 2009


Update 8/18/09: This project has been moved to Google Code. Please visit http://code.google.com/p/php-name-parser/ for the latest version. The quest I'm on a ongoing search to find the best algorithm for splitting a full name into a first name ...

Stop flash from covering HTML content

by Josh Fraser on August 13, 2009


Browse through a few developer forums and you will find lots of people pulling their hair out over flash content covering up their dropdown menus or modal windows.  The problem is especially bad in IE (surprise, surprise). The fix is actually quite ...

Search plugin for Google Caffeine

by Josh Fraser on August 10, 2009


I read on Mashable and TechCrunch tonight that Google has released a developer preview of the next version of Google (code name Caffeine).  Wanting to try it out, I did a quick search to see if I could find a search plugin for Firefox.  Finding none, ...