A Hundred Days of Code, Day 043

Continuing with the Flask course. Today I learnt about how to loop, using Jinja loop blocks. The syntax is slowly becoming clear to me. Everything python related in enclosed is {% … %} blocks, except for variables which use their own {{ … }} syntax. What I am still confused on is the relationship between the various files, I am writing. There is html and then there are templates and there are python files themselves. Hopefully that will get clearer in the days to come. My naïve understanding, right now, is ...

June 12, 2020 · Mario Jason Braganza

The Picture of Dorian Gray

Word for word, the most epigramatic book I have read. Short, sweet and beautiful words and lines and dialogue. Here’s a few. The books that the world calls immoral are books that show the world its own shame. Experience is merely the name men gave to their mistakes. Nowadays people know the price of everything and the value of nothing. Children begin by loving their parents; as they grow older they judge them; sometimes they forgive them. ...

June 12, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 042

Second day with the Flask course. Beginning to realise that Flask is not a monolithic thing, but consists of a lot of moving parts. Looking forward to learning what they are as I progress along. Today I learnt how to set my Flask variable, and create an environment, so that I can run Flask consistently without problems. Miguel also teaches a simple, yet effective way to combat yak shaving. You know, where all you want is one simple thing, but then that depends on that other thing, which reminds you that you need that third thing and the next thing you know, you’re at the zoo, shaving a yak, all so you can wax your car. Just don’t do that other thing. Focus on what you are doing. If there is something you need, use a dummy. Mock something up. This is a very real, meta lesson, that I’ll carry with me for the rest of my days. ...

June 11, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 041

Started to very slowly do the Mega Flask Tutorial. This real world project-cum-tutorial, should let me learn more real-world-esque Python and expand beyond the tiny vocabulary, I have. Setup my environment today and created a baby flask app. Even that had something to teach me. I could not quite wrap my head around decorators, the first time I read about them and this tiny app uses routes in the form of decorators. Which meant, I had to go read about them and understand them first. ...

June 10, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 040

Done with the Talk Python course. And now to shift to low intensity Python learning while I ramp up studies for the 12th exams. Will probably learn Flask with Miguel Grinberg.

June 9, 2020 · Mario Jason Braganza

A Hundred Days of Code, Day 038

Does not feel like I did anything today. But I know my plodding will pay off.

June 6, 2020 · Mario Jason Braganza