Rapid progress with language learning

Oliver Brown
— This upcoming video may not be available to view yet.

Thought I’d offer a quick status update regarding the language learning app. After a short break I’m back at it. Appart from enough Finnish content to generate ten 15-minute lessons the biggest progress is outputting MP3 files. My original plan was just to output M3U playlists but it seems iTunes and therefore iPods don’t support M3U files (as far as I can tell iTunes can only create playlists of files in it’s library - who wants hundres of files in their library consisting of a few words each?).

The sample MP3s should be available “soon”…

EVE Online for Macs!

Oliver Brown
— This upcoming video may not be available to view yet.

As of Tuesday it seems EVE Online will be officially supported on Macs and Linux. The Linux version seems to be just improved (and official) support for running EVE with Cedega (a commercial WineX fork). At the moment only Ubuntu, openSUSE and Linspire are supported (and come with nice packages). The Mac version was developed using Cider (a modification of Cedega for Macs) and only supports Intel Macs.

The minimum hardware requirements are interesting. Processor and RAM are the same at 1.8GHz+ 1GB respectively. Mac users require a better graphics card than Linux users but the Linux version doesn’t support ATI graphics cards. I would guess 6 months to a year down the line when AMD have finished releasing open source versions of the ATI drivers then ATI support will exist for everything in Cedega.

Full info about the Linux and Mac clients The other features in this release (Revelations 2.3) - incredibly minor

LINQ is magical

Oliver Brown
— This upcoming video may not be available to view yet.

The secretly named language learning app has been revamped to use LINQ for most of the XML handling. For those that don’t know, LINQ is a new technology that provides querying functionality in the .NET world. In my case I’m using LINQ to XML and it has seriously cut down on the size of the heaviest methods. Also, the part of LINQ to XML that I found least interesting when I read about it is actually the part I’ve found the best - the new XDocument API. Anyway, LINQ combined with a new USB headset that provides some actually quite good audio means that the important fundamental features have been implemented and work. At the moment it can:

  • Generate lessons based on vocabulary1 modules
  • Generate lessons containing past content with the correct repetition timing.
  • Actually play the lessons (but only on Windows2)

There are a few more things I want to add before I release any of it (like more audio for a start). But I thought I’d at least point out development is still happening :o) 1Instead of the Conversation > Phrase > Term style of Pimsleur I’ve decided to go for a more freeform approach to start with (inspired by me listening to Michel Thomas again). A vocabulary module just contains list of words and phrases that are processed in order. 2I still need a cross platform way to play audio. At the moment I use MCI which is part of winmm.dll which is obviously Windows only. Although Wine has apparently implemented it almost completely but I’m not sure how I’d go about making that help me.

Back to vanilla MythTV - Part 2: Fiddling

Oliver Brown
— This upcoming video may not be available to view yet.

After installing MythDora, there were a few extra things I had to do that took a while to figure out.

Upgrade to mythtv-trunk from ATrpms

