<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>furtiveCode.com &#187; Thoughts</title>
	<atom:link href="http://furtivecode.com/category/thoughts/feed/" rel="self" type="application/rss+xml" />
	<link>http://furtivecode.com</link>
	<description>Chris Lamothe's weblog.</description>
	<lastBuildDate>Mon, 07 Sep 2009 23:37:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Renaming files with date standards</title>
		<link>http://furtivecode.com/2008/02/13/renaming-files-with-date-standards/</link>
		<comments>http://furtivecode.com/2008/02/13/renaming-files-with-date-standards/#comments</comments>
		<pubDate>Thu, 14 Feb 2008 03:44:20 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2008/02/13/renaming-files-with-date-standards/</guid>
		<description><![CDATA[Before replacing my  old Motorola RAZR with an iPhone I needed to backup up all of my photos.  Unfortunately Motorola&#8217;s naming convention for images is terrible:  DD_MM_YY-hhmm.jpg, if you try sorting that you get all the photos taken on the first of any month grouped together, followed by all those taken the first of the [...]]]></description>
			<content:encoded><![CDATA[<p>Before replacing my  old Motorola RAZR with an iPhone I needed to backup up all of my photos.  Unfortunately Motorola&#8217;s naming convention for images is terrible:  <em>DD_MM_YY-hhmm.jpg</em>, if you try sorting that you get all the photos taken on the first of any month grouped together, followed by all those taken the first of the second month, etc.  That&#8217;s terrible.</p>
<p>So I wrote a little <a title="Rename Motorola RAZR pictures so that they are sortable by date." href="http://textsnippets.com/posts/show/1403">perl script that renames all RAZR pictures to <em>YYMMDDhhmm.jpg</em></a> so that they can be easily sorted in chronological order by any file browser.  You&#8217;d think a big international company like Motorola would be able to respect the <a title="ISO 8601 International Standard for Date and Time" href="http://en.wikipedia.org/wiki/ISO_8601">ISO 8601</a> standard by now.</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2008/02/13/renaming-files-with-date-standards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to filter email attachments in Lotus Notes</title>
		<link>http://furtivecode.com/2007/12/18/how-to-filter-email-attachments-in-lotus-notes/</link>
		<comments>http://furtivecode.com/2007/12/18/how-to-filter-email-attachments-in-lotus-notes/#comments</comments>
		<pubDate>Tue, 18 Dec 2007 21:54:44 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/12/18/how-to-filter-email-attachments-in-lotus-notes/</guid>
		<description><![CDATA[This Lotus Notes script strips email attchements using an Agent instead of Rules. Lets say you want to forward mail from your Lotus Notes account but want to strip attachments, you&#8217;ll definitely want to try the following script. It&#8217;s perfect for sending your mail to your sexy new iPhone without racking up ridiculous bandwidth charges. [...]]]></description>
			<content:encoded><![CDATA[<p>This Lotus Notes script strips email attchements using an Agent instead of Rules.</p>
<p>Lets say you want to forward mail from your Lotus Notes account but want to strip attachments, you&#8217;ll definitely want to try the following script.  It&#8217;s perfect for sending your mail to your sexy new iPhone without racking up ridiculous bandwidth charges.</p>
<p>This works in Notes 8, but has not been tested in earlier versions.  Also be sure to replace YOUREMAIL@MAIL.COM with an external email address.  Credit should go to Simon Lacasse who did the nitty gritty work, I&#8217;m just making sure others can benefit from it.</p>
<pre>
Sub Initialize

Dim session As New NotesSession
Dim db As NotesDatabase
Dim collection As NotesDocumentCollection
Dim memo As NotesDocument
Dim doc As NotesDocument
Dim j As Integer
Set db = session.CurrentDatabase

Set collection = db.UnprocessedDocuments

For j = 1 To collection.Count
Set memo = collection.GetNthDocument( j )
''If Not( memo.SentByAgent ) Then

Set doc = New NotesDocument( db )
Call doc.CopyAllItems( memo, True )
Dim rtitem As NotesRichTextItem

Set rtitem = memo.GetFirstItem("Body")

doc.Form = "Memo"
doc.Subject = "From :" + memo.From(0) + ":" + memo.Subject( 0 )
doc.Body = memo.Body
doc.Principal = memo.from(0)
''doc.InetFrom = memo.SMTPOriginator
doc.ReplyTo = memo.from(0)

Call doc.Send( True, "YOUREMAIL@MAIL.COM" )
'Call doc.Send( False, "Put another EMail address here" )
''        End If
Call session.UpdateProcessedDoc( memo )
Next

End Sub</pre>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/12/18/how-to-filter-email-attachments-in-lotus-notes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Terminated</title>
		<link>http://furtivecode.com/2007/11/04/terminated/</link>
		<comments>http://furtivecode.com/2007/11/04/terminated/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 02:35:11 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/11/04/terminated/</guid>
		<description><![CDATA[&#160; &#160; Leopard (OS X 10.5) has its fair share of goodies, including a new and improved terminal client with *gasp* tabbed windows. I thought this feature would be great news, since as I wouldn&#8217;t need to install the venerable iTerm in much of the same way that Spaces has supplanted VirtueDesktops. After a week [...]]]></description>
			<content:encoded><![CDATA[<p align="left">&nbsp;</p>
<p style="text-align: center">&nbsp;</p>
<p style="text-align: center"><img src="http://furtivecode.com/wp-content/uploads/2007/11/terminal.jpg" alt="Terminal" style="padding: 10px" height="404" width="469" /></p>
<p><a href="http://arstechnica.com/reviews/os/mac-os-x-10-5.ars/" title="Ars Technical OSX Leopard in Depth Review">Leopard (OS X 10.5)</a> has its fair share of goodies, including a new and improved terminal client with *gasp* tabbed windows.  I thought this feature would be great news, since as I wouldn&#8217;t need to install the venerable <a href="http://iterm.sourceforge.net/" title="iTerm - An open source Apple Terminal replacement">iTerm</a> in much of the same way that <a href="http://www.apple.com/macosx/features/spaces.html" title="Leopard Spaces">Spaces</a> has supplanted <a href="http://virtuedesktops.info/" title="VirtueDesktops - Open source multiple desktops">VirtueDesktops</a>. After a week though I&#8217;ve gone back to iTerm, as it became painfully obvious that the Window Groups features of the Leopard terminal couldn&#8217;t hold a candle to the bookmarking features in iTerm.  The Window Groups in terminal fail to retain any useful information such as which host you are connected to, and you&#8217;re manually forced to ssh back to where you were before, this is something that the bookmarks in iTerm solve easily.  So close Apple, yet so far&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/11/04/terminated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Don&#8217;t refactor on a Friday afternoon!</title>
		<link>http://furtivecode.com/2007/08/31/dont-refactor-on-a-friday-afternoon/</link>
		<comments>http://furtivecode.com/2007/08/31/dont-refactor-on-a-friday-afternoon/#comments</comments>
		<pubDate>Fri, 31 Aug 2007 19:40:05 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/08/31/dont-refactor-on-a-friday-afternoon/</guid>
		<description><![CDATA[If you work in a 9-5 environment, then the biggest mistake you can possibly make on a Friday afternoon is to start major changes in your code. Stop! Step away from the keyboard! This one goes right up there with never sending an email late at night (especially when you&#8217;re tired or cranky) or discussing [...]]]></description>
			<content:encoded><![CDATA[<p>If you work in a 9-5 environment, then the biggest mistake you can possibly make on a Friday afternoon is to start major changes in your code.  Stop!  Step away from the keyboard!  This one goes right up there with never sending an email late at night (especially when you&#8217;re tired or cranky) or discussing work/money in bed.</p>
<p>I learned this lesson on my own and it bears repeating, because even after all these years I still catch myself doing it sometimes.  It&#8217;s Friday, you&#8217;re tired, and when your guard is down that&#8217;s when you start doing stupid things to your code.</p>
<p>So go write some documentation or as <a href="http://macournoyer.wordpress.com/">Marc-Andr&eacute; Cournoyer</a> suggested, fix the little things that you told yourself youâ€™d do later but never did or add some tests.  Just stay away from major changes on a Friday afternoon!</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/08/31/dont-refactor-on-a-friday-afternoon/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Three things not to like about Safari for Windows</title>
		<link>http://furtivecode.com/2007/06/11/three-things-not-to-like-about-safari-for-windows/</link>
		<comments>http://furtivecode.com/2007/06/11/three-things-not-to-like-about-safari-for-windows/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 19:00:17 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/06/11/three-things-not-to-like-about-safari-for-windows/</guid>
		<description><![CDATA[You can&#8217;t resize the Window except when you use the lower right corner. That&#8217;s a terrible design issue, one that has annoyed me a bit in OSX but annoys me even more in Windows. I guess this is a strong sign that Window resizing won&#8217;t be changing in Leopard. The RSS icon doesn&#8217;t respect what [...]]]></description>
			<content:encoded><![CDATA[<p><strong>You can&#8217;t resize the Window except when you use the lower right corner. </strong></p>
<p>That&#8217;s a terrible design issue, one that has annoyed me a bit in OSX but annoys me even more in Windows.  I guess this is a strong sign that Window resizing won&#8217;t be changing in Leopard.</p>
<p><strong>The RSS icon doesn&#8217;t respect what everyone else is using.</strong></p>
<p>Sure the little orange RSS icon isn&#8217;t very clear on what it does, but at least once you know what it does you can easily recognize it.  The RSS icon used in Safari strays from that, and yet fails to be any more useful to someone who doesn&#8217;t already know what RSS is.</p>
<p><strong>Yet another browser for web developers to debug.</strong></p>
<p>This is a lazy complaint to be sure, but proper testing does take time, and some clients are going to demand it.  Plus there&#8217;s no guarantee that how things render in Windows will match how things render in OSX, so you can&#8217;t be sure until you&#8217;ve tested on both platforms.  Finally, this could lead people who might have purchased an Apple computer to not bother since they can test Safari from a Windows PC.</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/06/11/three-things-not-to-like-about-safari-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Batch Cooking</title>
		<link>http://furtivecode.com/2007/03/25/batch-cooking/</link>
		<comments>http://furtivecode.com/2007/03/25/batch-cooking/#comments</comments>
		<pubDate>Mon, 26 Mar 2007 01:32:35 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/03/25/batch-cooking/</guid>
		<description><![CDATA[While walking to the market today my friend Cyril proposed we take turns cooking food in large batches. It would only take a few like minded people for us to benefit from cooking on a large scale, making meals that most bachelors and couples would find too large or expensive to prepare, such as lasagna [...]]]></description>
			<content:encoded><![CDATA[<p>While walking to the market today my friend Cyril proposed we take turns cooking food in large batches.  It would only take a few like minded people for us to benefit from cooking on a large scale, making meals that most bachelors and couples would find too large or expensive to prepare, such as lasagna or chili.</p>
<p>We quickly came up with a list of batch cooking recipe candidates:</p>
<ul>
<li>Chili</li>
<li>Bread</li>
<li>Pate</li>
<li>Picklings</li>
<li>Jams</li>
<li>Pies</li>
<li>Cookie doughs</li>
<li>Duck (If you want to make confit you&#8217;ll need at least 3 ducks)</li>
<li>Lasagna</li>
<li>Pierogies</li>
<li>Pate Chinois</li>
<li>Soups</li>
</ul>
<p>With luck, we&#8217;ll get a few more people together (4 to 6 people, 8 tops).</p>
<p>I hope to avoid the &#8220;too many cooks&#8221; issue by delegating a meal to each household and having the household coordinate the shopping and preparation, while splitting the grocery bill between each participant.  Once a month should be a good starting pace, and if it picks up we could add homework assignments such as cookie dough exchanges.</p>
<p>I think there is a lot of potential here, and with the practice there are a few recipes that I would like to use as Christmas gifts (the pate, picklings, jams and cookie dough all come to mind).</p>
<p>The next step will be to find a few more people to join us, and find out who&#8217;s cooking first.</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/03/25/batch-cooking/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Douglas Copland explains the state of my blog</title>
		<link>http://furtivecode.com/2007/03/15/douglas-copland-explains-the-state-of-my-blog/</link>
		<comments>http://furtivecode.com/2007/03/15/douglas-copland-explains-the-state-of-my-blog/#comments</comments>
		<pubDate>Fri, 16 Mar 2007 02:54:33 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/03/15/douglas-copland-explains-the-state-of-my-blog/</guid>
		<description><![CDATA[&#8220;For about four months back in the 90s I kept what was once called a diary, and I enjoyed doing it but what happened was &#8211; and I think this is a very common response &#8211; is when you start living your life inside your diary you become quite mercenary, and it&#8217;s all about &#8216;will [...]]]></description>
			<content:encoded><![CDATA[<p><em>&#8220;For about four months back in the 90s I kept what was once called a diary, and I enjoyed doing it but what happened was &#8211; and I think this is a very common response &#8211; is when you start living your life inside your diary you become quite mercenary, and it&#8217;s all about &#8216;will this make a good entry?&#8217;</em></p>
<p><em>Suddenly your life becomes that Warholian thing where every moment of your life should be something you can sell, you&#8217;re always taking pictures, taping everything, and then I think it&#8217;s just psychologically strange.&#8221;</em></p>
<p>Fortunately the schism between living a good entry and writing a good entry is wide enough that I&#8217;m spared <a title="Douglas Copland interview at SxSW" href="http://www.theregister.co.uk/2007/03/15/sxsw_coupland_interview/">Mr. Copland&#8217;s predicament</a>.  I am a big fan of Douglas Copland&#8217;s <a title="Generation X, Douglas Copland, 1991" href="http://en.wikipedia.org/wiki/Generation_X:_Tales_for_an_Accelerated_Culture">earlier</a> <a title="Shampoo Planet, Douglas Copland, 1992" href="http://en.wikipedia.org/wiki/Shampoo_Planet">books</a>, but I can&#8217;t say I&#8217;ve ever assessed how much of an impact <a title="Microserfs, Douglas Copland 1995" href="http://en.wikipedia.org/wiki/Microserfs">Microserfs</a> has had on my life.</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/03/15/douglas-copland-explains-the-state-of-my-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The raquette racket</title>
		<link>http://furtivecode.com/2007/01/31/the-raquette-racket/</link>
		<comments>http://furtivecode.com/2007/01/31/the-raquette-racket/#comments</comments>
		<pubDate>Wed, 31 Jan 2007 23:55:36 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2007/01/31/the-raquette-racket/</guid>
		<description><![CDATA[I had the great opportunity to go snowshoeing in Val-David this weekend with a couple of friends. It was a lot of fun but it was also the first time that my army issue &#8220;old school&#8221; snowshoes let me down.Â  The trail was packed hard and my snowshoes had no grip on the steep mountain [...]]]></description>
			<content:encoded><![CDATA[<p>I had the great opportunity to go snowshoeing in Val-David this weekend with a couple of friends. It was a lot of fun but it was also the first time that my army issue &#8220;old school&#8221; snowshoes let me down.Â  The trail was packed hard and my snowshoes had no grip on the steep mountain we climbed.Â  Fortunately we only had about 300m to climb, so I persevered, but when you contrast my struggle to those who were running around me I felt like a dinosaur gasping in a bog.<br />
I tried to figure out how my shoes would be so inadequate in this sort of situation and it dawned on me that my snowshoes are a throwback to when the point of snowshoeing was something to get from point A to point B.Â  People didn&#8217;t make detours to climb mountains in snowshoes 300 years ago, they weren&#8217;t even doing it 30 years ago.Â  They were in the bush to get to their trapping lines, following a river to a lake so they could ice fish&#8230;there was no need to climb hills in the snow.</p>
<p>So although I&#8217;ve tried bear-claw snowshoes before and didn&#8217;t enjoy them (albeit in deep snow), I think I&#8217;m going to have to break down and get a pair if I want to keep up with my friends.Â  Of course, once that 40cm of powder comes down, we&#8217;ll see who&#8217;s laughing last.</p>
<p><img alt="Snowshoeing" id="image11" style="width: 477px; height: 358px" src="http://furtivecode.com/wp-content/uploads/2007/01/DSC01085.JPG" /></p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2007/01/31/the-raquette-racket/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Getting things done.</title>
		<link>http://furtivecode.com/2006/11/11/getting-things-done/</link>
		<comments>http://furtivecode.com/2006/11/11/getting-things-done/#comments</comments>
		<pubDate>Sat, 11 Nov 2006 22:49:32 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2006/11/11/getting-things-done/</guid>
		<description><![CDATA[Work has monopolized the majority of my free time since returning from the honeymoon. In fact we&#8217;re only starting to print wedding photos and write thank you cards now. I have done a few small projects though. I&#8217;ve been Windows free at home for two months now, and don&#8217;t expect to ever go back, and [...]]]></description>
			<content:encoded><![CDATA[<p>Work has monopolized the majority of my free time since returning from the honeymoon.  In fact we&#8217;re only starting to print wedding photos and write thank you cards now.  I have done a few small projects though.  I&#8217;ve been <a title="Ubuntu - Best Linux Ever!" href="http://ubuntu.org">Windows free</a> at home for two months now, and don&#8217;t expect to ever go back, and I&#8217;ve set up <a title="rsync" href="http://samba.anu.edu.au/rsync/">rsync</a> to properly backup my stuff <a title="Strongspace Secure File Storage" href="http://www.strongspace.com/">offsite</a>.  I&#8217;ve also been doing freelance work to bring in a bit of extra cash, and took keep my wits sharp.</p>
<p>The project at work I&#8217;ve been busy with for the past year and a half goes live this weekend and I am looking forward to switching gears.  That and the change freeze slated for December should free up my personal time for something more interesting.  It&#8217;s time to  write me a plan and a schedule so that I can take my own projects to the next step.</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2006/11/11/getting-things-done/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A fascination with numbers</title>
		<link>http://furtivecode.com/2006/03/16/a-fascination-with-math/</link>
		<comments>http://furtivecode.com/2006/03/16/a-fascination-with-math/#comments</comments>
		<pubDate>Thu, 16 Mar 2006 15:35:01 +0000</pubDate>
		<dc:creator>Chris Lamothe</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://furtivecode.com/2006/03/16/a-fascination-with-math/</guid>
		<description><![CDATA[Ok, I&#8217;ll admit it, I&#8217;m not always good with numbers, and yet I have always been fascinated by them. In grade four I didn&#8217;t know how to do long division, and so copied from a friend sitting next to me as I slowly deciphered the process on my own. Yet paradoxicaly I was a member [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, I&#8217;ll admit it, I&#8217;m not always good with numbers, and yet I have always been fascinated by them.  In grade four I didn&#8217;t know how to do long division, and so copied from a friend sitting next to me as I slowly deciphered the process on my own. Yet paradoxicaly I was a member of the math club and I came in second place within my school board for the big math competition.  The guy I copied long divisions from came in first.</p>
<p>The rest of my academic life my math marks varied from a record high 100% three semesters in a row to a record low 16% precalculus class in college, but even then I never hated math itself (let us blame the teacher and the newfound freedoms of college life).  If you would like to test the waters to see if you share my interest for math I present to you the following articles, all of which I promise will contain hardly any equations at all.  We&#8217;ll start with a popular teaser known as <a href="http://www.howstuffworks.com/question261.htm">The Birthday Paradox</a>.    If you liked that one, then check out <a href="http://www.rexswain.com/benford.html">Benford&#8217;s Law (or looking out for Number One)</a>, which shows how popular the number one really is, and how easy it can be to find fake data.  The longest, and also the most interesting article is <a href="http://www.scottaaronson.com/writings/bignumbers.html">Who Can Name the Biggest Number</a> which is a fascinating look at the origin, use and limitations of really big numbers.  Finally, for a bit of eye candy, check out <a href="http://www.turbulence.org/Works/nums/index.html">The Secret Lives of Numbers</a> and more importantly the <a href="http://www.turbulence.org/Works/nums/prepare.html">visualisation</a> on the left of that page, which in my opinion is one of the nicest Java Applets to have been implemented.</p>
]]></content:encoded>
			<wfw:commentRss>http://furtivecode.com/2006/03/16/a-fascination-with-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
