Happy Ada Lovelace Day!

Fellow nerds around the world are celebrating the life and work of an amazing woman today, Ada Lovelace (10 December 1815 – 27 November 1852).  Ada is widely recognized as the world’s first (not just woman) computer programmer, having created an algorithm to calculate the Bernoulli Numbers using a machine processor. Almost 200 years later, it’s...
Read More

AngularJS – Getting Started & Binding

Is it just me or does it seem like every time you turn around there’s a new Javascript framework popping up.  Backbone, Node, Ember; they all seem to have really strong fan bases, but the one that’s really peeked my interest lately is Angular.  Created by our friends at Google, the open-source framework integrates almost...
Read More

Algorithm and Interview Prep Meetup

Last Monday was the first session of the weekly Algorithm Interview Prep Meetup group Laura and I are running in conjunction with Women Who Code.  We had a great turn out of about 35 women looking to hone their technical interviewing skills.   Generously hosted by StumbleUpon, we offered the women four choose your own...
Read More

Recursion

A method that calls itself. The only time I ever saw something calling itself was outside of my wonderful apartment in the delightfully urine soaked street underneath a blanket. I could not for the life of me grasp how it worked. Yeah, I got the metaphors. “It’s kind of like Inception. You can’t wake out...
Read More

Prototyping and Inheritance in Javascript

A prototype in Javascript is exactly what it sounds like: a prototype for object to follow.  The best way to explain it would be with an example, of course! We’ll throw in some inheritance while we’re at it. Let’s say we have an an Animal object, that has a name and numLegs, which is a...
Read More

Model validations in Rails

Validations are pretty much a “check” that records won’t be saved unless certain attributes/params meet a specified criteria. They can all done in the models and they can be done in a single line per attribute. For example, if we have a Painting model, inside the class(model) we have: validates :name, presence: true, uniqueness: true...
Read More