Reinforced Learning

Tips and tricks we've picked up along the way.

Olio Apps

Automatic Code Formatting for Partially-Staged Files

GitAutomatic Formatting

Automatic Code Formatting for Partially-Staged Files

I wrote git-format-staged to apply an automatic code formatter or linter to staged files. It ignores unstaged changes, and leaves those changes unstaged. When run in a Git pre-commit hook git-format-staged guarantees that committed files are formatted properly, and does not clobber unstaged changes if formatting cannot be applied to working tree files cleanly.

Jesse Hallett

Software Engineer

Pyramid of Doom - or - My Problem Solving Algorithm
Problem SolvingAlgorithms

Pyramid of Doom - or - My Problem Solving Algorithm

We recently had a new intern at Olio Apps and during the first couple days they were given a mini coding exercise to work through. By way of Friday afternoon banter, this was extended as a challenge to the rest of us devs to come up with our own solution. I wanted to write down my approach to solving this problem because it may be useful for some student, intern or Jr. dev preparing for an interview.

Siggy Hinds

Software Engineer

Olio Apps

Love Thy Selenium Tests: Functional Tests that Fail Only When They're Supposed To

TestingSelenium

Love Thy Selenium Tests: Functional Tests that Fail Only When They're Supposed To

Automated browser testing with Selenium can be a developer's best friend, and at the same time, their worst enemy. Tests that once seemed to work well can mysteriously start to break, fail only sometimes, or slow to a crawl. But, your relationship with Selenium doesn't have to be so complicated.

Stormi Hoebelheinrich

Software Engineer

Type-Driven Development with TypeScript
TypeScriptType-Driven Development

Type-Driven Development with TypeScript

I am always interested in making my coding process faster and more robust. I want to be confident that my code will work as expected. And I want to spend as little time as possible debugging, testing, and hunting down pieces of code that I forgot to update when I make changes to a project.

Jesse Hallett

Software Engineer

Interested in working with us?