<?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>Angus Thinks...</title>
	<atom:link href="http://www.malcolmhardie.com/weblogs/angus/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.malcolmhardie.com/weblogs/angus</link>
	<description>SQLEditor for Mac OS X, Life and general thoughts</description>
	<lastBuildDate>Fri, 26 Apr 2013 11:03:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>New SQLEditor database connection panel</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2013/04/26/new-sqleditor-database-connection-panel/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2013/04/26/new-sqleditor-database-connection-panel/#comments</comments>
		<pubDate>Fri, 26 Apr 2013 11:03:29 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=955</guid>
		<description><![CDATA[The database connection setup panel in SQLEditor has been something I&#8217;ve been hoping to improve for a while. This is the first attempt at a redesign: &#160; The connections are now listed in a collapsable sidebar and can be both added and &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2013/04/26/new-sqleditor-database-connection-panel/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>The database connection setup panel in SQLEditor has been something I&#8217;ve been hoping to improve for a while.</p>
<p>This is the first attempt at a redesign:</p>
<p><a href="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2013/04/sqleditor-new-db.png"><img class="alignnone size-full wp-image-956" alt="sqleditor-new-db" src="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2013/04/sqleditor-new-db.png" width="607" height="590" /></a></p>
<p>&nbsp;</p>
<p>The connections are now listed in a collapsable sidebar and can be both added and removed. You can also edit the connection in the main area. Changes are automatically saved.</p>
<p>It&#8217;s not ready yet, but it may appear sometime soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2013/04/26/new-sqleditor-database-connection-panel/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQLEditor, SVG and Cocoa</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2013/04/16/sqleditor-svg-and-cocoa/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2013/04/16/sqleditor-svg-and-cocoa/#comments</comments>
		<pubDate>Tue, 16 Apr 2013 14:28:20 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[SQLEditor]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=939</guid>
		<description><![CDATA[One of the new features in the latest SQLEditor 2.1 beta release  (v2.1.0b2, about 5.7MB) is SVG export. This allows you to create a diagram in SQLEditor and then export it to SVG format. SVG format is a vector diagram format &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2013/04/16/sqleditor-svg-and-cocoa/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>One of the new features in the latest <a href="http://www.malcolmhardie.com/sqleditor/releases/2.1.0b2/SQLEditor-2-1-0b2.zip">SQLEditor 2.1 beta release</a>  (v2.1.0b2, about 5.7MB) is SVG export. This allows you to create a diagram in SQLEditor and then export it to SVG format.</p>
<p>SVG format is a vector diagram format that can be rendered by many web browsers or edited in vector drawing programs like Inkscape.</p>
<p>Here is an embedded svg file:</p>
<p><a href="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2013/04/viewbox.svg"><img class="alignnone size-full wp-image-942" alt="viewbox" src="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2013/04/viewbox.svg" /></a></p>
<p>&nbsp;</p>
<p>The neat thing is that if the image gets scaled it should scale fairly cleanly.<br />
(The lines get a bit fuzzy due to the anti-aliasing)</p>
<p><a href="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2013/04/viewbox.svg"><img alt="viewbox" src="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2013/04/viewbox.svg" width="304" height="92" /></a></p>
<p>&nbsp;</p>
<p>Click on the image and you should see the file displayed full size (no separate preview image!)</p>
<p>This should work in Chrome, Safari and Firefox. There are currently some issues with Opera which doesn&#8217;t draw the text. I think this is an error in the SQLEditor export code somewhere because I have some early test versions that do work in Opera.</p>
<p>I haven&#8217;t tested this with Internet Explorer, but SVG is apparently supported in v9.</p>
<p>I&#8217;m still fine tuning the details on this, the examples on this page were tweaked to include a defined view port so that they clip properly and don&#8217;t include a lot of white space. This should get done during the export in the next release.</p>
<p>I&#8217;m hoping to write another post about how SQLEditor is doing this, it proved to be fairly easy, except for the difficult bits.</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2013/04/16/sqleditor-svg-and-cocoa/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using NSDockTile for debug info</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/12/02/using-nsdocktile-for-debug-info/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/12/02/using-nsdocktile-for-debug-info/#comments</comments>
		<pubDate>Sun, 02 Dec 2012 11:24:47 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[SQLEditor]]></category>
		<category><![CDATA[Writing Software]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=921</guid>
		<description><![CDATA[Often when I&#8217;m working on an app or something I end up running several different versions of it in a short period of time. There&#8217;s usually some bug that I&#8217;m trying to fix and I want to make sure that &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2012/12/02/using-nsdocktile-for-debug-info/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Often when I&#8217;m working on an app or something I end up running several different versions of it in a short period of time. There&#8217;s usually some bug that I&#8217;m trying to fix and I want to make sure that the bug occurs in the old version and doesn&#8217;t occur in the new version.</p>
<p>Sometimes though I get confused which version I&#8217;m running. Is the app in the dock the old version, or the new version or something else?</p>
<p>So today I had an idea: Why not put the version number on the dock tile?</p>
<p>Here&#8217;s the code to do it:</p>
<pre style="width: 100%; text-wrap: none; font-size: x-small;">if (DEBUG) {
  id badgeText = [NSString stringWithFormat:@"D-%@",[[[NSBundle mainBundle] infoDictionary] valueForKey:@"CFBundleVersion"]];
  [[NSApp dockTile] setBadgeLabel:badgeText];
}</pre>
<p>This assumes that you&#8217;ve got DEBUG defined somehow and that you have an infoDictionary with the relevant keys and values set.</p>
<p>And here&#8217;s what it looks like in the dock:</p>
<p><a href="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2012/12/DockTileVersion.png"><img title="DockTileVersion" src="http://www.malcolmhardie.com/weblogs/angus/wp-content/uploads/2012/12/DockTileVersion.png" alt="" width="206" height="126" /></a></p>
<p>Regular version on the left, development version on the right.</p>
<p>I&#8217;m not sure how useful this will actually be, but it seemed a handy trick for development.</p>
<div></div>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/12/02/using-nsdocktile-for-debug-info/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xbox 360 and Playstation 3 were released before first iPhone</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/11/27/xbox-360-and-playstation-3-were-released-before-first-iphone/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/11/27/xbox-360-and-playstation-3-were-released-before-first-iphone/#comments</comments>
		<pubDate>Tue, 27 Nov 2012 22:19:00 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=911</guid>
		<description><![CDATA[Xbox 360 released November 16, 2005 in USA Playstation 3 released November 11, 2006, in Japan Original iPhone released June 29, 2007, in USA - superseded 5 times The consoles are still competitive platforms. Nothing in the phone world lasts that well. This &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2012/11/27/xbox-360-and-playstation-3-were-released-before-first-iphone/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p><strong>Xbox 360</strong> released November 16, 2005 in USA<br />
<strong>Playstation 3</strong> released November 11, 2006, in Japan<br />
<strong><em>Original</em> iPhone</strong> released June 29, 2007, in USA - superseded 5 times</p>
<p>The consoles are still competitive platforms. Nothing in the phone world lasts that well.</p>
<p>This is not a criticism of the iPhone, which is a brilliant device, instead a thought about the longevity of the consoles.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/11/27/xbox-360-and-playstation-3-were-released-before-first-iphone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Is &#8220;Maximising Shareholder value&#8221; required &#8211; no it&#8217;s not</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/11/08/good-article-on-whether-maximising-shareholder-value-is-required-hint-no-its-not/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/11/08/good-article-on-whether-maximising-shareholder-value-is-required-hint-no-its-not/#comments</comments>
		<pubDate>Thu, 08 Nov 2012 09:52:44 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=904</guid>
		<description><![CDATA[http://www.guardian.co.uk/sustainable-business/blog/maximising-shareholder-value-irony The idea only dates from about 1976, it doesn&#8217;t seem to be in any law and it probably doesn&#8217;t lead to the best outcomes anyway.]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.guardian.co.uk/sustainable-business/blog/maximising-shareholder-value-irony">http://www.guardian.co.uk/sustainable-business/blog/maximising-shareholder-value-irony</a></p>
<p>The idea only dates from about 1976, it doesn&#8217;t seem to be in any law and it probably doesn&#8217;t lead to the best outcomes anyway.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/11/08/good-article-on-whether-maximising-shareholder-value-is-required-hint-no-its-not/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multi-touch &#8211; finger tips wearing out?</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/08/21/multi-touch-finger-tips-wearing-out/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/08/21/multi-touch-finger-tips-wearing-out/#comments</comments>
		<pubDate>Tue, 21 Aug 2012 09:49:09 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=891</guid>
		<description><![CDATA[I seem to be using more multi-touch stuff, but I do have this irrational fear that my finger tips will slowly start to wear away from constantly dragging them over metal or glass surfaces &#8230; &#160;]]></description>
				<content:encoded><![CDATA[<p>I seem to be using more multi-touch stuff, but I do have this irrational fear that my finger tips will slowly start to wear away from constantly dragging them over metal or glass surfaces &#8230;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/08/21/multi-touch-finger-tips-wearing-out/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Russian Documentary about Bread Day</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/06/25/russian-documentary-about-bread-day/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/06/25/russian-documentary-about-bread-day/#comments</comments>
		<pubDate>Mon, 25 Jun 2012 20:44:27 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=889</guid>
		<description><![CDATA[Years ago I saw a documentary about Russians living in the country side where the local people had to push, by hand, a railway wagon filled with bread. I could never find any trace of it later, but today I &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2012/06/25/russian-documentary-about-bread-day/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Years ago I saw a documentary about Russians living in the country side where the local people had to push, by hand, a railway wagon filled with bread.</p>
<p>I could never find any trace of it later, but today I did:</p>
<p>Chlebnyy den (Bread Day) 1998<br />
Directed by Sergei Dvortsevoy</p>
<p><a href="http://hcl.harvard.edu/hfa/films/2006fall/dvortsevoy.html">The Harvard Film Archive</a> showed it a while ago</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/06/25/russian-documentary-about-bread-day/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>More modifier keys</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/05/18/more-modifier-keys/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/05/18/more-modifier-keys/#comments</comments>
		<pubDate>Fri, 18 May 2012 10:47:23 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=886</guid>
		<description><![CDATA[I was working on the new labels panel in SQLEditor when I realised that I&#8217;d run out of modifier keys for clicking shortcuts. Tables already use several of the standard keys for selection control, leaving pretty much only option/alt remaining, and I&#8217;d &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2012/05/18/more-modifier-keys/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I was working on the new labels panel in SQLEditor when I realised that I&#8217;d run out of modifier keys for clicking shortcuts. Tables already use several of the standard keys for selection control, leaving pretty much only option/alt remaining, and I&#8217;d already used it for something else. <img src='http://www.malcolmhardie.com/weblogs/angus/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
<p>Apple: please provide more modifier keys on the keyboard for even more complicated shortcuts!</p>
<p> <img src='http://www.malcolmhardie.com/weblogs/angus/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /> </p>
<p>(Or more rationally, I&#8217;ll probably change it around and the commands will end up in a popup menu or something, which is actually better for discoverability anyway)</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/05/18/more-modifier-keys/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cancom Edinburgh Apple shop seems to be closed</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/03/16/cancom-edinburgh-apple-shop-seems-to-be-closed/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/03/16/cancom-edinburgh-apple-shop-seems-to-be-closed/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 16:58:19 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=876</guid>
		<description><![CDATA[Cancom seems to have closed their Edinburgh shop after being bought out by Trams. Sorry about staff]]></description>
				<content:encoded><![CDATA[<p>Cancom seems to have closed their Edinburgh shop after being bought out by Trams.</p>
<p>Sorry about staff <img src='http://www.malcolmhardie.com/weblogs/angus/wp-includes/images/smilies/icon_sad.gif' alt=':-(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/03/16/cancom-edinburgh-apple-shop-seems-to-be-closed/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Digital Camera Teardown</title>
		<link>http://www.malcolmhardie.com/weblogs/angus/2012/01/28/digital-camera-teardown/</link>
		<comments>http://www.malcolmhardie.com/weblogs/angus/2012/01/28/digital-camera-teardown/#comments</comments>
		<pubDate>Sat, 28 Jan 2012 12:18:35 +0000</pubDate>
		<dc:creator>Angus Hardie</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.malcolmhardie.com/weblogs/angus/?p=869</guid>
		<description><![CDATA[Here is a video showing a breakdown of a lumix digital camera. (mikeselectricstuff/YouTube) The amazing thing is how small the mechanical parts are, and how many there are in there. This camera probably costs no more than £200, yet there are minuscule parts &#8230; <a href="http://www.malcolmhardie.com/weblogs/angus/2012/01/28/digital-camera-teardown/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Here is a <a href="http://www.youtube.com/watch?v=gScwGhRSQFI">video showing a breakdown of a lumix digital camera</a>. (mikeselectricstuff/YouTube)</p>
<p>The amazing thing is how small the mechanical parts are, and how many there are in there. This camera probably costs no more than £200, yet there are minuscule parts and an amazing level of tiny details, all of which has to work reliably, without any maintenance, for a possible lifespan of several years.</p>
<p>The details of the lens assembly are particularly clever with multiple layers and motors which move the different parts. The coils which are printed onto the circuit board and form part of the movement mechanism is clever feature.</p>
<p>I&#8217;m amazed <img src='http://www.malcolmhardie.com/weblogs/angus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.malcolmhardie.com/weblogs/angus/2012/01/28/digital-camera-teardown/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic Page Served (once) in 0.306 seconds -->
<!-- Cached page served by WP-Cache -->
