Archive for Technology category

Six great new features at Xbox.com

October 2010 – July 2011 Entertainment, Microsoft () • 2,475 views • 4 responses

It’s been quite a while since xbox.com had a major update and today sees the launch of the new version with a clean new look and a whole host of new features that our teams here at LIVE engagement have been working on.

There are a whole great new set of features, my favourites are below… note that some of these are not available in non-LIVE locales.

Showing the xbox.com Avatar Editor in action

1. Avatars

Avatars are no longer just for the console but are escaping out onto the web and Windows Phone 7. With the new Avatar Editor you can create your own avatar or modify your existing one with a new easy-to-use interface from your browser.

The new Avatar Marketplace lets you search and find cool items for your avatar to wear and try them on right-there in the search pages. Head on in either by game or by lifestyle (brands) (click the little grid icon to see sub-brands such as your own university’s sports team!).

Because these guys are 3D animated they require Silverlight to be installed on your machine (the streaming videos on xbox.com also require it)

2. Marketplace search & results

A brand new search function means we get much better results than before, fuzzy matching and some dynamic filtering options that appear on the left-hand side letting you dig down into family friendly games (e.g. bt game ratings).

Another cool use is to search for your favourite band and see what tracks and packs they have available. Then head to the game filter on the left to see only the ones that work with your game (e.g. Rock Band, Guitar Hero, Dance Central etc!)

When you visit the product detail page it now shows the images and streaming video inline (goodbye popups) as well as game add-ons showing which games they work with – useful for those music track packs!

3. Hand-picked promotions

Our content teams can now put together collections of themed hand-picked games, add-ons etc. that you can you filter, sort and explore from such as the new Kinect games or family-friendly fun (these will be per-region so might not exist in yours yet).

Gold and family gold members should keep an eye out for Gold exclusive offers or pricing!

4. Streamlined account creation

It’s now easier-than-ever to sign up for a free Xbox live account. Less questions, less steps and we’ll give you a randomly-generated gamertag you can change for free later when you’ve had chance to decide on the perfect name for your game-playing alter-ego. (We’ve seen some fun auto-generated ones during the development cycle including FirmJunk,

Comparing games on Xbox.com

5. Compare games with your friends

Okay, you could compare games before but the new UI is better and there’s a cool hidden feature that lets you compare against multiple people at the same time.

To do this head into My Xbox’s Game Center and choose a friend to compare with. Now, notice the url at the top of the page? Put a comma after it and another gamertag to see three… or another comma and a gamertag to see all four (the maximum) side-by-side.

6. Family center

New with this update is the Gold Family Pack which lets you get four gold subscriptions for $99 a year and lots of cool family features including play time reports, gifting points, allowances etc.

There are a whole host of extra features to be seen at xbox.com including mobile-to-web gaming, improved messaging, simplified UI etc. so go check them out!

[)amien

MacBook Pro 256GB SSD upgrade experience

April 2010 – February 2012 Apple, Hardware (, , , , ) • 399,393 views • 33 responses

I’ve been wanting an SSD for some time and finally caved. Armed with credit card, screwdriver and trusty MacBook Pro I fitted a sweet SSD and decided to document the experience.

Updated with benchmarks for the Crucial M4!

Choosing a drive

There are a bewildering number of options out there. Budget, as always, dictates the combination of speed and size available.

Size

You may not need as much space as you think so even if you intend on a fresh install first clean-up your current drive to get an idea of actual requirements. Remembering to backup before you:

  1. Identify biggest culprits
    Try DaisyDisk ($20) or Disk Inventory X (free) and drill down to catch unexpected bloat in your folders
  2. Clean up unused system junk
    Use CleanMyMac ($30) or MonoLingual (free) to clean up logs, caches, redundant processor and unwanted languages.
  3. Archive unused content
    Move those podcasts, TV shows, applications and games you aren’t going to use anytime soon to cheaper external storage.
  4. Deal with orphaned & duplicate files
    Find media in your iTunes folders missing from iTunes lists and either trash or add it back then use iTunes Display Duplicates.

If you’re prepared to give up your internal Superdrive then move your existing hard drive to the optical bay and purchase a smaller SSD for the OS and key performance-critical files. This saves cash and gives you more space at the expense of battery life and a little extra weight.

Speed

All SSDs are not created equal and the combination of flash and controller (on drive and in your machine) play their parts in defining performance. Firmware, hardware revisions, drive size and operating system can also affect the speed so do your homework.

Anandtech have in-depth coverage of SSDs including an SSD Bench with Tom’s providing a more general SSD Buyer’s Guide. Drives come and go quickly so keep an eye on review dates and exact model numbers as manufacturers have models with similar names with difference specifications.

My choice

I settled on the Crucial SSD 256GB C300 because it is blazingly fast and the 256GB variant fit my 150GB storage requirements.

The C300 drives are no longer available as Crucial have replaced them with the faster and cheaper M4 family or at Amazon
64GB for $105, 128GB for $188, 250GB for $365 and 512GB for $677

Apple-factory options

Apple’s factory options for SSD are a mixed bag. They originally used slower drives such as Toshiba. As of July 2010 whether you get a fast Samsung or a slow Toshiba SSD is pure luck.

Given Apple charge a slight premium for the SSD option, you don’t get to choose your drive model and they are easily replaceable (except the iMac 27″) go with an after-market drive :)

