<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0">
 
 <title>Eadz :: Blog</title>
 
 <link href="http://www.eadz.co.nz/" />
 <updated>2010-12-22T13:40:19+13:00</updated>
 <id>http://www.eadz.co.nz/</id>
 <author>
   <name>Eaden McKee</name>
   <email>eadz@eadz.co.nz</email>
 </author>

 
 <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/eadz" /><feedburner:info uri="eadz" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:browserFriendly>This is an XML content feed. It is intended to be viewed in a newsreader or syndicated to another site, subject to copyright and fair use.</feedburner:browserFriendly><entry>
   <title>Trademe's New API</title>
   <link href="http://www.eadz.co.nz/blog/article/trademe-api.html" />
   <updated>2010-12-22T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/trademe-api</id>
   <content type="html">&lt;p&gt;If you haven't already heard, &lt;a href="http://www.trademe.co.nz/"&gt;Trademe&lt;/a&gt; has recently released a &lt;a href="http://developer.trademe.co.nz/"&gt;public API&lt;/a&gt;. I believe this is big news, as Trademe is arguably the biggest thing on the .NZ Web.&lt;/p&gt;

&lt;p&gt;Over at &lt;a href="http://www.webforce.co.nz/"&gt;Webforce&lt;/a&gt;, I have been busy integrating with the Trademe ( and &lt;a href="http://www.xero.com/"&gt;Xero&lt;/a&gt; ) API for various customers. &lt;/p&gt;

&lt;p&gt;Trademe uses this API internally for their &lt;a href="http://www.trademe.co.nz/community/announcements/post/954/official-trade-me-iphone-application-out-today"&gt;iPhone App&lt;/a&gt;, which is quite nifty and worth checking out! The app also gives you an idea of what is possible through the API. However the possibilities are quite large. &lt;/p&gt;

&lt;p&gt;I see Trademe API integrations breaking down mainly into Buyer apps and Seller apps.&lt;/p&gt;

&lt;h2&gt;Three examples of Trademe API Buyer Apps&lt;/h2&gt;

&lt;p&gt;One of the first Buying apps was based on this XKCD Comic: &lt;br/&gt;&lt;a href="http://xkcd.com/576/"&gt;&lt;img src="http://imgs.xkcd.com/comics/packages.png" alt="Trademe Buying App" width="590"/&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The bot will automatically buy small value items from Trademe. Not the most useful application of the Trademe API, but entertaining none the less! You can read more about it &lt;a href="http://bieh.net/2010/11/08/xkcd-576/"&gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Other 'buyer' type apps may involve reformatting Trademe listing data to be easier to use. For example &lt;a href="http://findmyflat.co.nz/"&gt;Find my Flat&lt;/a&gt; uses Trademe's real estate data and displays it on a Google Map. This provides the buyer different a more visual representation of where available flats are. &lt;/p&gt;
	
&lt;p&gt;Another good example is &lt;a href="http://www.magiccards.co.nz/"&gt;MagicCards.co.nz&lt;/a&gt; ( Made by myself @ Webforce ). It allows the buyer to browse trademe listings by sorting and searching by methods not available on Trademe. For example, Magic Card buyers would otherwise have to manually look through the entire card listings on trademe to find all of the cards from a particular set ( regular release of cards ). &lt;/p&gt;
 
&lt;h2&gt;Seller Apps&lt;/h2&gt;
&lt;p&gt;Apps for helping sellers will come thick and fast. At &lt;a href="http://www.webforce.co.nz/"&gt;Webforce&lt;/a&gt; I have made 3 so far, and these will be released in the new year. I do custom work for power sellers on Trademe to enable them to automate various parts of their business, for example listing products based on their product database and processing orders automatically and quickly as they come in saving many man hours of manual work.&lt;/p&gt;

&lt;h2&gt;The API itself&lt;/h2&gt;
&lt;p&gt;The API itself will be familiar to many as a 'RESTful' API. It can output in various formats such as XML and JSON, and the authentication is done via oAuth.&lt;/p&gt;

&lt;p&gt;I use Ruby on Rails and the Ruby oAuth gem to connect with Trademe, however the API can be accessed from any languages you might want to use as it is an open web based API.&lt;/p&gt;
	
