Jonathan Lozinski

50 Added | 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 …

Arduino

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 …

JavaScript

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 …

Microcontroller

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 …

Linux

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 …

Linux
Software Engineering

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 …

Programming

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 …

Programming
JavaScript

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 …

Web Development

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 …

JavaScript

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 …

Programming

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?

Programming

Ruby delegate.rb secrets

Sign your gems with PGP!

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 …

Information Systems

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 …