PHP 5.2.2 and 4.4.7 Released

“PHP 5.2.2 and 4.4.7 have been released with a plethora of security updates. Many of the security notifications come from the Month of PHP Bugs effort, and range from double freed memory to bugs in functions that allow attackers to enable register_globals, to memory corruption with unserialize(), to input validation flaws that allow e-mail header injections, with an unhealthy sprinkling of other bugs and flaws fixed. All administrators that run any version of PHP are encouraged to update immediately.”

Our sysadmin installed 5.2.2 on our test instances earlier today, and we’ll be testing (and closely watching for external reports) over the next few days before rolling it into production.

Via Slashdot.

The Javascript Programming Language

Yahoo! JavaScript Architect Douglas Crockford provides a comprehensive introduction to the JavaScript Programming Language in this four-part video. This is the first section of the four-part video. See below the embedded video for more links.

Other programming videos by Douglas Crockford on Yahoo! Video:
The JavaScript Programming Language (4 parts).
Theory of the DOM (3 parts).
Advanced JavaScript (3 parts).

Via Digg.

parseMe 20070429 Update

Here’s another update to parseMe (back story), my little GPL’ed PHP-based RSS/Atom feed reader for mobile phones and other web-capable devices.

  • Moved to object oriented, pretty much for the “fun” of it.
  • Now passing a custom user-agent in the http query to avoid problems with sources that require it (Digg, among others).

You can find the appropriate links below:

Keeps me from hating my phone until I can afford to get myself a nicer mobile solution.

Web 2.0 Expo and Conference

The O’Reilly Web 2.0 Expo is just finishing up, and my co-worker and I had a blast with most of it. Working in the academic sphere, it really feels great to get first hand confirmation that we are perfectly on track with the rest of the industry with our vision of what is to come. Now, if only we were given the means to do it all as fast as we can dream it, which is always a challenge in a large public institution. But we’re working on that. :)

One of the highlights of the conference for me, was to find out (confirm) how close the Digg architecture is to the one that we’ve been developing for our university for many years now: LAMP (though we use PostgreSQL), memcache, Linux, clustering, etc. They actually seem to be facing some challenges that we’ve already tamed in the last year and a half. They’re hiring, by the way.

On the other hand, it was my first time in San Francisco (about time…), and I won’t lie: it’s even better than I imagined it would be! Truly a fantastic city, populated with wonderful people. First time, but definitely not the last one, especially given that I just don’t have the time to stay a few extra days to visit Berkeley, Oakland, San Jose, Santa Cruz, Cupertino, Mountain View, etc. Next time!

On this, I’m going to go and enjoy the city before I have to leave tomorrow morning.

Google@Mcgill

Yes! We’ve done it. McGill is now using a Google Search Appliance as its main search engine backend, which is the main reason I have been so busy in the last while.

Despite early hardware issues and a few bugs I faced in the caching engine and XML APIs (most of which have been or are being addressed by the Google Enterprise team), I have to admit that it’s been one of the most motivating and enjoyable projects I have handled at McGill.

You can try it out for yourself on our main search page.

We also enabled other areas, such as our advanced course search, and classified search.

This is of course only the tip of the iceberg, since the architecture is quasi-infinitely extensible through the feeds and OneBox concepts (both of which we already use). And as usual, I already have a head full of ideas on how to further leverage the enormous amount of digital content on campus.

Fun times ahead!