Friday, 19 September 2008

Nokia to Release 3G Internet Tablet

The short version of this article is simply "I am excited". For the important part, scroll down to the bold text below, for the background, read on.

Out of *all* the gadgets that I have ever owned, the one that stands out literally miles above the rest is my Nokia N800 Internet tablet - it's well designed and can do just about anything under the sun.
My biggest (note: blowing way out of per portion for the sake of this article) problem with it has been that the only practical ways that it can access the Internet (what with being an Internet Tablet and all) is either through a wireless access point, or by using a 3G bluetooth modem. Wireless access points are quite common, but wireless access points I can legally use without annoying restrictions are comparatively rare out in the wild.
My solution to this problem was to purchase a 3G data plan (since voice + 3G data is so expensive in Australia) and take the SIM card and put it in a Nokia N95 instead of the USB modem they gave me. The advantages of this are:
- Between both devices I can do anything!
- I can get on the Internet anywhere, any-time, relatively cheap (but still not as cheap as those Americans can).
- I have a nice (for a phone) 5 mega-pixel camera that fits in my pocket, unlike my (better quality) Kodak camera.
- Not only can I use the GPS from the N95 in the N95, but I can also export it as a bluetooth GPS and use it in the mapping apps on the N800.
- In an emergency, I can use Gizmo or Skype to make up for the fact that I can't make ordinary phone calls, though thanks to the packet loss and high latency, this is not always practical.
- Should my N800 run out of power, I sometimes still have power left in one of the two batteries for the N95 and can therefore continue listening to music.
But, this set-up has disadvantages too:
- I'm always carrying around 2 devices
- I'm always carrying around a spare battery for the N95 because it often doesn't make it through the day on just one.
- The N95 needs rebooting all the time to resolve connectivity issues, especially while sharing it's Internet connection over bluetooth. It's to the point where I have NStarter installed so I can reboot faster.

Now, as I said I am very happy with the N800, and saw no reason to spend money upgrading to the N810 when it came out (although the backlit keyboard did tempt me, a lot). The one thing that would definitely make me upgrade, I said, was if Nokia added 3G support to their next Internet Tablet. Failing that I would have to take a long hard look at the specs and my money to decide.
I thought it was pretty likely that they would add 3G - it would make sense now with the iPhone out as it would put the tablet in as a direct competitor, but of course Nokia remained silent as always.

Finally, the Maemo summit arrives and I start to see an influx of posts. "The Internet Tablet line may be ending in name but the Maemo platform is going strong"? That doesn't surprise me actually. I've been speculating that their long term plans may involve Maemo ending up on their phones. Although not confirmed, it makes sense given their purchase of Trolltech and their pledge to open source Symbian - both just happen to be written in C++ and they will be able to satisfy the licence to be able to share code between them and satisfy most of the open source community at the same time.
Also, they only ever promised 5 iterations of Internet Tablets anyway, of which 4 have been released - 770, N800, N810 and N810 Wimax - though I have a feeling that they said one of those didn't count towards the 5, but I can't remember the details off hand. Whatever the future of the tablets, I think it's a safe bet that we can expect to see Maemo more and more in the future.

Now, at last I see the post I have been waiting for - Maemo 5 will have High Speed Packet Access built in - that's a 3G Tablet promised right there! They've even gone so far as to release the patches for the Linux kernel necessary to support it, so it's pretty much guaranteed now! It will also have a high definition camera, and I doubt that they would drop the GPS that the introduced in the N810, so this next tablet officially obsoletes everything I'm using my current N95 and N800 for! Well, that is of course assuming they don't ditch something else important to me, but I think that the only disadvantage will be less potential storage space upgrades.

One final point - the software the runs on the Internet Tablets is now even more Open! I don't know the full details, but the wireless drivers and and low level hardware monitoring drivers (ooh, can I fix that DSME now?) are included among the released code.

Ahh, isn't the future exciting?

Tuesday, 16 September 2008

Command of the Hour: Top Variants

So, I'm trying to start something that I've dubbed "Command of the Hour" on my local Canberra Linux Users Group mailing list. Quite simply, everyone just chimes in and tells everyone else about some random, obscure and useful command that they know of. Doesn't matter what, doesn't have to be related to any previous post, it just has to be something that they've found useful or can see that others might find useful.

But then I thought, why limit this to just my local LUG list? Sure it's great to test drive the idea, but why not try aiming for a wider audience - so here I am copying my initial get the ball rolling post with some top variants here:

