Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Friday, 15 April 2011

Download Sizes: A Rant

I'm on a rant roll this week. Today it's about download sizes, why the hell they're so big and WHAT IN THE NAME OF JOVE IS IN A DECOMPRESSION UTILITY TO MAKE IT 29MB?!

Twenty-nine megabytes! I'm talking about Stuffit Expander, a program designed solely to decompress and browse the contents of .SIT archives. That's all. That's what, 2MB of code at most? What's in the other 27MB? Wallpaper-sized bitmap images? Tutorial videos?

And don't get me started on the SELL! SELL! SELL! nature of the Stuffit web page. You have to jump through several hoops just to get the free version of the program (or to even know it exists). It's stupid. It even has a LOOK! FREE* UPGRADE TO PRO VERSION! .app in the downloaded archive. Makes me irate, it does.

Contrast this with FontExampler, which is why I am downloading Stuffit Expander in the first place, since apparently OS X no longer comes with it. FontExampler is a 78KB download. Kilobytes. It downloaded in seconds.

This sort of thing makes me want to learn Xcode just so I can try to at least glimpse an understanding of why. I suspect it's folly, though; I've seen far too much bad software around for years, and I'm no closer to understanding.

Saturday, 4 December 2010

Bytes To Bytes, Bits To Bits

I haven't played World Of Warcraft since the end of August, and I'm not sure what I want to do with my account. It's paid up until the end of March 2011, so it's not like there's any urgency, but it's been on my mind somewhat lately. I've considered logging in to give away all the stuff I can, including the gold, and I've considered just cancelling the account without doing this. I've considered playing again, too, as I still read some WoW blogs and the talk of the Shattering is quite interesting. And yet, the longer I go having not played, the less find myself caring about the game; at the moment, the only things that interest me are seeing the new Azeroth from a levelling perspective, and continuing my Worldview series (oh how optimistic I was that I would cover any significant amount of the world before it got Shattered!). Honestly, the main thing preventing me making a decision on the matter is the thought of having to download the various patches released since I last played.

I have almost no interest in raiding, least of all in Icecrown Citadel. I don't care about loot – this close to Cataclysm it's all pointless anyway. The only slight interest I have is seeing how my level 80 characters (and my 77 warrior) perform with the new talent trees. I also wouldn't mind going to Ulduar again, not to defeat bosses, but to do a Worldview post (or series) there, as it really is a fantastic place.

In some respects one of the things I miss most about WoW is gone forever: the exploration and discovery. Sure, the world is changed, and sure, there are and will be new zones and dungeons to see, but the game is no longer really new and strange and exciting to me. It's like Morrowind in that respect, a game I spent countless hours playing just because it was so big and there was so much to see – misty, rain-soaked swamps, ash-blighted mountains, a strange giant mushroom town, ethereal and dangerous Daedric ruins, and best of all the creepy steampunk Dwarf ruins, with their mysterious rumbles and clangs. However, because I have experienced all of that, it is of course no longer new, so the adventure of playing though the game again is but a shadow of what it was; very little is new but what I have since forgotten, and the dated, awkward mechanics of the game-play become foremost in my attention, particularly in the long beginning when your character is weak and lacking in the array of skills you acquire by the end of the game – once you've become used to leaping over mountains and covering the length of Vvardenfell in less than a minute, going back to being weak, earth-bound and slow is quite demoralising.

