Fix Steam on Ubuntu Without Hassle

While greatly improved since the beta days, Steam on Linux is not perfect yet. After updates, it is often neccessary to fix Steam. You might be familiar with the following error:

SteamUpdateUI: An X Error occurred
X Error of failed request: BadValue (integer parameter out of range for operation)

The problem is caused by the Steam’s bundled libraries. But luckily, the solution is straightforward. All you need to do is to remove them. And to make your life easier, you can make a simple script to handle that. Let’s call it

#!/usr/bin/env bash
set -exu
cd $HOME/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu
cd $HOME/.steam/ubuntu12_32/steam-runtime/amd64/usr/lib/x86_64-linux-gnu

Don’t forget to make it executable with chmod +x and put it into /usr/local/bin. Now every time your Steam stops running after an update, executing will make everything alright. Do you also have a Steam controller? If so, check out how to configure it on Linux.

Scarlet Johansson in Ghost in the Shell

Scarlett Johansson in Ghost in the Shell as Major Motoko Kusanagi

Couple days ago, the media confirmed, that Scarlet Johansson will star as Major Motoko Kusanagi in the upcoming Hollywood adaptation of the cyberpunk classic Ghost in the Shell. This immediately caused a huge uproar, with posts accusing the creators of ‘white-washing’ springing up like mushrooms. There is even a petition that supports casting of an Asian actress in favor of Scarlett Johansson. To be honest, I was baffled when I found out about the backlash. But more about that later. The opponents of have two issues with Johansson’s. Firstly, that the creators chose a white female for the role of a Japanese woman. Secondly, that they refer to the character as ‘The Major’ to further obscure its Japanese background. Let’s take a look at the legitimacy of those claims. Motoko Kusanagi uses an artificial, robotic body. So her ethnicity has no impact on her looks. In the original movie she is pictured with blue eyes and distinctly Caucasian features. I would argue that casting a white female to the role is actually staying true to the original. You can see the picture below and decide for yourself. Does the Major strike you as ethically Japanese in the anime?

Read more…

Setting Up Headless Raspberry Pi Server

The Raspberry Foundation has recently launched Raspberry Pi 3, a new version of their popular developer board. It features a faster ARM processor, 1 GB of RAM and, most importantly, on-board wifi. This makes it even better choice for a headless Linux server. This guide shows how to do the basic Raspberry Pi server setup, with password-less SSH and automatic updates.

Get the Raspbian Lite image

First of all, you have to download a Linux image for your Raspberry Pi. For using it as a headless server I recommend the Raspbian Lite, which is a minimal image shipped without the desktop packages (which are obviously not needed for a headless server). You can download it here. When the download is complete, open the .zip file and unzip the .img file containing the image.

Read more…

Automatically Remove Old Kernels in Ubuntu

Couple versions ago, Ubuntu has stopped to automatically remove old kernels. It just ignores the setting for this functionality. As a result, after several years od usage, the system gets seriously cluttered. In some cases, it can even run out of space. In order to prevent this, I made a simple bash script to get rid of old kernels. You can run it manually, but I prefer having it on a monthly cron job and forgetting about it. By default, it leaves the two most recent kernels intact. This serves as a safety catch in case kernel upgrade doesn’t go well. However, you can adjust this to your needs. If you have any questions about usage, just leave me a comment.

Baldur’s Gate Expansion Is in The Works

Beamdog is a company that has brought new life to Baldur’s Gate and other Infinity games with their Enhanced Editions. Recently, they have announced a new Baldur’s Gate expansion - Siege of Dragonspear. This expansion will take place between the events of Baldur’s Gate 1 and 2. The story revolves around the Shining Lady, a mysterious figure from the North, who leads a crusade down the Sword Coast. Siege of Dragonspear will feature several new locations, a new shaman class, four new companions and a plethora of other content. In addition, there are also plans for localization. So here is some hoping for a Japanese version. Some 16 years after the last game in the series, this is a long-awaited sequel. I, for one, am looking forward to it.

Test Internet Speed in Command Line

