Cassandra C# Driver: Surprising gotcha with SimpleStatement

When helping someone with a Batch using the C# driver and I had a bit of a surprise. I wanted to reuse the CQL and I couldn’t at that point use a Prepare because of a bug, since SimpleStatement has … Continue reading 

Posted in C#, Cassandra | Leave a comment

Cassandra: Batch loading without the Batch keyword

Batches in Cassandra are often mistaken as a performance optimization. They can be but only in rare cases. First we need to discuss the different types of batches: Unlogged Batch BEGIN UNLOGGED BATCH; UPDATE users SET name=’Jim’ where id =1; … Continue reading 

Posted in Cassandra | Tagged | Leave a comment

Cassandra & Rails: Cequel Batch Support

Cassandra On Rails using Cequel Atomic Batch Support When I first tried to use Cassandra with Rails over a year ago the lack of a good native (IE not thrift) driver and a good mapper was a show stopper for … Continue reading 

Posted in Cassandra, ORM, Rails | Leave a comment

Buffer Cache Makes Slow Disks Seem Fast, Till You Need Them.

Linux has this wonderful thing called the buffer cache (for more detail read here ). In summary, it uses all your free ram as a cache for file access. Because of buffer cache you can easily get under 1 millisecond … Continue reading 

Posted in Sysadmin | Tagged , , | 4 Comments

Data Modeling for Scale with Cassandra

Reads and the perils of index tables. I frequently see index tables in Cassandra being used to allow a One Source Of Truth. It’s important to remember when designing a truly distributed system relational algebra really doesn’t scale, and in … Continue reading 

Posted in Cassandra | 1 Comment

How to become in polyglot in 5 hard steps.

With today’s world of programming languages where many languages are better at certain tasks than other’s you’ll find it useful to learn multiple languages over the course of your career (as well as keeping your skill sets current). Here are … Continue reading 

Posted in Learning | 3 Comments

An Evernote backed Journal using Vim/Emacs

I journal quite a bit and my holy grail has been using my favorite text editor (Vim or Vim bindings) with Evernote to store the everything in a smart searchable format. Today I stumbled onto a neat little tool that makes … Continue reading 

Posted in Evernote, Vim | Tagged , | 4 Comments

Ruth’s Story

Ruth Ann Svihla came into this world screaming and angry on October 30 2011 at 6:57 am. She was and has always been a beautiful, intelligent child that brought us a great deal of joy, but she was born with … Continue reading 

Posted in Uncategorized | 22 Comments

Rail 3.1 CI setup with Jenkins, Test Unit & SimpleCov on OS X Lion.

I recently had to setup a build server for some rails work I’m doing. Still wanting to support my other projects I setup Jenkins. I ran into several issues. Running Jenkins as a hidden user First I noticed that jenkins … Continue reading 

Posted in CI, Rails | Leave a comment

The difficult definition of professional software development

Here are some of the contradictory phrases (and a few paraphrases) I’ve overheard used to define what is “good” and “bad” code. Code should always be well commented Maintainable code has unit tests and well named methods therefore needs little … Continue reading 

Posted in Craftsmanship | 10 Comments