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.

Blog

A new way of blogging about JavaScript, Clojure, and Ruby

by Ben

The klipse plugin is a small step toward Alan Kay’s vision: it is a javascript tag that transforms static javascript code snippets of an html page to live and interactive snippets.

Source: A new way of blogging about javascript

Available for Clojure, JavaScript, and Ruby.

J.J. Abrams Reacts To Death of Star Trek Actor Anton ‘Chekov’ Yelchin

by Ben

On Sunday morning 27-year-old actor Anton Yelchin, who plays Chekov in the new Star Trek movies, was killed in a freak accident with his own car in the driveway of his home in Studio City. “It appears he momentarily exited his car and it rolled backward, causing trauma that led to his death,” a police spokesperson told the Hollywood Reporter.

So sad.

Source: J.J. Abrams Reacts To Death of Star Trek Actor Anton ‘Chekov’ Yelchin – Slashdot

Easy request logging on OSX

by Ben

Here’s a great way to capture HTTP request/response traffic on OSX.

Source: Easy request logging on OSX

Vanilla List: The Vanilla Javascript Repository

by Ben

Coz’ sometimes you feel guilty for using jQuery.

No dependencies.

Source: Vanilla List: The Vanilla Javascript Repository

Broadband internet as a public utility – Jason T. Lewis for Supervisor

by Ben

Broadband Internet connectivity is expensive and in Johnson county there is little to no competition and just a couple companies hold a virtual monopoly on access. Compared to other areas our size, the options and speeds are no competitive. Broadband Internet access drives economic growth. It’s time for Johnson County to lead. We need to partner with our community stakeholders and find a solution that will give everyone in Johnson County access to free or low-cost broadband Internet access.

Source: Broadband internet as a public utility – Jason T. Lewis for Supervisor

Using splats to build up and tear apart arrays in Ruby

by Ben

One of the things that I love about Ruby is the depth of its features. You may use an operator, but do a little digging and you’ll find that you’ve only been scratching the surface of what it’s capable of. The humble splat operator (* and **) is a great example.

You’ve probably used splats for “catch-all” arguments. And that’s all that most people use them for.

This is useful, but you can use splats for a lot more. Let’s dive in!

Source: Using splats to build up and tear apart arrays in Ruby

Draft – The Journal of Process

by Ben

Featuring stories, first drafts, and interviews with authors of note, draft is a unique print publication emphasizing the importance and diversity of the creative process. We’re interested in mechanics, techniques, approaches, triumphs, failures, concussive frustration — everything that goes into crafting a great piece of creative writing.

Source: Draft – The Journal of Process

clipboard.js

by Ben

A modern approach to copy text to clipboard. No Flash. No dependencies. Just 3kb gzipped

Source: clipboard.js

HTML5 by default: Google’s plan to make Chrome’s Flash click-to-play

by Ben

In a plan outlined last week, Flash will be disabled by default in the fourth quarter of this year. Embedded Flash content will not run, and JavaScript attempts to detect the plugin will not find it. Whenever Chrome detects that a site is trying to use the plugin, it will ask the user if they want to enable it or not. It will also trap attempts to redirect users to Adobe’s Flash download page and similarly offer to enable the plugin.

Source: HTML5 by default: Google’s plan to make Chrome’s Flash click-to-play

heapfrag – Heap visualizer for Ruby

by Ben

This is a library for dumping and visualizing your heap in MRI.

Source: heapfrag – Heap visualizer for Ruby