Engineering & Leadership // Field Notes

Perspectives on Architecture, Leadership & Scalable Systems

Ruby on Rails deep-dives, engineering lessons, and field notes on mentorship and running a software consultancy, from the team behind Bear & Giraffe.

Pragmatic Engineering System Architecture Technical Leadership

Dispatches & Case Notes

38 posts
21 // Community

ATX Hack 4 Change 2017

An honest review of ATX Hack for Change 2017, a civic hackathon in its fifth year: underwhelming food, little communication about expectations, 50+ projects squeezed into roughly 20 hours of hacking, and opaque judging. Disappointing organization, but still a worthwhile way to get involved in the local community.

11 min read
22 // Engineering

The Lesson from Ignoring All Lessons

A weekend hackathon followed by an under-prepared product launch meant breaking every rule: an S3 migration script killed halfway by a Heroku timeout, a CI suite failing for no clear reason, and a launch three and a half hours late. Plans go awry; staying calm matters more than perfection.

8 min read
23 // Ruby on Rails

Intro to Trailblazer - Part II: Operations

"Skinny controllers, fat models" pushed business logic into ActiveRecord models that were never meant to hold it. Trailblazer operations give each user interaction, like uploading a document, its own class, keeping controllers thin, models as plain data objects, and side effects explicit.

11 min read
24 // Community

Meet Veronica, From the Better Beehive Project

I want to build B&G as a platform for women entrepreneurs and women in tech. One way we do this is by providing a platform to amplify the voice of women…

4 min read
25 // Business

The New Old Way of Doing Business

Tech keeps reinventing ideas other fields solved long ago. Faced with filling a young agency's project pipeline, this post asks whether the entertainment industry's talent-agent model, one agency representing many people with similar skills, could work for software consultants and freelancers.

6 min read
26 // Ruby on Rails

Introduction to Trailblazer Through Decorators

MVC leaves presentation logic with nowhere good to live, so it leaks into views and models. The Decorator pattern fixes that, and Trailblazer's Disposable::Twin makes decorators easy: expose only the properties a view needs, including nested ones, while keeping sensitive data out.

6 min read
27 // Mentorship

Typing as a Last Resort

Faced with a coding problem, new developers tend to start typing. Using a Codewars kata as the example, this post shows why the keyboard should come last: restate the requirements, break them into plain-language steps, and the code becomes an almost line-by-line translation.

8 min read
28 // Community

The Cost of Ruby

Open source is free as in speech, not free as in beer. RubyGems serves billions of gems a year on infrastructure costing tens of thousands of dollars a month, much of it donated, which is why Bear & Giraffe backs Ruby Together, a community effort to fund the tools every Ruby business depends on.

5 min read
29 // Ruby on Rails

Dynamic Hash in Ruby

Seed data built from a shared defaults hash works until one value needs to be unique per record, and suddenly every seeded user shares the same Payment. The fix, without monkey-patching Hash: store a lambda as the value and call it as each record is created.

6 min read
30 // Mentorship

The Finish Line is Closer Than You Think

New developers struggle with things experienced developers have long forgotten were ever hard. A lesson from being a CS101 teaching assistant: help lands best from someone whose struggle is recent, and newcomers need to see that the finish line is a peer one step ahead, not a distant expert.

3 min read
ESC

Type to search 38 posts