LinuxMCE 1.1

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

Last month a new version, of LinuxMCE was released bringing with it some much needed improvements. The most noticeable is a switch from Ubuntu to Kubuntu (and an upgrade to Feisty) which apparently the KDE people are so happy about they want to bundle LinuxMCE with KDE 4. The most important in my opinion however is better integration with MythTV. From what I’ve been reading on their forums it’s not mature enough for general users (even less so than MythTV on its own) but it definitely has potential and if you’re comfortable with Linux and have a spare machine, you should go try it.

Google Checkout is cool

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

Google Checkout is an online payment processor. It was originally billed as a “PayPal killer” but there are important differences. Checkout is more shopping orientated whereas PayPal is for general payments. Checkout is also available in far fewer countries at the moment. The best part is their tactics to gain users.

For a limited time Google Checkout will give you £10 off any order over £30 (excluding delivery). Not just your first order, but all your orders while they keep the offer open. This is as much to attract businesses as users (the increased custom from charging £10 less for a lot of different items).

There are still few UK sites supporting Google Checkout - the biggest I know of is Ebuyer. Since most of this blog is about technology though, I’d have to say that’s a pretty good site to get £10 off at…

Handling regional variations in language learning

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

Warning, this post is long and rambling. You have been warned! :P

Part of the design philosophy of my language learning app is to reuse as much as possible. This brings up an interesting issue regarding regional variations of languages (I’m talking mainly about somewhat standardised variations) and how much should be shared between them.

For example in Belgium, French is an official language. This is almost the same as French as spoken in France but with a few important differences. Firstly there are minor vocabulary variations (Belgian French has specific words for 70 and 90 for instance). There is also a lot of Flemish and Walloon vocabulary used in addition to the French vocabulary. Finally there are pronunciation differences but these seem no greater than differences in accent.

So, a course on Belgian French should be almost identical to a course on Standard French. The question is how to notate that in the script files the language app uses.

There are basically three ways I’ve come up with to cope with the situation, and I think I’ll support all of them since they have different advantages in different situations.

The first is to allow in line region specific phrases. So for the numbers in Belgian French, the standard French files would be used but any Belgian French sections would take priority.

The second is to have whole region specific files. Extra Belgian phrases not appearing in standard French would be in these and be loaded in addition to the standard French files. This is really an extension of the first.

The final case is no link at all. This would be needed for Chinese. The language code for Mandarin is “zh-guoyu” and the code for Cantonese “zh-yue”. In this case however there is no such spoken language with the code “zh” and therefore nothing to inherit from. This is an specific case of the first two where no parent language exists.

So far this has just been considering audio. The app already supports text and will eventually support text only lessons of some sort. The first method above could be using for spelling variations (when learning English “color” and “colour” could use the same audio while appearing differently on the screen). As more dramatic example Serbian could be taught using either the Cyrillic alphabet or the Latin alphabet with the codes “sr-cyrl” and “sr-latn” respectively. Or perhaps even both…

The final point I want to make regards the actual audio files themselves. Although it is true than most of spoken French is almost the same in Belgium and France, the accents are different and generally identifiable to French speakers. Therefore regional specific audio is desirable where possible. Since the script files and the audio are kept separate this is is possible with the language app. If the Belgian French audio exists that will be used, if not the standard French is used. That means that if a standard French course is created, an adequate Belgian French course can then be created with little effort but with the possibility of improving it later

So much for Gtk#…

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

Well I’ve abandoned my plans to use Gtk# in the language app (which actually secretly has a name now).

The main reason for changing is simplicity. I had a look at the TreeView control in Gtk and decided it was too much work. Although the theory of good MVC separation is good, the user interface is such a small, simple part of my app it wasn’t worth it. The stuff I need from System.Windows.Forms should work in Mono (and .NET 1.1 and hopefully even the Compact Framework).

I still prefer the way Gtk handles layout of controls in general, but I console myself with the Windows form designer in Visual C# Express.