Installing a new hard drive

The newer Unibody MacBook Pro’s hard-drives are designed to be user-replaceable and are covered in the manual.

My older non-Unibody is not so simple but those nice people over at iFixit put together a hard drive replacement guide for 15” that is close enough for my 17″.

Installing Mac OS X without a DVD drive

My Superdrive died a while back so installing Mac OS X is a little trickier than usual. There are a few options you might come across.

Remote Install

Remote Install let’s you put the a DVD into a machine with a drive, run Utilities > Remote Install and follow a few steps which include holding down the alt key on the machine that doesn’t have a drive.

Unfortunately only machines Apple shipped without a Superdrive – i.e. a Mac mini or MacBook Air from 2009 or later are happy to boot from a Remote Disc.

The following two shell commands enable Remote Disc on older machines within Finder but don’t allow a remote install:

defaults write com.apple.NetworkBrowser EnableODiskBrowsing -bool true
defaults write com.apple.NetworkBrowser ODSSupported -bool true

You will also need to enable sharing on the Mac with the DVD drive. Head into System Preferences then select Sharing then check DVD or CD sharing. You may also want to uncheck Ask me before allowing others to use my DVD drive to avoid having to go to the other machine to continually grant access.

USB image

A Snow Leopard image will require just over 6.2GB and a GUID Partition Table. I’ve had success with a OCZ 16GB Rally2 USB Flash Drive ($35)

To copy the Snow Leopard Install Disc to it:

  1. Use a Mac that has a Superdrive and insert both the install DVD and USB storage device
  2. Launch Disk Utility from the Utilities folder
  3. Select the USB storage device from the list of devices and then choose the Partition tab
  4. Choose 1 Partition from the Volume Scheme drop-down
  5. Press Options… choose GUID Partition Table then OK
  6. Press Apply to confirm you are happy to wipe away all the data on the device
  7. Select the install DVD from the list of devices and then choose the Restore tab
  8. Drag the install DVD from the list of devices into the Source text box
  9. Drag the USB storage device from the list of devices into the Destination text box
  10. Press the Restore and wait a while

When finished eject the USB device and insert it into your DVD-less Mac. Turn it on and hold down alt until a boot selection screen shows then use the arrow keys to select your USB device and press return to launch the installer.

It may take a while for the installer screen to appear but be patient.

Press Options… from the installer to turn all off all the features you don’t need such as additional languages, printer drivers etc.

Open the Installer Log window and set Detail Level to Show All Logs to see more granular progress – useful if installing from silent media like networks or flash.

NetBoot

Macs can boot from network images but the official Netboot server only comes with Mac OS X Server which is $499 right now although rumoured to be free with Mac OS X Lion so that could be an option soon.

Performance over time & TRIM

A simplified primer