&lt;p&gt;For a young API, I am impressed. While it doesn't cover everything, it does expose a lot of Trademe to API developers. Xero also has an API I use, and by comparison even basic stuff is still missing ( such as customer balances ) - and Xero has had an API for much longer than Trademe&lt;br/&gt; - so I just say 'Good Work' Trademe.&lt;/p&gt;




</content>
 </entry>
 
 <entry>
   <title>How Vodafone broke my hosts file and redefined "tech" in the process</title>
   <link href="http://www.eadz.co.nz/blog/article/how-vodafone-broke-my-hosts-file-and-redefined-tech.html" />
   <updated>2010-08-24T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/how-vodafone-broke-my-hosts-file-and-redefined-tech</id>
   <content type="html">&lt;p&gt;&lt;i&gt;This post is going to be very technical, so to my non-technical readers ( and &lt;a href="http://www.vodafone.co.nz/"&gt;Vodafone&lt;/a&gt; tech support, see below ), I apologize.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;Among other things, I am a web developer. Part of a web developer's job is to get the website up and running on a web server. Sometimes we need to change websites from one server to another. Often when doing this we rely on our "hosts" file to override the IP address our browser tries to connect to. Before I go any further, if I've lost you already, there no point carrying on.&lt;/p&gt;

&lt;p&gt;So you type in www.eadz.co.nz into your browser. Your browser asks your OS for the IP address of www.eadz.co.nz through the DNS system.  Once we have the IP address, say 1.2.3.4 our browser connects to port 80 of 1.2.3.4 and starts a HTTP dialogue to request the web page www.eadz.co.nz. Right? Well with vodafone, wrong!&lt;/p&gt;

&lt;p&gt;The end result of whatever proxy/routing/cisco magic Vodafone is using is that Vodafone completely ignores the IP address when I visit a site, causing the hosts file not to work.&lt;/p&gt;

&lt;p&gt;A quick demonstration; lets telnet to Google's server and ask for Yahoo's website. In a ISP setup this wouldn't work. &lt;/p&gt;

&lt;pre&gt;
telnet google.com 80
Trying 66.102.11.104...
Connected to google.com.
Escape character is '^]'.
GET / HTTP/1.1                  
Host: www.yahoo.com

HTTP/1.1 302 Found
Date: Mon, 16 Aug 2010 18:38:30 GMT
P3P: policyref="http://info.yahoo.com/w3c/p3p.xml", CP="...snip..."
Cache-Control: private
Location: http://nz.yahoo.com/?p=us
Vary: Accept-Encoding
Content-Type: text/html; charset=utf-8
Age: 0
Server: YTS/1.18.5
......
&lt;/pre&gt;

&lt;p&gt;As you can see I get a response redirecting me to nz.yahoo.com, this response did not come from the ip address 66.102.11.104 which I tried to telnet to, but from what Vodafone believes yahoo's servers to be. &lt;/p&gt;

&lt;p&gt;It is easy to see how this breaks the hosts file. You put an entry of 123.123.123.123 www.mydomain.com in your hosts file and you try to visit the site. While your browser will try to connect to the IP 123.123.123.123 vodafone will intercept this request and instead ask whatever IP Vodafone believes to belong to www.mydomain.com instead for the website. &lt;/p&gt;

&lt;p&gt;For another couple of examples of this sillyness, lets connect to an unassigned IPv4 address. With IPv4 addresses &lt;a href="http://www.potaroo.net/tools/ipv4/index.html"&gt;running out very soon&lt;/a&gt; this demonstration will no longer be possible. So lets to go IANA and look for the &lt;a href="http://www.iana.org/assignments/ipv4-address-space/ipv4-address-space.xml"&gt;blocks of unassigned ip addresses&lt;/a&gt;. So 105/8 is unallocated.. so there should be no website there right? Especially IANA's..  &lt;/p&gt;

&lt;pre&gt;
telnet 105.1.1.1 80
Trying 105.1.1.1...
Connected to 105.1.1.1.
Escape character is '^]'.
GET / HTTP/1.1
Host: www.iana.org

