• submit to reddit
Shannon Behrens01/07/13
0 replies

Dart: An Algorithm to Unindent Code

Remembering to ignore lines that only have whitespace makes the problem even harder. Here's some Dart code that I wrote to do it. I do believe the performance is O(num_lines * max_line_length), which I think is optimal.

Mark Needham01/07/13
0 replies

Finding ways to use bash command line history shortcuts

A couple of months ago I wrote about a bunch of command line history shortcuts that Phil had taught me and after recently coming across Peteris Krumins’ bash history cheat sheet I thought it’d be interesting to find some real ways to use them.

Allen Coin01/07/13
0 replies

Misspelling "Windows Phone" Makes Google Maps Work on WP8

The mobile web version of Google Maps is optimized for WebKit browsers such as Chrome and Safari. However, since Internet Explorer is not a WebKit browser, Windows Phone devices are not able to access Google Maps for the mobile web. I thought this was weird so I did a short experiment to see if that was true. Watch the video...

Nicolas Frankel01/07/13
0 replies

Pet catalog for JavaEE 6 Reengineered

Some time ago, I published the famed Pet Catalog application on Github. It doesn’t seem like much, but there are some hours of work (if not days) behind the scenes.

Bozhidar Bozhanov01/07/13
0 replies

Be Careful With Cache Managers

If you are using spring and JPA, it is very likely that you utilize ehcache (or another cache provider). And you do that in two separate scenarios: JPA 2nd level cache and spring method caching.

Mark Needham01/07/13
0 replies

Neo4j: Embracing the Sub Graph

I’m sure there are other queries we could run but these were a couple that I hadn’t thought of before I had multiple sub graphs together on the same overall graph.

Eric Genesky01/07/13
9 replies

16 Graph Databases Compared

Objectivity, the company behind InfiniteGraph, recently published a useful comparison of 16 different graph databases.

Ben Kepes01/07/13
0 replies

Force.com and the Uber-Democratization of Programming

In the last few weeks I’ve started to riff on James Govenor’s meme, that of developers becoming the new kingmakers.

John Cook01/07/13
0 replies

The Closet Bayesian

I find it grating when someone asks “Are you a Bayesian?” It implies an inappropriate degree of commitment and exclusivity. Bayesian statistics is just a tool. Statistics itself is just tool, one way of understanding the world.

Alex Crafts01/07/13
0 replies

Palantir's Stephen Cohen on Big Data: "Humans are of a Greater Order than Algorithms"

Is 2013 the year we're all replaced by an apocalyptic revolt of robotic yellow elephants? Not so fast, says Palantir's Stephen Cohen.

Eric Gregory01/07/13
1 replies

DevOps at Netflix

In this presentation from AWS re:Invent, Netflix Reliability Architect Jeremy Edberg discusses DevOps at Netflix.

James Lorenzen01/07/13
0 replies

Configuring CAS Externally Using Spring Import

The recommended way to extend CAS is using maven overlays. It's real simple to modify the default behavior in CAS by copying the files from the CAS WAR into your own WAR directory. But how can we enable the SimpleTestUsernamePassword authentication handler for local development and test servers, while disabling it for production systems?'

Sadayuki Furuhashi01/07/13
0 replies

Enabling Facebook’s Log Infrastructure with Fluentd

Learn how to replace Scribe with Fluentd.

Gary Sieling01/07/13
0 replies

Building a Statistical Significance Testing Web Service with R

R is a programming language focused on solving statistical and mathematical calculations. R programs often operate on large, in-memory data sets, which feels somewhat similar to database programming.

Wayne Adams01/07/13
0 replies

Analyzing Mortage Data with Hadoop MapReduce: Java vs. Pig

If you are trying to reconcile records between two systems (e.g. to find lost revenue in a telecom billing system), you'd prefer not to lose any records. If you are examining polling data to predict an election, you can probably afford to lose a few records.