I recently updated tests in my open source library get-open-prs. My goal was to get as close as I possibly could to 100% test coverage. However, there were a few obstacles I had to overcome to do so. get-open-prs is a CLI and has a lot of side effects like printing to the console or waiting for user input.Read more
I’ve been getting really into Python. There’s been times in the past where I’ve dabbled or built things in Python but something about this recent “build a microservice” project at work has inspired me to learn more and increase my expertise. That project has since left my team’s hands due to sudden company restructuring but I feel happy to pursue the world of Python in my own time for now. Here’s even more things I’ve learned.Read more
I’ve been thinking a lot about how to give back and how to find my place in the programming world. As a continuation of that thinking, I decided to do a deep-dive into something I imagine a lot of experienced programmers want to do: mentor.
Are you a software engineer or web developer looking for volunteer opportunities that leverage your knowledge or skills? You’re in luck! This is the post for you.
I love `Array.prototype.reduce()`. I love the power and flexibility it brings me. Unfortunately, this Array prototype method confuses many developers, and as a result, isn’t used as often as it probably should be.
Before diving into the many uses for this Array prototype method, let’s take a look at the function signature.
This was a fascinating book. It chronicles the experience of a journalist investigating the concepts of memory palaces, memory athletes, and his own journey to see if these seemingly superhuman powers were indeed within the reach of the average person.
Contrasting with Jonathon Levi’s course on SuperLearning reviewed here, this book written by Scott Young is more grounded in the scientific literature and state of knowledge in the field of learning rather than a collection of tricks. I thought the book was well-written and offered practical advice on how to learn more efficiently. But don’t expect to be a super human after reading about the 9 main concepts covered by the book:
I stumbled across this while trying to calculate some configuration options and open multiple terminal windows at once to run multiple Node services.
There are two ways to programmatically open a new terminal window or tab on a mac, depending on whether or not you use iTerm or the default Terminal program. I’ll share both, with a brief explanation on how it works.