Sunday, 4th May, 2008
Category:
Python

Pygments is a python syntax highlighter library in python, which converts a raw code into colored highlighted syntax. I use this library for syntax highlighting for the posts on this blog. The library is very easy to use. Documentation and downloads are at
Pygments home page.
The website also has
Demo page which demonstrate the power of pygments library for highlighting syntax in several languages.
The following xml code is highlighted using pygments:
<addressbook>
<contact>
<name>Amaltas</name>
<phone>12345678</phone>
<address>123 abc street</address>
<email>amaltas@amaltas.org</email>
</contact>
<contact>
<name>Annie</name>
<phone>87654321</phone>
<address>890 xyz street</address>
<email></email>
</contact>
</addressbook>
Wednesday, 30th April, 2008
Category:
Internet
,
Google
,
Compute Cloud
,
Amazon
,
Software
So, you want to develop a killer Internet application. You have a great idea, and ready to work on it. One thing that puzzles every web application developer is the choice of platform, host and the technology.
If you haven't thought about scaling issues, you will be in a serious trouble and may require to rewrite the whole application. I past one year or so we have witnessed enormous developments in the web development tools and frameworks space. Frameworks like Django (this blog is written in django), Javascript libraries like YUI, Prototype, Scriptaculous, hosting platforms like Amazon EC2 and Google Appengine gives us great options in terms of what we can do and how we can transform our ideas. All the great technologies has given a new meaning to web 2.0.
I personally like Google Appengine because I like Python web programming and worked on couple of python frameworks. Google Appengine also gives seamless integration with Google accounts this is a big win win if your application requires user login and sign ups. On the other hand, Amazon EC2 gives you a server in the cloud, you have to take care of everything from imaging the machine, installing the webserver and configuring various components. This can be advantage for some individuals and companies, because it brings lot of flexibility and in real sense this is the true cloud computing, where you can just write any application which requires parallel processing and run on several machines at Amazon datacenter.
If your application is simply a database backed web application, Google Appengine can be a good choice, though its datastore technology will not give you full benefit of RDBMS database. Applications like Digg, Slashdot, delicious are good examples of high traffic sites which can be perfectly hosted with Google Appengine.
I am planning to move my blog from the shared hosting to Google Appengine. One benefit would be Google indexing, it would be so easy for Google crawler to index my site from one of its neighbour machine. :)
Wednesday, 30th April, 2008
Category:
Google
,
Apple
,
iPhone
,
Mobile
,
Software
Mobile software development is next big thing. More and more applications are moving from desktop to browser, and now to mobile phones.
Last month I was in Mountain View, and my room mate happened to be a Mobile software developer. Almost every Google mobile product you have used has his big contribution. I had very good conversations with him about Mobile software development, opportunities and challenges.
After coming back to India, I started exploring more about mobile software development. Mobile software is no longer about Windows mobile vs. Symbian, now we have many mobile platforms, like iPhone, Android, Symbian, Windows Mobile.
Before you begin Mobile software development, your choice of platform is very important. Your future in mobile technologies depends on the future of the mobile platform you choose.
iPhone Vs. Android
iPhone can you give you huge user base, on the other hand Android gives you open source advantage.
iPhone brings with it huge user base, but its sdk is in Objective C. So, you must know or must be willing to learn Objective C. Apple Developer center has lot of resources on iPhone development, I will list them at the end of this post.
If you are good at Java or like Java platform, then Android might interest you. Other advantage with Android is that its open source and obviously Google's support for Android is a big win. There is rich documentation available on Android Google site.
The two platform also differs in the way you can distribute your software. iPhone applications can only be distributed through Apple distribution channel, which can be a limiting factor depending on your application and business needs. On the other hand Android being open source, you are free to release and distribute your Android application just like any other open source application.
Here are the list of resources for iPhone and Android software development.
iPhone developer resources
All the resources listed below are available at
Apple iPhone developer site:
Android developer resources
Various documentation and sdk download is available at
Android developer site.
Saturday, 26th April, 2008
Category:
Science
So you don’t believe in astrology. Many people like you and me reject some theories, or only partially believe in them. There can be two reasons for disbelief; one comes after reasoning and observation, like all empirical sciences, and the other from lack of knowledge or incapacity of the human mind to grasp the subject matter of the theory. Sometimes a belief is also determined by a collective behaviour of a generation. It is not that we are right and the earlier generations were wrong, but it is the conditioning that is created by a particular generation that makes a certain belief a norm of the society.
Astrology is one such subject where people always differ in their beliefs and opinions. If your disbelief in Astrology is purely based on lack of knowledge, or general opinion, I will try to explain it scientifically and write in more detail in my next post. Consider this as an introduction.
Astrology has several school of thoughts; the most important are the Western Astrology based on the Sun, and the Indian Astrology based on the Moon. This is the reason why the Western calendar is based on the Sun and the Eastern on the Moon. Out of several contributions India made to the world in the fields of philosophy, mathematics, literature and science, Astrology is the biggest. It is worth mentioning that the Indian rishis (saints) discovered facts about the universe and the solar system, which NASA and other space agencies have only now recently discovered.
Astrology to our belief is just limited to the science of predicting future or a person’s characterstics, which is not completely true. Instead, astrology is concerned with the movement of planets in the solar system and its gravitational impact on other planets and moons. When I first learnt about astrology, I too considered it as a superstition and rejected it prima facie. But only after doing some research, did I get some understanding of it.
Indian astrology is all about the planet’s gravity and its impact on the Earth. Do you know what causes high tides and low tides in the sea? It is caused by the moon coming closer or going further away from the Earth during its orbit. You agree with it right ?? You must!! It was in your school books. So we can conclude that the Moon can impact the Earth’s ecosystem through gravitational force.
We all know that the sea water contains salt, and the human body constitutes of 70% water. This follows that if the Moon can bring changes in ocean waves, it can also bring changes in our body and mind. According to Astrology, it is the Moon which governs our mind and thought process. The time, latitude and longitude of the location at which a person is born determines the angle of the Moon and its impact on him. Unlike Western Astrology which is based on the Sun and divides the population in 12 groups (i.e. 12 Sun Signs), Indian Astrology defines infinite possibilities. Two persons born on the same time can differ in every respect because of different birth locations. It also considers the fact that the Moon and the planets are always moving and can have different impacts on people born at the same time.
Do you know the origin of the word ‘Lunatic’? Every word added to our language has a history or a reason behind it. The term ‘Lunatic’ is associated with lunar (moon) movements and gravity. Research has proved that people’s (especially lunatics’) behaviour changes during a full moon and a no moon day.
Just like the Moon, other planets also impact life on earth. Scientists have also started believing this. It is the combination of all the planets’ gravity that impact our body and mind, and governs our action and thought processes. It is this planetery movement, that makes someone a poet, an artist, or a musician. Science cannot answer why one is more intelligent than the other, but Astrology can explain it.
Indian Astrology is about planets and its impact on human beings. It doesn’t matter if people start worshipping Venus considering it as a Demi-God, or forecasting the future. Infact, Astrology does not even have any association with religion.
To understand it, we must try to understand it scientifically and not as a superstition.
Saturday, 26th April, 2008
Category:
Cricket
April 19 : Delhi v Jaipur at Delhi
April 20: Mumbai v Bangalore at Mumbai; Kolkata v Hyderabad at Kolkata
April 21: Jaipur v Mohali at Jaipur
April 22: Hyderabad v Delhi at Hyderabad
April 23: Chennai v Mumbai at Chennai
April 24: Hyderabad v Jaipur at Hyderabad
April 25: Mohali v Mumbai at Mohali
April 26: Bangalore v Jaipur at Bangalore; Chennai v Kolkata at Chennai
April 27: Mumbai v Hyderabad at Mumbai; Mohali v Delhi at Mohali
April 28: Bangalore v Chennai at Bangalore
April 29: Kolkata v Mumbai at Kolkata
April 30: Delhi v Bangalore at Delhi.
May 1: Hyderabad v Mohali at Hyderabad; Jaipur v Kolkata at Jaipur
May 2: Chennai v Delhi at Chennai.
May 3: Hyderabad at Bangalore at Hyderabad; Mohali v Kolkata at Mohali
May 4: Mumbai v Delhi at Mumbai; Jaipur v Chennai at Jaipur
May 5: Bangalore v Mohali at Bangalore
May 6: Chennai v Hyderabad at Chennai
May 7: Mumbai v Jaipur at Mumbai
May 8: Delhi v Chennai at Delhi; Kolkata v Bangalore at Kolkata
May 9: Jaipur v Hyderabad at Jaipur
May 10: Bangalore v Mumbai at Bangalore; Chennai v Mohali at Chennai
May 11: Hyderabad v Kolkata at Hyderabad; Jaipur v Delhi at Jaipur
May 12: Mohali v Bangalore at Mohali
May 13: Kolkata v Delhi at Kolkata
May 14: Mumbai v Chennai at Mumbai; Mohali v Jaipur at Mohali
May 15: Delhi v Hyderabad at Delhi
May 16: Mumbai v Kolkata at Mumbai
May 17: Delhi v Mohali at Delhi; Jaipur v Bangalore at Jaipur
May 18: Hyderabad v Mumbai at Hyderabad; Kolkata v Chenna at Kolkata
May 19: Bangalore v Delhi at Bangalore
May 20: Kolkata v Jaipur at Kolkata
May 21: Mumbai v Mohali at Mumbai; Chennai v Bangalore at Chennai
May 22: Delhi v Kolkata at Delhi
May 23: Mohali v Hyderabad at Mohali.
May 24: Delhi v Mumbai at Delhi; Chennai v Jaipur at Chennai
May 25: Bangalore v Hyderabad at Bangalore; Kolkata v Mohali at Kolkata
May 26: Jaipur v Mumbai at Jaipur
May 27: Hyderabad v Chennai at Hyderabad
May 28 and 29: Rest days
May 30: First semi-final at Mumbai
May 31: Second semi-final at Mumbai
June 1: Final at Mumbai
If you like this post, digg it and share with other users
Digg IPL Schedule
Share it
Friday, 25th April, 2008
Category:
India
,
Bollywood
Next week Star plus is airing a new game show "Kya Aap Paanchvi Paas Se Tez Hai", a game show based on Mark Burnett's "Are you Smarter than a 5th Grader".
The show will be hosted by Shahrukh Khan
Each game is played by an individual contestant, who is presented with the chance to win up to Rupees 5 Crore by answering questions taken from the syllabus of a fifth grade level or lower.
The contestant is presented with 10 subject cards, which he may answer in the order of his choice. Each correct answer moves the contestant higher up the ladder of money values. If a contestant answers all 10 questions correctly, he is given the chance to answer an 11th question which on answering correctly will get him Rupees 5 Crore.
Watch Kya Aap Paanchvi Paas Se Tez Hai promo
Shahrukh Khan talks about Kya Aap Paanchvi Paas Se Tez Hai
Friday, 25th April, 2008
Category:
Apple
,
iPhone
With the release of the fourth beta version of iPhone SDK, iPhone adds OpenGL ES support to iPhone Simulator. This is a great addition to the already existing iPhone SDK features.
Using OpenGL you can quickly build and test your mobile applications and handheld games using OpenGL ES on iPhone simulator.
What is OpenGL?
OpenGL® ES is a royalty-free, cross-platform API for full-function 2D and 3D graphics on embedded systems - including consoles, phones, appliances and vehicles
Friday, 25th April, 2008
Category:
Social Network
Zoho office online suite

