August 31, 2006

virtual hosts

Posted in Uncategorized at 1:50 pm by anand

Sites like wordpress and blogspot provide domain name for every user. It is quite different from other sites. for example flicker doesnt provide a domain for every user.

Typically the sites which provided domain names gives you the ability to choose the template/layout for your site.

i was trying to undertand how to do this using and lighttpd/apache. This involves two things. first part is configuring DNS server such that it gives same IP address for * second part is write a web application which understands this virtual hosts.

Any typical web application uses the query string of the url to decide what action to perform. In the case of virtual hosts setup, it should also use the servername.

Found a link in wiki with some useful information about how to handle the second part. In that page, HTTP_X_FORWARDED_HOST is used to identify the server name. I just used HTTP_HOST for my purpose and it worked without any problems.


August 30, 2006


Posted in Uncategorized at 9:00 am by anand

Ruby has gem command to download and install ruby packages. i have been missing similar thing in python. today suddently i found that easy_install is there for python. actually i installed on my mac before, but i didnt notice that there is a script to automatically download the packages.

Today i installed mechanize using it. All i had to do was

$ easy_install mechanize

Testing WordPressDash

Posted in Uncategorized at 8:39 am by anand

Testing wordpressdash on my mac. If it supports html, you will be able to see link to anandology.

trying some preformatted text.

def hello():
    print "hello world"!

it doesnt allow me to create new tags.

Exploring flickr

Posted in Uncategorized at 8:09 am by anand

.flickr-photo { border: solid 2px #000000; }
.flickr-yourcomment { }
.flickr-frame { text-align: left; padding: 3px; }
.flickr-caption { font-size: 0.8em; margin-top: 0px; }

Colourless…, originally uploaded by schnuffi0311.

Flickr has a feature to blog photos. looks really cool. All you have to do is tell flickr about your blog and its username and password. it asks you for a comment and posts it to your blog. You have option of choosing the template or you can modify you know CSS enough. one thing i found lacking is it doesn’t ask for tags.

Let me check if i can put some html. This is link to flickr.

August 28, 2006

Zen Mix

Posted in Uncategorized at 8:29 am by anand

Saw very interesting site zenmix. Idea is really innovative. it takes video from vimeo and photos from flicker and combines them with special effects. It really doesnt take much efforts to maintain that site because it doesnt store much data there. all it does is to remember video url and image url. great!

DanZen Inversion

I spent some time looking at the creator’s site DanZen. This guy seems to be really mad. for a moment i remembered Leonardo Da Vinci. The inversion in the site was very impressive.

There are too many interesting things there to explore. for example Spirogram. Very simple idea of encoding and decoding messages but presented in very nice way and quite useful too.

Should explore more…

August 27, 2006


Posted in Uncategorized at 8:44 pm by anand

Installed WordPressDash on my mac. its really cool. now i can blog even when i am offline.

Name does matter

Posted in Uncategorized at 7:00 pm by anand

I have been thinking for many days for good name to use in the internet. i tried several names to create a new gmail account. surprisingly whatever i typed was there. i nice thing i found was gmail allows mail ids to start with numbers also. i have tried numbers like 3.14159e0 and it was there. I found it very interesting and started playing with it. These are some of the things that i tried which are not available.

only two of my tries were available.
i choose the latter one and created this blog using that email.

Hello world!

Posted in Uncategorized at 11:27 am by anand

Welcome to This is your first post. Edit or delete it and start blogging!

Previous page