September15
The following article explains the usage of Apache Mahout’ s implementation of the Latent Dirichlet Allocation learning algorithm. The idea behind the example is to extract given number of topics from a collection of text files located in a given directory. For simplicity we will use Mahout’ s ability to run locally, but there is no real difference in the procedure if it’ s applied to a Mahout build configured to use a Hadoop cluster.
The first step is to download and install Mahout. Download from here the latest stable release and extract the archive to your preferred working directory. The only thing that needs to be configured for a minimal run is the JAVA_HOME environment variable.
For ubuntu just type:
September11
Since Amazon offers its Amazon Linux AMI for free if used with a micro instance, it is a nice idea to use such a micro instance as a reverse proxy front-end for your actual web server. This setup offers many advantages, with enhanced security and fail over capabilities being two of them.
1)Set up AMI
You have to select an Amazon Linux AMI to run as a micro instance. Store the Key Pair in order to be able to login to the machine and associate an elastic IP to it. Then alter the default security group opening port 80 and 443 to the world and 22 to the IP / IPs you will use to connect via ssh to the machine.
2)Login and become root
By default you can login to the machine via ssh using as user name “ec2-user” and the Key Pair that you downloaded upon AMI creation. In order to continue the installation it is convenient to became root. Type
August30
This article guides you through repairing and restoring bicycle pedals. This covers older pedals that use conical axle and ball bearings. It is a shame, if you have an older bike or a restoring project going on, to replace something that can be fixed and thus not salvage a piece of gear that most of the times is irreplaceable in terms of authenticity.
For the guide i will use a pair of pedals that came with a Champion brand road bike that i am currently restoring. They are made of steel and have a chrome finish. Prior to the restoring i had attached a pair of Christophe pedal straps that are a bit out of era but add to the usability of the bike.
Here is the patient!