<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Webdev on Janusworx</title><link>https://janusworx.com/tags/webdev/</link><description>Recent content in Webdev on Janusworx</description><generator>Hugo -- gohugo.io</generator><language>en</language><managingEditor>feedback@janusworx.com (Mario Jason Braganza)</managingEditor><webMaster>feedback@janusworx.com (Mario Jason Braganza)</webMaster><copyright>© 2026, Mario Jason Braganza</copyright><lastBuildDate>Wed, 30 Jun 2021 18:42:52 +0530</lastBuildDate><atom:link href="https://janusworx.com/tags/webdev/index.xml" rel="self" type="application/rss+xml"/><item><title>Learning Backend WebDev, Log #11 - Got a Django Certificate! Some Reflections</title><link>https://janusworx.com/work/learning-backend-webdev-log-11-django-cert-some-reflections/</link><pubDate>Wed, 30 Jun 2021 18:42:52 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/learning-backend-webdev-log-11-django-cert-some-reflections/</guid><description>&lt;p&gt;Been a few days since I wrote about Django.&lt;br&gt;
Last week was a roller coaster personally, so I took things slow.&lt;br&gt;
And then got back to a rhythm this week.&lt;/p&gt;
&lt;!-- TEASER_END --&gt; 
&lt;p&gt;The daily work’s paid off and I managed to hit a milestone.&lt;br&gt;
I got done with my Django course, today! :)&lt;br&gt;
Hurrah!&lt;/p&gt;
&lt;hr style="margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;" /&gt;
&lt;p&gt;&lt;a href="https://janusworx.com/images/2021/edx-django-cert.png" &gt;&lt;figure&gt;&lt;img
 class="my-0 rounded-md"
 loading="lazy"
 decoding="async"
 fetchpriority="low"
 alt="Picture of my certificate, passing the Django Course"
 src="https://janusworx.com/images/2021/edx-django-cert.png"
 &gt;&lt;/figure&gt;
&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://credentials.edx.org/credentials/c2b43bbea674427ea6b764993ce00b6d/" target="_blank" rel="noreferrer"&gt;Cert online.&lt;/a&gt;&lt;/p&gt;
&lt;hr style="margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;" /&gt;

&lt;h2 class="relative group"&gt;Some Reflections (in no particular order)
 &lt;div id="some-reflections-in-no-particular-order" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#some-reflections-in-no-particular-order" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;I should keep better logs and notes about how I go about doing work. I kept deleting my sqlite database, trying to fix model errors, forgetting that I’d moved to Postgres.&lt;/li&gt;
