Internet Technology


9
Jun 10

PHP released 15 years ago today

PHP version 1, by Rasmus Lerdorf, was released into the world on June 8, 1995. It’s original name of Personal Home Page was renamed, with a heavy nod to recursion, to “PHP: Hypertext Preprocessor” in 1998 with the launch of version 3.


I owe a great deal of my professional success to this language, it is the one that truly sold me on programming.

<?php
/**
* June 9, 2010
*/

echo<<<HAPPY15THBIRTHDAYPHP
* May your future be full of fantastic features and ever greater efficiencies.
* You've powered the dynamic web from yahoo to facebook.
* May you continue to enthrall and encourage programmers young and old.
* You've come a long way, be sure to have lots and lots of cake today.
* May your full fledged Unicode support be your gift to us sooner rather than later.
* You've got your problems, but then don't we all.
* May you survive and thrive another 15 years.
HAPPY15THBIRTHDAYPHP;
?>

Bonus: here’s some cool PHP usage statistics and trend graphs.


23
Apr 10

Do not underestimate the need for Multi-Browser testing

No matter what the trending statistics tell, people do use alternative browsers. If something totally doesn’t work, these users are going to complain about it and rightfully so.

test all of these

Technical (javascript) lesson learned: do not use setTimeout() for making an external script call such as document.write(); If the result happens to contain an iframe tag, all your caller pages will be overwritten. Only seems to affect Opera and to some degree IE. Safari, Chrome and Firefox are immune (and as it happens, the three browsers I originally tested against).


12
Apr 10

How to win at the “platform” game

A contemporary story brought to you by Twitter… who arguably, would have never risen to its present great heights in popularity, and thereby valuation, if not for the labors of its creative users… and now, we shall see their true colors…

“…Twitter investor Fred Wilson speculated that Twitter would edge out third-party developers whose add-ons for the microblogging service merely filled feature holes that the company ought to have built itself. Then Twitter, which previously hadn’t developed its own mobile apps, bought Tweetie, a popular Twitter service for the iPhone, and released its own BlackBerry app.”

With apparent lack of long term reputation strategy, their latest purchase is not well timed as ”…these announcements came right before Twitter’s big developer conference, Chirp, which opens in San Francisco tomorrow.”

Twitter also purchased Summize nearly two years ago to fill the former void of search.

And the lesson to gleamed from Twitter’s totally tubular tale is… ”The real reason to build a platform is to boost your company’s valuation. An open application programming interface lets third-party developers donate their labor and ideas to the cause of enriching your investors. And through their creativity, investors get inspired about the potential to make money.”

The moral of the story is: be the foundation (platform), not the pretty structure that sits above it. Because if you’re a company building off of some other company’s platform, being bought out is the only way to achieve a big pay day. Good luck with that.

Quotes from VentureBeat’s “How Twitter won the platform gamble“.

Also worth noting, as another prime example, Apple’s App-store.


22
Dec 09

V8 benchmark suite v5 – my numbers

Google has this benchmark suite thing you’ve probably heard about. Here are my numbers for the browsers I use most often on my machines. First and only run results below:

Windows 7 Ultimate 64-bit, 4GB DDR3 1033MHz, Intel 2.4GHz C2D P8600 Linux Ubuntu 8.10 32-bit, 2GB DDR2 800MHz, Intel 2.2GHz C2D T7500
 
Opera 10.10
Score: 199
Richards: 151
DeltaBlue: 177
Crypto: 126
RayTrace: 338
EarleyBoyer: 622
RegExp: 86.4
Splay: 203
Opera 10.00
Score: 125
Richards: 87.3
DeltaBlue: 103
Crypto: 69.3
RayTrace: 235
EarleyBoyer: 378
RegExp: 62.9
Splay: 137
Firefox 3.5.6
Score: 383
Richards: 1239
DeltaBlue: 106
Crypto: 746
RayTrace: 261
EarleyBoyer: 355
RegExp: 242
Splay: 554
Firefox 3.0.15
Score: 120
Richards: 90.7
DeltaBlue: 92.2
Crypto: 132
RayTrace: 105
EarleyBoyer: 117
RegExp: 129
Splay: 200
IE 8.0.7600.16385
Score: 98.7
Richards: 50.9
DeltaBlue: 56.3
Crypto: 69.6
RayTrace: 102
EarleyBoyer: 170
RegExp: 124
Splay: 213
IE 6 (Windows XP VM)

Richards: 8.7
DeltaBlue: 3.27
Crypto: 6.69
RayTrace: 16.2
EarleyBoyer: 8.64
RegExp: …
Could not get past 89% completed… ran “forever” on RegExp test
Chrome 3.0.195.38
Score: 3754
Richards: 3837
DeltaBlue: 3918
Crypto: 3062
RayTrace: 5351
EarleyBoyer: 6212
RegExp: 1066
Splay: 6445
Chrome 4.0.249.30
Score: 3455
Richards: 3272
DeltaBlue: 3523
Crypto: 2863
RayTrace: 4938
EarleyBoyer: 6373
RegExp: 1061
Splay: 5335

No doubt Chrome blows these #’s away update – big time confirmed. What company would release a benchmark suite that didn’t favor its own browser? Benchmarks are an engineers marketing.  My hunch is that Safari would fare well on these as well.


16
Dec 09

Ensure privacy of your data by encrypting public email service

email-security

first, set up a secure-mail domain email server that upon mail receipt, applied (subscriber specified key) encryption, to the message contents and then forward that encrypted message along to whatever web mail service that subscriber wants to, or is already, use (and is supported) - - such as gmail, y-mail, hotmail.  key point being, be the first leg in the journey & to secure the contents of the message before sending onto the public email service.

second, develop a browser plug-in that utilizes “screen-scraping” and decrypts secure-mail messages using the user’s private key (PGP perhaps).  the plug-in could display the decrypted message contents on the fly without sending any data back to the storing server.

Continue reading →