<?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>Lazy Geeks Blog</title>
	<atom:link href="http://lazy.geek.nz/feed/" rel="self" type="application/rss+xml" />
	<link>http://lazy.geek.nz</link>
	<description>We&#039;re Lazy!</description>
	<lastBuildDate>Wed, 01 Sep 2010 06:51:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>It&#8217;s been a bit quiet around here lately&#8230;</title>
		<link>http://lazy.geek.nz/2010/09/01/its-been-a-bit-quiet-around-here-lately/</link>
		<comments>http://lazy.geek.nz/2010/09/01/its-been-a-bit-quiet-around-here-lately/#comments</comments>
		<pubDate>Wed, 01 Sep 2010 06:51:30 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[concrete5]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://lazy.geek.nz/?p=1533</guid>
		<description><![CDATA[I think it&#8217;s time the blog came back to life! I&#8217;m busy fixing up all my web properties at the moment but heres a little story about a CMS i discovered (Well actually Dan told me about it) It&#8217;s the best modular CMS I&#8217;ve seen that is also easy for &#8220;users&#8221; to use. Dan tells [...]]]></description>
			<content:encoded><![CDATA[<p>I think it&#8217;s time the blog came back to life!</p>
<p>I&#8217;m busy fixing up all my web properties at the moment but heres a little story about a CMS i discovered (Well actually <a href="http://www.indelible.co.nz">Dan</a> told me about it)</p>
<p>It&#8217;s the best modular CMS I&#8217;ve seen that is also easy for &#8220;users&#8221; to use. Dan tells me that it is also very easy to customize, although I haven&#8217;t tried that yet. I&#8217;ll be relaunching danielfaulknor.com with concrete5 (I also need to get my act together with samjmason.com)</p>
<p>Until next time!</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/09/01/its-been-a-bit-quiet-around-here-lately/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SC VoIP002: Installing pdns-recursor in Elastix</title>
		<link>http://lazy.geek.nz/2010/07/05/sc-voip002-installing-pdns-recursor-in-elastix/</link>
		<comments>http://lazy.geek.nz/2010/07/05/sc-voip002-installing-pdns-recursor-in-elastix/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 01:08:10 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[How-To's / Guides / Tech info]]></category>
		<category><![CDATA[Power DNS]]></category>
		<category><![CDATA[PowerDNS]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[pdns]]></category>
		<category><![CDATA[pdns-recursor]]></category>

		<guid isPermaLink="false">http://www.c2s.co.nz/blog/?p=367</guid>
		<description><![CDATA[Continuing with our screencasts, we have a short How-To on installing the Power DNS Recursor (pdns-recursor) package as a way of getting around certain DNS issues in Asterisk. When Asterisk loses connectivity, it can also affect the likes of PSTN fallback, not to mention Asterisk just outright behaves funny with DNS at times. The pdns-recursor [...]]]></description>
			<content:encoded><![CDATA[<p>Continuing with our screencasts, we have a short How-To on installing the Power DNS Recursor (pdns-recursor) package as a way of getting around certain DNS issues in Asterisk.</p>
<p>When Asterisk loses connectivity, it can also affect the likes of PSTN fallback, not to mention Asterisk just outright behaves funny with DNS at times. The pdns-recursor package I&#8217;ve found works better than the likes of dnsmasq.</p>
<p><span id="more-367"></span><br /><span id="more-1494"></span><br />
This screencast will open in an overlay. To close it, simply click outside of the video.</p>
<link rel="stylesheet" href="http://www.c2s.co.nz/screencast/tinybox/screencast.css" />
<script type="text/javascript" src="http://www.c2s.co.nz/screencast/tinybox/tinybox.js"></script></p>
<div class="button" id="screencast1"><strong>Click to watch Screencast VoIP 002 &#8211; Installing pdns-recursor</strong></div>
<p><script type="text/javascript"> 
T$('screencast1').onclick = function(){TINY.box.show('http://www.c2s.co.nz/screencast/voip002/index.html',1,1024,594,1)}
</script> </p>
<p>As always, if you found this useful, please leave a comment and introduce yourself! <img src='http://www.c2s.co.nz/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/07/05/sc-voip002-installing-pdns-recursor-in-elastix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SC VoIP001: Securing the default Elastix WebGUI passwords</title>
		<link>http://lazy.geek.nz/2010/07/05/sc-voip001-securing-the-default-elastix-webgui-passwords/</link>
		<comments>http://lazy.geek.nz/2010/07/05/sc-voip001-securing-the-default-elastix-webgui-passwords/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 00:46:03 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Elastix]]></category>
		<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[How-To's / Guides / Tech info]]></category>
		<category><![CDATA[Screencast]]></category>
		<category><![CDATA[VOIP]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[passwords]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://www.c2s.co.nz/blog/?p=303</guid>
		<description><![CDATA[Starting off a new line of Screencasts, we have the first one on securing the default Elastix WebGUI passwords. This may seem obvious but many people only do *half* the job, leaving their system totally wide open when they port-forward TCP 443 so it&#8217;s publicly accessible. See for yourself by going to your Elastix system [...]]]></description>
			<content:encoded><![CDATA[<p>Starting off a new line of Screencasts, we have the first one on securing the default Elastix WebGUI passwords. This may seem obvious but many people only do *half* the job, leaving their system totally wide open when they port-forward TCP 443 so it&#8217;s publicly accessible.</p>
<p>See for yourself by going to your Elastix system and adding this in to the URL:<br />
<em>/admin/</em></p>
<p>You will see yourself presented with a new login box. Type in &#8220;admin&#8221; as the Username &amp; Password.</p>
<p>Many people don&#8217;t know, or don&#8217;t change the Unembedded FreePBX password, so we will show you how to fix this issue.</p>
<p>This is the first of hopefully many screencast tutorials.</p>
<p><span id="more-303"></span><br /><span id="more-1495"></span><br />
This screencast will open in an overlay. To close it, simply click outside of the video.</p>
<p><script type="text/javascript" src="http://www.c2s.co.nz/screencast/voip001/swfobject.js"></script><br />
        <script type="text/javascript"> 
            swfobject.registerObject("csSWF", "9.0.115", "http://www.c2s.co.nz/screencast/voip001/expressInstall.swf");
        </script> </p>
<link rel="stylesheet" href="http://www.c2s.co.nz/screencast/tinybox/screencast.css" />
<script type="text/javascript" src="http://www.c2s.co.nz/screencast/tinybox/tinybox.js"></script></p>
<div class="button" id="screencast1"><strong>Click to watch Screencast VoIP 001 &#8211; Securing the default Elastix WebGUI passwords</strong></div>
<p><script type="text/javascript"> 
T$('screencast1').onclick = function(){TINY.box.show('http://www.c2s.co.nz/screencast/voip001/index.html',1,1024,594,1)}
</script> </p>
<p>As always, if you found this useful, please leave a comment and introduce yourself! <img src='http://www.c2s.co.nz/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/07/05/sc-voip001-securing-the-default-elastix-webgui-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why I upgraded my iPhone3G to a Nexus One running Android instead of the iPhone4</title>
		<link>http://lazy.geek.nz/2010/06/26/why-i-upgraded-my-iphone3g-to-a-nexus-one-running-android-instead-of-the-iphone4/</link>
		<comments>http://lazy.geek.nz/2010/06/26/why-i-upgraded-my-iphone3g-to-a-nexus-one-running-android-instead-of-the-iphone4/#comments</comments>
		<pubDate>Fri, 25 Jun 2010 22:46:40 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[N1]]></category>
		<category><![CDATA[Nexus One]]></category>
		<category><![CDATA[Personal Rantings]]></category>
		<category><![CDATA[Product Reviews]]></category>
		<category><![CDATA[iOS4]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPhone 3G]]></category>
		<category><![CDATA[iPhone3G]]></category>
		<category><![CDATA[iPhone4]]></category>

		<guid isPermaLink="false">http://www.c2s.co.nz/blog/?p=332</guid>
		<description><![CDATA[I&#8217;ve had my iPhone 3G for 1 month shy of 2 years now, and it&#8217;s been a brilliant phone. Admittedly I had it replaced after 3 months because the GPS on my first one was horribly inaccurate, however the whole replacement process was superb: Full phone replacement in under 2 hours of dropping the device [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had my iPhone 3G for 1 month shy of 2 years now, and it&#8217;s been a brilliant phone. Admittedly I had it replaced after 3 months because the GPS on my first one was horribly inaccurate, however the whole replacement process was superb: Full phone replacement in under 2 hours of dropping the device off!  When I bought the Nexus One, I waited first for the iPhone4 to be officially released. Everybody had seen engadgets breakdown of the new look, and it does look slick, but I wanted to know about the OS and other features before deciding on a new iPhone or a Nexus One.  How did I decide? Here&#8217;s some of the reasons:<span id="more-332"></span><br />
<span id="more-1474"></span><br />
After I watched the Google IO Day 2 Keynotes on YouTube, I really began to get attached to the idea of an Android phone. You could say that Google got to me before Apple did, but I&#8217;d been a happy iPhone 3G user for almost 2 years, with around about $250 on App / Game purchases, that I did *not* wanna let go of.  The video highlighted some of the achievements Android had already accomplished, not to mention where it was going. I&#8217;ve watched the video right through 4x now, and I can&#8217;t recommend it enough: <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="640" height="385" 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/IY3U2GXhz44&amp;hl=en_US&amp;fs=1&amp;" /><param name="allowfullscreen" value="true" /><embed type="application/x-shockwave-flash" width="640" height="385" src="http://www.youtube.com/v/IY3U2GXhz44&amp;hl=en_US&amp;fs=1&amp;" allowscriptaccess="always" allowfullscreen="true"></embed></object> It was exciting to see new developments in the mobile space, such as the voice recognition, performance enhancements both in the OS and the browser, and overall you just get warm fuzzies from watching the video right the way through.  On the contrast, when I saw the iPhone4 release, I was felt slightly disappointed, for a few reasons:</p>
<ol>
<li>FaceTime &#8211; It looks awesome, but c&#8217;mon .. WiFi only? I did video calling some 5 years ago now from my Motorola v1075, and I could call other Motorolas, other Sony Ericsson phones, Nokias, the works, and I didn&#8217;t have to be near WiFi. Their solution? We&#8217;ll make it an &#8220;Open standard&#8221; so others can also do wifi-only video calling. Sounds to me like a step backwards from what&#8217;s been done before, with the exception potentially of higher quality. Switching between front and back cameras? Yeah been there, done that (5 years ago), got the T-shit.</li>
<li>Multitasking &#8211; They&#8217;ve left it off the iPhone 3G which is a shame, I know that it doesn&#8217;t have the most RAM in the world, but I jailbroke mine and it works, albeit a little shaky on memory-intensive apps. Anyway it&#8217;s a little hypocritical to change your tune on Multitasking, after they&#8217;ve been saying for years now that it&#8217;s just a battery-suck that you don&#8217;t really need anyways. You know what else Apple have also been saying is a battery suck? Flash!</li>
<li>Flash Player &#8211; Sure it may drain the battery, and sure I can&#8217;t stand it, but I like the thought that if I want to run a video on my Cellphone, or browse a certain website, then I at least have the *option* of Flash, knowing fully well it may shorten my battery life. I don&#8217;t like the prospect that one mans idea of what I want takes precedence over my free choice.</li>
<li>Retina Display &#8211; Sounds nice, but it&#8217;s only marginally higher resolution than the Nexus One, and apparently at 12 inches it&#8217;s still not at the specs it&#8217;s being touted at. However, I don&#8217;t really care too much, it looks like a nice screen to say the least <img src='http://www.c2s.co.nz/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </li>
<li>A4 CPU &#8211; Essentially the same as the 1Ghz Snapdragon that powers the Nexus, so I wan&#8217;t blown away by it. Initial reports were that the iPhone4 had only 256MB RAM, but apparently the final shipping version does have 512MB, just like the Nexus One. Relatively moot point there I suppose</li>
</ol>
<p>What is cool about it though:</p>
<ol>
<li>HD video recording &#8211; There are other phones that do 1280&#215;720 video recording, but not at the same framerate as the iPhone4. While it&#8217;s not a big leap or bound, the quality is certainly a nice, welcome improvement.</li>
<li>Video editing from the Phone &#8211; Who cares if it&#8217;s going to cost another $5-10 from the App Store, it&#8217;s just cool to be able to do it!</li>
<li>The phone redesign &#8211; It looks slick, no two ways about it, but there&#8217;s apparently already issues with the reception dropping out if you hold it wrong around the edge. Being the thinnest phone is also nice, but it&#8217;s about to be beaten by some Samsung device, apparently only by 1 or 2mm!</li>
</ol>
<p>So I guess I saw what my existing iPhone 3G was able to do in comparison to the new one, and while decent video recording (Lets face it, the apps that do video on the 3G aren&#8217;t the best) is out, and so is video calling, the rest I can pretty much already do. There&#8217;s no big bonus reason for me to upgrade.  Naturally, I went off and ordered a Nexus One that day. Here&#8217;s what I found about the ordering process:</p>
<ol>
<li>You have to be within the US to order, so use this link to &#8220;fool&#8221; it: <a href="http://google.com/phone?gl=us">http://google.com/phone?gl=us</a></li>
<li>Shipping is free within the US for the Nexus One, so ship to a mail forwarder that&#8217;s in a state without taxes. I got stung with around USD$60 Sales Tax, so avoid it if you can.</li>
<li>When shipping using Shipito.com it was free for me to choose to have the phone insured, I just selected it from the dropdown box. It was only an extra couple of bucks for the expedited shipping so naturally I went that route. Shipito were pretty prompt, but delayed the whole process by around 24 / 36 hours in total. The shipping via Fedex only took around 48 hours: <a href="http://www.fedex.com/Tracking?action=track&amp;tracknumbers=793638429235">http://www.fedex.com/Tracking?action=track&amp;tracknumbers=793638429235</a></li>
<li>Don&#8217;t forget you&#8217;re going to be charged GST on everything when the phone arrives at customs. It didn&#8217;t take long to clear, but I specifically asked them to hold it there for me so I could pay in-person and pick up the device at the same time. I got myself the car dock and the desktop dock too, so don&#8217;t forget GST is payable on them also.</li>
</ol>
<p>So I&#8217;ve had the phone for a week now. What have I found? Likes and dislikes?</p>
<ul>
<li>Well the apps are all tiny compared with their iPhone counterparts. For some reason the download sizes are just smaller all around. Maybe it&#8217;s just me?</li>
<li>The feel of the &#8220;SoftTouch&#8221; casing is awesome, it&#8217;s a real suede like feeling that&#8217;s smooth, but has just enough grip to stay nicely in your hand.</li>
<li>Initially the Headphone controls didn&#8217;t work with the music application. Why, I&#8217;m not sure, but I only tried once, and it&#8217;s working now I have Cyanogenmod on the phone, so I don&#8217;t really care. I was also disappointed with the audio quality at first of the headphones until I took off the little cloth covers. I&#8217;ve since discovered they suck and you don&#8217;t need them, they just dampen the noise a lot and kill a lot of clarity and crispness. Don&#8217;t bother with them.</li>
<li>Live wallpapers are freaking cool. From the standard, to leaves on water, to music waveforms, they&#8217;re awesome. They don&#8217;t use much battery life at all.</li>
<li>Speaking of battery life, having a breakdown of what&#8217;s using the battery, how long it&#8217;s used the processor, and other things is a very welcome addition to a Smartphone! I dunno why it&#8217;s not been done before, but it should be standard!! I can see as a percentage of use since last full charge how much juice the display has sucked, how much battery has been spent on cellular standby, playing back music, wifi, or just the phone being in an idle-on state.</li>
<li>The syncing with Google is awesome. I use Google Apps for all my domains, and having the emails pushed down (Just like the exchange emulation it does that I used on the iPhone) is pretty standard, but having the contacts and everything else syncing flawlessly is brilliant!</li>
<li>Voice input is amazing. I&#8217;ve done things before like Voice Dialing (&#8220;Call dad mobile&#8221;), and basic voice commands like &#8220;Play Music&#8221;, but this takes it to a whole new level. It&#8217;s not just predefined things, but basically voice input pretty much anywhere there is a text box for you to type in to. It&#8217;s not quite perfect, and it won&#8217;t allow you to dictate a long email into it yet, but it&#8217;s still pretty good, and a nice direction for things to be going in!</li>
<li>Having a full browser is wicked cool. I didn&#8217;t quite realize how crippled the iPhone browser was until I used this one. I used to loath having to look up addresses, for example when I was driving somewhere and wasn&#8217;t sure to go. Now with the Android browser, the browser can finally make use of the high-speed network!!</li>
<li>The Android Marketplace seems a little empty by comparison. I&#8217;ve been able to pretty much find anything I want, but it&#8217;s clear there&#8217;s not as many apps as the Apple App Store, but to be honest most of the App Store apps are duplicates. There&#8217;s no need for a dozen flashlight applications which essentially all do the same thing.</li>
<li>Did I mention the speed? Yeah I mentioned the browser speed but overall it&#8217;s just blisteringly fast and it&#8217;s so good!</li>
<li>The buttons down the bottom are &#8220;different&#8221; from the iPhones one. It leaves more screen real-estate to do other things, and to be honest it took all of a days getting used to. It&#8217;s nice having the search button, the back button, and to be honest I&#8217;m really enjoying it. It&#8217;s far from the &#8220;too many button&#8221; syndrome I thought I would feel, or at least that Apple told me I would feel.</li>
<li>The trackball is cool! It lights up when you receive a txt / email, it&#8217;s useful in games (Replica Island), it feels nice, and you can use it to basically navigate around everywhere if you don&#8217;t happen to have a touchscreen (Which I do).</li>
</ul>
<p>Overall, I&#8217;m very, very pleased with my latest investment. Considering I just read about how Vodafone and Telecom are about to release a small army of new devices (Well Vodafone are at least), adding to the current ONE model that&#8217;s available on Telecom currently, it&#8217;s nice to know that Android is starting to take off in NZ.</p>
<p>I&#8217;ve read that Apple have ordered enough parts for 25,000,000 iPhone4&#8242;s, and that there&#8217;s a whopping total of 100,000,000 iOS devices out there. That&#8217;s insane! I also read that there&#8217;s now 160,000 new Android device activations per-day ( <a href="http://googleblog.blogspot.com/2010/06/celebrating-android.html">http://googleblog.blogspot.com/2010/06/celebrating-android.html</a> ), which means that Android is certainly the fastest growing mobile OS platform, and will very soon take the reigns. It&#8217;s also worth noting that the 100,000,000 iOS devices also includes iPod Touches, but to be honest there&#8217;s also likely a small army of Android Netbooks helping the Android figures along too.</p>
<p>The numbers just go to show that people like choice, they like freedom, and it&#8217;s awesome to see it really starting to take off the way that it is!</p>
<p>I have no doubt that the iPhone is here to stay, and I&#8217;m sure the two will very happily co-exist in the mobile space, but as far as I&#8217;m concerned the competition is great and will only spur innovation, new features, and greater benefits for us as consumers.</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/06/26/why-i-upgraded-my-iphone3g-to-a-nexus-one-running-android-instead-of-the-iphone4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Offsite differential nightly backups for Elastix</title>
		<link>http://lazy.geek.nz/2010/06/22/offsite-differential-nightly-backups-for-elastix/</link>
		<comments>http://lazy.geek.nz/2010/06/22/offsite-differential-nightly-backups-for-elastix/#comments</comments>
		<pubDate>Tue, 22 Jun 2010 04:14:13 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[Elastix.org Blog]]></category>
		<category><![CDATA[How-To's / Guides / Tech info]]></category>
		<category><![CDATA[backups]]></category>
		<category><![CDATA[daily]]></category>
		<category><![CDATA[incremental]]></category>
		<category><![CDATA[nightly]]></category>
		<category><![CDATA[off-site]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[scp]]></category>

		<guid isPermaLink="false">http://www.c2s.co.nz/blog/?p=328</guid>
		<description><![CDATA[It&#8217;s happened to everybody at some time or another, you wish you could go back to yesterdays system. You make a change and delete some IVR menu you shouldn&#8217;t have but can&#8217;t remember how it was setup so you can&#8217;t recreate it. The built-in Elastix Backups is great, but only if you remember to do [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s happened to everybody at some time or another, you wish you could go back to yesterdays system. You make a change and delete some IVR menu you shouldn&#8217;t have but can&#8217;t remember how it was setup so you can&#8217;t recreate it.</p>
<p><span id="more-1475"></span></p>
<p>The built-in Elastix Backups is great, but only if you remember to do it. I have the memory of a sieve so unfortunately I rarely remember.</p>
<p>The good thing is it&#8217;s now no longer difficult for you to backup a system automatically!</p>
<p>Because I don&#8217;t do any faxing or the likes on my systems, it doesn&#8217;t get backed up. This also won&#8217;t backup FOP2, your amportal.conf and other such things.</p>
<p>Here&#8217;s what it will do:</p>
<ul>
<li>All core Asterisk files in /etc/asterisk</li>
<li>Custom sound files used in voicemails / recordings</li>
<li>Voicemail boxes</li>
<li>CDR records</li>
<li>FreePBX custom system files</li>
<li>Differential backups from the previous day, so you&#8217;re not wasting storage space and transferring large volumes of data regularly.</li>
</ul>
<p>It&#8217;s enough for you to basically take a stock Elastix system and be back up and running in seconds.</p>
<p>Scenario: Your HDD died. You didn&#8217;t have any monitoring in place and so the SMART warnings went undetected. Your system is now down. Thankfully you have the ISO of Elastix, so you quickly throw it into the machine and reinstall (Or if you&#8217;re like me, you have a &#8220;vanilla&#8221; system ready on another HDD).  It boots the brand new Elastix installation and you&#8217;re now in a position to restore from your backups.<br />
You now restore from your backups by simply copying everything in your last daily backup to your / folder, and it overwrites everything it needs to. You quickly reimport the .sql file into MySQL and you&#8217;re back, with minimal disruption.</p>
<ol>
<li>The script</li>
<li>The prep work</li>
<li>Adding it to your crontab (So it works automatically of course)</li>
<li>Testing</li>
<li>Password-less logins</li>
<li>More testing = Success!</li>
<li>Restoring</li>
</ol>
<p>Here&#8217;s how you do it:</p>
<h2><span id="more-328"></span>1) The script</h2>
<pre>#!/bin/sh
# Version 0.1
# Written by Josiah Spackman - www.c2s.co.nz

# Run on the client machine that you want to be backed up to another server
# Set the local SQL server details. Pretty generic across all Elastix, so hopefully your MySQL port isn't public
MSQLU="root"
MSQLP="eLaStIx.2oo7"

# Set the destination username and servername
DSTUSER="backupuser"
DSTHOST="destination.backupserver.com"
DSTFULLDIR="/home/backupuser"
# We want the Hostname of the current box so we can backup multiple boxes and easily distinguish them with as little modification to this script as possible
# NOTE: You need to create this Dir on the remote host prior to the first backup run
HOST="elastixtest"

# Set the local tempdir to store the files in. Default is usually sufficient
TMPBACKUPDIR="/tmp/asteriskbackup"

# Setting the day
DAY=`date +%a | tr '[A-Z]' '[a-z]'`

case $DAY in
  sun ) PDAY=sat ;;
  mon ) PDAY=sun ;;
  tue ) PDAY=mon ;;
  wed ) PDAY=tue ;;
  thu ) PDAY=wed ;;
  fri ) PDAY=thu ;;
  sat ) PDAY=fri ;;
esac

# Setting options for rsync to run with
OPTS="-aHL --link-dest=$DSTFULLDIR/$HOST/$PDAY/ --delete --stats"

# Copying everything locally and doing it all in one go
mkdir -p $TMPBACKUPDIR/etc/ $TMPBACKUPDIR/var/spool $TMPBACKUPDIR/var/lib/asterisk/sounds $TMPBACKUPDIR/var/www/html/admin/modules/core
cp -Rs /etc/asterisk $TMPBACKUPDIR/etc/
cp -Rs /var/spool/asterisk $TMPBACKUPDIR/var/spool/
cp -Rs /var/lib/asterisk/sounds/custom $TMPBACKUPDIR/var/lib/asterisk/sounds/
cp -Rs /var/www/html/admin/modules/core/etc $TMPBACKUPDIR/var/www/html/admin/modules/core/

# MySQL Dump so we have all parts of the server
mysqldump --add-drop-table -h localhost -u$MSQLU -p$MSQLP -A &gt; $TMPBACKUPDIR/database.sql

# Running rsync now
rsync $OPTS $TMPBACKUPDIR $DSTUSER@$DSTHOST:$HOST/$DAY/

# Cleaning up afterwards, no point in keeping the database or other links...
rm -rf $TMPBACKUPDIR</pre>
<p>Now here&#8217;s how you use it:</p>
<p>Copy all of that text and save it as /root/backups.sh using your favorite editor</p>
<h2>2) The prep work</h2>
<p>Change a few values, namely the DSTHOST, DSTUSER and DSTFULLDIR.</p>
<p>You need to specify the full directory where the files are stored remotely, usually this is just the home directory.</p>
<p>Now we&#8217;re going to give it execute permissions:</p>
<pre>chmod +x /root/backups.sh</pre>
<h2>3) Adding it to your crontab (So it works automatically of course)</h2>
<p>As root, run:</p>
<pre>crontab -e</pre>
<p>Add in the following line by pressing &#8220;i&#8221; to &#8220;insert&#8221; text:</p>
<pre>0 1 * * * /root/backups.sh</pre>
<p>This will run the backup every night at 1AM</p>
<p>To save and quit, write:</p>
<pre>:wq</pre>
<p>Then press enter</p>
<h2>4) Testing</h2>
<p>Run a test backup, by using:</p>
<pre>sh /root/backups.sh</pre>
<p>See if it runs OK.</p>
<p>Chances are it&#8217;s going to fail. This is because you need to remotely create the &#8220;host&#8221; directory. Example:</p>
<p>You&#8217;re backing up a machine called AcmeInc, you want to create a directory on the destination backup server called &#8220;AcmeInc&#8221; first, and then it will do the rest. This should be the same value as $HOST, remember it&#8217;s case sensitive.</p>
<p>Now that you&#8217;ve got your directory on the server, run it again:</p>
<pre>sh /root/backups.sh</pre>
<p>It should do a successful initial run.</p>
<p>But it doesn&#8217;t stop there.</p>
<h2>5) Password-less logins</h2>
<p>Up until now it&#8217;s been prompting for your password. This isn&#8217;t going to work if you&#8217;re trying to run the job automatically via a scheduled cron job, because naturally you&#8217;re not going to be around at 1AM (Or at least you shouldn&#8217;t be).</p>
<p>We&#8217;re going to create password-less logins with:</p>
<pre>ssh-keygen -N '' -t rsa -f ~/.ssh/id_rsa</pre>
<p>Now you should have /root/.ssh/id_rsa.pub so run this to see the contents</p>
<pre>cat ~/.ssh/id_rsa.pub</pre>
<p>Now you want to copy that and on the server you&#8217;re backing up to, you want to edit ~/.ssh/authorized_keys</p>
<p>Put in the contents of the id_rsa.pub file.</p>
<p>Now, we&#8217;re going to secure it down just a little more:</p>
<pre>chmod 700 ~/.ssh
chmod 600 ~/.ssh/authorized_keys</pre>
<p>Great stuff, you&#8217;re almost there!</p>
<h2>6) More testing = Success!</h2>
<p>Now if you run:</p>
<pre>sh /root/backups.sh</pre>
<p>It should complete successfully, and <strong><span style="text-decoration: underline;">not</span></strong> ask you for a password!</p>
<p>What we&#8217;re now going to do is time-warp forwards a day and make sure it&#8217;s doing the differential transfers correctly. Login to your backup server and rename the folder so that the day is the previous days. For example if today is tuesday, then rename &#8220;tues&#8221; to &#8220;mon&#8221;. The day is always the first 3 chars of the day name. Easy enough yes?</p>
<p>Now, login to your server and make a change of some description, perhaps even create a dummy Extension, just so that some of the files will change.</p>
<p>Re-run the script and it should tell you it&#8217;s completed happily and it should only take a *very* short time to run, under 7 seconds for me on a barely used system.</p>
<p>If you see an error such as:</p>
<pre>--link-dest arg does not exist: mon</pre>
<p>This means your absolute path is not correct. Double-check your home dir and the DSTFULLDIR variable in the script.</p>
<h2>7) Restoring</h2>
<p>It&#8217;s all well and good to have a flashy system like this, but if you don&#8217;t know how to restore, it&#8217;s relatively useless. Thankfully it&#8217;s incredibly easy to restore!</p>
<p>Grab the contents of the last &#8220;day&#8221; that you backed up, for example yesterdays backups and save them in /root. We&#8217;ll use Tuesday as a reference. Run this on the PBX server you&#8217;re wanting to restore:</p>
<pre>scp -r user@backup.server.com:~/hostname/tue/ /root/
cp -Rvf /root/tue/asteriskbackup/* /
mysql -u root -peLaStIx.2oo7 &lt; /root/tue/asteriskbackup/database.sql
/etc/init.d/mysqld restart
amportal restart</pre>
<p>However, it&#8217;s going to prompt you for each file, so you might want to edit /root/.bashrc and remove the line:</p>
<pre>alias cp='cp -i'</pre>
<p>It is basically forcing you each time to answer &#8220;y/n&#8221; to the cp command, even if you don&#8217;t want it to. You then need to either log out and back in again, or you could just run:</p>
<pre>su -</pre>
<p>Re-run the cp command and anything after it and you should now be back up and running!</p>
<p>As always, I&#8217;m open to feedback, comments and suggestions. If this has helped you in any way, please just leave a brief message and say Hi!<br />
This has also been posted here: http://blogs.elastix.org/en/2010/06/offsite-differential-nightly-backups-for-elastix/</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/06/22/offsite-differential-nightly-backups-for-elastix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>The rise of the (wrong) opinion</title>
		<link>http://lazy.geek.nz/2010/06/09/the-rise-of-the-wrong-opinion/</link>
		<comments>http://lazy.geek.nz/2010/06/09/the-rise-of-the-wrong-opinion/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 21:23:54 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Broadband]]></category>
		<category><![CDATA[Facts]]></category>
		<category><![CDATA[Fibre to the Home]]></category>
		<category><![CDATA[Government]]></category>
		<category><![CDATA[Have your say]]></category>
		<category><![CDATA[Opinions]]></category>
		<category><![CDATA[Personal Rantings]]></category>
		<category><![CDATA[Political]]></category>
		<category><![CDATA[Society]]></category>
		<category><![CDATA[Tall Poppy Syndrome]]></category>

		<guid isPermaLink="false">http://www.c2s.co.nz/blog/?p=296</guid>
		<description><![CDATA[The advent of the internet has meant that the transfer of information happens almost instantly. Emails exchanged, businesses updated, news crosses the globe in seconds, more people can work from home, global offices are brought together. It&#8217;s a beautiful thing. The flip side is that it has also increased the amount of people who are [...]]]></description>
			<content:encoded><![CDATA[<p>The advent of the internet has meant that the transfer of information happens almost instantly. Emails exchanged, businesses updated, news crosses the globe in seconds, more people can work from home, global offices are brought together. It&#8217;s a beautiful thing.</p>
<p><span id="more-1429"></span></p>
<p>The flip side is that it has also increased the amount of people who are &#8220;being heard&#8221;. That in itself is not a bad thing at all, in my opinion, however the problem lies in the fact that people state their opinion as fact.</p>
<p>Recently I joined a Facebook group for John Key. I figure, what better way to stay informed about this countries political news? I was shocked to see just how many mis-informed people were screaming all over the place, usually with some of the worst grammar or spelling you can possibly imagine. Then, aside from them stating their mis-informed opinions as fact, there was this tone in so many posts that the person was right, and simply not interested in listening to what anybody else had to say.</p>
<h2>So why is having an opinion a bad thing?</h2>
<p><span id="more-296"></span>Granted, you&#8217;re reading the blog right now of a similar person. I very frequently get worked up about issues, however I would also like to believe I&#8217;m slightly different. I (would hope that I) look at the &#8220;story&#8221; from more than one angle, that I&#8217;m educated about the topic I&#8217;m discussing and providing my opinion on  (Or if I&#8217;m not educated I&#8217;m asking questions so I can become educated), and I&#8217;m also happy to be corrected in the instance I&#8217;m proven wrong, or rather that somebody else is proven more &#8220;right&#8221; than I am.</p>
<p>The issue I see is <strong>when people state their opinion as fact</strong>, I can think of a couple of examples to go along with this:</p>
<p>1) On a technology forum I&#8217;m a member of, there is a regular poster who is relatively well-respected amongst the other regulars. This person is generally quite knowledgeable, however when this well-respected member is unsure about something, he doesn&#8217;t say.<br />
<strong>We get fact mixed up with opinion</strong>, and unfortunately for this character, when he states an opinion on a subject he&#8217;s not informed about, it usually misses the mark, badly. This can be disastrous if you&#8217;ve asked for technical help, and somebody is telling you the wrong thing!<br />
Imagine going to your mechanic, asking what sort of oil should go in your car, and they say &#8220;Well it&#8217;s a Hybrid card, so you could just put water into it instead of oil&#8221;. How much damage could that then cause if you happen to do as instructed. Better still, what if you go home and before doing-so tell your friends on Facebook or Twitter about this great new way to save money by using water in your engine instead of oil, and because of the way social networking works, you start this domino effect of people who decide to try it. Imagine now your mechanic tells you &#8220;Look mate I&#8217;m not entirely sure, I don&#8217;t often work on Hybrids. What I would guess you can use water, because of this other factor here. However, I&#8217;m just taking a guess, you should get a second opinion&#8221;. How much more would you respect your mechanic for being honest with you, and admitting &#8220;Hey I&#8217;m only human and my experience in the field ends here&#8221;.</p>
<p>2) When the masses get to have an opinion, such as I&#8217;ve recently seen on the Vector Fibre website. People are asked to have their say as they vote &#8220;Should we get Fibre to the door&#8221;. The problem is that roughly 9/10 of the things people state are grossly mis-informed, yet they state them as fact. Here&#8217;s a prime example:</p>
<address style="padding-left: 30px;">I highly support Fibre as Copper offers limited gaming network capabilities. Fibre provides much faster connection so less lag during games such as Call Of Duty Modern Warfare 2. With my current connection, I tend to lose connection often and whenever I can play without losing connection it&#8217;s very slow.</address>
<address style="padding-left: 30px;"><strong>Jordan &#8211; Student</strong></address>
<p>Sorry Jordan, you&#8217;re wrong. There&#8217;s nothing wrong with Coppers gaming capabilities. High-speed doesn&#8217;t equate to less latency. Latency is quite likely affected by a myriad of other things, especially when playing internationally. When playing nationally, I can frequently get 10 millisecond ping times, so data takes 10 milliseconds to get from my computer, across New Zealand to the gaming server, and back again. I&#8217;m on Telecom Big Time, and not on an upgraded roadside Cabinet.</p>
<p>Lets look at the next down the list:</p>
<address style="padding-left: 30px;">For faster access to the internet. no need to wait for webpages to load .</address>
<address style="padding-left: 30px;"><strong>Miranti &#8211; University Student</strong></address>
<p>Sorry Miranti, Fibre doesn&#8217;t mean you&#8217;ll have instant web sites any more than ADSL does. Fibre is literally the difference between half a second vs 1 second for a website to display, due to varying technical reasons I won&#8217;t go into. If you&#8217;ve got &#8220;slow&#8221; websites, then get yourself a full-speed broadband plan, and fix your PC, don&#8217;t blame ADSL.</p>
<p>Because I&#8217;m on a roll, lets have a look at one last post on the Vector Fibre comments page:</p>
<address style="padding-left: 30px;">Because it will bring us closer to the rest of the world</address>
<address style="padding-left: 30px;"><strong>Robert &#8211; Student</strong></address>
<p>Hi Robert, you would be talking about the likes of England right? Where the Govt has just proposed a similar scheme to our Govt to provide broadband to homes? Except they&#8217;ve got a time-frame similar to what Telecom Chorus in NZ have set, the end of 2011? Telecom Chorus in NZ have the goal of 10-20Mbps, with the current average being around 14-16Mbps I believe at the time of writing. Do you know how incredibly fast the English Govt is dedicated to bringing to their country? 1Mbps. That&#8217;s right, just 1 megabit. Sounds like a step backwards to me, but sure thing, if that&#8217;s what you really want?</p>
<p>So as you can see it&#8217;s all too easy for people to state opinion as fact. <strong>Of the 25 comments on that page, just two were &#8220;on the money&#8221;!</strong> One was from a &#8220;Software as a Service&#8221; provider, who has created web applications, and the other was just a generic comment about technology improving that was more a statement was &#8220;not wrong&#8221; than it was &#8220;correct&#8221;.</p>
<p>That&#8217;s a lot of mis-informed people having &#8220;their say&#8221; about something they clearly know nothing about!</p>
<p>Is this a bad thing?</p>
<p>I&#8217;m all for the right to an opinion, as you can no doubt tell I have a very strong opinion on specific topics. I regularly state my opinion as fact, usually because it&#8217;s something I&#8217;m well-informed about.</p>
<p>Because I like scenarios, I&#8217;ll ask you this: Can you imagine asking your mechanic for advice on renovating your bathroom? Sure your mechanic may have done their own home renovations here and there, but at the end of the day their advice doesn&#8217;t supersede advice that you can get from somebody else such as a qualified and well-educated bathroom specialist, nor does it really make the mechanic qualified to make comments about how the Govt should invest in fixing up &#8220;leaky homes&#8221; does it? The problem is tracking down these bathroom specialists because they are so rare.</p>
<h2>Food for thought</h2>
<p>So how do we wade through all these varying opinions, many of which are obviously <span style="text-decoration: underline;">grossly mis-informed</span> and half the time downright <strong>incorrect</strong>?</p>
<p>How do we know when we are &#8220;well informed&#8221; on a topic, or educated about something? I feel the state of broadband in NZ (And fibre to the home) is something I&#8217;m well informed on, because even though I have no qualifications, I live and breath it for 10+ hours a day. What about a Uni graduate who&#8217;s just done Computer Science, but never seen broadband outside of their own home connection?</p>
<p>How do we battle the rapidly growing trend that because people have learned to use a keyboard, they suddenly their human right to state their opinion as fact to all who hear?</p>
<p>How do you tell the difference between fact and opinion? Is it the number of page views, or &#8220;likes&#8221; that a Facebook status update gets?</p>
<p>How do you educate the masses? Showing them &#8220;Hey you were close, but still off the mark&#8221; as well as &#8220;Dude you&#8217;re totally wrong, reality is over there at the opposite end of the scale&#8221;.</p>
<p>Is there a way we can simply shut up people who have no idea, yet rant on and on like they do? Going back to John Keys Facebook page, the amount of negative comments on there from people, again most of whom are grossly mis-informed, is terrible? What happened to the days when we built each other up, both as a country, and as the human race?</p>
<p>Is there a way we can educate people, and to show them it&#8217;s OK to have an opinion, that it&#8217;s not what was said, but rather how it was said?</p>
<p>Is there a way we can build up a spirit of encouragement, where we get alongside people and build them up, rather than pulling them down at the first chance we get? New Zealand is fast discovering it actually deserves the badge of &#8220;Suffering from <a href="http://en.wikipedia.org/wiki/Tall_poppy_syndrome" >Tall Poppy Syndrome</a>&#8220;, but I fail to see why so many people wear that badge proudly.</p>
<p>Is it possible to show people that it <span style="text-decoration: underline;">is</span> possible to have something constructive to say, rather than just destructive comments?</p>
<p>Can people be shown that just because they have a keyboard and a monitor to hide behind, that doesn&#8217;t negate the fact that there are real people at the other end of the internet connection?</p>
<p>I&#8217;m reminded of the phrase &#8220;<em>It is better to let somebody think a fool of you, than to open your mouth and prove it so</em>&#8220;.</p>
<p>As always I&#8217;m more than interested in any feedback or comments that people have around this topic, please feel free to have your say, though constructive comments are appreciated over all else.</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/06/09/the-rise-of-the-wrong-opinion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why after years of Windows / Linux, I bought a Macbook</title>
		<link>http://lazy.geek.nz/2010/06/08/why-after-years-of-windows-linux-i-bought-a-macbook/</link>
		<comments>http://lazy.geek.nz/2010/06/08/why-after-years-of-windows-linux-i-bought-a-macbook/#comments</comments>
		<pubDate>Tue, 08 Jun 2010 07:13:38 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Macbook]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Personal Rantings]]></category>
		<category><![CDATA[Product Reviews]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=217</guid>
		<description><![CDATA[So after being a Microsoft user since back in the days of MSDOS &#38; Windows 3.1, and I&#8217;ve been using Linux on and off for the last decade now. I&#8217;m still not a fan of Mac Zealots in any way, shape or form. They piss me off no end, and I don&#8217;t have time for [...]]]></description>
			<content:encoded><![CDATA[<p>So after being a Microsoft user since back in the days of MSDOS &amp; Windows 3.1, and I&#8217;ve been using Linux on and off for the last decade now. I&#8217;m still not a fan of Mac Zealots in any way, shape or form. They piss me off no end, and I don&#8217;t have time for their nonsense and superiority.</p>
<p><span id="more-1431"></span></p>
<p>What I can appreciate is the quality of the Mac hardware. From the iPhone to the Magic Mouse to the Macbook, the hardware is *nice*. Sure you can compare it to similar models from the likes of Dell, Toshiba, HP or Asus and it generally works out marginally more expensive, but what I&#8217;m getting at, is that there are some very valid reasons why you would want to (Or why I wanted to) get one over a traditional windows-based machine.</p>
<p>This isn&#8217;t about to become a windows-bashing exercise, but my thoughts on some of the good and the bad around my new Macbook.</p>
<p><strong>Note:</strong> I&#8217;ve already noticed that a newer model is out in April, I&#8217;ve only had mine 2 months, it must have just come out after I purchased mine. That said I bought mine from PBTech instead of from Apple or Magnum Mac, and got mine for just under $1500 Incl GST. The improved graphics card would have been a nice bonus, but I&#8217;m not complaining.<br />
<span id="more-217"></span></p>
<h2>I&#8217;ll look at the Hardware first.</h2>
<p>The single-sheet glass touchpad is so nice, for me it was essentially like having an iPhone as a touchpad, and the two-finger scroll, pinch to zoom, things like that. It&#8217;s a nice quality touchpad, that you very quickly adjust to. Somehow, I&#8217;ve not once had an accidental mis-click from resting the palms of my hands on it, though I&#8217;m certain it happens semi-regularly as I have that issue with almost every other laptop.</p>
<p>The screen is very nicely balanced compared to the rest of the laptop, when you open it you don&#8217;t have to hold down the base as you do with so many other laptops. How this is accomplished, I&#8217;m unsure, but it lifts so well and it holds its position no matter where you stick it, half closed, standing upright, wherever.</p>
<p>The Magic Mouse is an absolutely awesome mouse, being able to scroll up, down, left, right, and it&#8217;s just such a nice mouse. Being bluetooth is great because it means that I don&#8217;t have to worry about having a dongle, even though you can get the Micro receiver mice.</p>
<p>One of my favorite features is the mag-lock AC Power adapter. Having it magnetized is awesome, the number of times I&#8217;ve had it get pulled out, rather than place strain on it, I can see it saving both the laptop motherboard AND the power adapter, it&#8217;s something that *all* laptops should have! Seriously an incredibly useful feature. A few times it&#8217;s even saved the laptop from flying off the couch.<br />
My family goes through a fair few laptops, and the most common reason for them failing is the power adapter, where it plugs in to the laptop. It&#8217;s happened now on a couple of Acers, an HP, an Asus, so none are immune to it.</p>
<p>The battery life on it is freaking awesome, I&#8217;ve done over 4 hours of solid 3D gaming on battery, using WiFi and Bluetooth, and it still had some juice left in it. That&#8217;s crazy! I rarely shut the device down because it resumes from standby instantly, and can stay in standby for a day or two and the battery barely takes a hit.</p>
<p>I don&#8217;t know what it is about that Keyboard either, but it&#8217;s just plain nice to use!</p>
<p>The LED screen is absolutely stunning. It&#8217;s very bright, looks great in all light, and I&#8217;ve never seen such a nice screen on any laptop as this.</p>
<p>Hardware = 10 / 10</p>
<h2>Then we get to the software</h2>
<p>To be honest the Mac OS is nothing super special. One thing I find is that more and more I&#8217;m doing less and less in the OS and more and more in the browser itself.</p>
<p>It starts up nice and quick, shuts down fast, it behaves well with respect to asking for Administrative privileges unlike Windows. It&#8217;s basically on par with how well Linux does it, only asking for the password when it needs it, when you could potentially be hosing the whole system.</p>
<p>I use Chrome on Windows, Linux &amp; now MacOS, so I don&#8217;t really care for Safari, though it shares a lot of similarities with Chrome, it&#8217;s certainly a better browser than IE.</p>
<p>Quicktime is nothing short of a PITA which I can&#8217;t stand, but installing some random add-in that I found allowed me to play back some non-default-supported codecs and formats such as MKV video. VideoLAN Client also does the same job.</p>
<p>It works nicely with networking too, potentially better with Windows shares than Windows itself. Most of the time when I access my Win7 Desktop, 3/4 the shares are open, but theres 1/4 that need a password. If I&#8217;m accessing it from any other windows device they usually just fail. From MacOS I was able to easily hit a button and authenticate with the correct Username and Password details.</p>
<p>Installation of applications is nice, mostly it&#8217;s just &#8220;drag and drop&#8221; to the Applications folder. Same for uninstallation, just drag it to the trash.</p>
<p>It&#8217;s also nice not to have to worry about the likes of Anti-Virus or Spyware. While I&#8217;m not saying Macs are vulnerability free, it&#8217;s still nice.</p>
<p>The way things tie in is also quite nice, like the ability to drag an image from the browser to the desktop just saves it.</p>
<p>Parallels is also pretty cool, albeit a bit slow. The system really needs a little more than 2GB RAM to be fully happy running Parallels without taking a decent performance hit. Lucky for me I don&#8217;t need to use Parallels, as everything I do there are Mac-native apps for, or it can be done from the browser.</p>
<p>It&#8217;s not an issue opening the likes of windows stuff such as MS Word, Excel or Powerpoint files, and I must admit that iWork is pretty nice. Using Keynote was relatively simple, fast, and the output options are great such as to a Video File, or PDF. +1 to the score there!</p>
<h3>Then there&#8217;s the stupid things.</h3>
<p>If you&#8217;ve got multiple monitors, and you thought it was bad in Windows having the Start menu on the wrong window, you should try a Mac. Having the top application menu on the wrong window is even worse! It was simply not well thought-out.</p>
<p>Tried taking a screenshot? Who opens the &#8220;Preview&#8221; application to do that? Honestly?</p>
<p>There&#8217;s a few other stupid things like that, but lets just say that with all it&#8217;s nice features, there&#8217;s just as many dumb things too.</p>
<p>I would liken it to a Linux distro with some more spit n polish, but after using the latest Ubuntu 10.04, I don&#8217;t even quite think it&#8217;s on-par with that.</p>
<p>So, while it&#8217;s nice in some places and rough in others, all I care about is the ability to load a Browser, so I have to admit I&#8217;d rather have the likes of Ubuntu Linux 10.04.</p>
<h2>Overall</h2>
<p>Things work quite well. The package as a whole is great, and things generally tie in quite well.</p>
<p>To be frank I&#8217;d probably only buy Macbooks for laptops, though I like the ability to upgrade Desktops too much to buy a Mac desktop machine. The quality of the hardware is the big thing for me, and it&#8217;s a real big thing! It truly is top-notch.</p>
<p>I&#8217;m not so sure about the rest, but thankfully for me it doesn&#8217;t matter terribly much. It&#8217;s not that much of a learning curve compared to what most people think, and to be honest you could sit down most semi-literate people and they&#8217;d have no worries. Of course if you were to take your grandma or those people who for some reason can&#8217;t deal with change, they&#8217;d naturally throw a wobbly about the minor differences. However, they&#8217;re just that, minor differences.</p>
<p>Should you buy a Macbook? Yeah, definitely. Don&#8217;t expect it to be identical to Windows, but if you can get over that you&#8217;ll really enjoy them. I&#8217;m yet to find somebody else who&#8217;s used my Macbook who hasn&#8217;t liked it, when most of them come from a windows background. Should you stick with MacOS on the hardware? To be honest you could install Windows 7 or Linux on to it and probably just as happy either way, if there was no way you could live without Windows. Seems a bit silly because it&#8217;ll cost you a fair bit, and if you were going to go with a Mac you might as well use Mac software and make it work for you, but again, it&#8217;s realistically a small detail.</p>
<p>I would however be interested in running a small business from Macs, with a Mac server, however for me I&#8217;m happy with Google Apps for email etc, it works well enough for me.</p>
<p>As always the usual disclaimer applies, and the last thing I&#8217;m looking to do is to get into a debate with Mac / Windows / Linux fanboys in any way, shape or form. That said if you have a genuine question I&#8217;d be more than happy to answer it.</p>
<p>Cheers</p>
<p>Chill.</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/06/08/why-after-years-of-windows-linux-i-bought-a-macbook/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Billing for Helpdesk-style inbound calls with A2Billing</title>
		<link>http://lazy.geek.nz/2010/06/03/billing-for-helpdesk-style-inbound-calls-with-a2billing/</link>
		<comments>http://lazy.geek.nz/2010/06/03/billing-for-helpdesk-style-inbound-calls-with-a2billing/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 23:24:13 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[A2Billing]]></category>
		<category><![CDATA[Asterisk]]></category>
		<category><![CDATA[Call billing]]></category>
		<category><![CDATA[Elastix]]></category>
		<category><![CDATA[FreePBX]]></category>
		<category><![CDATA[Helpdesk]]></category>
		<category><![CDATA[How-To's / Guides / Tech info]]></category>
		<category><![CDATA[Star2Billing]]></category>
		<category><![CDATA[Support]]></category>

		<guid isPermaLink="false">http://www.c2s.co.nz/blog/?p=279</guid>
		<description><![CDATA[When you want to on-bill &#8220;customers&#8221; of any description for Calls, A2Billing really is the best solution. Having investigated several others, it appeared that A2Billing was not only incredibly flexible, but extensible, and should be able to do just what I need. The problem lies in getting it setup. Considering this wasn&#8217;t a &#8220;standard&#8221; request, [...]]]></description>
			<content:encoded><![CDATA[<p>When you want to on-bill &#8220;customers&#8221; of any description for Calls, A2Billing really is the best solution. Having investigated several others, it appeared that A2Billing was not only incredibly flexible, but extensible, and should be able to do just what I need. The problem lies in getting it setup. Considering this wasn&#8217;t a &#8220;standard&#8221; request, I decided to enlist the help of Joe Roper. He had been very prompt with Forum answers, but because of the uniqueness of the situation I felt it best to go for Paid Support.</p>
<p><span id="more-1433"></span></p>
<p>I can safely say it was well worth the money. The support was top notch and Joe really knew his stuff.</p>
<p>In under an hour, we have a system that will let us bill customers for their calls in to your PBX, for example if you were doing a Helpdesk / Support-style offering to your customers. Because it&#8217;s for regular support customers (Not once-off customers), the first time they call in it will prompt them for their PIN. After that, it will remember their PIN based on the incoming Caller ID.</p>
<p>I&#8217;ve also been encouraged to do this write-up on the process of billing for inbound calls with A2Billing. While it&#8217;s not the most straight-forward setup, once explained you should have a fair idea on how it works and how to modify it. The A2Billing guys have been nice enough to let me post up this How-To for everybody else to enjoy! Don&#8217;t forget if you need assistance at any stage, head on over to <a href="http://www.star2billing.com/">http://www.star2billing.com</a> and contact their sales team, they&#8217;ll be most happy to assist with this sort of setup.</p>
<p><span id="more-279"></span></p>
<p>This has been moved to here: <a title="A2Billing Forums" href="http://forum.asterisk2billing.org/viewtopic.php?f=5&amp;t=7741" >http://forum.asterisk2billing.org/viewtopic.php?f=5&amp;t=7741</a></p>
<p>We apologize for any inconvenience.</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/06/03/billing-for-helpdesk-style-inbound-calls-with-a2billing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Wave is now available, and on your domain too!</title>
		<link>http://lazy.geek.nz/2010/05/26/google-wave-is-now-available-and-on-your-domain-too/</link>
		<comments>http://lazy.geek.nz/2010/05/26/google-wave-is-now-available-and-on-your-domain-too/#comments</comments>
		<pubDate>Tue, 25 May 2010 22:11:55 +0000</pubDate>
		<dc:creator>chillingsilence</dc:creator>
				<category><![CDATA[Custom URL]]></category>
		<category><![CDATA[DNS]]></category>
		<category><![CDATA[GAFYD]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[Google Wave]]></category>
		<category><![CDATA[How-To's / Guides / Tech info]]></category>
		<category><![CDATA[Wave]]></category>

		<guid isPermaLink="false">http://chillingsilence.wordpress.com/?p=271</guid>
		<description><![CDATA[Yes, that&#8217;s right, if you&#8217;re using Google Apps for your Domain, you can now enable Wave domain-wide! Best part is it&#8217;s totally free, and very easy to dive right in!
Google Wave has been in private-beta status since Google I/O 2009, and one year later it&#8217;s being opened to the public.
Google Wave is a realtime multi-user [...]]]></description>
			<content:encoded><![CDATA[<p>Yes, that&#8217;s right, if you&#8217;re using Google Apps for your Domain, you can now enable Wave domain-wide! Best part is it&#8217;s totally free, and very easy to dive right in!</p>
<p>Google Wave has been in private-beta status since Google I/O 2009, and one year later it&#8217;s being opened to the public.</p>
<p><span id="more-809"></span></p>
<p>Google Wave is a realtime multi-user combination of both Instant Messaging, Email and Document collaboration service. Basically it means that as you write, the other people who are in the Wave with you (Think of it like a chat conversation) see what is being typed as it happens.</p>
<p>So, how do we get started?</p>
<p>If you already have Google Apps for your Domain, you can easily enable this feature for all of your accounts.</p>
<p><span id="more-271"></span>To enable this, simply login to your Google Domain dashboard:</p>
<p>https://www.google.com/a/cpanel/yourdomain.com/Dashboard</p>
<p>Obviously adjust yourdomain.com to your actual domain.</p>
<p>It will probably prompt you for your password.</p>
<p>When you&#8217;re logged in, you should see a list of of all your enabled services, such as Email, Calendar etc</p>
<p>You want to click on &#8220;Add more services&#8221; which is just above the enabled services.</p>
<p>You&#8217;ll be taken to a new screen where you can select the service you wish to Add to your domain, in this case you want to select Wave.</p>
<p>Anyways, follow your nose a little, but one useful thing that I found was the ability to change the url you access your domains Waves from, much like you can with mail. For example, instead of using:</p>
<p>https://wave.google.com/a/yourdomain.com/</p>
<p>You can have:</p>
<p>https://wave.yourdomain.com/</p>
<p>Much better!</p>
<p>To do this, all you need is to add a CNAME record from wave.yourdomain.com to ghs.google.com</p>
<p>Then, back in your Google Apps Dashboard, if you click on Google Wave, it&#8217;ll take you to the subpage to edit the Wave settings for the domain. The first option is: Web Address</p>
<p>Click on Change URL, then enter in your custom URL just as you&#8217;ve set it up with your DNS provider.</p>
<p>All done!</p>
<p>Stay tuned as I look to migrate blog hosts to my own provider, so I can start playing around a lot more with Wave and other fun things.</p>
<p>As always, if this has helped you, please leave me a quick message just to say Hi.</p>
<p>Cheers</p>
<p>Chill.</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/05/26/google-wave-is-now-available-and-on-your-domain-too/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to setup Apache2 and WordPress</title>
		<link>http://lazy.geek.nz/2010/05/23/how-to-setup-apache2-and-wordpress/</link>
		<comments>http://lazy.geek.nz/2010/05/23/how-to-setup-apache2-and-wordpress/#comments</comments>
		<pubDate>Sun, 23 May 2010 04:36:51 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://lazy.geek.nz/?p=563</guid>
		<description><![CDATA[In this post I will explain how I do my apache2 setups, and show you how to setup a wordpress blog on this setup. First off, you will want to start with a blank Linux system if you can. If not things could get messy Run this command to install all the required tools: www:~/apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>In this post I will explain how I do my apache2 setups, and show you how to setup a wordpress blog on this setup.</p>
<p>First off, you will want to start with a blank Linux system if you can. If not things could get messy</p>
<p><span id="more-563"></span></p>
<p>Run this command to install all the required tools:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">www:~<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> apache2 libapache2-mod-php5 mysql-server mysql-client php5-mysql build-essential</pre></div></div>

<p style="text-align: center;"><a href="http://lazy.geek.nz/wp-content/uploads/2010/05/1.png"><img class="size-medium wp-image-571 aligncenter" title="Install" src="http://lazy.geek.nz/wp-content/uploads/2010/05/1-300x190.png" alt="" width="300" height="190" /></a></p>
<p>Now, enable mod_rewrite</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">www:<span style="color: #000000; font-weight: bold;">/</span><span style="color: #666666; font-style: italic;"># a2enmod rewrite</span></pre></div></div>

<p>Switch to /var/www:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"> www:<span style="color: #000000; font-weight: bold;">/</span><span style="color: #666666; font-style: italic;"># cd /var/www</span></pre></div></div>

<p>Next, run this command (modified for your use) to create the directory structure (domain in this example is blog.home.volturi.co.nz)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">www:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #666666; font-style: italic;"># mkdir -p nz/co/volturi/home/blog/web/pub</span></pre></div></div>

<p>If your domain was blog.google.com the command would be:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">www:<span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>www<span style="color: #666666; font-style: italic;"># mkdir -p com/google/blog/web/pub</span></pre></div></div>

<p>Next you need to create the file /etc/apache2/drmap.c with the following content:</p>

<div class="wp_syntax"><div class="code"><pre class="c" style="font-family:monospace;"><span style="color: #339933;">#include stdio.h</span>
<span style="color: #339933;">#include string.h</span>
&nbsp;
<span style="color: #339933;">#define BUF_SIZE 4096</span>
&nbsp;
<span style="color: #993333;">int</span> main<span style="color: #009900;">&#40;</span><span style="color: #993333;">void</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
  <span style="color: #993333;">char</span> host<span style="color: #009900;">&#91;</span>BUF_SIZE<span style="color: #009900;">&#93;</span><span style="color: #339933;">;</span>
  <span style="color: #993333;">char</span> <span style="color: #339933;">*</span>pos<span style="color: #339933;">;</span>
  <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>fgets<span style="color: #009900;">&#40;</span>host<span style="color: #339933;">,</span> BUF_SIZE<span style="color: #339933;">,</span> stdin<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
    pos <span style="color: #339933;">=</span> host <span style="color: #339933;">+</span> strlen<span style="color: #009900;">&#40;</span>host<span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #0000dd;">1</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">if</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">*</span>pos <span style="color: #339933;">==</span> <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\n</span>'</span><span style="color: #009900;">&#41;</span>
      <span style="color: #339933;">*</span>pos <span style="color: #339933;">=</span> <span style="color: #ff0000;">'<span style="color: #006699; font-weight: bold;">\0</span>'</span><span style="color: #339933;">;</span>
    <span style="color: #b1b100;">while</span><span style="color: #009900;">&#40;</span>pos <span style="color: #339933;">=</span> strrchr<span style="color: #009900;">&#40;</span>host<span style="color: #339933;">,</span> <span style="color: #ff0000;">'.'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%s/&quot;</span><span style="color: #339933;">,</span> pos <span style="color: #339933;">+</span> <span style="color: #0000dd;">1</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
      <span style="color: #339933;">*</span>pos <span style="color: #339933;">=</span> <span style="color: #ff0000;">'<span style="color: #006699; font-weight: bold;">\0</span>'</span><span style="color: #339933;">;</span>
    <span style="color: #009900;">&#125;</span>
    <span style="color: #000066;">printf</span><span style="color: #009900;">&#40;</span><span style="color: #ff0000;">&quot;%s<span style="color: #000099; font-weight: bold;">\n</span>&quot;</span><span style="color: #339933;">,</span> strcmp<span style="color: #009900;">&#40;</span>host<span style="color: #339933;">,</span> <span style="color: #ff0000;">&quot;www&quot;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">?</span> host <span style="color: #339933;">:</span> <span style="color: #ff0000;">&quot;&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
    fflush<span style="color: #009900;">&#40;</span>stdout<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
  <span style="color: #009900;">&#125;</span>
  <span style="color: #b1b100;">return</span> <span style="color: #0000dd;">0</span><span style="color: #339933;">;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

<p>This code will do the mapping required for dynamic vhosts.</p>
<p><a href="http://lazy.geek.nz/wp-content/uploads/2010/05/2.png"><img class="aligncenter size-medium wp-image-583" title="drmap" src="http://lazy.geek.nz/wp-content/uploads/2010/05/2-300x227.png" alt="" width="300" height="227" /></a></p>
<p>Now compile drmap</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">www:<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>apache2<span style="color: #666666; font-style: italic;"># gcc drmap.c -o drmap</span></pre></div></div>

<p>Now, replace /etc/apache2/sites-available/default with the following:</p>
<pre>RewriteMap drmap prg:/etc/apache2/drmap

RewriteEngine On
# Global directory aliases
RewriteRule ^/icons/(.*)$ /usr/share/apache2/icons/$1 [L]
RewriteRule ^/phpmyadmin(.*)$ /usr/share/phpmyadmin$1 [L]

# Catchall vhost mapping
RewriteRule ^(.+)$ /var/www/${drmap:%{HTTP_HOST}}/web/pub/$1

Options FollowSymLinks
AllowOverride None

Options Indexes FollowSymLinks -MultiViews
AllowOverride All
Order allow,deny
allow from all

ErrorLog /var/log/apache2/error.log

# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn

CustomLog /var/log/apache2/access.log combined</pre>
<p><a href="http://lazy.geek.nz/wp-content/uploads/2010/05/3.png"><img class="aligncenter size-medium wp-image-609" title="Default" src="http://lazy.geek.nz/wp-content/uploads/2010/05/3-300x189.png" alt="" width="300" height="189" /></a></p>
<p>Don&#8217;t forget to restart apache!</p>
<pre>
www:/# /etc/init.d/apache2 restart
</pre>
<p>Add the following to the hosts file of your client:</p>
<pre>
10.124.24.34 blog.home.volturi.co.nz
</pre>
<p>Of course replace the IP with the IP of your server, and the domain with the domain that you setup.</p>
<p>Now load up blog.home.volturi.co.nz in your browser.<br />
<a href="http://lazy.geek.nz/wp-content/uploads/2010/05/82.png"><img src="http://lazy.geek.nz/wp-content/uploads/2010/05/82-300x180.png" alt="" title="Blank" width="300" height="180" class="aligncenter size-medium wp-image-651" /></a></p>
<p>You&#8217;re all done!</p>
]]></content:encoded>
			<wfw:commentRss>http://lazy.geek.nz/2010/05/23/how-to-setup-apache2-and-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
