Re: [dancer-users] Sad news regarding James Aitken (LoonyPandora), Dancer contributor and pluign author

2014-08-13 Thread Mike Whitaker
That's awful. He was a great bloke, and I enjoyed our chats on #dancer. On 13 Aug 2014, at 10:23, David Precious wrote: > > Hi all, > > (Posted this to dancer-users first; it was suggested that it be posted > to london-pm too as several mongers had met/knew James.) > > > Sadly, my friend and

Re: Regex to match odd numbers

2014-05-27 Thread Mike Whitaker
On 27 May 2014, at 16:22, David Cantrell wrote: > As part of the nasty mess that is CPANdeps, I have this line of code: > > $record->{is_dev_perl} = ( > $record->{perl} =~ /(^5\.(7|9|11|13|15|17|19|21)|rc|patch)/i > ) ? 1 : 0; > > I'd like to not have to remember to add 23 to the list in a yea

Re: PDF creation?

2013-04-22 Thread Mike Whitaker
On a similar subject, what PDF (or even text, assuming I can find something to extract the text on a page by page basis) indexing solutions are there out there in Perl? On 22 Apr 2013, at 11:42, Kieren Diment wrote: > Similarly one can use pandoc (markdown to pdf and many other formats > inclu

Re: API wrapper best practices?

2013-03-23 Thread Mike Whitaker
You mean apart from doing all the things you just said you're not going to do? On 23 Mar 2013, at 16:01, Dave Hodgkinson wrote: > > So I'm writing an interface to an API. It's a simple info request one. > What top tips do we have for writing one that doesn't suck? I'd > just go for a new that

Re: PHP "community"

2013-01-17 Thread Mike Whitaker
On 17 Jan 2013, at 11:04, Peter Corlett wrote: > > Sturgeon's Law applies to PHP and Perl developers alike. The only reason > you're seeing a lot of terrible PHP in the wild because it's a wildly popular > language with a low barrier to entry. Which latter is also true of Perl outside the echo

Re: Wanted: Speakers for London.pm Technical Meeting

2012-10-16 Thread Mike Whitaker
On 16 Oct 2012, at 17:19, Dave Cross wrote: > >> and another one I've been mulling and considering writing to submit to LPW, >> but I'm afraid it wouldn't warrant me many friends in the L.pm community, >> it's titled "The problem with Perl" and is basically me ranting about the >> nice things

Re: Brainbench perl test?

2012-09-04 Thread Mike Whitaker
On 4 Sep 2012, at 13:48, Mr I wrote: > > You do not want to be assessing their knowledge of mathematics. You want to > be assessing their programming acumen And the fib() test, regardless of whether you know what the Fibonacci sequence is or are simply looking at the definition of the problem w

Re: Brainbench perl test?

2012-09-04 Thread Mike Whitaker
On 4 Sep 2012, at 13:26, Mr I wrote: > >> If the candidate doesn't ask "what happens when n is less than 2", he >> may be a passable maintenance programmer but he's not someone I'd hire >> to have any sort of responsibility. >> > > Again your assumptions are on knowing about the fibonacci seque

Re: Who made the law?

2012-08-31 Thread Mike Whitaker
On 31 Aug 2012, at 10:31, Roger Burton West wrote: > On Thu, Aug 30, 2012 at 04:28:27PM -0400, Mark Fowler wrote: > >> Here's my longer drawn out version, stolen from YAPC::NA's code of conduct. >> Comments on this are genuinely welcome, and I'll leave it to the current >> London.pm leader to

Re: Which sucks least? Sky, Talktalk to BT broadband?

2012-08-30 Thread Mike Whitaker
On 30 Aug 2012, at 13:42, Andrew Beattie wrote: > > On 30 Aug 2012, at 10:57, William Blunn wrote: >> If you want a "technical" style service, you could go for AAISP > > I might go with them just on the strength of their website.I just looked > at http://www.aa.net.uk/broadband.html and fo

Re: [OT] Prepaid mobile plans with data, possibly roaming

2012-08-23 Thread Mike Whitaker
On 21 Aug 2012, at 15:48, Nuno Jesus wrote: > > I'm also going to London very soon and I was thinking to order a giffgaff > SIM card. They seem to have the best prices. Am I missing something? I *have* a giffgaff SIM going spare (they send you one after a while if you're a customer to give to a

Re: [ANNOUNCE] London Perl Mongers Technical Meeting 2012-04-11

2012-03-01 Thread Mike Whitaker
On 29 Feb 2012, at 11:26, Sue Spence wrote: > On 29 February 2012 11:04, Paul wrote: >> There are a number of us who live in the home counties, so getting into >> London requires a bit of planning and is quite a hassle. I have seen Damian >> talk before, and while he is interesting, I'd just lik

Re: The proper way to open()

2012-01-30 Thread Mike Whitaker
On 30 Jan 2012, at 17:05, Roger Burton West wrote: > On Mon, Jan 30, 2012 at 04:56:53PM +, Dominic Thoreau wrote: > >> open IN, '<', $cfg || handle_that_error_sub; > > OK, that's the same error I was making, so I'll point out that this will > not fail as desired, but > > open (IN, '<', $cf

Re: 5 minimums for any perl script?

2012-01-30 Thread Mike Whitaker
On 30 Jan 2012, at 16:28, Mark Fowler wrote: > On Sun, Jan 29, 2012 at 11:11 PM, Damian Conway wrote: > >> 3. Strictures: Always 'use strict' (and 'use warnings' during development) >> and >> explicitly state your minimum Perl version requirement. (e.g. 'use v5.10') >> [Ch18: "Strictures",

Re: 5 minimums for any perl script?

2012-01-30 Thread Mike Whitaker
On 30 Jan 2012, at 15:40, Sam Kington wrote: > In the code that we write at $WORK, any filehandle we close tends to be a log > file or something, so adding extra boilerplate to our close statements would > just be annoying. use 5.10; use autodie; perhaps?

Re: 5 minimums for any perl script?

2012-01-30 Thread Mike Whitaker
On 30 Jan 2012, at 15:26, Paul Johnson wrote: > could you explain why you think checking the return value of close() is > silly? I tend to have the opposite opinion. I don't have the slides of the talk I gave on Defensive Perl Programming a couple of years ago, but there's a definite case or t

Re: Ruby?

2011-11-16 Thread Mike Whitaker
On Wed, 2011-11-16 at 14:39 +, Nicholas Clark wrote: > For the avoidance of Heresy*, > the one with the free drinks for newcomers is on the 8th December. Damn. I had forgotten that when I turned up at the October one, which was actually my first :D

Re: Ruby?

2011-11-16 Thread Mike Whitaker
On Wed, 2011-11-16 at 14:18 +, David Dorward wrote: > On 16 Nov 2011, at 14:09, Mike Whitaker wrote: > > He's not the only one who's moved on :D > Yes, but we are shunning you for the "Open Source Is Evil" incident. :D I was misquoted, I tell you! :D

Re: Ruby?

2011-11-16 Thread Mike Whitaker
On Wed, 2011-11-16 at 13:57 +, Dave Hodgkinson wrote: > Yes. There is a W12 cabal. I blame the late Piers. Who has now gone to > a better place. He's not the only one who's moved on :D

Re: Fwd: [uknot] BBC DNS down

2011-11-09 Thread Mike Whitaker
The number for whom that's 'used to' has gone up recently. On Wed, 2011-11-09 at 12:59 +, Jacqui Caren wrote: > I believe a few on here work for aunty. > > Original Message > Subject: [uknot] BBC DNS down > Date: Wed, 09 Nov 2011 12:50:37 + > From: Ray Bellis > Reply-To

Re: Finding Email Address and Phone Numbers in Text

2011-01-07 Thread Mike Whitaker
The slightly cynical answer is 'find out what Apple's Mail.app does and steal it" :D :D On 7 Jan 2011, at 10:29, Dave Cross wrote: > > What's the state of the art in detecting email address and phone numbers > in text? Unfortunately, the Regexp::Common docs say: > > Future releases of the modu

Re: Any of the sysadmins here fancy a bit of freelance work?

2010-12-15 Thread Mike Whitaker
I can, if you like. We can skip the eternal love, though :D On 15 Dec 2010, at 01:27, David Cantrell wrote: > I have a hideously out-of-date Debian 3.1 machine that needs upgrading > to latest-stable. Any of you lovely people fancy doing it in exchange > for copious beer tokens and my eternal lo

Re: LPW - Laptop loan?

2010-11-30 Thread Mike Whitaker
On 30 Nov 2010, at 17:56, James Laver wrote: > I'll be talking about the difficulties of running an international website, > with specific focus on character sets (you > should also go see David Dorward's speech on this), ermmm... mine, not his :)

Re: overlapping find and replace

2010-10-18 Thread Mike Whitaker
You are aware that's illegal XHTML, aren't you? :D On 18 Oct 2010, at 16:11, Michael Lush wrote: > > > I have a string ABCDEFGH and want to highlight two overlapping hits > BCDE and DEFG in HTML to make ABCDEFGH > > The obvious $string =~ s{(BCDE|DEFG)}{$1}g; does not work as the > modified s

Re: Pod::Xhtml (BBC)

2010-07-23 Thread Mike Whitaker
On 23 Jul 2010, at 18:39, Zbigniew Lukasiak wrote: > In the name of yak shaving I am reporting the following: > > There is a bug report at: > https://rt.cpan.org/Dist/Display.html?Name=Pod-Xhtml - it is related > to the recent 290 fail reports from CPAN testers - and it includes a > patch, so it

Re: Appeal for CDs and DVDs

2010-05-07 Thread Mike Whitaker
On 7 May 2010, at 17:44, ian wrote: > Can anyone else on London PM help with the appeal? I am willing to help > co-ordinate collection and to get the discs to Bruce. That would be this shelf of useless CDs I was about to toss? Yup.

Re: Lovefilm, yes or no?

2010-04-16 Thread Mike Whitaker
> Though on t'other hand I can't remember ever having needed to know _any_ > digits of pi for work purposes, so perhaps it's fair ... One 3D CAD system I worked on did have a math library with a #define PI... which I fixed to have better precision.[1] Mike [1] Yes, I know pi to 26 DP. Why do you

Re: Broadband (probably again...)

2010-04-02 Thread Mike Whitaker
On 2 Apr 2010, at 12:05, Matthew Seaman wrote: > On 02/04/2010 11:39:41, Andy Armstrong wrote: >> On 2 Apr 2010, at 11:27, Mike Whitaker wrote: >>>> I'm in a flat in Wandsworth. I'd like a fat and relatively >>>> unmetered broadband package. Who are

Re: Broadband (probably again...)

2010-04-02 Thread Mike Whitaker
On 2 Apr 2010, at 11:39, Andy Armstrong wrote: > On 2 Apr 2010, at 11:27, Mike Whitaker wrote: >>> I'm in a flat in Wandsworth. I'd like a fat and relatively unmetered >>> broadband package. Who are we liking at the moment? >> >> If you're not w

Re: Broadband (probably again...)

2010-04-02 Thread Mike Whitaker
On 2 Apr 2010, at 11:16, Andy Armstrong wrote: > I'm in a flat in Wandsworth. I'd like a fat and relatively unmetered > broadband package. Who are we liking at the moment? If you're not working from home much, A&A (aaisp.net), possibly their service via BE rather than BT if you want speed).

Re: [ANNOUNCE] London Perl Mongers Technical Meeting 12th April 2010

2010-03-27 Thread Mike Whitaker
Screw it. There's pride at stake. > Ah, look at all the london Perlers x 2 > > Damien Conway Comes from Down Under to meet up with London P M > Now and again > > At the Prince Alfred April the twelfth, where there's real ale and cider in stock > Seven o'clock > > Ah, look at all the London Perl

Re: [ANNOUNCE] London Perl Mongers Technical Meeting 12th April 2010

2010-03-27 Thread Mike Whitaker
On 27 Mar 2010, at 21:58, Mike Whitaker wrote: >>>>> ...wow. I'd donate several hundred dollars to $PERL_CHARITY to see that >>>>> happen. Not that I expect to get taken up on this offer. >>>> >>>> Hmm... the tricky bit is finding a tun

Re: [ANNOUNCE] London Perl Mongers Technical Meeting 12th April 2010

2010-03-27 Thread Mike Whitaker
...wow. I'd donate several hundred dollars to $PERL_CHARITY to see that happen. Not that I expect to get taken up on this offer. >>> >>> Hmm... the tricky bit is finding a tune where 'Damian Conway' will scan... >> >> How about the bass line from the Doctor Who theme? >> >> Da-da-da-da

Re: [Fwd: Betonmarkets CTO position]

2010-02-11 Thread Mike Whitaker
On 11 Feb 2010, at 10:58, Dirk Koopman wrote: > Snap.. > > I got one of these as well. Wonder if that is coincidence :-) > > Perhaps we should ask whose mailing list he has managed to get hold of? Dunno, but, FWIW, mine was addressed to my IRC nick not my real first name. -

