Thursday, 18 August 2011

Barrage - the life of a defence turret




Are you old enough to remember the days when the Westwood released the game Dune 2 (one of the first real time strategy war games on the market)? Then a few years later the genre went from cult status to instant classic due to the popular Command and Conquer series. We built up our bases and always included several strategically placed defence towers. If you ever wanted to know what life was like as a defence tower in the first Command and Conquer game then Barrage is the game for you.

The graphics are taken directly from the original of the C&C series games, with the vehicles, tanks and soldiers all members of the GDI (Global Defence Initiative) along with a familiar dessert landscape. They move around smoothly and are accompanied by some nice sound effects of guns firing and bombs exploding, however I feel that background music would have been a nice addition.

The sprites move vertically up and down the screen, some of the tanks change their pace slightly, but overall they remain mostly at the same speed. The game is contained within a three minute timeframe: kill as many of the enemy as you can within the allotted time. Any of the enemy units that cross the screen safely will result in points being deducted. The game is controlled using the mouse; simply move about the screen to target; left click shoots rockets; right click reloads and middle click fire grenades (useful on soldiers only).



Although the sprites do not move that quickly, the sheer number of them will have the user requiring quick reflexes and a sharp eye along with a wee bit of anticipation depending on the enemy unit being aimed at.

Overall this is fun, but without the ability to move the game soon becomes repetitive. Also there is no way of increasing your allotted time: 3 minutes and that's it. The main reason for returning to the game is to beat your top score. There are no extra missions (as far as I can see) and given this game is dated 2003-2010 then it's probably unlikely they will be added, however I will update the post if this happens.

There are some good ideas in here and the game is fun for a few minutes, however it soon becomes repetitive and the lack of progression hurts this games longevity.

Friday, 8 July 2011

DuckDuckGo Search Engine



In season two of Tuxradar podcast the group challenged themselves to use an alternative search engine to Google for a week. Sadly they all reported back on a terrible week being forced to use Bing, Microsoft's search engine. This got me thinking: have we come to rely on Google so much that we can't even use the internet on a daily basis without it? After a browse around for various search engines I discovered DuckDuckGo.

The front page has been heavily influenced by the classic Google homepage, simply a white background with the name and logo above it. To further enhance this theory that it's influenced by Google's design: the badge is modified regularly to correspond with the relevant date (sounding similar).

One of the first things I noticed was the lack of a search for news, images or videos. Something that we have become accustomed to with the Google search engine. However upon a bit more digging I discovered that DuckDuckGo uses a facility called Bang commands, some of the most popular these can be accessed by clicking on the arrow beside the search box, most need to be entered directly into the search field. The bang commands include:
  • Amazon !a
  • Google images !gi
  • identi.ca !identica
  • IMDB !imdb
  • map !m
  • news !n
  • Open Clipart !oca
  • Wikipedia !w
  • YouTube !yt
For example to search Amazon for a Drupal 7 book you can enter !a drupal 7 into the search box.

However the bang commands listed above don't even make up the tip of the iceberg, a full list of the bang commands can be found here.

DuckDuckGo also has a policy of not storing information, unlike Google, and using it for advertising. Of course DuckDuckGo does include advertising, most search engines can't survive without it, however it keeps no record of your searches. The adverts are purely based on the text you have entered into the search box. OK, you may be thinking "That's a load of paranoia", fair enough but your search bubble isn't; that is real.

From the time you've started using Google a record is kept of what you look up. So if you frequently search for baking competitions, photography and open source software in the UK whenever you type anything into a Google or Bing search it will focus it's search around you, often not giving you the most relevant search results, but what it wants to, these will also change depending on what part of the world your in. For a more depth look at the search bubble take a look at dontbubble.us

The final feature of DuckDuckGo that I really like is the filtering system, it cuts out a lot of pointless sites that just lead to a download of some pointless file you didn't want. But more importantly, especially to me as a father, it filters out adult content by default. Take a look at the example below of the same search, using default settings on Google, Bing and DuckDuckGo:

Google:


Bing:


DuckDuckGo:

Of course you can switch this feature off on DuckDuckGo and I assume turn it on with the other two, but the fact that it is there by default gives me comfort. This makes DuckDuckGo an ideal search engine to be used at work and in schools.

So far I've been using DuckDuckGo for a month. I've been really pleased with the quality of the searches and it has now become my homepage and also my default search on my browsers. I've noticed that some of the Linux distros have started using it as the default search engine. It really does have a mountain to climb in order to convert users using Google and (to a lesser extent) Bing. But this is a worthwhile task in my opinion.

