Ponderings

When the Birds of a Feather Don't Flock

Some months ago, I got involved with implementing OpenID on Drupal for work. One of the things that struck me was that the OpenID modules appeared to be largely dormant. With DrupalCon coming up, the logical solution seemed to be to get together a Birds of a Feather (BoF) session.

Completing DataSmith.net Project Revision

The final outcome of this project came out a bit different than originally envisioned, but I'm calling this one done for now. In the end, I created a Project node type with a Taxonomy term reference for the project status and a view to display the Project nodes which have a status of either Exploration, Active, or Someday.

Rework of OpenID Selector module

Status: 

The openid_selector_inline submodule of OpenID Selector provides interface elements that replace the core OpenID input field with provider icons that users can click to authenticate to their identity provider. The module provides no real configuration options, though. When enabled, it automatically places its icons on the /user/login form and on the login block.

Rules-based Taxonomy Term Creation in Drupal 7

This morning, I went looking for a means to automatically create a Taxonomy term when a new node of a given type is published. To my surprise, though, the old Taxonomy action set which appeared in the D6 version of Rules was missing from the D7 version of Rules. A quick search of the Rules issue queue revealed that I wasn't the only one looking for Taxonomy actions. Several more minutes of poking around the interface revealed that the solution is there, it's just obscured in the interface.

Indexes on collections that don't exist: one of the mysteries of Mongo

I've been working on a Drupal module which aggregates and reports on some data from Mongo. In order to keep from having to re-do all the aggregations, the aggregated data itself is written off to a Mongo collection which is then retrieved and displayed when the reports are requested. To make the retrieval more efficient, I need an index on the table storing the aggregated data.

Mongo MapReduce FTW!

One of the systems I've lately inherited makes heavy use of Mongo for data storage, a data system I've not used previously. So, when the boss called tonight and said that his boss needed counts of an object in our system by state in the next 10 minutes my thinking went something like...

No problem, that's a simple SQL group-by....Oh, wait. This is mongo. Oh, crap! How do I do that?! It's a function; Map...Something.

A Mnemonic for the DC Metro Red Line

Now that I'm commuting into the city each day, I've been forced to actually learn my way around metro. It didn't take me long to get tired of checking my phone for the station map, so I put together a little mnemonic to help me remember the order of the stations on my route: Bethesda to Union Station.

Joining the Cult

AdorationOfTheApple

I've joined the Cult of Mac.

For several years now, I've been running Ubuntu Linux on all my personal machines. I loved the freedom of Linux, that I could recompile the kernel to do things exactly as I wanted. I took elitist joy at the puzzled looks on non-tech people's faces when I told them I ran Linux (and then had to explain what Linux, and often an operating system, was). And, to be quite frank, I loved not having to fork over a ton of money for software.

The thing is, while I loved that I could recompile the kernel, I really hated that I so frequently had to. The wireless card in my netbook didn't play nicely with Linux, so each time I updated the kernel had to roll in a code patch and recompile the kernel to get it working. To get my printer working required another recompile. Trying to sync my ipod to my music collection, while it didn't require a recompile of the kernel, required three separate programs one of which had only a command line interface. Don't get me wrong, I really like the command line, but it's just not the right medium for controlling an ipod.

Maybe it's a sign that I'm getting older, but I don't want to invest time and energy into making my computer work any more. I have things I need to accomplish on my computer and I need to know that when I sit down to do them, the computer will cooperate with me. I have neither the time nor the energy for mucking the computer for the sake of mucking with the computer.

So, after a brief flirtation with Windows 7 (I was weak, I admit), I ordered myself a MacBook. I've only had it about a week now, but so far it's everything I hoped it would be. It has a Linux style command line that handles all the command line tools I love, like grep, curl, and tar, and ... stuff just works! To connect to my home wireless-n network using WPA2 security, all I had to do was enter the passphrase. I didn't have to recompile anything or go digging through the forum posts for solutions; it just worked. It even comes with PHP, Python, and Apache pre-installed.

I'll still keep a Linux box around the house for some things, but I don't see myself going back from the Mac anytime soon.

How Mozilla is using data to manage their developer community

Developing Community Management Metrics and Tools for Mozilla

I came across the article linked above, discussing the new dashboard Mozilla has developed to help monitor and manage their community and thought it appropriate given my previous post about the need to be able to monitor your community.

Pages