SoftwareSyndicate content

Howto install PECL uploadprogress indicator for Drupal on Ubuntu 9.04 (Jaunty)

by Adrian 18th Jul, 2009 @ 22:25

I installed the PECL uploadprogress PHP extension on my Debian Lenny development server for the Drupal filefield module just before Psynaptic's excellent Read more »

Drupal markup: redundancy vs dependency

by Adrian 16th Jun, 2009 @ 16:13
I attempted to respond to comments on Moshe Weitzman’s blog with a comment, but it looks like it didn’t post, so I’ll elaborate here instead. Moshe made an excellent post detailing some frontend designer complaints about Drupal markup “Highlights from Design 4 Drupal” and some of the constructive attempts to improve things such as Studio theme, Skinr module and the 960 theme. The following comments however seem to be bitchy and ill informed, and even downright hurtful (see Merlin’s post “views-panels-economy-of-front-end-code-and-classes-and-namespace”).Now I love clean light semantic markup as much as the next code nazi but the comments by peach of alldrupalthemes.com and Christopher Calicott seem to stem from lack of experience and ignorance.”…because core output functions are so easy to override, but mainly it’s Views that outputs terrible code” – peachViews is just as themable and easy to override as core, if not more so.”To be honest, I never really got the developers’ confusion or reluctance about economy of code for front end” – Christopher CalicottDrupal developers aren’t reluctant, they like light code, and it’s not developers that are confused – it’s you Christopher, you’re just not seeing the big picture of code running on thousands of sites, being used by people with varying levels of technical expertise.”I would love to help out with cleaning it up if someone could guide me through the backend process. Same goes for panels.” – peachI’ve overridden views many a time only to find that I end up adding back so many wrappers and classes I might as well have not bothered in the first place. All those divs and classes are there for a reason. To assume that you can easily ‘clean up’ the markup used on tens of thousands of sites whilst simultaneously admitting that you have no idea of the backend process is either extremely naive or massively arrogant – quite possibly both! It’s easy to take one site and craft light semantic markup, doing the same for ten thousand sites at the same time all with different content…? Try to keep everyone happy and you’ll end up with a generic kitchen sink approach, there’s no other way.For me this is part of a larger debate, covered by Dave Shea’s post Redundancy vs. Dependency which deals with CSS but could be applied to markup and even programming code. Views markup is very redundant (and that’s a good thing for views.module to be) whereas you’re looking for highly dependent markup (which may well be a good thing for a specific site or theme) there is always a tension between the two.As fun as it can be to bitch about about things it’s really not constructive. So please, lets keep it nice and keep working towards constructive solutions.

perlucida.com, now with extra Drupal.

by Adrian 13th Dec, 2008 @ 0:13
Here it is, the obligatory ‘this site is now on Drupal’ post. I’ve merged my neglected Drupal based blog with the main perlucida.com site, redesigned and refreshed the content. It’s taken nearly three years.Why so long? It’s certainly been a busy and tiring three years – I moved house, my second child was born (and preceded to spend his entire first year waking 3 to 5 time a night), and of course every time a new customer project comes along perlucida.com goes on the back-burner. But that’s not why it took so long, really it comes down to project management.Going away from a project for a while and then coming back with fresh eyes is usually a great thing. But being forced to do it repeatedly meant that each time I picked up the project again I was seeing flaws in what I’d done in the previous batch of work. Cue constant redesigns and reworking, regular incorporation of new idea’s and generally breaking project management rules. The blocks (visible at the end of pages like this one) are one of the few elements unchanged since I designed them in 2006 – and also one of the things I like least now!There are still some things on my to-do list, but right now this site is live on Drupal and I’m loving it.

Oh! Vienna!

by Adrian 2nd Feb, 2006 @ 23:18
I finally found a mac feed reader that I actually like. It’s called Vienna. It’s open source and free too. I had been happily using Thunderbird for my feed reading, it’s quite capable in that department, but a dedicated app is always going to be a bit more slick, and Vienna is that. The one downside was that I didn’t particularly like any of the styles available. Soon rectified though, and my shiny new ‘Perlucida’ theme is now available for download from the Vienna site. UPDATE As of March 2006 the Perlucida style is now included as part of Vienna! So no need to download the style seperately, just grab the latest Vienna version.

Classic, Netscape 4, Photoshop 4, Livemotion 1 - so long guys.

by Adrian 16th Dec, 2005 @ 18:45
This is something of a momentous day. I’ve finally decided that it’s time to ditch Classic Mac OS on my G4. That means goodbye to Photoshop 4, good bye to Livemotion 1.0 (which annoyingly has no options for output to other vector based formats - so I’m losing some work too) and goodbye to Netscape 4. And whilst Mac OS 9, Photoshop and other applications have been deleted from Classic without much thought, letting go of Netscape 4 has been much more emotional. I can only think this is because Netscape was so much a part of the explosion of the web in the mid 1990’s, somehow surfing with Netscape 4 brings back memories of all that excitement. So, bye bye Netscape 4. It was great knowing you, we spent a lot of time together, and even though we got on less well towards the end - when CSS caused so much trouble between us - I can say we’re parting on good terms. Goodbye old friend. [Empties Trash]

A revised launchd plist for fetchmail

by Adrian 16th Jul, 2005 @ 16:52

It turns out that my previous plist for launching fetchmail doesn't work so well after updating to OS X 10.4.2. When there is no mail to collect fetchmail races through checking my mail accounts in less than sixty seconds, triggering a series of errors: Read more »

A launchd plist for spamd

by Adrian 6th Jun, 2005 @ 23:13

Create a file here:

/Library/LaunchDaemons/org.spamassassin.spamd.plist

With content:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>Label</key>
  <string>org.spamassassin.spamd</string>
  <key>OnDemand</key>
  <false/>
  <key>Program</key>
  <string>/usr/bin/spamd</string>
  <key>ProgramArguments</key>
  <array>
    <string>-D</string>
  </array>
    <key>RunOnLoad</key>
      <true/>
</dict>
</plist>

File attached below.

A launchd plist for postfix

by Adrian 6th Jun, 2005 @ 20:59

The plist I ended up with for postfix - just a modified version of the one apple provides as:

/System/Library/LaunchDaemons/org.postfix.master.plist Read more »