Archive by Author

XMPP Installation Steps and Problems

Just a brief experience of my XMPP journey. Problem / Error configure: error: No curses library functions found Solution apt-get install libncurses5-dev How to install Ejabberd http://sysmonblog.co.uk/2008/06/ot-installing-ejabberd-on-debian-ubuntu.html https://wiki.basho.com/display/RIAK/Installing+Erlang#InstallingErlang-MacPorts Compiling Ejabberd on Ubuntu http://ciarang.com/posts/compiling-ejabberd-on-ubuntu How to install Erlang on Snow Leopard http://sysmonblog.co.uk/2008/06/ot-installing-ejabberd-on-debian-ubuntu.html http://jboxer.com/2010/01/installing-erlang-on-snow-leopard/ http://ndpar.blogspot.com/2010/02/installing-ejabberd-on-ubuntu.html

A Small fix for “Waiting for Header” in Ubuntu

As I’m a Mac, Parallels and Ubuntu user, I have a parallel partition with Ubuntu inside. In parallels, we can specify “Share” or “Bridged” Networking. If you choose “Bridged”, you IP will be appear like a dedicated computer so other users inside your network can access with different IP. However, the problem is when you [...]

How to setup a Hostname for local network?

Well, it’s not that difficult if you know what to do How to setup Hostname for local network? You gonna need to edit your “host” file. Mac / Linux sudo nano /etc/hosts/ Windows Notepad C:\WINDOWS\System32\drivers\etc\hosts You can match IP and Hostname whatever you like and then can be call with Hostname in future. 192.168.1.36 call.me

Ejabberd How to – in Ubuntu Server

How to install Ejabberd in Ubuntu Server? Way 1 : Use debian packages but I found myself start-up problems. If you still want to try, follow the steps.. sudo apt-get update sudo apt-get upgrade sudo apt-get install ejabberd Click here to learn more Way 2 : Compile source code yourself. It won’t really difficult if [...]

How to share sessions between PHP and eJabberd

I thought I’ll be useful for me in future by knowing how to share sessions between PHP and eJabberd. So here is what I found out. Extra Resources XMPP is the technology behind real-time messaging application Jabber List of XMPP open-sourced servers are here. Among several servers, eJabberd and Openfire are popular. XMPP client libraries [...]

SQLstream

SQLstream kind of technique that enhances traditional query to support real-time very dynamic data such as chat logs from Database. In a traditional RDBMS, all data must be stored first, and then queried. RDBMS queries are reactive and finite – in the example query above, a traditional database would return all of the New York [...]

COMET – Mini Resource

Following links are very useful if you want to familiar with the umbrella term called COMET. How to implement COMET with PHP http://www.zeitoun.net/articles/comet_and_php/start Comet story (part 1+2+3) http://www.demo.codesetter.com/comet-whiteboard-0 http://www.demo.codesetter.com/comet-whiteboard-1 http://www.demo.codesetter.com/comet-whiteboard-2 Starting Out With Comet (Orbited) Part 1+2+3 – The Client http://thingsilearned.com/2009/06/09/starting-out-with-comet-orbited-part-1/ http://thingsilearned.com/2009/06/25/starting-out-with-comet-orbited-part-2-installation-and-stomp/ http://thingsilearned.com/2009/08/03/starting-out-with-comet-orbited-part-3-%E2%80%93-the-client/

Apache Name Based Virtual Host

Here is the useful tutorial. http://redivide.com/blog/setting-up-a-name-based-virtual-host-vhost/

How to check Ubuntu Server Version in Terminal

Here is what I found out how to check the version of Ubuntu Server. cat /etc/issue

Failure of RPS Game Project

Let me introduce my game first. What is RPS? RPS stands for Rock-Paper-Scissors. Yes RPS game but with social networking concept. In short, two players has 16 pieces including 4 rocks, 4 papers, 4 scissors, 3 bombs and 1 flag. Whoever got opponent’s flag will be the winner. During game play, rock beats scissors, scissors [...]