Why Functional Matters: Your white board will never be the same

Why learn functional programming? For better design skills! The other day we designed a process to match cleared deposits with dispensations. This is how I would have white-boarded it a few years ago: Since then I’ve played around with functional programming. It encourages one to think about processing in terms of data streams: data comes …

Read moreWhy Functional Matters: Your white board will never be the same

Testing Google Analytics locally

When you’re first setting up Google Analytics for your website, you’ll want to do some testing in your local or test environment. The good news is: testing of the transmission is fast. The bad news is: testing the processing is not. This post describes the process. Here’s what you need: A google analytics account. It’s …

Read moreTesting Google Analytics locally

services on a Mac

Say there’s a program that needs to run on your Mac all the time forever and ever. This post describes how to set that up. The example here sets up the script that runs elasticsearch.* On a Mac, services are controlled by launchd, which is configured using launchctl. This example uses launchctl to set up …

Read moreservices on a Mac

configuring soundex in elasticsearch

elasticsearch is trivially easy to set up and start using with reasonable default settings. Like any framework, deviating from those defaults increases the challenge. Phonetic searches like soundex are supported by elasticsearch, but not out-of-the-box. What is soundex? It classifies words according to how they sound, so that similar-sounding words will match each other in …

Read moreconfiguring soundex in elasticsearch