• submit to reddit
Justin Bozonier10/10/12
4133 views
0 replies

How to Plot 911 Police & Fire Responses in R

Today I downloaded Seattle's dataset of over 438k 911 police responses and plotted them in R. Here's how to do it yourself.

John Cook10/10/12
4260 views
0 replies

The Big Data Cube

Erik Meijer uses three axes to classify databases. What are they, and what do they mean, and how else should we go about classification?

A. Jesse Jiryu Davis10/10/12
7615 views
0 replies

Optimizing MongoDB Compound Indexes

How do you create the best index for a complex MongoDB query? I'll present a method specifically for queries that combine equality tests, sorts, and range filters, and demonstrate the best order for fields in a compound index.

Michael Dubakov10/10/12
12295 views
2 replies

Learning How to Learn

I’d like to talk about three aspects of knowledge: span, depth, and connections between the disciplines.

Hubert Klein Ikkink10/10/12
2604 views
0 replies

Groovy Goodness: Drop or Take Elements with Condition

In Groovy we can use the drop() and take() methods to get elements from a collection or String object. Since Groovy 1.8.7 we also can use the dropWhile() and takeWhile() methods and use a closure to define a condition to stop dropping or taking elements.

Zemian Deng10/10/12
5989 views
0 replies

Enhancing Spring Test Framework with beforeClass and afterClass setup

JUnit allows you to setup methods on the class level once before and after all tests methods invocation. However, by design on purpose that they restrict this to only static methods using @BeforeClass and @AfterClass annotations.

Roger Hughes10/10/12
6165 views
3 replies

A Footnote on Accessing Request Parameters using Spring 3 MVC

I recently got a comment on my blog: Accessing Request Parameters using Spring 3 MVC, pointing out something that I didn’t know about Spring’s @RequestParam annotation. The comment, from salient1, went like this:

Prabath Siriwardena10/10/12
5298 views
0 replies

What OAuth Lacks: Resource Owner Initiated OAuth Delegation

I'll be going on vacation for two weeks - now I want to delegate some of my access rights to Peter only for that time. Conceptually OAuth fits nicely here. But - this is a use case which is initiated by the Resource Owner - which is not addressed in the OAuth specification.

Zac Gery10/10/12
10966 views
0 replies

How Good Programmers Get It Done

Developers come from all walks of life, but the difference between an average and good developer is time management.

Oliver Hookins10/10/12
5537 views
4 replies

Cool, interesting, useful, unique and innovative Shell Prompts

I’m sharing my tmux PS1 prompt variable with you. It’s not the most advanced, doesn’t use all of the bells and whistles and I’m still not entirely sure the information it presents is essential but it’s a work in progress. I’d love for you to share your own in the comments in the hope of spreading know-how and ideas!

Justin Bozonier10/10/12
3454 views
0 replies

How I Unit Test the Document Object Model

I created a function that will add arbitrary html to the DOM and remove it immediately after my test has run. This is what it looks like in use . . .

Leigh Shevchik10/10/12
8179 views
0 replies

Two of My Favorite Javascript Design Patterns

In this post, I’m going to show you two of my favorite patterns for keeping JavaScript well organized. But before I do, let’s go over a few prerequisites. . .

Partha Bhattacharjee10/10/12
4167 views
1 replies

The Benefits of Cynicism in Coding

A healthy amount of cynicism goes a long way in designing a resilient system.

Andrew C. Oliver10/10/12
59650 views
41 replies

Why Java EE Lost and Spring Won

I hate to disappoint my former colleagues at JBoss, who are still keeping up the good fight to promote Java EE as a programming model, but they have lost.

Esen Sagynov10/09/12
27512 views
0 replies

How to Tune Java Garbage Collection

This is the third in a series on understanding and performing Java Garbage Collection. I will show some of the best options you can use for GC tuning.