maanantai 1. huhtikuuta 2013

iPad games

Aside from all the Rovio's Angry Birds and Bad Piggies games, there are many other great games for iPad. I present three of them here, in no particular order.


Need for Speed: Most Wanted


Need for Speed: Most Wanted is a beautiful and well implemented racing game. There are several different tracks with different types of races. More tracks are unlocked when you do well, and more cars become available for purchase with the money you earn from winning the races. There are many types of cars and not all races are open to, say, sports cars, but you need to drive, for example, a Hummer every once in a while as well. Aside from their looks the cars have a few different attributes that make them different: speed, acceleration and handling, and there's also implicitly the weight. These attributes can be modified per race by adding various modifications to the car. These mods include engine tweaks, lightweight chassis and reinflating tyres (Yes, reinflating tyres are needed -- the races in the game are "illegal", so there are police cars that may try to stop you using spike strips). You control the car by steering your entire iPad (or iPhone), which is quite a nice and intuitive way of driving. You can also touch the right side of the screen to drift. NFS:MW does not support the Apple Game Center but it has its own in-game social system called Origin, for which you might actually already have an account if you have played any other Electronic Arts games recently, even on PC.


Fieldrunners 2


Fieldrunners 2 is a tower defense game where almost endless hordes of enemies try to cross the playing area on which you must build a maze for them using various lethal obstacles, including machine gun towers, flamethrower towers and radiation towers. The game is pretty and humoristic, has many levels of a few different types, and it has quite a few different types of towers as well. At the beginning only some quite basic towers are available, but more can be purchased with the in-game gold. Compared to Plants and Zombies I prefer Fieldrunners 2 by far. Some maps of Fieldrunners 2 even contain director's commentary on how the map came to be. There are also many different enemies with different traits: some are very fast, some fly over your defense towers, some are immune to radiation. The Heroic difficulty level also basically requires you to use items that you can drop on the field for some brief additional effect, such as freezing, poisoning or exploding the enemies. Fieldrunners 2 integrates nicely with the Apple Game Center, allowing you to compare you scores with those of your friends.


SpaceChem


Reactor splitting Nitrogen and Oxygen molecules
A production assignment in action
SpaceChem is an excellent puzzle game unlike any other I have ever played. In the game your task is to build reactors to transform molecules and atoms to other molecules. You do this by creating "tracks" for molecule transporters (called "waldos") and by adding instructions to those tracks: input atom, grab an atom, drop the atom, rotate the molecule, etc. While this all might sound or look incomprehensible at first, the game actually has a good tutorial that slowly introduces you to all the concepts little by little. On some levels (so called research assignments) you must only build one reactor, whereas in others (production assignments) you actually design several reactors and how they connect to each other. The game is also available for Windows, Linux and Android, which may be one reason why it unfortunately does not integrate with the Apple Game Center. However, this game as well has a social component: on each level you can see statistics about all other plays of the level by everyone else. The statistics include the number of reactors used, number of cycles used and number of instructions used, so you can try to optimize your solution according to different attributes, if you want to. There are also in-game achievements to earn by, say, completing a certain level in a certain amount of cycles (in-game "ticks of time"). SpaceChem has a few dozen levels built in and more can be downloaded from the Research Net, so it should provide hours of fun.

That's it for this time, but finally, a tip: you can use the AppShopper.com site to watch for price drops and new apps. It also shows the price history of all the apps in the App Store, and you can browse apps by popularity and category.

torstai 28. helmikuuta 2013

iPad Mini for dummies

The Home Screen
I recently became an owner of an iPad Mini. Having never used any Apple products (despite reading the biography of Steve Jobs) it took some time to get the logic of the system. For those in the same situation, here are some random pieces of information that I personally found useful.

Enabling the Safari bookmarks bar

First, I tried the Safari browser. It's quite minimalistic, and by default you don't even see a bookmark bar. The weird thing compared to, say, Android or Windows is that you cannot control the settings of Safari from the app itself! This seems to be true with many other apps as well. Instead, you need to go to the Home Screen with all the icons and navigate to the Settings app. In there, select Safari and then toggle on the Always Show Bookmarks Bar setting.

Adding a bookmark
Now, how to add links to that bar? Navigate to the site you want to bookmark and click the rectangle-with-an-arrow -icon next to the address bar. You normally associate this icon with sharing content through email/Facebook/Twitter/whatever, but in Safari you also find the Bookmark option in the menu that opens. The dialog is simple: there's the name of the site, then the address, and finally a category, where you should obviously choose Bookmarks Bar.