You can test out DuckDuckGo directly from this site: take a look in the top right of the page and you'll find a DuckDuckGo widget, give it a try for yourself.

Don't Google it, Duck it!

Tuesday, 14 June 2011

Recent project and contributing

Although I have not had many graphical projects recently, I did complete a piece of work for Marie Axelsson (@maloki on identi.ca) for her blog site.

I actually enjoyed this task as I was able to communicate with the end user directly through Instant Messaging, this made changes etc to the project a lot easier and feedback was considerably quicker than normal.

The final design that we settled on was:


This can be seen implemented on her blog here

The design was a combination of her interests and likes, the idea was supposed to resemble passing from the real world (with the earth and stars) into the virtual world (emblems and binary digits).

As always the image was created using open source software, both Inkscape and the GIMP were used in the creation of this image.

My reasoning for displaying my projects is not simply to "toot my own trumpet" but to promote open source software and also to show that most of us can contribute to open source. I can't code, I'm useless in that aspect, however I am able to produce graphical items. OK then, maybe graphics isn't your forte either, however you can still take the time to test a project and provide feedback or bug descriptions. Everybody can contribute to open source, regardless of their supposed "lack of computer skills". Even simply installing an application, using it for a week and then sending the creator or team an email sharing your thoughts, it doesn't have to be technical, just describe the problem you've encountered or features you think may be handy. Also explain that your not a coder, communication is the key. So many projects are struggling for contributors, any help offered will be greatly appreciated by the community. The number of Linux desktops and applications is testament to how well a community can work together.

Tuesday, 31 May 2011

Adding a new user and default user groups in Crunchbang

Recently I had a bit of an accident when I stupidly entered the wrong letter letter into a command and ended up removing myself from all the default groups on my profile in Crunchbang Linux. No problem, I thought, I'll just use the same groups that I added my username to when I created my Gentoo system. Problem: Gentoo and Crunchbang (Debian based) use different groups. This was a more annoying problem than I expected.

This resulted in a lot of wasted time so I thought I would share the experience so that it could be easily fixed without wasting the amount of time I did in looking for a solution.

To add a user we simply open up a terminal and type (as root) the command adduser

This will ask for some details of the new user including name, username and password. This will give a new user a working login and a home folder, however it will not give the new user any group privileges. The default groups that Crunchbang assigns to a user upon installation are:
  • cdrom floppy sudo audio dip video plugdev netdev bluetooth powerdev
To add the user to these groups we enter the command (as root):
usermod -a -G cdrom,floppy,sudo,audio,dip,video,plugdev,netdev,bluetooth,powerdev {the new username}
Please note that the above command may appear to be on different lines, but it should be written all on one line with a space after "-G" and after "powerdev", all the groups are separated with commas. Once you have done this then your new user is ready. Don't forget to add the new user to the sudoers file, if your not sure about this then take a look at this post for some extra help. If your like me and you end up removing the user from the groups then simply add your current username to the above command.

Sunday, 29 May 2011

Simply Mepis 11: simple enough?

Mepis was one of the distros that I had not tried until very recently. It was often described as the distro for newbies before Ubuntu was around. With Ubuntu's move to Unity and a lot of other distros embracing Gnome 3, more and more users are looking to other, more traditional desktop environments, such as XFCE and KDE.

Mepis uses KDE as it's choice of desktop environment and is intended to work 'out of the box', which is not the norm for a KDE distro. Upon loading my graphics card, Nvidia GeForce 6200 AGP, worked without any tweaking; an impressive feat by any distros' standards. I was able to get the extra effects working straight away. This was the experience with all of my hardware; inlcuding my microphone and webcam. The black and blue theme of the distro looks nice and modern, very appealing to the newbie switching from Windows for the first time.


Some of the stickier points of a Linux distro for a newbie have been addressed, flash and Java come pre-installed, DVDs and MP3 files play without any need for tweaking. There is a good range of software including VLC and Amarok (media players), Libre Office suite, Dolphin, Kopete (instant messaging client), Inkscape and the GIMP. Some exclusions are noticeable, no software has been pre-installed for micro-blogging or torrents. In my opinion these are some essential user tools that most users expect to be present. With such option as Choqok and Ktorrent available it does baffle me as to the exclusion of these applications.

