Re: Robot turtles

2013-09-23 Thread Matt Freake
 I'm not aware of any 3-8 year olds in this group, am I missing the point?

Are you trolling again?


On Mon, Sep 23, 2013 at 2:32 PM, Joel Bernstein j...@fysh.org wrote:

 Aren't you still living in Austria? Child abuse is practically a national
 sport, it seems.


 On 23 September 2013 15:25, Nicholas Clark n...@ccl4.org wrote:

  On Mon, Sep 23, 2013 at 02:20:40PM +0100, Will Crawford wrote:
   On 23 September 2013 13:58, Nicholas Clark n...@ccl4.org wrote:
   ...
But E seems to be more interested in rockets than water*. Maybe
 she'll
become a rocket scientist.
  
   Or, if the hydrophobia is strong enough, a hovercraft engine?
 
  She certainly seems to have enough energy. But I'm not sure how to
 harness
  it effectively.
 
  Will I get into trouble with the authorities if I build a child-sized
  hamster
  wheel? Will the feed-in tariff make it worth me connecting it to the
 grid?
  :-)
 
  Nicholas Clark
 
 



Re: Using grep on undefined array

2013-08-14 Thread Matt Freake
On Wed, Aug 14, 2013 at 8:40 AM, Mark Overmeer m...@overmeer.net wrote:

 * Andrew Beverley (a...@andybev.com) [130813 23:24]:
  Could someone please explain to me why the following outputs an empty
  string rather than *?

 @fields != @$fields, which is causing the confusion.


I don't think the original poster is confusing those two, and when I
applied 'use strict' to the original code (with the sub) it didn't help (no
warnings or errors). The bit I'm stuck on is why does

   my @fields = grep($_ ne 'domain', @$fields);

autovivify $fields but

   my @fields = @$fields;

does not.


use strict;

sub get()
{   my $fields = shift;
# my @fields = grep($_ ne 'domain', @$fields); # autovivifies
$fields
# my @fields = @$fields; # does not autovivify fields
   }

   get();


Re: Perl School on Saturday

2013-04-04 Thread Matt Freake
You should look into doing a Webinar


Matt


On Thu, Apr 4, 2013 at 4:31 PM, Dave Cross d...@dave.org.uk wrote:

 Quoting Mark Stewart m...@originalstewart.com:

  I would like to attend but cannot make this Saturday. Do you have a
 podcast
 or the like I can download, even for a fee?


 Apparently what I need here is a FAQ :-/

 Dave...




Re: PHP community

2013-01-17 Thread Matt Freake
On Thu, Jan 17, 2013 at 4:21 PM, Jérôme Étévé jerome.et...@gmail.comwrote:

 , Perl remaining significantly more popular than PHP on the
 US job market.


I'm probably missing something (it's been a long day) but I don't really
understand that graph. If I click on the 'Perl jobs' link it returns ~
41,000 jobs and if I click on the 'PHP jobs' link it returns ~ 281,000 jobs.


Re: 25 Years of Perl

2012-11-22 Thread Matt Freake

 1/ Technical

 What CPAN modules deserve to be mentioned as part of Perl's history? Which
 Perl infrastructure projects are (or were) important? Are there any other
 technical things that need to be covered?


Has the CPAN shell always been there? Discovering that made me life a lot
easier and made me feel less like I had to be sysadmin to get the best out
of the language.


Matt


Re: 25 Years of Perl

2012-11-20 Thread Matt Freake
On Mon, Nov 19, 2012 at 5:29 PM, Dave Cross d...@dave.org.uk wrote:


 What CPAN modules deserve to be mentioned as part of Perl's history? Which
 Perl infrastructure projects are (or were) important? Are there any other
 technical things that need to be covered?


Templating modules (embperl, Template Toolkit and Mason) seemed a
considerable step-forward for me at the time and hopefully contributed to
more maintainable code.


Matt


Re: 25 Years of Perl

2012-11-20 Thread Matt Freake
On Tue, Nov 20, 2012 at 9:52 AM, Dave Cross d...@dave.org.uk wrote:


 Yeah. Got TT and Mason on my list. Was Embperl ever really important. I
 know I have a strong aversion to it (and I think you might also have the
 same aversion - engendered by the same project).


