<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Tips on Patrick Lam</title>
    <link>https://patricklam.ca/tags/tips/</link>
    <description>Recent content in Tips on Patrick Lam</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 28 Apr 2020 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://patricklam.ca/tags/tips/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Leverage deadlines for action</title>
      <link>https://patricklam.ca/post/20200428-deadlines/</link>
      <pubDate>Tue, 28 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200428-deadlines/</guid>
      <description>&lt;p&gt;This week&amp;rsquo;s tip is kind of a meta-tip. When you want someone (possibly&#xA;yourself) to do something, set a deadline for it. Marketing experts&#xA;know this. This is why there are &amp;ldquo;limited time offers&amp;rdquo;. People have&#xA;intentions of doing something. But if they can do it anytime,&#xA;sometimes they never do the thing.&lt;/p&gt;&#xA;&lt;p&gt;The deadline for the survey is Wednesday, though I guess I could have&#xA;been more explicit about that.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Be aware of boundary conditions</title>
      <link>https://patricklam.ca/post/20200414-boundary-conditions/</link>
      <pubDate>Tue, 14 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200414-boundary-conditions/</guid>
      <description>&lt;p&gt;This week&amp;rsquo;s observation is about boundary conditions. As programmers&#xA;you have surely run into off-by-one errors. They&amp;rsquo;re hard to avoid!&#xA;Somehow New Zealand systemically seems to fudge the issue, as you can&#xA;see on this sign on Kapiti Island restricting access to the&#xA;tower. Perhaps one can parse this as being &amp;ldquo;if you put eight plus one&#xA;people on the tower it will fall down&amp;rdquo;, but that&amp;rsquo;s not consistent with&#xA;the top display. (As an engineering exercise, you can also think&#xA;about the safety factors built into the tower&amp;rsquo;s design).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Be an expert tool user</title>
      <link>https://patricklam.ca/post/20200407-tip-tools/</link>
      <pubDate>Tue, 07 Apr 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200407-tip-tools/</guid>
      <description>&lt;p&gt;This week&amp;rsquo;s tip is about tools. I&amp;rsquo;ve attached a picture of a replica&#xA;of the ice axe that Sir Edmund Hillary used on his first ascent of&#xA;Mount Everest. This was at the North Egmont Visitor Centre at the base&#xA;of Mount Taranaki, a prominent cone-shaped ex-volcano in New&#xA;Zealand. Sir Edmund&amp;rsquo;s original ice axe is in a museum in Auckland, and&#xA;one can buy replicas of it on the Internet. [1]&lt;/p&gt;</description>
    </item>
    <item>
      <title>Explore local</title>
      <link>https://patricklam.ca/post/20200330-local/</link>
      <pubDate>Mon, 30 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200330-local/</guid>
      <description>&lt;p&gt;Since I last wrote, New Zealand moved to alert level 4 on a 4-point scale. Only essential workers may go to work, and &amp;ldquo;essential workers&amp;rdquo; is narrowly defined here: mostly supermarkets, pharmacies, and gas stations. Since I&amp;rsquo;m not going anywhere, I thought I&amp;rsquo;d send a picture from the archives. I took this picture close to home, in Waterloo Park, September 2019. I have to admit that I prefer being farther afield, but that&amp;rsquo;s not always an option, for various reasons. But, one can always explore one&amp;rsquo;s backyard. (Please do so safely!)&lt;/p&gt;</description>
    </item>
    <item>
      <title>Be intentional about your time</title>
      <link>https://patricklam.ca/post/20200323-logs/</link>
      <pubDate>Mon, 23 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200323-logs/</guid>
      <description>&lt;p&gt;Derek&amp;rsquo;s been doing a great job of keeping in touch with you all. My&#xA;specific schtick in these emails has been travel-related tips, and&#xA;that doesn&amp;rsquo;t work great right now. But let&amp;rsquo;s start with a picture from&#xA;the archives. From simpler times (February 15!), here&amp;rsquo;s a tuatara&#xA;photobombing a kakariki (NZ parakeet) at the Otoruhangu Kiwi House.&lt;/p&gt;&#xA;&lt;p&gt;Something useful I&amp;rsquo;ve been doing in NZ is coarse-grained daily&#xA;activity logging.  Being on sabbatical is highly unstructured and,&#xA;before all the recent news happened, I was concerned that my year&#xA;might just slip away; keeping track of what I&amp;rsquo;m doing is a way to&#xA;introspect about my activities. I&amp;rsquo;ve also been writing and posting&#xA;monthly summaries based on the logs. You might try it to see if&#xA;there&amp;rsquo;s a gap between how you would like to spend your days and how&#xA;you actually spend your days. You do not have to work hard every&#xA;waking minute. Instead, be intentional about your time and do what you&#xA;choose, while also being self-compassionate.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Get Natural Sunlight!</title>
      <link>https://patricklam.ca/post/20200316-get-sunlight/</link>
      <pubDate>Mon, 16 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200316-get-sunlight/</guid>
      <description>&lt;p&gt;I was thinking of this tip even before things got exciting, but it applies even&#xA;better now in these times of social distancing.&lt;/p&gt;&#xA;&lt;p&gt;This week&amp;rsquo;s tip: get natural sunlight!&lt;/p&gt;&#xA;&lt;p&gt;It&amp;rsquo;s easy to be a nocturnal Software Engineering student. I don&amp;rsquo;t&#xA;recommend it. As human beings, we do benefit from exposure to natural&#xA;sunlight and the resulting Vitamin D. In Spring in the northern&#xA;hemisphere, the associated extended daylight hours would normally be&#xA;making it easier to do this. Even now, though, regularly taking&#xA;outdoor walks with your family should be a safe and healthy&#xA;activity. It&amp;rsquo;ll help with cabin fever and is a welcome change of pace.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Beyond Diet: on red pandas and doing better</title>
      <link>https://patricklam.ca/post/20200309-beyond-pandas/</link>
      <pubDate>Sat, 07 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200309-beyond-pandas/</guid>
      <description>&lt;p&gt;This week I was busy writing code for a research project I&amp;rsquo;m working&#xA;on here in New Zealand, so no travel pictures from me.&lt;/p&gt;&#xA;&lt;p&gt;Here is a &lt;a&#xA;href=&#34;https://wellingtonzoo.com/our-animals/animals/#/redpanda&#34;&gt;red&#xA;panda&lt;/a&gt; in the Wellington Zoo (photo credit: Marie-Pascale&#xA;Desjardins, as well as for suggesting this tip).&lt;/p&gt;&#xA;&lt;img src=&#34;https://patricklam.ca/img/20200309-red-panda.jpg&#34;&gt;&#xA;&lt;p&gt;It turns out that red pandas and &lt;a href=&#34;https://www.worldwildlife.org/species/giant-panda&#34;&gt;giant pandas&lt;/a&gt; are not related aside&#xA;from both being cute animals. Giant pandas have a &lt;a href=&#34;https://wwf.panda.org/knowledge_hub/endangered_species/giant_panda/panda/what_do_pandas_they_eat/&#34;&gt;99% bamboo diet&lt;/a&gt;,&#xA;while red pandas are at &lt;a href=&#34;https://ielc.libguides.com/sdzg/factsheets/redpanda/diet&#34;&gt;85% bamboo&lt;/a&gt;.&lt;/p&gt;</description>
    </item>
    <item>
      <title>You also have to descend</title>
      <link>https://patricklam.ca/post/20200302-getting-down/</link>
      <pubDate>Mon, 02 Mar 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200302-getting-down/</guid>
      <description>&lt;p&gt;Following up on last week&amp;rsquo;s tip, here&amp;rsquo;s a near-data-disaster from &lt;a&#xA;href=&#34;https://rollends.ca/&#34;&gt;Rollen D&amp;rsquo;Souza&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;img src=&#34;https://patricklam.ca/img/20200302-rollends-tweet.png&#34;&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;I decided when I started grad school that I would always keep track&#xA;of my research and general course notes in repositories. This wasn&amp;rsquo;t&#xA;entirely just for backup purposes. It turns out that when you want&#xA;to work on three different machines &amp;mdash; work desktop, home desktop,&#xA;surface laptop &amp;mdash; making sure they are all synchronized with your&#xA;latest work is non-trivial without some automated or manual tracking&#xA;software. I use Mercurial (distributed vcs) because then there is an&#xA;entirely cloneable copy of all my work on every machine I work&#xA;on. (Why Mercurial versus git? Another story.) I&amp;rsquo;ve gotten into the&#xA;habit of pulling, committing and pushing whatever I have whenever I&#xA;work on a given machine.&lt;/p&gt;</description>
    </item>
    <item>
      <title>What&#39;s Your Backup Strategy?</title>
      <link>https://patricklam.ca/post/20200223-backups/</link>
      <pubDate>Sun, 23 Feb 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200223-backups/</guid>
      <description>&lt;p&gt;This week&amp;rsquo;s tip: have and execute a backup strategy for your data.&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s a picture of Mount Ngauruhoe (which stood in for Mount&#xA;Doom). I&amp;rsquo;m sharing a picture from my phone (auto-enhanced by Google&#xA;Photos) because the better pictures are on the camera that I spent an&#xA;hour unsuccessfully looking for, and which my spouse was&#xA;really unhappy about losing.&lt;/p&gt;&#xA;&lt;img src=&#34;https://patricklam.ca/img/20200220_ngauruhoe.jpg&#34;&gt;&#xA;&lt;p&gt;Devices get lost or fail all the time. While truly irreplacable data&#xA;is rare, some data is inconvenient or expensive to replace. Maybe you&#xA;can&amp;rsquo;t re-do the assignment in time for the deadline. Every so often&#xA;this happens to someone&amp;rsquo;s PhD thesis, which represents years of&#xA;work. Don&amp;rsquo;t let that be you!&lt;/p&gt;</description>
    </item>
    <item>
      <title>Bring less stuff!</title>
      <link>https://patricklam.ca/post/20200216-bring-less-stuff/</link>
      <pubDate>Sun, 16 Feb 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200216-bring-less-stuff/</guid>
      <description>&lt;p&gt;Happy Reading Week! This week&amp;rsquo;s life tip is, for now, most relevant to&#xA;those of you not from the Greater Toronto Area, if you happen to be&#xA;going home for the week. Experience shows that it will apply to many&#xA;of you in the next few years.&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Tip: Bring less stuff!&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;There is often a skill versus stuff tradeoff. With more skill you can&#xA;often improvise for having less stuff. A technical example is being&#xA;able to use vim versus having to use a heavyweight editor that is tied&#xA;to a particular operating system. And I say that as an emacs user. But&#xA;vim works in resource-constrained environments over flaky connections&#xA;(use mobile shell, &lt;a href=&#34;https://mosh.org&#34;&gt;mosh&lt;/a&gt;, for such connections).&lt;/p&gt;</description>
    </item>
    <item>
      <title>Look at the Details</title>
      <link>https://patricklam.ca/post/20200127-details/</link>
      <pubDate>Sun, 26 Jan 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200127-details/</guid>
      <description>&lt;img src=&#34;https://patricklam.ca/img/20200126_163657_drips.jpg&#34;&gt;&#xA;&lt;p&gt;This week, we went to the Rangiwahia Hut for a walk (&amp;ldquo;tramp&amp;rdquo;) and then to some caves with glow worms.&#xA;We have seen glow worms at night in Wellington but we were here four hours before sunset,&#xA;so no glow worms for us.&lt;/p&gt;&#xA;&lt;p&gt;Today&amp;rsquo;s tip: looking closely at things can reveal unexpected details.&lt;/p&gt;</description>
    </item>
    <item>
      <title>Don&#39;t be a weka</title>
      <link>https://patricklam.ca/post/20200119-weka/</link>
      <pubDate>Sun, 19 Jan 2020 00:00:00 +0000</pubDate>
      <guid>https://patricklam.ca/post/20200119-weka/</guid>
      <description>&lt;img src=&#34;https://patricklam.ca/img/00757_weka_about_to_steal_our_lunch.jpg&#34;&gt;&#xA;&lt;p&gt;Kapiti Island is a nature reserve from which the New Zealand&#xA;Department of Conservation has removed non-native predators (possums,&#xA;rats, etc.)&lt;/p&gt;&#xA;&lt;p&gt;Weka is not just a &lt;a&#xA;href=&#34;https://www.cs.waikato.ac.nz/ml/weka/&#34;&gt;machine learning&#xA;toolkit&lt;/a&gt;, but also a vulnerable flightless New Zealand bird. The&#xA;bird will steal your lunch that is right in front of you on the table&#xA;and run away with it if you don&amp;rsquo;t chase after it.&lt;/p&gt;&#xA;&lt;p&gt;Life tip: Don&amp;rsquo;t be a weka. Cooperate generously with people. Good&#xA;collaborations go two ways: make sure that both parties get something&#xA;out of the collaboration.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