Muting the keyboard sounds and using the Side Switch

The physical volume buttons of the device don't affect the keyboard sounds. By default you can mute those too with the little switch above the volume controls, but since muting the other sounds of the device is just a matter of briefly holding the 'volume down' button, it seems like a waste to use the switch only to mute the keyboard sounds.

Settings
To get completely rid of the keyboard sounds for good, navigate to Settings again, then Sounds, and then toggle off Keyboard Clicks. Now you can change the Side Switch function from Mute to Lock Rotation, which I find to be more useful. You can do that in the General panel of the Settings.

Multitasking Gestures

Multitasking Gestures are a way of quickly switching between apps. They are enabled from the same General panel where the Side Switch function is changed. The gestures are done with four or five fingers:
you can pinch to show the Home Screen, swipe left or right to switch between apps, or swipe up to reveal the multitasking bar.

Volume controls in the
multitasking bar
The multitasking bar shows you the most recent apps you have used. There's one very useful, non-obvious feature there too: swipe the bar right to bring up volume and brightness controls! Tapping the speaker symbol mutes the device, just like the Side Switch used to do before you switched it to rotation lock. ;) So if you'd prefer to hear the keyboard clicks at least sometimes, this might be a better option than to remove them altogether.

Disabling Auto-Correction

In theory, Auto-Correction fixes your spelling mistakes. In practice, however, it usually just makes you write things horribly wrong. To disable Auto-Correction, go to Settings -> General -> Keyboard and just toggle Auto-Correction off.

sunnuntai 17. helmikuuta 2013

VirtualBox

If you have ever wanted to try another operating system besides your current main one, then VirtualBox is your solution. VirtualBox creates a virtual computer inside your Windows (or Linux, for that matter) and you can then install any operating system into it and launch the virtual computer just like you would launch any regular application. With VirtualBox you don't need to reboot your computer every time you wish to switch to another operating system. I remember originally hesitating about the whole concept at first, thinking that it must be somehow difficult to use, but I was wrong: it couldn't be much easier.

Let's start. Download VirtualBox from the site linked to above. Then download an image of some Linux distribution, say, Linux Mint. An "image" in this context is a large file, usually with a .iso extension, that you would normally burn to a DVD and insert into your computer when booting it, causing it to load the installer from the DVD. However, with VirtualBox you can use a virtual DVD drive, so it just uses the file you downloaded, without needing any actual physical installation disk to be inserted.

Install VirtualBox. It's a normal application so there's nothing weird about the installation process. Then, once your Linux image download finishes, run Virtual box. You are greeted with a screen more or less like this:

Here in this VirtualBox I have already installed an Ubuntu system, so your view of the application will be much emptier, but don't let that bother you. Instead, click on the 'New' button in the toolbar to get to this view: 
Here, enter some descriptive name for your computer (like I've just entered "Linux Mint" here) and select the OS type that best matches what you are installing. For Mint, the above settings work well.

Now the next phase should be to decide the amount of memory you wish to dedicate to your virtual computer:
Computers generally run smoother the more memory they have, but be sure to leave some for your main operating system as well. :) Here, VirtualBox suggests a ridiculously low amount of 384 MB of memory. That may have been enough about ten years ago, but definitely not today, so I've given it a third of all the memory in my computer, i.e. 4 GB, leaving the other 8 GB for Windows and its other applications.


The next phase is to give the virtual computer a virtual disk to which the operating system can be installed and files can be saved. This disk, just like the virtual computer, is actually only a file on one of your normal hard drives.

The process goes like this: first you choose a file format for your disk. You don't really need to care about this, because as it says, you can leave it unchanged because you are not going to use it with any other virtualization software besides VirtualBox:

Next you choose whether you want a dynamically allocated disk or a fixed size disk. The dynamically allocated disk starts with a smaller file and grows when more data is saved on it, whereas the fixed size disk is at its maximum size right from the beginning and, like the prompt says, is often faster to use:

Then select where to place the virtual disk file on your computer. I have created a dedicated V:\VirtualBox folder for it and selected it to be 25 gigabytes:

Now the disk file is created. This phase might take a few minutes:

Congratulations! Your virtual computer is now ready to be booted up for the first time. Click on the Start button in the toolbar when your new computer is selected. Again, don't mind me having the Ubuntu computer there -- you should now only have that Linux Mint computer, or whichever OS you chose to install:


