<?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>MikeLin.ca &#187; Software</title>
	<atom:link href="http://www.mikelin.ca/blog/category/tech/software/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mikelin.ca/blog</link>
	<description>The Blog Lives</description>
	<lastBuildDate>Wed, 06 Oct 2010 18:04:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>Toronto Bike Map</title>
		<link>http://www.mikelin.ca/blog/2010/07/toronto-bike-map/</link>
		<comments>http://www.mikelin.ca/blog/2010/07/toronto-bike-map/#comments</comments>
		<pubDate>Wed, 28 Jul 2010 15:14:50 +0000</pubDate>
		<dc:creator>Mike Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Toronto]]></category>

		<guid isPermaLink="false">http://www.mikelin.ca/blog/?p=229</guid>
		<description><![CDATA[My new iPhone app is out: Toronto Bike Map It&#8217;s made using Toronto&#8217;s new bikeways data set that was released on July 15th. I completely didn&#8217;t realize this when I decided to make the app over the weekend of July 17th-18th. I just googled for it, found the data, and made the app! I don&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>My new iPhone app is out:<br />
<a href="http://itunes.apple.com/us/app/toronto-bike-map/id383032026?mt=8#">Toronto Bike Map</a><br />
<a href="http://itunes.apple.com/us/app/toronto-bike-map/id383032026?mt=8#"><img src="http://www.mikelin.ca/blog/wp-content/uploads/2010/07/toronto-bike-map.jpg" alt="" title="toronto-bike-map" width="335" height="495" class="alignnone size-full wp-image-234" /></a></p>
<p>It&#8217;s made using Toronto&#8217;s new <a href="http://www.toronto.ca/open/datasets/bikeways/">bikeways data set</a> that was released on July 15th. I completely didn&#8217;t realize this when I decided to make the app over the weekend of July 17th-18th. I just googled for it, found the data, and made the app! I don&#8217;t think I&#8217;ve ever been so timely in my life <img src='http://www.mikelin.ca/blog/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>With the help of some twitterers It&#8217;s been getting some <a href="http://twitter.com/#search?q=Toronto%20Bike%20Map">decent buzz</a> and it even got posted on <a href="http://torontoist.com/2010/07/extra_extra_47.php">Torontoist</a>! Unlike my <a href="http://www.b-rhymes.com/iphone/">last app</a>, which has potential users throughout the English speaking world, this one targets iPhone owners, in Toronto that also bike. With such a small demographic I&#8217;m reasonably pleased with the 160 downloads in the first day.</p>
<p>A confession to make. There were supposed to be ads on it. Feeling adventurous I tried to incorporate iAd, Apple&#8217;s new ad network, but it turns out they aren&#8217;t serving ads for Canada yet, so the app is currently ad free. I may switch to another ad network in the future.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikelin.ca/blog/2010/07/toronto-bike-map/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>iPhone: Splitting images into tiles for faster loading with ImageMagick</title>
		<link>http://www.mikelin.ca/blog/2010/06/iphone-splitting-image-into-tiles-for-faster-loading-with-imagemagick/</link>
		<comments>http://www.mikelin.ca/blog/2010/06/iphone-splitting-image-into-tiles-for-faster-loading-with-imagemagick/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 01:19:29 +0000</pubDate>
		<dc:creator>Mike Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://www.mikelin.ca/blog/?p=206</guid>
		<description><![CDATA[iPhone developers! I found an easy and automated way to cut an image up into tiles at different zoom scales for the purpose of UIScrollView image tiling as shown in Apple&#8217;s ScrollViewSuite sample code! Just get imageMagick, a command line image editor you can get from MacPorts. I made a bash script to automatically resize [...]]]></description>
			<content:encoded><![CDATA[<p>iPhone developers! I found an easy and automated way to cut an image up into tiles at different zoom scales for the purpose of UIScrollView image tiling as shown in Apple&#8217;s <a href="http://developer.apple.com/iphone/library/samplecode/ScrollViewSuite/Introduction/Intro.html">ScrollViewSuite</a> sample code!</p>
<p>Just get imageMagick, a command line image editor you can get from MacPorts. I made a bash script to automatically resize and tile at 100%, 50% and 25% resolutions.</p>
<p>tile.sh:<br />
<code>#!/bin/bash<br />
file=$1<br />
function tile() {<br />
convert $file -scale ${s}%x -crop 256x256 \<br />
    -set filename:tile "%[fx:page.x/256]_%[fx:page.y/256]" \<br />
    +repage +adjoin "${file%.*}_${s}_%[filename:tile].${file#*.}"<br />
}<br />
s=100<br />
tile<br />
s=50<br />
tile<br />
s=25<br />
tile</code></p>
<p>If you run: <code>tile.sh bigimage.jpg</code> it&#8217;ll dump out 256&#215;256 sized tiles called bigimage_100_0_0.jpg, bigimage_100_0_1.jpg etc for each tile at 100% scale, as well as bigimage_50_0_0.jpg et al at 50% scale etc.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikelin.ca/blog/2010/06/iphone-splitting-image-into-tiles-for-faster-loading-with-imagemagick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adapting to MacBook</title>
		<link>http://www.mikelin.ca/blog/2009/12/adapting-to-macbook/</link>
		<comments>http://www.mikelin.ca/blog/2009/12/adapting-to-macbook/#comments</comments>
		<pubDate>Fri, 18 Dec 2009 19:11:28 +0000</pubDate>
		<dc:creator>Mike Lin</dc:creator>
				<category><![CDATA[Mac]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.mikelin.ca/blog/?p=187</guid>
		<description><![CDATA[I&#8217;m a long time Windows and Linux user. I&#8217;ve been on XP for the last 3 years, with linux virtual machines (VMs), and before that it was Ubuntu Linux for 2 years with an XP VM, and before that XP again. Anyway, just got a MacBook, and thought for myself and others I&#8217;d list the [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m a long time Windows and Linux user. I&#8217;ve been on XP for the last 3 years, with linux virtual machines (VMs), and before that it was Ubuntu Linux for 2 years with an XP VM, and before that XP again. Anyway, just got a MacBook, and thought for myself and others I&#8217;d list the customizations to make me comfortable, based on my background:</p>
<p><a href="http://www5e.biglobe.ne.jp/~arcana/StartupSound/BETA/index.en.html"><strong>Turn off startup sound.</strong></a> Unlikely to reboot often, but when I do I know it&#8217;ll be in a library or other public place. I don&#8217;t want people to shush me.</p>
<p><strong>No disk activity light</strong>, and the SSD I got is silent, so I can&#8217;t tell if it&#8217;s active. It&#8217;s useful to know when your disk is active so you can tell when you&#8217;re out of memory. <a href="http://www.ragingmenace.com/software/menumeters/index.html">MenuMeters</a> puts disk and cpu etc indicators in the menu bar (systray).</p>
<p><strong>No forward delete?!</strong> remap right option key to forward delete with <a href="http://pqrs.org/macosx/keyremap4macbook/ ">keyremap4macbook</a>.</p>
<p><strong>Eject key is kind of useless.</strong> Remap that also to forward delete with same (I really like forward delete).</p>
<p><strong>Caps Lock -&gt; Command</strong> in keyboard prefs. The 2 most accessible modifier keys are now both command. This isn&#8217;t ideal. I&#8217;d rather have one be command and one be alt, but I tried that and it messes up other things.</p>
<p><a href="http://www.entropy.ch/software/applescript/ ">OpenTerminalHere</a>. It&#8217;s like Open Command Prompt here on Windows.</p>
<p><strong>Change fonts</strong> in terminal and dev to <a href="http://dejavu-fonts.org/wiki/index.php?title=Download">Dejavu sans mono</a>. I just like it better ok?</p>
<p>Tried and failed to find a way to make firefox fullscreen.</p>
<p><a href="http://quicksilver.en.softonic.com/">QuickSilver</a>. It&#8217;s like command line on the desktop. Like <a href="http://www.launchy.net/">Launchy</a> on Windows.</p>
<p>I still miss pageup/pagedown and an accessible alt key. Also, I&#8217;ve lost a few of my favourite Eclipse hotkeys, and of course I need more VMs than ever, but I think with a little tenacity I&#8217;ll make it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikelin.ca/blog/2009/12/adapting-to-macbook/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Firefox Smart Keywords</title>
		<link>http://www.mikelin.ca/blog/2006/12/firefox-smart-keywords/</link>
		<comments>http://www.mikelin.ca/blog/2006/12/firefox-smart-keywords/#comments</comments>
		<pubDate>Wed, 06 Dec 2006 07:14:46 +0000</pubDate>
		<dc:creator>Mike Lin</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Tech]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://192.168.126.128/blog/?p=82</guid>
		<description><![CDATA[Firefox&#8217;s smart keywords are amazingly useful. Using smart keywords as described in the link, you can make it so that if you type &#8216;d nonplussed&#8217; into Firefox&#8217;s address bar to do a lookup in your favourite dictionary site, or &#8216;th nonplussed&#8217; for a thesaurus lookup, or &#8216;wp nonplussed&#8217; for a Wikipedia lookup etc. Combine this [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.mozilla.org/products/firefox/smart-keywords.html">Firefox&#8217;s smart keywords</a> are amazingly useful.</p>
<p>Using smart keywords as described in the link, you can make it so that if you type &#8216;d nonplussed&#8217; into Firefox&#8217;s address bar to do a lookup in your favourite dictionary site, or &#8216;th nonplussed&#8217; for a thesaurus lookup, or &#8216;wp nonplussed&#8217; for a Wikipedia lookup etc. Combine this with the alt-d hotkey to move the cursor to the address bar, and you can lookup an unfamiliar word in literally 2 seconds, which means you&#8217;re way more likely to do it. After using it for a while, you&#8217;ll be saying more really big words, which among other things is totally sexy.</p>
<p>&#8230; although they say it&#8217;s not the size of your vocabulary that matters, it&#8217;s how you use it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.mikelin.ca/blog/2006/12/firefox-smart-keywords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
