<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Jasonlearnspostgres on Janusworx</title>
    <link>https://janusworx.com/tags/jasonlearnspostgres/</link>
    <description>Recent content in Jasonlearnspostgres on Janusworx</description>
    <image>
      <title>Janusworx</title>
      <url>https://janusworx.com/images/jw-logo.png</url>
      <link>https://janusworx.com/images/jw-logo.png</link>
    </image>
    <generator>Hugo -- 0.157.0</generator>
    <language>en</language>
    <lastBuildDate>Tue, 15 Jun 2021 19:18:48 +0530</lastBuildDate>
    <atom:link href="https://janusworx.com/tags/jasonlearnspostgres/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Learning Backend WebDev, Log #6 - Focus Followup</title>
      <link>https://janusworx.com/work/learning-backend-webdev-log-6-focus-followup/</link>
      <pubDate>Tue, 15 Jun 2021 19:18:48 +0530</pubDate>
      <guid>https://janusworx.com/work/learning-backend-webdev-log-6-focus-followup/</guid>
      <description>&lt;p&gt;Today, I did not quite care how much progress I made.&lt;br&gt;
Instead I focussed on getting my focus periods in, like I &lt;a href=&#34;https://janusworx.com/blog/learning-backend-webdev-log-5-figured-out-how-to-focus/&#34;&gt;described yesterday.&lt;/a&gt;&lt;/p&gt;
&lt;!-- TEASER_END --&gt;
&lt;p&gt;It’s about an hour earlier than when I usually call it a day.&lt;br&gt;
And yet, now that I am checking, I have ‘worked’ fewer actual hours than usual.&lt;br&gt;
And I have gotten a bit of exercise and housework done too!&lt;br&gt;
(This does not usually happen on a normal study day)&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Today, I did not quite care how much progress I made.<br>
Instead I focussed on getting my focus periods in, like I <a href="https://janusworx.com/blog/learning-backend-webdev-log-5-figured-out-how-to-focus/">described yesterday.</a></p>
<!-- TEASER_END -->
<p>It’s about an hour earlier than when I usually call it a day.<br>
And yet, now that I am checking, I have ‘worked’ fewer actual hours than usual.<br>
And I have gotten a bit of exercise and housework done too!<br>
(This does not usually happen on a normal study day)</p>
<h3 id="what-i-did">What I did</h3>
<ul>
<li>Set a timer for 30 minutes.</li>
<li>Got to work. Butt in seat.</li>
<li>If I got distracted, I’d reset the timer to 30 minutes and start again. The aborted session would not count.</li>
<li>Tried to be patient with myself. Realised that doing things over, was not really a negative, if it meant that in the long run I’d be able to focus better.</li>
</ul>
<h3 id="how-i-fared">How I fared</h3>
<ul>
<li>I did six, 30 minute sessions of Django.</li>
<li>I did three, 30 minute sessions of Postgres.</li>
<li>Don’t think I could have lasted this long, if it was just Django.</li>
<li>Had to scratch and start over six times.</li>
<li>Ended up doing close to 4 and a half hours of focussed <a href="https://www.calnewport.com/books/deep-work/"><em>Deep Work.</em></a></li>
</ul>
<h3 id="what-i-learnt">What I learnt</h3>
<ul>
<li>Learnt about tables in Postgres and did basic commands with a single table</li>
<li>Learnt about forms in Django and how they are built and all the niceties Django provides.</li>
<li>Worked through some exercises in Django, where I built forms and then hooked it up to models using Views.</li>
<li>Then learnt just how much time and effort Django saves me by using generic ClassViews.</li>
<li>Also got into a rhythm of doing stuff, blowing Django up, looking at the error, figuring it out and then going on the next blowup.</li>
</ul>
<h3 id="what-i-feel">What I feel</h3>
<ul>
<li>Did a whole day today, after yesterday’s run</li>
<li>Tired, but not exhausted.</li>
<li>Still feel energetic enough to write this blog post</li>
<li>Actually love this time, when I can sit peacefully and write. All I need now, to complete this setting is a glass of <a href="https://www.business-standard.com/article/beyond-business/the-goan-version-107052601024_1.html">cheap Goan port.</a></li>
<li>I don’t feel rushed.</li>
<li>At four and a half hours, it might feel like I spent less time, but I got much more done than I do in a eight hour day. I realise that the tiny rest periods in between are doing me good. The first few breaks, I kept checking all my feeds. By afternoon, I had settled down to either doing small chores or just enjoying the solitude as I did gentle physical stretches</li>
</ul>
<p>If I can do 30 minute stretches at will this week, I’ll increase them to 45 minutes next week.<br>
Here’s to hoping, this is a sustainable way to focus and learn lots daily.</p>
<p>P.S. Subscribe to my <a href="/subscribe/">mailing list!</a><br>
Forward these posts and letters to your friends and get them to subscribe!<br>
P.P.S. Feed my <a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share">insatiable reading habit.</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>Learning Backend WebDev, Log #5 - Figured Out How to Focus</title>
      <link>https://janusworx.com/work/learning-backend-webdev-log-5-figured-out-how-to-focus/</link>
      <pubDate>Mon, 14 Jun 2021 20:17:26 +0530</pubDate>
      <guid>https://janusworx.com/work/learning-backend-webdev-log-5-figured-out-how-to-focus/</guid>
      <description>&lt;p&gt;Hopefully, for the next couple of months at least.&lt;/p&gt;
