Computers

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…

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…

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.

More Maemo Mono

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

There is now a single click installation route for getting Mono on the Nokia 770 and Nokia N800. Basically it sets up installation repositories and installs the runtime. From that any apps you install will install only the components they need. Whether there are any really cool Mono apps for Maemo yet is something I don’t know. But I’m sure there will be :)

Steve Jobs doesn’t like DRM

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

Steve Jobs, co-founder and CEO of Apple has announced that the “best alternative” for consumers regarding digital music downloads is the removal of digital rights management. Implications from previous interviews have strongly suggested that he personally doesn’t like it and having the largest share of the personal music player market means it would be good for business too.

The music industry (and the movie/TV industry to a less extent) have to be worried by this. The sales from iTunes are now significant enough that if Apple threatens to remove DRM anyway then they would lose too much by not complying.

Ideally Bill Gates will announce similar feelings. Surely it’s good PR all round for Steve Jobs and Bill Gates to be united solely to protect the consumer? I’m being a little hopeful perhaps…

EVE Voice is here (almost)

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

EVE have announced a second stress test on Singularity, their test server, to see how voice chat holds up in EVE. For a long time people have used external programs such as Ventrillo and Teamspeak to talk. Now (for a small fee if I remember correctly) users will be able to chat in game, hopefully in a way that is nicely integrated into the UI (and the new fleet system).

Google gets hacked - kills the web

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

This morning Google went down in a big way, and in a disturbing way slowed down the most of the world wide web. Well it may not actually be most of it, but it was most of the stuff I was browsing.

The whois output for google.com this morning was:

GOOGLE.COM.ZZZZZ.GET.LAID.AT.WWW.SWINGINGCOMMUNITY.COM GOOGLE.COM.ZOMBIED.AND.HACKED.BY.WWW.WEB-HACK.COM GOOGLE.COM.WORDT.DOOR.VEEL.WHTERS.GEBRUIKT.SERVERTJE.NET GOOGLE.COM.VN GOOGLE.COM.UA GOOGLE.COM.SUCKS.FIND.CRACKZ.WITH.SEARCH.GULLI.COM GOOGLE.COM.SPROSIUYANDEKSA.RU GOOGLE.COM.SA GOOGLE.COM.PLZ.GIVE.A.PR8.TO.AUDIOTRACKER.NET GOOGLE.COM.MX GOOGLE.COM.IS.NOT.HOSTED.BY.ACTIVEDOMAINDNS.NET GOOGLE.COM.IS.APPROVED.BY.NUMEA.COM GOOGLE.COM.HAS.LESS.FREE.PORN.IN.ITS.SEARCH.ENGINE.THAN.SECZY.COM GOOGLE.COM.DO GOOGLE.COM.BR GOOGLE.COM.AU GOOGLE.COM

It seems to be back up now although you may still have problems depending on who often your ISP updates its DNS records.

Although it seems only google.com was affected*, most of Google’s other domains reference google.com as a nameserver, so they were inaccessible too. This includes googlesyndication.com, the domain Adsense ads are served from. As such every single site that hosts Google ads well have seemed slower while the browser waits in vain for a response from Google’s servers.

* At least as far as Google are concerned. A whois on yahoo.com was almost the same but I didn’t actually notice whether Yahoo was down or not.

My first experience with TalkTalk customer support

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

As many of you may be aware (most of you judging by the search engine keywords people use to get here with), I’m a TalkTalk customer. Now quite a few people are having problems with TalkTalk. Luckily I’ve had no problems with TalkTalk (although that might change when I’m unbundled. And for the most part that’s still true, although I did recently have a minor problem that led to me calling TalkTalk support.

Firstly, the problem I had was nothing to do with the Internet. It was a problem calling Julia in America. I would call and get nothing but silence. After a while it would ring but someone else would answer the phone who apparently couldn’t hear me. After talking to Julia over the Internet I discovered that she could hear me and she could also hear the third person. Very strange. Another point is that to call Julia and it be free (well at least included in the £10 a month we pay) I have to dial a prefix. Without the prefix everything was fine. So it was probably some obscure routing problem specific to TalkTalk.

So I called their support line. Specifically the one for landline faults. I got through straight away and told them I was having a problem calling America. They said it was a known issue and they were dealing with it. 24 hours later it was working fine.

I tell you this simply to point out that not quite everyone is having a problem with TalkTalk…

Mono brings everything together - MythTV, PS3, Nokia 770

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

MythTV finally runs on a Playstation 3. Linux has been running on PS3s for a while doing all sorts of cool things. Well Takeshi Yaegashi has now got a USB TV tuner working for it making MythTV essentially complete.

So where does Mono come into this? Well Mono runs on a PS3 as well. Actually that’s not the link. In a cool coincidence, I first found out about MythTV on a PS3 after subscribing to a Mono RSS feed.

And the Nokia 770? Well the very next entry on said RSS feed was about Mono running on a Nokia 770 (and a Nokia N800 and Windows XP and Linux - all with one executable).

It’s a small world…

Streaming video to the Nokia 770

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

I recently managed to get video streaming (and transcoding in real time) to my Nokia 770 :D Here’s a guide for anyone wanting to do the same thing. This assumes you have a wireless network with a computer on it.

The first thing you need to do is install MPlayer on your 770. The media player that comes with it is too limited with regards to what it can play. The interface to Maemo MPlayer is a bit limited but I tend to start it from the command line anyway.

Then install VLC (VideoLAN client) on your PC. VLC is a cross platform media player with wonderful codec support and more important built in streaming and transcoding support. To stream (and transcode) using VLC, go to the Open File dialog box and select “Stream/Save” (and click the associated “Settings” button). From there select HTTP streaming (remember the port) and set up your transcoding options. The following are ideal for the 770:

  • M4V video
  • MP3 audio
  • 256 kbps video
  • 64bps audio
  • Width: 400
  • Height: 244

You need to fiddle a bit to specify the width and height. As you select the options you’ll notice the “target” field at the top change. Highlight the bit that says “scale=1” and replace it with “width=400,height=244”. You can also select play locally if you want to see what it’s playing on the screen at the same time.

After you’ve done all that click OK as many times as necessary to get back out of the windows and click Play. The video will now be streaming to anyone trying to listen. The first thing to do is to test it using VLC itself. Open another instance of VLC and go to File -> Open Network Stream. Select HTTP and enter your IP address or (localhost) and the port you selected earlier. When you hit play you should see the video clip playing (quite small). If not, then try again…

Assuming it’s all working, it’s time to see it on the 770. Run XTerm (you really need XTerm if you want to do cool stuff with a 770) and type in the following:

mplayer -cache 8192 -aspect 16:9 http://_your.ip.address_:_port_

Hopefully you’ll have your video clip playing wonderfully on your 770 :D

256kbps is good enough for most clips at that resolution. Actions scenes get a bit blocky but don’t complain too much. 256kbps is also low enough to fit through most if not all ADSL upstream connections and, even better, small enough to fit through newer cellphone connections (the 770 can use a phone as a bluetooth modem). In fact UK readers on T-Mobile can get Web ’n’ Walk Max for £22.50 a month get 10GB of bandwidth and are allowed to use the connection for video streaming and Voice Over IP.

My final goal would be getting it to work with MythTV (it can already use VLC for streaming) and have live TV anywhere I can get a signal on my phone…