A Hundred Days of Code, Day 027 (Python Beyond The Basics - Object Oriented Programming)

Realised that while I do know rough and tumble basic Python, I have a long way to go before I can do things or even understand things. Half of my frustration writing, is because I cannot do the things, I want to do, and I struggle along and by the time, some generous friend shows me or I find the answer on the net, I realise that I don’t know this part of Python at all! I have a vocabulary problem. I know to talk like a child, not communicate like an adult. ...

May 9, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 026 (Grokking Algorithms)

With my area in near-quarantine, I was too busy rushing around, making sure family was ok. Had a lot of patches of free time, in the middle of things though. So I decided to read about algorithms. I know I need a good base in the future, and knowing about the turtles that underlie my new world. I decided to start small, and picked up Grokking Algorithms. I loved it. It taught me about the big low hanging basic problems that folks need to solve using computers and the patterns / recipes / algorithms we use to solve it. Problems like how to sort stuff (selection sort, quicksort) And how we can break down a big problem into a set of similar problems that get smaller and smaller and solving them all using a single solution from the inside of the problem onion, outwards, or from the smallest Matryoshka doll to the largest. (recursion) And how lists function and how to find the most efficient way to get from point A to point B. It covers a set of the basic algorithms in use today and has plenty of pointers to more efficient ways of how things are done in the real world and also where to find more advanced problems. ...

May 8, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 025

To get over the hump of just blindly following videos, and after some talking over with Kushal, we got to me solving problems that he would gimme. So now I can alternate between a regular path and real world practice. The first couple were about using psutil to do various things. The first one would give me back my CPU and memory usage, while the other one gives me what programs are using the network on which ports. This was fun to do! ...

May 7, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 024

Done with a new app! This one is a small app that searches for some text you want, through a folder full of files. I learnt about try / except blocks. this was necessary to catch non text files. learnt about recursive programming. I understand it in principle now. I need more practice. learnt about generators. This too, I get in principle, but need lots more practice. Code’s here on Gitlab and on Github. ...

May 6, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 023

Did a lot of work today. Struggling to understand how to use generators.

May 5, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 022

This probably should be my final day of doing nothing. Am stretching to finish up something, so that I can then give more time to this #100DaysOfCode endeavour. Wish me luck. The #100DaysOfCode stretches A Hundred and Five!

May 4, 2020 · Mario Jason Braganza