Recent Postings

Recent Comments


RSS2 feed


Most Popular Posts

Archive for April 2006

Getting serious about Firefox

Friday, 28th April 2006 8:04pm
Not yet using Firefox? Whatever your answer to the question is I still think you will find the Dump explorer site interesting. Basically the website is a campaign for web surfers using Internet Explorer(IE) to move over to Firefox and also for web publishers to add a piece of JavaScript code to their websites that detects the IE browser. The code will display a banner on the site that will ask visitors using IE to download Firefox instead.
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.

delicious delicious | digg digg

Category: Websites | Comments : 1

Views, views, views - 1 billion

Wednesday, 26th April 2006 6:50pm
This morning I was looking at these two websites that are trying to achieve 1 billion page views.
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.

delicious delicious | digg digg

Category: Websites | Comments : 0

Testing Using the OffByOne Browser

Sunday, 23rd April 2006 5:32pm
Lately I have been using the OffByOne browser mostly for testing. This free browser does not support JavaScript or Cascading Style Sheets(CSS) and hence its quite good for testing especially if you would like to check how your application or website would function when JavaScript is disabled.
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.

delicious delicious | digg digg

Category: Browsers | Comments : 1

Which flavour of Linux?

Thursday, 20th April 2006 9:38pm
At last I am now trying to create a partition for a Linux installation. So I have been having a look at which flavour or distribution of Linux to install. So far indications are that I will go for Ubuntu.

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.

delicious delicious | digg digg

Category: Open Source | Comments : 3

Check for Integer value

Thursday, 13th April 2006 9:26pm
One task that I find myself performing again and again in my PHP programming is checking whether a value or variable is an integer. I have always preferred using regular expressions because of the flexibility they offer (apart from being a fan of them) and so to check if say $var is an integer I would use the following:

if (ereg("^[0-9]+$", $var)) {
return true;
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;
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.

delicious delicious | digg digg

Category: Php | Comments : 0