You should now see a First Run Wizard that prompts you for the image file you downloaded earlier. Find it and let the installation begin:

The virtual computer boots up and probably loads the Linux Mint desktop. It's now running off the virtual DVD, so it's not installed into the virtual hard drive yet. Open the Install Linux Mint application:

Mint is easy to install. Just fill in the forms:


After the installation is finished, you should be back at the desktop, this time without the "Install Linux Mint" application. Well done!

Finally, if when trying to change the screen resolution in the operating system in your new virtual computer the higher resolutions are not available, try following these instructions posted elsewhere.

sunnuntai 6. tammikuuta 2013

Pocket (formerly Read It Later)

Some time ago I realized I have a problem that I often find interesting articles online that I don't have the time to read at the moment. Then I just leave them open on my browser, and suddenly there are 50 tabs open in it -- not to mention having the same problem on the browser of my smartphone as well (if only with less tabs). And if the browser crashes, I might lose all the open tabs for good.

Pocket (formerly Read It Later) is a web site / application that is designed to solve the problem of stashing interesting articles to be read later. Stashing an article from your browser couldn't be simpler: it's just a click of a single button (for Opera, Firefox, Chrome). There are also versions of Pocket for Android and iOS that allow you to update and, equally importantly, to read the articles you have stashed before. Pocket formats the stored articles nicely, stripping out all non-essential content such as advertisements and navigation links, showing you just the main text.

Right now my Pocket seems to contain about two dozen articles, including these:
I don't know if these are any good, but when I came across them they looked interesting enough to warrant reading (or watching) later. I get the links from friends or from Reddit or Twitter, or from any other source. Note that as demonstrated above, you can also stash videos and images into Pocket, so it's better than Pinterest that only allows you to save pages with images. ;) However, you cannot share the contents of your Pocket with others, which some may consider to be a minor drawback.

lauantai 17. marraskuuta 2012

maanantai 12. marraskuuta 2012

Setting up custom Gmail notification sounds in Android

I recently found out a way to customize the email notification sounds of the Android Gmail app based on the Gmail labels. For example, I have set my Gmail account to apply a label "Geocaching" to those email messages from Geocaching.com that inform me about new geocaches. There's a semi-serious "competition" going on between geocachers on who's the first one to find new caches (FTF, First to Find), so I wanted to distinguish those geocaching emails from other messages that don't require you to urgently rush outside. ;) So, here's how you do it (at least on Android 2.2.2 -- there are instructions for Android 4.1 as images later in this post as well):
  1. Open your Gmail application, then press the menu button of your device, and then find "Settings" from the menu that opens.
  2. You should now see a dull screen with just "General preferences", your email address, and an "Add account" option. Click on your email address.
  3. Click "Sync inboxes and labels", then find the label for which you want to select a special notification tone and click on it, then select "Sync last 4 days".
  4. Now return back by one menu, locate the "Labels to notify" option and click on it.
  5. The label you just selected to sync should appear there, with notifications set "Off". Click on the label.
  6. A new window opens. Check the "Email notifications" checkbox and the option to choose a ringtone becomes available! Now choose a tone that you wish would play when you receive an email that matches the label. You may also untick the "Notify once" checkbox to get a separate notification for every email instead of just the first one since the last time you read your mail. Then click OK and then return to the app or exit it.
  7. The next time you receive email that matches the given label, your phone will emit the sound you just chose. :)
Finally, I managed to take screenshots of the process on my new Nexus 7 tablet, which runs Android 4.1 and thus has a bit (but not too much) different menus:

First, locate the settings of the Gmail app:


Then click on your account (blurred in this picture): 

 Now click Manage labels:

You'll get to this view where your labels are on the left and the settings on the right. Click the label for which you wish to set a custom tone -- here I've just picked "Starred". Set Sync messages to "Last 30 days", then make sure Email notifications is checked. You'll probably want to uncheck "Notify once":


Now click Ringtone and you can select the notification tone for these kind of email messages:

Voilà!

maanantai 3. syyskuuta 2012

Geocaching

In the right hand side bar of my blog there has always been a little image telling the number of geocaches I have found. Also, in the very first post of this blog I mentioned that you might see an occasional post about geocaching, but that hasn't really been true -- until now.

