Archive for the ‘Software’ Category

How to set up a Warcraft 2 LAN party

Friday, February 25th, 2011

Another article in the “I need to write this for myself and what better place then on my blog” series:

If you are familiar with the old (but great) Warcraft 2 game, then you know its a great multiplayer game but unfortunately you need a “Battle.net server” to play and even if the Blizzard servers were up (and for this old game, they’re not though there are a few 3rd party free servers) – you probably don’t want to have all the party goers connect up to an external server.

So how to run a Warcraft 2 LAN party?

(more…)

Running VirtualBox on Ubuntu 11.04 Natty alpha

Wednesday, February 16th, 2011

I’m using the current Ubuntu alpha – 11.04 as my desktop OS on my laptop, and on the same laptop I sometimes need to run VirtualBox to access an MS-Windows environment.

In the current Natty alpha this doesn’t work well. I have VirtualBox 4.0 installed from Oracle’s repository, but it doesn’t manage to compile the kernel module it needs – probably because of the “RC” nature of the current Natty’s kernel (2.6.38-rc4) as of this writing.

I’ve seen many posts on the internet about running Ubuntu 11.04 as a guest in VirtualBox, but couldn’t find anyone talking about my problem, which is the opposite – running VirtualBox on Ubuntu 11.04. So here’s how to get this thing working:

  1. Install VirtualBox 4.0 (from Oracle’s repository)
  2. Install the kernel headers package for Ubuntu: sudo apt-get install linux-headers
  3. Edit the headers’ Makefile to declare the same version as the uname command: run uname -r and note the suffix after the version number, for example mine says “2.6.38-3-generic“, so I am interested in “-3-generic“. Edit the Makefile using sudo gedit /usr/src/linux-headers-<version>-3-generic/Makefile , and the fourth line should say something like “EXTRAVERSION = -rc4“. Change the value (in this case “-rc4“) to what you found out from uname.
  4. add autoconf.h to the linux include directory, because it is missing for some reason:
    cd /usr/src/linux-headers-<version>-3-generic/include/linux
    sudo ln -s ../generated/autoconf.h

Now you can run sudo /etc/init.d/vboxdrv setup and it should complete successfuly and allow you to start VirtualBox.

Enhanced by Zemanta

The reason why I don’t use Firefox anymore

Monday, January 3rd, 2011

Is because my laptop only has 2GB of memory.

OK – it sounds worse then it is, but with normal use Firefox is simply way too heavy for my – not too shabby – Thinkpad T61 Core2 Duo T7250 @ 2GHz with 2GB RAM. Its not a stellar machine by today’s standard by its less then 3 years old and I don’t see why it shouldn’t be able to run a modern browser.

But with both Evolution (that requires a couple hundreds MB of memory) and Eclipse (at ~ 600 MB memory) I can’t also run Firefox which with just a few tabs open takes up close to 1GB of physical memory (and tons of virtual). My system just comes to a standstill, and lets not talk about running – oh, I don’t know – a terminal!

So I’m using Chromium and while its developer tools are not as good as Firebug, at least it doesn’t hog up all my RAM and with a few dozen tabs open my system is still pretty responsive.

It may be the process separation in Chromium that is better, allowing the operating system to swap out completely tabs that are not used. I’ve heard some talk about having the same thing for Firefox (project electrolysis – though at this point it seems to be focused on the Fennec mobile browser) and I do hope they get on with it because Firefox’s memory consumption has grown in leaps and bounds in the last couple of years and unfortunately my computer’s memory has not grown with it :-( .

Enhanced by Zemanta

What kind of personality question you’d be?

Sunday, October 31st, 2010

While writing up a silly personality questionnaire (you know the annoying type: If you’d have been X, what type of X would you be?), I figure out the most computer geek personality question ever!

It was obviously way to geeky for the task at hand, so here it is now for you to answer – or better yet: invent your a worst geeky personality question:

If you’d have been a design pattern (or an anti-pattern), which design pattern you’d be and why?

I, for laughs, I’d say I would have been a Duff’s device – complicated and impossible to debug ;-)