Re: No more IP for you

2010-01-20 Thread Mike Whitaker
On 20 Jan 2010, at 09:03, Luis Motta Campos wrote: > http://www.nro.net/media/less-than-10-percent-ipv4-addresses-remain-unallocated.html > > Now, the IP Allocation Market will start warming up... if you're sitting > on some IP addresses for several years now, I see big business > opportunities

Re: The bar receipt for Saturday night...

2009-12-07 Thread Mike Whitaker
On 7 Dec 2009, at 15:04, Jasper wrote: > 2009/12/7 Joel Bernstein : >> >> I don't think this should have prevented your participation in the >> post-LPW Saturday Night Femur. > > Tibia honest, that's the worst joke I've ever heard. Indeed. It wasn't even remotely humerus.

Re: Perl Christmas Quiz 2009

2009-12-01 Thread Mike Whitaker
On 1 Dec 2009, at 07:44, Ruud H.G. van Tol wrote: > Abigail wrote: >> On Mon, Nov 30, 2009 at 06:24:12PM +, Chris Jack wrote: > >>> 7) Write a one line program that takes a non-negative integer as an argument >>> and prints the square root when the answer's an integer. >>> >>> Restrictions:

Re: proxypass-like behaviour of CMS content block

2009-11-14 Thread Mike Whitaker
On > Does anyone know of a way to get proxypass-like behaviour inside a > CMS, so that the content block (div, whatever) of every page below a > certain level, say > http://mysite.org/app1, would be generated by the back-end web application? > (So that the trailing path and any vars were passed th