atop - I just had an issue where gnome wasn't logging in, but seemed to be stuck constantly accessing the hard drive. This command saved me by showing me exactly which program was using the hard drive and a quick aptitude remove mlocate later my system was working perfectly again. It monitors CPU, memory, disk and network highlighting any that are particularly stressed and shows the processes responsible. Processes are only displayed if they have done something interesting
since the last update. Kernel patches can be taken to enhance the experience if one is so inclined.

htop - Awesome ncurses graphical top. Looks pretty, coloured, and simply highlighting a process and pressing 'S' will attach strace to it to see what that run away process is actually up to. Tag multiple processes and alter the niceness of them all at once or just kill em' all. 'T' toggles between process tree view and ordinary top view.

powertop - I'm sure lots of people know about this one by now, but for anyone who doesn't it can show you various information about what is chewing up energy in your system and provide some recommendations for conserving power.

iftop - top for network traffic. Shows the traffic going to and fro on every individual transfer and totalled down the bottom in ncurses bar graph style. Amounts are displayed for the last 2, 10 and 40 seconds. Filters can be applied if one is only interested in a subset of the total traffic, and it can naturally do hostname lookups and show port numbers/service names.

ntop - another network top, but this one starts a web server on port 3000 to display it's results with pretty graphs. It has the advantage that it provides much more detail - it breaks packets down by size, protocol, etc. It has many displays to analyse the data in varying and sometimes entertaining ways. Of course, being heavyweight as it is, if all you need to know is that traffic is flowing from A to B, firing this one up may be overkill, though it would easily suit as a very
quick and dirty network monitoring solution.

And a few others that I haven't found so useful myself, but someone else might:

itop - top for interrupts. I can imagine it would be useful for checking if hardware is getting the computers attention when it should be.

jnettop - this is another network top. I prefer iftop since it gives me a graphical display (and it's help page is somewhat more detailed than "I must write something here... :)").

Saturday, 30 August 2008

MythTV scavanges Scrapheap Challenge episodes

My main desktop box has been running this nifty little program called MythTV for over a year now. MythTV is a home-brew Personal Video Recorder for Linux, which essentially means it's kind of like a VCR, but on steroids. It downloads TV guide data from OzTivo and once a week I go through the program guide sorted by genre to see if there is anything on that sounds like it might be worth watching. Then I check it's list of Upcoming Recordings to make sure I don't have any conflicts, resolving them if necessary and go away.
Every now and again when I have some time I bring up it's recorded programs view, pick something to watch, check that it's automatic commercial detection has done it's job making any necessary corrections (which usually takes less than a minute), sit back hit transcode (to permanently remove those commercials as well as reduce the file size) and enjoy the show.
If I'm not at my computer at the time, I can access MythTV remotely using the MythWeb plugin which lets me change my recording schedules remotely and even stream recorded programs to me. It also integrates with the MythMusic plugin which I have found handy on a number of occasions when I've been working on an assignment in a computer lab on campus and wanted some decent music to listen to ;)
Some months ago, I noticed this program in the guide called "Scrapheap Challenge" airing daily on ABC2. The description sounded interesting so I told MythTV to record it on a daily basis. Since then MythTV has not missed a single episode as all of season 9 was aired and then rolling back to the original season 1 from 1998 and showing every episode since (at the time of writing ABC2 is now up to season 7).
Each episode Scrapheap Challenge pits two teams of three members and an expert against each other to build some contraption that has to perform a specific task out of the junk they can find in a scrapheap in only 10 hours (except for some special episodes). The idea for the show came from a scene in Apollo 13 where the astronauts only had a short time to construct a carbon dioxide filter from whatever parts they could find on their space capsule. The show is hosted by Robert Llewellyn (who it took me a long time to realise played Kryten in Red Dwarf all those years ago) and Lisa Rogers (prior to season 5 it was Cathy Rogers) who offer entertaining (and sometimes ridiculous, especially in the episode introductions) commentary throughout the show.
Anyway, the reason for this post is mostly a plug for the show as I have been thoroughly enjoying it and highly recommend it to any aspiring engineer or indeed anyone with a technical mindset.

Sunday, 17 August 2008

It's amazing what technology can do these days

