Kubernetes, Programming, and More
-
Kubernetes 1.26: Job Tracking, to Support Massively Parallel Batch Workloads, Is Generally Available | Kubernetes
The Kubernetes 1.26 release includes a stable implementation of the Job controller that can reliably track a large amount of Jobs with high levels of parallelism. SIG Apps and WG Batch have worked on this foundational improvement since Kubernetes 1.22. After multiple iterations and scale verifications, this is now the default implementation of the Job controller.
Paired with the Indexed completion mode, the Job controller can handle massively parallel batch Jobs, supporting up to 100k concurrent Pods.
The new implementation also made possible the development of Pod failure policy, which is in beta in the 1.26 release.
-
Shell Programming Secrets Nobody Talks About
Most tutorials about shell programming are often part of larger guides on Linux. They gloss over the numerous ways that your code might work but still fail under certain circumstances. Given that shell scripts are used to manage billions of dollars of assets, it is important to learn how to write clean and safe code with them.
Last year, I wrote a book on Linux command-line tips and tricks, and made several updates to it. Annoyingly, I continue to discover something new and important about the Bash shell program almost every week. I did not want this happening after I had ordered my author copy. The discoveries made me wonder what I have been doing all these years without knowing these bash secrets.
-
How to Read Text Files in Python
While working with the Python application, you would be required to read and write text files in Python. You can refer to our other tutorial to write a text file in Python. Reading a text file in Python is a simple process that can be accomplished using a few different methods.
-
This Week In Rust: This Week in Rust 475
-
[Fixed] Failed to connect to raw.githubusercontent.com port 443: Connection refused [Ed: Or just quit relying on Microsoft]
-
Building a New Retro Styled Computer - CubicleNate’s Techpad
Computers are a lot more fun when they are personal and have a bit of personaltity to them. You can’t get much more personalized than 3D printing your very own retro styled computer. This was all inspired by watching an episode on the YouTube channel, Retro Recipes, where LadyFractic built herself a retro computer, my daughter wanted to build a computer for herself. I wasn’t sure how serious she was on it but she kept watching the two part series over and over again which indicated to me that this was a project that had to be completed. When I asked what color she wanted, her face lit up and she said “pink” that cemented the deal for me. We are making one of these in pink and I think it is going to look pretty darn cool.
-
Jonathan Dowland: dark mode
I was pleasantly surprised to find that the crux of the technical side was to define “alternate stylesheets”, something I was playing around with 20 years ago. If your browser supports it (Firefox does at least: View → Page Style) you can select one of “dark”, “light” or “default”, the last of which follows what your OS settings/preferences are.
The last puzzle piece was a CSS media type query prefers-color-scheme to activate stanzas of CSS depending on the browser/OS light/dark preference. There is some awkwardness around this which is mitigated in my case by using a CSS pre-processor, in my case Sass.