&lt;li&gt;This whole Django journey has built up on the last one. While I stood up a Django project the last time, I didn’t understand or grasp what I was doing.&lt;/li&gt;
&lt;li&gt;This time around, I’ve understood the &lt;em&gt;why&lt;/em&gt; and I’ve gotten a better mental model of how it all hangs together. What the request response cycle is. What needs to happen then. How it’s mostly all &lt;a href="https://en.wikipedia.org/wiki/Create,_read,_update_and_delete" target="_blank" rel="noreferrer"&gt;CRUD.&lt;/a&gt; How Django enables me to tie all these pieces together using models and views and forms and templates and a million and one little things to ease my life.&lt;/li&gt;
&lt;li&gt;I’m now confident enough to go try standing up a Django project on my own and then muddle through, to build something I want.&lt;/li&gt;
&lt;li&gt;I started the year, flailing about in the world of programming, because &lt;em&gt;everything&lt;/em&gt; interested me. I’m thankful I took the time, to figure out what interested me and where I wanted to apply my focus to. Once I zeroed in on doing web development with Python, I’ve made much better progress learning.&lt;/li&gt;
&lt;li&gt;While I understand that I need to &lt;em&gt;write&lt;/em&gt; a lot more code, I want to finish building up a firm foundation first. To that end I want to &lt;a href="https://www.pg4e.com/" target="_blank" rel="noreferrer"&gt;learn Postgres&lt;/a&gt;, finish up &lt;a href="https://www.edx.org/course/cs50s-web-programming-with-python-and-javascript" target="_blank" rel="noreferrer"&gt;CS50W&lt;/a&gt;, crash learn &lt;a href="https://www.udemy.com/course/datastructurescncpp/" target="_blank" rel="noreferrer"&gt;Data Structures &amp;amp; Algorithms&lt;/a&gt; (for my Indian interviews. Nearly every Indian company I’ve interviewed with, has made me do this and I’ve flunked miserably every time. I hope to miserably pass muster at least, going forward) and a &lt;a href="https://www.edx.org/course/c-programming-language-foundations" target="_blank" rel="noreferrer"&gt;wee bit of C.&lt;/a&gt; Also JavaScript. Lots to learn. I need to do this bit by bit daily, just like I did this part so far.&lt;/li&gt;
&lt;li&gt;I understand what folks say, when they talk about programming. I understand their opinions better. Makes me realise that I’ve gotten the basics down pat enough.&lt;br&gt;
To wit, Dr. Chuck was opining on destructors in classes in Javascript, and why there weren’t there in the early days and why they might be desirable now. And all the while, I was nodding my head in agreement, having understood every word, going uh-huh, uh-huh. Why? Yes! It’d be a darned good idea. I could do custom cleanup when my classes get torn down. (And this, from someone who has not written more than two pages of JavaScript yet 😂)&lt;/li&gt;
&lt;li&gt;I kept waiting all this while, for it get easier, to reach some abstract level by means of some deep insight, hoping once I’d master &lt;em&gt;that&lt;/em&gt;, I could then just fly along, spewing stuff, left right and centre, creating amazing works of code.&lt;br&gt;
What I found instead, is a bunch of primitives that folk all over the world, take and put together in different ways, using various methods of combining them.&lt;/li&gt;
&lt;li&gt;I realised that most of programming is just convention, based on a few truths. Which means that there is no grand unifying theory that ties all this in a neat bow. It’s just a lot of dedicated folk putting in the toil to create said works of code and polishing them to make it look beautiful. It’s mostly hard work. Not Genius.&lt;br&gt;
Actual breakthroughs and genuine insights that change everything are few and far between.&lt;/li&gt;
&lt;li&gt;And this makes me strangely happy. If it’s just hard work … well that I can do :) Why didn’t someone just point this out to me earlier? Knowledge work is just work? Putting in the hours and work and toil? Sure! Sign me up!&lt;/li&gt;
&lt;li&gt;I figure, it’s turtles all the way down. The work consists of studying something complex, breaking it down, understanding it, practicing it, making it your own and creating a portfolio to show it off. Basically the same journey as a carpenter. Apprenticeship -&amp;gt; Journeyman -&amp;gt; Craftsman.&lt;/li&gt;
&lt;li&gt;Finally, I’ve spent so much time telling folk, that becoming a &lt;a href="https://janusworx.com/books-through-the-years/" target="_blank" rel="noreferrer"&gt;good reader&lt;/a&gt;, took me &lt;em&gt;years.&lt;/em&gt; And as usual I’ve been domain blind. I did not see, it’s the same thing with becoming a good programmer. Toil and patience.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I’m on a break for the whole of next week, and will be back after, to begin the rest of the journey, refreshed.&lt;br&gt;
Here’s to upwards and onwards!&lt;/p&gt;</description></item><item><title>Learning Backend WebDev, Log #10 - A Very Long, and a Really Good Day</title><link>https://janusworx.com/work/learning-backend-webdev-log-10-a-very-long-and-a-really-good-day/</link><pubDate>Sat, 19 Jun 2021 17:55:52 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/learning-backend-webdev-log-10-a-very-long-and-a-really-good-day/</guid><description>&lt;p&gt;I did. I really did have a good work day!&lt;br&gt;
I had one of those, whatchacallit, &lt;a href="https://www.ted.com/talks/mihaly_csikszentmihalyi_flow_the_secret_to_happiness" target="_blank" rel="noreferrer"&gt;&lt;em&gt;flow states.&lt;/em&gt;&lt;/a&gt;&lt;/p&gt;
&lt;!-- TEASER_END --&gt;

&lt;h2 class="relative group"&gt;What I learnt in Django land
 &lt;div id="what-i-learnt-in-django-land" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#what-i-learnt-in-django-land" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;I learnt nothing!&lt;/li&gt;
