Installing Memcached on Windows

Memcached is a high performance, in-memory key-value store or caching system. Its main purpose is to speed up web applications by caching database queries, contents, or other computed results.

Memcached is originally a linux application, but since it is open-source, it has been compiled for windows. There are two major sources for the pre-built windows binary: Jellycan and Northscale, and both versions can be used. The following are the download links for the memcached windows binaries:

Read more →

A Bitcoin Documentary - The Rise and Rise of Bitcoin

The trailer:

Read more →

Manage Windows Services using Command Prompt

I think the reason people would need this is because:

  1. They want to write a script that monitors or manages certain services;
  2. They need to login through Remote PowerShell or an SSH Server to manage the service.

Here are some quick tips for managing windows service using the command prompt:

Read more →

Javascript-based Django Secret Key Generator

Your Django Secret Key:

The string has 50 characters.

Read more →

Mining Primecoin on Cloud Server Using Xolominer

The tutorial is based on xolominer, the high performance primecoin miner. The server image that we use is Ubuntu 14.04 Server or Ubuntu 12.04 Server.

Here comes the steps:

Read more →

First follower of Bitcoin - Hal Finney - dies of ALS

Hal Finney

  • Co-developed the open source PGP encryption in 1991, when it was illegal to export military-grade encryption software from United States to other countries.
  • Implemented the first reusable proof-of-work system, to be used as digital token money in 2004.
  • Became the first follower and supporter of Bitcoin in 2009 after Satoshi released the Bitcoin software.
  • Received 10 BTCs from Satoshi, which was the first Bitcoin transaction.
  • Diagnosed with amyotrophic lateral sclerosis (ALS) in 2009.
  • Dies at 58, on August 28, 2014. His body was freezed with the hope of revival when the technology makes it possible in the future.
Read more →

Removing Largefiles Extension from Mercurial Repository

The largefiles extension in Mercurial improves storage and bandwidth efficiency when dealing with large binary files. By keeping the previous revisions of a large file on the central repository, it avoids the download of unused revisions of the large file to your local clone. In other words, a revision of the large file is not neccesary when you pull from the remote repo, and it is downloaded only when you update your local repo to the particular revision.
Read more →

Installing Django on Ubuntu Server

Django is a Python web framework which allows rapid development of website by following the Model-View-Controller architecture.

The Python language interpreter is installed by default on Ubuntu server. Therefore, you need not worry about installing python.

After python is installed, the recommended way of installing django is to use virtualenv to manage the django installation. Therefore, you need to have pip (used to install and manage python packages) and virtualenv installed first. Here goes for the steps:

Read more →

Startup Survival Guide

The top ten survival tips: Any idea for a business is only any good if there are customers who want to buy your product or service now (or in the near future). Without this you do not have a viable business proposition. It sounds obvious, but be very sure there is a big enough market. Only start if you are totally convinced of the financial vialibility of your product/service and are prepared to commit yourself totally to making it a success.
Read more →

Sustainable Software Development

I have written this in my notes since October last year.

Key to high quality, sustainable software development:

  1. Functional specification
  2. Revision control
  3. Test case
  4. Bug tracking
  5. Code review
  6. Automated build server
Read more →