Work has begun on the next version of The Tarutaru Times Online.

I don’t know when I can finish it, and I can’t promise it.

It will be a complete rewrite of the whole system, using all the new knowledge I’ve gained since v2.

You could say the motivation for this rewrite is because of FF14. It’s that good.

And to commemorate this new beginning, I’ve updated the blog, using the new templates :o

Deploying with Github

Just a note for myself. Or if anyone’s interested, feel free to continue reading.

This posts records the steps needed to allow the webserver to run a “git pull” command in your website’s folder.

Setting up SSH

In the case of Nginx, the home folder is /var/cache/nginx/

You need a .ssh folder here with the ownership given to “nginx”, which is the user account the webserver runs as.

Generate your PKI keys, update the public key at github and also make sure nginx owns those keys.

Website folder permissions

You will need to change the ownership of all the files in your web folder, including the .git folder and files to the “nginx” user account.

Git pull

su nginx to “log in” as the nginx user. You may need to change the bash settings in /etc/passwd in order to allow this login.

go to your website folder and run “git pull”. You will be asked to add the public key for into your list of known hosts, so just type in “yes”

Github hook

I have a php file in /var/www/html that runs the git pull in the website folder when accessed.

The line of code is simply:

shell_exec(“cd /var/www/; git pull”);

Then add the url to this file in github’s hooks section and whenever you push to github, github will send a post to this file, triggering the git pull in that website folder.

The only sad thing about gaming

One thing I find depressing about console gaming is that newer generation consoles are often not backwards compatible. Which means they can’t play games from previous generation consoles; a PlayStation 3 cannot read or play the games of PS2.

So when one day, my PS2 console finally gives up on me, I would have to hunt for a second-hand PS2 or my games will all be unplayable to me anymore.

Which… is kind of sad…


Recently, I began playing CounterStrike:Source again for nostalgic reasons. It’s also the only FPS game I could play without feeling nauseus after 20 minutes.

I’m sad at how it’s difficult to find a decent server with low latency. I hope this changes when I get a fiber connection probably by the end of this year.

And when I find a low-latency server, it’s always set to a fixed map (de_dust2), or it has weird mods like instant-respawn.

When I finally found one with the traditional settings, it’s a high-latency server.

Anyway, I found one that’s frequented by Singapore players, low-latency (20~30ms) and default rules, even had friendly fire turned on. I love it here so far.

Everyone plays according to the rules. Counter-Terrorists actually play according to the aim of the map (defend bomb-sites, rescue hostages), instead of rushing to eliminate Terrorists. Terrorists actually try to secure the bomb-site to plant the bomb instead of camping at their base.

Probably because this is a very old game. All the young hooligans that don’t like to play by the rules of the map have all gone up and left for newer games like Dota or Diablo 3. Only the ones that truly enjoy the basics of the game remain.

The server’s name is so aptly named: Old Man Gang.

Money management

Someone on HN asked for some money management advice and so I’d thought I’d copy and paste it here with some edits.

I’m from Singapore so some of the points below may not apply to you but here’s what I do in case it helps.

I bought an iOS app which I use to track my income and expenses. This doesn’t help me save money except track how much I’ve spent on my credit cards so I don’t overspend and will have enough money to pay back the banks at the end of every month and not incur any hefty interest.

Credit cards are useful for getting discounts on things. I get a 5% discount when I shop for groceries at a particular store. When the annual fee comes, I call up the bank and ask for a waiver. They usually agree to waive it off.

I have 2 bank accounts with different banks. The first one which is where I use for spending on everyday needs and depositing my salary. This bank, POSB, is known for having lots of ATMs and conveniently located branches. But lousiest interest rate. I keep a buffer of around $1000~2000 in this account in case I need to spend extra in a single month.

The second one is for savings it’s MayBank and gives me a better interest rate but not a lot of ATMs. I setup my first bank account to automatically transfer $500 every month to this savings account. This recurring transfer is also setup on the iOS app I mentioned earlier.

I also have a strong discipline not to touch the amount in my savings account unless I really reaaaally need money. I might be able to grow more money investing this sum but it usually means I can’t touch it for a long period of time, say 5, 10 or 20 years. What if something goes wrong and I need the money badly?

I have a savings insurance plan which after paying a small monthly sum for 20 years, I end up with a huge sum more than the amount of premium paid when it matures.

On google docs, I noted down what my regular expenses are, like transport, food, household bills. So I know how much extra I will have after those.

Don’t be tricked by discounts that tell you how much you save if you buy that product. You save more money not buying it. It’s different if the product is a daily neccessity or you think will be beneficial.

If I were you, I’d build up a substantial amount of savings first before investing. An amount that will allow me to go jobless for a few months.

Or allow me to do things that’s beneficial to myself in the long run such as buying a camera to learn about photography. It’s what they call “investing in yourself”