Nik's Technology Blog

Travels through programming, networks, and computers

Where does Apple TV leave the Xbox 360?

Apple have just released Apple TV, essentially a device used to wirelessly bridge the gap between iTunes on your computer (Mac, PC) and your TV set in your living room.

Apple added video downloads to the iTunes service a while back, by getting several Hollywood studios on-board. These videos have so far only be available to watch on your computer screen or on your iPod video. Apple TV aims to fix this, by allowing your iTunes library to be wirelessly streamed to your HDTV.

Xbox 360's Media Capabilities

Microsoft on the other hand have similar strategies on invading peoples' living rooms with digital content, theirs though, is in the form of the Xbox 360, which as well as being a high definition games machine is also a very capable Media Center Extender.

As a Media Center Extender it wirelessly streams content from Windows Media Center, or Windows Vista (Home Premium and Ultimate editions) computers. If you don't have a Media Center edition of Windows you can still stream your music, pictures and just recently WMV videos too from the Xbox console using Windows Media Connect.

So How Do Apple TV and Xbox 360 Compare?

Ok, here's a matrix comparision table between Apple TV and the Xbox 360, so you can make your own mind up.

Feature
Apple TV
Xbox 360
HD Games Machine
No
Yes
Stream Audio
Yes
Yes
Stream Video
Yes
Yes
Stream Photos
Yes
Yes
Component Video
Yes
Yes
HDMI
Yes
No
Audio Out
Yes (optical and RCA analogue)
Yes (optical and RCA analogue)
Ethernet connection
Yes
Yes
Wireless capabilities
Yes (built-in) (pre-n)
Yes (sold separately) (a, b, g)
HD Resolution capabilities
1080i, 720p, 576p, or 480p 1080p, 1080i, 720p, 480i,480p
DVD player
No
Yes
HD DVD player
No
Yes (sold separately)
iTunes compatibility
Yes
No
Remote control
Yes
Yes (sold separately)
HD drive
40GB
20GB (premium package only, not needed for streaming)
Video formats supported
H.264 and protected H.264 (from iTunes Store): Up to 5 Mbps, Progressive Main Profile (CAVLC) with AAC-LC audio up to 160 Kbps (maximum resolution: 1280 by 720 pixels at 24 fps, 960 by 540 pixels at 30 fps

iTunes Store purchased video: 320 by 240 pixels or 640 by 480 pixels

MPEG-4: Up to 3 Mbps, Simple Profile with AAC-LC audio up to 160 Kbps (maximum resolution: 720 by 432 pixels at 30 fps)
WMV only, although a Windows 3rd party app called Transcode360 will allow most other formats to be streamed
Audio formats supported
AAC, protected AAC (from iTunes Store), MP3, MP3 VBR, Apple Lossless, AIFF, WAV MP3, WMA, un-encoded AAC, CD, DVD audio

Contact forms, SPAM relay email and the CAPTCHA

Back in January this year I decided enough-was-enough with increasing amounts of automated SPAM coming into my inbox and originating from my site. I decided to do something about it. My contact form has been attracting lots of SPAM bots which were trying their best to relay their SPAM through my site.

My form has always had the To: and From: fields hard-coded however, so I doubt anything ever got relayed, but they all got sent to me anyhow.

As a result I now verify that the form was actually filled in my a HUMAN each time the form gets sent! I've built an ASP CAPTCHA function to achieve this (Completely Automated Public Turing test to tell Computers and Humans Apart), more about CAPTCHAs here.

Accessibility and CAPTCHAs

There are however down-sides to this SPAM free existence. CAPTCHA images in the form that I am using are inherently inaccessible, so I intend to use another system in conjunction with my image CAPTCHA as used my Matt Cutts on his blog.

Recruiting Web Developers - Finding the right coder!

I've had a fair bit of experience employing web developers in recent years, I've also read a fair number of CVs, and posted a number of online adverts.

With recent changes to UK employment law it's more difficult than ever to attract the right candidates and get them to apply, as well as successfully convince the wannabe developers that a particular post isn't for them.

I've read a couple of articles today that interested me concerning recruitment. This article about writing a resume for developers shared some useful tips about writing CVs, most of which I can definitely recommend judging by the CVs I receive.

The second article I read, (but can't find the link!) talks about a novel way of advertising for web developers, advertise in your HTML source code of course! Only developers would look there of course, so you're audience, however small, is highly targeted.

I'd like to add to the list of what not to do while trying to secure an interview:

  • Don't SPAM companies with your CV - once is plenty for each position
  • Don't include SPAM/holding domains/dodgy sex domains on your CV unless you're applying for a job in this area
  • Do we really need to know what your late Father's name was?
  • Your National Insurance number is not necessary - haven't you heard of ID theft?
  • Weird lists of hobbies which are unrelated to the job you're applying for
  • Any lack of formatting, mixtures of fonts, font sizes, colours
  • Is a photo of you really necessary?

Cisco CCNA hands-on experience

It's been a while since I completed my CCNA course, but I've been thinking about the course recently, partly because I'm having a clear-up and I've decided to sell the Cisco 2501 router I bought to practice IOS commands on. I've also given my website a bit of a redesign and I got looking over my CCNA notes again.

I attended evening class at my local college for several years, one night a week to learn about networking through Cisco's online e-learning site. The course was thorough and included hands-on router lab experience, fault-finding etc. Subsequently when I took the exam I got a high score.

What baffles me is the fact that you get adverts on Google for 2 week intensive courses in India. How can anyone possibly learn the whole course material in 2 weeks?? Perhaps if you are already an IT professional and just wanted the certification, but a networking newbie? Beats me!

Site Redesign and Upgrade

I've finally decided to give my site a face-lift. I first built it in 2002 when the web was a different place, just recovering from a boom and bust. Since then we've seen the dominance of Internet Explorer errode slightly somewhat with the emergence of Firefox/Mozilla, Safari and Opera. Browsers have also become more standards compliant, which has made it easier to build cross-browser sites.

Advances in browser rendering engines have made it possible for more and more sites to adopt XHTML with CSS 2.0 stylesheets with presentation specific HTML consigned to the dustbin.

Moving all presentation logic to CSS is a liberating step to take, but it requires different skills and techniques compared with using tables. It's very powerful, but it also has its faults. Where before you had no option but to use JavaScript to create certain effects, often called Dynamic HTML, now a lot of those rollovers etc can be handled by a Cascading Style Sheet.

I've created a design that follows the current web vogue often associated with so called Web 2.0 sites, I'm still testing and fine tuning the design and initial template, but it will encompass this blog and my whole site, it'll be XHTML compliant using the WC3 strict DTD, my CSS will handle all presentation logic and I will aim to make it as accessible as possible to screen reading devices.

Windows Home Server

I signed up to test the new Windows Home Server Public Beta a while back and received an invitation to download and review it.

Like a lot of people I am frequently running out of storage space on my machines and needing to upgrade. I am also fairly concerned about data backups too, so much so that I upgraded my main machine a while back to include a SATA RAID 1 mirror for my core data over 2 x 320GB drives.

Most people however don't have the need or knowledge to set up a decent backup or redundancy solution, so Windows Home Server when purchased installed on a piece of purposely designed hardware should fill this gap in the market.

When I get a spare few minutes I'll download the DVD and test on an un-used machine. I'm particularly interested in the usability of the software since it will mostly likely be bought by and used by people who are not particularly technically minded.

From what I've heard it does not include Media Center (since it's a headless OS), but it features Windows Media Connect, so I'll be able to stream my music and video straight to my XBOX 360 without having to have my main machine running.

Vista Home Premium Upgrade Voucher

I finally received an email yesterday confirming my Vista Home Premium upgrade has been dispatched.

Way back in October 2006 I upgraded my main machine from XP Professional to Windows Media Center Edition in order to be able to stream content to my Xbox 360 in my living room. I bought an OEM version of the operating system with a Vista Home Premium upgrade voucher included.

On receiving it though I discovered what was needed to claim my upgrade. Microsoft don't make it easy I can tell you that now! Firstly the offer was restricted to system builders registered with Microsoft, this wasn't made clear on the site I purchased it from. It didn't phase me though, I registered and now receive lots of system builder spam :-)
I went ahead anyway and fingers crossed it's paid off and I'll get my hands on the new OS shortly.

My next problem is going to be installing it on my aging computer and trying to understand what pieces of hardware I can upgrade without having to re-validate my OEM copy of Vista. Oh what have I got myself in to?? :-)