Enhanced by Zemanta

More Internet Explorer Funny Behaviors

Wednesday, October 6th, 2010

Sometimes, when you try to develop things that work in Internet Explorer, you get to a point where you can just scratch your head and wonder “what the he*$ where they thinking of?!?”. This is one of those cases:

This is in Internet Explorer 8 when set to IE7 mode, but this is very faithful to the original as I’ve tested it on a real IE7 and it behaves the same. What happens here is that when you scroll the page down, all absolutely positioned elements (the two “combo boxes” which are a custom UI widget and the text “Dimensions:… at the top right corner”) get pulled down a few pixels. When you scroll up, they get put back in the correct place.

(more…)

Easiest Android Rooting In 3 Simple Steps

Thursday, September 9th, 2010

One of the neatest features of carrying a small Linux computer in your pocket, is that you have a machine to hack everywhere you go ;-)

After getting a terminal application installed, you find that most stuff that you want to do require “root access” on your android phone – it appears that on Android they don’t really use “user permissions” but instead each app is its own user id with its own set of permissions (an ingenious way to handle different permissions per application).

To do most interesting things you need to make sure you can get root access. As a normal phone user you aren’t expected to need this so this feature is disabled on phones and to enable access to the root account you need to crack the phone’s security model. (more…)

I Hate Pod Catchers

Monday, August 23rd, 2010

[Updated: 29/7/2011]

One of the reasons to get a new mobile internet device, is to get a better pod catcher to use in order to feed my podcast listening habit :-) . Its not that Escarpod for Symbian was bad – it was a very good application and any new podcatcher I’ll get will be measured against it – but my P1i was kind of dying and regardless all new development in Escarpod was happening in the S60 version and not for UIQ that the P1i was running.

Once I had an android device, the next order of business was to find the best podcatcher (for me). I’ve downloaded and tried all the podcatchers I could get my hand on, so here’s the summary of my trials and tribulations. If I missed any podcatcher that you know of (and want me to compare against those listed below), then drop me a note about it.

(more…)

Kohana 3 RHEL/CentOS RPMs

Friday, May 28th, 2010

As I have not found any available, here is my build for Kohana – the PHP development framework – for RHEL 5 based operating systems.

You can find Kohana RPM for the current stable release 3.0.5 here, and the source RPM is available here in case you want to rebuild it yourself (and you might, details follow). New releases to correspond with new releases from Kohana will be updated there as needed.

This package is built on a CentOS 5.4 machine, with pretty much default settings.

(more…)

An astute observation

Thursday, May 27th, 2010

Yep, that sounds about right.


A New Fedora Release – Worse Than Ever?

Wednesday, May 19th, 2010

[Regarding the title - well, probably not]
I’ve migrated from Ubuntu 10.04 to Fedora 13 on my laptop (because Ubuntu 10.04 was released to the public, so its not interesting to run it anymore ;-) ) and I’ve just finished listening to The Linux Action Show review of Fedora 13 and I wanted to relate to that and to my experience of using Fedora.

The Linux Action Show review is useful, and good, but its not really fair – Chris and Bryan ranted on a lot of things that do not work well for Fedora, such as not a lot of applications pre-installed and some new and immature applications being introduced, Flash being hard to install, codecs missing and obscure instructions on Fedora’s wiki pages on how to address these issues, and more.

The thing is, is that all those comments are fair when looking at an operating system that is geared towards the general public – like Ubuntu – but Bryan and Chris themselves mentioned that Fedora is not aimed at that crowd but is meant for power users and developers (the debate about what is the target audience for Fedora is raging – I think the best description I heard so far, is from Máirín Duffy – heading Fedora’s design team – where in an interview she said “Fedora is aimed at people who want to work on Fedora).

(more…)