&lt;li&gt;Well I learnt nothing new. I spent the whole day and what little I time I had yesterday, trying to crack the assignment for module three of the course.&lt;/li&gt;
&lt;li&gt;I struggled and struggled and then, struggled a bit more.&lt;/li&gt;
&lt;li&gt;The more I write Django, the more intuitive it feels, like I can never make out, what’s provided by Python and what has been built for me by Django. It all feels like one seamless whole.&lt;/li&gt;
&lt;li&gt;The blow up Django cycle continued today, to an extreme, it felt like. But it felt good and iterative, like I had a sandbox to play in, as I wished.&lt;/li&gt;
&lt;li&gt;There’d be a decimal error and I’d fix it and then there’d be some sort of bounds error because I’d built too little capacity to hold stuff in my models and I’d go fix it and then I’d figure that this method returns a tuple, so I need to catch it in two variables and throw one away, just so I could have at the data I was interested in, and I learnt how to rebuild my models and migrations and reset my database and I spent two exasperating hours on a consistent Django blowup that just should not have been possible. And then I realised, I was assigning the same data to two models (same variable.) Long story short, I learned a lot.&lt;/li&gt;
&lt;li&gt;Working over the past two days reminded me of this &lt;a href="https://wizardzines.com/comics/track-your-progress/" target="_blank" rel="noreferrer"&gt;Julia Evans&lt;/a&gt; page, that I serendipitously came across a while ago.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr style="margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;" /&gt;
![Julia Evans comic explaining the importance of tracking progress][jeiln]
&lt;hr style="margin-left: auto; margin-right: auto;margin-bottom: 40px; width:100px; border: none; background-color:rgb(238, 238, 238); color: rgb(238, 238, 238); height: 1px;" /&gt;

&lt;h2 class="relative group"&gt;Focus Follow Up aka Flow what?
 &lt;div id="focus-follow-up-aka-flow-what" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#focus-follow-up-aka-flow-what" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;This probably, was the first time, I had a state of flow while programming (I used to have them all the time at work as well lots of times, when I am writing).&lt;/li&gt;
&lt;li&gt;This probably means I am comfortable with the level I am at, and I should stretch a bit more.&lt;/li&gt;
&lt;li&gt;Did eleven, 30 minute sessions with no aborts. I lost track of time, quite a bit.&lt;/li&gt;
&lt;li&gt;Am done with three out of the four modules of this course, I’m on.&lt;/li&gt;
&lt;li&gt;After yesterday, today’s progress really feels good.&lt;/li&gt;
&lt;li&gt;While I’ll take my wins where I can find them, I should be cognizant of the fact that it was the uncomfortable practice of the week that brought me here.&lt;/li&gt;
&lt;li&gt;And so, I want to get more comfortable with feeling uncomfortable.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Here’s to finishing strong!&lt;/p&gt;</description></item><item><title>Learning Backend WebDev, Log #9 - A Very Long, and Not Very Good Day</title><link>https://janusworx.com/work/learning-backend-webdev-log-9-a-very-long-and-not-very-good-day/</link><pubDate>Fri, 18 Jun 2021 20:09:18 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/learning-backend-webdev-log-9-a-very-long-and-not-very-good-day/</guid><description>&lt;p&gt;Today is a short post.&lt;br&gt;
I worked a lot.&lt;br&gt;
Did not get much work or progress in.&lt;/p&gt;
&lt;p&gt;Life got in the way.&lt;br&gt;
Hope tomorrow is a better day.&lt;/p&gt;
&lt;p&gt;I did do, 2 hours of work though, and I did learn a lot.&lt;br&gt;
So there’s that.&lt;/p&gt;
&lt;p&gt;Until tomorrow …&lt;/p&gt;</description></item><item><title>Learning Backend WebDev, Log #8 - Many, Many Relationships</title><link>https://janusworx.com/work/learning-backend-webdev-log-8-many-many-relationships/</link><pubDate>Thu, 17 Jun 2021 16:42:17 +0530</pubDate><author>feedback@janusworx.com (Mario Jason Braganza)</author><guid>https://janusworx.com/work/learning-backend-webdev-log-8-many-many-relationships/</guid><description>&lt;p&gt;Another day of doing only Django.&lt;br&gt;
Not that I’m complaining. Finishing up this Django course is my priority.&lt;br&gt;
Followed by PostgreSQL and Data Structures and Algorithms.&lt;br&gt;
I just have to do them step by step, one after another.&lt;/p&gt;
&lt;!-- TEASER_END --&gt;