File systems write things in blocks. Before SSD when the file system wrote to ‘block 1′ it hit ‘block 1′ on the drive (unless it was damaged when it would map in a replacement from a reserved section). If it rewrote ‘block 1′ it overwrote what it wrote last time. This is how tools that erase files by writing them over and over work.

Now SSDs are fast but the flash technology suffers some limitations the most important is they can’t overwrite data without erasing it first so what they do is when the operating system writes ‘block 1′ a second time, it puts it somewhere else in the flash (but tells the file system it was ‘block 1′). This avoids the write penalty and also means that you don’t wear out block 1 by writing it over and over again (this is called wear-leveling).

Now this works just fine until you run out of fresh unused blocks. This happens sooner than you’d think because when the file-system deletes a file it does not actually erase anything but just marks it as not used in it’s own file-system tables knowing it will just get used again sooner or later. (This is how file-recovery tools are able to undelete files).

So this combination of the drive never getting told to erase blocks and only finding out it can re-use them later when its time to write data and it suddenly finds these writes all require it erase blocks too and performance can drop to traditional hard-drive speeds (or worse).

The solutions

Manufacturers initially solved this problem by writing tools that examined the file-system structures to find out which blocks are unused so they can send ‘erase block’ commands down to the SSD drive so they are ready to be written again without the erase penalty – at least until you run out of blocks again. Because these tools need to know the file-systems internals you can’t throw a Windows tool designed for the NTFS file system at a disk formatted with HFS+ for the Mac and expect it to be able to understand anything.

Another solution involves the drive recording when blocks are being overwritten at the file-system it can mark the older copy of the actual block on the flash as erasable. Now, this may not happen until the disk is quite full and so to avoid stalling again on writes the manufacturers put some extra flash storage on the drive. When it gets in this state the writes gets a fresh block from the reserve and the reserve takes the previously used block to erase and put back into reserve. The problem here is that the manufacturers have to put extra flash and logic on the drive which costs $’ and it’s only able to put off stalling as long as the reserve can keep supplying fresh blocks.

A third solution tackles the problem at the source. Manufacturers agreed on a standard that extends the ATA protocol called ‘TRIM’ that lets file-systems tell the drive when blocks are no longer required and can be erased when it’s not busy. Support was built into Windows 7 and Linux 2.6.28 making a lot of SSD owners very happy.

Mac OS X & TRIM

Only Apple-supplied drives have OS X TRIM support enabled by default but there are techniques for enabling TRIM in Mac OS X 10.6.7 (Snow Leopard) and 10.7 (Lion)

You could also try to minimize unnecessary writes:

  1. Don’t use Finder’s Secure Empty Trash or the srm command line tool – these attempt to overwrite the blocks but because of wear-leveling on SSD they’ll just steal blocks up to 35x the size of the file you want to ‘erase’
  2. Keep large churning files on external drives (e.g. video processing)
  3. Don’t let your laptop run out of power as it copies the RAM to disk each time (2-8GB)
  4. Prevent unnecessary disk operations such as the ‘last accessed’ attribute on files (see below)
  5. Don’t keep running disk benchmarks that cause lots of writes!
Don’t be tempted to try and use one of the manufacturers Windows tools from your BootCamp partition as they only understand NTFS and FAT. They won’t be able to even figure out which blocks can be erased as Mac OS X uses it’s own HFS+ file system.

Turn off last-access-time

These access times are pretty useless and indeed the iPhone also has them switched off. Create a file named noatime.plist in your /Library/LaunchDaemons path with the following contents:

<plist version="1.0">
  <dict>
    <key>Label</key>
    <string>noatime</string>
    <key>ProgramArguments</key>
    <array>
      <string>mount</string>
      <string>-vuwo</string>
      <string>noatime</string>
      <string>/</string>
    </array>
    <key>RunAtLoad</key>
    <true/>
  </dict>
</plist>

Thanks go to Ricardo Gameiro for that tip although his other Mac SSD tweaks of creating a RAM disk is questionable given the way Mac OS X manages memory and disabling the RAM copy-to-disk entirely and therefore losing data is more risky to me than running out of blocks early.

