Blogs

Printing XML in Python

Once you have read an XML document or generated a new one, you might want to write them to a file, standard output, or even a string. Python provides many options to print out XML in string. Let me start from the very basic one.

print doc.toxml()

Easy! Now I will go to more advanced version of printing XML. Python offers good extension APIs and we should try them. First of all, don’t forget to import them and it’s rocking!

import sys  

BTQueue migrated to Subversion

Actually, I managed to fix a freezing bug regarding failure during hash check for a week. Unfortunately, I can’t commit the patch to CVS at cvs.sourceforge.net because of connection refused error. It seems sourceforge is trying to force every projects to migrate to Subversion as soon as possible. They don’t want to maintain CVS anymore so CVS is now very unstable and nobody takes core of them for a week.

test

ทดสอบจ้า

Oh my god! I have just found an article at Slashdot and another one at Blognone, Google has just released  beta. Have you ever imagine that Google will jump into online dating market? There are so many competitors around the world. In Thailand, we have Googig. Google claims that Google Romance has its own Soulmate search algorithm.

How Technorati Helps You

According to larry’s request, it is a long story so I explain how Technorati works in this separate post instead of so long comment. Technorati is actually a specific search engine focusing on providing service involving blog, blog, and blog. Generally, search engine is a key component of surfing Internet today. Nobody knows where the information they are looking for are, especially blog. Blog is not just old fashion web content but in fact, it could be categorized as up-to-date content. In other words, blogs are frequently updated than normal web page. Though, blogs are not similar to dynamic pages like webboards or forums because they are contentful and are usually in medium length. Since blogs are updated so often, search engines must update their indexes as fast as possible. How to do that? Polling is not good enough in this situation so someone proposed asynchronous solution to solve this problem. The result is XML-RPC Ping service. This solution pushed additional duty to content publishers or content management software so Ping server will be notified about the update of given URL.

Drupal 4.7.0 RC1 is out!

After so long waiting for a few months, Drupal 4.7.0 RC1 is out there. Hopefully, this is the last release candidate so we could see Drupal 4.7.0 full release very soon. I will upgrade howforge.com tomorrow. Unfortunately, there is another one critical issue left in queue. So we should see RC2 shortly.