Foxy. Evil, but foxy.

November 1st, 2008

It’s just a bit of fun, so would you?

Next NW Ruby User Group: 20th November

October 31st, 2008

20th November – Pub meet: RubyConf aftermath

This month the meeting will be two weeks after RubyConf so we will all be getting together to discuss any exciting news that may have found it’s way out onto the blogs. Maybe drink some curry and beer too!

Schedule

7:00pm :: Social meeting in The Paramount

Sign Up

If you would like to attend this event, please sign up on the Upcoming event page

Monthly meetups

This month also marks the start of regular monthly meetups. These will be the third Thursday of the month, guaranteed, if no speakers are available the meeting will be social.

The FerretCam

August 6th, 2008

Gem has started a FerretCam. Who knew that Ferrets could be so captivating.

Dear Google…

July 15th, 2008

Dear Google,

When I unsubscribe from a google-groups mailing list please unsubscribe me immediately, not after some arbitrary time delay as I have already deleted the relevant filters and now my Inbox is filling up.

Thank you.

Hyper Text Coffee Pot Control Protocol

July 15th, 2008

Today I discovered the Hyper Text Coffee Pot Control Protocol. There’s a proper RFC and everything, most useful.

 

 

There’s a tiny little orchestra in your iPod shuffle

July 14th, 2008

A conversation between my Wife and I as we were lying in bed listening to  California Love by 2Pac on her new iPod shuffle:

me: Is this TuPac?
her: Yes.
me: Isn’t he dead?
her: Yes, this is a recording. 

Seen on a list recently

June 22nd, 2008

Remember, top-posting because that’s where the cursor happened to be is like shitting in your pants because that’s where your arsehole happened to be.

Q. Does GTA San Andreas work on a MacBook Pro using WinXP and Boot Camp?

June 13th, 2008

A. Yes it does, perfectly and at the highest detail level.

This is going to take a while…

June 12th, 2008

Flushing memcached servers the easy way

June 10th, 2008

This is easy right?  Can’t you just restart the memcached server? Well yes, but you may cause errors in applications that are already connected to it. You can follow your memcached restart with an application restart, eg for a Ruby on Rails app:

# /etc/init.d/memcached restart && mongrel_rails cluster::restart

Of course if you have more than one application server you have to restart your app on every single one. This would work on an engineyard slice assuming you have the eycap gem installed:

$ cap production memcached:restart
$ cap production mongrel:restart

Restarting your application is not ideal however, you will lose anything cached in memory, cause delays to users trying to access your site, that sort of thing.

So what can be done? The answer is really simple. Assuming a memcached running on the local machine on the default port:

$ echo ”flush_all” | nc localhost 11211

Easy!