Do not

  • Turn off the sudden motion sensor – SSDs ignore the park head command anyway
  • Turn off HFS+ journaling – some users report odd issues and corruption

Last resort

If you do get into the situation where your write performance is suffering badly and you are prepared to spend a little time to get it back you can do the following:

  1. Ensure you have a full Time Machine backup
  2. Boot from a Linux Live CD (or USB image) containing a recent build of hdparm
  3. Use hdparm to perform an ATA Secure Erase
  4. Boot from your Mac OS X DVD/USB stick
  5. Choose the Utilities > Restore System From Backup menu option
  6. Point it at your Time Machine backup

You should also be able to do this with other full-system backup tools like SuperDuper but you’ll have to figure out the steps for yourself ;-)

Performance

I wish I had some better benchmarking tools but Xbench is all I have, sorry!

Xbench with Crucial C300 (256GB) on older MacBook Pro

Here are the figures for my Crucial C300 256GB drive with 0009 firmware on my older non-unibody MacBook Pro 17″ (MacBookPro3,1) with a dual-core 2.6GHz CPU and 4GB RAM.

This MacBook Pro is limited to 1.5GB/sec on the SATA bus as it uses an Intel ICH-8M SATA controller

0001
Sequential
0001
Random
0002
Sequential
0002
Random
0006
Sequential
0006
Random
0007
Sequential
0007
Random
0007
Sequential TRIM
0007
Random TRIM
Overall 137.66 643.14 137.39 648.57 121.39 644.71 125.17 620.97 138.23 638.23
Uncached write 4K 200.40 762.30 185.92 789.45 194.20 774.95 208.42 885.91 191.31 931.43
Uncached write 256K 196.34 357.61 196.05 359.23 129.89 360.79 157.84 318.87 172.08 320.78
Uncached read 4K 67.56 1926.31 69.27 1942.94 63.01 1911.07 60.37 1812.40 72.50 2030.81
Uncached read 256K 239.73 628.06 238.22 624.15 236.40 617.67 234.84 615.42 243.42 631.16

My original performance figures with the original as-shipped 0001 firmware and subsequent 0006 firmware figures are after almost a year of continual use and the drive has not been secure erased in that time. The final set of 0007 figures are on Mac OS X Lion with the TRIM enabler support switched on for a week.

Xbench with Crucial M4 (256GB) on new MacBook Pro

I had the opportunity to put an SSD in my new work MacBook and immediately jumped to the a href=”http://www.kqzyfj.com/click-3893583-10674245″>Crucial M4 256GB. Here are the crazy figures for that drive with 0009 firmware on a MacBook Pro 15″ (MacBookPro8,2) with a quad-core 2.2GHz CPU and 8GB RAM)

0009
Sequential
0009
Random
Overall 277.21 1293.22
Uncached write 4K 428.98 1890.35
Uncached write 256K 424.35 770.44
Uncached read 4K 120.56 2162.18
Uncached read 256K 691.20 1244.41

Thoughts

SSD is fast but given the hype I was expecting everything to be instant and it wasn’t quite there. Applications usually launch within a single dock bounce and everything feels a lot snappier but there wasn’t the massive WOW! I was expecting.

There are also a few other advantages often overlooked, especially on a laptop:

  • lower power consumption
  • less weight, noise & heat
  • greater shock, dust and magnetic resistance

Here’s a table that pulls the specs compared to the 7200RPM Travestar that was previously my main drive.

Crucial RealSSD C300 256GB Hitachi Travelstar 7K320
Power consumption (W) 0.094 – 2.1 – 4.3 0.2 – 2.2 – 5.5
Weight (g) 75 110
Shock resistance (G/1.0ms) 1500 200
Noise (Bels) 0 2.8
Seek time (ms) < .1 12

Time will tell how well the machine now deals with large Aperture libraries of RAW images and Visual Studio compilations from inside Parallels and I’ll be sure to report them here.

Check-in (26 June 2011)

I installed the SSD and wrote this article back in April 2010. I’ve revised and tweaked it over the 14 months it’s been published to account for new firmware, updated benchmarks, the new Crucial M4 replacement of the C300 and the fact that Apple now ship SSD’s with very good performance as standard.