Language learning app is back on

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

The language learning app which I went on and on about a while ago is now under development again. When I say again I mean I started again in a completely different way (at least from a technical implementation point of view - the user experience is intended to be the same).

You see I recently started a large project in C# at work (a desktop app by the way, not ASP.NET) after saying I was somewhat familiar with it and it should be easy to learn. The good news is after two days I realise it actually is really easy to learn, providing you let it do the work for you. (To any programmers intending to learn it, you’ll spend most of your time at first not actually writing code but finding whereabouts in the huge class library the functionality already exists is. Once you get used to it and get the hang of how it works it is surprisingly relaxing.)

Despite all that I decided I still needed some practice in it so I came up with the idea of doing the language learning app as a fully fledged desktop application - although at work I’m using System.Windows.Forms I’m using Gtk# so it can hopefully run on Mono (and therefore Linux, Mac OS etc). The biggest problem I have is actually playing the audio. A quick search for “C# MP3” comes up with a solution based on MCI, some clever thing embedded in a Windows DLL that obviously won’t be cross platform. My workaround at the moment is just use an external program via the command line that I suppress the window of. If anybody knows of a better way that would work on .NET and Mono, let me know…

Brazilian PayPal Phishing

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

I recently got an PayPal phishing email. It looked like most of the others I get but I usually visit the page anyway just to see what’s there. This time I was surprised by the address: http://smtp.funsau.saude.ms.gov.br/manual/www/paypal.com/ cgi-bin-webscr.cmd.account-login.userid-912834.link-limited-account/ websrc\_cmd=resolve\_process-run/account\_verification-process-run/ paypal\_account/limit-issues/index.htm gov.br?

A quick check on Wikipedia confirms that gov.br is reserved for Brazilian government entities and that smtp.funsau.saude.ms.gov.br is the official website of the state of Mato Grosso (site in in English). Assuming that the phishing site isn’t actually authorised by someone in the Mato Grosso government I’d hoped they’d be more careful about what people with access to their system can put up.

Pluto Home

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

Pluto Home is the project that LinuxMCE is based on. They are essentially the same thing, the different is Pluto Home is supposed to be a black box application that takes over your computer (with the advantage of stability) whereas LinuxMCE is designed to coexist with everything else a little better. Pluto Home is also offered as a commercial solution preinstalled and configured (but the software itself is still open source).

To get more info on how it all worked I visited the Pluto Home forums.

It seems that MythTV isn’t as integrated into Pluto Home/LinuxMCE as I’d hoped, but it might not actually matter depending on how you use it. When you select TV, it just launches MythTV and puts it at the front. It then simulates key presses from whatever your current control method is (which could be a remote, a mouse or their Symbian software on a bluetooth mobile phone). If you can use MythWeb to set things to record (which is what I use with Myth most of the time) and then just use Pluto/LinuxMCE to view the recordings then minimal integration is not a problem since I’d never use MythFrontend…

LinuxMCE

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

Could this be the ultimate home entertainment system? There’s a video dotted around the Internet that firmly says yes but I strongly suggest that video is not your first source of information about LinuxMCE since its uber-fanboy nature will just annoy you.

It’s basically a wrapper for MythTV, Asterisk and a few other things brought together with a snazzy interface and user accounts. The third party reports I’ve read suggest it’s not as easy to setup as the website suggests, nor perfectly stable. But the list of features it claims to support (and hopefully will completely support soon) is quite amazing.

For more info, visit the LinuxMCE website.

GMyth - a MythTV frontend on a Nokia 770?

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

Someone on the MythTV mailing list recently announced GMyth, a library based on ANSI C and GObject to provide access to Myth backends in a GTK environment. Their ultimate goal is to have MythTV accessible from a Nokia 770/N800 complete with live transcoding.

You can find lots more info over on MoRpHeUz’s Blog.

No TalkTalk unbundling

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

I just got an email announcing that due to some sort of technical difficulties, my unbundling has been put back. No word on a new date either.