Category: Software Development

Bypassing Spring Security

Today I set out to provide accessible endpoints to a web application already behind Spring Security. My configuration locks down all requests going to the server (as will be shown below), and there is no easy way of adding an excludes parameter to the DelegatingFilterProxy (see various questions on Stack Overflow). My solution is actually […]

Installing Cassandra on Mac

Diving into Cassandra and, as always, the first step is getting a local stack built. I’ve grown incredibly fond of homebrew, and so here is the one step process:brew install cassandra Viola, installed. The response when finished gives additional guidance: If you plan to use the CQL shell (cqlsh), you will need the Python CQL […]

Feed the Monster

Hydra excels at taking massive amounts of data and making it interpretable. It’s flexibility and scalability are really put on display when you have a lot of data, like Map-Reduce in Hadoop. Now that I have a local stack running, I need to feed Hydra in order to play with it, much like the Tamagotchi’s […]

Getting Started on Hydra

Dependencies Maven Java 7 SDK RabbitMQ (Instructions provided below) Building 1. Checkout from Github 2. RabbitMQ As described in the Hydra Readme.mdown, Hydra uses rabbitmq for low volume commands and control message exchanges. On a modern Linux systems apt-get install rabbitmq-server and running with the default settings is adequate in most cases. For Mac OS (my environment), I used Homebrew to install it. Super easy […]

County Housing Search

From Mar 27, 2012 I recently wrote a job to identify the counties with the most houses for sale (according to the 2010 Census). To do so, I ingested the data from the Census Bureau, and wrote a MapReduce job. My goal was to have all counties and the total houses for sale in ascending […]

Using Java’s URLEncoder

We developers really should heed the warnings of deprecations. Java’s URLEncoder.encode(String); throws the deprecated warning, encouraging us to use URLEncoder.encode(String,String);. I use this tool to encode the special characters in parameters on an URL to prevent a misunderstanding with a server. Want to finally do the right thing and use that method? Here’s what you […]

Markdown Overview

Markdown is the technology behind the README files seen on Github and elsewhere. The file extension is .md, and the output when rendered in a browser follows a consistent syntax. The goal of Markdown is foremost readability.[1] Even in a non-HTML rendered state, it can be read and understood. This is achieved by using punctuation characters as markers for what a text represents.