TIL: The Difference Between a CLI Tool and a Freeze Tool

I keep writing these tiny utilities for myself in Python and while I love writing in Python, I definitely don’t enjoy the little war dance I have to do everytime I want to run it on a new machine. Keeping track of virtual environments, and then installing packages in them, quickly gets tiresome. I want to just run the program once I’m done with it. Like a C program. Or Rust....

March 1, 2023 · Mario Jason Braganza

What I Learned Today (14th of February, 2023)

Happy Valentine’s all you lovely people! :) Hugo Upgraded to the latest Papermod theme on the website Devops Installed Fedora in a VM on my machine in order to do Devopsy work Python Learnt about the object() function. If I want an native something to use later, I can always cast to an basic object (x = object()) and use it. Best to use it, when using None would cause ambiguities....

February 14, 2023 · Mario Jason Braganza

What I Learned Today (13th of February, 2023)

Nothing. Nothing. Absolutely nothing! I didn’t feel well today. So I went to bed. Did log my usual weekly, books and fitness entries though.1 Urdu Did the “ain” / “gain” group. Had fun, trying to pronounce the fricative gh (/ɣ/) sound. Emacs Just a little note of gratitude to the community over at Emacslife Me, thinking out aloud in the last part of this section, led to several folks emailing me with kind and encouraging words....

February 13, 2023 · Mario Jason Braganza

What I Learned Today (11th of February, 2023)

Rest day! Not doing much! Emacs It works! Yesterday’s little hack, to clock in and out when I change state works well! It doesn’t seem to have broken anything. Also I added a WORKING state, and tagged my function to that. The clock in and out happen when I switch in an out of the WORKING state. Because I want my parent task to show IN_PROGRESS and the current subtask to be what I am working on....

February 11, 2023 · Mario Jason Braganza

What I Learned Today (10th of February, 2023)

Decided to play hooky today, because I got up reallly late and then I got stuff at home to do. Emacs Since I was playing hooky with my time and attention anyway, I decided to see, if I could tackle this little thing, I wanted to happen with my Org Mode. Everytime I move my TODO status for a task to IN_PROGRESS, I want Org to automatically clock in for me....

February 10, 2023 · Mario Jason Braganza

What I Learned Today (9th of February, 2023)

Regex Started doing regex exercises, so i don’t get bored doing only python. will alternate them for now Using Practice Makes Regexp. I have only the book though. It’s now expanded to include video solutions too. Highly recommend any of Reuven’s courses Set up environment and did one exercise which was to look up the user’s input in a dictionary (a word dictionary. not a programming dictionary) Linux Mint Yesterday’s work was for naught Devops Kubernetes, began doing some exercises Set up the environment today Spoke with a friend about practicing Ansible / Devops stuff Learnt about putting in environment variables into a docker compose file and then using them in a Django container Hugo Diddled with the code element font size on the blog, to make it look a little larger Urdu Learnt about the “tashdiid” symbol that helps add emphasis to a consonant Physical Fitness Nearing the end of my month long journey....

February 9, 2023 · Mario Jason Braganza

What I Learned Today (8th of February, 2023)

Don’t know if it’s the gym or the regular work beat, but I seem to be waking up later and later everyday. I don’t know what to do about this. I feel a little anxious about not having enough hours in the day. Python Why use comprehensions? Because it reads better. Like I advice the young ones in DPGLUG on writing. Write short, choppy sentences. They read better. With my problem sets … I should stop trying to generalise in advance and solve the specific problem first....

February 8, 2023 · Mario Jason Braganza

What I Learned Today (7th of February, 2023)

Yesterday, took a lot out of me. Took it easy today. Python Got today’s assignment done well in time; and then went out looking for better ways to write it over again. Writing code is getting exciting now. Just like how I learnt to write in my teens. Write. And then go figure out, how I’d do it better. Busywork Spent a coupla hours doing some busywork for A Thing; that if it pans out will be a good thing for me....

February 7, 2023 · Mario Jason Braganza

What I Learned Today (6th of February, 2023)

Everything went to hell in a handbasket today. Time was short. I got up late. I forgot, I had physio. So most things got slightly abbreviated or dropped. Python Did not complete my assignment. Flunked it again. But on the plus side, those 45 minutes were some of the hardest thinking and iterating, I have done in weeks. So there’s that. And on the plusser1 side, I am proud of having stopped and then looked for help....

February 6, 2023 · Mario Jason Braganza

What I Learned Today (4th of February, 2023)

A week in! Woohoo! Python Exercised with dictionaries today. Today was the first time, I could not solve my assignment, no matter what I tried. Lessons learnt: Stick to a schedule and do hard stops, since Python is only a small part of what I want to learn Learn to quit sooner. I’m like a dog with a bone, when it comes to problems. This approach may have helped me in the past, but it hinders me a lot, when writing code....

February 4, 2023 · Mario Jason Braganza