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
Many of us have used open source software and some of us might have even contributed at some point as well. The main principle behind open source is that code is created and shared for the mutual benefit of all. However, many of us don’t want to be unwittingly complicit in causes that are against our values. As a result, there is an inherent tension between the aspirations of open source and the people creating that software. The following stories illustrate some of the ways folks have tried to leverage open source as a way to change policy or prevent their code from being used to commit atrocities.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: