Re: Brainbench perl test?

2012-09-04 Thread Mr I
Really not one to make comment but this one pulled on my goatee On Tue, Aug 28, 2012 at 9:50 PM, Simon Wistow si...@thegestalt.org wrote: On Tue, Aug 28, 2012 at 08:41:14PM +0200, Joel Bernstein said: It's a red flag of lack of clue if a prospective employer tries to use this to weed out

Re: Brainbench perl test?

2012-09-04 Thread Roger Burton West
On Tue, Sep 04, 2012 at 01:03:22PM +0100, Mr I wrote: You're not testing the candidates knowledge of maths you're testing their knowledge of programming. 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

Re: Brainbench perl test?

2012-09-04 Thread Mr I
On Tue, Sep 4, 2012 at 1:13 PM, Roger Burton West ro...@firedrake.orgwrote: On Tue, Sep 04, 2012 at 01:03:22PM +0100, Mr I wrote: You're not testing the candidates knowledge of maths you're testing their knowledge of programming. If the candidate doesn't ask what happens when n is less than

Re: Brainbench perl test?

2012-09-04 Thread Mike Whitaker
On 4 Sep 2012, at 13:26, Mr I cub4u...@gmail.com 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

Re: Brainbench perl test?

2012-09-04 Thread Dave Mitchell
On Tue, Sep 04, 2012 at 01:26:46PM +0100, Mr I wrote: Again your assumptions are on knowing about the fibonacci sequence. So a candidate that does not know the fibonacci sequence but identifies a possible flaw in the question can only be a maintenance programmer? No, the question needs zero

Re: Brainbench perl test?

2012-09-04 Thread Roger Burton West
On Tue, Sep 04, 2012 at 01:26:46PM +0100, Mr I wrote: Again your assumptions are on knowing about the fibonacci sequence. So a candidate that does not know the fibonacci sequence but identifies a possible flaw in the question can only be a maintenance programmer? The question contains a

Re: Brainbench perl test?

2012-09-04 Thread Mike Whitaker
On 4 Sep 2012, at 13:48, Mr I cub4u...@gmail.com 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

Re: Brainbench perl test?

2012-09-04 Thread Dave Cross
Quoting Mr I cub4u...@gmail.com: Consider the example I gave. How will you approach that? I bet you'd approach completely differently if you KNEW vedic mathematics. Your example said: write a function ved(n, m) that implements the 16 sutras* and uses them to return the result That's not

Re: Brainbench perl test?

2012-09-04 Thread Cosimo Streppone
On Tue, 04 Sep 2012 14:48:01 +0200, Mr I cub4u...@gmail.com wrote: You do not want to be assessing their knowledge of mathematics. You want to be assessing their programming acumen I'd argue that programming *is* mathematics, in some sense. -- Cosimo

Re: Brainbench perl test?

2012-09-04 Thread Piers Cawley
On 4 September 2012 14:17, Dave Cross d...@dave.org.uk wrote: Quoting Mr I cub4u...@gmail.com: Consider the example I gave. How will you approach that? I bet you'd approach completely differently if you KNEW vedic mathematics. Your example said: write a function ved(n, m) that implements

Re: Brainbench perl test?

2012-09-04 Thread Avishalom Shalit
I remember meeting someone who knew what the sequence was but forgot the name. Ended up calling it the Fettucini sequence. Bonus points. -- vish On 4 September 2012 14:12, Piers Cawley pdcawley-london.0dd...@bofh.org.ukwrote: On 4 September 2012 14:17, Dave Cross d...@dave.org.uk wrote:

Re: Brainbench perl test?

2012-09-04 Thread Mr I
I agree with you. It is not to much to expect a question / answer like (2). Hopefully you'd reward such an answer with more than 'maintenance' work :) On Tue, Sep 4, 2012 at 1:44 PM, Roger Burton West ro...@firedrake.orgwrote: On Tue, Sep 04, 2012 at 01:26:46PM +0100, Mr I wrote: Again your

Re: Brainbench perl test?