&lt;!-- TEASER_END --&gt;
&lt;p&gt;As amazing as &lt;a href=&#34;http://www.dr-chuck.com/&#34;&gt;Dr. Chuck&lt;/a&gt; and &lt;a href=&#34;https://brianyu.me/&#34;&gt;Brian Yu&lt;/a&gt; and &lt;a href=&#34;https://lerner.co.il/&#34;&gt;Reuven Lerner&lt;/a&gt; are, I find myself falling asleep as I learn web development.&lt;br&gt;
I look at the videos, I seem to understand things, and then I zone out.&lt;br&gt;
A while later, 30 minutes have passed, three videos are over and I am wondering, just what the heck Dr. Chuck is on about.&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Hopefully, for the next couple of months at least.</p>
<!-- TEASER_END -->
<p>As amazing as <a href="http://www.dr-chuck.com/">Dr. Chuck</a> and <a href="https://brianyu.me/">Brian Yu</a> and <a href="https://lerner.co.il/">Reuven Lerner</a> are, I find myself falling asleep as I learn web development.<br>
I look at the videos, I seem to understand things, and then I zone out.<br>
A while later, 30 minutes have passed, three videos are over and I am wondering, just what the heck Dr. Chuck is on about.</p>
<p>I find myself struggling like this over and over.<br>
I have days of intense focus. But those are draining.<br>
I then need a couple of days to recover, for every day, that I can study like that.<br>
I realised that I need something sustainable.</p>
<p>So I decided to do a few things differently today onwards</p>
<ol>
<li>I studied more than one thing.<br>
While my focus remains learning Django, I realised that I cannot make that the entire day’s focus.<br>
My mind can no longer process information like this.<br>
While I want to focus on one thing and get it out of the way as soon as possible, to get on with the next thing, my mind refuses to cooperate.<br>
So I studied Django for the most part, but also interspersed it with writing and exercising Python code (which I am sorely in need of) and learning some PostgreSQL.</li>
<li>I started interval focus training.<br>
I realised that the phone is doing me no favours, but I do need to check it.<br>
So I started working in 15 minute bursts since Friday.<br>
15 minutes of no interruptions, followed by a minute or two of stretching my legs and responding to messages (no email, no social media.)<br>
Today I did 30 minute sessions, which I’ll continue the whole of this week.<br>
I hope to build up my focus muscle to where I can work in 90 minute stretches. And if I get in 3-4 such stretches on a daily basis, I’ll consider that a day well spent.</li>
</ol>
<p>And as I write this at the end of the day, to my mind, I have made more progress, than I usually make in two days without being exhausted at the end of it all.<br>
I’ve no idea how long this will work for me.<br>
But I’ll report back on how this is going next week.<br>
And probably write again, on when the well has dried up and I’ll need to change tactics.</p>
<p>Until next time …</p>
<p>P.S. Subscribe to my <a href="/subscribe/">mailing list!</a><br>
Forward these posts and letters to your friends and get them to subscribe!<br>
P.P.S. Feed my <a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share">insatiable reading habit.</a></p>
]]></content:encoded>
    </item>
    <item>
      <title>Learning Backend WebDev, Log #4 - Beginning to Learn PostgreSQL</title>
      <link>https://janusworx.com/work/learning-backend-webdev-log-4-beginning-to-learn-postgresql/</link>
      <pubDate>Thu, 10 Jun 2021 16:15:18 +0530</pubDate>
      <guid>https://janusworx.com/work/learning-backend-webdev-log-4-beginning-to-learn-postgresql/</guid>
      <description>&lt;p&gt;Like I mentioned the other day, Django is driving me batty!&lt;/p&gt;
