3 ways to test your API with Python
In this tutorial, you’ll learn how to unit test code that performs HTTP requests. In other words, you’ll see the art of API unit testing in Python. Unit tests are meant to test a single unit of behavior. In testing, a well-known rule of thumb is to isolate code that reaches external dependencies. For instance, when testing a code that performs HTTP requests, it’s recommended to replace the real call with a fake call...
Run containers on your Mac with Lima
Running containers on your Mac can be a challenge. After all, containers are based on Linux-specific technologies like cgroups and namespaces. Luckily, macOS has a built-in hypervisor, allowing virtual machines (VMs) on the Mac. The hypervisor is a low-level kernel feature, not a user-facing one. read more Powered by...
Use this Linux command-line tool to learn more about your NVMe drives
NVMe stands for Non-Volatile Memory Express, and it refers to how software and storage communicate across PCIe and other protocols, including TCP. It’s an open specification led by a non-profit organization and defines several forms of solid-state storage. My laptop has an NVMe drive, as does my desktop. And they’re fast. I love how quickly my computers boot and how quickly they’re able to read and write data....
Use Vagrant to test your scripts on different operating systems
I’ve been happy using Vagrant for quite a while now. I work with several DevOps tools, and installing them all on one system can get complicated. Vagrant lets you do cool things without breaking your system because you don’t have to experiment on your production system at all. read more Powered by...
5 best practices for using open source community leaderboards
It takes a community of people with varying skill sets and expertise to build open source software. Leaderboards have become a way for open source communities to track progress and showcase and celebrate top-performing contributors. If leaderboards are done right, they can increase participation, motivate contributors with gamification, and enhance the community. But leaderboards can also have adverse outcomes—including discouraging...
Why my public library chooses Linux and open source
The Crawford County Federated Library System has been using Linux and open source software in its IT operations since 1999. They realized early on the potential of open source and integrated it into their enterprise. They were a part of my own Linux journey as I built a content filtering system for our school district. Twenty years ago, there were few models for the use of open source in libraries and education. Meadville Public...