SSL certification deployed

Today I deployed SSL certification on my blog. As a result, my blog is only available from HTTPS, and all attempting from HTTP will be redirected to HTTPS. To do this, just add this to the Apache2 available sites configuration, like this:

A small vignette is that they give me a mismatch cert after I receive this message from Namecheap. Apache refused to restart, then. So, I had to ask them to reissue my cert.

Basically, Aleph Zero(\aleph_0) is the cardinality of the natural numbers. A set with a cardinality of Aleph Zero means the number of elements is “as many as natural number”, which is “the smallest infinity”. It might be hard for a computer to understand infinity, we human beings can, though. read more

Run offical Go language tutorial (A Tour of Go) on a server

Recently I am learning Go language for the distributed system course. Basically, golang is a programming language developed by Google – it has a C-like code style and an enhanced support for concurrency, which means writing a server with golang is a good idea.

Golang has an online version tutorial here. It has a server-based compiler and allow you to run some script. Since it is on a public server, its speed is somewhat slow. In this case, I planned to run the gotour on my own VPS.

I downloaded and started gotour on my VPS. However, when I saw an message told me to open a browser and type http://127.0.0.1:3999, I realized that things could not be that easy. As expected, directly visit 3999 port will receive an instant HTTP error. read more