Forever chemicals and blood donation
I saw a headline saying that donating blood lowers the level of forever chemicals in your body. This post will give a back-of-the-envelope calculation to show that this idea is plausible. Suppose there are chemicals in your bloodstream that do not break down and that your body will not filter
Read moreRedis Internals: Client Sends a Command and Receives a Response
The case when there are no I/O threadsPhoto by David Rangel on UnsplashIn the previous article of the Redis Internals series, I described what happens on the Redis side when a client connects to it via TCP. Now, I’ll consider what happens when a client sends a command and receives a response.
Read moreHow to Use Cobra and Viper to Create Your First Golang CLI Tool
Bootstrap your project, add commands and flags, and create a usable CLI toolImage by authorCommand-line interfaces (CLIs) are a powerful way to interact with your OS. They are often used for repetitive tasks or requiring a lot of precision. Golang is a modern programming language known for its performance, simplicity, and concurrency
Read moreQuick Tip: Controlling macOS with Python
Working on a Mac, we can control almost everything about the system using pyobjc, the Python-to-Objective-C bridge. Continue reading Quick Tip: Controlling macOS with Python on SitePoint.
Read moreHow ICs can get recognition for their work on big projects (Ep. 590)
Dr. Cat Hicks, Director of Pluralsight Flow’s Developer Success Lab, joins Ben and Eira to talk about why ICs deserve recognition for their contributions to big projects (and how they can get it). Plus: why data is your best tool in getting your manager on your side, the shared DNA
Read moreSearching for proper nouns
Suppose you want to find all the proper nouns in a document. You could grep for every word that starts with a capital letter with something like grep 'b[A-Z]w+' but this would return the first word of each sentence in addition to the words you’re after. You could grep for
Read moreMoments of Tukey’s g-and-h distribution
John Tukey developed his so-called g-and-h distribution to be very flexible, having a wide variety of possible values of skewness and kurtosis. Although the reason for the distribution’s existence is its range of possible skewness and values, calculating the skewness and kurtosis of the distribution is not simple. Definition Let
Read moreChris’ Corner: More Like CSBest
We gotta talk about CSS! That’s my favorite thing! It’s always on the table for a good Chris’ Corner edition, but sometimes focusing on it entirely is best. Klint Finley called it “The modern web’s underrated powerhouse” for GitHub’s publication The ReadME Project back in February, and I’m inclined to
Read moreDebugging Crashes and Deadlocks in Python using PyStack
Using PyStack’s “forbidden magic” to debug deadlocks, segmentation faults, crashes, and other difficult bugs in PythonContinue reading on Better Programming »
Read moreHow I Learned To Stop Fearing Deployments
This is a story I regularly tell engineers I work with because it’s profoundly impacted me as an engineering leader and person. When I was a team lead at carsales, my small team regularly made more than 20 deployments into production a week, including hotfixes for bugs that some of
Read more