Morning today I woke up to see Chandrayaan lifting off on our trusty Doordarshan. What a feeling it was. There was cloud cover so did not quite get the majestic spectacle of a rocket firing on all cylinders – but instead had to watch a dull 2D representation of a dot moving through a graph paper with the rockets speed slowly increasing – 4.8Km/s and so on..
Chandrayaan
I have every reason to be proud of India. A mission to the moon. I am awaiting eagerly for this historic lift off tomorrow.
When the rovers scooped dirt on Mars I was proud to be a human being – from swinging from branch to branch – and now to hopping planets – what a giant leap mankind has taken. Also was teeny weeny jealous of NASA for having achieved such a big feat
Ajax Daddy
I was researching on a ajaxy table edit and stumbled upon this useful site – ajaxdaddy.com
Bots hitting my site.
The server is kind of up – not yet open to the public but the bots know about it already. I always keep checking the error logs for such abnormalities.It helps a great deal if you clean all the warning messages your Application is throwing – this way the errors that come up in error logs are genuine and you can monitor your server better.
Wondering if I should invest some time in a script to have a look at these logs – see if a “file does not exist” error happens in error_log and then take the ip address and see what got accessed in access_log – to see if the system is compromised.
On the below code scroll to the right to see the bot’s probes.
[Mon Oct 20 01:39:29 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/README
[Mon Oct 20 01:39:29 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde
[Mon Oct 20 01:39:29 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde2
[Mon Oct 20 01:39:29 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde3
[Mon Oct 20 01:39:29 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde-3.0.5
[Mon Oct 20 01:39:30 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde-3.0.6
[Mon Oct 20 01:39:31 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde-3.0.7
[Mon Oct 20 01:39:31 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde-3.0.8
[Mon Oct 20 01:39:31 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/horde-3.0.9
[Mon Oct 20 01:39:31 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/mail
[Mon Oct 20 01:39:31 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/email
[Mon Oct 20 01:39:32 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/webmail
[Mon Oct 20 01:39:32 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/newmail
[Mon Oct 20 01:39:32 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/mails
[Mon Oct 20 01:39:32 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/mailz
[Mon Oct 20 01:46:35 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/cacti
[Mon Oct 20 01:46:35 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/stats
[Mon Oct 20 01:46:35 2008] [error] [client **.***.**.***] script '/home/*****/html/graph_image.php' not found or unable to stat
[Mon Oct 20 02:05:56 2008] [error] [client **.***.**.***] script '/home/*****/html/xmlrpc.php' not found or unable to stat
[Mon Oct 20 02:05:56 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/xmlrpc
[Mon Oct 20 02:05:56 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/xmlsrv
[Mon Oct 20 02:05:57 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/blog
[Mon Oct 20 02:05:57 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/drupal
[Mon Oct 20 02:05:57 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/community
[Mon Oct 20 02:05:58 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/blogs
[Mon Oct 20 02:05:58 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/blogs
[Mon Oct 20 02:05:58 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/blog
[Mon Oct 20 02:05:59 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/blogtest
[Mon Oct 20 02:05:59 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/b2
[Mon Oct 20 02:05:59 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/b2evo
[Mon Oct 20 02:05:59 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/wordpress
[Mon Oct 20 02:05:59 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/phpgroupware
home/*****/html/awstats.pl
[Mon Oct 20 02:27:17 2008] [error] [client **.***.**.***] script not found or unable to stat: /home/*****/cgi-bin/awstats.pl
[Mon Oct 20 02:27:17 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/scgi-bin
[Mon Oct 20 02:27:18 2008] [error] [client **.***.**.***] File does not exist: /var/www/html/awstats/awstats.pl
[Mon Oct 20 02:27:18 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/scgi-bin
[Mon Oct 20 02:27:19 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/cgi
[Mon Oct 20 02:27:19 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/scgi
[Mon Oct 20 02:27:19 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/scripts
[Mon Oct 20 02:27:20 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/scgi-bin
[Mon Oct 20 02:27:20 2008] [error] [client **.***.**.***] script not found or unable to stat: /home/*****/cgi-bin/stats
[Mon Oct 20 02:27:20 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/scgi-bin
[Mon Oct 20 02:27:20 2008] [error] [client **.***.**.***] File does not exist: /home/*****/html/stats
No you take the bill, no you pay the bill!!
Senator Obama and Senator Mc Cain meet each other on the eve of the November Elections. Both are in a generous mood.
Starting up on a bad economy
With the US and Europe banks falling like bowling pins all around, I keep hearing – this is only the tip of the ice berg – I do question myself – Is it wise to start up now? So I keep my eyes peeled for any news on startup and recession in the same line.
Double Whammy for my bong people
I am half a bong so I can talk about myself. So dont throw fish bones at me. Chew them instead 😉

You Used that Programming Language to Write What??
I stumbled upon this nice post about the tech choices we have. Resonates with my earlier post about PHP – how its good as a prototype bring it out fast language but needs to be re written in Java in the long run.
http://www.cio.com/article/193750/You_Used_THAT_Programming_Language_to_Write_What_
Office space under 500Rs !!
My budget is for the stationery that I added – not the gizmos I had painstakingly collected over these years – that will be my next post – the stuff that runs on electricity.
Why PHP?
I have decided to build the online portal in PHP, supported by Apache, MySQL hosted on Linux. The most cliched LAMP model.
Did I consider other players?
* Ruby on Rails : It was very much on my plate. I have done small utilities ( a server status monitor and a code snippet repository ) in rails and was blown away by the speed and simplicity of doing things. However 2 things went against RoR.
ORM : My last project was a .NET project on Hibernate. It was a 2 year old project and already it felt like a legacy application with things tuned for performance to the maximum. They had crossed the return on investment period of Hibernate ( when relations stay simple at the beginning of any project ) and now were paying heavily for having Hibernate – performance, complexity, things moving to stored procedures..the usual pain points. So active Record did not interest me – being a one man army I did not want battles couple of months from now when I have to hack to implement a feature.
Server support: Nothing can beat mod_php running on Apache. I had to configure nothing. zilch. With ROR things are still emerging – and I do not have the confidence in this space. A good part of my time does go in administering Apache but its something I am quite familiar. I neednot muck with monit or spend lot of time playing with mongrel (a cluster inside one node!!) to have my app working. Apache just sits there smiling at me doing its work super efficiently.
*Java : I am more familiar with Java and its framework than PHP. But the pace of development, team that is required, hosting requirements is just not feasible nor affordable. When this portal takes off big time I will rewrite it in Java – with a team. That will scale well, be stable – rock solid, and well maintenable. But the goal here is to bring something out as fast as possible, give it to as many people as possible and create a mind space.
*ASP.NET : Forget it. I will not recommend it to anyone – even if I get a 1 billion dollar project to redo microsoft.com. ( well on second thoughts I might reconsider 😀 – I am not Howard Roark !!)
Hosting : LAMP Hosting is cheap. I decided to go with a Virtual Private Server – gives me lot of freedom and flexibility. It takes some effort and linux know how – but its worth the trouble. More on this later.
In conclusion Php suited me well for the portal I am building – fast and quick ( but dirty like hell imagine code spread all over the place : $this->some_function($this-variable); It hurts the eyes !! )
Next post : How I set up my office space for under 500Rs !!


