lauantai 14. syyskuuta 2013
Humble Indie Bundle 9
lauantai 17. marraskuuta 2012
Humble Bundle for Android 4
lauantai 16. kesäkuuta 2012
Frozen Synapse
The game has several different modes and a "Dark" and "Light" variant of each. In the Light versions you always see where the enemies are, whereas in the Dark versions you only see the enemies that are currently in the field of vision of your troops. Once you lose a sight to an enemy in a Dark game a "shadow" of the enemy stays at their last known location along with an info text like "Last seen 2.8 seconds ago".
![]() |
| A maneuver assigned to a machine gunner. |
In all game modes you can simulate the end result of a turn in the planning phase. This means that you can also assign commands to the enemy troops and move them around when you try to anticipate what the enemy will actually do. Simulating is crucial. The game is deterministic, so if in your simulation a soldier gets shot, he will get shot the same way in the actual outcome -- provided that everything stayed the same compared to the simulation. A slightly differently placed unit may yield a completely different result.
Let's watch a game of Dark Disputed I just finished. (Unfortunately the replay doesn't show the actual fields of vision for the troops.) The replay doesn't include the planning phases, just the action, so it lasts only 30 seconds. Remember that there was a planning phase every five seconds. I was controlling the green team and my enemy was controlling the red team. I recommend opening the video in a separate window and watching it with the HD quality:
At 00:06 my sniper at the right gets an enemy gunner to his sights and takes him down a couple of seconds later; that's the first casualty of the game. The turn ends a second later when my gunner and an enemy gunner have just opened fire at each other. The simulation reveals that the bullet that's on its way already is going to kill the enemy, so he cannot dodge it and gets shot right at the beginning of turn three. During turn two my other gunner also ran up across the enemy sniper's line of fire because the simulation revealed that the enemy wouldn't have the time to take the shot. From his new position my gunner also opens fire against an enemy gunner trying to run down across the map at 00:10.
Again when I simulate the situation in the planning phase it appears that the enemy running down may be able to escape from my gunner who just opened a fire against him, so I turn the gunner in the middle to face the doorway in case the enemy would try to flank him. Luckily he takes the enemy down himself at 00:14, so there are only two enemies left now. My gunner at the bottom was ready to greet the enemy had he ran downwards instead of just stupidly staying put in the middle.
At the start of turn three my soldiers had caught a glimpse of an enemy gunner going into the room at the upper left corner. Since shotguns are very powerful at close range I decide to have my shotgunner clean the room and make an elaborate plan on how he would enter the room from the top door. I test my plan with the enemy soldier in every corner of the room until my shotgunner comes across as a winner in every scenario. The machine gunner and the sniper are his backup, and indeed the machine gunner engages in a firefight with the enemy right before the shotgunner enters the room and kills him at 00:19.
At 00:20 the fourth turn ends and the red boxes appear. My sniper is on the other side of the playing area and I decide that the three machine gunners are enough to take the final enemy sniper down, so the sniper goes to collect a couple of boxes. The shotgunner stays at the room he just cleaned and guards the windows in case the enemy sniper would run past them. Finally, it's the machine gunner that's ducked in the bottom room who kills the enemy at 00:23. The replay then plays for one more turn that I didn't actually play and you see my sniper exiting the area with the two boxes he had collected.
So, this hopefully gives you a fairly good picture of the game. Besides the multiplayer mode there's also a single player campaign and a possibility to play quick skirmish matches against the AI, but multiplayer is clearly the most interesting part of this game. The game is cross-platform so Windows, Linux & Mac versions exist. The game can also be bought from Steam, and there's an unofficial Frozen Synapse Wiki for you to use as a reference. Finally, it takes a little patience to really get into the game, but if you intend to play it you should probably also read this blog entry called How Not to Be Shot in Frozen Synapse. :)
torstai 17. toukokuuta 2012
Windows PowerShell
![]() |
| The Windows PowerShell |
With the Windows Command Prompt these kind of operations have traditionally been way more difficult. Of course, I guess most people never use the Command Prompt, but those who do miss these powerful features from Unix-like systems. Nowadays, however, we have the Windows PowerShell.
The Windows PowerShell has been around for a few years already and I've been vaguely aware of its existence, but never really looked into it until now. It seems to be readily available on all Windows 7 installations, and most likely on Windows Vista as well. You can find it from the Start Menu.
Basics
When you start the PowerShell, you might want to see what commands are available. You can use the Get-Command command or its alias gcm for that. You'll see many lines of text that end with "...", i.e. they are truncated. Use Get-Command | Format-List or the short form gcm | fl to see everything, or gcmWhen you are accustomed to Unix shells the weird part in PowerShell is that it is object oriented. The pipes actually pass around typed objects rather than character streams. So when you "print out a list of files", you are actually rendering a collection object consisting of file objects. I won't go into this in detail but it is good to know this.
Replacements for Unix commands
So, what commands replace the most used Unix commands? Here are some of the most important ones in the format of Unix-command: Windows-command (alias):grep: Select-String
cat: Get-Content (cat)
ls: Get-ChildItem (ls)
mv: Move-Item (mv)
cp: Copy-Item (cp)
wc: Measure-Object -line -word -character (measure)
cd: Set-Location (cd)
tail -n 15
tail -f
Aliases
OK, so the PowerShell can do pretty much anything a Linux shell could, and often with the same command. However, there aren't ready made aliases for all the commands. Luckily, you can define more of these aliases by yourself. Let's create that grep alias: Set-Alias grep Select-String. There! However, there's still a problem: if you now exit the PowerShell, your brand new alias is deleted. Luckily, you can save these into your profile file. First, type $profile to see the location of your profile file. Chances are it doesn't exist so you need to create it. After you have done that you can add your set-alias commands into it. You can then easily edit the file by typing notepad $profile.However, when PowerShell starts the next time it will give you a warning that "the execution of scripts is disabled on this system". The command get-help about_signing explains in detail what you can do about this, but the easiest way is to restart PowerShell with the administrator rights and to enter the command set-executionpolicy remotesigned. You can now close the admin shell and open it up again with your normal rights and presto, your aliases are available to you right from the start!
Functions
Unluckily, aliases can only be created for plain commands, not for commands with parameters or pipes. However, these cases can be dealt with by creating functions. Let's create a function called tail. Open your profile file and add these lines to it:cat $2 | select -last $1
}
Further resources
I read quite a few web pages when learning the basics of PowerShell and you will probably find them useful as well. First, Microsoft, of course, has an Owner's manual as well as a large collection of useful PowerShell tips. Second, Stack Overflow has thousands of questions about PowerShell answered. Third, a Windows PowerShell blog has a more detailed list of those Unix equivalents in PowerShell. Finally, as usual, Google is your friend!maanantai 26. maaliskuuta 2012
The Humble Bundle for Android #2
sunnuntai 12. helmikuuta 2012
Cities in Motion
![]() |
| People getting in and out of a bus |
The game looks pretty and works well on a modern PC. It focuses solely on moving people around so there are no cargo trucks or such, but there's plenty of things to do without them anyway. In the campaign mode you move from city to city, and in each city you must complete a certain amount of tasks. The tasks are usually something like "build a line from place A to place B" and it is then up to you to decide how to implement it. You can have multiple tasks going on at once so you can take all the time you need for completing them. This is good if the task is something like "build a metro line from the north side of the city to the south side of the city" and if it seems like there wouldn't be too many passengers between those places. The correct way to do that, then, would be to start somewhere in the middle and to build a line from, say, the railway station to the mall, and then gradually expand it towards the required end points.
![]() |
| A riot in front of the Vienna City Hall |
The people of the cities are an interesting point in the game. Each and every little person walking down the street is an individual. You can click any person and get statistics about him or her: where they live, where they work, where are they coming from and where are they going to. Every person also belongs to some social group, such as students, blue-collar workers or businesspeople. Students need an inexpensive method of transportation from the homes to their colleges, whereas businesspeople are busy and rich and can pay more to quickly get to their workplace or, say, the airport. You can also save these people as "customer profiles" in order to check back on them later to see, for example, if a person using a private car has been converted to a user of the public transportation.
The key to making people flow smoothly is to build a network where the vehicles and lines complement each other. It is not uncommon to see a basically dead bus line to start to flourish when a metro stop is added next to one of its stops. People can and will take connections from one line to another if you just plan the network so that it is worthwhile.
![]() |
| Deadlock |
![]() |
Elevated metro track, passing above the river and over a bridge |
There aren't many downsides in the game that I have observed. For me the most obvious one is the lack of zoom levels: you cannot zoom as far away as you would like. Zooming in, on the other hand, works perfectly and reveals the excellent graphics. Unfortunately that is not actually the most usable view for playing the game. But there's always a minimap in the corner so you still know where you are. The other thing is that I'd love to get some aggregate information on the passengers inside a vehicle or waiting at a stop. Currently you can only observe individual citizens, as I already explained. This does become less of a problem once you understand the general mechanics of the game, but still. Many times I have found that 90 percent of the passengers of my ten stop bus line just travel between two or three of the stops, so cutting the extra stops saves you both time and money.
![]() |
Metro, tram & ferry moving people in Vienna |
Cities in Motion is anyway the best game I have played for a while. The game is just 19.99 €/$ on Steam, or 39.99 €/$ with the expansions, which I also recommend. The CiMExchange site offers many mods and cities for download. So far I haven't tried any mods but there are some that I will try later, such as the Ultimate Camera Control mod. Finally, there's even a Cities in Motion wiki with all kinds of information about the game. @Citiesinmotion is also in Twitter.
maanantai 6. helmikuuta 2012
The Humble Bundle for Android
tiistai 12. huhtikuuta 2011
The Humble Frozenbyte Bundle
lauantai 25. joulukuuta 2010
The Humble Indie Bundle #2
sunnuntai 22. elokuuta 2010
Dropbox