Truncating and Shrinking a SQL Server logfile

It's such a pain when a SQL Server log file runs away with it's self on a development machine. I always forget the T-SQL to truncate and shrink the log file, so I thought I'd post it here for future reference.

BACKUP LOG <database name> WITH TRUNCATE_ONLY

DBCC SHRINKFILE ('<datbase file minus extension>',1)

MySQL Replace Function

I never knew this function existed. Well I never!

MySQL Replace(), here's the syntax.

update [table_name] set [field_name] = replace([field_name],'[string_to_find]','[string_to_replace]');

I've also successfully used nested Replace() functions, as above, within a select statement to reform field values for output.

What would we do without it!

Some more MySQL snippets

Apple vs Microsoft (iTunes vs Media Player)

I'm no fan of big companies with monopolies that strangle the life out of the IT industry, but Apple and Microsoft do have a knack of producing some fairly good software.

Until recently I had just been ignoring the smug Mac users when their claims that Apple's computers and software are the best things since sliced bread.

I'm not convinced that the DRM (Digital Rights Management) strategy adopted by either Apple or Microsoft is the best way forward, but I am slowing warming to Apple's philosophy.

After buying an iPod and solving the issue of it crashing on me while converting to Windows format, even before I'd even used the thing, I have to admit, they got a lot right with the software. iTunes even though some features that should be there are missing on purpose is the business!

It's a joy to find and update your music. ID3 tags are so easy to edit, even for multiple files. Artwork can be added through the interface, although it would be better if the music library Apple uses to write the ID3 tags in the first place had the said album artwork (Something Microsoft's Media Player does).

As for the iPod, well it's sexy, easy to scratch and heavy, but not as heavy as all those CD's that it's replacing!, oh and it does crash once in a while, no blue screens though :-)