android + ubuntu = ?

This is pretty damn cool…an android smartphone that when docked runs full-blown ubuntu. Something like this might finally motivate me to get a smartphone (except for the fact I hate phones). :P

[edit]: Actually, why would this need to be limited to phones? I’m thinking about a ten inch android tablet running this, the dock wouldn’t even need a screen.

psychocandy

I can’t remember the last time I bought a music cd and wasn’t planning to purchase any more shiny discs but then I noticed this reissue of the Jesus & Mary Chain’s classic 1985 debut which was released last year, roughly coinciding with the album’s 25th anniversary.

I guess Edsel Records put together reissues of all the JAMC albums following the same format. There are two cds and a dvd. The first cd contains the album plus b-sides. The second cd contains radio sessions, demos and outtakes from the time period of the album. Finally, the dvd offers promo videos and tv appearances, again from the same timeframe.

I really like this approach because it means you are getting pretty much everything from that particular period of the band’s history in one package. This is important with a band like JAMC as they changed quite a bit from album to album.

In terms of the music, there’s not a lot here that wasn’t already available in one form or another. Especially after the Power of Negative Thinking boxset came out a few years ago. The main things of note are several early Portastudio demos which are pretty cool plus the would-be b-side “Jesus Fuck” which was never released for a variety of reasons.

But it was really the dvd that motivated me to order this. The tv appearances are great and I’d never seen Bobby Gillespie’s standup drumming style in a live setting before. There’s also a nice booklet with band interviews (William Reid is curiously absent).

As an aside, I’ve now purchased this album four times. I bought it when it first came out as a UK vinyl import. I then lent it to an unreliable a**hole in my high school who lost it. I subsequently bought it on cassette. When I got a cd player, it was one of the first cds I purchased. And now this reissue. I wonder what they’ll manage to do to get me to buy again? ;)

If you want more info about this reissue, check out this great review. Here’s a promo video for the set:

And here’s a hilarious interview that’s on the dvd. This is a piece that aired on Canadian TV following the North London Polytechnic riot. The interviewer is Daniel Richler (son of Mordecai).

ahah drupal

I posted before about my first drupal module and our node hierarchy to node reference conversion project. This project is pretty much complete and will be getting rolled up to the live site shortly, I expect.

I said I would post some more details about this project. What I had in mind was talking about how I am using the Features module to package up many of the changes this conversion requires to make it easy to migrate from dev to staging to live.

Features is super cool and I highly recommend it. That being said, right now I’m a little more excited about a piece of this project that came together this week. Namely, my second drupal module—with considerably more than 13 lines of code—and specifically, its use of drupal’s ahah features.

I mentioned in the previous post using drupal’s php input format for quick and dirty coding. One thing I used this for was creating a booklist addition form for staff to add titles to booklists on our website. The workflow for a staff member using this system is:

  1. Logs into website.
  2. Finds title in library catalogue.
  3. Clicks a bookmarklet.
  4. Bookmarklet redirects to form which is prefilled with bibliographical info for the title.
  5. Chooses booklist they want to add title to from a pulldown menu.
  6. Submits form.

Since I was updating this form anyways for the node reference conversion, I figured I might as well do things right and convert it to a module. This turned out to be much easier than I imagined, the only real challenge being using drupal’s form api which I’m still getting comfortable with.

With the basic module out of the way, I decided to take a look at adding a feature to improve usability. The pulldown list of booklists on the form is quite long. And soon we will be adding kids and teen lists as well. So I thought a better workflow would be two pulldowns, the first to choose the list genre and the second to choose the list itself.

Of course, in this day and age, you don’t want to have to refresh the page just to create/update a form menu so I dug into the form api’s ahah capabilities.

I used this article and the sample module provided as a starting point for getting the dependent dropdowns working. The remaining problem was that whenever the selection on the first dropdown was changed, the form was getting submitted behind the scenes and new (and incorrect) records were being created.

I found the solution in this article and its suggestion to add the following line to my module’s ahah callback function:

$form_state['ahah_submission'] = TRUE;

and to then add some conditional logic to my submit function to check whether the form had been submitted by ahah or normally. Worked like a charm!

Here’s an animation of the module/ahah features in action (flash, opens in new window).

filing system needs work

I decided to do my taxes this morning. I finished and was all set to netfile, when I realized I had been entering data not from my 2011 T4, nor from my 2010 T4 but from my 2009 T4! 8O

uncomfortably adjacent

In the new arrivals this week…

ouch

Part 3 in a series [1, 2].

music videos

Some music videos I’ve enjoyed recently:

Deer Tick/”Main Street”: Great song, great video.

Titus Andronicus/”A More Perfect Union”: Made me temporarily attempt to grow a “mountain man” beard.

Cheap Trick/”Budokan!”: This guy posted the entire hour long Japanese tv broadcast of one of their 1978 shows. Incredible!

hipster ipsum

Designing a new website? Sick of old-fashioned lorem ipsum filler text? Check out Hipster Ipsum, providing “Artisanal filler text for your site or project”. For example:

Jean shorts fap mumblecore wayfarers post-ironic, narwhal cliche. VHS lomo kogi banksy, food truck cred squid. Squid portland retro artisan twee, pitchfork pickled seitan leggings semiotics ethical master cleanse. Banh mi dreamcatcher hoodie, umami retro wolf tattooed skateboard polaroid yr keytar. Bespoke mlkshk trust fund seitan vegan swag polaroid blog, you probably haven’t heard of them squid cliche high life flexitarian sustainable. Pork belly gastropub raw denim kogi. Trust fund typewriter +1, gastropub before they sold out twee hella cray brooklyn carles.

Via the Globe & Mail

not plausible motive for murder

I’ve started watching the Danish/Swedish co-production Bron/Broen (The Bridge). In the first episode, the body of a city councilwoman from Malmo, Sweden is found on the bridge connecting the two countries. In trying to establish if she had any enemies, the following information is unearthed:

more danish tv

I thought the Guardian article “Has Denmark run out of TV actors?” was pretty amusing…especially the helpful venn diagram showing the overlap between The Killing, Borgen and Those Who Kill. Just having watched Those Who Kill, I noticed they could have added a couple more actors to the Borgen/Those Who Kill intersection which only had poor Sanne all by herself. Both petulant tv anchor Ulrik (Thomas Levin) and credentials-forging sexpot cabinet minister Henriette (Stine Stengade) make appearances. I have revised the diagram accordingly:

In fact, Sidse Babett Knudsen previously addressed this issue in an interview in the Guardian:

Well, it’s not as if Denmark is desperately short of actors and the same faces appear in every show, if that’s what you were thinking. Rather it’s just that the best actors tend to get the best jobs.

On a related note, I see that “‘The Killing’ series three is ‘darker and heavier’“. Hard to imagine. ;)