My C300 is still going strong through two firmware upgrades, three OS X installs (trying out betas), regular application installs and work with heavyweight software such as VMware Fusion and Aperture.

The Crucial hasn’t yet missed a beat. No calls to support, no stuttering and benchmarks today are very similar to those published for the 0006 firmware update (within 10%).

[)amien

MacBook Pro two year check-in

January 2010 – April 2011 Apple (, , ) • 6,736 views • 3 responses

It’s been an interesting couple of years with nothing but a maxed-out MacBook Pro 17″ as my only home machine.

Failures

The hard drive died but time machine held my hand. At ALT.NET Seattle 2009 my backpack took a dive that left a dent in one corner. The battery was replaced and I roped GrinGod into obtaining a replacement UK-style \ key from the UK after some frantic typing.

A friend cracked the display when his keyfob sprang from his Batbelt culminating in a visit of the Apple Store in Bellevue. Ten days and $700 later got that fixed and included a bonus disconnected thermal sensor, a couple of new scratches, an extra screw to rattle around inside and a line of grease around the Apple logo.

Sticking with it

When I find myself eying the unibody I wince at the glossy ‘matt finish’ screen, the multi-touch trackpad clicks that sound like Robocop is nearby and a US keyboard that requires my pinky to hit a single-height enter key. That little pink dog won’t learn any new tricks. I’ve tried.

Still the OpenCL benchmark show the 8600M outperforming the newer 9400M and it does everything I need and at least one thing I don’t (gets hot enough to bake bread on). Short of switching the hard disk out for an SSD – I’ve ordered twice and then recalled after a Twitter volley of “no, you don’t want THAT one” – it’s here to stay for at least another year.

Applications

One thing that is always changing is the bunch of installed applications as I search for a combination that deliver a nirvana between productivity and enjoyment. Apps that perform a set of focused useful tasks with a shiny, eminently lick-able user interface, score highly.

I’ve rounded up my favourite apps before but here’s the latest specials on the menu.

CleanMyMac

This great-looking app helps reclaim wasted space making it a pre-requisite for SSD switchers.

Combining the PowerPC and foreign language code-purging of XSlimmer & TrimTheFat is also adds cache & log purging in with application uninstalls ala AppZapper etc.

Despite using XSlimmer already on my machine it was able to reclaim another 1.8GB and V2 is out soon which I hope will remove & alias duplicates given we’re not getting ZFS which had this feature (how many copies of Sparkle.framework do I have on my machine….)

Coda

This year I rewrote my blog’s WordPress theme from scratch and given the PHP requirement I found myself looking for an alternate IDE to Visual Studio. I already own TextMate but the feel of a raw text editor with bundles of extra bits feel didn’t have the gloss and usability I wanted such as fast preview, remote FTP sync etc. with a minimal of setup fuss.

I briefly toyed with Espresso during the early development cycle but Coda won me over in the end with it’s sheer simplicity and elegance plus the addition of built-in documentation for PHP was very helpful when working offline.

BetterTouchTool

Yes, when the Magic Mouse hit the street I picked one up. The idea of a mouse with trackpad multi-touch technology was appealing but a few minutes of use and no amount of twiddling would make it track  or let me configure it to take full advantage of what it should be able to do.

Until Apple sort this out BetterTouchTool is your friend letting you speed up the tracking of the Magic Mouse, or indeed your trackpad, and assign all sorts of interesting shortcuts and abilities to combinations of finger gestures.

Secrets

Mac apps tend to expose only the common options in their user interfaces but sometimes developers add some additional tweaks and settings behind the scenes that live in the Mac’s equivalent of the registry (known as “defaults“). While you can set these manually using the defaults command-line tool you still need to know the setting exists, it’s name and what options are available and so secrets exposes this.

Secrets is similar to Deeper and TinkerTool but the difference is that the secrets web site lets people add new options which then are automatically available within the installed preferences pane making them easily discoverable, searchable, applied… and occasionally undone.

Machinarium