Zoho office online suite
Slates

Slates
My Lists

My Lists
Slide Share

Slide Share
Todo list

Todo list
Ayos iShare

Ayos iShare
Facebook files

Facebook files
My Documents

My Documents
Google Calendar

Google Calendar
Meeting Room

Meeting Room
Friday, 25th April, 2008
Category:
Yahoo
,
Social Network
Yahoo announced a bold strategy to open its properties into a big social network. According to Yahoo's CTO Ari Balogh
We are rewiring Yahoo from the inside out with a developer platform that will open up the assets of Yahoo in a way never done before, making the consumer experience social throughout and provide hooks to developers
Yahoo open strategy will give a central profile to users, and will connect all the products of Yahoo like mail, messenger, sports. Yahoo open strategy will allow developers to create applications on the top of Yahoo products using open social.Whats interesting is that uers can add third party applications on any Yahoo page including the Home page.
This means all Yahoo products will transition into a big social network. Not social network exactly.. according to Balogh,
We are not creating another social network. We will rewire the entire experience to make it social. We don’t think of social as a destination but as a dimension
I am happy with this announcement, it will make social networking and third party application development more meaningful compared to the cluttered facebook.com.
Wednesday, 23rd April, 2008
Category:
Food & Health
Peta (People for ethical treatment of animals) has announced first prize for the person/organization who
come up with a method to produce commercially viable quantities of in vitro meat at competitive prices by 2012.
Monday, 21st April, 2008
Category:
Python
List of third party python libraries which I used in my python apps.
Imaging
IDE
Database
Templating
Web Development
Web Server
XML Processing
Misc.
Monday, 21st April, 2008
Category:
Apple
,
iPhone

