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

Drupal will become more MongoDB friendly

Submitted by nk on Fri, 2012-04-20 14:14

Starting May 1, 10gen, the company developing MongoDB will pay me to make Drupal more MongoDB friendly. This will, in the shortest term mean a new release of the mongodb module and the EntityFieldQuery Views backend module. Longer term, I will try to help Drupal 8 make MongoDB friendly.


Submitted by nk on Thu, 2012-03-22 14:07

When we moved to git, at last year's DrupalCon NA in Chicago I asked dww to let me set up a bzr-git two-way mirror on He said no, this is what it is, get with the program. As months passed, I have learned about git reflog and git log -S and git blame --reverse and git and I became uneasy friends although I still consider rebase the work of the devil itself. Similarly I disagree with a lot that's happening on the WSCCI side of the core development but what I am taking home from Denver DrupalCon: that's what it is and I will get with the program. I will resume core work to make sure the OOP-ifying of Drupal is done throughly and the render arrays of doom disappear from Drupal 8. Do it or do not, there is no try, and the community decided to do so I must help it doesn't become a try. See you in

Revised stance on Apple

Submitted by nk on Sat, 2012-02-18 00:49

I wrote a blog post some 1.5 years or so ago and everything I predicted is happening. However, I have revised my stance on them. Please, buy Apple devices. Please. You are giving me job security by driving up demand (by more relying on servers, these days fashionably called "cloud") and keeping the supply low (by raising a generation of computing-consumers who can't code). That freedom gets lost? I can't stop it so better be practical about what's going on.

My brain is not a stopwatch

Submitted by nk on Sat, 2012-02-11 08:32

While surely time clocks worked well for an assembly line worker, I have always found the push to clock my hours similarly rather annoying and this puncher makes me froth with rage. It's all sorts of wrong to force a creative person to work on an hourly basis. First, if I am able to solve something quicker, am I to earn less...? Worse, if I take a long time, perhaps even miss a deadline then you are to pay me more??

Eating my words on github

Submitted by nk on Mon, 2012-02-06 23:36

Two years ago I wrote a blog post about why not to use github. I simply was wrong. As jQuery won the JS framework war so did git won the DVCS war and one of the reasons is actually github. I have been using github to host private projects for my clients and the service / workflow is really top notch -- fork from the UI, hack, send a pull request, comment the diff line-by-line, do the minor fixes in the online editor on spot, click the merge button, done. Nicely done.

Per style private files

Submitted by nk on Thu, 2012-02-02 20:31

Private files are great but they are a huge resource hog. In certain scenarios, lower-resolution versions of the pictures are absolutely fine to be public, only high resolution originals need to be protected. In this case you can use Drupal's private file handling as it is and the following simple trick to make a style public.


Submitted by nk on Fri, 2012-01-27 21:42

I am taking a break from core development for personal reasons. After writing close to 800 core patches and spending years almost nonstop on core development, I need a break. Please leave me out of core debates on IRC, emails etc. Thanks! Contrib work will continue especially on redis_ssi and relation (mostly thanks to my generous sponsors). I am not against paid core bugfixes either :) contact me for paid core or contrib work, I promise to charge a lot less than normal for code contributed back to

Make your password protected devsite pull automatically from github

Submitted by nk on Wed, 2011-12-28 21:01

Many projects these days keep their work in github and it is a request often to make some dev site automated automatically. When I tried to enter a passworded URL into github, it didn't work. So I came up with what's below.

How to add JavaScript to Drupal 7

Submitted by nk on Mon, 2011-12-26 19:09

While patching Views I added this to an existing JS file thanks to caseyn. You can replace the iframe-related code (which is just two lines) to add your JS to Drupal:




Is the Web dead?

Submitted by nk on Mon, 2011-12-26 08:50

I will use today being Christmas and me being on vacation as an excuse not to fight the hard fight of ordering my thoughts into a linear, nicely reading blog post. So here's an unordered list of my thoughts presented as an ordered list only to allow for easier commenting. They do form a picture, however.