2012-09-04 Thread Jasper
On 4 September 2012 14:12, Piers Cawley pdcawley-london.0dd...@bofh.org.uk wrote: On 4 September 2012 14:17, Dave Cross d...@dave.org.uk wrote: Can you not see the difference? It doesn't matter that it's a well-known mathematical sequence. The required behaviour has been specified in the

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

Re: Brainbench perl test?

2012-09-04 Thread Will Crawford
On 4 September 2012 14:27, Jasper jaspermcc...@gmail.com wrote: On 4 September 2012 14:12, Piers Cawley pdcawley-london.0dd...@bofh.org.uk wrote: ... Or, in an attempt to really drive it home: blarg(n) is equal to blarg( n - 1 ) * 2 + blarg( n - 2 ) There you go. Not the Fibonacci

Re: Can I get some advice on best way to start Perl Programming

2012-09-04 Thread David Cantrell
On Mon, Sep 03, 2012 at 11:36:58AM +0100, David Hodgkinson wrote: On 31 Aug 2012, at 12:16, Rick Deller r...@eligo.co.uk wrote: Can anyone suggest more books or another way of doing it ? STFUAWSC. That's a good way to get started - my first perl code was patches to make Matt's Script Archive

Re: Brainbench perl test?

2012-09-04 Thread Dominic Humphries
On Tue, 2012-09-04 at 14:31 +0100, Matt Freake wrote: For that reason, I would have thought there were other, better, recursion problems out there I could use. Tower of Hanoi? :)

Re: Can I get some advice on best way to start Perl Programming

2012-09-04 Thread Dave Cross
Quoting David Cantrell da...@cantrell.org.uk: On Mon, Sep 03, 2012 at 11:36:58AM +0100, David Hodgkinson wrote: On 31 Aug 2012, at 12:16, Rick Deller r...@eligo.co.uk wrote: Can anyone suggest more books or another way of doing it ? STFUAWSC. That's a good way to get started - my first perl

Re: Brainbench perl test?

2012-09-04 Thread Greg McCarroll
On 4 Sep 2012, at 13:26, Mr I wrote: On Tue, Sep 4, 2012 at 1:13 PM, Roger Burton West ro...@firedrake.orgwrote: It's equivalent to asking you to write a function ved(n, m) that implements the 16 sutras* and uses them to return the result. A task that maybe easily done by many an

Re: Brainbench perl test?

2012-09-04 Thread David Cantrell
On Tue, Sep 04, 2012 at 02:31:22PM +0100, Matt Freake wrote: My concern would be, given that interviews are already a fairly stressful situation, that the developer familiar with Fibonacci is immediately put at ease. You are aware, I trust, that the whole point of an interview is to be

Re: Brainbench perl test?

2012-09-04 Thread Jasper
On 4 September 2012 14:38, Will Crawford billcrawford1...@gmail.com wrote: On 4 September 2012 14:27, Jasper jaspermcc...@gmail.com wrote: On 4 September 2012 14:12, Piers Cawley pdcawley-london.0dd...@bofh.org.uk wrote: ... Or, in an attempt to really drive it home: blarg(n) is equal

Re: Brainbench perl test?

2012-09-04 Thread Piers Cawley
On 4 September 2012 14:41, Dominic Humphries d...@thermeon.com wrote: On Tue, 2012-09-04 at 14:31 +0100, Matt Freake wrote: For that reason, I would have thought there were other, better, recursion problems out there I could use. Tower of Hanoi? :) Tower of Hanoi (with a proper description

Re: Brainbench perl test?

2012-09-04 Thread Dave Cross
Quoting Jasper jaspermcc...@gmail.com: On 4 September 2012 14:38, Will Crawford billcrawford1...@gmail.com wrote: On 4 September 2012 14:27, Jasper jaspermcc...@gmail.com wrote: On 4 September 2012 14:12, Piers Cawley pdcawley-london.0dd...@bofh.org.uk wrote: ... Or, in an attempt to really

Re: Brainbench perl test?

2012-09-04 Thread Smylers
Piers Cawley writes: Tower of Hanoi is always a better example for solving with recursion than the fibobloodynacci sequence. If nothing else, the recursive solution isn't quite so immediately obvious from the problem, the terminating condition is obvious and an iterative solution isn't quite

Re: Brainbench perl test?

2012-09-04 Thread Jacqui Caren
On 04/09/2012 15:03, David Cantrell wrote: You are aware, I trust, that the whole point of an interview is to be discriminatory? Discrimination is probably too evocative a word :-) Also an good interview is a two way exchange on info. Jacqui

