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

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

Apple’s actual role in podcasting: be careful what you wish for

by Ben

[Podcasts are] completely decentralized, free, fair, open, and uncontrollable by any single entity, as long as the ecosystem of podcast-player apps remains diverse enough that no app can dictate arbitrary terms to publishers (the way Facebook now effectively controls the web publishing industry).

Source: Apple’s actual role in podcasting: be careful what you wish for – Marco.org

US carbon emissions drop, now 12% below 2005 levels

by Ben

The EIA ascribes the majority of this decade-long drop—70 percent—to changes in fuel use in the electrical industry. Cheap natural gas, available due to fracking, has displaced significant amounts of coal from the energy landscape, resulting in a drop in coal production of more than 20 percent in the US (and the bankruptcy of a number of coal companies). Other contributing factors include more efficient energy use and a relatively mild winter, which lowered the energy devoted to heating.

Even though natural gas fracking is less than ideal, it’s still a lot better than coal-based energy production.

Source: US carbon emissions drop, now 12% below 2005 levels | Ars Technica

Google Cloud Platform Blog: Ruby on Google App Engine goes beta

by Ben

We’re thrilled to welcome Ruby developers to the Google Cloud Platform, and we’re committed to making further investments to help make you as productive as possible. This is just the start — stay tuned to the blog and our GitHub repositories to catch the next wave of Ruby support on GCP.

Source: Google Cloud Platform Blog: Ruby on Google App Engine goes beta

Mockbin by Mashape

by Ben

Mockbin allows you to generate custom endpoints to test, mock, and track HTTP requests & responses between libraries, sockets and APIs. Made with Love by Mashape.

Source: Mockbin by Mashape

HTTP Status Codes — httpstatuses.com

by Ben

HTTP Status Code directory, with definitions, details and helpful code references.

Source: HTTP Status Codes — httpstatuses.com