HTTP/1.1 200 OK
Server: Apache/2.0.63 (CentOS)
Accept-Ranges: bytes
Content-Type: text/html; charset=UTF-8
Date: Tue, 31 Aug 2010 08:51:02 GMT
Content-Length: 5200
Connection: Keep-Alive
Age: 203

&amp;lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML
&amp;lt;html xmlns="http://www.w3.org/1999/xhtml" 
&amp;lt;head&gt;
	&amp;lt;title&gt;IANA &amp;mdash; Internet Assigned Numbers Authority&amp;lt;/title&gt;


&lt;/pre&gt;

&lt;p&gt;So once I had decided my hosts problem was due to Vodafone, I called them up. I tried both the consumer internet support and the business line, and neither contact centers had anyone who could help me, due no no-one knowing much about how HTTP works. I'm under no illusion that for the majority of people this crazy proxy stuff doesn't affect them, and that Vodafone's tech support will be perfectly adequate for most users. However it is a real shame that there was no one who could even discuss this matter with me. In frustration I asked if there was anyone there with a networking qualifications or computer science degree but I was told there was not, so my problem remains unsolved. &lt;/p&gt;

&lt;p&gt;So is this Tech support? Vodafone sells access to the Internet, and when it comes down to it the Internet is a collection of protocols.   So should their "Tech" support be able to support the protocols that make up the "Internet"? Or just Layer 7 services like email and web browsing? What does "Tech Support" from an ISP mean to you?&lt;/p&gt;

&lt;p&gt;With all that said this is not a dig at Vodafone, I'm pretty happy with their services and I don't expect much different from other large ISPs. In the interests of full disclosure I called at the weekend, but vodafone's website advertises "24/7 tech support" so this &lt;i&gt;shouldn't&lt;/i&gt; make a difference.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>2 Ruby on Rails security tips</title>
   <link href="http://www.eadz.co.nz/blog/article/rails-security.html" />
   <updated>2009-09-11T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/rails-security</id>
   <content type="html">&lt;p&gt;Working on open source rails applications, I sometimes come across security issues. Rails makes writing secure code reasonably easy - it's hard to make a SQL injection hole in a rails app without trying - but there are a couple of common issues I see repeatedly. &lt;/p&gt;

&lt;p&gt;Regular expressions are oven used for validation. However ruby's regexes can behave differently to what you'd expect. 
Say you're validating an IP address and you have a regular expression that matches an IP address, do not use /^[regex]$/, use /\A[regex]\z/ instead

&lt;p&gt;In ruby, the ^ and $ characters match the beginning and end of line. An attacker can bypass the validation by inserting a newline after a valid IP address, then whatever content he wants. \A and \z should be used instead of ^ and $ - they match the start and end of the string instead of the line. If you want to test out your ruby regular expressions, check out &lt;a href="http://rubular.com/"&gt;Rubular&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;This second tip is well known, but I'll mention it here because it's important. &lt;br/&gt;

I'm not going to repeat the API docs, so I'll just say, make sure you understand &lt;a href="http://api.rubyonrails.org/classes/ActiveRecord/Base.html#M002281"&gt;attr_accessible&lt;/a&gt;: and why you would want to use it. Hint: if you have an admin variable on a user model for example, and it isn't protected from mass assignment, I can become an admin by modifying a user edit form. &lt;/p&gt;

</content>
 </entry>
 
 <entry>
   <title>Best VPS for Ruby on Rails ( or anything )</title>
   <link href="http://www.eadz.co.nz/blog/article/best-vps.html" />
   <updated>2009-08-18T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/best-vps</id>
   <content type="html">&lt;p&gt;I have been using &lt;a href="https://clustered.net/aff.php?aff=102"&gt;Clustered.net&lt;/a&gt; for about 2 years. In that time the service has been excellent and there has been practically no downtime ( their record is 99.994% over the past 2 years ).&lt;/p&gt;