This brings me onto another point in need of development: installing software. Mepis is aimed at newbies, but only includes Synaptic as a graphical package manager. This is the one significant thing this distro lacks: an equivalent of the Software Centre that Canonical provides in it's Ubuntu distro. Synaptic is not a tool for a newbie user, whilst I personally use the command line tool aptitude (which I had to download using the command sudo apt-get install aptitude) this is not ideal for the new user.

Firefox 4 is the pre-installed browser of choice in Mepis 11. The odd thing about this is that by default the page opens up to a blank screen (shown below). Most users like to see something when they load a browser, even if it's just to show that their internet connection is working. I would like to see the startup page being linked to Mepis or a search engine, but a blank page, in my opinion, isn't the best option.

However these issues aside, Mepis is a very solid ditro, with a lot of features that work out of the box, this makes it very difficult to pass up as a good newbie distro. No tinkering to get the basics done, youtube etc will work without any tinkering. This approach may not win the support of the puritan freedom lovers, but this isn't the target audience of Mepis. However the lack of a software centre really does hurt the newbie appeal of this distro. Highly recommended, but make sure there is a Linux user nearby to help setup the system.


Friday, 13 May 2011

Pogo music player



Having recently volunteered to do a bit of graphics work for a project called Pogo, I thought I should investigate this application a bit more and even give it a trial run. I have to confess, at the time the email came in requesting help with a logo I accepted the challenge without even knowing what the application did.

After briefly reading through the email and several brief conversations between the creator Jendrik Seipp and myself, I took a look at the website, which to my disappointment was simply a launchpad page. So the first thing that struck my mind was that this was, primarily, an Ubuntu project. The choices for download are a *.deb file or the source data in a *.tar.gz file. As I have Crunchbang installed on my system anyway I opted for the deb file simply to make life easier.


The install went smoothly and very quickly I had the Pogo music player (0.4 at the time of writing this) up and running:


The user interface is very simple; a window split into two screens. The left screen is a tree view of your files, this can be navigated quite easily for any music that is in your home folder. However for files that are on a separate partition, you will need to go all the way back to / and manually find the mount point of the drive (usually /mnt or /media depending on your distro). The partition must be mounted already as there is no way to mount it from Pogo.

The right screen is your playlist, to add a music file you can either double click on it in the left screen or drag it into the right screen using the mouse and holding the left button. The responsiveness of Pogo is very good indeed, it is lightning fast and the files play without any delay. Whilst playing, a progress bar appears at the top, which can be dragged to get the position in the file you want, handy for longer podcasts. Also the cover of the album appears in the bottom right of the window.

True to Ubuntu style, whenever a new track starts a notification pops up in the top right of your desktop just under the system tray (again this is depending on your desktop environment, but this is the case in XFCE). These, thankfully, can be turned off with a single click in preferences.


A search function is also included to allow you to look out your favourite bands or songs quickly, however all it kept giving me was a "no tracks found" message. Take a look at the screenshot below, look at the search, now compare the result with the tracks that are currently playing:


There are a few major omissions that I simply couldn't live without with regards to my media player:
  1. The lack of a shuffle option (this apparently is set to be included in the next release)
  2. The ability to add all the files from a folder, instead of selecting the files and moving them over to the playlist screen.
  3. The ability to stream from the internet
This isn't aiming to be VLC. It is a fast and simple music player and, if I'm being honest, it plays files and uses up hardly any resources in the process. The notifications that can't be interacted with are very much in line with the current Ubuntu trend. I feel that this project is best suited to low spec machines and (very early stage) newbie users, those like your older relations who only want to play a few files. Pogo adopts a 'keep it simple' philosophy, the lack of options and buttons make it incredibly easy to use. I'll keep an eye on this project, but I won't be uninstalling VLC quite yet. A bit too basic for my needs at the present time.

Flattr - Twitter logo

Continuing on with my recent Flattr work, I was asked to do a logo that incorporated a combination of the Flattr micro payments site and the ever popular micro-blogging site that is Twitter. Three mock ups were made for this:

Flattr and Fail Whale:


Flattr and Twitter bird:



However, in the above version it was felt that it could cause offence as the bird appeared trapped. It was opted for a friendlier type of enticement where the bird was being tempted or lured towards Flattr, after some work, this was chosen for the final design:



You can Flattr any (or all three if you like) of these pictures by clicking on them, every donation is always appreciated.

Please note that you will not find me on Twitter, if you wish to follow my posts then sign up to identi.ca I'm registered there as @kevie

Supporting open source. All of the above graphics were made exclusively using Inkscape.