That project was the only one where I used a proper templating system, so
I felt obliged to mention it :-) I did struggle to find others using it
though, when searching for support/online resources/etc (although Gerald
himself was always very helpful)


Re: Brainbench perl test?

2012-09-04 Thread Matt Freake
   And besides, I don't think I'd really want to work with a programmer
 who
   didn't know what the Fibonacci sequence is :-)
 
  I dunno. Think of the teaching opportunities :)
 


My concern would be, given that interviews are already a fairly stressful
situation, that the developer familiar with Fibonacci is immediately put at
ease. I know I can often rattle off the answer to something I know far more
quickly and in a confident manner, than something I'm seeing for the first
time. Am I a good enough interviewer to distinguish a good developer, and
someone who's seen or coded the problem before ? No.

For that reason, I would have thought there were other, better, recursion
problems out there I could use.


Matt


Re: [ANNOUNCE] IMPORTANT: change of venue TONIGHT

2011-10-06 Thread Matt Freake
On Thu, Oct 6, 2011 at 5:13 PM, Leo Lapworth l...@cuckoo.org wrote:
 Firstly apologies, the pub for tonight has just told us they are closed /
 sold out!

Co-incidentally I was about to post about this. You're better off at a
different pub, I was there on Friday and they'd run out of all beer
except Fosters by 9pm. Plus the staff seemed exceptionally clueless.
It was as if Mum and Dad had gone away and left the children in
charge.

Shame as I'm sure it used to be quite nice. Hopefully it'll pick up again.


Cheers,

Matt


Re: Impending arrival

2011-10-04 Thread Matt Freake
On Tue, Oct 4, 2011 at 3:08 PM, Dave Hodgkinson daveh...@gmail.com wrote:

 On 4 Oct 2011, at 12:49, Ashley Hindmarsh wrote:

 http://www.o2shepherdsbushempire.co.uk/event/31298/caravan-performing-songs-from-the-classic-album-in-tickets

 Looking at the venue site they only offering tickets for level 3 (Up in the
 Gods), which usually means they are getting close to selling-out.
 The online booking will give you the option of email tickets for £2.25 +
 usual bkg fee, but would be the safest bet.

 This also means you get a little sit down. Which is nice.


Plus you don't want to be in the mosh-pit when Curved Air take to the stage.



Re: Coming to London

2011-09-28 Thread Matt Freake
On Wed, Sep 28, 2011 at 7:47 AM, David H. Adler d...@panix.com wrote:

 Also, while I'm here, anyone interested in seeing Caravan at Shepard's
 Bush on Saturday the 8th? I'm pretty sure I'm never going to get to see
 them on this side of the Atlantic.


A Caravan loving friend advises that Richard Sinclair and David
Sinclair won't be performing and that Richard Coughlan is now so
decrepit they've brought in another drummer, whilst he has been
demoted  to just playing percussion. But don't let that put you off.



Matt Freake



Re: Writing About Perl

2011-08-23 Thread Matt Freake
On Tue, Aug 23, 2011 at 12:48 PM, Jason Clifford ja...@ukfsn.org wrote:

 On Tue, 2011-08-23 at 11:39 +0100, Dave Cross wrote:
  So, purely hypothetically...
 
  If a popular Linux magazine had given you the opportunity to write a
  3000 word article giving a practical project-based demonstration of
  how Perl had moved on in the last ten years, what would you do? What
  would you write about?

 10 years ago the popular view was the perl always ended up with an
 unmaintainable code base and that it was not very easy to implement.

 I'd suggest something to show how the use of CPAN makes it easy to
 produce big projects without writing lots of code and that the code
 produced is easy to maintain. I'd also consider doing something on top
 of Plack and a popular web framework.


As someone who used to mostly code Perl but mostly doesn't anymore (and
re-joined this list to find out more about what the state-of-the-art in the
world of the Camel was) this is the kind of thing I'd be interested in. I do
read those kind of magazines, but no idea if I'd be the target audience for
the article.


Matt