So I was at a friends stopping the night, but unable to sleep I eventually decided to call a cab to take me home. Small dilemma: I didn't want to disturb everyone who was asleep in the house any more than I had to. But not to worry, Nokia came to my rescue!
First, I didn't know any more detail than the suburb I was in so I started Nokia Maps on my N95 (my "Mobile Modem", but that's for another post) which fairly quickly acquired a GPS fix even though I was indoors and gave me the street and even number I was at.
The web browser on the N95 is somewhat limited and although I could browse to the Canberra Cabs website with it and get their phone number, I could not use the online booking facility. Calling them would clearly disturb those sleeping around me (and I'm not even sure it would be possible given the setup I've got), so I pulled out my Nokia N800 Internet Tablet. Using my N95 as a bluetooth modem I pointed the Mozilla based browser to the Canberra Cabs website, filled in my details and within just a few minutes was in a cab spending the rest of my money for the night getting home.

Now to sleep.

Monday, 11 August 2008

BSoD Advertising at LCA08

My good friend Chris just sent me this photo taken at earlier this year. I'm on the left, Jason's on the right, and well, you can see what's in the middle ;)

Monday, 14 July 2008

N800 as Remote Speaker and Overdue LCA Overview

Well it has been a long time, I really don't have any excuse. So much for blogging about LCA, ey? I actually have a half written blog post about it still sitting on my Zaurus, but I never got around to finishing it. My Internet Tablet functioned beautifully (except for a bug regarding the bluetooth keyboard requiring me to reboot it every now and again to get the on screen keyboard to come back) and was all I really needed there. The only use the Zaurus got was a little bit of showoff, typing that unpublished blog post when I didn't want to pull out that bulky dell keyboard and listen to music on the train when I didn't want to exhaust the N800's batteries. The only time a full sized laptop would have been particularly handy was during some of the tutorials where it was impossible to keep up on the tablet.
It was awesome being able to meet so many people including some of Nokia's employees and seeing the N810 in the flesh, as well as Linus himself. If you must know I saw him four times - after a kernel talk I saw him sneak into an unmarked room, when he walked in on the kernel dev panel talking about kernel debuggers ("Linus! We were just talking about... ice cream.... Would you like some ice cream Linus?"), when he ducked up the stairs to grab a snack and during the meal on the last day.
By now there isn't much point in posting info about any of the talks since it has well and truly been blogged to death. If you haven't already go watch the vids - In particular I recommend Tux' Angels: Incident Response Revealed (about IT forensics using open source tools) and Viktor Olier's talk on the RepRap (I think it was titled The Replicators are Coming or something).

Nightwish was *awesome*. I did have to miss out on the Penguin Dinner that night to make it, but ohh was it worth it. Unfortunately I missed out on a shirt since they had stopped selling them before interval when I was planning on getting one. No matter - I have since ordered some Nightwish and Sonata Arctica merchandise from overseas. Google paying for the bar tab at the Students party followed by gelato was pretty sweet - I think that brings the total meals of mine that Google has paid for to 5 :-)

But anyway, moving on to today's post: I now have found yet another use for my Internet Tablet!

