<?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>Nevermind</title>
	<atom:link href="http://www.nevermind.co.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nevermind.co.nz</link>
	<description>Epiq Failjure</description>
	<lastBuildDate>Tue, 07 Jun 2011 09:50:13 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Installing Dropbox on Debian Sid</title>
		<link>http://www.nevermind.co.nz/2011/04/07/installing-dropbox-on-debian-sid/</link>
		<comments>http://www.nevermind.co.nz/2011/04/07/installing-dropbox-on-debian-sid/#comments</comments>
		<pubDate>Thu, 07 Apr 2011 09:24:58 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[TechTidBits]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=475</guid>
		<description><![CDATA[I had to install the ubiquitous Dropbox on my Debian Sid box tonight, just thought I&#8217;d leave a few notes here to help along someone else who was needing it. As Dropbox does not provide a Debian package, we&#8217;ll use their source package. However, we&#8217;ll do it in a way that Dropbox will still be [...]]]></description>
			<content:encoded><![CDATA[<p>I had to install the ubiquitous <a href="http://www.dropbox.com/">Dropbox</a> on my Debian Sid box tonight, just thought I&#8217;d leave a few notes here to help along someone else who was needing it.</p>
<p>As Dropbox does not provide a Debian package, we&#8217;ll use their source package. However, we&#8217;ll do it in a way that Dropbox will still be installed under the supervision of the package manager and can still be uninstalled, or installed on other systems at will.</p>
<ol>
<li>Start by downloading the Dropbox source (.tar.gz) from <a href="http://www.dropbox.com/downloading?src=index">this page</a></li>
<li>Install the dependencies using apt:<br />
<code><br />
$ aptitude install libnautilus-extension-dev checkinstall<br />
</code></li>
<li>Compile the Dropbox source package:<br />
<code><br />
$ ./configure<br />
$ make<br />
</code></li>
<li>Create and install a new Debian package from the source install using checkinstall<br />
<code><br />
# sudo checkinstall make install<br />
</code><br />
Just accept the default for the questions, unless you&#8217;re building a package for distribution in which case specify the applicable options (i.e. requires)</li>
<li>Start dropbox:<br />
<code>Applications -> Internet -> Dropbox</code><br />
OR<br />
<code>$ dropbox -i</code></li>
<p>Enjoy!</p>
<p>More tips on installing Dropbox from CLI <a href="http://wiki.dropbox.com/TipsAndTricks/TextBasedLinuxInstall">can be found here</a>.</p>
<p><strong>Edit</strong>: <a href="http://raphaelhertzog.com">Raphaël Hertzog</a> commented below to let us know that he has correctly packaged Dropbox for inclusion in the Debian distribution. Here is <a href="http://raphaelhertzog.com/2011/06/06/official-debian-ubuntu-packages-for-nautilus-dropbox/">his post.</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2011/04/07/installing-dropbox-on-debian-sid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian Squeeze</title>
		<link>http://www.nevermind.co.nz/2011/03/30/debian-squeeze/</link>
		<comments>http://www.nevermind.co.nz/2011/03/30/debian-squeeze/#comments</comments>
		<pubDate>Wed, 30 Mar 2011 08:35:34 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[nvidia]]></category>
		<category><![CDATA[squeeze]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=473</guid>
		<description><![CDATA[After hearing a lot about it, I decided to check out the new Debian GNU/Linux release: 6.0, informally known as Squeeze. My home desktop/workstation has been running Ubuntu 10.04 for almost a year. Pretty good, very little fuss but I&#8217;m never satisfied with anything. So I downloaded the multiarch 32-bit/64-bit DVD image (pretty cool trick, [...]]]></description>
			<content:encoded><![CDATA[<p>After hearing a lot about it, I decided to check out the new Debian GNU/Linux release: 6.0, informally known as Squeeze.</p>
<p>My home desktop/workstation has been running Ubuntu 10.04 for almost a year. Pretty good, very little fuss but I&#8217;m never satisfied with anything. So I downloaded the multiarch 32-bit/64-bit DVD image (pretty cool trick, by the way) and wrote it to a spare USB drive.<br />
<span id="more-473"></span><br />
The actual installation was great! It detected all my previously created LVM configuration and all of the filesystems on top of it which I was thankful for as I have a fairly complex setup involving an SSD, RAIDs and all sorts of layers sitting on top of them.</p>
<p>After the installation, though, things not so peachy. Not totally unexpected, but still unwelcome.</p>
<p>I have a fairly new graphics card (NVIDIA GTX 570) which, paired with the fairly new open-source nvidia driver, Nouveau, resulted in a steaming pile of fail. Monitors not being detected, system hangs, visual corruption &#8211; you name it, it happened.</p>
<p>As it turns out, the binary NVIDIA driver that comes with squeeze doesn&#8217;t correctly support this hardware either. FOILED. Fuck it, lets run sid! <img src='http://www.nevermind.co.nz/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  So I upgraded the system to the rolling unstable distribution known as sid. sid comes with a new version of Nouveau but not new enough it seems &#8211; it&#8217;s going to be a while before I&#8217;ll be able get this card going with that driver. The good news is it also comes with a newer version of the NVIDIA binary driver so I installed that and it seems to be working fine now.</p>
<p>I decided to stick with GNOME as my desktop environment for now, but I&#8217;m looking at taking a serious stab at building my own environment around a tiling window manager. I had a quick look at XMonad, i3 and awesome. I&#8217;ll probably go with awesome WM and a couple of other tweaks.</p>
<p>On my netbook, I installed Crunchbang 10 &#8211; which is based on squeeze. One pleasant surprise was that Debian shipped with the new Broadcom driver in the kernel so that worked out-of-the box&#8230; almost unheard of outside of Intel cards! A few unpleasant surprises includes infrequent hard hangs which I need to reboot the system entirely to rectify, and the fact that the included and much more responsive Liquorix kernel <em>didn&#8217;t</em> include that Broadcom driver sort-of sucked&#8230; Hopefully that will be fixed with an update!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2011/03/30/debian-squeeze/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Doing Something</title>
		<link>http://www.nevermind.co.nz/2010/07/17/doing-something/</link>
		<comments>http://www.nevermind.co.nz/2010/07/17/doing-something/#comments</comments>
		<pubDate>Sat, 17 Jul 2010 00:59:26 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[projects]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=406</guid>
		<description><![CDATA[Earlier this year, after realising I spent a lot of my time at home watching average TV shows and surfing the net, I started to make an effort to become more of creator than a consumer. I&#8217;ve always had ideas of things I&#8217;d think were cool or useful, but never actually got around to doing [...]]]></description>
			<content:encoded><![CDATA[<p>Earlier this year, after realising I spent a lot of my time at home watching average TV shows and surfing the net, I started to make an effort to become more of creator than a consumer. I&#8217;ve always had ideas of things I&#8217;d think were cool or useful, but never actually got around to doing anything about them. Most of them involved tech, most were well within my skill level to accomplish, nothing happened.</p>
<p>So here&#8217;s a look at some personal projects that I&#8217;ve been thinking about doing but never really got around to&#8230;</p>
<ul>
<li><strong>Building an Android application for interfacing with your <a href="http://www.powershop.co.nz/">Powershop</a> account</strong><br/><br/>This is what I&#8217;ve been doing recently. Learning about Android application development and filling a hole for an application that I, and others, would find useful. The code is 75% done, but there&#8217;s lots of tweaks to be done before I&#8217;ll be happy with it. Considering releasing this as open source, but not 100% sure yet</li>
<li><strong>Doing an awesome case mod</strong><br/><br/>Will hopefully have the case here this weekend &#8211; It&#8217;s going to be awesome&#8230; watch this space</li>
<li><strong>Blog some more</strong> <img src='http://www.nevermind.co.nz/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </li>
<li><strong>Build some useful web applications</strong> &#8211; i.e. an application that allows a household to split bills between flatmates, an application that analyses you&#8217;re phone bill and suggests a better plan or carrier to save you money<br/><br/>Both of these have working prototypes, written in Rails. It quickly got complicated and I started running into Rails&#8217; limitations. Would love to get this going and learn some new languages!</li>
<li><strong>Practice web design</strong><br/><br/>Although I consider myself a competent developer, I find that design and UX is my weak point. I&#8217;d love to develop this weakness and grow my skills</li>
<li><strong>Redesign my blog</strong><br/><br/>Something original and simpler. I find that my blog is far too complicated for what it actually is, so much so I can sometimes find it distracting when I actually do want to write. Also I want to look at re-implementing it with a new platform such as <a href="http://github.com/mojombo/jekyll">Jekyll</a> or <a href="http://github.com/lakshmivyas/hyde">Hyde</a></li>
<li><strong>Grow my on-the-side business</strong><br/><br/>As I&#8217;ve had a lot of experience with web development and Linux server management, I&#8217;d love to help people who need someone to take care of it for them, or possibly even consult.
</ul>
<p>Also, since this is me, I had to set myself some rules. The most important one is: Don&#8217;t start a new project until the one your working on is done. Without that, I&#8217;d probably start them all and finish none&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2010/07/17/doing-something/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP Mini 5102</title>
		<link>http://www.nevermind.co.nz/2010/06/28/hp-mini-5102/</link>
		<comments>http://www.nevermind.co.nz/2010/06/28/hp-mini-5102/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 09:20:36 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[netbook]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=396</guid>
		<description><![CDATA[I bought a Netbook! Why? A niche had opened up in my technology-filled life. A gap that my aging Macbook Pro is finding itself less and less able to fill as the battery and various hardware begins to fail. A comfort hole that my Nexus One is too small, and my Desktop is too large [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a Netbook!</p>
<h3>Why?</h3>
<p>A niche had opened up in my technology-filled life. A gap that my aging Macbook Pro is finding itself less and less able to fill as the battery and various hardware begins to fail. A comfort hole that my Nexus One is too small, and my Desktop is too large to fill. A need that the iPad is too limited to fulfill.</p>
<h3>What?</h3>
<p>An HP Mini 5102 netbook with the following specifications:</p>
<ul>
<li>Intel Atom N450 Processor with 2GB of RAM</li>
<li>80GB SSD Hard Drive</li>
<li>Wireless a/b/g/n adapter</li>
<li>3G cellular modem</li>
<li>High resolution 10.1&#8243; touch screen</li>
<li>6 Cell battery rated at ~10 hours</li>
</ul>
<h3>Where?</h3>
<p>From New Zealand technology outlet, <a href="http://ascent.co.nz/productspecification.aspx?ItemID=387199">Ascent</a>. Thanks to ibeardslee from #ubuntu-nz on Freenode IRC for putting the wheels in motion to get these in the country!</p>
<h3>How (is it working out)?</h3>
<p>Just dandy!</p>
<p>The system doesn&#8217;t come with any operating system loaded, but the hardware is 99% compatible with <a href="http://www.ubuntu.com/netbook">Ubuntu 10.04 LTS</a>. The only gotcha being the 3G modem&#8230; It apparently requires some sort of firmware to be loaded by a program that only runs on Windows but I haven&#8217;t actually tried to get it working because it pairs flawlessly over Bluetooth to my Nexus One for mobile data.</p>
<p>Everything else from the card reader to the camera works, and I&#8217;ve been able to get between 8-10hrs battery life out of normal use (wireless surfing).</p>
<h3>Any tips?</h3>
<ul>
<li>I found I had to adjust the DPI for the screen as it&#8217;s very high resolution (1366&#215;768 on a 10.1&#8243; screen) so my eyes aren&#8217;t torn from their sockets. I found that around 120 DPI (up from 96) works quite well. Here&#8217;s how you change it:<br />
<code>System -> Preferences -> Appearance -> Fonts tab: click "Details" and adjust there</code></li>
<li>As great as Ubuntu is, it can be a little heavy at times, so I&#8217;m currently using Arch Linux on it and everything is much, much faster. I hope to put up a guide on getting Arch going on this thing as it&#8217;s a great OS for the tweakers among us!</li>
<li>Switch out Ubuntu&#8217;s version of Firefox for Google Chrome or Chromium, much faster. Arch&#8217;s Firefox seems OK, though</li>
<li>Disable bluetooth and wireless if you&#8217;re not using them. Dim the screen for maximum battery life!</li>
</ul>
<p>Enjoy! Leave a comment if you have any questions!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2010/06/28/hp-mini-5102/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Broken Blog</title>
		<link>http://www.nevermind.co.nz/2010/06/28/broken-blog/</link>
		<comments>http://www.nevermind.co.nz/2010/06/28/broken-blog/#comments</comments>
		<pubDate>Mon, 28 Jun 2010 08:34:16 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[meta]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=393</guid>
		<description><![CDATA[If you haven&#8217;t noticed (I hadn&#8217;t!), my blog has been a bit broken for a couple of weeks. It&#8217;s upgraded to WordPress 3.0 now, but that wasn&#8217;t without problems and I almost lost all my drafts. Hooray for backups Keeping in tradition with fiddling with blogging software more than actual blogging, I was having a [...]]]></description>
			<content:encoded><![CDATA[<p>If you haven&#8217;t noticed (I hadn&#8217;t!), my blog has been a bit broken for a couple of weeks.</p>
<p>It&#8217;s upgraded to WordPress 3.0 now, but that wasn&#8217;t without problems and I almost lost all my drafts. Hooray for backups <img src='http://www.nevermind.co.nz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Keeping in tradition with fiddling with blogging software more than actual blogging, I was having a look around and noticed <a href="http://github.com/mojombo/jekyll">Jekyll</a> which looks to be a nifty, yet simple, git-based blogging platform.</p>
<p>Maybe one day <img src='http://www.nevermind.co.nz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2010/06/28/broken-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Web and Advertising</title>
		<link>http://www.nevermind.co.nz/2010/03/07/the-web-and-advertising/</link>
		<comments>http://www.nevermind.co.nz/2010/03/07/the-web-and-advertising/#comments</comments>
		<pubDate>Sun, 07 Mar 2010 10:00:05 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=368</guid>
		<description><![CDATA[Ars Technica have recently put up a post about advertising on their site. They discuss their business reliance on advertising, the effect of running ad-blockers on their site and some trials of methods they&#8217;ve used to combat them. The site has caused a lot of discussion from all sides. Those with an inflated sense of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://arstechnica.com/">Ars Technica</a> have recently <a href="http://arstechnica.com/business/news/2010/03/why-ad-blocking-is-devastating-to-the-sites-you-love.ars">put up a post</a> about advertising on their site. They discuss their business reliance on advertising, the effect of running ad-blockers on their site and some trials of methods they&#8217;ve used to combat them.</p>
<p>The site has caused a lot of discussion from all sides. Those with an <a href="http://briancarper.net/blog/advertising-is-devastating-to-my-well-being">inflated sense of self-entitlement</a>, those that feel that ad-blocking is stealing, and those that want to <a href="http://www.errant.me.uk/blog/2010/03/adfree-an-adblocker-compromise/">find</a> a <a href="http://news.ycombinator.com/item?id=1172488">solution</a> that will please both camps&#8230;</p>
<p>I used to run an ad-blocker with a very broad blocklist, because ads annoyed me. If I had thought about it I probably would have said &#8220;If you don&#8217;t want to give it away from free, take it off the web or don&#8217;t complain that I block annoying ads&#8221;.</p>
<p>However, the more I did think about it, I came to realise a few things&#8230;</p>
<ul>
<li> Ad-blockers are a product of a market at work. People were able to reduce the cost of viewing a page or site with very little inconvenience to themselves.</li>
<li> Most of the complaints about ad-blockers aren&#8217;t about blocking their ads, rather blocking all advertising without even giving them a chance, as the ad-blocker came with a very broad blacklist</li>
<li> Ad-blockers also objectify a market failure. The feedback loop between consumer and producer is broken. With no ad-blockers, if a sites advertising was unacceptable, people would stop visiting. With ad-blockers, it doesn&#8217;t work like that. Ars&#8217; anti-adblock techniques were a misguided attempt to fix this: If you don&#8217;t like the ads, don&#8217;t view the content. If the ads are unacceptable, vote with your feet.</li>
</ul>
<p>Seemingly, a lot of content providers are happy with &#8220;Free&#8221; or &#8220;Freemium&#8221; business models&#8230; For instance I have no problem writing on here for everybody to read. Where they draw the line is paying. I imagine that the majority of sites that have advertising is to reach break even point.</p>
<p>Most people don&#8217;t seem to oppose the idea of advertising on their sites, as long as they are relevant, unobtrusive and useful. I&#8217;ve clicked on plenty of Google search ads, along with the better ad networks such as <a href="http://fusionads.net/">Fusion</a>, <a href="http://decknetwork.net/">The Deck</a> and even ShopStyle.</p>
<p>In my opinion, the best fix for the situation is two-part:</p>
<p>Content producers should not use brute-force, spammy (think of the vibrating &#8220;You&#8217;re the 999th visitor, you&#8217;ve won&#8230;&#8221;, Evony and the system error message lookalike) and untargeted ads. They should be running ads that are relevant and unoffensive, and their audience may even find useful. Adsense text ads are a good start.</p>
<p>For this to work, however, consumers that insist on running ad-blockers need to be more selective about who they block, and why. Block-by-default is not going to work.</p>
<p>Ars&#8217; move to detect &#038; deny content to people  running ad blockers wasn&#8217;t a complete backfire &#8211; they didn&#8217;t convince people that blocking ads is stealing, but they got their members to think about why ads are run and things you can do to view content and still not have annoying ads, resulting in a what seems to be a few subscription sales and a bunch of AdBlock whitelisting. Goes to show what a little engagement can achieve.</p>
<p>I think the solution to this particular problem hasn&#8217;t quite materialised yet, but it sure as hell isn&#8217;t increasingly intrusive adverts, or paywalls. If I were to guess, I would say that it would look something like <a href="http://flattr.com/beta/">Flattr</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2010/03/07/the-web-and-advertising/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The Nexus One</title>
		<link>http://www.nevermind.co.nz/2010/02/16/the-nexus-one/</link>
		<comments>http://www.nevermind.co.nz/2010/02/16/the-nexus-one/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 06:09:24 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[nexus one]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=363</guid>
		<description><![CDATA[photo credit: owaief89 Firstly, some background. I&#8217;ve been an iPhone 3G user for almost 2 years, getting one almost immediately after they were released here in New Zealand. A great phone, no doubt. The app store was wide-ranging, easy to use with quality work for good prices. As happy as I was with the iPhone, [...]]]></description>
			<content:encoded><![CDATA[<div style="float: left; margin-right: 20px;"><a title="google nexus one" href="http://www.flickr.com/photos/94306693@N00/4255429887/" target="_blank"><img src="http://farm3.static.flickr.com/2770/4255429887_e16b119a2d_m.jpg" border="0" alt="google nexus one" /></a><br />
<small><a title="Attribution-NonCommercial-NoDerivs License" href="http://creativecommons.org/licenses/by-nc-nd/2.0/" target="_blank"><img src="http://www.nevermind.co.nz/wp-content/plugins/photo-dropper/images/cc.png" border="0" alt="Creative Commons License" width="16" height="16" align="absmiddle" /></a> <a href="http://www.photodropper.com/photos/" target="_blank">photo</a> credit: <a title="owaief89" href="http://www.flickr.com/photos/94306693@N00/4255429887/" target="_blank">owaief89</a></small></div>
<p>Firstly, some background. I&#8217;ve been an iPhone 3G user for almost 2 years, getting one almost immediately after they were released here in New Zealand. A great phone, no doubt. The app store was wide-ranging, easy to use with quality work for good prices.</p>
<p>As happy as I was with the iPhone, experiencing the &#8220;walled garden&#8221; when you wanted to escape wasn&#8217;t much fun. I wanted to store files, use non-App store applications, tether with more data-friendly networks &#8211; but I couldn&#8217;t.</p>
<p>A geek at heart, I kept a close eye on what was going on in the world of Android. For the longest time I remembered the worst of my days using Linux, and the reluctance of having that experience on my phone. That, coupled with the fact that the early Android handsets were woefully underpowered (much like the iPhone was) relegated me to the sideline for some time.</p>
<p>Hearing about all the fun my acquaintances were having with their Magic&#8217;s &#8211; rooting, flashing, tethering and all the other dirty-sounding verbs, I decided I wanted in to the Android world.</p>
<p>A friend of mine signed a contract with their carrier and got a subsidised HTC magic, which he sold to me. The phone was good, perhaps a little limited hardware-wise,  but I loved the heavy Google integration and the apps were pretty good. About this time, my iPhone&#8217;s screen died &#8211; it must have been a sign! No turning back.</p>
<p>So I got myself a Nexus One. I won&#8217;t go over <a href="http://www.google.com/phone/static/en_US-nexusone_tech_specs.html">the specs</a>, but will go over the subjective things I&#8217;ve come across with the phone.</p>
<h3>Screen</h3>
<p>The screen looks fantastic. The resolution is very high, photos and video&#8217;s look stunning. The touch side of things is also very good &#8211; sensitive and responsive. The only thing I noticed is that the colour can sometimes seem off &#8211; the more brighter colours apear blown out. Also, the phone is difficult to use in direct sunlight. Both these issues are side effects of the <a href="http://en.wikipedia.org/wiki/Active-matrix_OLED">AMOLED</a> screen chosen for the Nexus One.</p>
<h3>Hardware</h3>
<p>The phone is <em>quick</em>. No delays, no waiting, no keyboard lag. All things that were present with the iPhone and the Magic. Web pages render very quick and the radio used in the phone supports the very best connections available in Vodafone NZ&#8217;s network.</p>
<h3>Operating System</h3>
<p>The phone comes with Android 2.1. Android has travelled a long way since 1.x and is a very functional and usable system. Tight integration with Google, Exchange and Facebook brings your life to the phone. It now has multi-touch support in the browser &#038; maps which should help kill the bugbear a lot of switchers worry about. <img src='http://www.nevermind.co.nz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<h3>App store</h3>
<p>The Android market has also grown a lot. There are many apps to choose from and most iPhone apps have an equivalent on the Android Market. Albiet a lot of Android apps aren&#8217;t as polished as their iPhone counterparts. Android has a lot of problems to solve for it&#8217;s developers &#8211; having to develop over dozens of different devices is going to start causing problems, and the time they spend on that is the time that Apple&#8217;s using to polish and add features to it&#8217;s SDK.</p>
<p>So overall, very impressed with the phone and I feel that I&#8217;ll be using it for some time &#8211; or at least until the new shiny comes along <img src='http://www.nevermind.co.nz/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2010/02/16/the-nexus-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Alerts For Fun and Profit</title>
		<link>http://www.nevermind.co.nz/2009/10/19/google-alerts-for-fun-and-profit/</link>
		<comments>http://www.nevermind.co.nz/2009/10/19/google-alerts-for-fun-and-profit/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 06:03:38 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[mighty ape]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=353</guid>
		<description><![CDATA[I had a request today from a customer who wanted to make a list of products he was waiting for, and to be notified when Mighty Ape had them on the site ready to order. I decided that it was going to be problematic to implement this as a Mighty Ape feature, but I did [...]]]></description>
			<content:encoded><![CDATA[<p>I had a request today from a customer who wanted to make a list of products he was waiting for, and to be notified when Mighty Ape had them on the site ready to order. I decided that it was going to be problematic to implement this as a <a href="http://www.mightyape.co.nz/">Mighty Ape</a> feature, but I did help him sort out something that works just as well, using free tools available already.</p>
<p>Say you wanted to be notified when <a href="http://www.mightyape.co.nz/">Mighty Ape</a> makes the Transformers 2: Revenge Of the Fallen Blu-Ray available, here&#8217;s how you could go about doing it.</p>
<p>First, construct a Google query that narrows down what you&#8217;re after.</p>
<p>Since you&#8217;re interested in a product, make sure you add the keyword &#8220;<strong>site:mightyape.co.nz/product</strong>&#8221; to the query. That will restrict Google to search within that directory on our site.</p>
<p>We&#8217;re only interested in the Blu-Ray version so add that in there, too as &#8220;<strong>blu-ray</strong>&#8220;.</p>
<p>Now add some keywords that describe the product. Try and stay away from being too specific, filler words, numbers and punctuation. Something like &#8220;<strong>transformers revenge fallen</strong>&#8220;.</p>
<p>Now, using that might turn up some strange results, from other product&#8217;s descriptions or similar. Luckily, Mighty Ape stores the product name and format all in the page title, so we can direct Google to match only that by using the &#8220;<strong>allintitle:</strong>&#8221; keyword.</p>
<p>So put that all together and we have:<br />
<strong>allintitle:transformers revenge fallen &#8220;blu-ray&#8221; site:mightyape.co.nz/product<br />
</strong></p>
<p>Nice. Now all we need to do is put that into a new <a href="http://www.google.com/alerts">Google Alert</a> and Google will let you know when new documents turn up matching your query in your E-Mail inbox, or RSS feed.</p>
<p>Enjoy! This can easily be adapted to other sites or other queries. Anybody got any other cool examples of useful Google Alerts?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2009/10/19/google-alerts-for-fun-and-profit/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>100 Years of Change Adversity</title>
		<link>http://www.nevermind.co.nz/2009/10/13/100-years-of-change-adversity/</link>
		<comments>http://www.nevermind.co.nz/2009/10/13/100-years-of-change-adversity/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 10:28:25 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[media]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[film]]></category>
		<category><![CDATA[Music]]></category>
		<category><![CDATA[print]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=347</guid>
		<description><![CDATA[Ars.Technica has a fantastic article up titled &#8220;100 years of Big Content fearing technology—in its own words&#8220;. The article basically touches over most major technological advances over the last centry, and digs up what &#8220;Big Content&#8221; had to say about it at the time. Big Content being Music, Film and Print industries. Such business-busters as [...]]]></description>
			<content:encoded><![CDATA[<p>Ars.Technica has a fantastic article up titled &#8220;<a href="http://arstechnica.com/tech-policy/news/2009/10/100-years-of-big-content-fearing-technologyin-its-own-words.ars">100 years of Big Content fearing technology—in its own words</a>&#8220;.</p>
<p>The article basically touches over most major technological advances over the last centry, and digs up what &#8220;Big Content&#8221; had to say about it at the time. Big Content being Music, Film and Print industries.</p>
<p>Such business-busters as the Xerox machine:</p>
<blockquote><p>&#8220;the day may not be far off when no one need purchase books&#8221;</p></blockquote>
<p>The VCR:</p>
<blockquote><p>We are going to bleed and bleed and hemorrhage, unless this Congress at least protects one industry that is able to retrieve a surplus balance of trade and whose total future depends on its protection from the savagery and the ravages of this machine.</p></blockquote>
<p>And of course, MP3:</p>
<blockquote><p>We&#8217;ve come full circle here, as this is the inverse of Sousa; a new technology won&#8217;t eliminate the amateurs, it will eliminate all the professionals and leave nothing but amateurs.</p></blockquote>
<p>Of course, this seems all too familiar. The roadblocks and excuses being thrown up today are the same that were spun up all those years ago, those which failed to come to fruition. The same things are being threatened &#8211; the death of industries, the loss of jobs and the destruction of dreams.</p>
<p>However, what can be said of all of these advances is that they caused change. They caused a reshuffle of the industry in question, but eventually everything settled down again to get back to what they were doing: making money. In fact, if I remember correctly, most content industries are in boom, some making more money than they ever had (with the exception of newspapers, but I feel they&#8217;re the author of their own demise).</p>
<p>So &#8220;Big Content&#8221; is quite comfortable where it is, thank you very much, and is apparently quite happy to fight tooth and nail against anything that may cause change. The problem is, these industries have a lot of teeth and too many nails. We have the huge lobby groups, the MP/RIAA and the very prominent spokespeople with their voice in the ear of our politicians.</p>
<p>This is why so many people keep an eye on the laws being passed in our names, on behalf of these industries. We need to watch whats going on in the fields of Copyright and Intellectual Property (don&#8217;t even get me started about software patents) before we regulate ourselves out of evolution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2009/10/13/100-years-of-change-adversity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Speeding up INSERTs on MySQL</title>
		<link>http://www.nevermind.co.nz/2009/10/13/speeding-up-inserts-on-mysql/</link>
		<comments>http://www.nevermind.co.nz/2009/10/13/speeding-up-inserts-on-mysql/#comments</comments>
		<pubDate>Tue, 13 Oct 2009 10:00:06 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[TechTidBits]]></category>
		<category><![CDATA[geek]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://www.nevermind.co.nz/?p=345</guid>
		<description><![CDATA[Was working on a problem today that required a lot of bulk inserts to a MySQL table. I was getting about 200 inserts/second on my development system, which is OK considering there was some minor processing going on. Since some batches can contain well over a million rows, I started working on how to optimise [...]]]></description>
			<content:encoded><![CDATA[<p>Was working on a problem today that required a lot of bulk inserts to a MySQL table. I was getting about 200 inserts/second on my development system, which is OK considering there was some minor processing going on.</p>
<p>Since some batches can contain well over a million rows, I started working on how to optimise these queries so we can get them in there faster.</p>
<p><strong>Firstly</strong>, watch your indexes on the table. Obviously the more indexes you have on the table the more work the DB has to do on INSERT to maintain them.</p>
<p><strong>Second</strong>, if possible, ditch your ORM. Instead of building and hydrating objects for each row in the table used direct/prepared queries. Most ORMs worth their salt can handle this. i.e. Propel can give you direct access to the underlying <a href="http://php.net/manual/en/book.pdo.php">PDO</a> connection to use your prepared statements.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #009933; font-style: italic;">/** @var $con PDO */</span>
<span style="color: #000088;">$con</span> <span style="color: #339933;">=</span> Propel<span style="color: #339933;">::</span><span style="color: #004000;">getConnection</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Obviously if you have business logic tied up in your objects, it&#8217;s best to use them instead of duplicating code.</p>
<p><strong>Third</strong>, lock the table for a batch of inserts. Here&#8217;s some sample code</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$i</span> <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$con</span> <span style="color: #339933;">=</span> Propel<span style="color: #339933;">::</span><span style="color: #004000;">getConnection</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$con</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">beginTransaction</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #b1b100;">foreach</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$rowsToInsert</span> <span style="color: #b1b100;">as</span> <span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
&nbsp;
  <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #000088;">$i</span> <span style="color: #339933;">%</span> <span style="color: #cc66cc;">100</span> <span style="color: #339933;">==</span> <span style="color: #cc66cc;">0</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    <span style="color: #000088;">$con</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">commit</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    <span style="color: #000088;">$con</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">beginTransaction</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
&nbsp;
  TablePeer<span style="color: #339933;">::</span><span style="color: #004000;">insertUsingPreparedStatement</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$row</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #000088;">$i</span><span style="color: #339933;">++;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>If your using MyISAM you can lock the table using the LOCK TABLE statement</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000088;">$con</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'LOCK TABLES table_name WRITE'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #000088;">$con</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">exec</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'UNLOCK TABLES'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Depending on how important your data is you can change the (100) value in the $i % conditional to higher or lower. The reason this speeds up Inserts so much is that MySQL won&#8217;t flush it&#8217;s write cache to the disk until the transaction is finished, as opposed to every INSERT statement. However, having unflushed data in your cache is dangerous because it may disappear if something happens to the DB server, or get rolled back if your script carks it. Also, since a transaction/lock table call will stop all other access to the table, if it&#8217;s frequently read from those queries will be waiting on locks, so it&#8217;s good to refresh them frequently.</p>
<p>Using these three methods I almost tripled the performance of my script which now inserts between 550-600 rows per second. Win!</p>
<p>There&#8217;s some more tips over <a href="http://dev.mysql.com/doc/refman/5.1/en/insert-speed.html">here in the MySQL manual</a> and some of the comments are quite helpful too.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.nevermind.co.nz/2009/10/13/speeding-up-inserts-on-mysql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

