This site runs best with JavaScript enabled.

I live and work remotely in Arlington, VA building eggheadio.

twittergithubegghead

Fast Ruby Test's with FactoryBot#build_stubbed

FactoryBot#build_stubbed allows you to make faster test with less time in the database. This is paired with rspec's allow(Model).to receive(:method) for some really nice flexibility. Say… Read Article →

Add Options To A Gatsby Theme

Chris Biscardi posted 3 different blog posts going over how to add options to a gatsby theme. Applying theme options using React Context This option seems the most straight forward if you… Read Article →

📝 The Complete Guide to FaunaDB

These are notes on Chris Biscardi's FaunaDB playlist . An Introduction to FaunaDB Fauna is a document store. Uses a lambda calculus query language. Key terms: snap shot isolation strict… Read Article →

Stop Thinking In Lifecycle Methods

The Problem I hear a lot about how to translate class lifecycle methods into hooks. I think this can be helpful at first explaining them but harmful in the long run if this is the only way… Read Article →

📝 Graph Algorithms

Data in a graph isn't a bell curve. Its in the Power-law distribution. There are usually lots of nodes with few relationships and some nodes with lots of relationships. Many approaches… Read Article →

View all articles