When it's late at night and I'm at college and want to watch a video or listen to music without disturbing my neighbors I use a 5 meter headphone extension cable to reach my bed. I've been meaning to look into a bluetooth headset but haven't got around to it yet. Anyway, I've come back home for a few weeks while uni is on break and it's late at night and I want to watch a video without disturbing my mother. Problem is I forgot to pack my headphone extension cable and it's too cold and uncomfortable to sit next to the computer watching it.
So I started wondering if there was any way that I could use my Internet Tablet as remote speakers across the room - then I could plug my earphones into them and effectively have (almost) wireless earphones. Turns out that it is possible and not too difficult at all.
The two are connected via wireless using my Linksys WRT54GL - which wouldn't be necessary if I could get my laptop to use ad-hoc properly or if either device supported functioning as master. Another option that I haven't looked into yet is using bluetooth PAN, or possibly hacking the tablet to look like a bluetooth A2DP headset, but that's for another time and probably another person to hack into existence.
On my tablet I opened a terminal and ran:
esd -public -tcp -nobeeps
I then opened a second terminal window and SSHd into my laptop. There I ran:
export DISPLAY=:0
export ESPEAKER= (My Internet Tablet's IP)
mplayer -ao esd -delay -0.3 video.avi

I had to use the -delay -0.3 parameter as the audio was slightly delayed due to the overhead of sending it over the network and I found that number gave pretty good lip sync - you would probably have to fiddle around with it to find the optimal setting for your situation. This technique should work for any application that can use esd to output sound.

Friday, 25 January 2008

Music Piracy in my Life and Producers Pockets

I am living proof that peer to peer file-sharing networks _can_ increase music sales. I'm not saying it will in every case, but if I had to guess at it's overall effect on sales, I'd say it would be positive.
In the beginning there was almost no music I would listen to - all the radio stations played rubbish almost exclusively 24/7, and I certainly didn't enjoy the music that my Sister or Mother listened to, so quite frankly the best music around was to be found in certain video games as far as I was concerned.
Then one day while I was chatting with a friend the subject of music came up and I mentioned that I didn't really listen to much because there wasn't very much mainstream music that I liked, so he gave me a copy of his entire music collection. Even going though that I found myself going from one artist to another - there were certainly artists there that I enjoyed more than what I heard on the radio 99% of the time, but there are probably only about 3 or 4 artists in his entire extensive collection that I still listen to today. It was in this time that I got my first few albums on CD - I didn't buy any of them myself mind you - they were all gifts. It has been a long, long time since I've added any of the songs from those albums into my playlist.
Keep in mind that I was still on dialup back then, so I was still only minimally engaging in filesharing as it could take hours to download a single song - my music knowledge was limited to little more than the radio I never listened to and the large collection of another person's musical tastes.
Two years ago my Internet situation changed and I gained much better access to filesharing networks such that p2p became a viable and attractive option. I was able to try out a much wider variety of musical genres and used Amarok's related artists functionality and recommendations from other users of the same p2p network to help me find out that what I really like is in fact Symphonic and Power Metal and to a lesser extent, some Alternate rock and Celtic music - far from the punk rock tastes of my friend, and even further than that pop crap so many radio stations love so much (no offence pop fans, your tastes are your own). Since making this discovery which I attribute almost exclusively to filesharing networks I have purchased no less than nine albums with my own money, all of which I continue to listen to extensively today. That's nine albums that I would not have bought if it wasn't for filesharing networks. I will also be attending my second ever concert that I have paid for (I've been to a few others where other people shouted or were free entry) next week when Nightwish perform in Melbourne.
Even now that I know the genres that I like, I would not just go out and buy a random album that is labelled as Power Metal from JB-HiFi because there are a lot of bands in the Genre that I dislike, mainly due to their firm belief that since they use metal instruments, their vocals should all be shouted as hard as they possibly can - I do have respect for their throats to be able to cope with that much yelling though. No, I would have to either preview them on or failing that, download an album or two of theirs to try them out first.
I know that I've mentioned several times and some of you may wonder why I pirated music at all when I could have just used their free service. Well, I've only had an account with them for less than a month - before that I only used the related artist functionality built in to Amarok to tell me what was similar to music I already had. Also, they don't have previews of every artist around and for the most part they are just that - 30 second previews - not enough to get a complete feel for an artist. Actually, come to think of it, I don't think I've pirated any music since joining up - but then again that's not really unusual for me in one month.

And yet, despite the fact that I'm more satisfied with my music collection and the producers and bands of the albums I've purchased have deeper pockets now because of filesharing, I cannot recommend anyone engage in illegal downloading over these networks. I can however, vastly recommend as an excellent and completely legal substitute.

Fight off RSI with Workrave and Ergonomic Keyboards

While I was typing up that last post, Workrave popped up and reminded me to take a 5 minute rest break. Workrave is an excellent little program for Linux and Windows designed to assist in the recovery and prevention of RSI that sits in the tray monitoring the keyboard and mouse usage reminding you to take a break every now and again. I won't cover it in much detail because fsckin w/ linux just did an excellent article on it here.
Grab workrave from if it's not in your distro's package repository.

I don't suffer from RSI yet, but after some talk on the Canberra Linux Users Group mailing list last year I decided that I should take some simple steps to minimise the chances of me getting RSI, so I purchased the Microsoft Natural Ergonomic Keyboard 4000 - what's $80 compared to still being able to type in a decade or so? In addition to the usual split angled keys featured on most ergonomic keyboards, it also features an inverted slope - the front of the keyboard is higher than the back of the keyboard so your wrists just sit on it at a natural angle with almost no strain. I've removed the useless and utterly annoying F-lock key from it because I kept hitting it instead of F12 when I went to pull down the YaKuake Terminal Emulator.