Re: Straight Jackets and Video Cameras

2009-07-29 Thread Mike Whitaker
Adrian Lai wrote: 2009/7/29 Ovid : On the off chance that anyone here is interested, I thought it would be fun to produce a small parody of the "I'm a PC/I'm a Mac" ads. Basically, it would be a series of video shorts along the lines of "I'm Java/I'm Perl", "I'm Ruby/I'm Perl", etc. All in g

Re: Italian Perl Workshop 2009

2009-06-01 Thread Mike Whitaker
get around to submitting something. Hoping to get there. Requires negotiation with wife, as it's in school term time. -- Mike Whitaker| Perl developer, writer, guitarist, photographer m...@altrion.org | Board member, http://www.enlightenedperl.org/ Y!: tuxservers | Blog: http://perl

Re: Encode::Mangled?

2009-06-01 Thread Mike Whitaker
'... In some cases, the feed maintenance folks even do it the way we tell 'em to. -- Mike Whitaker| Perl developer, writer, guitarist, photographer m...@altrion.org | Board member, http://www.enlightenedperl.org/ Y!: tuxservers | Blog: http://perlent.blogspot.com/ IRC: Penfold | Yahoo! UK Ltd - internal CMS team

Re: Tonight - London.pm Moose Tech Talk Evening 19th Feb