Sometimes the Internet is sluggish and you need to find out if your connection is the culprit. The usual routine to find out the connection speed is the following. First, switch to your browser. Then type out the address of one of the speed testing sites. Finally, navigate through, usually bloated and annoying, GUI. For those who cannot be bothered to do that (and are on *nix system), I have a simple trick to test internet speed in command line. You can just create an alias called speedtest. If you use bash, then running this command will do:

$ echo "alias speedtest='wget -O /dev/null'" >> .bash_aliases

However, my personal favorite is fish (the shell, not the animal). In fish, you can make custom function in ~/.config/fish/functions/ The code is below:

Read more…

Baldur’s Gate in Japanese

The other day I saw Baldur’s Gate: Enhanced Edition on sale on Steam. Without a second thought, I decided to check it out. After all, it was one of my favourite games. To my great surprise, when I turned the game on, it was all in Japanese! I always assumed there was some kind of region restriction on Steam, because no other game I own ever came with Japanese translation.

Baldur’s Gate in Japanese

The developers did a fine job bringing the game closer to today’s standards. The new characters are interesting and the quick loot function is something I could not live without again. And while a lot of the community mods are not compatible with the Enhanced Edition, the number of the supported ones grows by the day. Learning Japanese while playing one of the best RPGs of all time - does it not sound great? Try Baldur’s Gate in Japanese today! And if you are still hesitant, there is even a new expansion in the works to lure you. So what are you waiting for? ;)

Attack on the Titan - Kansaiben version

Last year, the Attack on the Titan attraction has opened in Universal Studios Japan in Ôsaka. It featured 15 m statues of Eren and the Female Titan. Naturally, it was an immense success. Now, to celebrate one year anniversary of its opening, the publishing house has released Kansaiben version of the first manga.


Read more…

NHK Radio Special on Tôhoku Earthquake

It has been 4 years since the Tôhoku Earthquake already. This tragedy has extinguished countless lives, but among the continuing problems at Hukusima Power Plant and reconstruction work delays, many people are still suffering from the ruin it has brought. In reaction, NHK Radio have released a 3 part special, where they revisit these areas to look at the current situation and speak with the locals about the disaster and the future. It is quite interesting. Unfortunately, NHK delete the podcasts from the feed after 2 days. So I have decided to upload them on Youtube:

Part 1

Part 2

Part 3

On Seeing the 100% Perfect Girl One Beautiful April Morning

On Seeing the 100% Perfect Girl One Beautiful April Morning is one of my favorite Murakami’s works and probably my favorite short story overall. I wholeheartedly recommend everybody to read it. Unfortunately, it was not published in Czech yet. Nor does it seem it will be anytime soon, so I have decided to translate it myself.

Jak jsem jednoho krásného dubnového rána potkal 100% dokonalou dívku

Jednoho krásného dubnového rána jsem v uličce na čtvrti Haradžuku prošel okolo 100% dokonalé dívky. Upřímně řečeno, nebyla zas tak pěkná. Nebo že by na ní něco poutalo pozornost. Ani na sobě neměla nijak skvělé šaty. Vlasy měla vzadu ještě po ránu rozcuchané a co se věku týče, nebyla už úplně mladá. Mohlo jí být tak ke třicíti. Technicky vzato, už to vlastně ani nebyla dívka. Bez ohledu na to, už z 50 metrů mi to bylo jasné. Ona je pro mě 100% dokonalou dívkou. V okamžiku, kdy jsem ji spatřil, se mi srdce rozbušilo jako o závod a v ústech mi vyprahlo jako na poušti.

Možná máte mezi holkami nějaký svůj typ. Třeba se vám líbí holky se štíhlými kotníky, nebo velkýma očima, potrpíte si na pěkné prsty nebo vás z nějakého důvodu přitahují dívky, co si pomalu vychutnávají jídlo. Já mám samozřejmě taky svůj typ. Někdy když jsem v restauraci, okouzleně pozoruju tvar nosu dívky u sousedního stolu. Ale popsat dokonalou dívku, to nikdo nedokáže. Jaký měla nos, to si vůbec nedokážu vybavit. Vlastně si ani dost dobře nepamatuju, jestli nějaký měla. Jediné co si vzpomínám, že to nebyla kdovíjaká kráska. Je to zvláštní.

Read more…