&lt;p&gt;What I like best is their redundancy &amp;#8211; redundant everything &amp;#8211; cisco switches, firewalls, disks, network cards etc. &lt;br /&gt;
I recommend if you are looking for a quality vps provider to check them out.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>RailsCamp AU 2009</title>
   <link href="http://www.eadz.co.nz/blog/article/railscamp.html" />
   <updated>2009-08-16T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/railscamp</id>
   <content type="html">&lt;p&gt;I&amp;#8217;m heading over to Melborne for &lt;a href="http://railscamps.com/#au_november_2009"&gt;RailsCamp #6&lt;/a&gt; on the 20th to 23rd of November. Any other Kiwi&amp;#8217;s going to join me for some RoR hacking?! If you haven&amp;#8217;t seen it already, check out &lt;a href="http://toolmantim.com/"&gt;ToolmanTim&amp;#8217;s&lt;/a&gt; awesome project from a previous rails camp, &amp;quot;bananajour &amp;quot;:http://toolmantim.com/articles/bananajour&lt;/p&gt;
&lt;p&gt;I&amp;#8217;m looking forward to meeting some other local and not-so-local &lt;a href="http://www.ror.co.nz/"&gt;Ruby on Rails&lt;/a&gt; developers. Should be great!&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>How to get Safari to open in new Tab instead of new Window</title>
   <link href="http://www.eadz.co.nz/blog/article/safari-open-tab-not-window.html" />
   <updated>2009-08-04T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/safari-open-tab-not-window</id>
   <content type="html">&lt;p&gt;When clicking a link in Safari, sometimes it will open a new window. If you want it to open in a Tab instead, use the following command in the Terminal, then restart safari.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;defaults write com.apple.Safari TargetedClicksCreateTabs -bool true&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Easy as that!&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Free Web Design Quote Service</title>
   <link href="http://www.eadz.co.nz/blog/article/free-web-design-quotes.html" />
   <updated>2009-06-18T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/free-web-design-quotes</id>
   <content type="html">&lt;p&gt;Recently launched, &lt;a href="http://www.quoter.co.nz/"&gt;Quoter&lt;/a&gt; is a free service for people looking for web design. If you&amp;#8217;re after a web site, pop your details into quoter.co.nz and up to 5 New Zealand web design companies will respond with quotes!&lt;/p&gt;
&lt;p&gt;Go get your free &lt;a href="http://www.quoter.co.nz/"&gt;web design quotes&lt;/a&gt;!&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>NZ Speed Camera Map</title>
   <link href="http://www.eadz.co.nz/blog/article/speed-camera-map.html" />
   <updated>2008-11-13T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/speed-camera-map</id>
   <content type="html">&lt;p&gt;My first mashup :) Take a gps file of new zealand speed camera locations, add in some google maps and you have a &lt;a href="http://www.eadz.co.nz/speed-camera-map/nz.html"&gt;map of nz fixed speed camera locations&lt;/a&gt;&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Google Aotearoa</title>
   <link href="http://www.eadz.co.nz/blog/article/google-aotearoa.html" />
   <updated>2008-09-16T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/google-aotearoa</id>
   <content type="html">&lt;p&gt;It seems google.co.nz is now available in M�?ori !&lt;br /&gt;
&lt;img src="http://www.eadz.co.nz/blog/bblog/pbimages/45e0f539c22e5914e3379dc5e2d93e42.gif" title="Google in the Maori language" alt="Google in the Maori language" /&gt;&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Free car rentals in New Zealand ( Relocation Deals )</title>
   <link href="http://www.eadz.co.nz/blog/article/free-car-rentals.html" />
   <updated>2008-09-01T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/free-car-rentals</id>
   <content type="html">&lt;p&gt;Maybe it&amp;#8217;s a well kept secret, maybe not, but it is possible to get free one way car rentals in New Zealand. Car rental companies sometimes have too many cars in one location and require them to be relocated. They give you free rental, and even pay for your ferry crossing if traveling between the North and South Islands. I used these free rentals a couple of months ago to travel from Dunedin to Auckland and back again. I got a free car from Dunedin to Christchurch, and from Christchurch to Auckland I got a 2007 4 berth camper van/motor home/&lt;acronym title="Recreational Vehicle"&gt;&lt;span class="caps"&gt;RV&lt;/span&gt;&lt;/acronym&gt;. The motor home wasn&amp;#8217;t free, I paid a token $5/day, but usually these are $120-$200/day so I&amp;#8217;m not complaining.&lt;/p&gt;
