806 - No memorices más comandos. Que Linux y tu IA trabajen para ti

I'm sure it's happened to you a million times. You're going about your daily tasks on the computer and you find yourself typing the same commands over and over. A "docker compose up -d" here, an "rsync" with fifteen strange parameters to create a backup there, or the typical system update loop with "sudo apt update && sudo apt upgrade". In the end, to avoid the frustration, we end up creating small, scattered scripts on our hard drive, or adding aliases and strange functions to our shell configuration file (the famous .bashrc or .zshrc). But let's be honest: a month goes by, you look at that alias again, and you can't remember exactly what it did, or you lose the script in some forgotten folder on your system. It's absolute chaos. To bring order to this garden of repetitive commands, Just was born. Writing a "justfile" is as simple as composing a text note in your favorite editor. And now you're probably wondering, "Lorenzo, why are you bringing up Just again if you already mentioned it briefly?" Well, it's all thanks to my latest obsession: Hermes, my local AI assistant with whom I manage and automate almost every aspect of my life. Lately, I've been trying to get Hermes to do everything for me, and that's where I've realized that, sometimes, artificial intelligence behaves like absent-minded humans. Let me tell you a little anecdote that perfectly illustrates this. I have a level of laziness that sometimes borders on the infinite. Normally, when I finish a run, I like to record my training data: distance, pace, heart rate, etc. To avoid writing it all out by hand, I would dictate a voice message to Hermes telling him how the run went. He would transcribe the audio and save the data in its place. But the other day, overcome by sheer laziness, I decided to do something different: I took a screenshot of the mobile app with the workout summary and sent it to Hermes via Telegram. To my surprise, Hermes took the image, used a text-reading tool (an OCR called Tesseract), and extracted all the numbers perfectly. I was amazed and thought, "Wow, I don't have to dictate anymore!" The next day, I went for a run, took another screenshot, and sent it to him full of excitement. And what does Hermes say? "Hey Lorenzo, what do you want me to do with this image?" I reminded him that the day before I had used a text-reading process, to which he replied coldly, "Oh, sorry, I don't have that tool installed!" He had completely forgotten how to structure the process steps. I had to explain to him again, step by step, which terminal command he needed to run to read the image. At that precise moment, the lightbulb went off in my head. Hermes needs a road map! In the end, Just isn't just a tool for experienced developers. It's an incredible ally for any sysadmin, content creator, or tinkerer who wants to document their processes in a way that's also directly executable. Episode Chapters 00:00:00 Introduction: Forget about repeating commands 00:01:33 The problem with Hermes: Why AI gets lost too 00:03:04 What is Just and how does it work? 00:04:59 How to Install Just on Linux 00:05:31 Comparison: Just vs. Make and Task 00:06:42 Managing Variables, Arguments, and Functions 00:08:49 Recipe Attributes for Fine-Tuning Behavior 00:10:00 Line Behavior and the Power of the Shebang 00:11:00 Built-in Functions and Global Settings 00:12:00 Operators, Expressions, and Complex Dependencies 00:13:00 Using Alternative Interpreters (Bash, Python, Node) in Just 00:14:18 Regular Recipes vs. Shebang Recipes and Scripts 00:15:33 Modules and Importing External Recipes 00:16:38 The Interactive Selector with Fuzzy Search (Just Choose) 00:17:37 Aliases, Groups, and Autocompletion in Your Shell 00:18:09 Real-World Use Cases (Sysadmin, Docker, Backups) 00:19:18 Live, executable documentation for everyone 00:20:17 Version control with Git and Just's limitations 00:21:10 A forgotten tale of laziness, Hermes, sports, and OCR 00:22:59 Conclusions: Simplify your life with this command executor 00:24:58 Episode closing and farewell Give Just a try and tell me in the comments what recipes you'll create for your daily life. Give Just a go and let me know in the comments what recipes you'll create for your everyday life. More information, links, and notes at https://atareao.es/podcast/806 🌐 Find everything here 👉 https://atareao.es ✈️ Telegram (the group) 👉 https://t.me/atareao_con_linux ✈️ Telegram (the channel) 👉 https://t.me/canal_atareao 🦣 Mastodon 👉 https://mastodon.social/@atareao 🐦 Twitter 👉   / atareao   🐙 GitHub 👉 https://github.com/atareao