OpenID on yahoo

It’s been sometime since yahoo have announce OpenID support, for the last few days, it is not open for registration.

Getting it is easy, just go to
http://openid.yahoo.com/Then select your identifier, which include your flickr account home page, as your identifier.

What make it cool, it it is able to use, flickr account as my OpenID identifier. Which make me easy to remember my identifier. Now that, yahoo support OpenID, I don’t really need to register another account to use OpenID enabled sites

fun with linux: virtualization with virtualbox

running virtualbox in normal mode

Virtualbox, is a virtualization software, from innotek. Which is their own virtualizer, so it is not based on xen or qemu. And have support for HVM, which I read from some forum, it is better leave as is, than enable hardware support.

What cool is there is an open source edition(or the OSE on their website), and free in price version. The difference is the OSE version don’t have the USB emulation, built in rdp, and using iscsi as a virtual disk, Since I got some USB device I opt for the OSE version.

The OSE version is in ubuntu repository, and probably other distro repository too.

What is really-really cool is that, they provided package for different linux, which is rare among proprietary software company, and repository for ubuntu too. Which is way cool. Since I am lazy. You can get it here.

For those who used other virtualization software before, you will noticed that, it provide most features that a virtual machine have, like sound support, able to use usb device, probably not build in rdp support. So using it is not hard, except, you need to get use to the interface a little.

the msn messenger and yahoo messenger is
not runnning on wine, it is in a VM, in seamless
mode

Another cool thing is, there is seamless windows integration which means that, you maybe run a program on virtual machine, but you see it on your desktop. And you can share the clipboard too. This is a totally cool feature.

You also can setup a shared folder that is shared between virtual machine and host machine. On vmware, it means that you need to have a samba server to do so. But on virtualbox, you can do that without need a samba. To windows, or linux, it is a windows shared folder, but you don’t need to install samba.

Other thing, include, sharing clipboard, HVM support(but it seems experimental, probably not yet, slower than just running virtualbox alone), able to support the host sound server, which it can use pulse audio,

I think this is quite a nice product, like most commercial product, easy to use. Unlike commercial product it is free, in price, and for certain part in rights too. And unlike more well known product, it have features unique enough(aka seamless integration), to standout on its own. So far it run quite fast, but then I have a gig of ram. To run a virtual machine make sure you have more RAM, anything above 512 Meg is nice. But 1 gig is good enough, 2 gig is much nicer, a gig for linux, a gig for windows virtual machine

Malaysian Wireless Broadband shootout,

Turn out that my server project going to be shutdown for the time being. I need the internet but there is no way I can ask streamyx to bring the network, to the dorm. So the next best thing is, wireless broadband. Which is surprisingly competitive, in term of pricing, compared to adsl broadband. The price is not that far apart. Since I’m either in selayang or KL, So the coverage should be there.

There is a few option
3g Internet
There is 2 main provider for 3g internet service, Maxis and Celcom. I used maxis, at home, in Selayang. The service is not that great, the uptime, is ok, but sometime, there is not service for half a day. And it is not that good. But price wise, it is competitive, you get Rm 68 per month for a 384k, RM98, for 3.6meg. The usb terminal, cost RM138, per month but can get 3.6meg of bandwidth, but it depends on the area. My friend test in the dorm, it is quite lousy, and the service at my home is lousy too, can take half a day for them to fix up connection issue.

Celcom provide similar package, but it is RM66 per month for 384k of bandwidth, which is pretty useless to me. Or another package is you get 3.6meg, which is RM98 per month. Which is suprisingly ok. But seriously, didn’t really try it, so can’t really compare the QOS. The thing is, their website, didn’t show their 3g coverage, so i can’t really sure, it is available at my home in Selayang. And it only show gprs, coverage. seems a lot though.

On the other hand, celcom own website shows 2 conflicting information, the main page, says it offer 3.6 meg unlimited usage, with RM98 per month, but their other pages shows that, it only offer unlimited usage for 386k, for RM66 per month which is true?

The alternative

Iburst, which is pre-4g, either way, izzi broadband offer it for one meg for rm 66 per month, but that is for the pcmcia card version, which my laptop don’t have. or RM 98 per month for the usb version still 1meg.

Price wise, it really not worth it, but since my home is covered, it seems not a bad deal, imagine we have iburst how cool is that(it’s a geek thing)

set default java version on ubuntu

