MalaysiaParadise.com

Date February 4, 2010

Purchased an additional domain for our travel business. Not entirely convinced that it will drive more trafic to our website, but since it is freed up recently, and it costs peanuts to buy, why not :) Bought the domain from godaddy.com, because I have seen them everywhere, and they sell domains a fraction cheaper than any other domain sellers I can find. But I must say that buying a domain is getting more confusing nowadays. They have a price for the domain, and then they have a host of add ons that cost money, like domain privary, business registration, autorenewal etc. And there are at least 5 or 6 checkboxes that I need to tick or untick to save my mail box from being spammed by email newsletters, promotions etc, both from them and third parties. I have bought from Yahoo and 123-reg before, and the process as I remember was a little more hassle free.

After purchasing the domain, I proceed to transfer the domain to my hosting provider. Gosh goodness I am back to something I am back to an interface I am more familiar with. Now I am just waiting for the domain transfer to complete which can take up to 48 hours.

Related blog entries:

Setting up Google Wave (FedOne) server for federation

Date January 20, 2010

There are already plenty of tutorials which will show you how to set up FedOne Google Wave server to federate with Google’s sandbox version of wave server for developers. I’m not going repeat them here. However I will highlight this one which I found most useful, follow by some of my own observations, during my endeavour.

In a nutshell, you first need to set up an XMPP server, as the FedOne wave reference server is implemented as an external component to the XMPP server. The XMPP server you should be looking to install needs to be XEP-0114 compatible (with Jabber Component Protocol). I’m using OpenFire, but there are others that you can use too like ejabberd.

Before you install the XMPP server, perhaps it is worth knowing beforehand which platform you are planning to run your servers on (e.g. Windows or Linux), and whether you want both the XMPP and FedOne wave servers to run on the same machine. Personal experience told me that it is very slow running servers or clients from Windows command prompt. And you need to run the FedOne wave server using the Windows command prompt. Just to give you an idea, compiling FedOne wave server on Windows command prompt took me more than 5 mins compared to less than 1 min on Linux terminal. If you are interested in looking at screen dumps from the FedOne wave server real-time, then that will slow down the performance of your wave client too. I have run text-based wave console client on Windows command prompt as well and again it is very slow. I almost see no live character transmission coming from the wavesandbox! It is that bad. I guess if you are not playing with the console client then you are probably okay. But in any case for development purposes I would not recommend installing the FedOne wave server on Windows.

Next you set up the FedOne wave server. As far as I can remember this is pretty straightforward. I set mine up on a separate machine from the OpenFire XMPP server. But you can run both on the same machine. After setting up the FedOne wave server, you can test your wave server using the console client that comes with the server package.

Your FedOne wave server is not ready for federation yet. You need to first add some DNS records to your DNS server, as is explained in this wiki. Basically you want external users or servers to be able to find your Fedone wave server via DNS. Note that this exercise is more straightforward if your DNS is maintained by third party DNS service provider like DynDNS. Otherwise it can be a pain hosting your own DNS server, particularly if you don’t have full access to or own everything like your domain, firewall, gateway, and requiring authorisations from IT staff etc. If that is the case, it will be wise that you also understand the requirements of the wave server for federation before proceeding with the DNS set up, as that might save you some time.

Once you have set up the DNS records, you can check if they are working correctly by using dig, a command line tool for querying DNS name servers for desired DNS records. For example here is how to check if the SRV records for your XMPP service has been set up.
# dig +short -t SRV _xmpp-server._tcp.example.com
And the response for my case is:
10 0 5269 wave.example.com

If your FedOne wave server is on a private network and needs to use Network Address Translation (NAT) to communicate with the outside world, you will need to set up port forwarding for port 5269 from your gateway to your FedOnewave server, and of course, open a hole on the firewall of the gateway for that port 5269 too. You can check if all these are working by initiating a telnet session to your wave server:
# telnet wave.example.com 5269
When you are connected, key in something and press enter, you will be informed that the connection is now closed by the foreign host, which is what you would expect.

Finally you have the CA certificates to sort out before you are allowed to federate with Google Wave sandbox server. Note that the sandbox server does not accept self-certified certificates so you will have to get one from a third party. Certificates issued by StartSLL are accepted by the sandbox server and it is free, for up to 1 year. It works well for me, apart from the inconvenience of applying for a certificate too soon (one day after I bought a domain). They require that your domain to be active for at least a couple of days (for my case I got mine when I applied 2 days later). If you don’t own the domain, you need to find out who has access to these emails accounts: postmaster@example.com, hostmaster@example.com and webmaster@example.com. Because StartSSL will only send authentication code to one of the above three email addresses, to confirm that you own the domain. If your service provider owns these addresses, then you may be in for a tough time. Quicker to just buy your own domain for a few quid a year if you are only planning to try out FedOne wave server or do development work for federation. Here is a wiki on how to get CA-issued certificate and how to check if the certs are all ready to go.

That’s it, you should be able to fire up your FedOne wave console client and add users/developers with Google Wave sandbox account. If you don’t already have a sandbox account, it may be a good time to apply now, while you are setting up the rest of the stuff, as who knows how long it takes before you are given one.

Hope you all find this blog useful.

Related blog entries:

I’m hooked to the Internet

Date December 24, 2009



Bar in Heathrow Terminal 1, by arctanck

It’s incredible to think about it now that we can get access to the information almost anytime anywhere. Before iPhone it was still a pain in the arse. And iPhone has really exceeded my expectations. Today I was still able to use MSN to keep in touch with W while I was waiting for a coach to the airport. And I can make free phone calls using Skype via the free wifi service provided by the coach. Now as I am waiting at the airport for my flight, I made another free call to my brother in Malaysia, who is incidentally using iPhone too. Then of course I’m blogging here in the meantime too. On top of that I can check my Facebook to see what my friends are currently doing on Christmas eve. Enough said, and I think I can spend a lot of time on my iPhone! Merry Christmas all!

Related blog entries:

Very quiet Christmas this year!

Date December 2, 2009



Oracle Reading, by Bobonacus

It’s been very unlike Christmas this year in the UK. There isn’t much festive mood, no Christmas tunes heard in shopping malls, and considering that we are less than one month away from Christmas, this is not looking good. Perhaps people are finally feeling the wrath of the recession. However having said that, the house prices continue to rise again this month. Confusing.

Winter this year has been very mild as well, except today, when it went down to -2 degree celcius in the early morning. Had to scrap ice off the windscreen of my company car. Hate driving in winter. Anyway looks like we are not going to get a white Christmas this year. In any case, we will not be spending Christmas in the UK. Why do I care…

Related blog entries:

Trip to Egypt

Date November 23, 2009

It was two weeks since we got back from Egypt, a trip to celebrate our fifth wedding anniversary. Not exactly a relaxing holiday, which we know, as there are so much to see in Egypt! You know, civilisation started 5000 years ago there :) Good decision that we booked ourselves into a sea side resort at the end of our holiday for a bit of relaxation. It was wonderfully relaxing, facing the Red Sea, good, warm weather throughout. Here is a photo we took at Luxor Temple, which you can click onto to see the set of photos we have uploaded.

Luxor Temple

There are plenty more I want to write about our trip to Egypt, e.g. the inconvenient truth that we have been scammed by a shoe-shine guy, ripped off by some “government controlled” shops selling souvenirs in Cairo, met some lovely local and foreign people during our holiday etc. But I guess I just have to find myself some time to really sit down and write everything. Not the most pleasant holiday I must say, but I hope our experience will still encourage you to visit Egypt without having to go through much hassle or unpleasant experience.

Related blog entries: