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

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

February 3, 2023 · Mario Jason Braganza

What I Learned Today (2nd of February, 2023)

Long day today1. I thought I got nothing much done, until I wrote this post. So, more incentive to keep writing these. Python Learning about how to make keyword arguments stick. And how to think about structuring programs Devops Deep dive into how to add prow job listings to the dashboard and viceversa; how to go about looking for the job from the dashboard Urdu / French Lots of practice with vowels and the ‘jiim’ group of letters....

February 2, 2023 · Mario Jason Braganza

What I Learned Today (1st of February, 2023)

Did a full day. But is this sustainable? I’ll know in a week or so. Python Finally figured out what def __init__ (self): does in an class, in a way that makes sense to my mind. If I create an class and I want it (i.e. the objects created with it) to take in arguments, then I need to define an __init__ method to set it all up. For e.g. if the class definition is just class chantSomeName(): where do I reconcile the fact that I need to pass in a name that needs chanting?...

February 1, 2023 · Mario Jason Braganza

What I Learned Today (31st of January, 2023)

Been knocked down a little too much over the past few months. This is me, getting up from my knees. Doing some things daily to learn. To give myself grace To be kind to my self. Python Morsels Getting back into the swing of writing code. Today was basically just looking at a blank screen and wondering why nothing would come out. Urdu Started with module one of Rekhta’s wonderful Aamozish....

January 31, 2023 · Mario Jason Braganza

FOSS.training / DGPLUG Summer Training 2022 Begins

Let’s get the important bits out of the way first. I have been both, busy and lazy. Mea culpa. But the new FOSS.training’s aka DGPLUG Summer Training cohort begins tomorrow, the 25th of July, 2022 (6.30pm IST). Come, join! Join the mailing list, here. Come join the #dgplug irc channel on Libera, because that’s where the training will be conducted. So, what is it? The summer training is short-ish, couple of months-ish long, series of meetups on irc....

July 24, 2022 · Mario Jason Braganza

Updated Poemfeed

Update: fixed Github link The little script I wrote in 2020, to get me my daily poetry fix, died a couple of months ago. Life got in the way of me, figuring out what was wrong. I finally got around to it today. A little bit of peeking under the hood revealed that Cloudflare did not like me using the Python Requests library to check the Poetry Foundation page. Or maybe it just did not like the useragent string that Requests gave it....

May 27, 2022 · Mario Jason Braganza

Installing PyCLD3 on an Apple M1 Mac

While building my work product on the fancy-schmancy M1 work Mac, I kept running into clang errors, when I did a pip install Turns out, PyCLD3 would not build. So I did it manually. This tip on Github did the trick We need brew installed. And then we run the following commands in a terminal … brew install protobuf #install protobuf # set various compiler flags export GRPC_PYTHON_BUILD_SYSTEM_OPENSSL=1 export GRPC_PYTHON_BUILD_SYSTEM_ZLIB=1 export CFLAGS='-I /opt/homebrew/opt/protobuf/include' export LDFLAGS=-L/opt/homebrew/opt/protobuf/lib # install pycld3 python3 -m pip install pycld3 And we’re set!...

March 30, 2022 · Mario Jason Braganza