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:

A Bitcoin Documentary - The Rise and Rise of Bitcoin

The trailer:

Website: http://bitcoindoc.com/

 

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:

Javascript-based Django Secret Key Generator

Your Django Secret Key:

 
The string has 50 characters.

 

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:

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. 

 

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. The downside of this extension, however, is that you need a central repo, which stores all the versions of your large files.

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.

Startup Survival Guide

The big top ten survival tips:

  1. 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.
  2. 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.

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

Now, after around 8 months, I think I did the first two quite well. For every project that I did, I will discuss, prepare a functional specification and review it with my client before starting to code. I use Mercurial as a revision control and collaboration tool.

So, what's next?

Pages