These two steps alone should go a long way to ensuring that I won't have to end my future career early due to RSI or related injuries. I suppose I could look into things like ergonomic chairs and so forth and perhaps someday I will, but this should be a cheap and effective start.

Thursday, 24 January 2008

Another Blog to Shout About

Well, just about everyone else is blogging these days, so why not me? I've dabbled a bit in just about everything to do with computing, but not really enough in any one area to consider myself an expert. I tend to think of myself as a bit of a Jack of all computer related trades, and this blog will probably start to reflect that with posts on a wide variety of topics.

But who can say, ey? Plenty of friends and people I know consider me to be a computer expert, some have even used the term "genius" to describe me. Maybe it's all relative - I consider Andrew Tridgell a computer genius, and I've heard that he thinks of Linus Torvalds as a genius, so the question really is: Who does Linus think of as a Genius, or is he really the top dog?

I've been thinking about starting a blog for quite some time now because I've done many random things (not always ending in success mind you) that I felt like documenting at the time but didn't - now I have somewhere to put all of that, my only excuse left can be laziness, lack of time or both. Perhaps I will persist and avoid this blog befalling the same state of disarray as so many of my past projects...

I will be attending in Melbourne next week and fully intend to blog about my experiences there. This will be my first time attending a conference like this and I don't really know what to expect - but it should be fun finding out!

What else can I say? I'm a full time Software Engineering student at the Australian National University in Canberra, Australia. I have a passion for Linux and Free/Libre/Open Source Software, and Linux has been my primary OS for many years now. I have a considerable collection of gadgets and machines running Linux, most notably:
* A GP2X Personal Entertainment Player which I primarily use for killing time playing old SNES ROMs and I daresay will come in handy on the train to and from Melbourne for the conference next week. Came running Linux out of the box.
* A Sharp Zaurus SL-C3200 currently running pdaXii13. This too came with Linux out of the box and QTopia for it's GUI. This little beast doesn't see too much use these days but it's 6GB microdrive comes in handy to store plenty of music for when I don't want to waste the battery on my Most Valued Gadget:
* And the MVG (Most Valued Gadget) award goes to my Nokia N800 Internet Tablet running the Linux based Internet Tablet OS 2008. I don't know how I lived without this gadget, I really don't. It does just about everything - Kagu Media Player plays music from one of the two 8GiB SD cards I have in it, while Vagalume Client streams new and exciting music from It's built in mapping software has helped me to find places on more than a few occasions, while Maemo Mapper does all my mapping related tasks that the built in mapper doesn't. It's mozilla based web browser works like a charm, the webcam has captured a number of amusing moments when I haven't had any other camera available. I can SSH into any of my other boxes from it. Video playback works great, although I haven't actually used that too much. Pidgin, Skype, Gizmo and Modest Email clients all work great although to be honest I don't use them anywhere near as often as everything else I have on the tablet. GPE PIM todo has my shopping list and checklist of things I need to do before I go to Melbourne next week ;) Well, this summary was a little longer than I anticipated - almost enough so to get a post of it's own - perhaps I shall post a full review of this device, everything I use it for, like about it, and the few things I dislike about it at a later date.
* A Dell XPS M1710. This one didn't run Linux out of the box, but naturally it didn't take me long to set it up for dualboot with Kubuntu. Yeah, I went all out on this machine - I'm a dormant gamer (would play more if I had the time) and wanted a machine that could easily handle what my old laptop could not (last LAN with my old laptop I was quoted as saying that I "should really upgrade my framerate tower" when it dropped down to seconds per frame during the later rounds of one particular tower defence map), yet still be portable enough to take with me - even if I'm just going home for a few weeks on train or plane - something my desktop is certainly not.
* My desktop box. Like most computer enthusiasts I put this together myself so I can't simply quote a brand and model for you to google. Currently it's still set up to dualboot 64bit Kubuntu and XP, the latter of which hasn't been booted since I got the M1710 (it was only ever there for gaming) and I'll probably claim that space for Linux in the not too distant future. This machine is unsurprisingly used for mundane computing tasks when I'm in my room such as typing up this blog post and listening to music. This computer doubles as my MythTV box and most of it's 1.4 Terrabytes of storage are filled up with things MythTV has recorded. Has an annoying tendency to only crash when I've gone away - usually half an hour before I attempt to log in remotely, so that means it's next crash will probably be while I'm in Melbourne next week.

Well, that's enough for the first post - I've got a few more things that I want to put up tonight, but they deserve their own posts.