A Northwoods Cabin

Thoughts on the internet and other unrelated things

Eager Loading Polymorphic Relations

Derek MacDonald wrote a nice post about eager loading polymorphic relationships. This has been a difficult item to solve so it's nice to see a documented approach that works for many scenarios. Thanks Derek!

Eager Loading Polymorphic Relations →

2 weeks ago

Handling Complex Data Flows

In this post, written for the Zaengle blog, I explore some strategies for navigating multi-step flows. Separating the data from the logic helps make the process more manageable.

"At its core, programming is nothing more than stacking little blocks of logic on each other, building up a structure comprised of detailed organization, intentional design, and functional beauty. Unless those goals are held front and center it is only a matter of time before the system devolves into a convoluted mess of overlapping, overstepping, messy code."

Read the entire article on the Zaengle blog →

Feb 12

Don't Fight The Framework

Nov 14, 2019

The X-Factor: Or, How To Debug

Have you ever been around a person, or maybe you are that individual, who has the innate ability to figure out what’s wrong with _____? Merely glancing at the computer that is behaving strangely causes the problem to disappear, touching the printer results in printed pages, or opening the hood of the car stops the squealing?

It’s a strange phenomenon, but certain people possess the ability to diagnose a situation, survey the playing field, and effectively implement a solution. I’m sure you’ve seen it happen before.

Truth be told, I don’t believe these people have any special magic. It is far more likely they’ve spent time honing their ability to observe what’s going on, consider possible courses of action, and choose the one that has the best probability of fixing the problem.

This is called troubleshooting.

Read the entire article on the Zaengle blog →

Nov 1, 2019

Page 1 of 4 (33 total entries)