Tips and Tricks

  • submit to reddit

Does Rails Scale?

First, the short answer: Damn right it does. Twitter had to quit using it because Ruby is so slow It is well known that around 2008 Twitter moved their job...

1 replies - 4950 views - 10/15/12 by Jeff Dickey in Articles

More Spock Love - How I Tested Complex Install Scenarios

I'm in love. Officially. With Spock. Ok, we've only been hanging out for a...

0 replies - 1300 views - 10/15/12 by Ken Rimple in Articles

clojure: lein tar

A co-worker recently asked how I package and deploy my clojure code. There's nothing special about the code, but I'm making it available here for anyone...

0 replies - 1594 views - 10/15/12 by Jay Fields in Articles

Recreating an HBase Table Without Violating Region Starting Keys

Recently, I was using completebulkload to load a large amount of data into HBase. To keep this process well-balanced over the entire cluster (and thus...

3 replies - 2294 views - 10/14/12 by Adam Kawa in Articles

How to Handle Heavily Nested XML Tags with XSLT

I’m new to using Extensible Stylesheet Language Transformations (XSLT). Because I’m new and I had a fairly complex (or so I thought) task to perform with...

0 replies - 2864 views - 10/14/12 by Nick Watts in Articles

Varnish: Purging the Cache

We’re using varnish to cache all the requests that come through our web servers and especially in our pre-production environments we deploy quite...

0 replies - 3577 views - 10/14/12 by Mark Needham in Articles

Using Spring Data Neo4j for the Hubway Data Challenge

Editor's Note: This post was originally authored by Michael Hunger of the Neo4j Blog.  Using Spring Data Neo4j it was incredibly easy to model and import...

1 replies - 2387 views - 10/14/12 by Andreas Kollegger in Articles

Play 2.0 Framework and XA Transactions

XA transactions are useful and out of the box, Play 2.0 today does not have support for them.  Here I show how to add that support: First off, some...

0 replies - 1735 views - 10/14/12 by Ant Kutschera in Articles

Code Inventory and Tracking Releases

You know by now that Code Inventory is something of an obsession with me. Like it or not, most of us, whether developers or sysadmins, work in a service...

0 replies - 5232 views - 10/14/12 by Daniel Ackerson in Articles

Dex 0.5: Weighted Index Recommendations for MongoDB

Greetings, adventurers! I am happy to announce the latest version of Dex, MongoLab’s Index Bot. With version 0.5, we’re declaring Dex halfway-there...

0 replies - 2126 views - 10/13/12 by Eric Sedor in Articles

Groovy Goodness: Return Closure From Another Closure or Method

Groovy closures are powerful. A closure can be passed to methods as argument or defined as a variable. We can even return closures from methods or other...

0 replies - 1741 views - 10/13/12 by Hubert Klein Ikkink in Articles

LLJS: Low-Level Javascript - A C-Like Typed Dialect of Javascript

LLJS is a typed dialect of JavaScript that offers a C-like type system with manual memory management. It compiles to JavaScript and lets you write...

0 replies - 4277 views - 10/12/12 by Hirvesh Munogee in Articles

Writing Geospatial Queries for MongoDB in Java

MongoDB supports 2-dimensional geospatial indexes. You can watch MongoSF (May 2011) presentation to understand it at a basic level. In this article, I will...

2 replies - 3960 views - 10/12/12 by Amresh Singh in Articles

Groovy Goodness: Using Project Coin Features Also With Older Java Versions

Since Groovy 2 we can use a subset of the Project Coin features from Java 7. But we don't have to run Java 7 to use them in Groovy code. We can use the new...

0 replies - 2012 views - 10/12/12 by Hubert Klein Ikkink in Articles

Bug Fixing: To Estimate, or Not to Estimate: That is The Question

According to Steve McConnell in Code Complete (data from 1975-1992) most bugs don’t take long to fix. About 85% of errors can be fixed in less than a few...

0 replies - 5093 views - 10/12/12 by Jim Bird in Articles