Easyrec – Integrate Recommender Engine in your website – open source

Easyrec is an open source recommender engine which can be trained and customized to provide personalized recommendations using REStful Web Service.

easyrec-engine
Easyrec exposes its functionality through REST API which provides several interaction types:

Actions

  1. view
  2. buy
  3. sendaction

Recommedations

  1. other users also viewed
  2. other users also bought
  3. items rated good by other users
  4. recommendations for user
  5. related items
  6. action history for user

Community Rankings

  1. most viewed items
  2. most bought items
  3. most rated items
  4. best rated items
  5. worst rated items

The list of recommendations is returned in XML and JSON notation to be further processed by your web application.

Easyrec API can be accessed from its main website http://easyrec.org/ or could be installed alongside with the web application on your own server. Easyrec require at least Java 1.5 and MySQL server for its functionality.

Download easyrect from: http://easyrec.org/recommendation-engine

How to get Free Bitcoins from Bitcoin Faucet

Good news to those who are looking to get their hands on Bitcoins, beside setting up a mining rig, one can get free bitcoin from Bitcoin Faucet, a website dedicated to hand free bitcoin.

What you need is a Bitcoin receiving address, obtained by registering an account with either MyBitcoin, MTGox, or Vekja.

Additionally, you may donate your excess bitcoin to the Faucet in order to share it with the rest of the world.

p/s: Don’t be surprised if the amount you received is minuscule, hey — it’s free !

How to: Quick and Dirty Web Server Load Balancing with IPTables in Linux

Load balancing is a method to distribute workload across multiple computer over a network. The purpose of load balance in web server is to avoid one web server from being overwhelmed by requests which eventually leads the machine to come down to a crawling halt.

Assuming that you have 3 web server to assign the load to each with this IP Address:
10.20.20.1
10.20.20.2
10.20.20.3

You can drive the traffic to each of this on every third packet with this iptables rules:

iptables -A PREROUTING -i eth0 -p tcp --dport 80 -m state --state NEW -m nth --counter 0 --every 3 --packet 0 -j DNAT --to-destination 10.20.20.1:80

iptables -A PREROUTING -i eth0 -p tcp --dport 80 -m state --state NEW -m nth --counter 0 --every 3 --packet 1 -j DNAT --to-destination 10.20.20.2:80

iptables -A PREROUTING -i eth0 -p tcp --dport 80 -m state --state NEW -m nth --counter 0 --every 3 --packet 2 -j DNAT --to-destination 10.20.20.3:80

This will ensure that every 3rd packet of the request will be properly distributed among the three servers to balance the load. Note that this is only useful in simple website which serves static content or for a download servers that serve large files over the internet (CD or DVD iso downloading)

Setup Free Web Proxy Service with Glype (PHP Script)

Glype is a web-based proxy script written in PHP which allows user to browse the internet anonymously using a web-based user-interface. Website operator can easily setup web-proxy without the need to go through complicated installation procedures.

Glype Proxy Service

Among the feature of Glype Proxy Script are:

  • No Installation – Just upload and done!
  • Javascript support – Allows website to keep their javascript functionality
  • Blacklist by IP – Admin can easily block users by IP address range
  • Virtual browser – allow user to change user-agent and
  • Server-side caching – Reduces bandwidth and server loads for frequently accessed website

Download Glype from its official website

Ubuntu Tutorial Video from Screencast.Ubuntu.com

Reading through dozens of paragraphs, just to learn the basics of Ubuntu can be tedious, especially for those who don’t have much time on their hands to figure out about Ubuntu software repositories system. The good news is, they no longer have to read through articles full of vague descriptions anymore, instead they can get visual tutorial from Ubuntu Screencasts website!

The video listed on the website covers popular topics that would be asked by Ubuntu newcomers and is very easy to follow as it has narration. The videos are also available in high quality downloads (1280×720 resolutions) in several common media formats (flv, ogg, mp4).

The site is also updated weekly, and is one of Ubuntu sites that you shall not miss – Ubuntu Screencasts