New versions of http-authentication

September 29th, 2008

I’ve released two updated versions of the http-authentication plugin, for better compatibility with certain PHP setups on Apache:

  • 2.2, for WordPress 2.6
  • 1.8.1, for WordPress 2.0

You can download either version from the WordPress plugin directory.

The updated versions add support for the REDIRECT_REMOTE_USER environment variable that you may see with PHP running as a CGI or running under FastCGI with a ScriptAlias configuration.

OSCON 2008

September 11th, 2008

At the end of July I traveled to Portland, OR, to attend OSCON. This was my first time at OSCON, and it was a blast.

UF sent me to the tutorials, which took place on the first two days of the convention, and the sessions, which lasted for the following three days. Since I’m primarily a Perl programmer, I focused on the Perl track when choosing what to attend, but there were often multiple sessions that looked interesting in any given time slot.

Day 1

I was pretty impressed with my second tutorial, Introduction to Seaside: Powerful Web Application Development in Smalltalk, taught by Perl guru Randal Schwartz. It was my first real look at Smalltalk, specifically the Squeak implementation. The development environment for Squeak seemed very intuitive. Randal made me wish for more iterative development, where you can interact with a debugger in the middle of your work. Perl has some of this but it isn’t as easy.

Seaside also had an interesting take on templating, in that there isn’t a separate language for displaying content to users. It structures the content and user interface and automatically handles HTML escaping, which is a nice change from e.g. PHP.

Day 2

I attended two Perl tutorials: Perl Worst Practices, taught by Damian Conway, and Catalyst: 21st Century Perl Web Development, taught by Matt S Trout. Both of these guys are pretty insane Perl programmers, and it was cool to see them speak.

Damian’s talk showed how to abuse Perl. He used his SelfGOL program as a source of counterexamples. Most of the techniques wouldn’t (shouldn’t?) ever show up in your programs, but it was educational and entertaining to see them in action.

Matt’s talk wasn’t as in-depth as I would have liked. It was a good overview of Catalyst, but primarily for me it was informative to see how he works.

In the evening I went to the keynotes and got to see Mark Shuttleworth and r0ml speak. r0ml compared various software development methodologies (XP, Scrum, etc.), showed how similar they are, and related them to Quintilian’s take on rhetoric and also juggling. His talk is definitely worth watching.

Damian rounded out the evening with a very amusing talk entitled Temporally Quaquaversal Virtual Nanomachine Programming In Multiple Topologically Connected Quantum-Relativistic Parallel Timespaces…Made Easy!. chromatic has a great summary up on the O’Reilly site.

Day 3

Larry Wall and Damian’s Perl 6 Update was a little over my head. I haven’t been following Perl 6 much in the past few years, but some of the syntax and new language features they discussed seemed helpful.

The Critical View of OpenID talk was amusing, mostly because it devolved into something of a shouting match. Despite that it was a good discussion of some of the problems with OpenID, including why there are so many providers and not very many consumers.

Stevan Little gave a really informative talk called Moose: A Postmodern Object System for Perl 5. I’ve recently started using Moose in my Perl projects and it’s been liberating.

I finished up the day at Paul Fenwick’s Illustrated History of Failure talk. Paul looked at various incidents where human error has caused huge monetary or productivity losses, such as the 2003 blackouts in the Northeast. Where possible, he used estimates of the losses and put them in terms of the productivity of a human being. The talk was so popular that the organizers of OSCON asked him to give it again as one of the final keynotes, and that version is available online.

Day 4

The Effects of Stress on Programmers’ and Groups’ Performance explained a lot of the problems with working as a programmer in office environments where interruptions are common. The speaker, Alan Carter, pointed out that:

  • Programming is a mix of composition and productivity
  • Stress is bad for composition activities because it reduces the size of your working memory
  • With a smaller working memory, it is harder to perceive if we are right
  • Thus, we end up using processes (”rituals”) as a guide

