Visual Regression Testing in Capybara

I’ve also posted this on Medium at https:[email protected]/visual-regression-testing-in-capybara-6c147fdceee6. An interesting topic that is picking up traction with many front-end UI engineers is visual regression testing. Visual regression testing relies on known visual state, which enforces that the application has not visually changed between code changes. Our QA and UI engineering team at SalesLoft recently began to discuss their desire to try this out; I want to share our first iteration. Visual Regression Test Requirements I’ve … Continue Reading →

Exceptional starts with a choice

Exceptional has been added as a core value at SalesLoft; I have been thinking about what it means and how it can be achieved. I thoroughly believe that anyone can be exceptional through deliberate action and self reflection. Exceptionalism is not good, okay, or average. It’s easy to get sucked into the allure of skimming by as average. Exceptional people strive for more than this; they seek to be at the top of their craft. … Continue Reading →

Identifying and Fixing Web Application Performance Problems

Identifying performance problems; it is a daunting task given to many software engineers who are working on scaling up applications. As requests increase in frequency from hundreds, thousands, tens of thousands per minute, being able to locate performance bottle necks and then fix them in crucial for long-term success. While not every application will scale in the same way, I’ve thought about tips that will hopefully help many engineers facing the same problems that I … Continue Reading →

Keeping Front End / Back End Test Parity

One of the best aspects of being a Rails developer is the attitude of testing from the community (always test, duh!). Having an extensive test suite allows one to keep a Rails app relatively low on bugs, and ensures the best experience for engineers and users. It is also easy to translate this attitude of testing to a front end framework like React or AngularJS, the target of this blog post. One thing that is … Continue Reading →

[Rails] Replacing Asset Pipeline with Gulp

The Asset Pipeline is the solution that Rails provides to managing front-end code. It can do awesome things like compile Saas, Coffeescript, and concatonate / minify everything. It’s turned on by default in Rails, and is a pretty low friction way to get started in Rails. I wrote in a previous blog post about integrating Angular into Rails through the Asset Pipeline. I really like the power of the Asset Pipeline in this way, but … Continue Reading →

Learning New Languages, Frameworks, Tools

A question that has been appearing more and more in my life as I have moved into a leadership position is “what is the best way for me to learn X?” It is a fairly innocuous question, but most people don’t seem to have an answer that works for them. I am going to share my thoughts on it, as I have been served pretty well by this process on new projects and jobs. There … Continue Reading →

Rails Challenge Debrief

Wow, what an honor to be selected as first place in the first ever Rails Challenge! For those that don’t know, the challenge sets up a Rails app, tests it, then basically removes all of the code. So you are left with a bunch of tests that you want to get passing (114 assertions total). I’ll discuss my approach to this problem and more particularly how I approached the emergencies and full_response components of the … Continue Reading →

The Weight of the Wizard

Startups fly around at a million miles per hour. Just take a look on Hacker News, or Tech Crunch, or any of the countless other news outlets revolving around tech. When I look at the hubs, I see stories about scrappy developers who are working on the next big idea and hoping to make it big. These articles hit on a great part of being a software engineer right now, we can build anything that … Continue Reading →

Angular + Rails = Match in Heaven

About 4 months ago, I began my journey into Angular + Rails integrated. My company, SalesLoft, decided to try this out on a project and we are all really loving the outcome right now. There were some bumps along the way, and my goal today is to help you get past those initial pains, explaining as much as I can in this format, and leaving with a template that you can apply to other projects. … Continue Reading →

ZF2 + Doctrine ODM: Base Classes / Hooks

Hopefully you’ve been following along with the introduction and indexing blog posts. This one will focus a bit more on code, and how to use some common Entity/Mapper/Service patterns. All sample  code is available on github and can be cloned out to follow along with. Base Entity and Mapper A BaseEntity is not as important as the mapper. The base entity allows for defining custom magic __set and __get functions that could be applied to all children. It also … Continue Reading →