sugree's blog
How to install VMware Tools on Ubuntu 5.10
Once you installed Ubuntu 5.10 Breezy as a guest OS in VMware, you have to install VMware tools to make it work perfectly. Anyway, some components, e.g., vmhgfs, are unavailable as a pre-compiled module for up-to-date kernel in Ubuntu. Fortunately, VMware offers source codes to recompile on our machines manually. However, the problem is the kernel was compiled using gcc-3.4.5 while the default gcc installed by Ubuntu is gcc-4.0. VMware don’t let us to compile in this situation.
- Add new comment
- Read more
- 1554 reads
How to Integrate LDAP to Drupal
Today I have an urgent duty to integrate LDAP authentication to Drupal. Fortunately, ldap_integration module saved my life. Anyway, in order to make it work under Drupal 4.7.0 beta 6, I have to patch a bit regarding _user_authenticated_id(). This function has been replaced by a constant value DRUPAL_AUTHENTICATED_RID.
Index: ldap_integration.module
Add new comment
Read more
1539 reads
Krukle in beta
Krugle is going to start distributing beta account to all requesters one by one tomorrow. They also present a short demo preview the power of tag. Krugle is not just a common specific search engine mainly aimed to index only source codes, but also their specification, description, manual, and a lot more regarding the source codes.
- Add new comment
- Read more
- 1063 reads
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
Add new comment
Read more
1702 reads
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.
- Add new comment
- Read more
- 1251 reads
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.
- 1364 reads
Recent comments
2 years 11 weeks ago
2 years 16 weeks ago
2 years 16 weeks ago
2 years 17 weeks ago
2 years 17 weeks ago
2 years 19 weeks ago
2 years 19 weeks ago
2 years 19 weeks ago
2 years 20 weeks ago
2 years 20 weeks ago