Dropbox is a neat online service for saving your files. It is basically an online hard drive where you can store any kind of files to be accessed from anywhere. Using Dropbox has been made very easy: you register to the site and download and install a client application, which then displays as a regular folder in your file system. The magic happens when you move or copy files into that folder: they are automatically copied into the Dropbox servers and you can access them from any other computer, either by using the online user interface or by the dedicated client!
The client is available for Windows, Linux, Mac and even some mobile platforms, so there's really no reason not to use Dropbox even if you use multiple computers with different operating systems. I figure Dropbox is a great way of storing data when using a netbook: even if the system breaks, your data will be safe, plus it will be available for your desktop computer as well. It is also unlikely that you will be handling very large files with a netbook that doesn't have too much power so the default amount of 2 GB that you get should be plenty. Register using this link and you'll even get an extra 250 MB of storage space. :)
I registered to Dropbox in the spring when someone wanted to share some photos with me (yes, Dropbox can easily be used for sharing files too, and no, those who then just want to view your files don't need to register). After that I forgot about it until I tried the Jolicloud Linux distribution which has got some sort of a Dropbox integration. I figured Dropbox would be an excellent place to store, for example, my KeePassX password database file so I could access it from both Windows and Linux, and from both my desktop computer and my netbook. I have now also saved the installation packages of some key software to Dropbox so that the next time I'm installing a fresh system I won't have to browse through a dozen web sites to get all the programs I need.






