I'm suprised I haven't seen any sites dedicated to "adsense bombing" yet. As I was looking at my adsense stats today I noticed it was particularly higher than most days as far as clicks. Which lead me to a thought about having a site called "Make Them Rich". On this site you would just have a link to a site-of-the-day where everyone is encouraged to click on that site's google ads. Through viral word of mouth if you had half a million people visiting per day each following the creedo of clicking on the site of the day's adsense ads you'd have one shocked person to find 500,000 clicks and a 100% click through rate the next morning :)

some thoughts...

1. would google actually pay them ?

I had the pleasure of having lunch with the man behind PHP Architect Marco Tabini and NuSOAP creator Dietrich Ayala today at the "Anti-Mall" in Orange County. Although we didn't have enough time as I would have liked to pick each other's brains we had a nice meal and had some nice PHP Chat. Marco has some interesting PHP related services coming out way that I don't want to publish at the moment in case he isn't ready to make them public but they will definately be helpful for the enterprise PHP community. I've been out of commission this past week with a busted back from ice hockey so I'm just now returning to walking state(barely).

Anyway, here is a picture from our lunch

My-Bic Ajax Framework hits 1500 downloads in its first week! [url]http://www.litfuel.net/mybic[/url] - DOWNLOAD

My-Bic 0.3 was released today adding two major features...


A new tutorial covering a "notetaker" application has been written on the My-Bic AJAX site.


This tutorial covers how to fetch notes from a server and make little note boxes in your HTML page.

After trying a bunch of bloated ajax frameworks I decided to write one that is lightweight and just takes care of the bare essentials to get things rolling. It supports XML, JSON, and TEXT formats.


I'm looking for some volunteers to try it out and voice their opinions. The basic concept is:

After reading a post here: http://www.weblogs.mozillazine.org/ben/archives/009749.html

Ben, the lead Firefox engineer posted on why firefox consumes memory at an increasing rate when browsing the web with multiple tabs. Turns out firefox caches your page history (up to 8 pages PER TAB) in memory to speed up back/forward page browsing. I've since disabled this feature and Firefox has been running at a nimble 54MB of ram for a little while now with 10 tabs and multiple pages browsed in each.

in your address bar type in: about:config

Out of sheer boredom I wanted to see which was better, including one big file of classes or splitting your classes up into multiple files. I'm going to use nusoap as an example. The NuSoap package lets you download one file. nusoap.php. That one file contains 9 classes. While not only is this method nice as you only need to include one class, its also 24% faster on average than having to include 9 seperate files.

I broke the nusoap.php class out into 9 seperate files, one for each class as most people organize their libraries. I then included the 1 nusoap file, then recorded the time, then included the 9 nusoap files and recorded the time. After 50 iterations the average was that including multiple files was on 24% slower than the one large file.

So what's the lesson? If you're distributing your PHP software package and/or push your scripts to a live server, think about combining your classes by directory into one big file. Lets say you have a directory like this

As I'm going over how rails uses the active record pattern I was looking at php on trax's framework which is an interpretation of rails in PHP. One thing that bugged me was when you get a record set of data, like say SELECT * FROM users, which returns a record set of users data, it stores each record as an Object rather than just keeping it as an array from mysql_fetch_array. I wrote it off as just usings objects for the sake of objects and thought that there would be a noticable performance hit when storing an array of user objects compared to a native array of user rows.

I was wrong actually. I basically set up a User class, looped through and created an array of 100 user objects, then created an array with 100 array elements of the same user data. Then I profiled them to see which was faster. To my suprise it almost made no difference. Sometimes the array was faster, sometimes the object was faster when I tried to access all that data in a foreach loop. We're talking 0.0009 seconds on avg on my box. So the lesson is don't feel bad storing objects. I always felt a little guilt when using objects as record set objects, however I can finally relax and enjoy my programming day again :)

I created a new Firefox extension for http://www.url.vg that is a no frills, "copy this shortened link to the clipboard" type deal. You can mouse over an HREF link and select Send Link to clipboard, which will make a call to url.vg, get the shortened url and add that to your clipboard so you can paste it anything you're working on. You can also just right click a page to get the address bar address shortened. Its very lightweight and fast.

some features of http://www.url.vg

# Shortened URLs include the original domain name so you know where your going before you click on the link.


Watch this little video of the future of user interface designs and touch screen technology allowing multiple fingers to be read at once. Its pretty awe inspiring actually.