Skip to main content

Benjamin Oakes

Photo of Ben Oakes

Hi, I'm Ben Oakes and this is my geek blog. Currently, I'm a Ruby/JavaScript Developer at Liaison. Previously, I was a Developer at Continuity and Hedgeye, a Research Assistant in the Early Social Cognition Lab at Yale University and a student at the University of Iowa. I also organize TechCorridor.io, ICRuby, OpenHack Iowa City, and previously organized NewHaven.rb. I have an amazing wife named Danielle Oakes.

Filtering for the month December, 2016. Clear

Sonic Pi – The Live Coding Music Synth for Everyone

by Ben

Sonic Pi
The Live Coding Music Synth for Everyone.

Welcome to the future of music.

Simple enough for computing and music lessons.
Powerful enough for professional musicians.
Free to download with a friendly tutorial.

Learn to code creatively by composing or performing music in an incredible range of styles from classical & jazz to EDM.

Source: Sonic Pi

The goal of these articles is to explore the relationships between music and code, by analyzing and recreating the track Aerodynamic from Daft Punk.

Unlike classical approaches to generate sound on a computer, we are going to generate sound by writing text: instead of adding tracks, instruments, samples… on a timeline, we will see how to express those in code and how to play music.

Source: Aerodynamic · mxs

OSC-over-UDP is just OSC packed data sent over a UDP connection. My first serious encounter with OSC-over-UDP was when I attended strangloop and talked about The Mess We’re In

I bumped into Sam Aaron, the unstoppable force behind Sonic Pi and said that it would be really cool to control Sonic Pi from Erlang. …

Sam told me that to control Sonic Pi all I had to do was send it OSC encoded messages over UDP.

Source: Joe Armstrong – A Badass Way to Connect Programs Togther

jvilk/BrowserFS

by Ben

BrowserFS is an in-browser filesystem that emulates the Node JS filesystem API and supports storing and retrieving files from various backends.

Source: jvilk/BrowserFS

infernojs/inferno

by Ben

An extremely fast, React-like JavaScript library for building modern user interfaces

Source: infernojs/inferno

chrismccord/render_sync

by Ben

Real-time Rails Partials

Source: chrismccord/render_sync

Asimov – The Relativity of Wrong

by Ben

Naturally, the theories we now have might be considered wrong in the simplistic sense of my English Lit correspondent, but in a much truer and subtler sense, they need only be considered incomplete.

Source: Asimov – The Relativity of Wrong

Module: TSort (Ruby 2.3.3)

by Ben

TSort implements topological sorting using Tarjan’s algorithm for strongly connected components

Source: Module: TSort (Ruby 2.3.3)

Lua as a Python’s secret weapon

by Ben

As you can see, it was easy to embed Lua in Python and the results are outstanding! Thus, we can say that Lua is definitely of a great help when you need to speed up some critical parts of your Python code.

Source: Lua as a Python’s secret weapon.

Six maps that show the anatomy of America’s vast infrastructure

by Ben

tmp_14997-bridges-280-1090014168

A look at the United States’s bridges, electrical grid, pipelines, railroads, airports and waterways

Specifically:

Iowa has the highest number of structurally deficient bridges, with about 20 percent of its bridges — more than 5,000 — classified as such. According to the National Bridge Inventory database, this means that the bridge “has one or more structural defects that require attention.”

Source: Six maps that show the anatomy of America’s vast infrastructure

We can do better, Iowa.