Hitachi Travelstar 7K200 Verdict: Obnoxiously Noisy

The OEM drive in my MacBook was a Toshiba 60GB (MK6034GSX, 5400RPM, 8MB cache, 0.75W at idle). This drive was quick and almost entirely silent, but my photos were quickly eating up the space. So, in July 2007, I ordered a Hitachi Travelstar 200GB hard drive (7K200, 7200RPM, 16MB cache) from ZipZoomFly.

Initially, the drive seemed great. Boot-up time was substantially quicker. Adobe Lightroom browsed and exported noticeably faster. However, the honeymoon was over quickly. I noticed that it made a lot of clicking noise. Often, simply scrolling up or down a web page would cause several irritating clicks (and this is with 2GB RAM and no other apps running).

After putting up with it for several months, I contacted Hitachi support. They suggested using their Feature Tool to turn on sound management, which I couldn’t do because they don’t support the Intel Macs. Based upon my description, the customer service rep recommended that I return the possibly defective drive.

Within a week I was happily installing my shiny, new replacement. Sadly, the feeling faded when I found that the new drive was as bad as, if not worse than, the first Hitachi drive.

Last night, I realized that I could, in fact, run the Hitachi Feature Tool, since SATA is standard across both notebooks and desktops! I moved the drive to my old desktop, booted the Feature Tool CD, and enabled sound management.

The drive is now noticeably quieter, but still extremely annoying compared to the original Toshiba disk. I would estimate that it clicks approximately half as often.

I will be ordering a 200GB, 7200rpm Toshiba drive as soon as they’re in-stock, and retire this awful Hitachi disk for use in my HTPC in the living room. Hopefully, I won’t notice the sound from across the room…

Posted in Technology | Tagged , , , , , , , , , , | Leave a comment

Aeroflot comment

Cracked.com had a so-so article which mentioned Russian discount airline Aeroflot.

The winning comment was by Kostanza:

Aerofloat Comment from Cracked.com

Posted in Funny, Internet | Leave a comment

The Tale of Genji – choosing a translation

All covers for The Tale of Genji

I’ve heard about The Tale of Genji, and thought I might like to read it. However, there are a daunting number of translations available! They’re enumerated in the Wikipedia article.

Here’s my rough summary:
0) Murasaki Shikibu – the original Japanese author.
1) Kencho Suematsu – first translation, considered poor quality.
2) Arthur Waley – many errors and changes from Murasaki’s original.
3) Edward G. Seidensticker – closer to the original than Waley, but still makes changes.
4) Royall Tyler – more footnoting explaining cultural aspects.

There is an excellent review on Amazon, which provides direct quotations from several versions of the Tale of Genji on Amazon. Also, this review contrasts the Siedensticker against the Tyler version.

In the end, I think I’m going for either the poetic Seidensticker version, or Waley’s more complex writing.

Posted in Books, 日本語 | 1 Comment

How to Export a Type Library

It had been awhile since I’d exported a TypeLib, so I had forgotten how! The world has moved on to .Net and its “tlxexp.exe” tool, which is for .Net/CLR assemblies only.

1) Download OLEVIEW.EXE the OLE/COM Object Viewer

3) Copy the text of the Type Library to wherever you need it.

Viewing a Type Library in the OLE/COM Viewer (OLEVIEW.EXE)

Posted in Technology | Tagged , , , , , | Leave a comment

Big Red vs Little Cinnamon Gum

I remember these incessant Big Red television ads from my childhood:

Big Red Gum“no little cinnamon gum freshens breath longer than Big Red”

To this day, I want to get my hands on that colorful, little, cinnamon gum! My mouth literally waters at the thought of it.

Besides, who wants to chew a gum emblazoned with a logo that screams, “compensating”?

(found on a compilation of three hours of MTV recordings from 1983)

Posted in Funny | Leave a comment

XBox Video Encoding: AAC versus AC-3 audio

The XBox 360 can play back xvid/divx + AC-3 (or AAC), and H.264/x264 + AAC. I’ve noticed a distinct difference in audio quality between AC-3 and AAC, at both the default 128kbps and forced 192kbps AAC (--aencoder aac --arate 48 --ab 192).

Fox Searchlight logoThis is easily demonstrated by listening to the first few seconds of the Fox Searchlight intro, which features kettle drums. The AAC is lacking substantial low-frequency character which is present in the AC-3 version.

This will likely never matter if you watch your movies exclusively on your computer or use only your television’s speakers, but on my NHT 2.5’s, the AC-3 track sounds significantly better.

Posted in Technology | Leave a comment

uShare on Buffalo TeraStation Live for XBox 360 Video

uShare, a GeeXBox project, is a media server which is compatible with the new XBox 360 “Spring Update” media player capability. Running uShare on a desktop seems straightforward, but getting it working on such a lightweight machine as the TeraStation Live is a bit more difficult, particularly if you’re not experienced at cross-platform compiling.

Bear in mind that the TeraStation Live is ARM-based, unlike the older TeraStations. Luckily, many other embedded network appliances are ARM-based, so many of their compiled binaries can be run without modification.

Before working with uShare, the TeraStation must be hacked for full console access. This is an involved process which is explained here.

Once console access is available, install ipkg and use it to install uShare. The ipkg for the Maxtor Shared Storage II (also ARM-based) should work, so these directions apply. Then uShare can be downloaded and installed by following these instructions.

For me, the startup configuration didn’t work on my TS Live, so I simply created a script called ‘relaunch-ushare’. It kills any running uShare process, then restarts it.