2009-02-20 Thread Mike Whitaker
nal social at the Television Centre bar. Can I thank Peter and the rest of the BBC guys for organizing/helping out at the tech meet? I had a blast, and I learned stuff, too. :D -- Mike Whitaker| Perl developer, writer, guitarist, photographer m...@altrion.org | Board me

Re: Perl Christmas Quiz

2008-12-15 Thread Mike Whitaker
intersection xs ys = snd $ foldr aux (ys, []) xs where aux x acc@(ys, r) = if x `elem` ys then (delete x ys, x:r) else acc If Perl is line noise, that just looks like someone barfed up a random chunk of /usr/dict/words :D -- Mike Whitaker - m...@altrion.org

Re: Curry tonight: Manchester 19:00ish Oxford Road (and distributed)

2008-12-11 Thread Mike Whitaker
How were the Manchester and Penfold's-house curry meets? Morrison's rotisserie chicken, due to wifely scheduling crisis. Very tasty. :) -- Mike Whitaker - m...@altrion.org

Re: Perl is Alive!

2008-12-10 Thread Mike Whitaker
On 10 Dec 2008, at 10:01, Nigel Hamilton wrote: But the fact is "perl.com" has been *very* good for Tom. Careful. That's starting to sound like sour grapes. -- Mike Whitaker - [EMAIL PROTECTED]

Re: Perl is Alive!

2008-12-08 Thread Mike Whitaker
On 8 Dec 2008, at 04:25, [EMAIL PROTECTED] wrote: The future is with the youth, and the solution is simple, as Tony said "Education, Education, Education!". I beg to differ. "Marketing, marketing, marketing." -- Mike Whitaker| Perl developer, writer, guitarist,