<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Robert Domingo on Medium]]></title>
        <description><![CDATA[Stories by Robert Domingo on Medium]]></description>
        <link>https://medium.com/@robertdomingo?source=rss-431d5b1a3cb2------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*HN9JfboeLXl82iGdDC-k_g.jpeg</url>
            <title>Stories by Robert Domingo on Medium</title>
            <link>https://medium.com/@robertdomingo?source=rss-431d5b1a3cb2------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:45:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@robertdomingo/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Week 10]]></title>
            <link>https://medium.com/series/week-10-3f92bcd3a4b0?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/3f92bcd3a4b0</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Sun, 23 Jun 2019 15:34:56 GMT</pubDate>
            <atom:updated>2019-06-23T15:36:11.042Z</atom:updated>
            <content:encoded><![CDATA[<h3>Days 64–70—June 23, 2019</h3><p>I’ve gotten away from blogging daily. No excuses. Working on admin tasks today, back for Week 11 tomorrow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3f92bcd3a4b0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 9]]></title>
            <link>https://medium.com/series/week-9-d9e006e0af9c?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/d9e006e0af9c</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 11 Jun 2019 17:32:39 GMT</pubDate>
            <atom:updated>2019-06-23T14:39:41.369Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 62— June 15, 2019</h3><p>Today I completed the Strategic Relationships Path in Toastmasters!</p><p>In order to complete a Path, a Toastmaster member must deliver at least 16 speeches.</p><p>As far as I can tell, there have only been 9 other Toastmaster members in my <strong><em>District</em></strong><em> </em>to complete a Path since May 2018, and I’m proud to join that group.</p><h3>Day 60— June 13, 2019</h3><h4>Deep Work: 2 hours, 50 minutes</h4><p>Flashcards: 176</p><h3>Day 57 — June 10, 2019</h3><h4>Deep Work: 1.25 hours</h4><p>Finished 10 Steps to Learn Anything Quickly online course.</p><p>The course helped me realize that I have to do more than just study syntax — I need to build an app using Python.</p><p>Here are my next few learning challenges, which I can tackle (somewhat) in parallel:</p><ol><li>Finish reading Learn Python3 The Hard Way and complete all the exercises in the book</li><li>Finish <a href="https://learnxinyminutes.com/docs/python3/">Learn X in Y Minutes for Python3</a></li><li>Finish <a href="https://www.udemy.com/projects-in-bootstrap-4-learn-by-building-apps/">Projects in Bootstrap 4: Learn by Building Apps</a></li><li>Finish the <a href="https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-i-hello-world">Flask Mega-Tutorial</a></li><li>Create a working web-based replacement for Apple’s Notes app.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d9e006e0af9c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 8]]></title>
            <link>https://medium.com/series/week-8-df8cd75f28b1?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/df8cd75f28b1</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 04 Jun 2019 05:07:40 GMT</pubDate>
            <atom:updated>2019-06-10T03:21:54.440Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 56 — June 9, 2019</h3><p>No progress today. Took care of some admin tasks, but just not a very productive day.</p><h3>Day 55 — June 8, 2019</h3><p>No progress today, though I attended my weekly Toastmasters meeting.</p><h3>Day 54 — June 7, 2019</h3><h4><strong>Pomodoros: 3</strong></h4><p>LeetCode: Reviewed solutions for <a href="https://leetcode.com/problems/length-of-last-word/">Length of Last Word</a></p><p>Learned ternary operator syntax:</p><pre>if A:<br>    return X<br>else:<br>    return B</pre><p>can also be written as:</p><pre>return X if A else B</pre><p>See also this <a href="https://stackoverflow.com/questions/394809/does-python-have-a-ternary-conditional-operator">Stack Overflow article</a>.</p><p>Reviewed solutions for <a href="https://leetcode.com/problems/valid-palindrome/">Valid Palindrome</a>.</p><ul><li>Learned about str.isalnum()</li><li>Need to study re.compile() and re.sub()</li></ul><p>LPTHW: Completed Exercises 36</p><p>Great tip for debugging:</p><blockquote>“Make sure parts of your programs work as you work on them. Do not write massive files of code before you try to run them. Code a little, run a little, fix a little.”</blockquote><p>Zed wants me to take a week to build a game. My first response was to throw a mini-temper tantrum: “No! No!” Then I got inspired to create a replica of a dungeon inspired by the original <a href="https://zelda.gamepedia.com/The_Legend_of_Zelda_(Game)">Legend of Zelda</a>.</p><p>Flashcards: 27</p><h3>Day 53 — June 6, 2019</h3><h4><strong>Pomodoros: 1</strong></h4><p>LeetCode: Reviewed solutions for <a href="https://leetcode.com/problems/search-insert-position/">Search Insert Position</a></p><p>Comments from other LeetCode members on different solutions:</p><blockquote>O(n)…beautiful but useless</blockquote><blockquote>Very smart, but not efficient since it’s O(n) time complexity.</blockquote><blockquote>using handy built in functions can get you less lines of codes indeed. but i personally think you need to understand what’s going on under the hood to be able to use them efficiently.</blockquote><blockquote>O(log(n)) is what you would want to do in production as well as for any interviewer!</blockquote><p>Another reminder that I need to improve my understanding of Big O notation.</p><h3>Day 52 — June 5, 2019</h3><h4><strong>Pomodoros: 6</strong></h4><p>LeetCode: Reviewed solutions for <a href="https://leetcode.com/problems/implement-strstr/">Implement strStr()</a></p><p>Lessons learned:</p><p>Good test case for interviews: What should we return when [input] is an empty string?</p><p>First I’ve heard of the following algorithms, add them to the list of things I need to study…</p><ul><li><a href="https://en.wikipedia.org/wiki/Rolling_hash">Rolling Hash algorithm</a></li><li><a href="http://www.inf.fh-flensburg.de/lang/algorithmen/pattern/sundayen.htm">Sunday algorithm</a></li><li><a href="https://en.wikipedia.org/wiki/Boyer%E2%80%93Moore_string-search_algorithm">Boyer–Moore string-search (aka BM) algorithm</a></li><li><a href="https://en.wikipedia.org/wiki/Knuth%E2%80%93Morris%E2%80%93Pratt_algorithm">Knuth–Morris–Pratt string-searching algorithm (aka KMP) algorithm</a></li></ul><p>LPTHW: Completed Exercises 33 (“While Loops”), 34 (“Accessing Elements of Lists”), and 35 (“Branches and Functions”)</p><h3>Day 51 — June 4, 2019</h3><h4>Deep Work: ~3 hours</h4><p>Flashcards: 109</p><h3>Day 50 — June 3, 2019</h3><h4>Deep Work: ~3.25 hours</h4><p>LeetCode: Reviewed solutions for <a href="https://leetcode.com/problems/remove-element/">Remove Element</a>.</p><p>Looking at different solutions, I still don’t comprehend the concept of <a href="https://treyhunner.com/2015/12/python-list-comprehensions-now-in-color/">comprehensions</a>,</p><p>There’s also <a href="https://docs.python.org/3.6/tutorial/datastructures.html">Python’s documentation</a>.</p><p>I also need to understand the concept of <a href="https://www.interviewcake.com/article/java/big-o-notation-time-and-space-complexity">Big O notation</a>.</p><p>LPTHW: Watched videos for Exercises 28–30. Completed Exercises 31 (“Making Decisions”) and 32 (“Loops and Lists”).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df8cd75f28b1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 7]]></title>
            <link>https://medium.com/series/week-7-e2365226129a?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/e2365226129a</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 28 May 2019 17:26:27 GMT</pubDate>
            <atom:updated>2019-06-04T05:03:18.215Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 49 — June 2, 2019</h3><p>No progress today. Today was an admin/Weekly Planning Process day.</p><h3>Day 48 — June 1, 2019</h3><h4><strong>Pomodoros: 4</strong></h4><p>Delivered my speech “Everything I’ve Learned About Learning How to Learn” at my Toastmasters club. I may expand it into a longer presentation or workshop.</p><p>LeetCode: Things I learned from <a href="https://leetcode.com/problems/palindrome-number/">Palindrome Number</a>:</p><ul><li>Any number % 10 == last digit of the number</li><li>365 % 10 == 5</li><li>36 % 10 == 6</li><li>3 % 10 == 3</li><li>360 % 10 == 0</li></ul><p>LPTHW: Completed Exercises 28 (“Boolean Practice”), 29 (“What If”), and 30 (“Else and If”)</p><p>10 Steps to Learn Anything Quickly: Completed Steps 5–10</p><h3>Day 47 — May 31, 2019</h3><p>Finalized the slides for “Everything I’ve Learned About Learning How to Learn.” Rehearsed my speech six times.</p><h3>Day 46 — May 30, 2019</h3><h4>Deep Work: ~4 hours</h4><p>Flashcards: 144</p><p>Also worked on the 12-minute speech that I’m delivering at my Toastmasters club on Saturday, “Everything I’ve Learned About Learning How to Learn.”</p><h3>Day 45 — May 29, 2019</h3><h4>Deep Work: 3.5 hours</h4><p>Flashcards: 126</p><p>LPTHW: Did my Truth Tables</p><h3>Day 44 — May 28, 2019</h3><p>No progress today. I’m reminded of a quote from “The Little Book of Talent: 52 Tips for Improving Your Skills” by Daniel Coyle:</p><blockquote>Or as the music-education pioneer Shinichi Suzuki puts it, “Practice on the days that you eat.”</blockquote><h3>Day 43 — May 27, 2019</h3><h4>Deep Work: ~4 hours</h4><p>Flashcards: 144</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e2365226129a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 6]]></title>
            <link>https://medium.com/series/week-6-5a8b3e2bbcf2?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/5a8b3e2bbcf2</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 21 May 2019 04:37:33 GMT</pubDate>
            <atom:updated>2019-05-28T17:18:42.070Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 42 — May 26, 2019</h3><h4>Pomodoros: 3</h4><p>Flashcards: 110</p><h3>Day 41 — May 25, 2019</h3><p>While I served as Toastmaster (host or emcee) at today’s Toastmasters club meeting and took care of some club business, I didn’t make any progress today.</p><p>Need to do better tomorrow. Fighting off a mild cold as well.</p><h3>Day 40 — May 24, 2019</h3><h4>Pomodoros: 3</h4><p>LeetCode: Started reviewing problems I’ve already worked on to pull out lessons I can use for future problems.</p><p>Things I learned from <a href="https://leetcode.com/problems/reverse-integer/">Reverse Integer</a>:</p><ul><li>A bit is either a 0 or 1</li><li>There are 8 bits in a byte</li><li>A 32-bit integer is an integer that’s composed of 4 bytes, or 32 0s or 1s</li><li>The sign of an integer is either 0 (positive) or 1 (negative)</li><li>The 32-bit signed integer range: [−2**31, 2**31 − 1]</li><li>pow(x, y) == x**y</li><li>31415 == 30,000 + 1,000 + 400 + 10 + 5 == 3 * 10**4 + 1 * 10**3 + 4 * 10**2 + 1 * 10**1 + 5 * 10**0</li><li>Anything to the power of 0 is always 1</li><li>Alternate way of reversing an integer: x = int, result = 0, result = result * 10 + x % 10</li></ul><p>10 Steps to Learn Anything Quickly: Completed Steps 2–5.</p><h3>Day 39 — May 23, 2019</h3><p>Long day dealing with family needs. Didn’t make any progress today.</p><h3>Day 38 — May 22, 2019</h3><h4>(Pomodoros: 5)</h4><p>Wasn’t able to solve <a href="https://leetcode.com/problems/valid-parentheses/">Valid Parentheses</a>.</p><p>Did my Truth Tables (requires 26 lines).</p><p>Flashcards: 110</p><h3>Day 37 — May 21, 2019</h3><h4>Deep Work: ~3 hours</h4><p>Flashcards: 71</p><p>Also completed Step 1 of 10 Steps to Learn Anything Quickly.</p><h3>Day 36 — May 20, 2019</h3><h4>Deep Work: ~2 hours</h4><p>Flashcards: 110</p><p>Got a late start today, but happy with the material I was able to review.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5a8b3e2bbcf2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 5]]></title>
            <link>https://medium.com/series/week-5-6c80824fb21f?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/6c80824fb21f</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 14 May 2019 12:11:37 GMT</pubDate>
            <atom:updated>2019-05-20T03:19:15.174Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 35 — May 19, 2019</h3><p>No pomodoros or deep work today.</p><p>Attended a proposal party of one of my closest friends. Saw a double-overtime NBA playoff game (Toronto-Milwaukee, Game 3, Eastern Conference Finals.) I’ve got “Talk the Thrones” (<a href="http://www.theringer.com/"><em>The Ringer</em></a>’s Game of Thrones recap show) on a second screen while I work on my Weekly Planning Process, inspired by <a href="https://gettingthingsdone.com/">David Allen</a> and <a href="http://liveyourlegend.net/wp-content/uploads/downloads/2013/01/Live-Your-Legend-Weekly-Planning-Process-Worksheet_Word_2013.pdf">Scott Dinsmore (PDF)</a>.</p><p>I may decide to take Sundays off from now on.</p><h3>Day 34 — May 18, 2019</h3><h4>(Pomodoros: 5)</h4><p>LeetCode: Spent 2 pomodoros on <a href="https://leetcode.com/problems/single-number/">Single Number</a> and failed to solve it. Next time I work on LeetCode, I may look at solutions for problems that I’ve worked on, instead of attacking a new problem.</p><p>LPTHW: Did my Truth Tables.</p><p>Flashcards: 24</p><p><a href="https://simpleprogrammer.com/store/products/learn-anything-quickly/">10 Steps to Learn Anything Quickly</a>: Introduction. I intend to give an 18–22 minute keynote speech on “Learning How to Learn” at my Toastmasters club on June 1. This online course by John Sonmez is part of my research.</p><h3>Day 33 — May 17, 2019</h3><h4>(Pomodoros: 7)</h4><p>LeetCode: Failed to solve <a href="https://leetcode.com/problems/powerful-integers/">Powerful Integers</a>. Looked at solutions.</p><p>LPTHW: Revisited Exercise 23.</p><p>Worked on Exercise 26 (“Memorizing Logic.”) I initially resisted this exercise, but then I wrote out a flash card for every line in Zed’s tables. I can see the benefit of memorizing these “truth tables” and having the values instantly at my fingertips. I shuffled the flash cards so they’re out of order to make it more challenging when I review them.</p><p>Zed also recommends writing out my own truth tables in a notebook: not, or, and, not or, not and, !=, ==. I’ll do this once a day for the next week.</p><p>I also created a bunch of flashcards for concepts from previous chapters in LPTHW.</p><h3>Day 32 — May 16, 2019</h3><h4>(Pomodoros: 13)</h4><p>LeetCode: Solved <a href="https://leetcode.com/problems/sort-array-by-parity/">Sort Array By Parity</a>. Spent 3 pomodoros wrestling with <a href="https://leetcode.com/problems/reverse-only-letters/">Reverse Only Letters</a> and couldn’t solve it. I’ve started keeping a list of patterns that I see when I review other solutions.</p><p>LPTHW: Reviewed Exercise 24. Completed Exercises 25–26 (“Even More Practice”, “Congratulations, Take a Test!”)</p><p>Flashcards: 60. Took me 3(?) pomodoros. I’ll make sure to keep track next time. Today’s flashcards were my newest ones, so I missed many of them. Will review these again either tomorrow or the day after.</p><h3>Day 31 — May 15, 2019</h3><h4>(Pomodoros: 5)</h4><p>LeetCode: Spent 0.5 pomodoros solving <a href="https://leetcode.com/problems/valid-palindrome/">Valid Palindrome</a> and 1.5 pomodoros reading other solutions and trying to understand them.</p><p>LPTHW: Continued to work on Exercise 23 and completed Exercise 24 (“More Practice”).</p><p>Tomorrow I intend to do a long session of flashcards, I’m overdue for recall practice.</p><h3>Day 30 — May 14, 2019</h3><h4><strong>(Pomodoros: 6)</strong></h4><p>LeetCode: Spent 2 pomodoros solving <a href="https://leetcode.com/problems/remove-element/">Remove Element</a>.</p><p>LPTHW: Spent 4 (and counting) pomodoros wrapping my brain around Exercise 23 (“Strings, Bytes, and Character Encodings.”) Learned about bits, bytes, encoding, decoding, ASCII, Unicode, UTF-8, byte-strings, and the acronym DBES (Decode Bytes, Encode Strings.)</p><h3>Day 29 — May 13, 2019</h3><h4>(Pomodoros: 2)</h4><p>Took multiple attempts and more than one pomodoro, but I solved <a href="https://leetcode.com/problems/length-of-last-word/">Length of Last Word</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6c80824fb21f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 4]]></title>
            <link>https://medium.com/series/week-4-dd6809ed81db?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd6809ed81db</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 07 May 2019 02:12:43 GMT</pubDate>
            <atom:updated>2019-05-14T12:04:58.957Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 28 — May 12, 2019</h3><h4>(Pomodoros: 0)</h4><h4>(Deep Work: 0 hours)</h4><p>I’m going to have days like this. Right now I’m choosing to give myself a break rather than beat myself up.</p><h3>Day 27 — May 11, 2019</h3><p>Delivered my speech at my Toastmasters club. I’m on track to earn a Level 5 certificate by the end of June. Currently there are only 9 other members in my district who have earned this award.</p><h3>Day 26 — May 10, 2019</h3><p>LPTHW: Finished Exercise 22 (“What Do You Know So Far?”) and started Exercise 23 (“Strings, Bytes, and Character Encodings”).</p><p>Also wrote and rehearsed my Toastmasters speech for tomorrow, “Secretary’s 10-Month Report.” I’m wrapping up a one-year term as Club Secretary and member of my club’s Executive Committee.</p><h3>Day 25 — May 9, 2019</h3><h4>(Pomodoros: 2)</h4><p>Spent 2 pomodoros wrestling with <a href="https://leetcode.com/problems/excel-sheet-column-number/">Excel Sheet Column Number</a>.</p><h3>Day 24 — May 8, 2019</h3><h4>(Pomodoros: 11)</h4><p>LeetCode: I failed to solve <a href="https://leetcode.com/problems/best-time-to-buy-and-sell-stock/">Best Time to Buy and Sell Stock</a>.</p><p>However, I used two debugging techniques from LPTHW to understand the top two Python solutions: 1) write a comment above every line of code explaining in my words how each line works, and 2) use print statements to understand the value of different variables at different points in the program.</p><p>LPTHW: Exercises 19 to part of 22 (“Functions and Variables”, “Functions and Files”, “Functions Can Return Something”, “What Do You Know So Far?”).</p><h3>Day 23 — May 7, 2019</h3><h4>(Pomodoros: 5)</h4><p>Today I solved <a href="https://leetcode.com/problems/sum-of-two-integers/">Sum of Two Integers</a> and learned that I have no idea what “bit manipulation” is.</p><p>Thought I solved <a href="https://leetcode.com/problems/valid-perfect-square/">Valid Perfect Square</a> but a pesky edge case caused a runtime error and stopped me in my tracks.</p><p>Looked up the most poplar Python solution, and learned that I have no idea how to implement bitwise, Newton’s Method and binary search approaches.</p><p>These are the “Easy” problems!</p><p>My bag of Python tricks is limited right now.</p><p>If I want to go deeper into bitwise (for example), I need to get a better understanding of binary. I know that binary is all about the 0s and 1s, as opposed to the <a href="https://www.urbandictionary.com/define.php?term=ones%20and%20twos">ones and twos</a>.</p><p>Will add <a href="https://ryanstutorials.net/binary-tutorial/">Ryan’s Binary Tutorial</a> to my “stuff I don’t understand that I eventually need to understand” list.</p><p>Moving on to LPTHW, I completed Exercises 16–18 (“Reading and Writing Files”, “More Files”, “Names, Variables, Code, Functions”).</p><p>I always feel like I should be doing more, but it’s good to give myself credit for what I <em>am</em> able to accomplish in a day.</p><h3>Day 22 — May 6, 2019</h3><p>Spent over 30 minutes battling with <a href="https://leetcode.com/problems/longest-common-prefix/">Longest Common Prefix</a>.</p><p>Couldn’t solve it, and I don’t (yet) understand the top rated Python solution.</p><p>It’s probably a good idea to spend the first part of my daily study time on LeetCode problems, because I’m freshest mentally.</p><p>Still, it’s tough to start my day with failure.</p><p>Maybe this is something I just need to get used to.</p><p>Reviewed Exercise 15 (and its screencast video) of Learn Python3 The Hard Way. Solved the last two study drills in the exercise that I had trouble with on May 3rd. As always, big props to DuckDuckGo, my fellow students who ask for help when they’re stuck, the patient veteran programmers who answer our noob questions, and sites like r/learnpython that continue to host the questions and answers 4 years later (and counting).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd6809ed81db" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 3]]></title>
            <link>https://medium.com/series/week-3-384ba8a74045?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/384ba8a74045</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 30 Apr 2019 00:12:12 GMT</pubDate>
            <atom:updated>2019-05-07T02:04:54.737Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 21 — May 5, 2019</h3><p>Today I solved one “Easy” LeetCode problem: <a href="https://leetcode.com/problems/rotate-array/">Rotate Array</a>.</p><p>That’s about the minimum I can do and say that I made progress.</p><p>I reviewed my notes from <a href="https://www.amazon.com/ONE-Thing-Surprisingly-Extraordinary-Results/dp/1885167776/ref=sr_1_1?keywords=The+ONE+Thing&amp;qid=1557194009&amp;s=gateway&amp;sr=8-1">The ONE Thing: The Surprisingly Simple Truth Behind Extraordinary Results</a> by Gary Keller with Jay Papasan.</p><p>One quote jumped out at me:</p><blockquote>Focusing on ONE Thing has a guaranteed consequence: other things don’t get done. Although that’s exactly the point, it doesn’t automatically make us feel any better about it. There will always be people and projects that simply aren’t a part of your biggest single priority but still matter. you will feel them pressing for your attention. There will always be unfinished work and loose ends lying around to snare your focus. Your time block can feel like a submersible, where the deeper you commit to your ONE Thing, the more the pressure mounts for you to come up for air and address everything you’ve put on hold.</blockquote><p>I have a tendency to gravitate towards easier admin tasks instead of the hard work of my ONE Thing — building my hard technical skills.</p><p>Over the coming days and weeks, I intend to spend more pomodoros/hours on my ONE Thing. I also intend to start working on my ONE Thing earlier in the day.</p><h3>Day 20 — May 4, 2019</h3><p>Today I solved 2 “Easy” LeetCode problems: <a href="https://leetcode.com/problems/search-insert-position/">Search Insert Position</a> and <a href="https://leetcode.com/problems/implement-strstr/">Implement strStr()</a>.</p><p>Right now I’m just happy to solve problems, but I know I’ll eventually have to get better at optimizing the runtime and memory usage of my solutions.</p><h3>Day 19 — May 3, 2019</h3><h4>(Deep Work: ~3 hours)</h4><p>Completed the exercises and watched the screencast videos for Exercises 12–15 (“Prompting People”, “Parameters, Unpacking, Variables”, “Prompting and Passing”, “Reading Files”) of <a href="https://learnpythonthehardway.org/">Learn Python3 The Hard Way</a>.</p><h3>Day 18 — May 2, 2019</h3><h4>(Deep Work: ~3 hours)</h4><p>Completed the exercises and watched the screencast videos for Exercises 7–11 (“More Printing”, “Printing, Printing”, “Printing, Printing, Printing”, “What Was That?”, “Asking Questions”) of <a href="https://learnpythonthehardway.org/">Learn Python3 The Hard Way</a>.</p><h3>Day 17 — May 1, 2019</h3><h4>(Pomodoros: 6)</h4><p>Hey, I solved an “Easy” LeetCode problem — “<a href="https://leetcode.com/problems/palindrome-number/description/">Palindrome Number</a>”!</p><p>Completed the exercises and watched the screencast videos for Exercises 4–6 (“Variables and Names”, “More Variables and Printing”, “Strings and Text”) of <a href="https://learnpythonthehardway.org/">Learn Python3 The Hard Way</a>.</p><h3>Day 16 — April 30, 2019</h3><h4>(Pomodoros: 6)</h4><p>“Easy” LeetCode problems continue to kick my ass. I need to read and understand the top rated solutions and incorporate those tricks into my bag of Python tricks. (I may create “Anatomy of a LeetCode Solution” blog posts or videos.)</p><p>Completed the exercises and watched the screencast videos for Exercises 0–3 (“The Setup”, “A Good First Program”, “Comments and Pound Characters”, and “Numbers and Math”) of <a href="https://learnpythonthehardway.org/">Learn Python3 The Hard Way</a> by Zed A. Shaw.</p><h3>Day 15 — April 29, 2019</h3><h4>(Pomodoros: 1)</h4><p>Occupied for most of the day with doctor’s appointments and dealing with an issue in my Toastmasters club.</p><p>My one Pomodoro was another “Easy” LeetCode problem that I couldn’t solve.</p><p>The NBA playoffs are calling me and I’m calling it a day.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=384ba8a74045" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 2]]></title>
            <link>https://medium.com/series/week-2-70663de62eb4?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/70663de62eb4</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Tue, 23 Apr 2019 01:59:05 GMT</pubDate>
            <atom:updated>2019-04-29T05:13:26.454Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 14 — April 28, 2019</h3><p>Today I finally finished “<a href="https://www.amazon.com/Self-Taught-Programmer-Definitive-Programming-Professionally-ebook/dp/B01M01YDQA">The Self Taught Programmer” by Cory Althoff</a>! I read Ch. 23 (Best Programming Practices), Ch. 24 (Your First Programming Job), Ch. 25 (Working on a Team), Ch. 26 (Further Learning), and Ch. 27 (Next Steps.)</p><p>Combined with Michael Hartl’s tutorials on <a href="https://www.learnenough.com/command-line-tutorial/basics">Command Line</a>, <a href="https://www.learnenough.com/text-editor-tutorial/vim">Text Editor</a>, and <a href="https://www.learnenough.com/git-tutorial/getting_started">Git</a>, I feel I have a strong foundation in the fundamentals of programming.</p><p>Next up for me are several parallel tracks:</p><ul><li>Regular flashcard reviews to lock in what I’ve already learned</li><li>Reading <a href="https://learnpythonthehardway.org/python3/">Learn Python3 The Hard Way</a> and <a href="https://learncodethehardway.org/more-python/">Learn More Python3 The Hard Way</a>. I’ve got the books already, and I’m confident they’ll fill in gaps in my Python knowledge. However, there’s a certain comfort in “tutorial world.” It’s easy to get a false sense of progress from just reading books. I also have to…</li><li>Write Python code. I will do my best to have my code reflect “best programming practices,” especially testing. I’ll also look to show my projects at local meetups and hopefully get in-person code reviews.</li><li>Read Python code. One way I’ll do this is to continue trying to read and understand the source code for the <a href="https://scrapy.org/">Scrapy open source framework</a>. I did a preliminary version of a tech talk on Scrapy at my Toastmasters club in January. I’m hoping to give the final version of that talk at a local meetup group in August.</li><li>Do lots and lots of LeetCode! Cory says this was invaluable for him. I know I need to continue getting stronger at Algorithms and Data Structures, for both my own knowledge and preparing for technical interviews.</li></ul><p>This is a lot, and I haven’t even mentioned topics like SQL!</p><p>But I’m excited!</p><p>This is what I want to be doing.</p><p>This is the greatest mental/intellectual challenge of my life, and I intend to rise to the occasion.</p><h3>Day 13 — April 27, 2019</h3><h4><strong>(Pomodoros: 4)</strong></h4><p>Today I delivered “My 3 Key Blogging Decisions” at Toastmasters. Processing the video and hope to post the Vimeo link in the next few days.</p><p>Read Chapter 20 (Algorithms) of The Self-Taught Programmer. Getting reacquainted my old friend, recursion.</p><p>Cory recommended that I set up a <a href="https://leetcode.com/">LeetCode</a> account. (I’ve done <a href="https://www.codewars.com/">Codewars</a> in the past, but the last time I logged in, the site felt wonky.)</p><p>LeetCode humbled me today — I tried 3 “Easy” Python problems and could only solve 1. Clearly I need more reps!</p><h3>Day 12 — April 26, 2019</h3><h4>(Pomodoros: 9)</h4><p>Today I finished the final draft and slides for my speech tomorrow at Toastmasters, “My 3 Key Blogging Decisions.”</p><p>Here’s how I prepare for speeches:</p><ul><li>1 week before: Start thinking about the speech, jotting down notes in my Notes app on my iPhone</li><li>1–2 days before: Read my first draft out loud, ideally 6 times, editing as I go.</li><li>1 day before: Create slides, if needed</li><li>1 day before: Rehearse in front of the mirror, ideally 5–6 times</li><li>Note: most Toastmasters speeches are 5–7 minutes. However, one of my upcoming speeches is a 25 minute keynote which will require much more preparation and rehearsal.</li></ul><p>I read Chapter 20 (Bringing It All Together) of The Self-Taught Programmer on building a web scraper . I was able to install <a href="https://www.crummy.com/software/BeautifulSoup/bs4/doc/">Beautiful Soup</a>, but I couldn’t get my scraper to work even after several pomodoros of DuckDuckGo and StackOverflow searching.</p><p>If I can’t successfully install and use Python programs that’s a big problem!</p><p>I’ll go to my local Python or Hacker Hours Meetup group and see if I can get some help with this.</p><p>I also read Chapter 21 (“Data Structures”) of The Self-Taught Programmer. I feel good about my general understanding of stacks and queues, but I’ll need more practice.</p><h3>Day 11 — April 25, 2019</h3><h4>(Pomodoros: 7)</h4><p>Spent the first 2 pomodoros of the day wrestling getting <a href="https://docs.python-guide.org/dev/virtualenvs/">Pipenv and Virtual Environments</a> to work properly on my laptop. Couldn’t get it to work. I may ask for help at my local Python meetup group or just wrestle with it again some other time. Felt a little bummed out that I got tripped up on something that seems so basic. But this is part of the game.</p><p>Read Chapter 19 (Version Control) of The Self-Taught Programmer.</p><p>A while back I completed the <a href="https://www.learnenough.com/git-tutorial/getting_started">Learn Enough Git to Be Dangerous</a> tutorial and its concepts are part of my overall flashcard deck.</p><p>I’ve had a <a href="https://github.com/robdom">Github profile</a> for several years, but I definitely need to increase my contributions, as Github profiles prominently display your contributions over the past year.</p><p>Kept getting the following error message:</p><pre>remote: Invalid username or password.<br>fatal: Authentication failed for &#39;<a href="https://github.com/robdom/hangman.git/&#39;">https://github.com/robdom/hangman.git/&#39;</a></pre><p>Did a DuckDuckGo search for “<a href="https://stackoverflow.com/questions/6565357/git-push-requires-username-and-password">why do I always have to put in username and password when I git push origin master</a>”, which got me to realize that the issue was with <a href="https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line">Github and two-factor authentication</a>.</p><p>Took me a little while (and I had to delete some repositories I already created) but I finally got all <a href="https://github.com/robdom/cuddly-lamp">my exercises and files from The Self-Taught Programmer</a> up on Github.</p><p>Happy with myself for resolving issues with a minimum of freaking out!</p><p>Cory recommends a course called <a href="https://www.pluralsight.com/courses/mastering-git">Mastering Git</a>, but at this point I won’t get a Pluralsight subscription (currently $299-$449/year.)</p><h3>Day 10 — April 24, 2019</h3><h4>(Pomodoros: 8)</h4><p>Today I reviewed Chapter 17 (Regular Expressions) of “The Self-Taught Programmer.”</p><p>I completed all nine brain-bending practice problems in the RegexOne Tutorial, with regexes like</p><pre>1?[\s-]?\(?(\d{3})\)?[\s-]?\d{3}[\s-]?\d{4} </pre><p>and</p><pre>(\w+)://([\w\-\.]+)(:(\d+))? </pre><p>making my eyeballs pop out of my head.</p><p>I re-read Chapter 18 (Package Managers) of “The Self-Taught Programmer” and ran into a familiar issue trying to run <a href="http://flask.pocoo.org/">Flask</a>.</p><p><a href="https://pip.pypa.io/en/stable/installing/">pip</a> suggested that I upgrade pip to 19.1 and it ended up breaking pip.</p><p>I kept seeing nasty messages like this:</p><pre>Traceback (most recent call last): <br>File &quot;/usr/local/bin/pip&quot;, line 5, in &lt;module&gt; from pkg_resources import load_entry_point<br>File &quot;/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py&quot;, line 2797, in &lt;module&gt; parse_requirements(__requires__), Environment()<br>File &quot;/System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/pkg_resources.py&quot;, line 576, in resolve raise DistributionNotFound(req) pkg_resources.DistributionNotFound: pip==18.1</pre><p>I used my <a href="https://www.learnenough.com/story">technical sophistication</a> and Google + Stack Overflow to downgrade pip from 19.1 to 18.1.</p><p>I used commands of:</p><pre>curl <a href="https://bootstrap.pypa.io/get-pip.py">https://bootstrap.pypa.io/get-pip.py</a> -o get-pip.py</pre><pre>pip install — user — upgrade pip==18.1</pre><pre>python get-pip.py — user — upgrade pip==18.1</pre><p>Glad I was able to recover but I’m now gun-shy about installing new software packages.</p><p>I’m pretty sure I have conflicts because I have both Python2.7 and Python3.6 installed. I’m concerned that trying to uninstall Python2.7 will break my version of macOS.</p><p>My veteran MacBook dates back to 2008, and I need to upgrade soon.</p><h3>Day 9 — April 23, 2019</h3><h4>(Pomodoros: 4)</h4><p>Today I reviewed the 16 lessons in the RegexOne Tutorial. Turned the lesson notes into flashcards. Feeling more and more confident with regular expressions.</p><p>Tomorrow I plan to review Chapter 17 of “The Self-Taught Programmer” on regular expressions and complete the 9 Practice Problems from the RegexOne Tutorial.</p><h3>Day 8 — April 22, 2019</h3><h4>(Pomodoros: 6)</h4><p>Today I completed <a href="https://ryanstutorials.net/problem-solving-skills/">Ryan’s Problem-Solving Skills Tutorial</a>. Lots of great tips! My favorite:</p><blockquote>Be open to the possibility that:</blockquote><blockquote>-The actual problem you have may be different to the problem you think you have.</blockquote><blockquote>-What you think is causing the problem may not actually be what is causing the problem.</blockquote><blockquote>-The best option may be to throw out your solution and start again in a different direction.</blockquote><blockquote>-Your beliefs on anything and everything could be wrong.</blockquote><p>Ryan’s tutorial pairs well with <a href="https://medium.com/@gordon_zhu/how-to-be-great-at-asking-questions-e37be04d0603">How to be great at asking coding questions</a> by <a href="https://medium.com/u/c513d629787d">Gordon Zhu</a>.</p><p>I also re-read Chapter 17 of “The Self-Taught Programmer” on regular expressions. Cory recommends <a href="https://regexr.com/">RegExr</a> and <a href="https://www.tutorialspoint.com/python/python_reg_expressions.htm">Python Regular Expression Tutorial</a>, but so far my favorite resource on this topic has been <a href="https://regexone.com/lesson/introduction_abcs">RegexOne Tutorial</a>. I completed all 16 lessons in the Interactive Tutorial and have 9 Practice Problems remaining.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=70663de62eb4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Week 1]]></title>
            <link>https://medium.com/series/week-1-4f70e66e7d0e?source=rss-431d5b1a3cb2------2</link>
            <guid isPermaLink="false">https://medium.com/p/4f70e66e7d0e</guid>
            <dc:creator><![CDATA[Robert Domingo]]></dc:creator>
            <pubDate>Wed, 17 Apr 2019 02:06:12 GMT</pubDate>
            <atom:updated>2019-04-22T01:46:32.571Z</atom:updated>
            <content:encoded><![CDATA[<h3>Day 7— April 21, 2019</h3><p>Today I finished Ryan’s Linux Tutorial (Vi Text Editor, Wildcards, Permissions, Filters, Grep and Regular Expressions, Piping and Redirection, Process Management, Scripting, Bonus Material, Cheat Sheet.)</p><p>Pomodoros: 5.</p><p>I need more practice reps with regular expressions — will go more in depth on RegExp as I progress through “The Self-Taught Programmer.”</p><p>I liked Ryan’s tutorial, but overall I prefer <a href="https://www.learnenough.com/command-line-tutorial/basics">Learn Enough Command Line to Be Dangerous</a> by Michael Hartl.</p><h3>Day 6— April 20, 2019</h3><p>Today I completed the first five parts of Ryan’s Linux Tutorial (The Command Line, Basic Navigation, More About Files, Manual Pages, File Manipulation.) 5 parts done, 9 to go.</p><p>It took me 6 pomodoros of deep work. <a href="https://en.wikipedia.org/wiki/Pomodoro_Technique">The Pomodoro Technique</a> is one of my favorite productivity techniques from Learning How to Learn. One pomodoro is 25 minutes of focused work, followed by a 5 minute break. After 4 sessions of focused work, you take a longer 20 minute break.</p><h3>Day 5— April 19, 2019</h3><p>Today I re-read Chapters 12 (“Programming Paradigms”), 13 (“The Four Pillars of Object-Oriented Programming” — encapsulation, abstraction, polymorphism, inheritance), 14 (“More Object-Oriented Programming”), 15 (“Bringing It All Together” — creating a version of the game “War”) and 16 (“Bash”) of “The Self-Taught Programmer” by Cory Althoff. I also reviewed the exercises at the end of each chapter.</p><p>In Chapter 16, Cory recommends <a href="https://ryanstutorials.net/linuxtutorial/">Ryan’s Linux Tutorial</a>, which I’ll start on tomorrow.</p><h3>Day 4— April 18, 2019</h3><p><a href="http://www.toastmasters.org/">Toastmasters International</a> is the world’s leading organization for developing communication and leadership skills. Members practice giving speeches according to the Toastmasters educational curriculum. Members also evaluate each other’s speeches, giving positive and constructive feedback.</p><p>Today I competed in the Toastmasters Evaluation contest for my Division along with five other winners at the Area level.</p><p>Out of 6 contestants, I placed…out of the top 3. I did the best I could, but I felt like I disappointed the 20+ club members who came out to support me. On the train ride home, I reflected on how I could have done better, and I’ll ask for more feedback from my fellow club members who were in attendance.</p><p>Next week I plan to give a speech at my club on my blogging experience so far.</p><h3>Day 3— April 17, 2019</h3><p>Today I re-read Chapters 8 (“Modules”), 9 (“Files”), 10 (“Bringing It All Together” — creating a version of the game “Hangman”) and 11 (“Practice”) of “The Self-Taught Programmer” by Cory Althoff. I also reviewed the exercises at the end of each chapter.</p><p>I do know that re-reading doesn’t necessarily mean <em>understanding</em>.</p><p>One of my major takeaways from the <a href="https://www.coursera.org/learn/learning-how-to-learn/">Coursera course “Learning How to Learn”</a> is that many common study behaviors — re-reading, highlighting, reviewing notes — only give you the illusion of learning.<br><br>Testing recall of concepts is what matters, and flashcards are the best way I’ve found to test recall. I’ll write more about how I use flashcards in a future post.</p><h3>Day 2— April 16, 2019</h3><p>Today I re-read Chapters 6 (“String Manipulation”) and 7 (“Loops”) of <a href="https://www.amazon.com/Self-Taught-Programmer-Definitive-Programming-Professionally-ebook/dp/B01M01YDQA">“The Self-Taught Programmer”</a> by Cory Althoff. I also reviewed the exercises at the end of each chapter.</p><p>I really like Cory’s teaching style. He explains technical concepts clearly, and his book is a great introduction to Python.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4f70e66e7d0e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>