#!/bin/bash
kill -9 `pidof ushare` > /dev/null
/opt/bin/ushare --xbox --cfg=/opt/etc/ushare.conf --verbose -D

The relevant portions of my /opt/etc/ushare.conf file are as follows:

# Port to listen to (default is random from IANA Dynamic Ports range)
USHARE_PORT=49201

# Directories to be shared (space or CSV list).
# Ex: USHARE_DIR=/dir1,/dir2
USHARE_DIR=/mnt/array1/media/video/movies

# Use XboX 360 compatibility mode (yes/no)
ENABLE_XBOX=YES

To administer uShare via its web interface, browse to http://server:portnumber/web/ushare.html. Note that the port number should be whatever appears in /opt/etc/ushare.conf file on USHARE_PORT line.

uShare management web interface

Posted in Technology | 1 Comment

Using Handbrake to Encode Videos for XBox 360 Playback

I installed the Microsoft Spring ’07 Update, allowing the XBox 360 to play videos encoded as MPEG-4 Part 2 (xvid/divx) and H.264/x264. After fumbling around for countless hours, I found handbrake settings that work with the XBox 360.

Since all the terms thrown around become confusing (H.264, x264, xvid, divx, and MPEG-4), here is a simple breakdown:

MPEG-4 Part 2 is commonly referred to as xvid or divx, however, xvid and divx are simply codecs which implement this standard (reference).

MPEG-4 Part 10 is commonly referred to as H.264, and x264, QuickTime, and Nero Digital are some codecs which implement it (reference).

According to the Spring ’07 Update Playback FAQ and the December 2007 Video Playback FAQ, the following configurations are supported:

Extensions Containers Video Audio
H.264 .mp4, .m4v,
.mp4v, .mov
MPEG-4, QuickTime 10 Mbps @
1920×1080
30fps
2ch AAC (LC)
MPEG-4 .mp4, .m4v,
.mp4v, .mov
MPEG-4, QuickTime 5 Mbps @
1280×720
30fps
2ch AAC (LC)
WMV .wmv asf 15 Mbps @
1920×1080
30fps
WMA7/8, WMA 9 Pro (2ch, 5.1),
WMA lossless
AVI .avi, .divx avi 5 Mbps@
280×720
30fps
Dolby® Digital 2ch, 5.1ch, MP3

In other words, the XBox 360 will play:

  • x264 + AAC audio inside mp4
  • xvid + AAC audio inside mp4
  • xvid + AC-3 audio inside avi

But The XBox 360 will not play:

  • x264 + AC-3 audio inside anything

Additionally, the FAQ seems to indicate that the XBox 360 will play files in any of these containers: .mp4, .m4v, .mp4v, .mov, .wmv. However, at least with uShare, I’ve found that the XBox will only even attempt to play files ending in .m4p and .wmv. The XBox does seem to be flexible about the actual content of the file, however, for example, I have renamed some .avi files with the .m4p extension, and it happily plays them. This may be entirely due to the way that the XBox 360 interprets uShare’s MIME types.

The command line I use under Linux to encode videos for x264 with AAC audio is:

/usr/bin/HandBrakeCLI -i DVD_NAME.ISO -o DVD_NAME_x264_aac.mp4 -p --aencoder aac --arate 48 --encoder x264 --markers --format mp4 --two-pass --turbo

(note that the -p switch indicates that Handbrake should use encode the file anamorphically)

To encode using the xvid codec with AC-3 audio, I run:

/usr/bin/HandBrakeCLI -i DVD_NAME.ISO -o DVD_NAME_xvid_ac3.avi -p --aencoder ac3 --encoder xvid --markers --format avi --two-pass

(I append the encoding details to the end of the filename so that I can keep track of what does and does not work!)

So far, my results with AC-3 playback have been disappointing. It appears that this is due to the fact that AVI isn’t intended for streaming playback, and Handbrake’s AVI muxer is rudimentary. MeGUI is suggested for better AVI output.

Posted in Technology | Tagged , , , , , , , , , , | 3 Comments

Ubuntu With autofs and Infinite Recursive Directories

Trying to get autofs working on Ubuntu, I found that everything worked except that I could never actually get at the folder contents. Instead, I would get an infinitely recursive set of empty folders:

jeff@ubuntu:~$ ls /smb/myserver/
backup/ info/ media/ pictures/ share/
jeff@ubuntu:~$ ls /smb/myserver/media
backup/ info/ media/ pictures/ share/
jeff@ubuntu:~$ ls /smb/myserver/media/media/media/media/media
backup/ info/ media/ pictures/ share/
jeff@ubuntu:~$

In the end, I inadvertently solved the problem by installing samba.

sudo apt-get install smbfs

Otherwise, installation worked just like the Internets said. The most important bit is to configure your /etc/auto* files correctly. Here’s a rundown of mine:

My /etc/auto.master:

#misc /etc/auto.misc --timeout=60
/smb /etc/auto.smb
#/misc /etc/auto.misc
/net /etc/auto.net

Additionally, /etc/auto.smb.yoursevername must contain your username and password, and only be read-write accessible by root:

username=yourusername
password=yourpassword

Resources:
This page was helpful. As an aside, this page shows how to substitute cifs for smbfs.

Posted in Technology | Leave a comment

Google Translate: Heath Ledger is the Spanish Tom Cruise

Google Translate of “Heath Ledger is Dead”

Posted in Funny, Internet | Leave a comment