The Tao of Programming
Posted: October 24, 2009 Filed under: NEZzen Leave a comment »When the program is being tested, it is too late to make design changes.
—The Master Programmer
Open-Source Games for Linux
Posted: October 15, 2009 Filed under: NEZzen Leave a comment »I was recently looking around to see the state of Linux-capable games, and I was surprised to stumble upon a bunch of really cool looking ones:
- The Battle for Wesnoth
- FlightGear
- Chromium B.S.U.
- Alien Arena
- SuperTux
- SuperTux Kart
- Tux Racer
- TREMULOUS
- Cube 2: Sauerbraten
Let me know if you have any particularly fun Linux games in the comments!
Setting locale failed error on Ubuntu or Debian
Posted: October 13, 2009 Filed under: NEZzen Leave a comment »Sometimes I get a weird error message when using apt-get or dpkg on certain Ubuntu or Debian systems. More particularly, this happened on a server I was running and confused me quite a bit. Basically, when working with packages, I kept getting the following message:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = "en_US.UTF-8",
LC_ALL = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
After some research online, I found the quickest was to fix this was to run (as root):
apt-get install language-pack-en-base
I was also told to execute the following, but I found it to be unnecessary:
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
I hope this helps someone else, too. Remember to change en_US to your desired locale.
