Category Archives: Internet

Dating A Developer

Matt posted an entry the other day about how to get lots of links and traffic. One of the links in his “list” was a link to Emily Hambidge’s site. The article in question was about dating an Apple developer and I just couldn’t help but put something down about it – it was pure gold.

Emily’s points were mostly generic to anyone that works in software development, not just software development at Apple. For the benefit of those that aren’t in the loop, the environment that software developers work in is generally more work than hours in the day and everything is mentioned today but needs to be delivered yesterday. If the latter fails, it is mentioned today and needs to be delivered in an unrealistic timeframe of say, tomorrow. This combination of attributes creates a fun and interesting environment to work in, which for some people is known to cause quite a bit of stress. Thankfully, I’m not the stressing type.

If you know a programmer or the wife/partner of one, you’ll probably get a kick out of 1o points to remember about dating a developer; especially if you’re a little computer savvy yourself!

McGooHQ Performance

25Mb file speed test, transferring at over 1MB/sOver the weekend, I was doing a little spring cleaning of files on my home computer and servers. Whilst in the mood, I thought I would also move some older data from my website hosted with McGooHQ to my home computer.

Since moving to McGooHQ, I’ve been nothing but impressed with the speed of their network and servers. Clicking through the site and browsing through FTP feels as though it is being done over LAN it is that fast. This LAN like speed is happening over ADSL though, which for me at home is limited to approximately 160Kb/s. So, I thought I’d give the server a little higher speed test from work, muuhaha.

What you’ll see above is me pulling down a 25,000,000 byte file from my site onto my work computer at just over 1MB/s. You might be thinking, 1MB/s to download a file isn’t that fast – maybe their servers and bandwidth isn’t that good at all; you’re wrong. To download a single file, using FTP in a single thread at over 1MB/s is absolutely hammering – most of the time you’d find you’d be limited to 400-600Kb/s.

Go McGooHQ, Go!

In case you were interested in seeing what everyone, not just myself are impressed about – I’ve made a 5Mb file for you to test the network speed on. Please don’t drill it, I do have a finite amount to data per month.

Search Engine Optimisation (SEO): Dashes Versus Underscores

Recently I broke down a fairly content heavy section of a site into smaller more succinct pages. As a by product, each page now had focused content instead of a single large page with comparatively jumbled content. Of course, this allows you to target the information on each individual page for search engine optimisation thus search engine ranking/placement.

When breaking it into smaller pages, I thought I would use a common naming convention for all of the ASP filenames, for instance faq_<some>_<meaningful>_<name>.asp. I chose an underscore (_) because I’m a fan of C-style programming languages. The underscore character is pretty common (used for private variable declarations in objects, compiler stuff, …) and I also prefer the ‘look’ of them in filenames as they seem to be ‘out of the way’.

Splitting it all went well up until the pages just weren’t being picked up by Google; however I could confirm that the site and parent page were being indexed regularly. I let it slide for a while, in case the links weren’t followed, for whatever reason, on the previous visits. On Wednesday just gone, I decided something had to have been going wrong for it to not be showing up in the various indexes properly.

After investigating all the other pages on the site, the one thing that became apparent was that none of them had underscores in the filenames. Of the pages that had filenames which might have warranted one, they were either words concatenated with no separating character or a dash was used to separate each word. This led me to check how the pages that used dashes (-) were going in the search engines. It appeared that they had no problems at all and that Google was actually utilising the filename as part of the ‘this page is relevant’ algorithm.

Cruising through some useful searches has confirmed that Google considers a dash to be a separating character in a filename. For instance, if you had a filename of faq-some-meaningful-name.asp, Google would see that as “faq some meaningful name” and utilise that when indexing the site. Conversely, an underscore is considered a plain character, which means unless the person was searching for “faq_some_meaningful_name” – that page might not show up as a by product of the filename.

The moral of the story: for the moment a dash in a filename trumps an underscore; so if you are using underscores in filenames, you might be missing out on valuable search engine ranking.

XmlHttpRequest Object

With all the press that the XmlHttpRequest object has received lately, I thought I would check out what all the fuss was for myself.

I did a little research online, as you do and scoped out what it could and couldn’t do. From here, I started trying to do anything with it that made sense. Initially, this failed as I was trying to hit an RSS feed on this site from my home machine. This might seem like a logical thing to do, however the object is restricted to opening URL’s from the same domain. In my failed example, that would have been http://localhost/. You could get around that by mirroring a remote feed onto your particular domain using your favourite server side language.

Once I established that I could instance the objects and access a URL, it was time to start interacting with the content. The first attempt involved trying to access the information returned from the open method of the XML object. However, if you’re actually accessing XML data and not randomly formed SGML, you need to hit the responseXML property to return you an object you can interact with through the DOM. After assigning responseXML to a variable, you can now interact with it through the standard DOM methods, such as getElementById() and getElementsByTagName().

With that in mind, I set about creating something semi useful – an archive page for WordPress enhanced using XmlHttpRequest that would degrade gracefully should the XmlHttpRequest object not be available. To accomplish this, I utilised the existing feeds that WordPress provides, which are accessed through http://domain.com/<something>/feed/.

As soon as I get a little spare time, I’ll wrap it into a plugin and release it here.

Farewell HostCentral, Hello McGooHQ

My domain and hosting came up for renewal just the other day, so I took the opportunity to have a look around for a new host. I have had nothing but excellent service from HostCentral for the last three years, however with the wedding pending, saving money was more of a concern.

I ended up going with McGooHQ, who are hosted in Canberra and powered by Internode/Agile bandwidth; who just happen to be my ISP as well.

If the site is temporarily unavailable in the near future, you know why. In case you’d like to know if your name servers are returning you the new or old IP address of the server, my current one is 203.209.x.y while the new one is 150.101.x.y.

Happy DNS propogation!

[Edit]: If you are seeing this addition, you are viewing the new site!