Following that talk, I went to a talk given by two of the Subversion developers called Do You Believe in the Users?. They talked about what makes software successful, focusing on the aspects of marketing, customer service (they mentioned letting users participate through issue trackers and forums), low barriers to entry (e.g. TripIt), and hiding complexity.

The rest of my afternoon was spent at the Perl Lightning Talks and Larry’s State of the Onion Address. I was excited to finally experience these parts of the Perl community.

Day 5

I was intrigued by a talk given by Gordon Mohr, from the Internet Archive, about their indexing technology. All of it is open source, including their crawler. Gordon’s demo made it seem like the crawler is easily extensible, so I may be looking more into it for some projects here.

Wrap-up

There was much more to OSCON - I listened to and took place in lots of interesting hallway conversations. There was too much to take in.

Portland was a great city to visit (I got to see the Derek Trucks Band!). Hopefully there’s nothing to the rumors that starting next year, OSCON will be held in San Francisco.

http-authentication 2.0

April 16th, 2008

I’ve finished updating the http-authentication plugin for WordPress 2.5.

This version of the plugin will work with WordPress 2.5.1 and above, due to a change in the wp_authenticate plugin hook.

This plugin will not work on WordPress 2.5, but if you want to test it you can download a nightly build or use Subversion WordPress 2.5.1.

You can download the plugin from the WordPress Plugin Directory.

Finally, for this release, I’m starting a new post for the plugin. Refer to the previous post for support issues, and if you don’t find an answer there, please ask here. Questions asked on the old post about this version will not be answered.

Update (2008-04-25): WordPress 2.5.1 is out.

http-authentication on WordPress 2.5

April 3rd, 2008

As noted elsewhere on this blog, the http-authentication plugin does not run smoothly on WordPress 2.5.

Ryan P and Ben Chun have tracked down some of the changes to WordPress core that have caused problems for the plugin.

As time permits, I’ll be updating the plugin to take into account the new login code. Unfortunately I cannot guarantee a delivery date - work is keeping me incredibly busy right now.

Minor Plugin Updates

March 15th, 2007

I just tagged new versions of the http-authentication and ical-events plugins:

The releases include updated readme files for the really slick WordPress plugin directory that was released today.

The ical-events plugin also contains a minor fix for to avoid a case where a repeat was added after the RRULE end time.

ical-events 1.9

January 1st, 2007

Another quick release of code that’s been sitting in trunk for a while - ical-events 1.9.

This contains fixes to boundary coniditions, support for wp_remote_fopen instead of the url-cache plugin, improvements for repeating events with specific repeat days, and basic support for RFC 2445 event status.

You should be able to download a zip file from Owen Winkler’s site shortly.

http-authentication 1.6

January 1st, 2007

I just tagged version 1.6 of the http-authentication plugin, which adds nonce support for improved WordPress 2.0 compatibility. This had actually sat in trunk for a while; I was lazy about doing a new release.

You should be able to download a zip file from Owen Winkler’s site shortly.

ical-events 1.8

August 20th, 2006

I just tagged version 1.8 of the ical-events plugin, with some formatting fixes for untimed and long-running events.

Also included is support for the cURL library, via the url-cache plugin. If your host has turned off allow_url_fopen, you can still use this plugin. See the readme for more information.

You can download a zip file from Owen Winkler’s site.

ical-events 1.7

May 22nd, 2006

Thanks to some very helpful users, a new version of the ical-events plugin is available. It contains mostly minor updates to the iCalendar parser, a fix for all-day events (thanks, Jennie!), and a fix for repeating events (thanks, Pete!).

As usual, you can download a zip file from Owen Winkler’s site.

ical-events 1.6

April 20th, 2006

I just tagged version 1.6 of the ical-events plugin, with a minor formatting fix and a fix for Google Calendar URLs. The caching code didn’t always generate a unique filename, depending on the URL.

You can download a zip file from Owen Winkler’s site.