Dave's Free Press: Journal
http://www.cantrell.org.uk/david/journal
violence, pornography, and rude words for the web generationen-us2012-04-12T22:56:18Z I Love Github
http://www.cantrell.org.uk/david/journal/id/i-love-github
Github makes accepting patches from other people and applying them soooooo easy!<p>Instead of having to extract the patch from an email onto my workstation and manually apply it, applying <a href=https://github.com/DrHyde/perl-modules-Net-Random/pull/1>this contribution</a> was a simple matter of clicking on one button.<p>Thanks Mark - and thanks Github as well!<p>And I was also amused to see that the new release of <a href=https://metacpan.org/module/Net::Random>Net::Random</a> was exactly five years after the previous one. This adds support for fetching your randomness over SSL. 2012-04-12T22:56:18Z Meet Bramble
http://www.cantrell.org.uk/david/journal/id/bramble
Until recently, this 'ere blog was run using the excellent <a href=http://search.cpan.org/~mdi/Bryar-4.0/lib/Bryar.pm>Bryar</a> software, which I maintained after its <a href=http://www.simon-cozens.org/blogs/simon>original author</a> stopped supporting when he stopped being a programmer and went off to Save The Heathen. Bryar fitted by needs and worked well, but it had several features that I just never used, and others that were never fully implemented. I added a few features that I wanted, but it was getting harder and harder to hack on as my needs diverged more and more from Simon's.<p>So a few weeks ago, I wrote my own replacement from scratch. It's called Bramble, because areas of bramble bushes are sometimes called a briar patch. You probably didn't notice when I deployed it, because it supports all the old URLs so nothing broke*. And by leaving out support for stuff that I never used anyway, it's become easier to add shiny new features. For example, it was about 30 seconds work to make it support wildcards in IDs, so if you want to see all my book reviews you can <a href=http://www.cantrell.org.uk/david/journal/id/*-in-books>click here</a>. Naturally, these views of the data are also available <a href=http://www.cantrell.org.uk/david/journal/id/*-in-books/format/rss>in RSS</a>.<p>* you may have wondered why it re-published everything one night in the RSS feeds - that's because the canonical URLs of all my posts changed. They now look REST-ish, like <code>http://www.cantrell.org.uk/david/journal/id/remixing-insanity</code> instead of <code>http://www.cantrell.org.uk/david/journal/index.pl?id=remixing-insanity</code>. The old URLs will still work though. 2011-03-10T22:53:34Z Negative keywords
http://www.cantrell.org.uk/david/journal/id/bryar-negative-keywords
<a href=/david/journal/index.pl/id_bryar-feature-keywords>Nearly three years ago</a> I added keyword support to this 'ere journal. Well, now it supports <em>negative</em> keyword filtering. So if you want to see posts that are <em>not</em> tagged "geeky", for example, <a href=/david/journal/index.pl/keyword_!geeky>here's the linky</a>. 2010-01-31T12:38:25Z Broken out of jail
http://www.cantrell.org.uk/david/journal/id/broken-out-of-jail
Today I <a href=http://wikiproxy.cantrell.org.uk/Jailbreak_(iPhone_OS)>jailbroke</a> my phone, using the stupidly named <a href=http://iphonejtag.blogspot.com/2009/10/blackra1n.html>blackra1n</a>, and following the step-by-step guide <a href=http://www.iclarified.com/entry/index.php?enid=5885>here</a>. There were a couple of points during the jailbreak at which iTunes tried to start - presumably something it did made the iPhone appear to have been just plugged in and so iTunes tried to start, and so I killed iTunes each time with extreme prejudice before it had a chance to communicate with the iPhone and potentially brick it. In retrospect, I should have turned that off in iTunes first before doing this.<p>Everything seems to have worked just fine.<p>So far I've found and installed the following apps:<p><ul> <li>Backgrounder <li>Categories <li>some five-icon dock thing <li>some five-icons-per-line launcher thing <li>SBSettings <li>OpenSSH</ul><p>What other apps should I try out?<p>The quality of non-Appstore apps is definitely lower than that of officially sanctioned ones in the Apple Appstore - a few others that I've tried, in particular Winterboard and Terminal, have been quite buggy and I've removed them. Even so, it's the user's choice to install dodgy software from third parties, and Apple shouldn't make it so hard for people to shoot themselves in the foot if they want to do that. Either they should allow unvetted apps into the Appstore (and have it pop up a gigantic warning every time you try to install one, and segregate them in a ghetto so that you don't accidentally stumble across them) or they should officially support installing apps from third-party sources (again with warnings). 2010-01-04T00:20:52Z Graphing tool
http://www.cantrell.org.uk/david/journal/id/graphing-tool
<a href=/david/chart.pl?plot=y=(x/2)^2|x=y^3+3sin(y^2)-5y+4><img src=/david/chart.pl?title=+;plot=y=(x/2)^2|x=y^3+3sin(y^2)-5y+4;scale=0.3 align=left></a><a href=/david/chart.pl?plot=x=sin(6t^2)+2t-2,y=2sin(t^2)-4t><img src=/david/chart.pl?title=+;plot=x=sin(6t^2)+2t-2,y=2sin(t^2)-4t;scale=0.3 align=right></a>I made a shiny thing! It can plot arbitrary functions of the form x=f(y) or y=f(x). Under the skin, it just massages its arguments and passes them through to <a href=http://gnuplot.info/>Gnuplot</a>. <a href=/david/chart.src.txt>Here</a>'s the source code.<p><b>Update:</b> now 48.3% even shinier - see on the right 2009-10-03T21:35:19Z Ill
http://www.cantrell.org.uk/david/journal/id/ill
I am ill. I've been ill since Thursday, with a cold. You're meant to be able to cure a cold with [insert old wives tale remedy here] in 5 days, or if you don't, it'll clear itself up in just under a week. So hopefully today is the last day.<p>So what have I done while ill?<p>On Friday I became old (see previous post), and went to the <a href=http://www.royalacademy.org.uk/exhibitions/byzantium/>Byzantium</a> exhibition at the Royal Academy. It was good. You should go.<p>Saturday was the <a href=http://conferences.yapceurope.org/lpw2008/>London Perl Workshop</a>. My talk on closures went down well, and people seemed to understand what I was talking about. Hurrah! I decided that rather than hang around nattering and going to a few talks, I'd rather hide under my duvet for the rest of the day.<p>I mostly hid on Sunday too, and spent most of the day asleep. In a brief moment of productivity, I got my laptop and my phone to talk to each other using magic interwebnet bluetooth stuff. I'd tried previously without success, but that was with the previous release of OS X. With version X.5 it seems to Just Work, so no Evil Hacks were necessary.<p>The cold means that I can't taste a damned thing, not even bacon. So now I know what it's like to be Jewish. Being Jewish <em>sucks</em>.<p>And today, I am still coughing up occasional lumps of lung and making odd bubbling noises in my chest, although my nasal demons seem to be Snotting less than they were, so hopefully I'll be back to normal tomorrow. 2008-12-01T10:26:03Z Module pre-requisites analyser
http://www.cantrell.org.uk/david/journal/id/cpandeps-release
As a service to module authors, <a href=http://cpandeps.cantrell.org.uk/>here</a> 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 <em>its</em> dependencies are. 2007-08-03T20:22:55Z Wikipedia handheld proxy
http://www.cantrell.org.uk/david/journal/id/wikipedia-proxy
I got irritated at how hard it was to use <a href=http://en.wikipedia.org/>Wikipedia</a> 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 <a href=http://wikiproxy.cantrell.org.uk/>Wikipedia handheld proxy</a>.<p>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 <a href=http://www.perl.org/>perl</a>, <a href=http://search.cpan.org/~gaas/libwww-perl-5.806/>LWP</a>, and <a href=http://search.cpan.org/~pgollucci/mod_perl-2.0.3/>mod_perl</a>, and is hosted by <a href=http://www.keyweb.de/vrsrds/index.shtml>Keyweb.de</a>. 2007-07-21T08:09:03Z New Bryar feature
http://www.cantrell.org.uk/david/journal/id/bryar-feature-keywords
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.<p>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.<p>You can even subscribe to keyword RSS feeds, like <a href=http://www.cantrell.org.uk/david/journal/index.pl/keyword_bryar?format=rss>this</a>. 2007-05-27T22:35:20Z XML::Tiny released
http://www.cantrell.org.uk/david/journal/id/xml-tiny
I have released my <a href=http://www.cantrell.org.uk/david/tech/perl-modules/XML-Tiny-1.0.tar.gz>XML::Tiny</a> 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 <em>the</em> 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. 2007-01-26T21:55:43Z New Bryar release
http://www.cantrell.org.uk/david/journal/id/bryar-software-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 <a href=http://randomness.org.uk/>Bob</a> that he could have all the <a href=http://search.cpan.org/src/DCANTRELL/Bryar-3.0/Changes>shiny new features</a> I had planned) I've finally got round to releasing a <a href=http://search.cpan.org/~dcantrell/Bryar-3.0/>new version of Bryar</a>, the software what provides the brains behind this 'ere august journal.<p>The most important change is that I released the stuff for filtering out comment spam. 2007-01-20T22:02:42Z