How 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 moreTypeScript Wrapper: Optional Inputs and Dynamic Output Types
All images generated by Microsoft DesignerWhile many articles explain how to write a wrapper, we’ll show you how to control its type fully in this one. But first, let’s define what a wrapper is:A wrapper is a function that encapsulates another function. Its primary purpose is to execute additional logic that
Read moreTechnical Encounter: Low Code With Dash
Developing robust data applications with ease in DashContinue reading on Better Programming »
Read more