Archive for April 2006
Getting serious about Firefox
I have been using Firefox from its first release and I have found it to be quite good and I like the convenience of tabbed browsing. I think IE7 will be a lot better than IE6 going by the IE7 beta technical overview but I have not tried the actual beta version just yet.
Views, views, views - 1 billion
The OneBillionPageViews site is trying to reach 1 billion views without spending any money on marketing the site.
The Onebillionviews site has already reached one million views and so its interesting to see how long it will take to reach the next 999 million page views.
Testing Using the OffByOne Browser
By just testing with the OffByOne browser I save the time of disabling and enabling JavaScript off and on and hence I can modify my code to cater for cases where there is no JavaScript support on the client side. I then use another browser say Firefox to test the application when under normal conditions.
If for some reason you would like to see how your website looks like without CSS the OffByOne browser also comes in handy.
Interestingly, if you select "Show NoScript" and "Show NoFrames" from the Options menu then you would see the search engines view of a website when they crawl it.
Which flavour of Linux?
I get Ubuntu on the DVDs on the covers of the PC magazines that I subscribe to which is a good start and also a friend recommended Ubuntu to me.
Check for Integer value
if (ereg("^[0-9]+$", $var)) {
return true;
}
else
{
return false;
}
This works fine and well but lately I have found myself using the next routine more and more:
if ($var == strval(intval($var))){
return true;
}
else
{
return false;
}
What I need to find out though is which one of these two is more efficient or which one has
more limitations if any.