&lt;!-- TEASER_END --&gt;
&lt;p&gt;Ok, I cannot completely blame Django.&lt;br&gt;
A dental procedure has left me in quite a bit of pain and unable to focus.&lt;/p&gt;
&lt;p&gt;So I was wondering what else I could do, instead of Django and decided I’d learn &lt;a href=&#34;https://www.postgresql.org/about/&#34;&gt;PostgreSQL&lt;/a&gt;.&lt;br&gt;
I was tickled pink when I read that Postgres is actually Post Ingres.&lt;br&gt;
I am old enough to remember Ingres databases that ran on computers I supported as a junior hardware engineer in the late 90s. I was warned not to &lt;em&gt;ever&lt;/em&gt; touch the database machine unless I was supervised :P&lt;br&gt;
I also attended seminars for another ‘Post Ingres’ database called NonstopSQL in the early oughts when I worked with Compaq as a support engineer for their laptops. Engineers would have open sessions. But what did a boy servicing laptops have to do with Tandem machines? How did they let me attend? That I will never know. Just that I found them fascinating :)&lt;/p&gt;</description>
      <content:encoded><![CDATA[<p>Like I mentioned the other day, Django is driving me batty!</p>
<!-- TEASER_END -->
<p>Ok, I cannot completely blame Django.<br>
A dental procedure has left me in quite a bit of pain and unable to focus.</p>
<p>So I was wondering what else I could do, instead of Django and decided I’d learn <a href="https://www.postgresql.org/about/">PostgreSQL</a>.<br>
I was tickled pink when I read that Postgres is actually Post Ingres.<br>
I am old enough to remember Ingres databases that ran on computers I supported as a junior hardware engineer in the late 90s. I was warned not to <em>ever</em> touch the database machine unless I was supervised :P<br>
I also attended seminars for another ‘Post Ingres’ database called NonstopSQL in the early oughts when I worked with Compaq as a support engineer for their laptops. Engineers would have open sessions. But what did a boy servicing laptops have to do with Tandem machines? How did they let me attend? That I will never know. Just that I found them fascinating :)</p>
<p>Now it all comes full circle when I actually need to learn about databases.<br>
And what better database to learn than Postgres? :)</p>
<p>All those random videos about Postgres <a href="https://janusworx.com/blog/learning-backend-webdev-log-2/">the other day</a>, led me to the University of Michigan’s, <a href="https://www.coursera.org/specializations/postgresql-for-everybody">PostgreSQL for Everybody Specialization</a>.<br>
Dr Chuck Severance is an engaging instructor, so I promptly signed up.</p>
<p>I’ll log the journey and what I learn, here in the days to come.</p>
<p>So long, for now!</p>
<p>P.S. Subscribe to my <a href="/subscribe/">mailing list!</a><br>
Forward these posts and letters to your friends and get them to subscribe!<br>
P.P.S. Feed my <a href="https://www.amazon.in/hz/wishlist/ls/2QAUKHHAMOOVS?ref_=wl_share">insatiable reading habit.</a></p>
]]></content:encoded>
    </item>
  </channel>
</rss>
