Jonathan Lozinski

50 Flips | 3 Magazines | 5 Likes | 4 Following | 23 Followers | @mrloz | Keep up with Jonathan Lozinski on Flipboard, a place to see the stories, photos, and updates that matter to you. Flipboard creates a personalized magazine full of everything, from world news to life’s great moments. Download Flipboard for free and search for “Jonathan Lozinski”

TDD, Straw Men, and Rhetoric

In a blog post called Slow database test fallacy, David Heinemeier Hansson, the creator of Rails, begins:The classical definition of a unit test in …

Infrared Pulse Sensor

Taking your pulse is as simple as holding a finger to your neck or wrist and timing the beats with your watch. But if you want to record the data or use it to trigger events, you need to turn that mechanical pulsing action into an electrical signal. This pulse sensor fits over a fingertip and uses …

Arduino misconceptions 1: need to use external pull-up resistors

One of the first things you need to learn when interfacing switches to microcontrollers is the use of pull-up resistors. These ensure that the inputs …

Display arduino output on tv for less than $1

Michael Feathers

One of my pet peeves in programming is null checks. Many codebases are littered with them and, as a result they are often very hard to …

Sensing Color With a LED and Op Amp

Robot Room’s David Cook shows how an LED and op amp, along with a resistor and cap, can be built into an amplified color sensor.<p>Unfortunately, even under the best conditions, photodiodes (and reversed LEDs) don’t provide a lot of current flow. The output of the photodiode needs to be amplified for …

Faster IO on the Arduino

This article will show you how to control the Arduino IO pins faster, a lot faster.<p>We all know we can use the digitalWrite() command to set an IO pin …

Arduino

The Twelve-Factor App

In the modern era, software is commonly delivered as a service: called <i>web apps</i>, or <i>software-as-a-service</i>. The twelve-factor app is a methodology for …

The Death of Ifs

Posted April 23, 2013 by Franklin Webber<p>I despise if, elsif, and case statements. Our own MicroBlogger tutorial inspired me to put together a quick …

rspec.vim

This is a lightweight RSpec runner for Vim and MacVim.<p>Installation<p>Recommended installation with vundle:<p>If using zsh on OS X it may be necessary to …

Pair Program with Me

Resources<p>Ready to broaden your pair-programming horizons, but need some help getting started? Here are some links to talks, guides, and tools for …

Hobbit

A minimalistic microframework built on top of Rack.<p>Installation<p>Add this line to your application's Gemfile:<p>And then execute:<p>Or install it yourself as:<p>…

Ruby’s Missing Data Structure — SitePoint

Have you ever noticed Ruby doesn’t include support for linked lists? Most computer science textbooks are filled with algorithms, examples and …

Detecting Faces with Ruby: FFI in a Nutshell — SitePoint

But there are quite a few domains in which Ruby lags behind. Rails gave Ruby a lot of positive publicity (and some negative), but also kind of shaped …

Pinglish

A simple Rack middleware for checking application health. Pinglish exposes a /_ping resource via HTTP GET, returning JSON that conforms to the spec …

Profile Ruby 2.0 apps using DTrace - Part 1

Written by <i>Hemant</i> on April 16, 2013; tagged under ruby, dtrace, profiling, rails<p>This is a series of blog posts we are going to do in tutorial format, …

Blog

a FAQ

Hi. I'm Adam Wiggins, cofounder and CTO of Heroku.<p>Heroku has been my life’s work. Millions of apps depend on us, and I take that responsibility very …

The Building Blocks of Ruby

When showing off cool features of Ruby to the uninitiated (or to a language sparring partner), the excited Rubyist often shows off Ruby's "powerful …

HTML's New Template Tag: standardizing client-side templating

Introduction<p>The concept of templating is not new to web development. In fact, server-side templating languages/engines like Django (Python), ERB/Haml …

The best interface is no interface

“Atmadm.”<p>Getting our work done was an alphabet soup nightmare.<p>“chkntfs.”<p>“dir.”<p>(Source: vintagecomputer.net)<p>Then, in 1984, Apple adopted Xerox PARC’s …

Customize Your IRB

You probably spend a lot of time in IRB (or the Rails console) but have you taken the time to customize it? Today we’ll take a look at the things …

Ruby 2.0: Keyword Arguments

Ruby’s had nice method arguments for as long as I’ve been using it: optional arguments, grabbing arguments into an array, automatically compressing a …

Fuzzy Duplication Detection in Flay

Given these three methods: a, b, and c, flay will currently report that a and c are structurally similar.In c, The call to f1 has been removed and a …

TIL that Array#first supports an optional argument. What are some stupid simple things that you didn't realize until much later into learning ruby?

Ruby delegate.rb secrets

Sign your gems with PGP! : ruby

Remember the recent Rubygems.org vulnerability? We don't want all that to happen again do we? But the responsibility lies partly on us, the gem …

solutions-integration

Your Git Code Review Tool That Keeps All Your Repos in One Space<p>Helix TeamHub empowers individuals, small teams, and even enterprise development …