Posted on Sunday, October 18th, 2009 at 3:11 am
Usually, when I write code, sometime I put comments with TODO and FIXME, the former one means that this fragment of code is just a temporarily one, kind of quick fix or patching the balloon. I know I need to do further, but the priority is low. The later one, I know it might has some possible bugs, but I believe it’s not crucial or rare to occur. So, just leave it there and take my chance.
How about life? how many TODO and FIXME we’ve placed along the way? I’ve plenty, I know. Question is, when should I fix those TODO and FIXME, well, it should not be another TODO… Otherwise, it’ll be infinite loop of TODO, which is very bad.
Try to resolve your TODO and FIXME as soon as possible, both in your code and in your life. Your life is shorter than you think and your code can break earlier than you think.
Posted in Uncategorized |
Posted on Monday, October 12th, 2009 at 4:27 am
Haven’t written any program for sometime, I believe I’m more sensitive now. Why?, you may ask, I guess it’s because when I write code, I become more logical, deterministic and autonomous. In essential, without code, I lose my Von Neumann side and gain human side; humane, instinct-driven and lovable (ewww!). I consider these properties are too dangerous for me, so I should read more code then.
Programming bug is relatively easy to find and solve, relationship bug is unsolvable.
Posted in Uncategorized |
Posted on Tuesday, March 24th, 2009 at 3:17 am
My EEE has 1024×600 screen. The height of 600 is not a big problem because we have scroll bar. But the width of 1024 is too short for all google-service-you-want-to-use, my gmail address, “New stuff in Labs!”, some icons, “Older Version”, and something else. So, that top line is broken into two lines, which use more space on width (It’s ok for now, remember? we have scroll bar). But, Google, can you fix this? remove either “Older Version” or “New stuff..” and I can live peacefully with my 1024 width screen.
Posted in Uncategorized |
Posted on Tuesday, March 24th, 2009 at 3:14 am
The new version of Py-XChat-Twitter is at the google code project page. With this version, you can dm or rt the others. Next major version (1.4?), I will implement some kind of python thread, so XChat won’t get freezed when you post (or retreive) tweet.
Posted in Uncategorized |
Posted on Saturday, February 28th, 2009 at 6:46 am
Ok, this is the third revision of my XChat/XChatAqua python plugin for twitter. Actually, I create a google-code project for this script, so it might be a good idea to visit the google-code to get the latest code/update. Anyway, I will post the update to the code at this blog also (otherwise, it will be too quiet here, ha ha ha).
In this version, a new command, /replies , is added to retrieve your @replies list. Also, the update on friends’ timeline with your name inside will be marked with red, to make it easier for you to see someone try to talk with you.
I’m thinking what to add for the next version, any idea?
Posted in Uncategorized |
Posted on Friday, February 20th, 2009 at 7:08 am
Ok, this is the second version of my python twitter script for x-chat. You can see the first version here. In this version, two features are added:
First, the ability to redirect the output of twitter to a particular channel. In the previous version, the messages from twitter will go to your current channel. In this version, you can specify the channel you want to redirect messages to in the configuration file, like this:
[twitter]
username = yourusername
password = yourpassword
interval = 300
channel = yourchannel
Don’t put # in front of your channel name.
Second, a new command, /replies , can be used to retrieves the replies list.
You can download it from here. And again, the license is WTFPL, so do what ever you want to do with it.
Posted in Uncategorized |
Posted on Friday, January 23rd, 2009 at 3:11 am
Posted in Uncategorized |
Posted on Thursday, January 22nd, 2009 at 10:31 am
Posted in Uncategorized |
Posted on Thursday, December 18th, 2008 at 12:40 pm
I’ve produced an XML representation of the Tripitaka (Kingdom of Siam version). It can be access
here. The XML scheme in used is DocBook, so it should be easy to process. If you need more information in Thai, please go to this
page.
Posted in Uncategorized |
Posted on Thursday, November 13th, 2008 at 1:00 am
The sun goes down, and I can smell curry cookin’, somewhere.
How long will we have to walk before we get home?
Will the croquettes from my favorite shop
still taste the same, waiting for me?
Night comes down upon the earth,
and I’m hurryin’ home.
They say the ogres will be laughing next year.
And I say let ’em laugh all they like.
I’ll keep talkin’ about 5 or 10 years in the future.
And 50 years later, if I’m still with you.
Night comes down upon the earth,
and I’m hurryin’ home.
Well the rain may fall,
and the storms may come,
And the spears may fall.
Let’s all go home. They can’t stop us.
Nobody has the right to stop us.
Night comes down upon the earth,
and I’m hurryin’ home.
Night around the world,
the entire world is all hurryin’ home.
And I pray that these days
will continue for you, forever and ever.
(Thanks for the lyric from here)
Posted in Uncategorized |