To share know-how, news, experience, and information regarding technology, software, hardware, programming, Python, ABAP/4, product, high-performance computing, grid, cluster, ERP, SAP R/3, SAP NetWeaver, and many more.

How to setup fglrx for Ubuntu Feisty

It took me so long to setup fglrx driver for ATI Mobility X300 in my laptop, IBM Thinkpad T43. Actually, the ATI open source driver comes with Xorg 7.2 works very well except only 3D acceleration. The open source driver does not support 3D acceleration for ATI Mobility X300. As a result, Google Earth is useless because I can't even drag the earth to see my home. There are so many howto but none of them worked for me even this one. Now I found the exact problem and its solution to make fglrx 8.35.5 work perfectly on Ubuntu Feisty.

How to format decimal number in Python

I got a question about formating decimal number in Python by adding comma in appropriate positions. The most recommend approach is to use built-in locale support. In my opinion, this is not too difficult to implement and there are many approaches. I just want to give an example here as a guideline.

BenQ S52-M36, Tata for now

I have bought BenQ S52-M36 for a year and 10 months. It worked very great with MS Windows XP Home Edition and I have switched to Ubuntu last year since Dapper Drake. This is a long history which I have to wait for sound driver to work properly on Linux for a year and eventually solved during last 2 months by ALSA. The last version of Ubuntu in this laptop is Ubuntu Feisty Fawn 7.04 beta updated in this morning including kernel 2.6.20-13. That was the last boot! Later booting always hanged. Trying to boot in recovery mode gave me a hint.

Critical Temperature Reached (100 C), shutting down

My son's first program

I am a programmer and I also would like to teach all I know for years to my son. He is 5 years old and know a little bit English. Actually, I want to try teaching Python but it might be too difficult for a kids who are not familiar to English language. I don't know which the best language for kid but my first programming language is Logo so I decied to give it a try.

How to use GCD in RSA

As I posted about Greatest Common Divisor last week, I also promised to discuss the application of GCD. Note that if you are interesting in Ruby, I recommend to read about GCD in Ruby at this blog. Actually, GCD is very simple concept. The only application of GCD I known for many years is to find Prime number. Theoretically, a number x will be a prime number if its GCD is 1. Actually, what we used for recent years are running GCD seamlessly. For example, private key infrastructure or PKI is heavily used GCD for finding a pair of keys.

How to set up reverse proxy for single web server using Squid

For high-traffic web servers, there are many approaches for extending scalablity. Reverse Proxy is one of those approaches especially for servers with lots of static files, e.g., images and other media. These static files usually are never changed over time. Storing many thousand files in normal filesystem is not efficient due to limitation of inode lookup in large directories. However, it is possible to tune up the overall performance without modifying the existing codes to prevent too large directories. It is the reverse proxy. You don't need to buy it because it is available for free in Squid. In this case, I only focus in the case that you have a single web server. If you have multiple web servers, you need to adjust the setting a little bit.