&lt;p&gt;Until now, if you wanted one of these deals you had to ring up all the car rental companies and ask if they had needed any cars relocated. But today a new site has launched which lists all these car rental relocation deals across New Zealand, &lt;a href="http://www.transfercar.co.nz/"&gt;http://www.transfercar.co.nz/&lt;/a&gt;. Enjoy!&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Commerce Commission's report on broadband, and why Woosh isn't in it.</title>
   <link href="http://www.eadz.co.nz/blog/article/commerce-commission-woosh.html" />
   <updated>2008-06-18T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/commerce-commission-woosh</id>
   <content type="html">&lt;p&gt;The NZ &lt;a href="http://www.comcom.govt.nz/"&gt;Commerce Commission&lt;/a&gt; released a report this week comparing the performance of New Zealand broadband providers. I was interested in the report to see what it has to say about the best ISPs. It turns out the Orcon, which happens to be govt owned ranked highly.&lt;/p&gt;
&lt;p&gt;So how did Woosh do?&lt;/p&gt;
&lt;p&gt;Well is woosh even broadband? According to &lt;a href="http://www.woosh.co.nz/"&gt;Woosh&amp;#8217;s webpage&lt;/a&gt;, yes, it is &lt;br /&gt;
bq. &amp;#8220;Woosh means personal, portable high-speed broadband and calling.&amp;#8221;&lt;/p&gt;
&lt;p&gt;What did the commerce commission say?&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&amp;#8230; because of limitations in the technical capability of its fixed wireless technology,&lt;br /&gt;
and therefore no longer attempts to directly compete with &lt;span class="caps"&gt;DSL&lt;/span&gt; providers. &amp;#8230;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I think they are right, to a point. Maybe one day Woosh will compete with broadband, but for the moment it&amp;#8217;s marketing material reads &amp;#8220;Woosh is much faster than dial-up.&amp;#8221;. I&amp;#8217;ll keep you posted on Woosh&amp;#8217;s progress at competing with Dial-up.&lt;/p&gt;
&lt;p&gt;See also &lt;a href="http://www.nzherald.co.nz/feature/story.cfm?c_id=1501833&amp;amp;objectid=10516545"&gt;NZ herald coverage&lt;/a&gt; and the &lt;a href="http://media.apn.co.nz/webcontent/document/pdf/NZBBI-IX%20Final%20for%20March%20quarter%202008.PDF"&gt;report in &lt;span class="caps"&gt;PDF&lt;/span&gt; format&lt;/a&gt;.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>New Zealand SEO Seminars &amp; Training</title>
   <link href="http://www.eadz.co.nz/blog/article/seo-seminar.html" />
   <updated>2008-01-30T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/seo-seminar</id>
   <content type="html">&lt;p&gt;Searchmasters are holding &lt;span class="caps"&gt;SEO&lt;/span&gt; (Search Engine Optimisation) seminars this year in Auckland on May the 19th to 20th. &lt;br /&gt;
&lt;a href="http://www.searchmasters.co.nz/seminars/a7/"&gt;More Details &amp;amp; Register&lt;/a&gt;&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>SimpleDB and ActiveRecord</title>
   <link href="http://www.eadz.co.nz/blog/article/simpledb-activerecord.html" />
   <updated>2007-12-16T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/simpledb-activerecord</id>
   <content type="html">&lt;p&gt;Amazon has announced &lt;a href="http://aws.amazon.com/simpledb"&gt;SimpleDB&lt;/a&gt; &amp;#8211; a database-like web service. While it has limitations, if an ActiveRecord adapter for Ruby on Rails can be made, these limitations could possibly be made transparent to the Ruby/Rails developer.&lt;/p&gt;
