Quantcast
Channel: Chris Chandler's posterous
Browsing latest articles
Browse All 14 View Live

Why your technical interview sucks

I really dislike the direction modern technical interviews are taking.  I have interviewed with several companies over the years and I am starting to recognize trends in the hiring community.  One of...

View Article



Simple stats average with CouchDB

Edit: Thanks to Mike Keen for asking about the reduce function. It was wrong in the rereduce case but I was just lazy and hadn't updated it. It should now work correctly in the rereduce case. Basic...

View Article

View collation for join-like behavior in CouchDB

If you've been playing with CouchDB then you have probably run into the problem of having multiple documents that share a relationship, yet are complex enough that denormalizing them together doesn't...

View Article

basic erlang clustering

One of the strongest reasons to consider Erlang for a programming project is concurrency.  Erlang makes concurrency and distributed work dead simple. If you have two nodes, nodex and nodey , and you...

View Article

Converting latitude and longitude to timezones

If you've fought it out with localization(l10n) of timezones then you know it can be a pain in the ass.  Further, suppose your localizing arbitrary information where all you've really been given is an...

View Article


Entrepreneurs: regarding equity to developers

Dear enthusiastic entrepreneur, I would like first and foremost to wish you well on your endeavor. Starting a business is no small feat and you will certainly need all the help you can get to bring...

View Article

Ubuntu JeOS

If you do anything on virtual machines, linux or not, then you should definitely checkout Ubuntu JeOS (pronounced "juice"). JeoS is shorthand for "just enough operating system." It's a simple short...

View Article

Symmetric indices to make JOINs faster

I am frequently asked how to increase the performance of Rails, and here's a great starting point. This advice generalizes to just about any database or platform that relies on B-Tree indices. If your...

View Article


Provisioning script for Ubuntu Intrepid and Ruby 1.9.1

Here's a simple gist I use to provision either Amazon EC2 AMIs or Slicehost images running Ubuntu Intrepid. It'll setup all the requirements to build Ruby 1.9.1 from source since the official Ubuntu...

View Article


Using Cassandra's Thrift interface with Ruby

If you've been trying to figure out how to work with Cassandra then you've probably come across Thrift. Thrift is a library written in the spirit of Google's protocol buffers, but developed by...

View Article

Using HBase's Thrift interface with Ruby

In my continued fooling around with various key-value stores I've finally come across HBase. Naturally, since I do my day-to-day programming in Ruby I wanted to setup some basic examples. Though HBase...

View Article

Code Kata 19 as a MapReduce job for Hadoop

I wanted to do a brief discussion of Dave Thomas's 19th Code Kata. The gist of the problem is that given a wordlist of words can you determine a path from a source word to an end word, changing only...

View Article

Image may be NSFW.
Clik here to view.

An argument against hashing credit cards

I'm still editing this, but thought I'd at least open it up to read in the meantime. Also, special thanks for helping me review this one to: Dave Hoover @redsquirrel Blake Smith @blacksmith Jason...

View Article


Cloud hosting vs colocation

Edit: I'm linking to the discussion on HN that has another 90 comments or so.  More discussion. I understand that it might sound heretical to claim that traditional colocation is still the more...

View Article
Browsing latest articles
Browse All 14 View Live




Latest Images