A particularly clever cache, drilled into a tree stump and openable with a key. (The code that identifies the cache has been blurred.)
I think geocaching is a pretty well known hobby already, but still not all people have heard about it yet. It's basically a modern game of treasure hunt: someone hides a container, a geocache, somewhere and posts the coordinates on the Internet, and then other people go and find it. You usually use a GPS device to find the cache, but often just a map is enough. Most if not all smartphones already have a GPS receiver built-in, so basically you probably don't even need to buy any new equipment to start the hobby. I've been caching just fine with my phones for some three years now. :)

Okay, so what's a geocache like, you may ask? Well. Probably the only common denominator with all caches is that they all contain a log book. It's either a real book or a dedicated piece of paper where you sign your nickname. Afterwards you go online to geocaching.com and log your find to the cache's own page as well.

OK, but what's a geocache really like, then? One of the most common appearances is a plastic box of a couple of deciliters. Film canisters are also popular. The tiniest caches I have found are nano-caches that measure less than 2 by 2 by 2 cm, such as this one, and the largest has been a plastic container of about 40 liters. Needless to say, the first one can be hidden in the busiest place of a city center, whereas the latter definitely needs a remote place in the woods.
One of the weird things I've seen while caching: a tree had grown up right through a fence.

Right, so where are these geocaches hidden? I already touched this subject in my previous sentence, and the answer is that they can be hidden basically anywhere: in the cities or in the woods, in parks, mountains, bus stops, train stations, light poles, stone walls. In cities you can often find micro-caches under, behind and inside various pipes, bars and railings. They may be under staircases or in a bush. They may be hanging from trees or they may be hidden in the roots of a tree, behind some stones.

OK, but what's so interesting about finding a plastic box from the woods? Well, usually the cache page contains a description of the place: why does the cache owner want to show you the place? There are, of course, those boring boxes with no purpose as well, but you don't need to get those. :) Geocaching is a great way to get to know a new city, for example. Geocaching takes you outside the normal tourist areas and attractions and shows you less-known and quaint places. For example here in Helsinki, Finland there are many World War I era fortifications in the forests and many caches have been placed in them. In London there was a cache in front of two houses – which are actually fake, designed to hide a railroad. Normally you'd just pass this kind of a place without noticing anything, but with geocaching you become familiar with the local history.

Traditional cache
Besides the location, the cache itself might be interesting and worth seeing in its own. Some cache owners put a lot of time and effort to construct contraptions where you have to, for example, open some lid with a key or winch a container down from a tree. I have seen a cache camouflaged as a beehive, and some of the funniest caches are the ones that are hidden in plain sight, disguised as electric boxes or some such ordinary objects that just belong to the landscape.

Multi-cache
Besides the traditional caches where someone just posts the coordinates on the Internet and you go find it, there are other kinds of caches as well. The most popular other types are multi-caches and unknown caches, also known as puzzle or mystery caches. Multi-caches contain one or more intermediate points before the final location where the cache with the log book is. In the intermediate locations you might find cache boxes with coordinates, or you might have to calculate, say, the number of windows in a building and apply that number to a formula given in the cache description to get the next coordinates. Multi-caches may be of any length: 20 meters, 2 kilometers or 200 kilometers. The basic rule with all caches, though, is that there must be at least 161 meters, or 0.1 miles, between them.

Mystery cache
Finally, mystery caches can be pretty much like anything. There might be a simple jigsaw puzzle that you must build in order to see the coordinates in the picture that forms, or the puzzle might require deep knowledge of some sports league, programming language or historical event or person.

A screenshot from Geocaching.com, showing you the strategic information of the Oslo Concert Hall cache: D/T 2/1.5, small.
Oh, and how do you know which caches would be easy and which ones would be difficult? All the caches have two ratings assigned to them by the author: the difficulty rating (D) and the terrain rating (T). You seldom see traditional caches with difficulty values over D3 or D3.5, and those are often used by cleverly camouflaged caches or caches in places with many possible hiding places. A cache with a difficulty rating of D1 should be quite trivial to find, whereas a mystery cache with a difficulty rating of D5 might stay unsolved for weeks or months. Difficulty ratings are, however, quite subjective. In the end terrain ratings are also subjective, but I think they are less subjective than difficulty ratings anyway. A T1 cache can usually be retrieved even from a wheelchair, whereas a T5 cache basically requires you to have some special equipment, such as climbing gear, or you will risk serious injury or even death. Of course one of the fun parts of the hobby is that there's something for everyone and you can only go find those caches that suit your tastes and skills. :)

So, what are you waiting for? Go check out the map of geocaches in your area, register to the site, get the coordinates and go out with your smartphone. :)