August 31, 2006

missing markdown

Posted in Uncategorized at 2:01 pm by anand

I am really missing markdown. wordpress doesnt support markdown for writing blogs. I use WordPressDash for blogging and a have to painfully type a href=… to put a link.

It will be really useful to write something like WordPressDash, which supports markdown. It will be good learning for me also to understand mac dashboard and wordpress api.

Tasks:

* make wordpress.py with api to access/post wordpress blogs. flickr has ability to post any picture blog, so there bust be a generic way of doing this using xmlrpc. if it is possible to generalize, a blog.py will handle everything.

* understand how to write a macosx dashboard widget.

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 web.py and lighttpd/apache. This involves two things. first part is configuring DNS server such that it gives same IP address for *.yourdomain.com. 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 web.py 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

easy_install

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 ez_setup.py 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

WordPressDash

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.

3.14159e0
voidstar
whitespace
whoami
infinity
voyager
goldenratio
zero.zero
ontheway
gmailer
wwwanand
http://www.anand
anand.gmail
only two of my tries were available.

anand.py
anandology
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 WordPress.com. This is your first post. Edit or delete it and start blogging!