version: desktop | mobile

Dave's Free Press

the Slightly Less Bad And Wrong Blog Edition

 

Recent posts

Less important journals

Search




Subscribe

rss

Journals that link here

Powered by

Bryar 3.0!
geeky silly politics rant weird meta religion music transport drinking perl culture london photography olympics cooking hacking language sport media rsnapshot holidays books web spam film whisky bryar yapc palm telecoms review cars travel etiquette bastards clothes lolcats amazon curry security home unix phone go environment bbc latin anglo-saxon privacy linux maths gps work
Fri, 3 Aug 2007

Module pre-requisites analyser

As a service to module authors, here is a tool to show a module's pre-requisites and the test results from the CPAN testers. So before you rely on something working as a pre-requisite for your code, have a look to see how reliable it and its dependencies are.

Posted at 20:22:55 by David Cantrell
keywords: geeky | hacking | perl
Permalink | 0 Comments
Sat, 21 Jul 2007

Wikipedia handheld proxy

I got irritated at how hard it was to use Wikipedia on my Treo. There's so much rubbish splattered around their pages that it Just Doesn't Work on such a small screen. Given that no alternatives seemed to be available - at least, Google couldn't find any - I decided to write my own Wikipedia handheld proxy.

It strips away all the useless rubbish that normally surrounds Wikipedia pages, as well as things like the editing functions which are also hard to use on portable devices. Internally, it's implemented using perl, LWP, and mod_perl, and is hosted by Keyweb.de.

Posted at 08:09:03 by David Cantrell
keywords: geeky | hacking | palm | perl
Permalink | 2 Comments
Sun, 3 Jun 2007

New Bryar feature

Another tiny new Bryar feature - the CGI front-end has sprouted an extra method 'is_mobile' which you can call to figger out whether the user is on a mobile device or not. It's available in your templates like this:

[% PERL %] $stash->set( is_mobile => $stash->get('bryar')->config()->frontend()->is_mobile() ); [% END %]

and then use is_mobile like any other TT variable.

Posted at 17:01:04 by David Cantrell
keywords: bryar | geeky | hacking | meta
Permalink | 0 Comments
Sun, 27 May 2007

New Bryar feature

I just added support for specifying keywords (which the cool kids call "tags") in your Bryar postings. Please see if you can break things while I test them on this journal.

Please note that I've not yet added keywords to my old postings. That will take quite a while to do, so please be patient. At the time of writing, keywords 'bryar' and 'whisky' should do vaguely useful things.

You can even subscribe to keyword RSS feeds, like this.

Posted at 22:35:20 by David Cantrell
keywords: bryar | geeky | hacking | meta
Permalink | 0 Comments
Fri, 26 Jan 2007

XML::Tiny released

I have released my XML::Tiny module. The parser at its core is less than twenty lines of code. Pretty easy to follow code too, I think, and that also includes error handling. One of my aims in writing it was to keep memory usage and code to the absolute minimum, so it doesn't handle all of XML. The documentation says that it supports "a useful subset of XML". Personally, I think it supports the useful subset. It's certainly enough to parse the data I get back from Amazon when I use their web services, and to parse an RSS feed.

Posted at 21:55:43 by David Cantrell
keywords: geeky | hacking | perl
Permalink | 1 Comment
Sat, 20 Jan 2007

New Bryar release

As I've been promising to do for ages (it's over a year since Simon said I could take over maintenance of it, and several months since I promised Bob that he could have all the shiny new features I had planned) I've finally got round to releasing a new version of Bryar, the software what provides the brains behind this 'ere august journal.

The most important change is that I released the stuff for filtering out comment spam.

Posted at 22:02:42 by David Cantrell
keywords: bryar | geeky | hacking | spam
Permalink | 1 Comment

Archive

2007

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan

2006

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan

2005

Jan Feb Mar Apr
May Jun Jul Aug
Sep Oct Nov Dec
Dec
Nov
Oct
Sep
Aug
Jul
Jun
May
Apr
Mar
Feb
Jan