A Hundred Days of Code, Day 001

Yak Shaving day. Setup VS Code. Cleaned my repos. Setup Python. Hopefully, tomorrow is better!

April 14, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 000

Well, life caught up with me again. And so, ridiculous as it may sound, I’m starting over, again! An hour a day. For a hundred days. I did 37 days last time. Here’s to a hundred and lots more learning this time. Continuing with the Talk Python, #100DaysOfCode in Python. Will do it at my pace. And mix and match other little programs and challenges as I come across them. Wish me luck! ...

April 14, 2020 · Mario Jason Braganza

#100DaysOfCode, Day 008

Today was cautious fun :) What did I do today? I got a rough journal working switched to vscode as my programming editor (still using emacs for my other writing.) will move back to emacs when I have the time to sharpen the saw, because I want an editor that I can use 30 years from now. Right now though, I cannot afford to yak shave. What did I learn? ...

November 10, 2018 · Mario Jason Braganza

#100DaysOfCode, Day 007

Lots of new concepts today … What did I do today? Watched the videos on how to make a mini journal app. What did I learn? Today was a doozy I learnt about lists, more conditionals, how to use files for storage & write to a disk independent of what os I’m using, how the main() function kicks things off, and how to use different files for different parts of a program to keep things cleaner and more organised. While I began well, I’ve gotten thoroughly confused as the class went on. I know these things individually (I think), but the putting it all together, feels like drawing the rest of the fucking owl. Hope things get clearer tomorrow, as I begin to actually write the program. ...

November 9, 2018 · Mario Jason Braganza

#100DaysOfCode, Day 006

Today I really understood what deliberate practice was all about. What did I do today? Wrote and ran the birthday app I watched yesterday. It’s a simple app that asks you for your birthday and then tells you, how many days to or since your birthday. What did I learn? I spent at least 30 minutes hunting down and looking up errors, caused by a tiny typo. I ought to be more careful. On the other hand, while I know the basic syntax, my python vocabulary isn’t large enough yet. I still need to see what my 80/20 ratio of fluency to lookup will be. Right now I am looking up everything. I am beginning to think of programming as cooking. It’s a really good analogy and it makes programming a lot less intimidating. And finally I actually figured what deliberate practice was all about. I worked at a hard enough task that was just out of reach. As opposed to times in the past where stuff was too easy or frighteningly hard. This is a really good space to work in. My head still hurts, but it hurts in a good way 🙂 Onwards … ...

November 8, 2018 · Mario Jason Braganza

#100DaysOfCode, Day 005

Happy Deepavali folks :) Had an easy day today. The slog yesterday paid off! What did I do today? Finished the Guess the number game app. Watched videos for the next one, the Birthday Countdown App. What did I learn? Have to be wary with while loops and where I choose to exit them. Also I should always initialise them with some value that is not in the answer / solution range. I can break my code into functional pieces. This piece of code doing one thing and that one doing that. These little mini programs of code are called … functions. I felt like Hansa when I realised this. When you ask the user for any input, it’ll always come in as a string. You need to convert it, to the format you need. Onwards … ...

November 7, 2018 · Mario Jason Braganza