In contrast to games like Morrowind, World Of Warcraft does an excellent job of making you feel at least somewhat powerful right from the start – at no point are you in danger of being killed by a lone mudcrab, and when you try to hit something, you mostly do actually hit it, rather than flail uselessly around it (assuming it's roughly your level or lower). Of course, the memories of past glories are there, and many level 80 characters have seen things a newbie wouldn't believe: setting ghouls on fire off the shoulders of dragons, watching Moonfire glittering in the dark near the Wrathgate, many of these moments preserved in time by the umbrella of Achievements. But World Of Warcraft does a much better job of drawing you in so you see past the limitations of the gameplay mechanics, and moreover, there is just more: more terrain to explore, more variety of things to kill, more weapons to wield, more people to talk to, whether real or NPC. There mere fact that it offers twelve different ways to start the game, depending on the race you choose, and ten different ways to play through the game, depending on the class you choose, is another way Blizzard improves upon the much more initially linear approach Morrowind et al take.

I feel I'm very much an Explorer type – I love seeing what's over the next hill or through the next door. Seeing new things is largely what keeps me interested in a game, and when I've seen all there is to be seen, I start to lose interest. To some extent, I'm reluctant to cancel my WoW account now, with Cataclysm so close, because there really will be, for a time, lots of new things to explore. On the other hand, there are many, many other games that can offer a more completely new experience – Dragon Age, Guild Wars 2 and LoTRO are just three that come to mind right away, and that's just in the (MMO)RPG genre.

Beyond games, there's also my programming: right now I'm still pretty much a noob in the world of web-based software development, and it's still new and exciting. More importantly, it's more directly useful to my life, as it's something I feel I could really build a career out of, as opposed to the mostly stuck-in-a-rut jobs I've had up til now. And the best part is, software development will always offer new things to discover and learn about; innovation is integral to the enterprise. Programming is important to me, and I don't want to let a 'mere game' get in the way of making something of my life.

Perhaps once I'm more settled in a software development career I'll come back to WoW, if it's even still around by then. Or, perhaps I'll ride the wave of the Next Big Thing in MMOs, exploring along with everyone else.

Sunday, 31 October 2010

Ostensibly Here

ALERT: this post is about programming and stuff, so if you're not interested, best skip it! That said, I'd love it if you had a look at the new forum I'm working on and had a play. If it breaks, please let me know :D

Hello!

Gosh it's been a while, hasn't it? There's a good reason for that, however, and it does sort of involve WoW. Or rather, it involves a distinct lack of WoW: I haven't played since I broke my Windows 7 install by messing up the installation process of Ubuntu, about two months ago (I told it to put the bootloader on my external drive. Don't ask). Anyway, in lieu of WoW-playing, I have been doing something to break out of the rut of career mediocrity I've been in for years: I have been learning how to make web-based programs. That is, how to write in Javascript, Python and Ruby, how to run servers, and all (well, some) about the stuff that holds it all together.

Said the client to the server

Javascript, as it happens, is a really nice language. Apparently it gets a lot of stick for being a toy, but I feel it's more like a surprisingly versatile yet lightweight tool. The best part is, pretty much every desktop and laptop computer comes with the tools necessary to begin with Javascript: a text editor and a web browser. Of course, the real power comes when you can communicate with and store data on a server, as then you can split an application into two parts: the server-side which does all the data-retrieval, and the client-side which does all the presentation and interaction.

A common framework for developing the server-side web applications is MVC – Model, View, Controller. This is all well and good for presenting mostly static pages that the user doesn't interact with much, but when you involve Javascript on the client side more than for a few nice effects, you can start offloading a lot more of the page rendering to the client. Rather than sending fully-formed HTML from the server, you can just send the relevant data (in JSON format, ideally) and have the client set up the HTML on the fly. Until fairly recently this wasn't a practical way to do things, as browser incompatibilities and slow Javascript performance meant the DOM manipulation required just wasn't practical. However, efforts by Google, Mozilla and Opera to vastly improve their Javascript engines, combined with the emergence of Javascript frameworks like jQuery and Prototype, has resulted in a new style of developing large, complex web applications.

Enter Andy, stage left

It was into this environment that I entered more or less in ignorance. Ten years ago I'd done some programming for a while in Delphi, writing some handy little utilities like a font browser (sadly no longer available since the host it was on closed down). However, writing Windows desktop software is really quite different to writing for the web. For one thing, the applications tend to be more monolithic and closed – all compiled up into one neat .exe file. Web apps on the other hand are invariably run directly from source code, albeit often minified, and can easily pull their various parts from different servers around the web; they feel looser and more open to write.

On Javascript

Speaking of 'loose and open', that's generally how I see Javascript. It's a very easygoing language, due in large part to its loose typing. It's that and the fact that functions are first-class object that really make Javascript so nice to use. You almost never have to declare the type of a variable, and a function definition (which itself can be a variable) has a list of parameters that doesn't specify their type:

var add = function(a, b) {
    return a + b;
}

The thing about that function is that its parameters don't even have to be numbers:

var foobar = add("foo", "bar"), // foobar = "foobar"
    forty_two = add(40, 2);     // forty_two = 42

Or how about:

var arbitrary = function(a, b, func) {
    a *= 2;
    b *= 1.5;
    return func(a, b);
};

var number1 = 64,
    number2 = 99,
    number3 = arbitrary(number1, number2, add);

alert(number3);

There's just so much I could write here, about objects, closures, AJAX, jQuery and so on, but it'd get kinda boring I reckon, so I'll move one.

The future's bright

But it's Ruby-coloured, at least for me. It took a lot of prompting and hinting and suggesting, but my brother finally persuaded me to dive into all this stuff, and after a nice chat with his boss I've begun to focus my attention on Rails, pretty much just because it apparently has better (i.e. more) job prospects than the language and framework I initially chose, Python and Pylons.

Job prospects is what I need, as I'm currently working fixing computers, which, while not boring, is hardly challenging. One of the things I love about programming is solving problems, and there is an endless supply of those. There's always something new to learn, to try and understand, and maybe even eventually to teach others about.

I feel with programming I can do something more directly useful to people than just being a cog in a black box machine that takes in broken computers and spits out working ones. That's a large part of the motivation for writing my forum – I want to do something that people will use and appreciate. The idea was born of dissatisfaction with the way most existing forum software works: too many page loads, cumbersome to navigate and slow to use. Another part of the motivation, of course, is so that I have something to show to prospective employers, as it's not like I have x years of commercial programming experience. From what I've heard and read, though, I stand a good chance of getting hired based on what I know and can do, rather than how long I've been doing it.

So, here's to hoping for an improvement in my general state of affairs! Who knows, maybe one day I'll even come back and have a pop at ol' Deathwing.