The drop is always movingYou know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgetsAll content management systems suck, Drupal just happens to suck less.Popular open source software is more secure than unpopular open source software, because insecure software becomes unpopular fast. [That doesn't happen for proprietary software.]Drupal makes sandwiches happen.There is a module for that

Testing status

Submitted by nk on Tue, 2008-04-01 15:39

We have a slimmed down version of SimpleTest 1.0.1beta2 in my repository ( readable by anonymous, get commit rights by contacting me ). The browser now supports uploads. Now every tests starts from a fresh default.profile Drupal install. There were serious cleanups. I expect simpletest to be submitted for core inclusion this weekend. Remaining tasks are more cleanup and more slimming down and updating the slimmed down code to RC1.

It's not just developers

Submitted by nk on Thu, 2008-03-27 14:15

Today I read a post on Drupal Planet urging you to "place a friendly popup request for IE6 users to upgrade their browsers". Consider that Microsoft already pushed this upgrade, hard, and if someone is on IE6 still it very well can be that it's not her own decision but her IT people. There are bank applications that are broken with IE7. So, while it is true that we have every reason to hate IE6 pushing your visitors around might not be the best idea.

print_r is your friend?

Submitted by nk on Wed, 2008-03-26 06:05

Someone said this in #drupal today. I long wanted to blog about this. I never use print_r. There is no need for it, var_export is far superior IMO -- if I need to write a quick script which actually does something on the data, I can copypaste the output into PHP code. Little but annoying things like escaping apostrophes are handled too, so it's even useful for dumping strings. Of course, var_dump is also useful as that dumps type info -- how cool it would be if it would do that in a PHP comment and then it would also render valid PHP code as debug output.

Testing status

Submitted by nk on Wed, 2008-03-19 08:55

I will report approx weekly here. I have written a cURL, DOM and SimpleXML based browser instead of the sockets-based, PHP4-compatible Simpletest browser. This lets us inherit from unit_tester.php instead of web_tester.php, removing lots of code. I strive to finish it within a few days. Things you can help include making Simpletest to always start with a clean state, a new set of prefixed tables, see the issue for more.

So you want to become a Drupal coder?

Submitted by nk on Thu, 2008-03-13 21:16

These days, it's quite common that people with some PHP experience but without Drupal experience get on the Drupal bandwagon, often hired by some company or as a freelancer. If the next step is that you begin to work for some gig for a client then you and the client will both suffer. A very good and beneficial way to get acquainted with Drupal is core bugfixing. There are always bugs that are trivial to the experienced and can be solved by a newcomer if he puts himself to the task really.

The question about RDF/Semantic Web

Submitted by nk on Wed, 2008-03-12 14:20

If I have a database of something then why it is good for my business to share the whole database with everyone without compensation of any kind...? While the copyright law is flawed in many ways, still, a selective collection of facts ordered in a creative way is subject to copyright protection -- this surely indicates that there is something of value in there.

My DrupalCon free sposts

Submitted by nk on Fri, 2008-02-29 17:59

Now that the schedule is up, I am posting the inverse of my session attendance list so if you want to talk to me, you can see when I have free time for a BoF or something. Monday, 1:30-4:15PM, Tuesday 3:15PM-, Thursday 1:30-4PM and of course all the regular breaks.

Deploying Sphinx search is rather simple

Submitted by nk on Thu, 2008-02-28 15:17 uses Sphinx for searching and it is really easy to use Sphinx for Drupal and then it's fast, extremely fast. There is no Sphinx search module because I could not find a module worth of code to release. You just need to set up Sphinx according to its documentation, of course the queries are Drupal specific, you just need to JOIN your tables together USING(vid) and don't forget to start the SELECT with nid:

My favorite Jeff Eaton quotes

Submitted by nk on Wed, 2008-02-20 17:41

After someone unearthed the good old settings patch, I think it worths putting together a small collection of hilarity from Jeff Eaton. Another is a limerick in exchange for a patch review. And let me finish with an IRC quote: "You know that saying about standing on the shoulders of giants? Drupal is standing on a huge pile of midgets".

As it can be clearly seen, it's great fun to participate in the Drupal community.

Reiterating a good password trick

Submitted by nk on Wed, 2008-02-20 11:34

James said in his recent security article "Also, remembering several (hundreds!) of complicated, strong passwords can be daunting and frequently leads to poor password choices" -- but we learned right here on the Drupal planet from Moshe, there is a good solution to this: SuperGenPass.