The
iPhone pwnage tool is available for windows now. This was much awaited tool for windows user, and you no longer need to hunt for
mac book to pwn your
iPhone.
The pwn tool which is in beta, is called WinPwn.
Using this tool you can jailbreak the
iPhone, and not just jailbreak but also load any ipsw file on your iPhone. Now what is ipsw file ? Don't try this if you don't know about it. An ipsw file is an
iPhone operating system. This means you are not limited to
Apple provided OS.
Also, Winpwn flash the iphone with custom bootloader, so iPhone cannot check if its loading the official ipsw file.
Using Winpwn you can also try the beta of iPhone 2.0.
Winpwn can be downloaded here
Monday, 21st April, 2008
Category:
Internet
,
Google
,
browser

Google released a new firefox addon
Send To Phone, using which you can highlight a text on any web page and send it as a text message to any mobile phone.
You can download the extension
here. Once downloaded and installed, restart the firefox browser.
How to use
After installation a

icon will appear on the upper right hand corner of the browser window. Select the text on a web page you wish to send as text message, and click on the

icon.
Fill in the number you wish to send the message to and select appropriate carrier. Click 'Send Message', and bingo the selected text is sent as SMS message to the recipient.
This facility is available only for US subscribers.
Detailed FAQs are available here
Sunday, 20th April, 2008
Category:
Random Websites
I am starting a new category,
Random Websites, and I will start with a post on this funny site for submitting your
secret confessions. Yes as the name suggests, you can submit your secrets on this site anonymously.
I have not yet posted any confessions yet, but I read other's confessions and the one I liked is
I write code all day which could have been my confession too. :)
Anyways I give 5 out of 10 to this site, nice concept and simple design, but lacks some features (I leave this as an exercise for you).
So, read others confessions and add your own.
Cheers!!
-