I figured I just enable the “bleeding” repository and then do yum install mythtv. This worked fine. But nothing was different. It seems that “mythtv” is a meta package that just says you have Myth installed without actually containing anything. So then I tried yum install mythtv-frontend mythtv-backend mythtv-setup mythweb mythplugins. This worked up until a point but then failed a transaction test. The actual failure was a mismatch between themes that different parts provided. I decided this was unimportant but couldn’t force yum to install. So I installed apt (yum install apt) and used that (apt-get install mythtv-frontend mythtv-backend mythtv-setup mythweb mythplugins and it all went fine.

Import old recordings

This was easier than I expected. Simply replace the database with your old one (make sure you stop mythbackend before you do). I had previously copied all my old recordings to my FreeNAS box and dumped the database (mysqldump -u _username_ -p mythconverg > mythconverg.sql). So I deleted the mythconverg database and imported the SQL file (mysql -u _username_ -p < mythconverg.sql. You could also just copy the mythconverg directory in the MySQL data directory directly. The next time you start mythbackend it will update the database schema (if necessary) and everything will work. Apparently if you had slave backends on your old system you might have problems but I didn’t so I’m not entirely sure what they are…

Automatically mount a remote file system

To get MythTV to save on my FreeNAS server I obviously needed to mount it at start up. This was simpler than I expected (although I did it using a terminal). Open the file /etc/fstab and add the line: _server_:_/share_ _mount_point_ cifs defaults 0 0. server is the IP address of the FreeNAS server, /share is the folder on the server mount_point is the name you want to access it with locally (this directory should already exist - you normally make a sub directory of /mnt. After adding this run the command mount -a to force the system to mount all the file systems (it does this automatically at start up). Then run MythTV Setup, select storage groups and add the mount point you chose as a directory.

Back to vanilla MythTV - Part 1: MythDora Rocks

Oliver Brown
— This upcoming video may not be available to view yet.

Well I tried LinuxMCE but didn’t really get very far.

After deciding everything was too much of a hassle, I downloaded MythDora 4.0 and installed it. I have to say that unless you have a specific reason otherwise, MythDora is definitely the way to go for a MythTV installation. It was really easy and actually worked (something that seems not to have happened a lot when I’ve tried Linux). One of the big advantages of using MythDora is since it’s Fedora based you can update (usually) painlessly from ATrpms. It has MythTV packages based on regular SVN checkouts. Importantly for me it also has packages from from mythtv-trunk (the latest version). Although they’re marked as “bleeding” they are usually stable.

The reason I needed the latest version is for storage group support. Without storage groups MythTV is limited to storing recordings in a single directory, storage groups allows you to specify multiple storage groups, each containing several directories. MythTV then use some clever load balancing to spread things out across available drives. This is important for me since I was planning on keeping most of my recordings on my new FreeNAS server, at least in the long term. The recordings aren’t tied to a specific storage group by the way - you can move them around freely (so I record to the local hard drive and then move them to the FreeNAS server later).

Once it was installed I did have to do a bit of fiddling, and it’s the sort of fiddling other people may have to do, so I’ll explain in part 2.

LinuxMCE 0704

Oliver Brown
— This upcoming video may not be available to view yet.

A new version of LinuxMCE is out. And from what I’ve read (I haven’t installed it yet) it looks like a big improvement.

The biggest factor is improved MythTV support (which to be honest I feel is the most important part of it). They also claim the DVD quick install only requires three keypresses (but that’s only for the install, no setup). There is thankfully a new video as well that is considerably less annoying than the previous one - complete with disclaimers about things that may only work on specific hardware.

On the subject of specific hardware, there is a company called Fiire offering some pretty affordable computers with LinuxMCE already installed. Personally I’d build the core myself but maybe buy their thin clients.. They also a do a cool remote with built in gyro (like a remote/gyro-mouse combo) but it’s a $150…

FreeNAS

Oliver Brown
— This upcoming video may not be available to view yet.

In an effort to get more storage to share between the three computers at home (two Windows and one MythTV) I setup yet another machine running FreeNAS.

FreeNAS is a small (about 30MB) operating system based on FreeBSD designed just to be a NAS (Network Attached Storage). You add hard drives to it and it makes them (optionally) available in several different ways, including:

  • CIFS/Samba
  • NFS
  • rsync
  • HTTP
  • FTP

After a few minor problems setting it up (like a power cable breaking and installing from an old CD-ROM drive that didn’t work) it works great. Copying a large (~40GB) chunk of files to it at once took a while but writing to and reading from it at more sensible levels isn’t noticeably slower than using local files (on a gigabit network).

Windows Vista

Oliver Brown
— This upcoming video may not be available to view yet.

Well for various reasons I now have Windows Vista. I installed it myself and to be honest everything went smoothly. That’s not to say everything went perfectly, but nothing unsurmountable happened.

The first problem was the fact that I bought the upgrade version. I’d previously bought Windows XP Media Center Edition 2005 but I was doing a clean install. Previous version of Windows just asked for you to pop the disk of the previous version in this situation - Vista didn’t. It would only let me install from Windows. So I had to install Media Centre first.

Then once I had installed Vista it didn’t have drivers for my network card or my sound card (and no network card meant no internet and therefore no video drivers and therefore horrible resolution (at the wrong aspect ratio no less). Well luckily I have another computer with internect access so I got the network drivers (and then the video and sound drivers).

Beyond that, I haven’t done much with it yet. The Aero glass lucks cool and stuff and the new games it comes with are at least as entertaining as the old ones were when I first saw them.

PS. User Account Control really is as annoying as they say it is for at least two reasons: Firstly it seems to ask you everything twice. Second since I have administrator access anyway it doesn’t really provide any security (it happens so often that you just click accept straight away without reading it).

Revelations II for EVE Online

Oliver Brown
— This upcoming video may not be available to view yet.

Tonight (well tomorrow morning) Revelations II is deployed. Lots of changes affecting everyone from solo players up to major alliances. I’ll summarise the things I find most important personally (for a non-alliance (and at the moment non-corp) player).

  • Revamping the loyalty system for agents. Instead of agents giving you offers, NPC corporations will let you “buy” things with your loyalty points meaning you no longer have to wait for a specific offer to be available - if you have the LPs, you can have it.
  • A lot of static deadspace sites have been moved to the exploration system which anyone can scan with a new low quality on board scanner on each ship.
  • Heat (which may or may not be important to me) has been added allowing you to overpower some modules at the risk of damaging them.

If you’re not already an EVE Online player, get a free EVE trial account, and if you already a player, get some EVE Game Time Codes :P

N73, 770 and the Internet

Oliver Brown
— This upcoming video may not be available to view yet.

I recently finally got a new mobile phone contract with a Nokia N73 with T-Mobile (UK), complete with “unlimited” Internet access. I have to say it is actually more useful than I thought it would be.

I have a little app called GCalSync which synchronizes the calendar with Google Calendar. I also have the official Google Mail client which is almost perfectly (it doesn’t seem to show whether messages in my inbox have a label or not - but it’s a minor concern). The best bit though it accessing the internet from Nokia 770 using the N73 as a bluetooth modem.

Setting is not as straight forward as it should be. The 770 has settings wizard and T-Mobile Internet is an option, but it’s settings are wrong. After searching for a bit I found the correct settings:

  • Number to dial: *99***1#
  • APN: general.t-mobile.uk
  • Username: user
  • Password: pass

The “1” part of the number to dial has a slight chance of being different. This number refers to the different connections your phone might have setup. By default the one you want is the first one and will only need to be something different if you’ve changed things.

After that you may want to set your 770 as a trusted device (in the bluetooth pairing options on you N73) so that you don’t need to say “OK” all the time on your N73 when your 770 wants to connect.