<?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>milliAmp &#187; Computers</title>
	<atom:link href="http://milliamp.org/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://milliamp.org</link>
	<description>the website of Alex Taylor</description>
	<lastBuildDate>Sun, 11 Sep 2011 11:28:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Windows 7 64-bit on an Aluminium Macbook Pro</title>
		<link>http://milliamp.org/2009/windows-7-64-bit-on-an-aluminium-macbook-pro/</link>
		<comments>http://milliamp.org/2009/windows-7-64-bit-on-an-aluminium-macbook-pro/#comments</comments>
		<pubDate>Wed, 23 Sep 2009 11:41:54 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=134</guid>
		<description><![CDATA[There are many people who have had problems installing install Windows 7 64-bit on many older EFI based machines like the Aluminium Macbook Pro. The problem manifests itself in Vista SP1 64-bit. There are a few articles around detailing why this is and many more showing how to solve it. The problem is around the [...]]]></description>
			<content:encoded><![CDATA[<p>There are <a href="http://www.google.co.nz/search?q=%22select+cd-rom+boot+type%22+windows+7">many people who have had problems </a> installing  install Windows 7 64-bit on many older EFI based machines like the Aluminium Macbook Pro. The problem manifests itself in Vista SP1 64-bit.</p>
<p>There are a few articles around detailing why this is and many more showing <a href="http://sergiomcfly.blogspot.com/2008/04/select-cd-rom-boot-type-when-installing.html">how to solve it</a>.</p>
<p>The problem is around the fact that the <a href="http://support.microsoft.com/kb/931708">Windows Bootloader doesn&#8217;t seem to treat ISO9660 file version numbers correctly</a>. To make a disc work and boot in EFI mode on these machines, you need to rebuild the ISO with ISO9660 version numbers suppressed.</p>
<p>However, all of these solutions required running Windows utilities to recreate the ISO. As I recently installed a new harddrive in my Macbook Pro I didn&#8217;t have a version of Windows installed that I could rebuild the ISO with.</p>
<p>I decided to find if I could create a compatible bootable Windows 7 DVD using only tools that are runnable under Mac OS X.</p>
<p>I used <a href="http://jowie.com/blog/post/2008/02/24/Select-CD-ROM-Boot-Type-prompt-while-trying-to-boot-from-Vista-x64-DVD-burnt-from-iso-file.aspx">an article from jowie.com as a reference</a>. It describes how to recreate the ISO with the fix using a 3rd-party Windows utility &#8220;Imgburn&#8221;.</p>
<p>I downloaded the latest version of &#8220;<code>cdrecord</code>&#8221; (formerly &#8220;<code>cdrtools</code>&#8220;) which includes the latest version of &#8220;<code>mkisofs</code>&#8220;, a *nix utility for creating ISO files with advanced options.</p>
<p>I managed to find the correct set of arguments to create a bootable DVD. DVD-RWs are my friend, although it only took 4 or 5 tries.</p>
<p>My machine is running Mac OS X Snow Leopard but I don&#8217;t see anything that won&#8217;t work on Leopard. <b>These steps require the Mac OS X Developer Tools to be installed</b>.</p>
<p>If you&#8217;re at this post, you may have already burned a copy of the Windows 7 DVD ISO (or a copy of Windows 7 Retail). I did, so I got the files for recreating the ISO from the DVD, you may choose to simply extract the contents of the ISO to a folder on your harddrive instead. </p>
<p>If you choose to use a folder, replace occurances of &#8220;<code>/Volumes/GRC1CULXFRER_EN_DVD</code>&#8221; with the folder you extracted the DVD to.</p>
<p>Here are the steps I took:</p>
<ol>
<li>Put the Windows 7 DVD in the drive or extract the ISO.</li>
<li>Download the latest version of <code>cdrecord</code> from: <br />http://freshmeat.net/projects/cdrecord/</li>
<li>Extract the archive and run the following from Terminal:<br /><code>make<br />make install</code></li>
<li>Once again from Terminal:
<div><code>cd /opt/schily/bin/<br />
./mkisofs -N -UDF -iso-level 4 -no-hfs -U -V GRC1CULXFRER_EN_DVD -no-emul-boot -b efi/bcd -c boot.catalog -o windows7rc.iso /Volumes/GRC1CULXFRER_EN_DVD</p>
<p></code>
</div>
</li>
<li>Now burn the new ISO to a disc. You can use Disk Utility, Toast or any other ISO burning tool to do the job</li>
<li>If you haven&#8217;t already, make sure you have either free unpartitioned space or a spare partition to install Windows on to.</li>
<li>Reboot your machine, hold down Option to bring up the boot menu</li>
<li>Insert the DVD into the drive (if it isn&#8217;t in there aleady).</li>
<li>Select the Windows CD, Windows 7 should now boot without problems</li>
<p>That is it.</p>
<p>Once Windows 7 is installed, insert a Snow Leopard disc to install the 64-bit Boot Camp drivers. If you don&#8217;t have Snow Leopard, you can download <a href="http://www.apple.com/downloads/macosx/apple/application_updates/bootcampupdate21forwindowsvista64.html">the latest Boot Camp drivers from Apple&#8217;s download section</a>.</ol>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2009/windows-7-64-bit-on-an-aluminium-macbook-pro/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Caller ID laziness</title>
		<link>http://milliamp.org/2009/caller-id-laziness/</link>
		<comments>http://milliamp.org/2009/caller-id-laziness/#comments</comments>
		<pubDate>Sat, 11 Apr 2009 06:10:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=100</guid>
		<description><![CDATA[At my house, we have a VoIP line provided by Xnet. In my house, I have a small QoS router that has two POTS plug that allow my to plug my normal phones into the VoIP line. What is even better is that the Caller ID that comes with the line also gets displayed on [...]]]></description>
			<content:encoded><![CDATA[<p>At my house, we have a <a href="http://www.xnet.co.nz/fusion/index.shtml">VoIP line provided by Xnet</a>. In my house, I have a small QoS router that has two POTS plug that allow my to plug my normal phones into the VoIP line. What is even better is that the Caller ID that comes with the line also gets displayed on the phones I have.</p>
<p>As I&#8217;m incredibly lazy, I set about finding a way for my computer to tell me who was calling when the phone rang instead of having to find the cordless phone (or run to the corded one if it was flat) to check who was calling. I have set an option in the control panel at <a href="http://www.xnet.co.nz/">Xnet</a> that sends me an email whenever someone rings my home, which includes the Caller ID but alas, it still takes the email about 30 seconds to arrive in my inbox (I check my email every 1 minute) so it didn&#8217;t really help to know who it was before I picked it up.</p>
<p>It turns out that the router&#8217;s status page displays the state of the VoIP line and also the last number that called it. Bingo! I whipped up a little PHP CLI script that polled the router&#8217;s status page for when the status was &#8220;Ringing&#8221; and captured the phone number displayed there.</p>
<p>I then added a piece of AppleScript that interfaces with Address Book on MacOS X which could translate a phone number into a name if that number was in the Address Book.</p>
<p>The last piece of the puzzle was to utilise the command line program called <code>growlnotify</code> to send out a <a href="www.growl.info">Growl</a> notification and made it send out to the two laptops in the house. </p>
<p>I placed this script on the Mac Mini I have connected in the lounge and set it running. A few bug fixes later and I now have Growl alerts show up on my laptop screen within about 3 seconds of my home phone ringing saying exactly who is ringing.</p>
<p>All in the name of laziness.</p>
<p>If anyone is interested, I can post the utility. The VoIP router I designed it for is the <a href="http://www.amazon.com/Linksys-SPA2102-Phone-Adapter-Router/dp/B000FKP55K">Linksys SPA-2102</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2009/caller-id-laziness/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Migrating Servers</title>
		<link>http://milliamp.org/2008/migrating-servers/</link>
		<comments>http://milliamp.org/2008/migrating-servers/#comments</comments>
		<pubDate>Sat, 18 Oct 2008 01:30:26 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Computers]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=74</guid>
		<description><![CDATA[Tom and I have decided to move all of our sites from our hosting at StartLogic to something a little more reliable. We decided to give MediaTemple&#8216;s Grid-Service a go. I&#8217;ve been trying to get all our sites migrated over but because we want as little disruption as possible we needed everything that was running [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.voodoolabs.net">Tom</a> and I have decided to move all of our sites from our hosting at StartLogic to something a little more reliable. We decided to give <a href="http://mediatemple.net/">MediaTemple</a>&#8216;s <a href="mediatemple.net/webhosting/gs/">Grid-Service</a> a go. I&#8217;ve been trying to get all our sites migrated over but because we want as little disruption as possible we needed everything that was running currently documented.</p>
<p>So far it has been fun, this site has been running from the new system for a couple of weeks now and I haven&#8217;t noticed anything that isn&#8217;t working and the control panel is great for a pseudo-shared-hosting control panel.</p>
<p>My workplace <a href="http://www.evos.co.nz/">Evos</a> has been using MediaTemple for over a year now and we&#8217;ve only had great customer service and awesome uptimes so we didn&#8217;t have any qualms about switching over.</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2008/migrating-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Network Topology</title>
		<link>http://milliamp.org/2008/network-topology/</link>
		<comments>http://milliamp.org/2008/network-topology/#comments</comments>
		<pubDate>Sat, 28 Jun 2008 05:18:12 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Gadgets]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=50</guid>
		<description><![CDATA[Last Thursday afternoon, a close friend of mine gave me a call to ask whether a discounted price he had seen for an iPod Touch was a good deal or not. He was pretty keen on getting an iPod Touch even though the iPhone 2.0 is released in a couple of weeks but he seemed [...]]]></description>
			<content:encoded><![CDATA[<p>Last Thursday afternoon, a close friend of mine gave me a call to ask whether a discounted price he had seen for an <a href="http://apple.co.nz/ipodtouch/">iPod Touch</a> was a good deal or not. He was pretty keen on getting an iPod Touch even though the <a href="http://apple.co.nz/iphone/">iPhone 2.0</a> is released in a couple of weeks but he seemed pretty set and doesn&#8217;t have a need for another cellphone as his work supplies one for his use.</p>
<p>They don&#8217;t currently have a wireless network at their house and seeing as the iPod Touch has wi-fi capability we ended up discussing that I was interesting in selling my current Airport Express Wireless G base-station to upgrade my infrastructure to <a href="http://en.wikipedia.org/wiki/IEEE_802.11n">Wireless-N</a>.</p>
<p>The main reason I wanted to upgrade was actually to have an <a href="http://apple.co.nz/airportextreme/">Airport Extreme Base Station</a> which would allow me to share both printers and also a couple of hard-drives over the wireless. The Airport Express only supports one printer and no hard-drives so I have had to switch USB cables around to print to the other printer in the past.</p>
<p>So, knowing that he was keen for that deal, I went out and purchased a new Airport Extreme Base Stations with Wireless-N and Gigabit ethernet. I also picked up a new <a href="http://apple.co.nz/airportexpress/">Wireless-N capable Airport Express</a> so that I could once again stream music to our downstairs speakers.</p>
<p>My next mission was obviously to map out how I wanted to set up the network and the devices. I love setting up network infrastructure, I don&#8217;t purport to say I&#8217;m any good at it at all but I find it a hell of a lot of fun.</p>
<p>I plan to sprinkle this blog post with diagrams of the old set-up and the new set-up but my <a href="http://milliamp.org/2008/help-i-cant-see/">laptop is currently at the shop</a> getting its iSight looked at and I&#8217;m using a user-account on <a href="http://plasticwings.net">Aimee</a>&#8216;s laptop which doesn&#8217;t have anything that I can easily draw diagrams in. For now I&#8217;ll add a textual description.</p>
<p>My network consisted of:</p>
<ul>
<li>An ADSL Modem/Router for internet connectivity</li>
<li>A LinkSys VOIP to POTS adapter, for use with our <a href="http://xnet.co.nz/">Xnet</a> <a href="http://xnet.co.nz/fusion/">Fusion</a> VOIP account</li>
<li>An <a href="http://apple.co.nz/macmini/">Apple Mac Mini</a>, connected in the lounge for entertainment purposes</li>
<li>Two <a href="http://apple.co.nz/macbookpro/">Apple MacBook Pro</a> Laptops</li>
<li>An Apple Airport Express, currently in use only as a base station since we moved to our new house</li>
</ul>
<p>Then I added:</p>
<ul>
<li>An Apple Airport Extreme Base Station</li>
<li>A new Apple Airport Express</li>
</ul>
<p>And I&#8217;ve packed up the old Airport Express.</p>
<p>I wanted to add to the network</p>
<ul>
<li>My <a href="http://milliamp.org/2006/laser-printer/">Laser printer</a></li>
<li>My inkjet Printer</li>
<li>My <a href="http://milliamp.org/2007/external-storage/">2-disk RAID enclosure</a></li>
<li>Possibly a couple more hard-drives for laptop back-up purposes.</li>
</ul>
<p>There are a couple of restrictions this placed on the network. For internal network QoS, the Linksys VOIP Adapter needs to be placed between the router and the network so that voice traffic gets injected right at the router. This also means that our cordless phone and corded phone need to be connected within a few meters of that adapter.</p>
<p>The RAID enclosure isn&#8217;t network capable so it needs to be connected  with a meter or so of the Airport Extreme Base Station. As do the printers.</p>
<p>Also, the only two locations in the entire house with a phone plug are the kitchen/dining area and the master bedroom.</p>
<p>So I went ahead and picked out a possible solution. It all works pretty well.</p>
<p>I went the whole hog and set up my Wireless-N network on the 5GHz frequency using wide-channels to get maximum possible throughput. We don&#8217;t have any 802.11b or g devices in the house (or so I thought) and I doubt anyone in our close proximity has a 5GHz network set up so all was well.</p>
<p>I have the router in the master bedroom and an ethernet cable running from that into our work room. In there is the Base Station, the hard-drives, the printers and the VOIP adapter attached to the cordless phone base.</p>
<p>Downstairs I have the Airport Express and the Mac Mini. As I eluded to above, it turns out that the Mac Mini isn&#8217;t Wireless-N capable as I thought it was, it only supports 802.11b and 802.11g so it ended up being connected via gigabit to the new Airport Express as they&#8217;re right next to each other anyway. The Express is currently connected to the Base Station using <a href="http://en.wikipedia.org/wiki/Wireless_Distribution_System">WDS</a>.</p>
<p>I had a fun time setting up the printers. I decided to stretch USB to the limits and see how far away I could keep the printers from the base station. It turns out it is 7 meters keeping to the skirting board to the first printer and another 3 meters to the second where they are placed quite conveniently now. There is a maximum length of 5 meters between devices  so I pulled out an old <a href="http://www.dse.co.nz/cgi-bin/dse.storefront/en/product/XH8199">USB Active Extension cable</a>, then plugged in a  2 meters of USB extension, followed by a USB hub and then plugged the first printer in using a short cable and used a 3 meter cable to reach to the other printer.</p>
<p>I thought I had all my numbers worked out but for some reason, the base stations wasn&#8217;t recognising either of the printers! I played around a little and found that the base station didn&#8217;t like the active extension cable plugged into it, but it didn&#8217;t mind having a hub first and <em>then</em> the active extension so I went down that road. Turns out I would have had to add that initial hub anyway to plug in the hard drives next to the base station so all is well.</p>
<p>I wasn&#8217;t particularly pleased with the file transfer throughput so I ended up playing around with WDS, wide-channels, different frequencies and even forcing the base station down to wireless-g to see if I could find out what was happening.</p>
<p>I&#8217;m just finishing up testing the network performance using the various settings which I&#8217;ll post about at a later stage.</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2008/network-topology/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Hosting Woes</title>
		<link>http://milliamp.org/2008/hosting-woes/</link>
		<comments>http://milliamp.org/2008/hosting-woes/#comments</comments>
		<pubDate>Sun, 22 Jun 2008 08:22:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=49</guid>
		<description><![CDATA[Tom and I have had a hosting account with Startlogic for a few years now, it was very competitively priced and we wanted a cheap VPS. We haven&#8217;t had too many problems up until now, the uptime is good and the problems faced so far have only been with slow response times to online tickets [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://blog.voodoolabs.net">Tom</a> and I have had a hosting account with <a href="http://startlogic.com/">Startlogic</a> for a few years now, it was very competitively priced and we wanted a cheap <abbr title="Virtual Private Server">VPS</abbr>. We haven&#8217;t had too many problems up until now, the uptime is good and the problems faced so far have only been with slow response times to online tickets and email.</p>
<p>This post gets into technical details of the DNS system and what went wrong so unless you&#8217;re interested in reading technical details, you may want to skip down to the end of this post. <a href="#endofpost">[skip]</a></p>
<p>In terms of DNS, our server runs <code>named</code> (BIND) so it can be a nameserver for any domains we host. This really isn&#8217;t a very good option for so many reasons. Two of these reasons are:</p>
<ol>
<li>
<p>You should use <strong>two</strong> separate name servers which are geographically dispersed.</p>
<p>Using a single server for a nameserver means there is a <b>single</b> point of failure.</p>
</li>
<li>
<p>Downtime on the VPS account will mean that after a while, the DNS records cease to exist on the internet.
</p>
<p>One effect this has is that if the VPS account goes down or needs to be rebuilt and it is down for longer than the Expiry time on our domains, mail sent to those domains will be bounced and not be resent automatically.</p>
</li>
</ol>
<p>There are plenty of references for this information on the internet.</p>
<p>StartLogic set us up by putting our primary domain name&#8217;s DNS record on their geographically dispersed name servers meaning it would be quite resilient to network failures.</p>
<p>They then told us that if we wanted additional domains pointed, we could just email them. This is what we did for about 2 years.</p>
<p>Tom actually forgot this and has a few of our client&#8217;s domains pointing to ns1 and ns2.yigg.net (as Startlogic suggest now).</p>
<p>Anyway, at some stage, they accidently signed us up for an additional account, a standard hosting account, under our primary domain name. This hadn&#8217;t caused any problems at the time because they didn&#8217;t touch the DNS records. </p>
<p>What happened was that they recently upgraded all standard hosting accounts to a new platform. This meant the erroneous account was moved onto a new server. Last week they completed the migration and changed the DNS record.</p>
<p>Suddenly, I couldn&#8217;t get to our control panel<a href="#foot1">*</a>. Yigg.net was resolving to a completely different IP. So I figure there as been a problem and phone through to them. </p>
<p>Now I must mention here that earlier this year we received an email from a representative at IPowerWeb, the parent company (?) for StartLogic saying that he was our point of contact if we needed anything, we could call him.</p>
<p>So, I rang through and discussed somethings and then got put through to a technician. After a while he figured out what had gone wrong after I explained the situation and he found out VPS account and said he&#8217;d get those DNS records corrected and pointed back to our VPS account. He said he would also delete the erroneous standard hosting account.</p>
<p>Only the latter got done, probably a mistake, the guy I spoke to seemed really helpful and the extra hosting account got deleted quick smart. The account switched to a holding page instead of the &#8220;VDeck Default&#8221; page it was showing before. So I waited to see if their servers would update and start announcing the correct IP again. </p>
<p>You need to wait up to 48 hours for a DNS change to reach everyone in the world (worst-case) but there is a trick to finding out if the change has started propagating. On Mac OS (and most *nix machines) you can query a DNS server directly for what it thinks the IP address is for a domain. Because I knew the name of the authoritative server with the record on it, I could ask it directly and see whether it was announcing a the correct IP.</p>
<blockquote><pre><code>
<strong>#</strong> dig yigg.net @ns1.startlogic.com
<span style="color: #999">
; < <>> DiG 9.4.1-P1 < <>> yigg.net @ns1.startlogic.com
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER< <- opcode: QUERY, status: NOERROR, id: 53630
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0
;; WARNING: recursion requested but not available

;; QUESTION SECTION:
;yigg.net.			IN	A
</span>
;; ANSWER SECTION:
yigg.net.		3600	IN	A	<strong>66.96.134.55</strong>
<span style="color: #999">
;; Query time: 291 msec</span>
;; SERVER: 66.96.142.100#53(66.96.142.100)
<span style="color: #999">;; WHEN: Sat Jun 21 23:35:01 2008
;; MSG SIZE  rcvd: 42</span>
</span></code></pre>
</blockquote>
<p>It wasn&#8217;t.</p>
<p>I actually forgot about it until lunch time the next day when I Tom got an email from a client saying his email was no longer coming through. Turns out, his name servers were set to ns1. and ns2.yigg.net which now resolved to Startlogic&#8217;s standard hosting account, not to BIND running on our VPS account. </p>
<p>So I wrote a support ticket explaining the situation and then phoned America to get them to sort it out as soon as practically possible. The support representative said a technician was looking at it right then. So I hang up and waited… and waited. No change.</p>
<p>The next day I updated the ticket again trying to clarify what needed to be done, point yigg.net back to our VPS&#8217;s IP address and away from the IP it was incorrectly set to previously.</p>
<p>Today, later I rang them again to see what was going on. The representative then proceeded to tell me that what I wanted wasn&#8217;t possible any more and that I needed to set up name servers myself. I got quite confused as to what she was asking me to do because she said that I wouldn&#8217;t need to sign up with a DNS provider, I could do it all through the registrars control panel.</p>
<p>The main problem with that, is that I didn&#8217;t know where that was, as we registered the domain with StartLogic, they had taken care of registering it, setting up the contact information and adding their name servers to the records. I realised when she told me the URL to go to that I had been there before, to update my contact details when I was told I had to. She couldn&#8217;t tell me the username and password so I had to figure that out myself, which I did without too much trouble.</p>
<p>What I couldn&#8217;t figure out was what she was asking me to do. She said I needed to &#8220;create a name server&#8221; for my domain name. Now, in normal domain name management talk, that means setting up a box running BIND and telling the registrar to hold a glue record pointing to this box. It turns out that she was simply asking me to add glue records at the registry level for our VPS (which is running BIND already). </p>
<p>There is a difference between creating a name server and simply pointing A records at a registry level at it.</p>
<p><a name="endofpost"></a>If anyone from Startlogic reads this blog post. Please reconsider this policy, the way it worked for the last two years was much more reliable and didn&#8217;t require a user to go into that unbranded OpenSRS management console to try and decipher fairly non-standard terms.</p>
<p>In terms of customer service, they get a low score. I got it resolved in the end, if it hadn&#8217;t I would have called my contact at IPowerWeb and got put through to someone who may&#8217;ve been more helpful, I&#8217;m not sure though.</p>
<hr />
<p><small><strong><a name="foot1"></a>*</strong> I could still get to our control panel as I just needed to access the correct at our IP, it doesn&#8217;t require a hostname to get into the control panel but I think I was only one who knew that (don&#8217;t know if Tom did and I knew James didn&#8217;t).</p>
<p>** If anyone has a problem with this post (including StartLogic), I will take it down and replace it with one about not using a single domain name server in a VPS situation, which is still relevant but applies to a few more hosting providers.<br />
</small></p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2008/hosting-woes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Firefox 3</title>
		<link>http://milliamp.org/2008/firefox-3/</link>
		<comments>http://milliamp.org/2008/firefox-3/#comments</comments>
		<pubDate>Wed, 18 Jun 2008 00:09:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=48</guid>
		<description><![CDATA[Firefox 3 was launched this morning (5am NZ time). Mozilla Foundation have made a huge marketing effort to the point of setting a world record for the most downloaded software in 24 hours. Now, you&#8217;d expect, with a market share just shy of 20% of the global web browser market share and that kind of [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://getfirefox.com">Firefox 3</a> was launched this morning (5am NZ time). <a href="http://mozilla.org">Mozilla Foundation</a> have made a <a href="http://spreadfirefox.com/worldrecord/">huge marketing effort</a> to the point of setting a world record for the most downloaded software in 24 hours. Now, you&#8217;d expect, with a market share just shy of <a href="http://computerworld.co.nz/news.nsf/news/5FF0A3A7262FE69ECC25745C0073B4A7">20% of the global web browser market share</a> and that kind of marketing, you would need some serious distribution technology. </p>
<blockquote><p><q>Mozilla.com web traffic is pushing well over 2 Gigabits a second of just pure HTTP traffic. That is in addition to the 13 Gigabits a second or so of download traffic. We are still at around 14,000 download/minute and mozilla.com is responding well! Go Mozilla community and IT team!</q><cite><a href="http://developer.mozilla.org/devnews/"> schrep – June 17th, 2008</a> </cite></p></blockquote>
<p>Considering the numerous reports of the Mozilla.com website being down for at least the first hour of the record attempt, lloks like something in the middle couldn&#8217;t quite handle the load. At 15Gb/s that is close enough to 2GB/s, that is fairly large.</p>
<p>The <a href="http://spreadfirefox.com/worldrecord/">official counter</a> at <a href="http://spreadfirefox.com">SpreadFirefox.com</a> shows 2,135,640 as at midday here, only 7 hours in. Either their counter is off or things have calmed considerably. If they were still blasting data out at 2GB/s the counter would be closer to 7 million by now.</p>
<p>I&#8217;m not going to go in to the features of Firefox 3 too much but for Mac Firefox junkies, it is a massive update. The interface is now using native widgets and is much faster. It also brings Firefox back into the running with Safari and Opera again in terms of standards support.</p>
<p>If you download it today, from <a href="http://getfirefox.com">http://getfirefox.com</a> you&#8217;ll help Mozilla set a world record, the servers seem to be coping now so it downloads quite quickly however the Mac version weighs in just over 17MB which is on the steep side.</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2008/firefox-3/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>deleteCell may have side-effects</title>
		<link>http://milliamp.org/2008/deletecell-may-have-side-effects/</link>
		<comments>http://milliamp.org/2008/deletecell-may-have-side-effects/#comments</comments>
		<pubDate>Mon, 09 Jun 2008 12:13:21 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Design]]></category>
		<category><![CDATA[deleteCell]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://milliamp.org/?p=43</guid>
		<description><![CDATA[UPDATE: I have created an interactive test case and an automated test case. Turns out the behaviour is reproducible. Now, is this a bug or am I just missing something about the way that method should work? I was debugging a client-side heavy application today in IE7 and ran up against a very weird bug. [...]]]></description>
			<content:encoded><![CDATA[<div class="update">
<div class="update-title">UPDATE:</div>
<p><a href="http://milliamp.org/files/tabletest.html">I have created an interactive test case</a> and an <a href="http://milliamp.org/files/tabletest-auto.html">automated test case</a>.</p>
<p>
Turns out the behaviour is reproducible. Now, is this a bug or am I just missing something about the way that method should work?
</p>
</div>
<p>I was debugging a client-side heavy application today in IE7 and ran up against a very weird bug. Anyway, even with the Microsoft Script debugger, it took me a couple of hours to trace down the cause of this one bug. </p>
<p>The system has a page which works similarly to Apple Mac OS X&#8217;s Finder windows in Column View. In IE7, I was having a problem where all the children of a node inside a table cell where being removed from the DOM when I removed the table cell itself. If you think this sounds normal, let me explain.</p>
<p>In Javascript, DOM Elements exist as Javascript objects and can be attached into a document at any point, they do not have to be a document, they can exist solely as fragments. The normal DOM &#8216;removeChild&#8217; method does exactly this; it detaches the child from the parentNode but if there are any references to the DOM element in javascript-land, it does not get deleted (or garbage collected to be more precise). This means you can reattach the node somewhere else after some processing.</p>
<p>Safari, Firefox and Opera appear to do this with the deleteCell method of a &#8216;table&#8217; as well but Internet Explorer appears to do something different. There is a little bit of speculation here as I haven&#8217;t created a minimal test case of this bug yet but it appear that IE detaches all the DOM Nodes recursively beneath the cell it deleted. This doesn&#8217;t appear in the MSDN documentation so I&#8217;m not sure quite what is happening, am I experiencing a bug caused by something else maybe.</p>
<p>How would that be useful!? I can&#8217;t see a purpose for it but whatever.</p>
<p>My fix was to remove all the child nodes of the &#8216;td&#8217; element using removeChild first, then delete the cell. That meant the elements that were in the cell before hand still existed if there were any references to them, which there were.</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2008/deletecell-may-have-side-effects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows Vista</title>
		<link>http://milliamp.org/2008/windows-vista-2/</link>
		<comments>http://milliamp.org/2008/windows-vista-2/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:59:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Resources]]></category>

		<guid isPermaLink="false">http://milliamp.org/2008/windows-vista-2/</guid>
		<description><![CDATA[I has been an awfully long time since I last posted here. Many things I could&#8217;ve written about, maybe I will in the next few weeks. Anyway, this post is about Windows Vista. More specifically, installing Windows Vista Business (64bit) onto a Macbook Pro (Santa Rosa). The Apple Bootcamp drivers that came with my laptop [...]]]></description>
			<content:encoded><![CDATA[<p>I has been an awfully long time since I last posted here. Many things I could&#8217;ve written about, maybe I will in the next few weeks.</p>
<p>Anyway, this post is about Windows Vista. More specifically, installing Windows Vista Business (64bit) onto a Macbook Pro (Santa Rosa).</p>
<p>The Apple Bootcamp drivers that came with my laptop don&#8217;t support Windows Vista 64bit so I had to do some digging around to find the drivers that worked and get everything running smoothly.</p>
<p>This information is out there on the web but I found some of the instructions on exactly which driver to choose a little had to understand. Below is a list of the drivers I used to get Vista Business 64bit working on this Macbook Pro.</p>
<h2>Video</h2>
<p><strong>Hardware</strong>: nVIDIA 8600M GT with 256MB RAM<br />
<strong>Drivers</strong>: <a href="http://www.laptopvideo2go.com/forum/index.php?showtopic=17702">nVIDIA ForceWare X 167.62</a></p>
<h2>Audio</h2>
<p><strong>Drivers</strong>: <a href="http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&#038;PNid=24&#038;PFid=24&#038;Level=4&#038;Conn=3&#038;DownTypeID=3&#038;GetDown=false#High%20Definition%20Audio%20Codecs">RealTek R190</a></p>
<h2>Keyboard/Fan</h2>
<p><strong>Drivers</strong>: <a href="http://forum.insanelymac.com/index.php?showtopic=58373">Input Remapper 1.0.04</a><br />
<em>NB: Screen backlight control is not supported on the nVIDIA card yet</em></p>
<h2>Wireless</h2>
<p><strong>Drivers</strong>: <a href="http://www.laptopvideo2go.com/forum/index.php?showtopic=14833">Atheros v7.6.0.83</a></p>
<h2>Ethernet</h2>
<p><strong>Drivers</strong>: <a href="http://www.marvell.com/drivers/driverDisplay.do?dId=155&#038;pId=27">Marvel Yukon v10.57.3.3</a></p>
<p>This information is mainly from two sources:</p>
<p>http://rumblingsfromdeveloper.blogspot.com/2007/12/macbook-pro-and-vista-64bit-x64-issues.html</p>
<p>http://forum.notebookreview.com/showthread.php?t=149395</p>
<p><a href='http://milliamp.org/wp-content/uploads/2008/04/vista-experience.jpg' title='My Macbook Pro’s Windows Experience Index'><img style="float:right;" src='http://milliamp.org/wp-content/uploads/2008/04/vista-experience.thumbnail.jpg' alt='My Macbook Pro’s Windows Experience Index' /></a>With these drivers I got a Windows Experience Index of 4.9<br />
Processor: 5.2<br />
RAM: 4.9<br />
Desktop Graphics: 5.9<br />
Gaming Graphics: 5.5<br />
Primary Hard Disk: 4.9</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2008/windows-vista-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Thoughts On Music</title>
		<link>http://milliamp.org/2007/thoughts-on-music/</link>
		<comments>http://milliamp.org/2007/thoughts-on-music/#comments</comments>
		<pubDate>Wed, 07 Feb 2007 19:37:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://milliamp.org/2007/thoughts-on-music/</guid>
		<description><![CDATA[Steve Jobs has issued a Hot News article detailing Apple&#8217;s stance on DRM and it&#8217;s future. I&#8217;m going to go so far as to say he has laid down a challenge in full public view to the big 4 Music Distribution Companies. However I can see that his account serves only to appease the public&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>Steve Jobs has issued a Hot News article detailing Apple&#8217;s stance on DRM and it&#8217;s future. I&#8217;m going to go so far as to say he has laid down a challenge in full public view to the big 4 Music Distribution Companies. However I can see that his account serves only to appease the public&#8217;s wrath due to Apple not licensing it&#8217;s FairPlay DRM technology to other companies, I can&#8217;t see the big wigs in the music world even reading the article, let alone uttering more than a chuckle.</p>
<p><a href="http://www.apple.com/hotnews/thoughtsonmusic/">http://www.apple.com/hotnews/thoughtsonmusic/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2007/thoughts-on-music/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 6 Performance</title>
		<link>http://milliamp.org/2007/ie6-performance-regression/</link>
		<comments>http://milliamp.org/2007/ie6-performance-regression/#comments</comments>
		<pubDate>Thu, 01 Feb 2007 05:18:10 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Web Design]]></category>

		<guid isPermaLink="false">http://milliamp.org/2007/ie6-performance-regression/</guid>
		<description><![CDATA[I spent a huge part of today trying to determine the cause of a major Internet Explorer performance and rendering regression in a Web Application I'm developing. The reason it was such a bitch to find was because so much code had changed since the last time I had done a proper test in IE6. [...]]]></description>
			<content:encoded><![CDATA[<p>I spent a huge part of today trying to determine the cause of a <b>major</b> Internet Explorer performance and rendering regression in a Web Application I'm developing. The reason it was such a bitch to find was because so much code had changed since the last time I had done a proper test in IE6. This was in code which I didn't expect to cause rendering issues, performance issues maybe, but those could have been dealt with.</p>
<p>So, I went through carefully ripping apart the project, disabling stylesheets, removing images, removing individual styles to figure out what was going on. About a hour later I hadn't got very far. I had determined that every<sup><a href="#footnote-1">1</a></sup> browser was fine except IE6.</p>
<p>In frustration, I turned to Google. Trying to find pages describing huge black areas rendering over the page while using Scriptaculous Sortables got my nowhere so I tried searching for causes of huge black rendering artefacts in IE in general... nothing.</p>
<p>I turn back to trying to make a minimal test case. I ended up removing an image that was inside each Sortable item and suddenly the rendering problem went away and the performance jumped up significantly. Anyway, some dilly-dallying around and it turns out it was the javascript I'd written causing problems at all. It was the IE6 CSS Alpha PNG hack which was causing all the problems (which was working fine without performance issues the last time I tested this site in IE6).</p>
<p>It is indeed common knowledge among web developers that IE6 does not support transparency on 24-bit+Alpha PNG images. The alpha channel is rendered [usually] in a baby blue colour instead of being see-through.</p>
<p>To remedy this I was using the fastest hack around the issue that I have found and it involves pasting 5 lines in the CSS file for a site and bingo. I didn't make this hack but here's how it works. It uses the proprietary filter CSS attribute combined with the DirectX ActiveX control to draw the PNG, to target only PNGs and the also proprietary CSS extension 'expression' which uses JScript to compute values. I haven't had a problem with this hack yet, it doesn't handle CSS background images but I haven't needed it to yet.</p>
<div class="igBar"><span id="lcss-3"><a href="#" onclick="javascript:showPlainTxt('css-3'); return false;">PLAIN TEXT</a></span></div>
<div class="syntax_hilite"><span class="langName">CSS:</span>
<div id="css-3">
<div class="css">
<ol>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">img <span style="color: #66cc66;">&#123;</span></div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">height</span>:expression<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>this.complete&amp;&amp;<span style="color: #66cc66;">&#40;</span>String<span style="color: #66cc66;">&#40;</span>this.src<span style="color: #66cc66;">&#41;</span>.substr<span style="color: #66cc66;">&#40;</span>String<span style="color: #66cc66;">&#40;</span>this.src<span style="color: #66cc66;">&#41;</span>.length-<span style="color: #cc66cc;color:#800000;">4</span>,<span style="color: #cc66cc;color:#800000;">4</span><span style="color: #66cc66;">&#41;</span>==<span style="color: #ff0000;">".png"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>?<span style="color: #ff0000;">"1px"</span>:<span style="color: #ff0000;">""</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; <span style="color: #000000; font-weight: bold;">width</span>:expression<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>this.complete&amp;&amp;<span style="color: #66cc66;">&#40;</span>String<span style="color: #66cc66;">&#40;</span>this.src<span style="color: #66cc66;">&#41;</span>.substr<span style="color: #66cc66;">&#40;</span>String<span style="color: #66cc66;">&#40;</span>this.src<span style="color: #66cc66;">&#41;</span>.length-<span style="color: #cc66cc;color:#800000;">4</span>,<span style="color: #cc66cc;color:#800000;">4</span><span style="color: #66cc66;">&#41;</span>==<span style="color: #ff0000;">".png"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>?<span style="color: #ff0000;">"1px"</span>:<span style="color: #ff0000;">""</span><span style="color: #66cc66;">&#41;</span>;</div>
</li>
<li style="font-weight: bold;color:#26536A;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;">&nbsp; &nbsp; filter:expression<span style="color: #66cc66;">&#40;</span><span style="color: #66cc66;">&#40;</span>this.complete&amp;&amp;<span style="color: #66cc66;">&#40;</span>String<span style="color: #66cc66;">&#40;</span>this.src<span style="color: #66cc66;">&#41;</span>.substr<span style="color: #66cc66;">&#40;</span>String<span style="color: #66cc66;">&#40;</span>this.src<span style="color: #66cc66;">&#41;</span>.length-<span style="color: #cc66cc;color:#800000;">4</span>,<span style="color: #cc66cc;color:#800000;">4</span><span style="color: #66cc66;">&#41;</span>==<span style="color: #ff0000;">".png"</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span>?<span style="color: #66cc66;">&#40;</span><span style="color: #ff0000;">"progid:DXImageTransform.Microsoft.AlphaImageLoader(src="</span>+this.src+<span style="color: #ff0000;">")"</span><span style="color: #66cc66;">&#41;</span>:<span style="color: #ff0000;">""</span><span style="color: #66cc66;">&#41;</span></div>
</li>
<li style="font-family: 'Courier New', Courier, monospace; color: black; font-weight: normal; font-style: normal;color:#3A6A8B;">
<div style="font-family: 'Courier New', Courier, monospace; font-weight: normal;"><span style="color: #66cc66;">&#125;</span> </div>
</li>
</ol>
</div>
</div>
</div>
<p></p>
<p>This combined with the addition of a PNG on each individual Sortable Item caused the poor DirectX Transform to basically crap itself and render parts of the window black. Very black.</p>
<p>Blah.</p>
<p>What a waste of many hours of my day.</p>
<p>Honestly though, this rendering bug caused a few 'wow' moments from people in my office when they saw what IE was displaying on the screen and how it took roughly 20 seconds and 100% CPU to drag one single item between two lists. I'll have a screen-shot of this up in the next few days.</p>
<hr />
<sup><a name="footnote-1">#1</a></sup> every means "Safari, Firefox 1.5, Firefox 2.0, IE7, WebKit nightlies and Opera 9"</p>
]]></content:encoded>
			<wfw:commentRss>http://milliamp.org/2007/ie6-performance-regression/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

