<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>
	<title>im addicted</title>
	
	<link>http://imaddicted.ca</link>
	<description>i'm always on</description>
	<lastBuildDate>Fri, 06 Aug 2010 01:23:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/imaddicted" /><feedburner:info uri="imaddicted" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><geo:lat>43.658719</geo:lat><geo:long>-79.395976</geo:long><item>
		<title>Interactive music with arduino and sheevaplug, part 1</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/xw29QMkVI8M/</link>
		<comments>http://imaddicted.ca/dev/interactive-music-with-arduino-and-sheevaplug-part-1/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 01:23:34 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[Arduino]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[SheevaPlug]]></category>
		<category><![CDATA[USB]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=684</guid>
		<description><![CDATA[Recently someone from the hacklab put up a note saying that he had a SheevaPlug to give to a good home. I jumped on the offer. Thanks again, Brian! I&#8217;m going to be blogging a little bit about what I&#8217;m doing to show that I do have a good home for it. The first thing [...]]]></description>
			<content:encoded><![CDATA[<p>Recently someone from the hacklab put up a note saying that he had a SheevaPlug to give to a good home. I jumped on the offer. Thanks again, Brian! I&#8217;m going to be blogging a little bit about what I&#8217;m doing to show that I do have a good home for it.</p>
<div class="zemanta-img zemanta-action-dragged" style="margin: 1em; display: block;">
<div class="wp-caption alignright" style="width: 310px"><a href="http://commons.wikipedia.org/wiki/File:Sheevaplug.jpg"><img title="Sheevaplug plug computer with iPhone for scale" src="http://upload.wikimedia.org/wikipedia/commons/thumb/e/e4/Sheevaplug.jpg/300px-Sheevaplug.jpg" alt="Sheevaplug plug computer with iPhone for scale" width="300" height="200" /></a><p class="wp-caption-text">Image via Wikipedia</p></div>
</div>
<p>The first thing that I&#8217;m going to use it for is an interactive music player or generator for a friend&#8217;s art piece. It&#8217;s going to change what&#8217;s played based on how many people are in what parts of the room. I&#8217;m going to do this by counting the number of people who enter the room using infrared LED sensors, and then setting up sonar threshholds for people to be counted as they cross. To implement this I&#8217;ll use the sheevaplug, two arduinos, a bunch of range finders, and either a long cable connecting the two duinos or a couple of xbees.</p>
<p><span id="more-684"></span></p>
<p>I&#8217;m going to have four pairs of rangefinders on a post, each pair pointing in a different direction. If I see the distance from one rangefinder in the pair drop (call it A), then the other (call it B), I can guess that a person just walked in the direction A to B. I&#8217;ll decrement the count of people from A&#8217;s quadrant and increment it in B&#8217;s quadrant. The music will change depending on how many people are in the room, and how many are in each quadrant.</p>
<p>Why the sheevaplug? It&#8217;s powerful enough to generate sound and pipe it through a USB sound card.</p>
<p><a href="http://imaddicted.ca/wp-content/arduino-on-sheevaplug.png"><img class="alignleft size-thumbnail wp-image-733" title="Connecting to the arduino via the sheevaplug" src="http://imaddicted.ca/wp-content/arduino-on-sheevaplug-150x82.png" alt="" width="150" height="82" /></a>The first step in this ordeal was to get FTDI working on the sheevaplug. <a href="http://www.arcfn.com/2009/06/arduino-sheevaplug-cool-hardware.html">It appears I wasn&#8217;t the only one with this idea</a>. This is great news for me because the kernel I needed to get FTDI working was already compiled. I had some trouble at first, I&#8217;d see the kernel was being uncompressed and then it&#8217;d hang. As it turns out I forgot to run a few setenv commands. Oops. I was able to run those from the serial console and get going. Now the plug is running just fine.</p>
<p>My next step is to pick up a couple of motion sensors and see if I can get the people counter working. I expect to run into some problems with interference, so I&#8217;ll have to play around with the transmit timings. If it works with the two then we&#8217;ll see about getting funding. In any case I&#8217;m trying to get the costs down, those range finders are expensive!</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=xw29QMkVI8M:rXnVultdQps:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=xw29QMkVI8M:rXnVultdQps:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=xw29QMkVI8M:rXnVultdQps:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/xw29QMkVI8M" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/dev/interactive-music-with-arduino-and-sheevaplug-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/dev/interactive-music-with-arduino-and-sheevaplug-part-1/</feedburner:origLink></item>
		<item>
		<title>Greasemonkey script for Torontonian Goodread users</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/lL0ZTg0tG7I/</link>
		<comments>http://imaddicted.ca/dev/greasemonkey-script-for-torontonian-goodread-users/#comments</comments>
		<pubDate>Fri, 12 Mar 2010 01:22:47 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[dev]]></category>
		<category><![CDATA[goodreads]]></category>
		<category><![CDATA[greasemonkey]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[toronto]]></category>
		<category><![CDATA[toronto public library]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=670</guid>
		<description><![CDATA[Image by rb3m via Flickr This target market is pretty specific, I know, but I wrote a script to make searching for books at available at my local library more easy while browsing Goodreads. I&#8217;m starting to use Goodreads to track what I&#8217;m reading and also find suggestions from friends. Connie Crosby linked via Twitter [...]]]></description>
			<content:encoded><![CDATA[<div class="zemanta-img" style="margin: 1em; display: block;">
<div>
<dl class="wp-caption alignleft" style="width: 190px;">
<dt class="wp-caption-dt"><a href="http://www.flickr.com/photos/61239510@N00/2665284075"><img title="Toronto Public Library" src="http://farm4.static.flickr.com/3131/2665284075_cf55ee0981_m.jpg" alt="Toronto Public Library" width="180" height="240" /></a></dt>
<dd class="wp-caption-dd zemanta-img-attribution" style="font-size: 0.8em;">Image by <a href="http://www.flickr.com/photos/61239510@N00/2665284075">rb3m</a> via Flickr</dd>
</dl>
</div>
</div>
<p>This target market is pretty specific, I know, but I wrote a <a href="http://userscripts.org/scripts/show/71170">script to make searching for books at available at my local library more easy while browsing Goodreads</a>. I&#8217;m starting to use <a href="http://www.goodreads.com/">Goodreads</a> to track what I&#8217;m reading and also find suggestions from friends.</p>
<p><span id="more-670"></span></p>
<p><a href="http://conniecrosby.blogspot.com/">Connie Crosby</a> linked via Twitter to a <a href="http://www.davemadethat.com/2009/10/23/your-library-on-amazon/">blog post on how to automatically search your local libraries while browsing Amazon</a>. I don&#8217;t browse Amazon that often but it did get me thinking.</p>
<p>When I want to read a book I generally first check out the <a href="http://beta.torontopubliclibrary.ca/books-video-music/downloads-ebooks/">TPL&#8217;s downloadable section</a>. It&#8217;s a little sparse for anything other than computer books. (Yes, I do read things other than computer books.) Anyhow, I&#8217;ve already gotten some use out of <a href="http://userscripts.org/scripts/show/71170">my script</a> when only dead tree editions were available, and I imagine others will find the script handy too.</p>
<p>What it does is it searches the Toronto Public Library&#8217;s catalog for the 13 digit ISBN of any book that you visit on Goodreads. If it&#8217;s in the catalog, you can click a link that&#8217;ll pop up a list showing what branches it&#8217;s available at, and place a hold if you want.</p>
<p>This was made possible by the <a href="http://beta.torontopubliclibrary.ca/">new beta website</a> which is still a work in progress. Still, very cool features have been rolled out.</p>
<p>Known issue with the script: I couldn&#8217;t get the &#8220;place hold&#8221; button to select the right branch, no matter which &#8220;place hold&#8221; link you click it will ask you to select your branch.</p>
<p>Watch the 1.5 minute video below if you want a preview of what the script does.</p>
<p><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="425" height="344" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/8PyiBLemRj4&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="425" height="344" src="http://www.youtube.com/v/8PyiBLemRj4&amp;hl=en&amp;fs=1" allowscriptaccess="always" allowfullscreen="true"></embed></object></p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.wired.com/geekdad/2010/01/catalog-your-books-online/">Catalog Your Books Online</a> (wired.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.makeuseof.com/tag/book-recommendation-engines-quick-book-searches/">Three Book Recommendation Engines For Quick Book Searches</a> (makeuseof.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/pixy.gif?x-id=1dd0977b-96fb-4c02-8c44-28b6b2af1697" alt="" /><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=lL0ZTg0tG7I:nUN80aGN55Q:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=lL0ZTg0tG7I:nUN80aGN55Q:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=lL0ZTg0tG7I:nUN80aGN55Q:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/lL0ZTg0tG7I" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/dev/greasemonkey-script-for-torontonian-goodread-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/dev/greasemonkey-script-for-torontonian-goodread-users/</feedburner:origLink></item>
		<item>
		<title>CrisisCampTO</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/Y-A3turu6TQ/</link>
		<comments>http://imaddicted.ca/dev/crisiscampto/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 22:58:32 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[dev]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=664</guid>
		<description><![CDATA[Yesterday was the first CrisisCamp in Toronto. I heard about it from Jacqui Maher&#8216;s presentation at CUSEC, and I decided to attend not really knowing what to expect. It turned out that there were six projects to tackle, and I tried to help with the machine translation project. The idea was to provide an easily [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday was the first CrisisCamp in Toronto. I heard about it from <a href="http://brighter.net/">Jacqui Maher</a>&#8216;s presentation at CUSEC, and I decided to attend not really knowing what to expect. It turned out that there were six projects to tackle, and I tried to help with the <a href="http://code.google.com/p/ccmts/">machine translation project</a>.</p>
<p>The idea was to provide an easily accessible translator for people on the ground. At the time the project started there was no Google Translate project that worked back and forth between for English and Haitian Creole. I think it was Chris that got a translator working based on moses after it&#8217;d been fed a corpus of every piece of Creole that he could get his hands on. The CCTO team&#8217;s job was to put together a web front end, and an API.</p>
<p><span id="more-664"></span></p>
<p>We were asked to write in python. There was no binding for the frontend, but Google had just made their Creole translator accessible. For testing purposes, we&#8217;re using their AJAX frontend. After a couple false starts with mod_python and Django, Brian and Kevin rewrote using the Twisted framework. It&#8217;s a little more obscure but it&#8217;s going to be easier to plug in other mediums like SMS.</p>
<p>We did in eight hours what a more organized team could&#8217;ve done in one. It&#8217;s hard to feel like I contributed anything other than two false starts and a bit of test code, but I&#8217;m still glad I went. I got to participate in creating what I think will be useful on the ground, even if I didn&#8217;t add much traction. At the very least I got to learn what it feels like to have a deliverable and a deadline but no spec.</p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=Y-A3turu6TQ:ac2U4v1fQ4I:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=Y-A3turu6TQ:ac2U4v1fQ4I:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=Y-A3turu6TQ:ac2U4v1fQ4I:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/Y-A3turu6TQ" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/dev/crisiscampto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/dev/crisiscampto/</feedburner:origLink></item>
		<item>
		<title>Liveblogging for #CUSEC 2010</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/zN339v5mjR4/</link>
		<comments>http://imaddicted.ca/cusec/liveblogging-for-cusec-2010/#comments</comments>
		<pubDate>Fri, 22 Jan 2010 20:15:31 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[cusec]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[Matt Knox]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=660</guid>
		<description><![CDATA[I&#8217;m still at CUSEC 2010 in Montreal. My plan was to take notes and quickly publish here, but then at the last minute I decided to liveblog for CUSEC instead. It&#8217;s at http://live.cusec.net/. So far my favourite talk was from Matt Knox, talking about ethics and how the human brain has a remote root: we [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m still at CUSEC 2010 in Montreal. My plan was to take notes and quickly publish here, but then at the last minute I decided to liveblog for CUSEC instead. It&#8217;s at <a href="http://live.cusec.net/">http://live.cusec.net/</a>. So far my favourite talk was from Matt Knox, talking about ethics and how the human brain has a remote root: we bend to authority and do wrong too easily. The Milgram experiment as well as the more recent pranknet arrests illustrated this.</p>
<p>You can see the notes by visting the site and clicking on the archives. Unfortunately I can&#8217;t do permalinks very readily, so I might export and clean it up later.</p>
<p>The last reason I didn&#8217;t post my notes here is due to my blog being in need of spring cleaning. I need to switch to a cleaner, less busy theme, so might pick one up from WooThemes. I&#8217;ll be taking another look at that later tonight, as well as merging my categories.<span id="more-660"></span></p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/d1a4c290-3951-4b42-9e32-217aded7a947/"><img class="zemanta-pixie-img" style="border: none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=d1a4c290-3951-4b42-9e32-217aded7a947" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=zN339v5mjR4:UBbEKpw-rBs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=zN339v5mjR4:UBbEKpw-rBs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=zN339v5mjR4:UBbEKpw-rBs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/zN339v5mjR4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/cusec/liveblogging-for-cusec-2010/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/cusec/liveblogging-for-cusec-2010/</feedburner:origLink></item>
		<item>
		<title>Links about the Haiti earthquake disaster</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/eJkRFupUYB4/</link>
		<comments>http://imaddicted.ca/uncategorized/links-about-the-haiti-earthquake-disaster/#comments</comments>
		<pubDate>Wed, 13 Jan 2010 20:18:20 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=656</guid>
		<description><![CDATA[By now everyone has heard of the earthquake that hit Haiti.  There isn&#8217;t much of a food reserve, there isn&#8217;t a great deal of domestic rescue equipment or personnel, and there isn&#8217;t an abundance of shelter. I recently read a report saying that none of the hospitals in Port-au-Prince were operational. Since most of my [...]]]></description>
			<content:encoded><![CDATA[<p>By now everyone has heard of the <a href="http://en.wikipedia.org/wiki/Haiti_earthquake">earthquake that hit Haiti</a>.  There isn&#8217;t much of a food reserve, there isn&#8217;t a great deal of domestic rescue equipment or personnel, and there isn&#8217;t an abundance of shelter. I recently read a report saying that none of the hospitals in Port-au-Prince were operational.</p>
<p>Since most of my readers are American, I&#8217;ll start off by linking to the <a href="http://www.msnbc.msn.com/id/34835478/ns/world_news-haiti_earthquake/">MSNBC list of suggested aid organizations</a>. Many groups in the list have Canadian counterparts too.</p>
<p>I tried to decide between <a class="zem_slink" title="Médecins Sans Frontières" rel="wikipedia" href="http://en.wikipedia.org/wiki/M%C3%A9decins_Sans_Fronti%C3%A8res">Doctors Without Borders</a> or <a class="zem_slink" title="International Red Cross and Red Crescent Movement" rel="wikipedia" href="http://en.wikipedia.org/wiki/International_Red_Cross_and_Red_Crescent_Movement">Red Cross</a>. It seems that they&#8217;re neck and neck in terms of <a href="http://www.moneysense.ca/2009/12/21/canadas-40-biggest-charities/">their administrative cost</a>, so I went with the Red Cross due to their shelter programs. I donated using their <a href="http://www.redcross.ca/main.asp?id=033907">online donation box</a>.</p>
<p><span id="more-656"></span></p>
<p>The Canadian government has pledged $5 million so far, as well as sent a DART team and put the HMCS Halifax on standby.</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.gettingattention.org/my_weblog/2010/01/red-cross-communications-innovation-boostout-in-front-communicating-on-haitian-disaster-relief-effort.html">&#8220;Red Cross&#8217; Communications Innovation in Haitian Disaster Relief Effort &#8212; Smart Stuff&#8221; and related posts</a> (gettingattention.org)</li>
<li class="zemanta-article-ul-li"><a href="http://www.ecorazzi.com/2010/01/13/wyclef-jean-pleads-for-help-in-wake-of-haiti-earthquake/">&#8220;Wyclef Jean Pleads For Help In Wake Of Haiti Earthquake&#8221; and related posts</a> (ecorazzi.com)</li>
<li class="zemanta-article-ul-li"><a href="http://r.zemanta.com/?u=http%3A//www.newswire.ca/en/releases/archive/January2010/13/c8285.html&amp;a=11505758&amp;rid=c27c9b64-5256-41bf-a759-752b508dcdfa&amp;e=3cad6552de622cb133a2a9257bcdfb97">TD Donates $100,000 to the Red Cross in support of earthquake relief in Haiti</a> (newswire.ca)</li>
<li class="zemanta-article-ul-li"><a href="http://r.zemanta.com/?u=http%3A//www.cbc.ca/canada/ottawa/story/2010/01/13/ottawa-haiti-quake.html%3Fref%3Drss&amp;a=11498041&amp;rid=c27c9b64-5256-41bf-a759-752b508dcdfa&amp;e=a12ae02c4f0292e8a14c723e1344b1a6">Haiti quake leaves Ottawa relatives anxious</a> (cbc.ca)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/c27c9b64-5256-41bf-a759-752b508dcdfa/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=c27c9b64-5256-41bf-a759-752b508dcdfa" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=eJkRFupUYB4:WtWF6kl7deY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=eJkRFupUYB4:WtWF6kl7deY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=eJkRFupUYB4:WtWF6kl7deY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/eJkRFupUYB4" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/uncategorized/links-about-the-haiti-earthquake-disaster/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/uncategorized/links-about-the-haiti-earthquake-disaster/</feedburner:origLink></item>
		<item>
		<title>The EC-GC spoof is toast, whodunnit?</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/K8mHXIprmJY/</link>
		<comments>http://imaddicted.ca/internet/the-ec-gc-spoof-is-toast-whodunnit/#comments</comments>
		<pubDate>Wed, 30 Dec 2009 23:18:29 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[Government of Canada]]></category>
		<category><![CDATA[Serverloft]]></category>
		<category><![CDATA[Yes Men]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=644</guid>
		<description><![CDATA[(Screenshot snagged from straight.com.) I remember when Telus shut down thousands of websites to take down their union&#8217;s website. Serverloft might have just done the same. The Seattle Post-Intelligencer has an article on the takedown of the Yes Men site. I did find an article from straight.com which claims to have the original complaint. The [...]]]></description>
			<content:encoded><![CDATA[<p>(Screenshot snagged from straight.com.)</p>
<p>I remember when Telus shut down thousands of websites to take down their union&#8217;s website. Serverloft might have just done the same. The <a class="zem_slink" title="Seattle Post-Intelligencer" rel="homepage" href="http://seattlepi.nwsource.com/">Seattle Post-Intelligencer</a> has <a href="http://blog.seattlepi.com/seattlepolitics/archives/189467.asp">an article on the takedown of the Yes Men site</a>. I did find an article from straight.com which claims to <a href="http://www.straight.com/article-279430/vancouver/government-canada-sees-yes-mens-copenhagen-hoax-dismantled">have the original complaint</a>. The IP address in the complaint there is the same one that ec-gc.ca is currently hosted on. Ole Tange is the contact for PiWeb listed in the IP address for that whois.</p>
<p><span id="more-644"></span></p>
<p>At first I was convinced that Serverloft did in fact pull the plug on PiWeb&#8217;s netblock. A slashdot comment gave me pause. After all, the message from Mr. Tange is on a website controlled by the Yes Men, and his contact details are publicly available. As of this writing, the PiWeb status page makes <a href="http://translate.google.ca/translate?js=y&amp;prev=_t&amp;hl=en&amp;ie=UTF-8&amp;layout=1&amp;eotf=1&amp;u=http%3A%2F%2Fwww.pi.dk%2Fdriftstatus.php&amp;sl=da&amp;tl=en">no mention of related downtown</a>. Maybe the Yes Men took down their own site as a PR stunt. Here&#8217;s a paste from the disputed website.</p>
<blockquote>
<h1>Website suspended</h1>
<p>Serverloft blocked the IP-range for this server because of the   content of the client&#8217;s website and would only unblock the IP-range   if we suspended the website. The website was used in    <a href="http://theyesmen.org/canada">a spoof by The Yes Men</a>.</p>
<p>Serverloft blocked the IP-range without a warrant and without   calling us and thus affecting servers hosting 4500 of our customers&#8217;   websites until we ourselves discovered the problem, and convinced   Serverloft to unblock. Serverloft <em>did</em> send us an email   explaining that they would not unblock the IP-range until the   websites were taken offline. The email was sent 5 minutes after they   cut of the access to the mail server, so we only received the email   after the 4500 websites were back online.</p>
<p>Convincing Serverloft that their systems had blocked access on   purpose was hard because Serverloft frontline support claimed that   all their systems were working fine and they therefore assumed that   the problem was a configuration problem on our server. They refused   to help troubleshooting the issue.</p>
<p>Serverloft could simply have called us and asked us to deal with the   situation. We would then have asked the Canadians for a warrant. If   the Canadians had shown us a warrant we would have taken down the site   immediately. As others have pointed out the Canadians could probably   just have gone through <a href="http://www.cira.ca/cdrp">CIRA</a> and   have the domain suspended, which would not have affected any of the   other 4500 websites.</p>
<p>As we cannot go through every single page that our customers put on   their websites we anticipate a similar situation may arise again.   We have therefore asked Serverloft to revise their procedures so we   at least would get a phone call before they cut our connection. They   have so far refused to do so. They have answered:</p>
<blockquote><p>your net was blocked because of hosting phishing sites. I&#8217;ve     attached the information, we have, below our signature. I&#8217;m sorry,     but we cant call every costumer for abuse. In some cases we&#8217;ve to     respond very fast and have to block the net or server.</p></blockquote>
<p>While I appreciate Serverloft respond fast, it is no good if the   collateral damage is more than 1000 times as big. Had they called I   am sure we would have found an arrangement that would satisfy both   of us.</p>
<p>For more information: contact Ole Tange   &lt;ole@tange.dk&gt;</p></blockquote>
<p>The only other website I can find running on the listed IP is good-cop15.org, which is also the default vhost for that IP. It&#8217;s a site about the Copenhagen conference and links to the Yes Men hoax. Judging from the reverse lookup on the address it&#8217;s probably a virtual machine, quite possibly run by the Yes Men. It turns out that there is actually a Bruce Moore at CCIRC, but he wasn&#8217;t on duty when I called. Ec-gc.ca isn&#8217;t on any phishing list that I can find so that charge was overblown.</p>
<p>I don&#8217;t particularly like the Yes Men. They go from satire to impersonation. I&#8217;d have loved to see CIRA close down their ec-gc.ca domain but the domain dispute takes a long while. I can understand the letter from the CCIRC. The Yes Men website will do the most damage now, not in the time after CIRA is through with its dispute process. I find it very plausible that the Canadian Government would send such a request.</p>
<p>I also find it very plausible that Serverloft would issue a knee-jerk takedown. It&#8217;s relatively common for service providers to take down material immediately after a complain, especially among low margin resellers. From the WHT opinions, <a href="http://www.webhostingtalk.com/showthread.php?t=748250&amp;highlight=serverloft">it sounds like that fits Serverloft</a>. If that IP address was limited to a virtual machine run by the Yes Men, and Serverloft was okay with risking their reputation by acting on the complaint rather than following up with PiWeb, they could have at least minimized damage by only nullrouting the VM&#8217;s IP address.</p>
<p>There&#8217;s enough negative material on WebHostingTalk that I wouldn&#8217;t want to use Serverloft regardless of the outcome of this case. I&#8217;d like to see some official statement from PiWeb on an official channel before I believe the details though.</p>
<p>Update Jan 2nd 2010: It looks like Ole Tange has updated his personal website with <a href="http://ole.tange.dk/canadian-takedown/timeline">details of the takedown</a>.</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.nationalpost.com/story.html?id=2340101">Yes Men take credit for Canada climate hoax</a> (nationalpost.com)</li>
<li class="zemanta-article-ul-li"><a href="http://yro.slashdot.org/story/09/12/29/1921257/Canadian-Censorship-Takes-Down-4500-Sites?from=rss">Canadian Censorship Takes Down 4500 Sites</a> (yro.slashdot.org)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/6da5685c-21b7-48cd-91d9-931d53ed58e5/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=6da5685c-21b7-48cd-91d9-931d53ed58e5" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=K8mHXIprmJY:-yz3JNMjgBA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=K8mHXIprmJY:-yz3JNMjgBA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=K8mHXIprmJY:-yz3JNMjgBA:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/K8mHXIprmJY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/internet/the-ec-gc-spoof-is-toast-whodunnit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/internet/the-ec-gc-spoof-is-toast-whodunnit/</feedburner:origLink></item>
		<item>
		<title>Block printing at the hacklab</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/DdgQonNOHVI/</link>
		<comments>http://imaddicted.ca/technology/block-printing-at-the-hacklab/#comments</comments>
		<pubDate>Sat, 05 Dec 2009 21:00:23 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[Featured Articles]]></category>
		<category><![CDATA[technology]]></category>
		<category><![CDATA[Artistic Printing]]></category>
		<category><![CDATA[hacklabto]]></category>
		<category><![CDATA[Laser etcher]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[Publishing and Printing]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=603</guid>
		<description><![CDATA[Alex is here to lead us in a print workshop. My previous printing experiment failed with intaglio style printing. I meant to try imitation letterpress but didn&#8217;t get around to it. Alex is showing us block printing and she knows what she&#8217;s doing. Here I try to liveblog what she&#8217;s doing. It&#8217;s not going to [...]]]></description>
			<content:encoded><![CDATA[<p>Alex is here to lead us in a print workshop. My previous <a class="zem_slink" title="Printing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Printing">printing</a> experiment failed with intaglio style printing. I meant to try imitation letterpress but didn&#8217;t get around to it. Alex is showing us block printing and she knows what she&#8217;s doing. Here I try to liveblog what she&#8217;s doing. It&#8217;s not going to be complete so you&#8217;ll want to watch the video too, and probably <a href="http://www.instructables.com/tag/?q=block+printing&amp;limit%3Atype%3Aid=on&amp;type%3Aid=on&amp;type%3Auser=on&amp;type%3Acomment=on&amp;type%3Agroup=on&amp;type%3AforumTopic=on&amp;type%3AforumTopic=on&amp;sort=none">search for block printing on instructables</a>.</p>
<p><a href="http://imaddicted.ca/wp-content/PC290107.jpg"><img class="alignright size-thumbnail wp-image-610" title="PC290107" src="http://imaddicted.ca/wp-content/PC290107-150x112.jpg" alt="PC290107" width="150" height="112" /></a>You can see her laying down markings in pencil. The marks are slightly bigger than the blocks we&#8217;ll be using. After she marks them, she uses a syringe to lay out drops of water along the lines. You can see in the photo that the water is beading. She fixes that by scoring over the lines so the water can absorb. After that, she can tear.</p>
<p><span id="more-603"></span></p>
<p>Once the paper is torn up she tosses them into a flat tupperware container that&#8217;s filled with water. Note that this paper actually has cotton in it, it&#8217;s not entirely wood pulp like printer paper. You soak it to get the sizing out, which is a starchy glue thing that keeps it stiff. Warm water works best for this. With that out you can use less force in order to press the paper and leave the indent, also known as the &#8220;kiss&#8221; of the block. The water also resists the oil so you get a cleaner print.</p>
<div id="attachment_619" class="wp-caption alignleft" style="width: 160px"><a href="http://imaddicted.ca/wp-content/PC290113.jpg"><img class="size-thumbnail wp-image-619" title="Extender onto the paint" src="http://imaddicted.ca/wp-content/PC290113-150x112.jpg" alt="The extender looks like runny caulk" width="150" height="112" /></a><p class="wp-caption-text">The extender looks like runny caulk</p></div>
<p>Now, she mixes the paint. Some tips: You don&#8217;t need printer&#8217;s ink, and you don&#8217;t need to use paint thinner or <a class="zem_slink" title="Mineral spirits" rel="wikipedia" href="http://en.wikipedia.org/wiki/Mineral_spirits">mineral spirits</a> to clean up. In fact paint thinner or mineral spirits in the kitchen is a bad idea unless you want to be poisoned to death. We&#8217;re using oil based paint with an extender. It&#8217;s cheap. To clean up we&#8217;re using tough-on-grease palmolive. It&#8217;s also cheap. Also note that we&#8217;re using a dye based paint, not powder in an oil suspension. You can&#8217;t mix the two.  After that we&#8217;re using corn oil as a cheap alternative to printer&#8217;s medium. You might notice that cheap is a theme here. Mix and scrape and tweak to get the desired viscosity. Once that&#8217;s done it&#8217;s time to ink.</p>
<p>The next segments I&#8217;ve conveniently got available in video form! Apologies for the shakycam and poor framing. They were taken on impulse using my point and shoot camera. If we do another workshop we&#8217;ll bring a real video camera.</p>
<div id="attachment_621" class="wp-caption alignright" style="width: 160px"><a href="http://imaddicted.ca/wp-content/PC290115.jpg"><img class="size-thumbnail wp-image-621 " title="Rolling the ink" src="http://imaddicted.ca/wp-content/PC290115-150x112.jpg" alt="Lucite roller used to ink the mandelbrot block" width="150" height="112" /></a><p class="wp-caption-text">Lucite roller used to ink the mandelbrot block</p></div>
<p>It&#8217;s best to use a roller than can go over the entire block at once and take as much time as you need for this part. Alex takes her time here, explaining that a lucite roller works, or you can use a rubber one. She explains that attention to detail is probably the most important part. You will get some ink splatter away from the raised edges. Leave that for a photocopier-like effect. She thinks that&#8217;s cool, like an underground zine. Sponge it off if you want it to look perfect. Not for Alex, though. If she wants perfect she uses a laser printer. It looks like this is where you get creative and can decide things like if you want to ink the edges of the block so that you get a border when you&#8217;re pressing down with the barren.</p>
<p>Finally, we&#8217;re ready to do the actual pressing. Alex takes some paper out of the soak tank and blots it from both sides with a towel. She leaves it damp. She lays the paper on the inked block, then takes her time and presses it with the barren several times with even of a pressure. Watch the end of the first video for a better explanation of what to do.</p>
<p>Alex demonstrates this in the <a href="http://www.youtube.com/watch?v=pudWo4ubE7M">first video using a laser etched wood block</a>. The second part we do the same thing but <a href="http://www.youtube.com/watch?v=Q3WrL23kSac">using a laser etched acrylic block</a>. The <a href="http://www.youtube.com/watch?v=omuyiSDTnlI">last video explains cleanup</a>.</p>
<p>Cleanup without the solvents involves a lot of scraping. Alex would first scrape off most of the ink onto tin foil if she wants to use it later, but this time she uses newsprint since it&#8217;s going to be thrown out. Eventually she just can&#8217;t scrape off any more and she&#8217;s left with a fine film. She pours on some corn oil. This dilutes the oil paint and lets her spread it around again. She can polishes it off using crumpled newsprint. After that, she uses grease busting dish soap to clean the remnants off.</p>
<p>All of this is very cheap to do. The tube of extender cost $45 and is the most expensive part. The barren was ten to fifteen dollars at any art store. The lucite roller was about twenty dollars. The tube we used here is still more than a third full and it&#8217;s been used for seven years. The oil pant you can find on sales for cheap. The spreaders come in three and six packs from hardware stores and cost only a couple bucks. Best of all, this all can be done in a kitchen, just like the video shows.</p>
<p>Whew. And that&#8217;s the end of the liveblog attempt. Take a look at <a href="http://www.flickr.com/photos/derspiny/sets/72157622817585163/">Owen&#8217;s photo set on flickr</a> and my gallery below. I have photos for the first few steps which Owen missed, and he&#8217;s got photos that I couldn&#8217;t take while I was recording video.</p>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290100/' title='PC290100'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290100-150x112.jpg" class="attachment-thumbnail" alt="PC290100" title="PC290100" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290101/' title='PC290101'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290101-150x112.jpg" class="attachment-thumbnail" alt="Laying down cut lines" title="PC290101" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290102/' title='PC290102'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290102-150x112.jpg" class="attachment-thumbnail" alt="PC290102" title="PC290102" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290103/' title='PC290103'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290103-150x112.jpg" class="attachment-thumbnail" alt="PC290103" title="PC290103" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290105/' title='PC290105'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290105-150x112.jpg" class="attachment-thumbnail" alt="PC290105" title="PC290105" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290106/' title='PC290106'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290106-150x112.jpg" class="attachment-thumbnail" alt="PC290106" title="PC290106" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290107/' title='PC290107'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290107-150x112.jpg" class="attachment-thumbnail" alt="PC290107" title="PC290107" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290108/' title='PC290108'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290108-150x112.jpg" class="attachment-thumbnail" alt="PC290108" title="PC290108" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290109/' title='PC290109'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290109-150x112.jpg" class="attachment-thumbnail" alt="PC290109" title="PC290109" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290110/' title='PC290110'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290110-150x112.jpg" class="attachment-thumbnail" alt="PC290110" title="PC290110" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290111/' title='Mixing the ink'><img width="112" height="150" src="http://imaddicted.ca/wp-content/PC290111-112x150.jpg" class="attachment-thumbnail" alt="This is actually oil based paint" title="Mixing the ink" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290112/' title='Mixing the ink'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290112-150x112.jpg" class="attachment-thumbnail" alt="Mixing the ink" title="Mixing the ink" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290113/' title='Extender onto the paint'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290113-150x112.jpg" class="attachment-thumbnail" alt="The extender looks like runny caulk" title="Extender onto the paint" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290115/' title='Rolling the ink'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290115-150x112.jpg" class="attachment-thumbnail" alt="Lucite roller used to ink the mandelbrot block" title="Rolling the ink" /></a>
<a href='http://imaddicted.ca/technology/block-printing-at-the-hacklab/attachment/pc290116/' title='Blue inked glass'><img width="150" height="112" src="http://imaddicted.ca/wp-content/PC290116-150x112.jpg" class="attachment-thumbnail" alt="This is the glass where we mixed the ink." title="Blue inked glass" /></a>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/f5ab5c92-1924-42da-8e4c-064a78df8f7d/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=f5ab5c92-1924-42da-8e4c-064a78df8f7d" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=DdgQonNOHVI:zeQd0jIM3is:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=DdgQonNOHVI:zeQd0jIM3is:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=DdgQonNOHVI:zeQd0jIM3is:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/DdgQonNOHVI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/technology/block-printing-at-the-hacklab/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/technology/block-printing-at-the-hacklab/</feedburner:origLink></item>
		<item>
		<title>Worthwhile vim tips</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/RVRFmX0_tqI/</link>
		<comments>http://imaddicted.ca/dev/worthwhile-vim-tips/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 07:12:46 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[dev]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=594</guid>
		<description><![CDATA[David Wolever is the man who made me productive in vim. Not from the ground up, mind you. I already knew the basics from my internship like how to swap between modes. I&#8217;d internalized that each string of keystrokes forms a command with a verb[0] and, if applicable, movement keys. It was enough to use [...]]]></description>
			<content:encoded><![CDATA[<p>David Wolever is the man who made me productive in vim. Not from the ground up, mind you. I already knew the basics from my internship like how to swap between modes. I&#8217;d internalized that each string of keystrokes forms a command with a verb<sup>[0]</sup> and, if applicable, movement keys. It was enough to use as a lowest common denominator if I had to edit a configuration file on a server but I was fooling myself by thinking I knew enough to use it as a <a class="zem_slink" title="Integrated development environment" rel="wikipedia" href="http://en.wikipedia.org/wiki/Integrated_development_environment">development environment</a>.</p>
<p>Here he puts into writing <a href="http://blog.codekills.net/archives/63-You-and-Your-Editor-The-Bare-Minimum-You-Should-Be-Doing-1-of-N.html">the same tips he gave me last year</a> when taking an operating systems course together. (It was the first time I had to use vim on a project of a considerable size.)<span id="more-594"></span></p>
<blockquote>
<div><span> </span></p>
<div>
<p>It&#8217;s come up a few times, so I&#8217;ll just go and post it here: the things, in no particular order, I believe to be the bare minimum you should be able to do while you&#8217;re editing source code (and how to do them in Vim): [Easily move between files, jump-to-definition, and search for/highlight the current word.]</p></div>
</div>
</blockquote>
<p>The first two tips on movement between files, and jumping to function definitions are the most important and have turned vim from small project editor (like, oh, university assignments excepting the operating systems course) to an editor that I can use on moderately sized projects. It doesn&#8217;t take that much practice to use the :tag command but I still fumble when using the hjkl movement keys. David was right to encourage me to use them over the arrow keys, though, as it&#8217;s the convention used in just about all of the vim commands.</p>
<p>In the same spirit here&#8217;s a couple things that I wish someone told me about while I was still an intern, using vim to edit config files because it was the only thing available on those Solaris boxes. They&#8217;re basic where David&#8217;s tips are intermediate, but they&#8217;re also essential:</p>
<h3>Know your movement keys</h3>
<p>And not just hjkl or the arrow keys. Vim likes to have upper and lowercase characters mean different things but it doesn&#8217;t always hold in the case of movement keys. Know that &#8220;b&#8221; goes to the beginning of a word and &#8220;e&#8221; goes to the end of the word. Meanwhile, &#8220;g&#8221; goes to the beginning of the document and &#8220;G&#8221; goes to the end of the document. These can be combined with commands like delete. The [t]ill movement key is especially helpful there, and I often find myself typing &#8220;dt(&#8221; which means &#8220;delete until the ( character.&#8221; Lastly, you can easily jump to a specific line number mentioned in the trace by prefixing it with a colon, so skip to line 13 with :13.</p>
<h3>Use set</h3>
<p>Even today half the time that I use vim it&#8217;s on someone else&#8217;s machine. The easiest way to turn on line numbering is to type &#8220;:set number&#8221; which will toggle it on. To toggle it off you use &#8220;:set nonumber&#8221;. There&#8217;s no meddling with someone&#8217;s .vimrc this way and it won&#8217;t persist, so no worries about upsetting anyone&#8217;s preferences.</p>
<p>Similarly, you can use set to change values of settings, like change the tabstop to five spaces with &#8220;:set tabstop=5&#8243;. This is especially useful when editing someone else&#8217;s python files where they use a different tabstop than you, and you don&#8217;t want to permanently change your tabstop but just want to edit their file.</p>
<h3>String search and replace</h3>
<p>Okay, now you&#8217;ve got line numbering on, so you can do a search and replace. It works based on the string search and replace regular expression. You have to specify a range, but there&#8217;s a convenient shorthand for a range of the entire file.</p>
<p>For lines 5-15 inclusive, you can replace &#8220;fizz&#8221; with &#8220;buzz&#8221; by:</p>
<p>:5,15 s/fizz/buzz/g</p>
<p>And to replace fizz with buzz on the entire file, use:</p>
<p>:% s/fizz/buzz/g</p>
<p>Using the regular expression here can be quite powerful, so if you&#8217;re not aware then I suggest you read up on it. If not, know that the s denotes string search and replace, the first thing between the slashes (fizz) is what you&#8217;re replacing, the second (buzz) is what you&#8217;re replacing it with, and the &#8220;g&#8221; means that you&#8217;re doing a &#8220;replace all.&#8221; Remove the trailing &#8220;g&#8221; if you only want to replace the first instance from the cursor.</p>
<p>And it&#8217;s not related to vim, but you can do a string search and replace on several files by using a command similar to:</p>
<p>perl -pi -e &#8220;s/string_to_replace/string_to_replace_with/g&#8221; *.conf</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://zzzoot.blogspot.com/2009/07/emacs-mode-and-learning-modes.html">Emacs &#8216;mode&#8217; and learning `modes`</a> (zzzoot.blogspot.com)</li>
</ul>
<p><sup>[0]</sup> Wincent.com has <a href="https://wincent.com/blog/10-minutes-with-vim">a writeup that includes similar observations</a>, and contrasts to <a class="zem_slink" title="Emacs" rel="homepage" href="http://www.gnu.org/software/emacs/">Emacs</a>.</p>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/1768ccac-669c-4e64-a95e-a5e7b975a90c/"><img class="zemanta-pixie-img" style="border: medium none ; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=1768ccac-669c-4e64-a95e-a5e7b975a90c" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=RVRFmX0_tqI:f5_3Bml53vY:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=RVRFmX0_tqI:f5_3Bml53vY:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=RVRFmX0_tqI:f5_3Bml53vY:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/RVRFmX0_tqI" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/dev/worthwhile-vim-tips/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/dev/worthwhile-vim-tips/</feedburner:origLink></item>
		<item>
		<title>Fooling around with Wave</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/R0OGwAJqKwY/</link>
		<comments>http://imaddicted.ca/web/fooling-around-with-wave/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 03:09:08 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[LaTeX]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=589</guid>
		<description><![CDATA[I&#8217;ve received two e-mails from Google today. They&#8217;re both regarding Wave. First, there&#8217;s the e-mail saying that my name was put forth by a Googler (thank you to the chap from #hacklabto, you know who you are) for a developer sandbox account and please fill out this form with your desired usernames. The next was [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve received two e-mails from Google today. They&#8217;re both regarding Wave. First, there&#8217;s the e-mail saying that my name was put forth by a Googler (thank you to the chap from #hacklabto, you know who you are) for a developer sandbox account and please fill out this form with your desired usernames. The next was saying that I was accepted into the preview. Sorry, my invites are already spoken for.</p>
<p>After a bit of play with Wave my first instinct is that it&#8217;ll be great for collaborating on taking class notes. The problem is that most of my class notes involve pretty big formulas. The solution? I&#8217;m writing a gadget that takes in <a class="zem_slink" title="LaTeX" rel="wikipedia" href="http://en.wikipedia.org/wiki/LaTeX">LaTeX</a> code and returns a PNG suitable as a blip. I&#8217;ll be using <a href="http://www.mayer.dial.pipex.com/tex.htm#latexrender">LatexRender</a> for that part. The downside that I can immediately see is that most of my lecture halls don&#8217;t have wifi signal, but maybe releasing the gadget will be useful to someone out there.</p>
<p><span id="more-589"></span></p>
<p>I don&#8217;t yet have my developer sandbox account but I&#8217;m working with the <a href="http://code.google.com/apis/wave/extensions/gadgets/guide.html">Wave gadgets tutorial</a>. It looks like an AJAX-enabled textbox will do the trick. The state handler will check if there&#8217;s a pre-rendered PNG; if so it&#8217;ll display that, and if not it&#8217;ll query the PHP script. I&#8217;m hoping that I&#8217;ll be able to instead replace the gadget with the static PNG render once the editing of the Wave is done but I haven&#8217;t discovered the hook for that yet. I also hope that the state handler will be called immediately after init, and I think that&#8217;s the case, but judging from the documentation I&#8217;m not entirely sure.</p>
<p>I&#8217;m hoping to have a simple version of the gadget that just takes LaTeX within two weeks of getting my sandbox. The pipe dream feature would be a WYSIWYG editor that outputs LaTeX, so for the foreseeable future I&#8217;ll just be copying and pasting from LyX.</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.techcrunch.com/2009/10/09/google-wave-is-easier-to-understand-than/">Google Wave Is Easier To Understand Than&#8230;</a> (techcrunch.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.techcrunch.com/2009/10/13/google-waves-little-secret-it-already-works-on-the-iphone/">Google Wave&#8217;s Little Secret: It Already Works On The iPhone</a> (techcrunch.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.techcrunch.com/2009/09/30/google-wave-there-will-be-backlash/">Google Wave: There Will Be Backlash</a> (techcrunch.com)</li>
<li class="zemanta-article-ul-li"><a href="http://www.jeffisageek.net/blog/2009/09/29/google-wave-wednesday/">Google Wave Wednesday</a> (jeffisageek.net)</li>
<li class="zemanta-article-ul-li"><a href="http://jessenewhart.com/google/why-you-havent-got-you-google-wave-invite-yet/">Why You Haven&#8217;t Got You Google Wave Invite Yet</a> (jessenewhart.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/bc744816-48c5-41be-b41b-185275878275/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=bc744816-48c5-41be-b41b-185275878275" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=R0OGwAJqKwY:RTIRf19JIxA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=R0OGwAJqKwY:RTIRf19JIxA:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=R0OGwAJqKwY:RTIRf19JIxA:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/R0OGwAJqKwY" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/web/fooling-around-with-wave/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/web/fooling-around-with-wave/</feedburner:origLink></item>
		<item>
		<title>An experiment in printing</title>
		<link>http://feedproxy.google.com/~r/imaddicted/~3/DSmg7tI_F8g/</link>
		<comments>http://imaddicted.ca/technology/an-experiment-in-printing/#comments</comments>
		<pubDate>Wed, 07 Oct 2009 07:06:09 +0000</pubDate>
		<dc:creator>lance_</dc:creator>
				<category><![CDATA[technology]]></category>
		<category><![CDATA[Etching]]></category>
		<category><![CDATA[hacklab]]></category>
		<category><![CDATA[Laser]]></category>
		<category><![CDATA[Letterpress printing]]></category>
		<category><![CDATA[Printing]]></category>
		<category><![CDATA[Publishing and Printing]]></category>
		<guid isPermaLink="false">http://imaddicted.ca/?p=584</guid>
		<description><![CDATA[I was sitting in my book history lecture and looking at a picture of a compositor putting his type into a galley. Later, we watched a video of John Kristensen talking up letterpress. It shows him laying out illumination by hand. It also shows his linotype, but he still spent a fair bit of time [...]]]></description>
			<content:encoded><![CDATA[<p>I was sitting in my book history lecture and looking at a picture of a <a title="Compositing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Typesetting">compositor</a> putting his type into a galley. Later, we watched a <a href="http://www.youtube.com/watch?v=Iv69kB_e9KY">video of John Kristensen talking up letterpress</a>. It shows him laying out illumination by hand. It also shows his <a href="http://en.wikipedia.org/wiki/Linotype_machine">linotype</a>, but he still spent a fair bit of time laying out type.</p>
<p>John got me interested in letterpress. I don&#8217;t think I&#8217;ve seen a letterpress book in person yet, and though I have opportunity to in the Fisher Rare Book Library, I figured it&#8217;d be more fun to make my own little booklet. I don&#8217;t have a linotype, but I do have access to a 500 dpi laser etcher. I&#8217;m sure it won&#8217;t meet John&#8217;s standards but I&#8217;ve decided to attempt to make a couple printing plates out of acrylic.</p>
<p><span id="more-584"></span></p>
<p>Book history buffs might immediately think of <a href="http://en.wikipedia.org/wiki/Intaglio_%28printmaking%29">intaglio printing</a>. While it&#8217;d be easier to etch the forms for intaglio printing, I&#8217;m a bit worried that it&#8217;ll be a lot harder in the long run. It&#8217;ll certainly mean I&#8217;ve got more work since I need to clean excess ink off the plate. I&#8217;m not sure if it works with straight-down pressure rather than a roller and, if it does, it looks like it&#8217;ll need more than your standard <a class="zem_slink" title="Movable type" rel="wikipedia" href="http://en.wikipedia.org/wiki/Movable_type">movable type</a> press. I think a roller is more likely to break off parts of the acrylic than pressing right down; pieces like the circle inside an engraved &#8220;a&#8221; would be easy to snap. The worst part is it&#8217;s impossible to accurately control the depth of the cut in our laser etcher, there might be a problem with the grooves or maybe it&#8217;ll be too deep or too shallow.</p>
<p>Instead I&#8217;ll try to carve out the equivalent to a movable type form, burning down the majority of the acrylic. The downside here is running the laser that long. A single plate will take ages, and I worry about the heat and exhaust. There&#8217;s still a chance that the acrylic will just break when put through the press.</p>
<p>I&#8217;m going to make a small plate for each type of printing and give it a go before I make what&#8217;ll likely be a pair of plates for a quarto print.</p>
<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://www.weprintcolor.com/paper-and-ink/paper-ink-summary.php">Ink and Paper- A Pressman&#8217;s Perspective</a> (weprintcolor.com)</li>
<li class="zemanta-article-ul-li"><a href="http://stirrup-queens.blogspot.com/2009/09/in-valley-of-etchers-one-armed-man-is.html">In the Valley of the Etchers, the One Armed Man is King</a> (stirrup-queens.blogspot.com)</li>
</ul>
<div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/007438b8-326c-45bb-b3b9-48b56b5b6693/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://img.zemanta.com/reblog_c.png?x-id=007438b8-326c-45bb-b3b9-48b56b5b6693" alt="Reblog this post [with Zemanta]" /></a><span class="zem-script more-related pretty-attribution"><script src="http://static.zemanta.com/readside/loader.js" type="text/javascript"></script></span></div>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save"><img src="http://imaddicted.ca/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p><div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/imaddicted?a=DSmg7tI_F8g:8xCuyCctfAs:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/imaddicted?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/imaddicted?a=DSmg7tI_F8g:8xCuyCctfAs:D7DqB2pKExk"><img src="http://feeds.feedburner.com/~ff/imaddicted?i=DSmg7tI_F8g:8xCuyCctfAs:D7DqB2pKExk" border="0"></img></a>
</div><img src="http://feeds.feedburner.com/~r/imaddicted/~4/DSmg7tI_F8g" height="1" width="1"/>]]></content:encoded>
			<wfw:commentRss>http://imaddicted.ca/technology/an-experiment-in-printing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://imaddicted.ca/technology/an-experiment-in-printing/</feedburner:origLink></item>
	</channel>
</rss>