I runs on a 64bit ubuntu, which one problem, for some reason there is no 64 bit version of java plugin for firefox. It is not in the repo. So I took the opportunity to test iced tea. A java that is based on the java source code, since java is open sourced. But for some reason it doesn’t work.

I was trying to use tcgui, like from this howtoforge guide. The tcgui program, doesn’t work on icedtea, not sure why. One solution was to remove it.

Another is assuming that you have a sun-jre. Is by running this command, in terminal:

sudo update-java-alternative -s java-6-sun

To check whether you have the jre from sun

update-java-alternative -l

this will list out the jre, that is available. When you see, “java-6-sun”, then you have it.

p.s This I assume that you install java from repository, because not sure whether it will work if you install manually.

fun with python: been twitter’ing with python

I’m not sure why, but python developer seems have ways to write python modules, to integrate with web service. Which to me interesting. There is one from google to integrate, google service. There is one for flickr, which I covered. Etc. Even twitter have one.

The twitter python binding can be found in
http://code.google.com/p/python-twitter/
Before you install it, you need to install simplejson.
http://cheeseshop.python.org/pypi/simplejson

To install simplejson, it is just get the tar.gz file. Then uncompress it,
Then in the same directory
On ubuntu:

sudo python setup.py install

on other linux as root:

python setup.py install

same on windows. just:

python setup.py install

The process of installing the python-twitter is the same cycle of python setup.py

There is a few standard thing we can do with the python-twitter module.

here I assume that, you run it, in a python shell, it is just a follow along tutorial here, and the >>> is not shown:
before that, import the module

import twitter

start using it, you need to authenticate yourself, using your twitter username and password.

api=twitter.Api(“username”,”password”)

to view public time line

status=api.GetPublicTimeline()
for s in status:
print s.text

or you can just

status=api.GetPublicTimeline()
print [s.text for s in status]

to view a user status, just replace user with the username of the user

userStatus=api.GetUserTimeline(“user”)

then read it by

print [t.text for t in userStatus]

Here is the important one, to post your own status using the python-twitter module

posting=apt.PostUpdate(“your status”)

There you go, few way to use python to interface with twitter. You can use this with a gui front end, or integrate with django, etc.

One thing about facebook apps

Just realize that, my facebook have more than 45 apps. Which I check, what does it really do anyway?

Then really, the application really do nothing, except cluttering my profile. Still, interesting phenomenon. But it all ends up in my extended profile.

p.s Actually playing dopewar on facebook is quite fun!!!!

kde 4 on kubuntu gutsy

Yesterday, kde 4, officially launch. Was downloading it in the morning. And spending the rest of the day, figuring it out.

I install it by using the resource here
http://kubuntu.org/announcements/kde-4.0.php

So it could be different, than what you see on your distro.

What happen, first thing first, there is many changes in kde it self,
visible changes:
1) The kmenu have been replaced with kickoff. which is official menu in the newer suse version. Have extra features like search bar, menu changes etc.

2) there is a small button on the upper rights. That have a button to
control the widgets called plasmoid.

3) The icons, looks like plasmoid, aka the kde 4 widgets. Actually it is a widgets.

The not so visible one:
1) There is actually desktop effect on kde 4. Many looks ok, not all work. Seriously I prefer compiz more.

2) If you use the widgets on linux, like superkaramba, and desklets, you can change the orientation of the widgets.

3) This counts, as invisible I put it here anyway. Basically there is also many changes in term of the internal, and the library. So It nice to see a revamp.
The good:
1) Everything look nice, the oxygen theme, make it looks beautiful.
2) The widgets aka plasmoids, mix the desktop quite nicely, and there is a few customization too.
3) Desktop effect is nice, and we don’t really need extra dependency like compiz to make it work.
4) Kickoff, make the KDE menu easy to work with

The bad:
1) The panel, on bottom of the screen, need a GUI, it doesn’t have it yet. But It will be in KDE 4.1, which I think will be soon
2) Call me crazy, why can’t I create new folder using dolphin, on kde 4. Or it is a kubuntu issue
3) Some of the widgets not working yet.
4) Hope to see more application move to kde.
5) It’s bit crash’ish. Need to delete the kde4 config directory a few times. To restore the panel, and kde 4 itself.
6) Would be nice that, gtk apps, can be made to look nicer under kde 4. Because it is ugly

What I can say on KDE 4, is well, if you can wait, wait for 4.1. Hopefully by then it will be more polished. On the other hand, most of the infrastructure is there already. So it should not be long.

What is interesting now, is seeing how the kubuntu guys, integrate kde 4 with ubuntu