Re: Brainbench perl test?

2012-09-04 Thread David Hodgkinson
On 4 Sep 2012, at 16:07, Smylers smyl...@stripey.com wrote: Piers Cawley writes: Tower of Hanoi is always a better example for solving with recursion than the fibobloodynacci sequence. If nothing else, the recursive solution isn't quite so immediately obvious from the problem, the

Re: Can I get some advice on best way to start Perl Programming

2012-09-04 Thread Peter Corlett
On 4 Sep 2012, at 15:04, Dave Cross wrote: Quoting David Cantrell da...@cantrell.org.uk: [...] But it's only a good way to get started. At some point you're better off learning from someone else. Dave Cross is a good someone else. *blush* Well, I hear nothing but good feedback from people

Re: Brainbench perl test?

2012-09-04 Thread Roger Burton West
On Tue, Sep 04, 2012 at 05:18:20PM +0100, David Hodgkinson wrote: When was the last time you recursed in day to day web type code? Within the last month.

Re: Brainbench perl test?

2012-09-04 Thread Avishalom Shalit
crawling ? xml parsing ? json printing of structures ? -- vish On 4 September 2012 17:18, David Hodgkinson daveh...@gmail.com wrote: On 4 Sep 2012, at 16:07, Smylers smyl...@stripey.com wrote: Piers Cawley writes: Tower of Hanoi is always a better example for solving with

Re: Brainbench perl test?

2012-09-04 Thread Uri Guttman
On 09/04/2012 08:03 AM, Mr I wrote: I've literally had people who were Senior programmers (whatever that means) who, when given the instructions Given that fib(n) is equal to fib(n-1) + fib(n-2) write a fib function in any language didn't even get to the sub fib { my $n = shift;

Re: Brainbench perl test?

2012-09-04 Thread Piers Cawley
On 4 September 2012 17:18, David Hodgkinson daveh...@gmail.com wrote: On 4 Sep 2012, at 16:07, Smylers smyl...@stripey.com wrote: Piers Cawley writes: Tower of Hanoi is always a better example for solving with recursion than the fibobloodynacci sequence. If nothing else, the recursive

Re: Brainbench perl test?

2012-09-04 Thread Uri Guttman
On 09/04/2012 09:20 AM, Avishalom Shalit wrote: I remember meeting someone who knew what the sequence was but forgot the name. Ended up calling it the Fettucini sequence. Bonus points. told that to my wife and she just about snorted pasta out of her nose! she didn't know the name fibonacci

Re: Brainbench perl test?

2012-09-04 Thread Uri Guttman
On 09/04/2012 09:41 AM, Dominic Humphries wrote: On Tue, 2012-09-04 at 14:31 +0100, Matt Freake wrote: For that reason, I would have thought there were other, better, recursion problems out there I could use. Tower of Hanoi? :) but at least 20 disks and it has run before the interview is

Re: Brainbench perl test?

2012-09-04 Thread David Hodgkinson
On 4 Sep 2012, at 17:24, Roger Burton West ro...@firedrake.org wrote: On Tue, Sep 04, 2012 at 05:18:20PM +0100, David Hodgkinson wrote: When was the last time you recursed in day to day web type code? Within the last month. I meant normal people.

Re: Brainbench perl test?

2012-09-04 Thread Paul Makepeace
On Tue, Sep 4, 2012 at 9:18 AM, David Hodgkinson daveh...@gmail.com wrote: When was the last time you recursed in day to day web type code? A few weeks ago. It's a flawed premise in any case. There's plenty of techniques and ideas professionals don't make routine use of but you'd be pretty

Re: Brainbench perl test?

2012-09-04 Thread Uri Guttman
On 09/04/2012 12:05 PM, Jacqui Caren wrote: On 04/09/2012 15:03, David Cantrell wrote: You are aware, I trust, that the whole point of an interview is to be discriminatory? Discrimination is probably too evocative a word :-) Also an good interview is a two way exchange on info. i said that

