If Solr Suddenly Stoped Working on Your Drupal Site

Submitted by nk on Wed, 2008-12-24 02:45.

Somebody thought it was a good idea to use the Drupal Planet for bug reports. Guess what? It's not. Please don't. There is a proper workflow for these things. Oh and guess what again? There is already an issue in the queue, Damien and Dries are both on it so what the heck more do you want? You are not helping anyone by purporting a half-solution. And I reply in a separate post 'cos if I'd write a comment noone would read that.

"What the heck they were thinking" ancient versions

Submitted by nk on Tue, 2008-12-23 20:08.

As we learned from Angie's excellent article it's useful to read the developer's thinking when submitting a patch. However, certain old decisions left no trace on the website. However, as I recently learned from Dries that in the beginning patches were submitted to CVS for review. So if your cvs annotate reveals a very old commit with no issue, you can look there.

The storm is coming

Submitted by nk on Thu, 2008-12-11 04:33.

Currently a mere 350 million people have broadband access. I expect this to jump a magnitude within less than ten years as smartphones and cheap laptops and 3G data makes broadband ubiquitous. We can add web services to this as another major traffic drive. They sold 13 million iPhones and Android is just starting. The storm is coming -- will your site stand or be blown away?

Buy a dream for cheap

Submitted by nk on Fri, 2008-12-05 14:11.

It's been years since we are dreaming of getting CCK into core. Dries has announced a code sprint, where six people are going to work on this for an entire week. That's 240 (wo)manhours and all we ask is a $7000 donation. This is your only chance to hire the top Drupal coders for less than a $30 hourly fee. If you have ever used CCK please consider donating the equivalence of one hour payment of your time -- it surely saved that many but likely even more.

One hundred twenty six million five hundred sixteen thousand three hundred seventy one

Submitted by nk on Sun, 2008-11-23 06:19.

This is how many seconds passed between me committing my first attempt of an SQLite driver and webchick committing a working version to Drupal 7. Yes, Drupal supports SQLite now. It took more than four years, several Drupal, SQLite and PHP versions but we are at the point where the three can work together finally.

Open source: when words abandon me

Submitted by nk on Tue, 2008-11-18 02:16.

If you sit down with another member of the Drupal community in a cafe to hash out something, then you are with... a friend (hardly, you might barely know each other)? a colleague (doesnt that mean that we are working at the same place)? associate? I am afraid that an open source community being such a new thing it needs a new word. Fellow Drupaler -- sure, try to say that to the average Joe and watch the glassy eyes :) And how do you explain to the average border guard that you are traveling to a code sprint...? A GSoC mentor summit?

The PDO SQLite challenge

Submitted by nk on Sun, 2008-11-09 18:27.

I am willing to give 10 US dollars to the first ten people each who can point out a real webhost (you know, appearing in Google and relevant forums for some time -- nominating the webhost that you run is not nice!) which

  1. Has PHP 5.2.
  2. Has PDO.
  3. Does not have the PDO SQLite driver on. ( Run print_r(PDO::getAvailableDrivers()); to see the drivers available.)
  4. Unwilling to switch it on after a polite request explaining that the award winning Drupal CMS would like to make pdo-sqlite a requirement in its next release.

How to cachegrind a tested Drupal

Submitted by nk on Sat, 2008-11-01 18:50.

Just add

zend_extension="/usr/local/php/modules/xdebug.so"
xdebug.profiler_enable_trigger = on

to php.ini and then add this line to drupal_web_test_case curlExec just after the second line, where $url is assigned: $curl_options[CURLOPT_URL] = $url . (strpos($url, '?') === FALSE ? '?' : '&') . 'XDEBUG_PROFILE=1'; is the trigger for the profiler.

We have usage statistics

Submitted by nk on Fri, 2008-10-24 03:01.

Drupal modules and themes usage statistics! YAY! Kudos go to dww and drewish.

The Web is a mess

Submitted by nk on Thu, 2008-10-16 17:09.

Opera inspected a few million webpages. 4.13% passed validation, 70% had a DIV tag, 80% had a TABLE tag. A healthy number of those divs are not for positioning either, while border made it to the top ten CSS properties, margin and padding are the 11th and 12th, position is the 17th. More pages had JS than DIVs -- 74.58%. While Flash is used on the third of pages, XMLHttpRequest is used a magnitude less, 3.2% of pages.

User login

Log in using OpenID

No user registration here. Use your DrupalID from drupal.org, for eg. chx@drupal.org