Archive for July, 2009

Weird song listings

My iPod Touch is a great music player. But one of the most annoying inconsistencies in the UI is that it is capable of sorting The Black Parade under “B”, but it cannot tell that Minutes to Midnight and Minutes To Midnight refer to the same album. I mean, even my mobile phone (a Sony Ericsson k800i) was able to tell that they are the same album. (And my old mp3 player, and that managed to have album listings including “Nirvana {19}”).

This irks me because they put all this effort into designing the listings, to the point of stripping out words like A and The for the sort order, yet that can’t handle a difference in case. It seems like someone was doing a bit of a half assed job there.

Windows does partitions wrong, but so does Linux

Back when I first installed Linux, when I had said I had a 60GB partition to use, the advice I got was: Match your swap partiton to your RAM, use 10GB for /, and the rest for /home .

Yesterday, I started getting errors everywhere. So I turned it off and on again. When that didn’t work, I actually read the errors. “No Space Remaining”. I go “WTF, I only used about 12GB”.

So after spending a while looking at the disc usage program, I notice something. It lists / as full with 9GB/9GB used. Then I realise the problem: My / partition is full. (which is presumably also the location of /tmp , hence the errors).

Luckily my swap partition was in between my / and /home partitions, so I’ve deleted that and recreated it at the end of the disc. (which took a bloody long time, and required finding that LiveCD again).

This makes me wonder: Is Windows’ system of drive letters rather than a defined purpose (which is often a point of criticism) such a bad idea? When on Windows, my C: drive filled up, I just needed to move files en masse to my D: drive. Still slow, but doesn’t require even a reboot, much less depending on where my swap partition just so happened to be because of the order that I used when installing the system.

For those of you wondering how my programs and system data are significantly larger than my files, here’s the amount of file storage I’ve used on programming:

  • Eclipse: 130 mb
  • Eclipse plugins: at least 20mb, possibly as high as another 100mb
  • jdk/jre: ~30mb
  • Apache/PHP/MySQL: ~100mb
  • Many other programming tools
  • Actual programs I’m writing now: < 20mb (Older ones are stored on a network drive)

Representing partitions as drive letters is clearly wrong, because the file system is supposed to be abstracting the actual physical hard drives out of it, but representing them for one use is also wrong. How can I predict when I get a new computer that I’ll need x gb for data and y gb for programs?

An ideal OS would abstract all of this away, so you just have storage and don’t have to deal with the actual drives you have, what partition a file goes in, predicting your disk usage, which partition is on which drive etc.

First serious Java programming project

I’ve done a good bit of programming in PHP and Javascript, but up until recently, my desktop programming experience has been limted to calculators and other similar simple programs. However, that is changing as my current programming project is an IM client and server written in Java. The name is Machat (hey, I’m not very inventive) and the source code is under the GPL and available at my new github account.

Currently it is in a VERY rough state (in fact it doesn’t even send messages) and I don’t really expect it ever to be succesful, but it’s still an interesting project to learn about GUIs, threading and network programming (3 things you don’t do a lot of in PHP).

Youtube trailers can not show the quality of gameplay graphics! Deal with it.

Many gamers will point to some video of a game on Youtube, and go “Look at how great the graphics are, this is so much better than game . In your face 360/PS3/PC gamers (delete fanboys platform of choice). You’ve lost.”.

This always makes me laugh for a number of reasons:

1. A lot of those videos are pre-rendered. They might be the intro clip, or other movie clip, not actual gameplay.

2. Youtube isn’t exactly known for it’s high quality. Most of these videos are encoded on the default quality. If they come from the company, they might just be high quality, which is still inferior to the video quality actual gameplay on whatever game they’re saying it’s better than. To see just how bad it is, look at the pictures from this blog post.

Youtube

Standard Definition.

Standard Definition. (Image sized down, click for full size)

And remember, most games nowadays are 720p, twice the quality of the second picture, and scaled up to 1080p by your console, nearly 3 times the quality if you have a full HD telly.