<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/atom.xsl" type="text/xsl"?><feed
	xmlns="http://www.w3.org/2005/Atom"
	xmlns:thr="http://purl.org/syndication/thread/1.0"
	xml:lang="en-US"
	><title>Sacha Chua - tag - graph</title>
	<subtitle>Emacs, sketches, and life</subtitle>
	<link rel="self" type="application/atom+xml" href="https://sachachua.com/blog/tag/graph/feed/atom/index.xml" />
  <link rel="alternate" type="text/html" href="https://sachachua.com/blog/tag/graph" />
  <id>https://sachachua.com/blog/tag/graph/feed/atom/index.xml</id>
  <generator uri="https://11ty.dev">11ty</generator>
	<updated>2012-12-19T13:00:00Z</updated>
<entry>
		<title type="html">Quantified Self: Learning from a year of time data and planning what to tweak in 2013</title>
		<link rel="alternate" type="text/html" href="https://sachachua.com/blog/2012/12/quantified-self-learning-from-a-year-of-time-data-and-planning-what-to-tweak-in-2013/"/>
		<author><name><![CDATA[Sacha Chua]]></name></author>
		<updated>2012-12-19T18:00:02Z</updated>
    <published>2012-12-19T13:00:00Z</published>
    <category term="quantified" />
		<id>https://sachachua.com/blog/?p=24217</id>
		<content type="html"><![CDATA[<p>Last year, I decided to move from tracking my time using off-the-shelf applications (<a href="https://sachachua.com/blog/2011/12/quantified-awesome-how-im-starting-to-use-tap-log-for-android/">Time Recording, then Tap Log Record</a>) to <a href="https://sachachua.com/blog/2011/12/quantified-awesome-building-my-own-time-tracker/">building my own system</a> using Ruby on Rails so that I could tailor it to my quirks. <a href="http://quantifiedawesome.com">Quantified Awesome</a> now has more than a year of time data, and I wanted to see the patterns in how I use my time.</p>
<p><strong>How I categorize my time</strong></p>
<p>For ease in <a href="https://sachachua.com/blog/2011/09/quantified-spent-time-weeks-tracking/">comparison with OECD time studies</a>, I use the following high-level categories:</p>
<ul>
<li><strong>Sleep:</strong> What it says it is. Important!</li>
<li><strong>Discretionary: </strong>Hobbies, socializing; anything optional or chosen</li>
<li><strong>Personal:</strong> Morning and evening routines, personal care, exercise</li>
<li><strong>Work: </strong>Working on IBM projects </li>
<li><strong>Business: </strong>I split this out from work because I wanted to see how much time I was spending on building my business or improving my skills</li>
</ul>
<ul></ul>
<li><strong>Unpaid work:</strong> Commuting and other unpaid work/business-related activities; also, tidying up, getting groceries, cooking, doing laundry, and any household tasks that I could theoretically outsource</li>
<li>Within the categories, I have one or two levels of detail, which I’ll discuss later. </li>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image5.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb5.png" width="580" height="264"></a></p>
<p>This graph shows the major changes in how I used time this year. To account for the varying numbers of days in a month, I’ve expressed each category as a percentage of the time available for the month. The major change was the swap between working with IBM and experimenting with running my own business, but all my other categories are surprisingly stable. </p>
<p>Here are some basic statistics looking at the monthly and weekly variation. There’s a bit more variation on the weekly level, but it smoothens out a lot when it gets to the monthly level. Also, the overall numbers tell me I should probably work <strong>less</strong> and spend more time on discretionary activities.</p>
<table style="line-height: normal; border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" width="556">
<colgroup>
<col style="width: 98pt; mso-width-source: userset; mso-width-alt: 4790" width="131">
<col style="width: 48pt" span="span" width="64">
<col style="width: 72pt; mso-width-source: userset; mso-width-alt: 3510" width="96"></colgroup>
<tbody>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="99"><a href="http://www.oecd.org/social/socialpoliciesanddata/47571423.pdf">OECD 2011</a> – Canada</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="101">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="49" align="right"><font style="font-size: 11pt" color="#000000"><strong>Mean</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="78" align="right"><font style="font-size: 11pt" color="#000000"><strong>~ total hours / week</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="111" align="right"><font style="font-size: 11pt" color="#000000"><strong>Monthly STDEV</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="116" align="right"><strong>Weekly STDEV</strong></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="99">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="101"><font style="font-size: 11pt" color="#000000">Sleep</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="49" align="right"><font style="font-size: 11pt" color="#000000">35%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" width="78" align="right"><font style="font-size: 11pt" color="#000000">58</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="111" align="right"><font style="font-size: 11pt" color="#000000">2%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="116" align="right">3%</td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="99">22%</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="101"><font style="font-size: 11pt" color="#000000">Business + work</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="49" align="right"><font style="font-size: 11pt" color="#000000">28%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" width="78" align="right"><font style="font-size: 11pt" color="#000000">47</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="111" align="right"><font style="font-size: 11pt" color="#000000">5%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="116" align="right">6%</td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="99">21%</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="101"><font style="font-size: 11pt" color="#000000">Discretionary</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="49" align="right"><font style="font-size: 11pt" color="#000000">16%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" width="78" align="right"><font style="font-size: 11pt" color="#000000">28</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="111" align="right"><font style="font-size: 11pt" color="#000000">5%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="116" align="right">7%</td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="99">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="101"><font style="font-size: 11pt" color="#000000">Personal</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="49" align="right"><font style="font-size: 11pt" color="#000000">14%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" width="78" align="right"><font style="font-size: 11pt" color="#000000">23</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="111" align="right"><font style="font-size: 11pt" color="#000000">2%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="116" align="right">4%</td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="99">14%</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="101"><font style="font-size: 11pt" color="#000000">Unpaid work</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="49" align="right"><font style="font-size: 11pt" color="#000000">7%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" width="78" align="right"><font style="font-size: 11pt" color="#000000">12</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" width="111" align="right"><font style="font-size: 11pt" color="#000000">2%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" width="116" align="right">3%</td>
</tr>
</tbody>
</table>
<p>Sleep + personal for me = 49%; OECD 2011 stats for Canada: 42%</p>
<p><strong>Sleep</strong></p>
<p>I get an average of 8.3 hours of sleep per day, <a href="https://sachachua.com/blog/2011/09/quantified-spent-time-weeks-tracking/">which is a familiar and fairly stable number</a>, and right in line with the OECD 2011 leisure time study’s findings. Looking at the inter-day statistics for sleep, I see a standard deviation of 1.63 hours, which means my sleep pattern is a little jagged. Here’s a daily chart that shows the variation.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image6.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb6.png" width="580" height="201"></a></p>
<p>It doesn’t look so irregular on a weekly scale, though. I tend to be pretty good at taking it easy after I catch myself getting tired due to lack of sleep.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image7.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb7.png" width="580" height="200"></a></p>
<p><strong>Business</strong></p>
<p>Business-wise, I was thrilled to have a running start. Here’s billable time as a percentage of total time (out of 7 days a week). May was a little crazy because I was helping out two clients at the same time. I took time off in September and December to focus on other interests, and I’m generally scaling back consulting because I need to make myself learn how to do other kinds of business too.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image8.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb8.png" width="291" height="175"></a></p>
<p>Here’s some more information in a table, showing that while I don’t reach the utilization ratios I remember from my performance review days, I still do okay.</p>
<table style="line-height: normal; border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" width="392">
<colgroup>
<col style="width: 111pt; mso-width-source: userset; mso-width-alt: 5412" width="148">
<col style="width: 86pt; mso-width-source: userset; mso-width-alt: 4169" width="114">
<col style="width: 97pt; mso-width-source: userset; mso-width-alt: 4717" width="129"></colgroup>
<tbody>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20" width="148">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="114"><font style="font-size: 11pt" color="#000000">Billable time</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" width="129">&nbsp;</td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" height="20">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65"><font style="font-size: 11pt" color="#000000">% of total time</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px"><font style="font-size: 11pt" color="#000000">% of business time</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Mar 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">17%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">61%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Apr 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">16%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">71%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">May 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">24%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">76%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Jun 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">17%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">60%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Jul 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">21%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">66%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Aug 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">18%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">66%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Sep 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">1%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">5%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Oct 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">11%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">37%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Nov 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">14%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">42%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" height="20" align="right"><font style="font-size: 11pt" color="#000000">Dec 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" align="right"><font style="font-size: 11pt" color="#000000">2%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">10%</font></td>
</tr>
</tbody>
</table>
<p>Going forward, I should probably plan for a 25% billable : 75% marketing/overhead mix (or even more weighted towards marketing).</p>
<p>On average, I spend about 10 hours a week connecting with people for business, which is a surprisingly large chunk of time. It’s good, though. I’m learning a ton and helping lots of people along the way. The weekly standard deviation for this is 7.8 hours, which probably points to “introvert overload” kicking in – after an intensely social week, I’ll hibernate for a while in order to recharge.</p>
<p><strong>Discretionary</strong></p>
<p>All work and no play makes for a boring sort of life, so this is where discretionary activities come in. Discretionary &#8211; Social is by far the juggernaut of this category, with 46% of all discretionary time use (average per week: 13.7 hours, stdev 11.9 hours – same introvert overload kicking in). Business networking + discretionary socializing works out to an average of 20.8 hours per week, with a standard deviation of 15.1 hours. Here’s the sparkline, with a spike around the September trip where I went to a conference <em>and</em> hung out with family.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image9.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb9.png" width="580" height="51"></a></p>
<p>The graph below shows that I’m not necessarily substituting business connecting for discretionary socializing. There’s actually a very slight positive correlation between them. I do need my breaks afterwards, though.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image10.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb10.png" width="580" height="234"></a></p>
<p>On to other things I do with my discretionary time. Because the Social sub-category is so much bigger than the other categories, these <strong>sparklines all use different vertical axes </strong>instead of using a shared axis for inter-category comparison. They show percentage of discretionary time, with the peak time highlighted. (Remember, we can’t compare heights across categories!) The third column shows the total percentage of discretionary time spent doing that activity.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image11.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb11.png" width="580" height="471"></a></p>
<p>The sparklines show that my interests tend to shift. They also show some categories that I’ve forgotten to use, such as Discretionary &#8211; Family which tends to get lumped under Discretionary &#8211; Social, and Discretionary &#8211; Read &#8211; Blogs, which has become more of either Personal &#8211; Routines or Unpaid work &#8211; Travel. Looking at this, I can see that LEGO games tend to give us about three months of obsession time, which may not be a good thing. <img style="border-bottom-style: none; border-left-style: none; border-top-style: none; border-right-style: none" class="wlEmoticon wlEmoticon-winkingsmile" alt="Winking smile" src="https://sachachua.com/blog/wp-content/uploads/2012/12/wlEmoticon-winkingsmile.png"> Fortunately, W- plays them too, so it’s actually “sit on the couch and chat” time, with bonus scritching of kitties who like sitting in our laps.</p>
<p><strong>Unpaid Work</strong></p>
<p>Duty comes before pleasure, though, so I need to make sure chores are taken care of before I settle in for some writing. Here’s how the chores worked out.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image12.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb12.png" width="580" height="166"></a></p>
<p>For scale: I spend about 3.3 hours a week cooking, which is really spending maybe 6-7 hours every other week or so cooking a whole batch of things. Or at least that’s what I think it works out to. The weekly data shows me that I tend to cook in cycles (mean = 3.5 hours, STDEV = 2.3 hours):</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/12/image13.png"><img loading="lazy" style="background-image: none; border-bottom: 0px; border-left: 0px; margin: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top: 0px; border-right: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/12/image_thumb13.png" width="580" height="23"></a></p>
<p>Other interesting things: Why, yes, biking and subway time are negatively correlated (coeff = -0.53). Yay biking! The weather’s been decent, actually, so I should totally break out the bicycle and bike some more. (Biking: 209 hours this year, average of 7.2 hours per week during biking season)</p>
<table style="line-height: normal; border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" width="370">
<colgroup>
<col style="width: 77pt; mso-width-source: userset; mso-width-alt: 3730" width="102">
<col style="width: 86pt; mso-width-source: userset; mso-width-alt: 4169" width="114">
<col style="width: 115pt; mso-width-source: userset; mso-width-alt: 5595" width="153"></colgroup>
<tbody>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl66" height="20" width="102"><font style="font-size: 11pt" color="#000000"><strong>% of total time</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" width="114"><font style="font-size: 11pt" color="#000000"><strong>Personal &#8211; Bike</strong></font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl68" width="153"><font style="font-size: 11pt" color="#000000"><strong>Unpaid work &#8211; Subway</strong></font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Nov 2011</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">2.4%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Dec 2011</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.6%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Jan 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.9%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Feb 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.1%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">1.6%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Mar 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.1%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">4.5%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Apr 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">7.3%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.3%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">May 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">5.9%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.2%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Jun 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">4.6%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.3%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Jul 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">3.6%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.7%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Aug 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">2.5%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">1.2%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Sep 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">0.8%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67">&nbsp;</td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Oct 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">3.7%</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">1.1%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Nov 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">6.9%</font></td>
</tr>
<tr style="height: 15pt" height="20">
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl65" height="20"><font style="font-size: 11pt" color="#000000">Dec 2012</font></td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67">&nbsp;</td>
<td style="padding-left: 1px; padding-right: 1px; vertical-align: bottom; padding-top: 1px" class="xl67" align="right"><font style="font-size: 11pt" color="#000000">3.6%</font></td>
</tr>
</tbody>
</table>
<p><strong>Personal</strong></p>
<p>The personal category includes all the little things that keep life running, like having breakfast and brushing my teeth. On average, I spend 2.1 hours a day dressing up, eating, brushing my teeth, and so on. That’s 815 hours over the last 386 days! Biking, walking, and exercising account for 408 hours over that time span, which works out to be an hour a day. Not bad.</p>
<p><strong>So, what does this mean for 2013?</strong></p>
<p>I’m planning to:</p>
<ul>
<li><strong>Spend less time commuting</strong>; <strong>spend more time biking and exercising </strong>– extend biking season earlier and later (November was totally bikeable, but I chickened out and got a Metropass!), and ramp up personal exercise to ~4 hours a week.</li>
<li><strong>Spend less time working </strong>as a whole (and yes, trying to not panic about this shift either); <strong>spend more time writing and doing other discretionary activities </strong>– keep business-related time to ~40 hours a week</li>
<li><strong>Spend less time working on billable projects; spend more time marketing/selling/learning </strong>(and trying not to panic about this shift) – shift to 25-30% billing as a percentage of total business time</li>
</ul>
<p>Glad to have the numbers! You can actually see my <a href="http://quantifiedawesome.com/records">time data on Quantified Awesome</a>.&#160; I’ve just added a “Split by midnight” option that makes analysis a little easier for me and other people who use the system to track their own data.</p>
<p>Onward!</p>
<p>You can <a href="https://sachachua.com/blog/2012/12/quantified-self-learning-from-a-year-of-time-data-and-planning-what-to-tweak-in-2013/#comment">view 2 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2012%2F12%2Fquantified-self-learning-from-a-year-of-time-data-and-planning-what-to-tweak-in-2013%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></content>
		</entry><entry>
		<title type="html">Analyzing my Lotus Notes sent mail since January 2011</title>
		<link rel="alternate" type="text/html" href="https://sachachua.com/blog/2012/02/analyzing-my-lotus-notes-sent-mail-since-2011-01/"/>
		<author><name><![CDATA[Sacha Chua]]></name></author>
		<updated>2012-02-17T00:38:03Z</updated>
    <published>2012-02-16T19:37:09Z</published>
    <category term="visualization" />
<category term="analysis" />
<category term="ibm" />
<category term="lotus" />
		<id>https://sachachua.com/blog/?p=23164</id>
		<content type="html"><![CDATA[<p>Today is my penultimate day at IBM! Having successfully turned my projects over to another developer (hooray for the habit of organizing project-related files in Lotus Connections Activities), I’ve been focusing on getting things ready for the traditional goodbye e-mail, which I plan to send tomorrow.</p>
<p>I dug around in the Lotus Connections Profiles API to see if I could get a list of my contacts’ e-mail addresses. I fixed a small bug in the feed exporter of the Community Toolkit (<a href="http://w4.ibm.com/community">w4.ibm.com/community</a> for people in the IBM intranet) and exported my contacts, giving me a list of 530 IBMers who had accepted or sent me an invitation to connect.</p>
<p>Not everyone participates in that Web 2.0 network, though, so I wanted to analyze my sent mail to identify other people to whom I should send a note. I couldn’t find a neat LotusScript to do the job, and I couldn’t get the <a href="http://tech.niques.info/projects/lotus-notes-email-export/">NSF to EML or mbox converter</a> to work. Because I didn’t need all the information, just the recipients, subjects, and times, I wrote my own script (included at the end of this blog post).</p>
<p>I used the script to summarize the messages in my sent mail folder, and crunched the numbers using PivotTables in Microsoft Excel. I worked with monthly batches so that it was easier to find and fix errors. I decided to analyze all the mail going back to the beginning of last year in order to identify the people I mailed the most frequently, and to come up with some easy statistics as well. </p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/02/image1.png"><img loading="lazy" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/02/image_thumb1.png" width="580" height="397"></a></p>
<p>Spiky around project starts/ends, I’d guess.</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2012/02/image2.png"><img loading="lazy" style="background-image: none; border-right-width: 0px; padding-left: 0px; padding-right: 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px; padding-top: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2012/02/image_thumb2.png" width="580" height="397"></a></p>
<p>I wanted to see which roles I tended to e-mail often, so I categorized each recipient with their role. I distinguished between people I’d worked with directly on projects (coworkers) and people who worked with IBM but with whom I didn’t work on a project (colleagues). The numbers below count individual recipients.</p>
<table style="line-height: normal; border-collapse: collapse" border="0" cellspacing="0" cellpadding="0" width="564">
<colgroup>
<col style="width: 72pt; mso-width-source: userset; mso-width-alt: 3510" width="96">
<col style="width: 82pt; mso-width-source: userset; mso-width-alt: 3986" width="109">
<col style="width: 156pt; mso-width-source: userset; mso-width-alt: 7606" width="208">
<col style="width: 154pt; mso-width-source: userset; mso-width-alt: 7497" width="205"></colgroup>
<tbody>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid" class="xl24" height="17" width="96"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>Role</strong></font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid" class="xl24" width="136">
<p align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>Number of people</strong></font></p>
</td>
<td style="vertical-align: bottom; border-top: black 0.5pt solid; border-right: black 0.5pt solid" class="xl27" width="181">
<p align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>Number of individual                  <br>e-mails sent</strong></font></p>
</td>
<td style="vertical-align: bottom" width="149">
<p align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>Average e-mails sent                  <br>per person</strong></font></p>
</td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid" class="xl24" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">colleague</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid" class="xl24" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">407</font></td>
<td style="vertical-align: bottom; border-top: black 0.5pt solid; border-right: black 0.5pt solid" class="xl27" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">827</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">2.0</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">coworker</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">50</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">562</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">11.2</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">client</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">21</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">387</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">18.4</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">manager</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">4</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">109</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">27.3</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">partner</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">9</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">51</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">5.7</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">system</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">9</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">21</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">2.3</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">other</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">8</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">11</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">1.4</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">self</font></td>
<td style="border-left: black 0.5pt solid; vertical-align: bottom" class="xl25" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">1</font></td>
<td style="vertical-align: bottom; border-right: black 0.5pt solid" class="xl28" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">5</font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000">5.0</font></td>
</tr>
<tr style="height: 12.75pt" height="17">
<td style="border-bottom: black 0.5pt solid; border-left: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid" class="xl26" height="17"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>Grand Total</strong></font></td>
<td style="border-bottom: black 0.5pt solid; border-left: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid" class="xl26" width="136" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>509</strong></font></td>
<td style="border-bottom: black 0.5pt solid; vertical-align: bottom; border-top: black 0.5pt solid; border-right: black 0.5pt solid" class="xl29" width="181" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>1973</strong></font></td>
<td style="vertical-align: bottom" class="xl30" width="149" align="right"><font face="Arial"></font><font style="font-size: 10pt" color="#000000"><strong>3.9</strong></font></td>
</tr>
</tbody>
</table>
<p>As it turns out, I sent a <em>lot</em> of mail to a <em>lot</em> of people throughout IBM, mostly in response to questions about Lotus Connections, Idea Labs, or collaboration tools. </p>
<p>Now I can sort my summarized data to see whom I e-mailed the most often, and add more names to my don’t-forget-to-say-goodbye list. If all goes well, I might even be able to use <a href="https://sachachua.com/blog/p/7189/">that mail merge script</a>. =)</p>
<p>The following agent processes selected messages and creates a table with one row per recipient, e-mailing the results to the specified mail address. It seems to choke on calendar entries and other weird documents, but if you go through your sent mail box in batches (Search This View by date is handy), then you should be able to find and delete the offending entries.</p>
<pre>Option Public
Dim TempNitem As NotesItem
Dim TempNm As NotesName
Dim session As  NotesSession
Dim db As NotesDatabase
Sub Initialize
	mailAddress = &quot;YOUR_ADDRESS@HERE&quot;
	
	Dim ws As New NotesUIWorkspace
	Dim uidoc As NotesUIDocument
	Dim partno As String
	Dim db As NotesDatabase
	Dim view As NotesView
	Dim doc As NotesDocument
	Dim collection As NotesDocumentCollection
	Dim memo As NotesDocument
	Dim body As NotesRichTextItem
	Dim range As NotesRichTextRange
	Dim count As Integer
	
	Set session = New NotesSession
	Set db = session.CurrentDatabase
	Set collection = db.UnprocessedDocuments
	
	Dim FldTitles(3) As String
	FldTitles(0) = &quot;E-mail&quot;
	FldTitles(1) = &quot;Subject&quot;
	FldTitles(2) = &quot;Date sent&quot;
	
	Set maildoc = db.CreateDocument
	maildoc.Form = &quot;Memo&quot;
	maildoc.Subject = &quot;Summary&quot;
	maildoc.SendTo = mailAddress
	Dim ritem As NotesRichTextItem
	Set ritem=New NotesRichTextItem(maildoc,&quot;body&quot;) 
' passing the rich text item &amp; other relevant details
	Set ritem = CreateTable(FldTitles, collection, ritem, &quot;Sent items&quot;, &quot;Summary created on &quot; + Format(Now, &quot;YYYY-MM-DD&quot;))
	maildoc.send(False)
End Sub
Function CreateTable(FldTitles As Variant, doccoll  As NotesDocumentCollection, rtitem As NotesRichTextItem,msgTitle As String,msgBody As String ) As NotesRichTextItem
	'http://searchdomino.techtarget.com/tip/0,289483,sid4_gci1254682_mem1,00.html
	'Takes  Documentcollection &amp; creates tabular information on to the passed   rtitem (rich text item)
	
	Set ritem=rtitem
	Set rtnav = ritem.CreateNavigator
	Set rstyle=session.CreateRichTextStyle 
	
	'===================================================
	'heading in the body section of the mail
	rstyle.Bold=True
	rstyle.NotesColor=COLOR_RED 
	rstyle.Underline=True
	rstyle.NotesFont=FONT_COURIER
	rstyle.FontSize=12
	Call  ritem.AppendStyle(rstyle)
	ritem.AppendText(msgTitle)
	
	rstyle.Underline=False
	rstyle.NotesColor=COLOR_BLACK
	ritem.AddNewline(2)
	
	rstyle.FontSize=10
	rstyle.Bold=False
	rstyle.NotesColor=COLOR_BLACK
	Call  ritem.AppendStyle(rstyle) 
	ritem.AppendText(msgBody)
	ritem.AddNewline(1)
	
	'===================================================
	rows=doccoll.Count +1
	cols=CInt(UBound(FldTitles)) 
	
	Call ritem.AppendTable(1, cols)
	Dim rtt As NotesRichTextTable
	Call rtnav.FindFirstElement(RTELEM_TYPE_TABLE)
	Set rtt = rtNav.GetElement 
	'=================================================
	'heading of the table
	rstyle.Bold=True
	rstyle.NotesColor=COLOR_BLUE 
	rstyle.FontSize=10
	Call  ritem.AppendStyle(rstyle)
	
	For i=0 To UBound(FldTitles) - 1
		Call rtnav.FindNextElement(RTELEM_TYPE_TABLECELL)
		Call ritem.BeginInsert(rtnav) 
		Call ritem.AppendText(FldTitles(i))
		Call ritem.EndInsert
	Next
	
	'=================================================
	rstyle.FontSize=10
	rstyle.Bold=False
	rstyle.NotesColor=COLOR_BLACK
	Call  ritem.AppendStyle(rstyle)
	Dim count As Integer
	count = 0
	Set  doc=doccoll.GetFirstDocument
	While Not (doc Is Nothing)
		subject = doc.GetFirstItem(&quot;Subject&quot;).values(0)
		posted = doc.GetFirstItem(&quot;PostedDate&quot;).values(0)
		Set sendTo = doc.getFirstItem(&quot;SendTo&quot;)
		For i = 0 To UBound(sendTo.values)
			Call rtt.AddRow(1)
			Call rtnav.FindNextElement(RTELEM_TYPE_TABLECELL)   
			Call ritem.BeginInsert(rtnav)
			ritem.appendText(sendTo.values(i))
			Call ritem.EndInsert
			Call rtnav.FindNextElement(RTELEM_TYPE_TABLECELL)   
			Call ritem.BeginInsert(rtnav)
			ritem.appendText(subject)
			Call ritem.EndInsert
			Call rtnav.FindNextElement(RTELEM_TYPE_TABLECELL)   
			Call ritem.BeginInsert(rtnav)
			ritem.appendText(posted)
			Call ritem.EndInsert
		Next   
		count = count + 1
		Set doc=doccoll.GetNextDocument(doc)
	Wend
	Set CreateTable=ritem
	MsgBox &quot;E-mails summarized: &quot; &amp; count	
End Function</pre>
<p>I find it helpful to save it as the &quot;Summarize Recipients&quot; agent and assign it to a toolbar button that runs @Command([RunAgent]; &quot;Summarize Recipients&quot;).</p>
<p>You can <a href="https://sachachua.com/blog/2012/02/analyzing-my-lotus-notes-sent-mail-since-2011-01/#comment">view 4 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2012%2F02%2Fanalyzing-my-lotus-notes-sent-mail-since-2011-01%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></content>
		</entry><entry>
		<title type="html">Waking up: looking at my data</title>
		<link rel="alternate" type="text/html" href="https://sachachua.com/blog/2011/02/waking-up-looking-at-my-data/"/>
		<author><name><![CDATA[Sacha Chua]]></name></author>
		<updated>2011-02-20T21:48:43Z</updated>
    <published>2011-02-20T16:48:43Z</published>
    <category term="geek" />
<category term="life" />
<category term="quantified" />
<category term="sketches" />
		<id>https://sachachua.com/blog/?p=22109</id>
		<content type="html"><![CDATA[<p>Whenever I manage to <a href="https://sachachua.com/blog/2010/11/experimenting-with-mornings/">wake up early a few days in a row</a>, I feel great about it. But I don’t do it consistently. I spend a couple of days waking up before 6 AM and enjoying a good spurt of writing, and then I find myself slipping back into later bedtimes and later wake-up times (~ 7 AM) or hitting the snooze. Clearly there are some things I still need to tweak about my system. </p>
<p>Time-tracking means I’ve got a way to see what my current sleep patterns are like:</p>
<p><a href="https://sachachua.com/blog/wp-content/uploads/2011/02/image2.png"><img loading="lazy" style="border-right-width: 0px; margin: 0px 0px 5px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="image" border="0" alt="image" src="https://sachachua.com/blog/wp-content/uploads/2011/02/image_thumb2.png" width="561" height="398"></a> </p>
<ul>
<li>Average sleep length when waking up before 6 AM: 7:09 </li>
<li>Average sleep length when waking up after 6 AM: 8:47 </li>
<li>Average sleep time for wake-up times before 6 AM: 9:45 PM, which is a bit of a stretch but is doable. </li>
</ul>
<p>Here are the questions I’m thinking about:</p>
<ul>
<li>Is it a matter of getting to bed earlier? </li>
<li>Would it help to disable snooze entirely? </li>
<li>Is it a matter of setting my alarm clock even earlier? (Ex: Set it for 4 AM so that I eventually get out of bed at 5 AM.) </li>
<li>Would it help to set our programmable thermostat warmer in the morning, or promise myself a hot cup of tea when I get up? </li>
<li>Would it help to set my snooze interval to 5 minutes instead of 10? </li>
<li>How about if I find a way to turn my Android into a light clock? (Using Tasker to bring up a bright app, maybe…)</li>
<li>What if I give up on waking up early and instead shift to more of a night owl schedule? Advantage: can sync up with W-. I’ll need to figure out how to give my personal pursuits the creative energy they need, though.</li>
</ul>
<p>Hmm. More things to hack…</p>
<p>You can <a href="https://sachachua.com/blog/2011/02/waking-up-looking-at-my-data/#comment">view 16 comments</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2011%2F02%2Fwaking-up-looking-at-my-data%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></content>
		</entry><entry>
		<title type="html">Find your wall</title>
		<link rel="alternate" type="text/html" href="https://sachachua.com/blog/2010/04/find-your-wall/"/>
		<author><name><![CDATA[Sacha Chua]]></name></author>
		<updated>2010-04-09T19:56:34Z</updated>
    <published>2010-04-09T12:00:00Z</published>
    <category term="life" />
<category term="reflection" />
<category term="sewing" />
<category term="sketches" />
		<id>https://sachachua.com/blog/?p=7135</id>
		<content type="html"><![CDATA[<p><strong>The Sewing Hype Cycle</strong><br>
<img src="https://sachachua.com/photos/d/1040-1/sewing.png" alt="The Sewing Hype Cycle"> <br>
(Apologies to Gartner ;) )</p>
<p>I like sewing because it frustrates me.</p>
<p>I start optimistically enough. I pick out a pattern. I choose fabric. I tweak the pattern. I cut out pieces. I start sewing them together.</p>
<p>Seams don’t quite line up. Threads break. Pins prick. I hit my lowest point: the facings are flapping about, the clothes don’t quite fit, and I’ve just sewed a seam that I have to rip out. I wonder why I put myself through this agony when I could buy better-made clothes for less than what I would spend on fabric.</p>
<p>I stop and put my work away. The next day, I take the unfinished pieces out and keep going. Somehow, it turns into something that looks okay.</p>
<p>I’ve never had a “flow” moment during sewing. It’s a struggle all the way to the end. That frustration is important. It’s why I do it.</p>
<p>It’s a good kind of frustration. It’s not a “life is unfair” kind of frustration. It’s not a “people suck” kind of frustration. It’s the frustration of knowing that there’s something I don’t know, or something I’ve skipped, or something I haven’t figured out.</p>
<p>It’s the frustration that accompanies learning things that don’t come easy to me, like a wall with hardly any handholds.</p>
<p>I learn, and I learn how to deal with that frustration. I learn when frustration and fatigue push me into making mistakes. I learn the value of sleeping on it. I learn how to keep thinking about how to do things better even when I’d rather do something easier or more fun. I learn how to experiment. I learn that I can find a way over, under, around, or through things that frustrate me.</p>
<p>I learn how great it feels to climb that wall.</p>
<p>I learn that there’s always going to be another wall, and another, and another – and that’s okay, because the walls help me learn.</p>
<p>I learn not to fear walls by trying them, just as I learned not to <a href="https://sachachua.com/blog/2009/12/fall-down-intentionally/">fear falling</a> by intentionally doing so.</p>
<p>It’s tempting to spend your time on easy escapes. Find your walls. Deal with that frustration, and keep going.</p>
<p>You can <a href="https://sachachua.com/blog/2010/04/find-your-wall/#comment">view 1 comment</a> or <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2010%2F04%2Ffind-your-wall%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></content>
		</entry>
</feed>