&lt;h2 class="relative group"&gt;What I learnt in Django land
 &lt;div id="what-i-learnt-in-django-land" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#what-i-learnt-in-django-land" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;I like calling it Django land. Reminds me of Tarantino’s Django and Candyland.&lt;/li&gt;
&lt;li&gt;I learnt all about many to many database relationships and how they’re done with models in Django.&lt;/li&gt;
&lt;li&gt;They’re a logical extension of one to many relationships.&lt;/li&gt;
&lt;li&gt;It’s like one of those who know who games. I know Carol. Carol knows Amelia. And so Carol is my through table, my join table, my junction table. I can request things of Amelia through Carol. That in a nutshell is what it is like.&lt;/li&gt;
&lt;li&gt;I realise that all these complicated terms I feared are actually succinct names for simple, yet long winded processes or things.&lt;/li&gt;
&lt;li&gt;I’m going to practice all this tomorrow morning.&lt;/li&gt;
&lt;li&gt;Heuristic, whenever I see repeated strings vertically, I ought to be thinking databases for efficient storage.&lt;/li&gt;
&lt;li&gt;Heuristic, whenever I see multiple things relating to multiple other things, I ought to be thinking many to many models/relationships (many books to a genre, many genres to a book, an author with multiple books, a book with multiple authors)&lt;/li&gt;
&lt;li&gt;Use integers for primary keys. Integers are &lt;em&gt;fast.&lt;/em&gt;&lt;/li&gt;
&lt;li&gt;I now love the folk who designed and built Django. The more I learn about its innards, the more I realise there is no Django magic. Just back breaking hard work and lots of thought put into building this beautiful edifice over the years. Makes me appreciate learning Django, even more.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2 class="relative group"&gt;Focus Follow Up aka How did I do with focus today?
 &lt;div id="focus-follow-up-aka-how-did-i-do-with-focus-today" class="anchor"&gt;&lt;/div&gt;
 
 &lt;span
 class="absolute top-0 w-6 transition-opacity opacity-0 -start-6 not-prose group-hover:opacity-100 select-none"&gt;
 &lt;a class="text-primary-300 dark:text-neutral-700 !no-underline" href="#focus-follow-up-aka-how-did-i-do-with-focus-today" aria-label="Anchor"&gt;#&lt;/a&gt;
 &lt;/span&gt;
 
&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;Did seven, 30 minute sessions of Django and one aborted session&lt;/li&gt;
&lt;li&gt;Had a lot of housework today and still managed to wrangle 3 and half hours of deep work.&lt;/li&gt;
&lt;li&gt;Writing notes, seems to be helping. I get my quizzes right the first time around.&lt;/li&gt;
&lt;li&gt;Deliberate practice and focus are not easy, that’s for sure. I keep looking at the clock. And then I keep moaning about how time passes too slowly when I am struggling with stuff.&lt;/li&gt;
&lt;li&gt;Also noticed that whenever I start working on something tough, my mind gets really uncomfortable and wants to do everything else, but focus on the problem and do the work. I want to suddenly call people I haven’t spoken to in ages, check my mail, my messages, peek at the fediverse 😂 I resist. And tell myself, I just have to hold on for 20 more minutes 😂&lt;/li&gt;
&lt;li&gt;I serendipitously came across &lt;a href="https://twitter.com/CompSciFact/status/1405267698695639041?s=20" target="_blank" rel="noreferrer"&gt;this tweet,&lt;/a&gt; just a few minutes ago, which tells me I am not alone :)
&lt;ul&gt;
&lt;li&gt;Writing code is often a constant struggle against distraction.&lt;br&gt;
— Joy of Clojure&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;This focus is now bleeding into other areas of my life. I am slowing down and doing other stuff, slowly, intentionally.&lt;/li&gt;
&lt;li&gt;My mind feels like it is slowly expanding as if it was in a vise. It feels a bit more relaxed, a bit more freer&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;a href="https://seths.blog/2021/01/born-to-run-things/" target="_blank" rel="noreferrer"&gt;Here’s to showin’ up!&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>