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 February, 2016. Clear

The Royal Stockholm Philharmonic Orchestra performs music from Nobuo Uematsu’s Final Fantasy VI

by Ben

The Royal Stockholm Philharmonic Orchestra performs music from Nobuo Uematsu’s Final Fantasy VI, orchestrated as a symphonic poem called Born with the Gift of Magic (arr Roger Wanamo). Conductor Andreas Hanson. Recording from the Final Symphony concert in Stockholm Concert Hall, June 2014.

Source: Final Fantasy VI: Symphonic Poem

Amazing performance. I recommend it even if you’ve never heard of the source material.

ember-concurrency: structured concurrency in JavaScript

by Ben

Escape from callback hell in JavaScript, but with cancellation. Excellent visualizations.

Example code:

export default Ember.Component.extend({

  myTask: task(waitAMoment).drop(),

});

Also interesting: enqueue

Source: EcPrezo

Welcoming the Xamarin team to Microsoft

by Ben

I am pleased to announce today that Microsoft has signed an agreement to acquire Xamarin, a leading platform provider for mobile app development.

Source: ScottGu’s Blog – Welcoming the Xamarin team to Microsoft

Report: VW told it must make electric cars in US

by Ben

German car maker could also be told to help develop network of charging stations.

Source: Report: VW told it must make electric cars in US

AMA: We pair program (almost) everything. Ask us anything!

by Ben

A talk I gave at Iowa Code Camp in May 2015.

Source: AMA: We pair program (almost) everything. Ask us anything!

Flexbox Froggy

by Ben

A game for learning CSS flexbox

Source: Flexbox Froggy

Thoughtbot guides

by Ben

guides – A guide for programming in style.

Source: Thoughtbot guides

Jay Fields’ Thoughts: Testing: One assertion per test

by Ben

Limiting your tests to using one assertion is a controversial topic. I originally stumbled upon the idea on Dave Astels’ blog. I liked the style of development that Dave described and decided to give it a try, that was over 2 years ago. Since then I’ve worked on teams ranging from 4 developers to 16, codebases in Ruby and C#, and project timelines ranging from 3 months to 8. I think it’s fair to say I’ve given the concept plenty of chances to fall down. But, regardless of the variables, the guideline has always remained valuable.

For me, the main motivator for using one assertion per test is the resulting maintainability of the test. Tests that focus on one behavior of the system are almost always easier to write and to comprehend at a later date.

Source: Jay Fields’ Thoughts: Testing: One assertion per test

30 percent of science teachers give misinformation about climate change

by Ben

Kids get on average a single hour of (often wrong) instruction on the subject.

Source: 30 percent of science teachers give misinformation about climate change

Arlo Guthrie and the origins of the Collection protocol

by Ben

During the interview he [Dan Ingalls] was asked about the origin of those enumeration methods of the Smalltalk collection classes. Alan Kay had told the interviewer that they had come from a song. At first Dan didn’t remember this but then remembered that there was a song which had a string of words like inject, select, detect etc. As far as I recall, though he didn’t name the song.

Source: Arlo Guthrie and the origins of the Collection protocol