&lt;p&gt;As the service is limited beta, and I know of no one at this stage with access, it&amp;#8217;s a wait and see game.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Knol Forum</title>
   <link href="http://www.eadz.co.nz/blog/article/google-knol-forum.html" />
   <updated>2007-12-16T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/google-knol-forum</id>
   <content type="html">&lt;p&gt;&lt;a href="http://www.google.com/"&gt;Google&lt;/a&gt; has &lt;a href="http://googleblog.blogspot.com/2007/12/encouraging-people-to-contribute.html"&gt;announced Knol&lt;/a&gt;, which has been billed by some as a competitor to wikipedia.&lt;/p&gt;
&lt;p&gt;Ironically, the best article about Knol is at &lt;a href="http://en.wikipedia.org/wiki/Knol"&gt;Wikipedia&lt;/a&gt; with over 18 references.&lt;/p&gt;
&lt;p&gt;As for the title of the post, &lt;strong&gt;Knol Forum&lt;/strong&gt;, I plan to start a site dedicated to Knol, including at forum at &lt;a href="http://www.knolcentral.com/"&gt;www.knolcentral.com&lt;/a&gt; coming soon ( not live yet ).&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Will woosh get their act together in 2008? Or will they still suck?</title>
   <link href="http://www.eadz.co.nz/blog/article/woosh-2008.html" />
   <updated>2007-12-10T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/woosh-2008</id>
   <content type="html">&lt;p&gt;Woosh has been around for a number of years now, but the issues for customers continue. &lt;a href="http://www.geekzone.co.nz/paradoxsm/"&gt;paradoxsm&amp;#8217;s&lt;/a&gt; account was &lt;a href="http://www.geekzone.co.nz/paradoxsm/3341"&gt;cut with no warning&lt;/a&gt;. Paradoxsm&amp;#8217;s account on woosh was &amp;#8220;woosh&amp;#8221; and he claims to have received many emails from unhappy customers claiming &lt;a href="http://www.eadz.co.nz/blog/article/woosh-wireless.html"&gt;woosh does indeed suck&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The best part is that my username was &amp;#8220;woosh&amp;#8221;. I should reply to all those customers that emailed me showing their disgust for the company and say yes, woosh does suck..&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Paradoxsm is not alone with his view about woosh, as many users at geekzone are reporting &lt;a href="http://www.geekzone.co.nz/forums.asp?ForumId=41&amp;amp;TopicId=16850"&gt;slower-than-dialup speeds&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Even worse than just bad internet service, when canceling their account, some woosh customers are reporting that &lt;br /&gt;
&lt;a href="http://www.woosh.com/"&gt;Woosh&lt;/a&gt; wants to &lt;a href="http://www.geekzone.co.nz/forums.asp?ForumId=41&amp;amp;TopicId=16061"&gt;charge them a $99 disconnection fee&lt;/a&gt; even though they claim they were not on a contract.&lt;/p&gt;
&lt;p&gt;For more information and opinions about Woosh, check out &lt;a href="http://www.jamesforman.co.nz/content/view/12/30/"&gt;Woosh Sucks #1&lt;/a&gt; and &lt;a href="http://www.davidpetrie.com/?p=92"&gt;Woosh Sucks #2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Until next time..&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Xen on Ubuntu Gutsy</title>
   <link href="http://www.eadz.co.nz/blog/article/xen-gutsy.html" />
   <updated>2007-12-06T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/xen-gutsy</id>
   <content type="html">&lt;p&gt;Xen is awesome, and so is Ubuntu, but there are some bugs in the ubuntu xen packages. However, these have easy fixes and you can be up and running on xen in a matter of minutes.&lt;/p&gt;