Re: Brainbench perl test?

2012-09-04 Thread Uri Guttman
On 09/04/2012 12:18 PM, David Hodgkinson wrote: On 4 Sep 2012, at 16:07, Smylers smyl...@stripey.com wrote: Piers Cawley writes: Tower of Hanoi is always a better example for solving with recursion than the fibobloodynacci sequence. If nothing else, the recursive solution isn't quite so

Re: Brainbench perl test?

2012-09-04 Thread Chris Jack
Piers Cawley pdcawley-london.0dd...@bofh.org.uk wrote On 4 September 2012 14:41, Dominic Humphries d...@thermeon.com wrote: On Tue, 2012-09-04 at 14:31 +0100, Matt Freake wrote: For that reason, I would have thought there were other, better, recursion problems out there I could use.

Re: Brainbench perl test?

2012-09-04 Thread Paul Makepeace
On Tue, Sep 4, 2012 at 9:59 AM, Chris Jack chris_j...@msn.com wrote: I haven't yet had a problem which I felt was worthwhile of a memo-ized solution - but that might just be indicative of the sort of perl work I do. While memoization is a perfect fit for this solution a) the ability to spot

Re: Can I get some advice on best way to start Perl Programming

2012-09-04 Thread Dave Cross
On 04/09/12 17:23, Peter Corlett wrote: On 4 Sep 2012, at 15:04, Dave Cross wrote: Quoting David Cantrell da...@cantrell.org.uk: [...] But it's only a good way to get started. At some point you're better off learning from someone else. Dave Cross is a good someone else. *blush* Well, I

Re: Brainbench perl test?

2012-09-04 Thread David Cantrell
On Tue, Sep 04, 2012 at 05:05:21PM +0100, Jacqui Caren wrote: On 04/09/2012 15:03, David Cantrell wrote: You are aware, I trust, that the whole point of an interview is to be discriminatory? Discrimination is probably too evocative a word :-) Why d'you think I used it? :-) -- David Cantrell

Re: Brainbench perl test?

2012-09-04 Thread David Cantrell
On Tue, Sep 04, 2012 at 05:18:20PM +0100, David Hodgkinson wrote: On 4 Sep 2012, at 16:07, Smylers smyl...@stripey.com wrote: Piers Cawley writes: Tower of Hanoi is always a better example for solving with recursion than the fibobloodynacci sequence. If nothing else, the recursive

Re: Can I get some advice on best way to start Perl Programming

2012-09-04 Thread David Cantrell
On Tue, Sep 04, 2012 at 03:04:06PM +0100, Dave Cross wrote: Quoting David Cantrell da...@cantrell.org.uk: But it's only a good way to get started. At some point you're better off learning from someone else. Dave Cross is a good someone else. *blush* Envelope full of used banknotes in the

Re: Brainbench perl test?

2012-09-04 Thread David Cantrell
On Tue, Sep 04, 2012 at 10:22:47AM -0700, Paul Makepeace wrote: If you're working in the web and haven't added memcached to something, that would strike me as surprising. It is worryingly common to have not used it or anything like it, and to not even know that it exists. -- David Cantrell |

Moderated Mailing List

2012-09-04 Thread Tom Hukins
Hi, I've set this mailing list to moderate all postings. I'll switch it back to normal in due course. I hope to see many of you in the pub on Thursday for the usual enthusiastic, interesting discussion about Perl and (un?)related chat. Tom

Re: Moderated Mailing List

2012-09-04 Thread Tom Hukins
On Tue, Sep 04, 2012 at 08:09:02PM +, Tom Hukins wrote: I've set this mailing list to moderate all postings. I'll switch it back to normal in due course. For those who don't already know, this means I, or another moderator, will filter what shows up on this list for now. If we reject your

Re: Brainbench perl test?

2012-09-04 Thread Kieren Diment
On 05/09/2012, at 2:40 AM, David Hodgkinson wrote: On 4 Sep 2012, at 17:24, Roger Burton West ro...@firedrake.org wrote: On Tue, Sep 04, 2012 at 05:18:20PM +0100, David Hodgkinson wrote: When was the last time you recursed in day to day web type code? Within the last month. I