Welcome to another VSHN.timer! Every Monday, 5 links related to Kubernetes, OpenShift, CI / CD, and DevOps; all stuff coming out of our own chat system, making us think, laugh, or simply work better.
This week we’re going to talk about all those little things that make writing code more efficient, fast, and fun.
1. It might seem pedantic to non-technical folks, but shaving those extra milliseconds in tasks you do every day, well, it all adds up. Take, for example, the startup time of your favorite shell. Developers launch new terminals all the time, maybe on a tab in iTerm2, Windows Terminal, or tmux, and if it takes a bit more than… 100 milliseconds, we go crazy. If you are a Bash user, you will enjoy these guidelines to make your command line appear so fast you won’t believe it.
2. And what do you run in those Bash sessions? Command-line programs, of course. Maybe you have even written some for your own personal use, and then shared some of those on GitHub. In those cases, you might want to read the Command Line Interface Guidelines, a useful (and beautiful!) set of best practices for such applications, including sections about error reporting, arguments, environment variables, and so much more.
3. No matter which editor you spend your life on (Visual Studio Code, Vim, Joe’s, and Emacs are favorites among VSHNeers) you will want to have a nice font for your text, one that is readable in many different sizes, helping you spot errors faster, before you commit that code or hit the deployment button. But there are so many of them! Enter Dev Fonts, a comparison website showing the most common ones, so that you can find your personal choice (disclaimer: my favorite it’s JetBrains Mono).
4. Is it us, or somehow TOML is becoming quite popular lately? We are seeing it more and more as a configuration language of choice in many projects, starting with Hugo, for example. In any case it is great news to see it hit version 1.0 after almost eight years of development!
5. The tool of the week is lightkube, a lightweight Python wrapper around the Kubernetes API. Still a work in development, but one combining two of the most used technologies in VSHN!
Have you written and shared any command-line utilities? What is your favorite coding font? Do you have any terminal tips to share with the community? Get in touch with us through the form at the bottom of this page, and see you next week for another edition of VSHN.timer.
PS: would you like to receive VSHN.timer every Monday in your inbox? Sign up for our weekly VSHN.timer newsletter.
PS2: would you like to watch VSHN.timer on YouTube? Subscribe to our channel vshn.tv and give a „thumbs up“ to our videos.