&lt;p&gt;This is a quick walkthrough of getting it working with gutsy as Dom0 ( host ) and gutsy as the DomUs  ( virtual machines ), however it&amp;#8217;s not a complete how-to. If you are unsure about an aspect ( e.g. &lt;span class="caps"&gt;LVM&lt;/span&gt; or loopback)  google it.&lt;/p&gt;
&lt;p&gt;Load up a computer with ubuntu gutsy server. If you have hyper-threading on your &lt;span class="caps"&gt;CPU&lt;/span&gt;, make sure it is disabled in the &lt;span class="caps"&gt;BIOS&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;code&gt;apt-get install ubuntu-xen-server libc6-xen&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This will install all packages needed to run xen. Then reboot to make sure the xen kernel works on your hardware.&lt;/p&gt;
&lt;p&gt;Edit /etc/xen/xend-config.sxp and comment out&lt;br /&gt;
&lt;code&gt;(network-script network-dummy)&lt;/code&gt;&lt;br /&gt;
then uncomment&lt;br /&gt;
&lt;code&gt;(vif-script vif-bridge)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;That will get your network bridge going after you restart xend with /etc/init.d/xend restart&lt;/p&gt;
&lt;p&gt;Now for xen-tools. Xen tools are a set of scripts that can create virtual images by debootstraping debian/ubuntu. &lt;br /&gt;
Edit /etc/xen-tools/xen-tools.conf and fill in your settings &amp;#8211; select gutsy for your distro. The main one is &lt;span class="caps"&gt;LVM&lt;/span&gt; or loopback images for the virtual disks. I use &lt;span class="caps"&gt;LVM&lt;/span&gt; and it&amp;#8217;s great, but there is a learning curve, if you&amp;#8217;re just testing loopback images will be easier.&lt;/p&gt;
&lt;p&gt;ubuntu-xen Bug #1 : The console doesn&amp;#8217;t work.&lt;br /&gt;
Fix: add&lt;br /&gt;
&lt;code&gt;extra = ' TERM=xterm xencons=tty console=tty1'&lt;/code&gt;&lt;br /&gt;
to the end of /etc/xen-tools/xm.tmpl&lt;/p&gt;
&lt;p&gt;ubuntu-xen Bug #2 : The xen instance hangs on boot, caused by the virtual machine trying to set the hardware clock. &lt;br /&gt;
Fix: edit /usr/lib/xen-tools/gutsy.d/15-disable-hwclock &lt;br /&gt;
underneath the line&lt;br /&gt;
&lt;code&gt;chroot ${prefix} /usr/sbin/update-rc.d -f hwclock.sh remove&lt;/code&gt;&lt;br /&gt;
add&lt;br /&gt;
&lt;code&gt;chroot ${prefix} /usr/sbin/update-rc.d -f hwclockfirst.sh remove&lt;/code&gt;&lt;br /&gt;
&lt;code&gt;rm -f ${prefix}/etc/init.d/hwclock.sh ${prefix}/etc/init.d/hwclockfirst.sh ${prefix}/etc/udev/rules.d/85-hwclock.rules&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;ubuntu-xen Bug #3 : DomU networking fails to work after a reboot. ( This bug doesn&amp;#8217;t always happen, it may only happen when you have multiple ethernet cards )&lt;br /&gt;
Fix : Always give a mac address when creating a virtual machine. Xen has it&amp;#8217;s own mac address prefix assigned, so make mac addresses start with 00:16:3E e.g. 00:16:3E:11:12:22&lt;/p&gt;
&lt;p&gt;Now you can create your virtual machines : &lt;br /&gt;
&lt;code&gt;xen-create-image --ip=10.1.1.5 --hostname=myvm --mac=00:16:3E:11:12:22&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;and once it&amp;#8217;s made, you can start it with xm create /etc/xen/myvm.cfg and access it&amp;#8217;s console with xm console myvm&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>The music revolution</title>
   <link href="http://www.eadz.co.nz/blog/article/music-revolution.html" />
   <updated>2007-10-09T00:00:00+13:00</updated>
   <id>http://www.eadz.co.nz/blog/article/music-revolution</id>
   <content type="html">&lt;p&gt;The shit has really hit the fan for record companies. World class bands such as &lt;a href="http://www.nin.com/"&gt;Nine in Nails&lt;/a&gt; and &lt;a href="http://www.radiohead.com/"&gt;Radiohead&lt;/a&gt; announcing, with joy, that they have left their record companies. Radiohead are releasing their latest album online, and the price? Whatever you want to pay for it. Nine in nails have gone a step further and released the source files for tracks of their latest album, so you can remix them if you want.&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>NZ Ruby on Rails forum and portal launched</title>
   <link href="http://www.eadz.co.nz/blog/article/NZ-ruby-rails-forum.html" />
   <updated>2007-09-25T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/NZ-ruby-rails-forum</id>
   <content type="html">&lt;p&gt;New Zealand hasn&amp;#8217;t had a &lt;a href="http://www.rubyonrails.org/"&gt;Ruby on Rails&lt;/a&gt; forum or any kind of community site, until now!&lt;/p&gt;
