Ranguard's Journal http://use.perl.org/~Ranguard/journal/ Ranguard's use Perl Journal en-us use Perl; is Copyright 1998-2006, Chris Nandor. Stories, comments, journals, and other submissions posted on use Perl; are Copyright their respective owners. 2012-01-25T02:10:54+00:00 pudge pudge@perl.org Technology hourly 1 1970-01-01T00:00+00:00 Ranguard's Journal http://use.perl.org/images/topics/useperl.gif http://use.perl.org/~Ranguard/journal/ www.perl.org - redesign http://use.perl.org/~Ranguard/journal/39888?from=rss <p> Well, it's taken me 6 weeks of evenings and the odd weekend, but I'm proud to say the new <a href="http://www.perl.org/">http://www.perl.org/</a> site has just gone live. </p><p> This is a complete redesign and content review. Hopefully it's cleaner and easier for people to actually get the information they are after. </p><p> Whilst I was at it I also implemented this skin for <a href="http://dbi.perl.org/">http://dbi.perl.org/</a> and <a href="http://learn.perl.org/">http://learn.perl.org/</a> (which needs a lot more loving now you can actually see what's there... not much). </p><p> My work (<a href="http://www.foxtons.co.uk/">http://www.foxtons.co.uk/</a>) have donated some of my time, and also some of the designers on my team's time, without which it would have taken even longer. </p><p> So enjoy! </p> Ranguard 2009-11-12T22:33:25+00:00 journal LPW &amp; DBIC talk http://use.perl.org/~Ranguard/journal/37987?from=rss Slides from my London Perl Workshop talk are available at: <br> <br> <a href="http://www.slideshare.net/ranguard/dbixclass-beginners-presentation/">http://www.slideshare.net/ranguard/dbixclass-beginners-presentation/ </a> <br> <br> I created an event on slideshare; 'LPW2008' so if you are also uploading slides please add to that. <br> <br> Enjoy Ranguard 2008-11-30T17:25:45+00:00 journal PDF Encryption and printing http://use.perl.org/~Ranguard/journal/35492?from=rss <p>I happened to note that if you pass a PDF through imagemagick's 'convert', convert it strips out the PDF Encrypted flag. </p><p> I needed to merge several PDF files into a single document, and using PDF::API2 this is really easy. This was until I found that someone had accidentally set the PDF Encrypted on some of the files when they were generated. </p><p> pdfinfo is the natty little tool which told me they were encrypted. Then convert sorted the problem out for me. </p><p> PDF can be very picky and quite a few generators actually get it wrong, I've seen one file which when printed through windows corrupted some of the very small text, but when sent via CUPs actually crashed the printer (so windoz was somehow correcting, reminded me of bad HTML and browsers 'correcting'). </p><p> It was eventually tracked down to the pdf2ps part, which did give warnings, once they were fixed (upgrading Cario and switching to pnm images) printing from either windoz or CUPs was fine. </p><p> Having said that I no longer fear having to generate something as a PDF and actually would go so far as to enjoy using them. </p> Ranguard 2008-01-26T09:46:33+00:00 journal YAPC EU - accomodation http://use.perl.org/~Ranguard/journal/33699?from=rss Arrrggg - this is one of those times I wish I'd just got on and done that task when it arose. In this case calling the hotel in Vienna to give them my credit card number to confirm a reservation - it's been on my todo list for about 3 weeks. <br> <br> Long and short is both YAPC hotels are now full, so I've ended up being in much further away; Falkensteiner Hotel am Schottenfeld to be exact - doesn't seem too far, but it's a pain! Ranguard 2007-07-05T15:43:25+00:00 journal HackDay is over... http://use.perl.org/~Ranguard/journal/33541?from=rss It's been a wild weekend, lightening and rain playing a central roll which wasn't to be expected. I enjoyed the <a href="http://hackdaylondon07.backnetwork.com/">London Hackday</a>, the organisers worked really hard. Note for future conferences - make a wired network where possible, never rely on wireless - it might not be as 'cool', but it'll be more reliable, then build wireless on top of that. I had several projects which came to mind, but when I got started I findout the API's I needed to be lacking. The Yahoo guys did help out by giving me access to Yahoo Local for the UK, which is in Alpha right now. Unfortunately it showed when we couldn't get the Lat/Long search working. Out of the 70+ hacks which were done there were about a dozen outstanding ones. But I'm too knackered to report more, I'm sure others will. All in all much fun and the bean bags are fab (which we got to take home). Ranguard 2007-06-17T19:44:46+00:00 journal YAPC::Europe flights http://use.perl.org/~Ranguard/journal/33496?from=rss London Heathrow to Vienna Vienna International, Thursday 23 August 2007 - 15:30 BD2812 <br> <br> Vienna Vienna International to London Heathrow, Friday 31 August 2007 - 17:15 BD2805 Ranguard 2007-06-11T20:44:24+00:00 journal sshfs on OSX http://use.perl.org/~Ranguard/journal/32207?from=rss A few weeks ago <a href="http://use.perl.org/~acme/">Acme</a> mentioned that sshfs rocked. Sshfs as you might guess lets you mount anything you can access through ssh as if it was a network file system. <br> <br> I got all excited about this and the next weekend I tried to install it on OSX, but to my dismay I found that fuse (something sshfs relies on) was Linux specific and not available for OSX<nobr> <wbr></nobr>:( <br> <br> I complained to Acme; who then pointed me to a <a href="http://code.google.com/p/macfuse/">http://code.google.com/p/macfuse/</a> which had been released that day - talk about good timing. <br> <br> Now this was fantastic I managed to get it installed - and it worked. <br> <br> The only problem was how painful it is to build, so I've put together a bundle of everything you will need (except Xcode which you can get from Apple), and two shell scripts to do the install for you. <br> <br> So download <a href="http://leo.cuckoo.org/projects/sshfs/bundle.tar.gz">http://leo.cuckoo.org/projects/sshfs/bundle.tar.gz</a> and enjoy (usual blurb about taking not responsibility for anything what so ever goes here) <br> <br> Leo Ranguard 2007-01-19T19:42:39+00:00 journal Pod-casting property. http://use.perl.org/~Ranguard/journal/30165?from=rss <p>So lots of property sites have RSS - I bet they don't have <a href="http://www.foxtons.co.uk/buy/feeds.html">Podcasts</a></p><p>Thanks to <a href="http://www.astray.com/">Leon</a> and some Text to Speach and a bit of Perl we now have mp3 audio of our property descriptions.</p> Ranguard 2006-07-04T13:20:19+00:00 journal Perl is crap http://use.perl.org/~Ranguard/journal/29913?from=rss <p>My wife works for a big medical company as project manager; so she deals with their inhouse developers a lot and my work often comes up in conversation. She is always told "Perl is crap", "It's only for hackers", "Perl is hard to read", "Perl is used so you have job security" (as no one else can userstand it).</p><p>Now I imagin most of these developers have never seen much/any decent Perl / heard of CPAN or realise that you can do automatic tests so easily.</p><p>So where do I tell my wife to point them to so they can see the light? - I'm not trying to convert them (though that would be nice), but I also want to be able to arm my wife (figuratively) with a response.</p><p>I've said the first thing she should mention is that the World Health Organisatoin used Perl for it's CRM system; Amazon, BBC and Yahoo all use lots of Perl, and there are success stories out there.</p><p>What I'm after is a decent reprisal to all of their points - the main answer is you can shoot your self in the foot with any language if you do not write it well/document/test. Java and XML are NOT the solutions to every problem - I can do rappid clean development with Perl, but they're problably not going to take my word for it.</p> Ranguard 2006-06-15T09:29:21+00:00 journal The ultimate Perl module list http://use.perl.org/~Ranguard/journal/29550?from=rss <p>In response to <a href="http://www.oreillynet.com/onlamp/blog/2006/05/mvc_frameworks_in_perl.html">Dave's</a> post about there being too many modules on CPAN that do the same thing, but no clear reason why a newbie to Perl would use one over the other; and my personal annoyance at some of the pointless perl modules (where Authors haven't looked at existing modules). I am proud to announce <a href="http://perl.cuckoo.org/">http://perl.cuckoo.org/ - The ultimate Perl module list</a>.</p><p> If you are looking for a module, you should look at this site first, only then should you check CPAN. </p><p> I did consider trying to use Kwality ratings etc, but at the end of the day I think it's about the modules that you use in day to day life that matters. </p><p> So, enjoy - I'll update it from time to time, I may even add tags and other external URLs, but the main point it there is now a single place where I can point people who are starting out in Perl and let them know the basic modules they should be aware of. </p> Ranguard 2006-05-07T14:58:56+00:00 journal Paid for code doesn't last long... http://use.perl.org/~Ranguard/journal/29484?from=rss <p>Once a year or so I go and have a look at the old websites I used to work on, interested in how they are doing and what's changed. Unfortunatly I've found that the quality of them more often than not seems to have dropped.</p><p>Most seem to have switched away from being Perl and are now asp or php, design seems to be a mimumal and it's very easy to see they are just there to make as much money as possible, rather than to give as good a service as possible (I like to think if you do the latter then you get the former).</p><p>One site which did Theatre reviews and Tickets, may still have the quality of review content (I can't really tell), but everything else has been farmed out, the tickets are through a branded version of another site, there is merchandise available through another site, and worse yet they're offering 'dating' links through to another site. To top is all off there is no consistency in the navigation as you are sent off to these other sites, and they've got little flashing 'new' tags next to the ticket section - which has ALWAYS been there.</p><p>We (London.pm IRC) then started talking about code, and how much of the code we've written is probably not used any more.</p><p>Nicholas then made an interesting point:</p><p>- I suspect that almost all the code I wrote between 1999 and 2003 has gone that way (not being used/deleted)</p><p>- sorry, almost all the *paid-for* code</p><p>And that's the same for me - although for me it's between 1996 and 2001 - the only code still around and in action is that code which I did in my personal time or which the company I was at allowed me to open source. I guess the main difference is that paid for code tends to be very domain (e.g. company/project) specific where as code which gets open sourced is more generic.</p><p>I think it's just interesting that paid for code doesn't last as long as open source code. I do wonder what would have happened if I was a PHP programmer, or an ASP programmer - would it have made any difference ?</p> Ranguard 2006-05-01T11:26:11+00:00 journal Businesses that are too secure! http://use.perl.org/~Ranguard/journal/27915?from=rss <p>So it's that time of year again where the internet steps in to make my life a whole lot easier - Xmas shopping, and on the whole it just works, you find stuff and you give your credit card details, and it gets delivered</p><p>Now this year I wanted to buy something for my brother, so used one of those price comparison sites (which are usually rubbish as you often can't order by price and more!), and found the store I wanted to order from. I go through the whole register process and then go to pay.</p><p>After entering all my credit card details (using a HSBC payment system) I get told that my card has been rejected and to contact the company, so the next day this is what I do. My phone call is answered by a very nice person who tries to be as helpful as possible, but tells me they don't have access to why my card was rejected, but that maybe it was the way I put my address in. I said ok, could I just pay over the phone.. and was told they don't accept payment except on the website!</p><p>I'm sorry... but if I was running a company I'd take payment in any way I could... I asked why and was told it was to help prevent credit card fraud! - as the person on the phone was so nice I gave their website another try, but my card was rejected again</p><p>I then went to a different company who would take my money, my order arrived 2 days later.</p><p>Moral for businesses... let people give you money!</p> Ranguard 2005-12-09T17:46:48+00:00 journal LPW 2005 http://use.perl.org/~Ranguard/journal/27753?from=rss <p>Another London Perl Work shop survived and I was very impressed - I had been sligtly worried that the beginner track wasn't going to be interesting enough over all, but most of the talks we great or at least good.</p><p>Leon, Ben and I went for lunch, only to find we had 5 mins to eat it when it arrived as we had to be back on time for the afternoon talks as the presenter was using my laptop!</p><p>Leon and my talk about <a href="http://www.mightyv.com/">MighTyV.com</a> seemed to go down well, I've put up a <a href="http://leo.cuckoo.org/projects/mightyv.pdf">PDF</a> version if anyone want's it.</p><p> MJD was the talk after us - I now understand what all the fuss was about - he's a great speaker - covering the basics and even as someone who thinks of themselves as a seasoned programmer I learnt a huge amount</p><p>A few of us (probably about 80 or so - decanted to the pub and then after Fotangos money ran out moved on for food - Sea Urchin is a new one for me, and not something I'll rush out to try again - but interesting none the less<nobr> <wbr></nobr>:)</p><p>Due to popular demand Leon and I will be opening up the code for MighTyV in a little while - we need to do a bit of code cleanup before then</p> Ranguard 2005-11-27T09:24:00+00:00 journal YAPC::EU 2005 http://use.perl.org/~Ranguard/journal/26586?from=rss <p> There have been many journal posting about the talks (<a href="http://use.perl.org/~acme/journal">acme</a>) so I shan't bother going into details. The conference was great - very well organised, Birmingham.pm have a lot to live up to. I really liked the dinner, to which everyone was invited, but this maybe hard to do in the UK, just because of the cost. </p><p> I've talked to people about all sorts of things; Multilingual website design, how crap SOAP is in general, someone would like authentication adding to SOAP::Lite::Simple, but from what I understand it's not supported in SOAP::Lite, although Jesse said it was possible, you have to do some very nasty hacks to implement it. I've learned about <a href="http://search.cpan.org/~pajas/XML-XSH2-2.0.2/">xsh</a> which allows you to walk an valid *ML document as if it was a directory structure. I also talked to Paul (pjcj) about integrating Devel::Cover with Test::Nightly. </p><p> One of the things I like about conferences is having a peak at what apps other people are using, I started <a href="http://osx.oholic.info/wiki/doku.php">http://osx.oholic.info/wiki/</a> when a geek friend of mine first got his iBook and didn't know what apps to install. There are so many out there, but actually having someone recommend 'cool' apps is much easier than hunting for stuff - especially when you're not searching for something specific. The best were <a href="http://www.adiumx.com/">Adium</a>, an IM client and <a href="http://www.kitzkikz.com/Sogudi">Sogudi</a> - a Safari plugin for short cuts to search results. </p><p> Modules to checkout if you are not aware of them: SVK and Debug-ebug, Debug-ebug-HTTP were the best modules, and RunApp is interesting, Devel::Cover is cool, oh and if you are a CPAN author you need to check out <a href="http://cpants.dev.zsi.at/">http://cpants.dev.zsi.at/</a> - turn those red's green! (well if you can). </p><p> The Auction was great - I managed to spend the Euros I wanted to donate on stuff; 50 Euros for acme's ability to wear orange at next years YAPC and 50 Euros on a signed conference cap - not sure what I'll do with that but as they say "it's all for a good cause" and I didn't spend 500 Euros on a T-shirt - which my wife was very happy about. </p><p> So.. see you in Birmingham 2007 - if not before! </p> Ranguard 2005-09-03T10:52:03+00:00 journal SOAP::Lite::Simple http://use.perl.org/~Ranguard/journal/25865?from=rss I realeased <a href="http://search.cpan.org/dist/SOAP-Lite-Simple/">SOAP::Lite::Simple</a> version 1 last night, I'd be really interested if anyone has feedback. I think that's one of the hardest things about writing modules is you put them on CPAN and don't know if anyone is going to use it. My main problem is I don't know of any open<nobr> <wbr></nobr>.NET or 'other' web services I can check against in my tests. Ranguard 2005-07-24T08:45:04+00:00 journal Mac::Glue::Apps::AddressBookExport http://use.perl.org/~Ranguard/journal/22848?from=rss <p> Just uploaded Mac::Glue::Apps::AddressBookExport to CPAN, it uses Mac::Glue, Text::vCard and Template Toolkit to generate webpages from your Apple Address Book. </p><p> Next project is to put together a little site for other Mac::Glue scripts, I've seen several around but there isn't a dedicated site for them. </p> Ranguard 2005-01-23T14:02:03+00:00 journal London Perl Workshop http://use.perl.org/~Ranguard/journal/22274?from=rss <p>First off, I'd like to thank all those in organising the LPW, it was great! I got there for about 9:30, wondered round talking to various people. Dave Green did a really cool opening speach - with a song as promised. </p><p> It was good to see so many people I didn't recognise as well as so many I did. The word was obviously spread in the right places, I wonder what effect it will have on the London perl comunity and perl in London Companies. </p><p> The talk times seemed to work well, 30 mins for the learner track and 45 for the advanced. Enough to give you a taster and pointers where to look for more information. </p><p> I did my talk in the afternoon <a href="http://leo.cuckoo.org/projects/lpw/">Pages, results and caching</a> I was a bit nervious, this being my first talk to such a large group of people. I realised after (heignsight being such a wonderful thing) that I should have said I was just covering some aspects of the modules I covered and people should read the docs to find out more. I didn't have any questions asked when I asked, I don't know if this was because I explained it so clearly, or people didn't have a clue what I was talking about<nobr> <wbr></nobr>:)! </p><p> I guess I'll see how bad it was when the video comes out! </p><p> It did spark a few conversations after the talk, so at least two people were listening! </p><p> There was then much drinking, a dodgy Chinese and more drinking. </p><p> I'm of for Xmas hols on Tuesday so have a great Christmas (or "Holiday Season" if thats your thing) and a fantstic New Year</p> Ranguard 2004-12-12T13:40:24+00:00 journal divs and stylesheets http://use.perl.org/~Ranguard/journal/18090?from=rss I just put together a site for my grans archive <a href="http://www.jocelynherbert.org/">Jocelyn Herbert</a> it's the first time I've actually bother to try using div's and style sheets propperly and it was easier than I thought. Still have more to learn - like how to float a div below all other content - but it definatly makes putting a site togeter easier. Ranguard 2004-03-27T17:49:28+00:00 journal LPM Technical meet http://use.perl.org/~Ranguard/journal/16053?from=rss Last night was the final <a href="http://london.pm.org/">London.pm</a> technical meeting of the year, some very interesting stuff. Heres <a href="http://leo.cuckoo.org/blog/archives/000013.html">my notes on it</a> Ranguard 2003-11-28T08:33:59+00:00 journal Indian wedding http://use.perl.org/~Ranguard/journal/15943?from=rss I've just got back from one of my best friends weddings - in India - it was an amazing experience, such colours, people and food as to make it undescribable... <br> <br> <a href="http://leo.cuckoo.org/cgi-bin/yapi/yapi.cgi/2003/India_Nov">So here are some photos</a> <br> <br> Now for, umm, breakfast, or was it lunch, no maybe it's dinner - food in anycase! Ranguard 2003-11-22T17:50:14+00:00 journal SVG::TT::Graph http://use.perl.org/~Ranguard/journal/14217?from=rss After a lot of discussion and input from the London.pm mailing list (thanks to everyone for their feedback) I've created SVG::TT::Graph. I'm waiting to get full authorization from work before putting it up on CPAN (but I don't see it being a problem). The first version is available from my <a href="http://leo.cuckoo.org/projects/">project page</a>, you can see <a href="http://leo.cuckoo.org/projects/SVG-TT-Graph/examples/">examples</a> of what can be generated here. <br> <br> The main aim is to be able to create high quality (and customisable) graphs that can be used for presentations. There are other SVG graphing tools out there and they're great for representing information in different ways, but don't lend themselves to corporate presentations. <br> <br> Currently we support line, bar and horizontal bar graphs, we're working one Pie charts now and will then go back and add more features (multiple data sets on bar graphs arn't handled very well). <br> <br> Why I'm doing this 3 days before my wedding is anyones guess! - probably to avoid thinking about it and getting nervious<nobr> <wbr></nobr>:) Ranguard 2003-08-20T07:33:36+00:00 journal Stag / Wedding http://use.perl.org/~Ranguard/journal/14176?from=rss Well, I survived my <a href="http://leo.cuckoo.org/cgi-bin/yapi/yapi.cgi/2003/August/Stag/">Stag</a> - those photos have been censored - there's some I'm just not going to put on the net!<br> <br> This weekend I get Married!<nobr> <wbr></nobr>:) <br> <br> Just hoping the weather will hold. Ranguard 2003-08-18T10:10:28+00:00 journal YAPC::EU 2003 http://use.perl.org/~Ranguard/journal/13667?from=rss Lots of other people have commented on what's been happening so I won't go into detail. Lots of good talks. <p> Was very good to see the over view of XML modules and SAX as I've played with a lot of them, but my general approach was just to try different modules until something worked, but I feel more confident in choosing the right module for the job now. I still hate UTF-8, but realise it's somethng I'm going to have to understand more and get used to using. </p><p> As usual the best part of YAPC is talking to people about what they are doing, talking through ideas, the CPANTS BOF was interesting for example, and Visser persuaided me to go to his talk about using wxPerl and creating perl Applications as I can already see several places I could use this at work. </p><p> The Tequiela - ummm, I mean Siesta talk it about to start, you'll understand my confustion over the title later on! </p><p> Once again I am convinced that where there not this wonderful community I could not be the programmer I am today, and even if I was, it wouldn't be half as much fun.</p> Ranguard 2003-07-24T11:53:06+00:00 journal FlyFan - Cool! http://use.perl.org/~Ranguard/journal/12548?from=rss It was my birthday last month and a friend just gave me my birtthday present <a href="http://www.kensington.com/html/1265.html">A FlyFan</a> - basically a usb powered fan that has rubbery blades and kicks out a loverly stream of air. The cool thing about it is the cable it's mounted on is flexable but stays where you twist it, so you can have it on a laptop sitting on your knee! Ranguard 2003-06-01T20:43:01+00:00 journal Text::vCard Binary - help http://use.perl.org/~Ranguard/journal/12249?from=rss Well, Jay and I got together after my positing about Business::vCard and there is now Text::vFile and <a href="http://leo.cuckoo.org/projects/Text_vCard/">Text::vCard</a>, both on CPAN, both not quite finished, but almost. <br> <br> I'm trying to work on binary stuff in a vCard, photo, sound etc, but what ever I use (Apple Address, MS Outlook) none of them actually export the the binary. So... does anyone know of an app which does, or even better, could send me some examples (mail to vcard at leo.cuckoo.org). <br> <br> I'd also be interested if most apps are already using the latest RFC format (version 3 - which is what we currently support) or are still on 2.1, so any other examples would be much appreciated. Ranguard 2003-05-16T14:16:57+00:00 journal BD &amp; Business::vCard http://use.perl.org/~Ranguard/journal/11850?from=rss Slightly late write up of my Birthday... <br> <br> It was my Birthday last weekend.. and I got older. Had a BBQ - of course on the one day in 2 weeks that it was actually cold and not magically sunny. <br> <br> There was much drinking and eating and people getting to know each other (this is the first party I've had in our new house - the old one being a large shoe box). <br> <br> I would just like to point out that being given the bumps at ages 28 is an odd experience, and my bruises are just about healed! I do however think that I came of better than the 10 people who decided to do it. I thought they were about to give up after number 12, but to get 'em credit they carried on! <br> <br> I managed to get a nasty cold the day after and have been off ill since (I hate being ill, especially when looking at a screen hurts your eyes!). <br> <br> In perl related news I'm working on <a href="http://leo.cuckoo.org/projects/Business_vCard/">Business::vCard</a> feed back welcome, more work still to be done before it's ready for CPAN but it's almost there. Ranguard 2003-04-25T17:53:19+00:00 journal SQL table &amp; docs from XML http://use.perl.org/~Ranguard/journal/11206?from=rss <p> About two years ago had a project which required creating 76 tables, it seemed that it was a better idea to auto generate this as the spec kept changing and I wanted to ensure that it was documented at the end. There was no way I was going to be arsed to do it later! </p><p> Life being what it is, I had totally forgotten about it until this afternoon when I started another project with many tables. Anyway, it's not perfect but did the job for me and with some tweeking might be useful for others so feel free to do with as you will.. </p><p> <a href="http://leo.cuckoo.org/projects/xml_db_schema/">http://leo.cuckoo.org/projects/xml_db_schema/</a> </p> Ranguard 2003-03-24T21:45:23+00:00 journal XML::LibXML - tracking the error http://use.perl.org/~Ranguard/journal/10772?from=rss <b>Senario:</b> <br> XML Import system on staging server works fine - then goes intermittent, then stops completly. <br> <br> Error message: "Can't coerce UNKNOWN to string in entersub at<nobr> <wbr></nobr>/usr/local/lib/perl/5.6.1/XML/LibXML.pm line 239" <br> <br> Guess 1 - search google for answer - nothing <br> <br> Guess 2 - the system which generates the XML is going wrong (has happened many times - nasty VB thing). - Wrong - can run the import on the development machine fine.<br> <br> Guess 3 - hmm, the libxml2 library is a few versions different, role back to the same one that is on the development machine, still not working. <br> <br> Several hours of trying stuff at random later - nothing, then I notice that we have a problem with a CGI script on the staging server - in fact it's spawning child processes and reaching MaxClients then freezing apache. <br> <br> Then the answer hits me - the XML has ENTITY tags - which are found on the local web server (e.g. which ever server the import script is running). So if XML::LibXML is trying to parse the file and can't read the<nobr> <wbr></nobr>.ent files (as the web server isn't responding) then it dies with that - oh so helpful - error message! <br> <br> An hour later - having written a 'hello world' script, that still takes the apache server down and stripped the config to the bones, I find that someone has both a 'ScriptAlias' and ProxyPass (with the ProxyPassReverse) set up for<nobr> <wbr></nobr>/cgi-bin/ - obviously you should never have both - but I wouldn't have expected it to cause some sort of spawning loop. <br> <br> Anyway - removed the ProxyPass stuff restarted apache - it no longer hung - ran the import script - it worked fine - every time. <br> <br> I wish the error had been clearer in the first place as it would have saved me half a day of work. Ranguard 2003-02-25T09:17:20+00:00 journal Server down and all's well http://use.perl.org/~Ranguard/journal/10017?from=rss Having posted to the mod_perl list at the start of the week that our fail over system had never been tested in anger, one of our servers died today (should have known it would!) <br> <br> We use wackamole on the front end (HTML / Images and proxy to apps) so if one goes down the other automatically takes on the IP address. We have two back end machines, one for DB and one for Apps. So all the front end machines proxy to the apps box and that then connects to the DB machine. <br> <br> Anyway, it was our apps server (sun box - been up for over a year) that has died, I'll take a trip to the hosting company next week to see if I can fix it. So, install all our modules (already on the box because of rsync) on the DB (also sun) machine, restart mod_perl, alter the front end machines<nobr> <wbr></nobr>/etc/hosts file so that mp.XXX.com now points to the DB machine and vloa - it all works. <br> <br> You get a really good feeling when the shit hits the fan and it only takes ten mins to clean it off! <br> <br> Considering just swapping out the sun box as it doesn't have a support contract and we don't have a test box (everything else is debian on Compaq). <br> <br> Oh, one last note, we've had 5 compaq servers over the last year, three of which (after about a years continual use) have died and needed a new power supply. On the plus side Compaq have always had an engineer there within 4 hours as their support contract dictates (though we've never _needed_ them there in 4 hours). Ranguard 2003-01-16T16:51:15+00:00 journal Nice feedback http://use.perl.org/~Ranguard/journal/9290?from=rss I just got this loverly email, which makes I feel warm and good and sort of tingly... *cough*, anyway, it's really nice to get feedback on my first module from someone other than people I know... <br> <br> <code> "Hi Mr. I-Created-Data::Pageset-Leo! <br> <br> Just a few bytes to say I have started to use Data::Pageset, and it is just peachy! <br> <br> If it turns out to be just as helpful as I think it will be, you might even get another chuffed email from me!" </code> <br> <br> It reminds me I don't send enough of these my self to people who's modules I've used. Ranguard 2002-12-05T14:25:45+00:00 journal