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. Have gotten over the pain hump, but the personal trainer isn’t quite sympatico with my needs. He’s a good egg, but we seem to be talking past each other. Wonder what to do when my time is up mid week next. Did legs today. Went well. Jogged 10m after. Walked 30m after that. Feedback on this post? Mail me at feedback@janusworx.com P.S. Subscribe to my mailing list! Forward these posts and letters to your friends and get them to subscribe! P.P.S. Feed my insatiable reading habit. ...

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. Read stuff carefully. Don’t do more than is necessary Solutions take time to understand too. Budget the time Linux Mint Nemo, the file browser in Linux Mint always opens the home directory, when I click on it and there’s no apparent way to change it to a preferred directory. I want it to always open Downloads A little bit of web spelunking led to an acceptable work-around. Right click the main menu button Click Menu => Open the menu editor => Accessories Then click Files in the items from the right and click Properties further right Change the command form nemo %U to nemo Downloads And that does it! Update 2023-02-09: Does not work. Will look for some other approach. Right now, with the workaround it opens a Downloads window alongside any other folder I click on 😂 Hugo Added a plain, hamburger menu to this blog, using Aditya’s helpful instructions over on the PaperMod Discord. With all the extra nav items, I’ve added to the header the menu would overflow on my iPhone (and probably on other folks’ phones too). So if this page scooches narrow enough, it will change the links on top to a plain menu. ...

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. ...

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. That was my biggest learning for the day. ...

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. Urdu Did the ‘re’ group of letters Exercised with the ‘re’ and ‘daal’ groups I’m learning the alphabet, using the wonderful Aamozish website, in case you folks have been confused about what I was doing with the language. Webdev Watched Webhooks for Beginners Sooner or later, I want to customise my dinky little Huginn instance to do a lot more. This’ll come in handy then. Physical Fitness Today was the first day, gym felt a wee bit normal. Hope this positive phase continues … Thoughts I seem to have got into a good work rhythm. Next step seems to prioritise my work and do more of what is needed, to get me a devops job. Feedback on this post? Mail me at feedback@janusworx.com P.S. Subscribe to my mailing list! Forward these posts and letters to your friends and get them to subscribe! P.P.S. Feed my insatiable reading habit. ...

February 4, 2023 · Mario Jason Braganza

What I Learned Today (3rd of February, 2023)

Slightly distracted day, today compared to the rest of the week before. Well, c’est la vie. Python Read about functions, key functions, and asterisks Practiced list comprehensions and dictionary lookups Learnt and practised some, about decimals and rounding up Devops Devops-ish? Upgraded the BIOS of my desktop to the current the latest available version. I was on v1.5, when I had last done it in July ’21. Now I am on v1.9 from November last year. Fixes plenty of vulnerabilities. While I got to know of it last eve, I did not upgrade then, because I wanted my mind fresh and attentive while I did this. I have bricked enough PCs and handhelds in my misspent youth and I cannot risk killing my daily driver to tiredness. What do they call it now? UEFI firmware?1 Urdu Learnt the ‘daal’ group of letters Today was also the first day, I realised reading right to left is becoming intuitive. I read “Daataa”2 in Urdu and went to check if I was correct by trying to read the English, and was wondering why they nonsensically called it “aataad”, until my brain switched back to Latin and reading left to right 😂 Physical Activity I hope gym gets easier, because I am getting crankier about the pain by the day. The better half says I sustained much more pain with physio and bore it longer and more stoically when I broke my back in 2017. Well, that was my body doing it to me and I had no control over it. Right now, I am doing this to myself, ergo the crankiness. I know this is good for me in the long run. Does not stop me from hating the process and its repercussions right now. I’m getting old and grumpy. Feedback on this post? Mail me at feedback@janusworx.com P.S. Subscribe to my mailing list! Forward these posts and letters to your friends and get them to subscribe! P.P.S. Feed my insatiable reading habit. ...

February 3, 2023 · Mario Jason Braganza