&lt;p&gt;May I present &lt;a href="http://www.ror.co.nz/"&gt;www.RoR.co.nz&lt;/a&gt;, a rails site, with a forum powered by &lt;a href="http://beast.caboo.se"&gt;beast&lt;/a&gt; &amp;#8211; great open source &lt;acronym title="Ruby on Rails"&gt;&lt;span class="caps"&gt;ROR&lt;/span&gt;&lt;/acronym&gt; forum software.&lt;/p&gt;
&lt;p&gt;The site is small and simple now, but will grow with the NZ rails community. Check it out &lt;a href="http://www.ror.co.nz/"&gt;here&lt;/a&gt;&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>GPL to be legally tested in New York</title>
   <link href="http://www.eadz.co.nz/blog/article/gpl-legal-test.html" />
   <updated>2007-09-21T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/gpl-legal-test</id>
   <content type="html">&lt;p&gt;&lt;a href="http://linux-watch.com/news/NS3973290690.html"&gt;Yet another case to watch&lt;/a&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;For the first time in the U.S., a company and software vendor, Monsoon Multimedia, is being taken to court for a &lt;span class="caps"&gt;GPL&lt;/span&gt; violation. &lt;br /&gt;
&amp;#8230;.cont&amp;#8230;.. &lt;br /&gt;
The developers of BusyBox came to the &lt;span class="caps"&gt;SFLC&lt;/span&gt; after trying to talk Monsoon into honoring the conditions of the GPLv2. Unsuccessful with this, the &lt;span class="caps"&gt;SFLC&lt;/span&gt; has filed suit on the developers&amp;#8217; behalf against Monsoon.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;It seems like a classic case of &lt;span class="caps"&gt;GPL&lt;/span&gt; violation. The great thing about the &lt;a href="http://www.gnu.org/copyleft/gpl.html"&gt;&lt;span class="caps"&gt;GPL&lt;/span&gt; licence&lt;/a&gt; is trying to get it declared invalid doesn&amp;#8217;t help someone breaking it, as the &lt;span class="caps"&gt;GPL&lt;/span&gt; is the only thing that gave them any rights to distribute the software in the first place.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;update&lt;/strong&gt; The case is to &lt;a href="http://www.linux-watch.com/news/NS3761924232.html"&gt;settle out of court&lt;/a&gt;&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Ruby on Rails IDE? Yes!</title>
   <link href="http://www.eadz.co.nz/blog/article/ruby-rails-ide.html" />
   <updated>2007-09-20T00:00:00+12:00</updated>
   <id>http://www.eadz.co.nz/blog/article/ruby-rails-ide</id>
   <content type="html">&lt;p&gt;The question is often asked, does ruby on rails have an &lt;span class="caps"&gt;IDE&lt;/span&gt;?&lt;/p&gt;
&lt;p&gt;Until now, the answer was &amp;#8216;kind of&amp;#8217;, with &lt;em&gt;radrails&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt;Now comes &lt;a href="http://www.codegear.com/products/3rdrail/"&gt;3rdRail&lt;/a&gt; from &lt;a href="http://www.borland.com/"&gt;Borland&lt;/a&gt; , yet another large company jumping on the rails train. It&amp;#8217;s not a free product, but has a 30 day free trial. Best of all, the &lt;span class="caps"&gt;IDE&lt;/span&gt; is cross-platform for Linux, &lt;span class="caps"&gt;OSX&lt;/span&gt; and Windows.&lt;/p&gt;
&lt;p&gt;There is a video tour of the 3rdRail RoR &lt;span class="caps"&gt;IDE&lt;/span&gt; &lt;a href="http://video.codegear.com/3rdRail/TourOfTheIDE/TourOfTheIDE.html"&gt;here&lt;/a&gt;&lt;/p&gt;</content>
 </entry>
 
 
</feed>
