Blog Posts

Creating a custom compound field for CCK

I’m working on a project that partially involves the development of a website in Drupal to act as a directory of people who have graduated from a given University. Seems easy. I went into the project thinking it would be a trivial application of Taxonomies, or maybe some generic CCK fields.

Nope. Turns out the problem is much more difficult and complex than I initially thought.

Taxonomies won’t work, because of the need to tie a number of values together, namely the year the degree was awarded (say, “1992”), the type of degree (say, “BSc”), the specialization of the degree (say, “Zoology”), and the granting institution (say, “University of Calgary”).

Read More

Digital Photography Sessions - Episode 003 - RAW vs. JPEG

It’s not a full examination of every technical aspect of RAW vs. JPEG, but I show some of the reasons why I try to shoot RAW almost all the time, as well as some reasons why I sometimes shoot in JPEG instead. Some of the subtle differences didn’t really translate into the compressed video files, but hopefully you can get an idea of what the extra data in a RAW file is handy for.

Read More

complex hierarchical taxonomies in drupal?

I’ve been struggling with this problem for some time now, and am a bit stumped. Bits of it are trivial to solve, but when I start hooking things up, there’s a pretty big gap and disconnect.

On the surface, it’s a simple problem. I’m using Drupal, and am building a website to store things like profiles for individuals. That’s easy. I need to add lists of the degrees they’ve been awarded. Like this:

Read More

earth day sucks.

There. I said it.

Earth day sucks. It’s harmful.

It provides a cop-out, marketing-based, feel good way for people and companies to feel good about half-assed lame excuses for making a real sustainable difference.

Every day should be earth day. This one-day-per-year stuff is garbage. This “oh! what did you do for earth day?” feel good crap doesn’t help. Frack off. Every fracking day is earth day. What did you do for EVERY OTHER DAY OF THE YEAR earth day?

Read More

on intolerant believers

Walking through campus this morning, I witnessed a red faced, agitated young man. He was ripping posters off of a poster board, and shredding them in his hands. I looked a little closer - wondering what he was doing. He was being quite selective in the posters he was ripping - they all appeared to have been informational posters about “new atheism”. I saw him rip two of the posters. I didn’t see the information on the posters, aside from the title, but a quick Google turned up this web page describing the movement. Obviously, it must be suppressed.

Read More

sharecropping clarification

I should probably clarify a couple of things about what I was trying to say about social networks as sharecropping activities.

First, I am not trying to suggest that hosted services are inherently bad - I think it’s great that services like WordPress.com and Edublogs are available - and they are not sharecropping. Hosted services can be great - they let people easily post their content, and a well designed and managed hosted service doesn’t infringe on a person’s digital identity, nor on their ownership of the content they publish.

Read More

command line personas

Stephen ran a cool line of command line goodness to crunch out a list of the most commonly run commands he runs in Terminal.

The code he ran is:

% history|awk '{print $2}'|sort|uniq -c|sort -rn|head

Hey, that’s pretty cool. Crunches through the shell history, spits out a list of commands, groups them by uniqueness and sorts them by number of occurrences.

I ran it on the 3 systems I use most often:

Read More

on social network sharecropping

Heather posted something this morning that’s had me thinking about this pretty much all day.

Occasionally, Tim Bray talks about “sharecropping” as related to the world of open source vs. proprietary software and APIs.

What‘s a Sharecropper?· I found a good definition at InterAction Design:

“A farmer who works a farm owned by someone else. The owner provides the land, seed, and tools exchange for part of the crops and goods produced on the farm.”

Read More

Digital Photography Sessions - Episode 002: Basic Workflow

Time for another episode, this time on basic workflow - importing a few photos, deleting the crap, and processing the one(s) that don’t get nuked. This time, the dogs were quiet, and The Boy™ decided not to make an appearance. I might schedule him for a later episode…

Episode 2: Basic Workflow weighs in at 12.1 MB, and clocks in at 10:27. Or, if you want a full HD version, use the second link.

Read More

Testing Flickr Video

Sounds cool, but is the 90 second limit real?

Flickr’s official stance on the time limit is this:

Video on Flickr grew out of the idea of “long photos” and as such, we’ve implemented what might seem like an arbitrary limit of playing back the first 90 seconds of a video. 90 seconds?

We’re not trying to limit your artistic freedom, we’re trying something new. Everyone has endured that wedding video, where even the bride will fast-forward to the “good bit.” In fact, even Tara at FlickrHQ hasn’t made it past the first 90 seconds of her own wedding video.

Read More