Screenshot of the game MachinariumThis point-and-click adventure game will appeal to people who enjoyed Monkey Island although it feels more like the gorgeously submerging Beneath a Steel Sky.

The scenery is brilliantly imagined, stylistic and shows that very real lived-in cities can be beautiful especially when populated by cute robots capable of assembling themselves from their own body-parts (just like a triple 8 but infinitely cuter).

[)amien

Origins of a love affair

December 2009 – April 2011 Personal, Technology (, ) • 1,484 views • 6 responses

BBC Micro Computer's OwlFrom an earliest memory of a cream coloured box emblazoned with letters, mostly black – some red, came an owl proclaiming allegiance to the BBC.

This small box sat silently, patiently even, in our classroom for the best part of a year. On the few occasions our teacher was brave enough to flip the switch the machine would chirp into life with it’s two-tone beep and would state on capital white letters on a black background that it was BASIC. At this point the teacher would key-in the mythical incantation of CHAIN “” – handily jotted on a nearby note – and feed the beast a cassette tape.

Some time later the machine would announce it’s vague disappointment with the contents of the tape and be put back to sleep. One time, and one time only, I recall a screen full of bright colours masquerading as pirates looking for treasure.

I was 11.

Such a tantalising taste of computing left me hungry for more. I knew precisely two people who owned computers. One possessed a cut-down version of the BBC Micro from my classroom called the Acorn Electron and guarded it like a sacred treasure, the other was a friend and more accommodating so much so that he agreed, with little optimism, we could type my program listing into his computer.

What combination of childish scrawl, lack of understanding of programming concepts or the cobbled-together dialect of BASIC was responsible for his Texas Instruments TI-99 rejecting my program I would never know. However neither that failure nor the subsequent arrival and rapid departure of a ‘programmable’ Philips G7000 Videopac from my home would quench my thirst.

A new school year started and for me that meant a new school and new subjects the most interesting of these was named Information Technology or IT for short. I don’t recall much of these early lessons other than some exposure to word processing, videotext and a simplified geometry-base programming language for drawing shapes called Logo.

This fixed schedule held little interest to me although the machines themselves did and the teacher opened the room of fifteen or so BBC Micro’s equipped with 5.25″ floppy drives to the ever-changing line of misfits queued outside to play games. But unlike my old school a few people here actually knew a little about these machines.

Chuckie Egg and Mr. E were favourites while masochists would fire up Castle Quest, Citadel and Repton 2 despite being impossible to complete and lacking a crucial save-game option. Fewer still braved the open-ended and Elite space trading/combat game which would let you resume your position each day. Right on commander!

Games consisted of a few files passed between easily damaged 5.25″ floppy disks that students had mysteriously acquired. Remembering which file to CHAIN, *EXEC or *LOAD was a task in itself made worse by the ever-changing scene of kids and games. Now I finally had a machine to myself for a brief period each day I set about solving the first real world problem I encountered here and wanted to create something that would automatically boot and let you select a game by pressing a letter or a number.

Scouring magazines, loaning one of the few BBC BASIC programming manuals from the teacher and occasionally LISTing other people’s I came up with something that worked. Before long it had double height text, colours and some basic animation. Included in the program were some basic instructions on how to edit the program to fit the games on your own disk and it spread like wildfire.

Shortly after my father, who made gadget trading one of his hobbies, brought home a Sinclair ZX Spectrum 16KB. It was less powerful than the BBC’s at school and had to be hooked up to a television and cassette record to be of any use and had small rubber keys that were hard to type on. I played and programmed on it for hours without interruption and it finally became mine when my mother made it clear to my father it couldn’t be traded out for the next gadget. Within a few months the machine had died after something metallic got in through the edge connector.

I was heartbroken but found a neighbour was selling his Spectrum 48K and persuaded my parents to buy it. The extra memory was useful but even better was the hard-key keyboard and the original Sinclair BASIC programming manual I’d been missing. That year my parents split, my father moved out and we moved to a new parish on our little island of Guernsey which meant new friends and a new school. A school that had IT sharing lessons with technical drawing.

My hopes weren’t high…

[)amien