Re: One for Damian...

2012-04-17 Thread Ian Knopke
That didn't even compile on my system.

On Tue, Apr 17, 2012 at 7:37 PM, Damian Conway dam...@conway.org wrote:
 Is this a scenario for a future  mainstream series ?
 It makes me think of one that has had been in the future of the current
 present me.

 Yes, that old new one Joss Whedon will have done. I shall have loved
 that! Oh, what *will be* it's name? I can never have been remembering it!
 Oh, yes: emiT|Time, that was to have been it!

  am
 D  i
  na




Testing databases with DBIx::Class

2012-01-10 Thread Ian Knopke
Hi,

I need to test some DBIx::Class code where the database may not be
available. I can set up something to generate a small, temporary
SQlite db, but I was wondering what approaches others are currently
using for this. DBD::Mock seems ok but not especially well suited for
use with DBIx. What does the rest of the community currently do?


Ian Knopke
BBC (Recommendation Systems)


Re: Beware: NET-A-PORTER

2011-12-09 Thread Ian Knopke
Actually, I'm finding this quite informative.

From what I've seen Net a Porter does quite a bit to maintain good
relationships with the Perl community and I've heard a lot of good
things about them in the past from friends working there.

It sounds like the recruitment agency could be the real source of
problems here. Maybe that's who we should really be talking about.


Ian Knopke
BBC


On Fri, Dec 9, 2011 at 10:57 AM, Steve Mynott st...@gruntling.com wrote:
 On Thu, Dec 08, 2011 at 10:13:49PM -0500, Rudolf Lippan typed:

 About six weeks ago, I was contacted by a recruiter and asked if I was
 interested in a team lead position in New Jersey, and so begins my story.

 I've no particular reason to defend NAP or doubt your story but publically
 publishing complaints about recruitment doesn't strike me as professional.

 Shit happens.  Deal with it.  We have all been messed around.

 Save the venting for the pub or IRC.

 --
 Steve Mynott st...@gruntling.com



Re: Perl Skills Test

2011-09-29 Thread Ian Knopke
For purposes of comparison, do these other firms pay better for perl
programmers than the BBC? I was under the impression they all paid
about the same.


Ian Knopke

On Wed, Sep 28, 2011 at 4:44 PM, Nicholas Clark n...@ccl4.org wrote:
 On Wed, Sep 28, 2011 at 04:07:50PM +0100, Paul Tweedy wrote:

 I know three people (all good engineers) who lost their jobs this year
 and are struggling to find work, so I find it hard to complain about
 any sort of adjustment to my salary in the current climate.

 I'm not sure how to respond to that, other than it made me stop and think,
 and Yes, good point well made.

 But it also made me think - that's not in London is it?
 There seems to be a hiring frenzy at the moment. IIRC currently recruiting
 are (at least) Net-A-Porter, Photobox, Venda, LOVEFiLM and
 Dave's-bit-of-the-BBC.

 (or if it is London, then is there a difference between companies who say
 that they are recruiting and those that actually *are*?)

 Nicholas Clark



Dynamic object name question

2011-06-30 Thread Ian Knopke
Hi everyone,

I have a whole list of subobjects of the form:

foreach my $t(@types){

if ($t eq 'first'){
Top::First-new(@args);
} elsif ($t eq 'second') {
Top::Second-new(@args);
} elsif
  (add 20 more of these here)
};
}

Since the arguments coming in match the object names (except for case)
there must be away to collapse this into something saner, but I don't
know how. Does anyone have any advice?


Ian Knopke


web hosting

2010-12-31 Thread Ian Knopke
Happy New Year everyone,

I'm looking for a place to host a couple of websites. One is personal,
the other is for a small business and needs some forms. I haven't had
to do this outside of a business or institution in quite a while so
I'm looking for decent/cost effective suggestions. What do other
LPMers do these days?


Ian Knopke


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

2010-03-24 Thread Ian Knopke
Damian, you are a very cool person.


On Wed, Mar 24, 2010 at 9:36 PM, Damian Conway dam...@conway.org wrote:
 Chris is correct that I rarely ever allow my talks to be recorded or uploaded.
 And right about the reason too. Information may well want to be free, but it
 therefore also wants my family to starve.

 However...

 In this particular case, because James and Paul asked most politely, and
 because I certainly don't want James to feel eviserated, and because so
 many individuals from London.pm have been so very generous in supporting
 me over so many years, and because NO-ONE IS *EVER* GOING TO UPLOAD THE
 RECORDING TO YOUTUBE OR VIMEO OR ANY OTHER PUBLIC REPOSITORY but instead
 will quietly pass it around only amongst themselves, and because as a
 community we really wouldn't want this particular talk to publicly
 represent modern Perl (any more than we'd want SelfGOL to), then in this
 particular case I'm happy to grant permission for this talk to be recorded and
 shared discreetly amongst the local members of London.pm.

 Damian



Lecture next Tuesday

2009-12-18 Thread Ian Knopke
For those might be interested, I'll be giving a lecture next tuesday
on a music search technique. The title is “Fast, approximate music
search using interleaved melodic automata”, and it's at 4:00 at Queen
Mary university(London) as part of their DMRN+4 event.

Here's the URL: http://www.elec.qmul.ac.uk/dmrn/events/dmrnp4/

Not strictly perl related, except that all the coding and examples are
in Perl. The basic technique is a kind of regular expression for music
search.


Ian Knopke



Re: Sending $US to the US

2009-10-07 Thread Ian Knopke
A few ideas, based on my own international money transfer experiments:

1) Will they accept a credit or debit card number for the payment?
This works with the Canadian government; visa is universal!

2) I believe you can transfer money through a paypal account. I've
never done it, and I'm not sure what their fee is.

3) There are services like western union that do money transfers.

4) Otherwise I'd be tempted to a friend or someone in the Perl
community from the US to make the payment for you, and get them back
the next time you seem them. Lots of people in computers or IT get
around the world over the course of a year, and enjoy being paid in
beer.


Ian



On Tue, Oct 6, 2009 at 2:45 PM, Ovid publiustemp-londo...@yahoo.com wrote:
 So, in order to get married, I need my birth certificate.  Texas requires, 
 since I live outside the US, that I mail all of my paperwork to them, along 
 with $27 US (not surprisingly, they don't accept pounds).  That's about £17. 
 My bank charges £20 for the bank draft, plus the £17 face value.

 Anyone happen to know a less expensive way to send, via mail, US dollars to 
 the US, short of sending cash?

 Cheers,
 Ovid
 --
 Buy the book         - http://www.oreilly.com/catalog/perlhks/
 Tech blog            - http://use.perl.org/~Ovid/journal/
 Twitter              - http://twitter.com/OvidPerl
 Official Perl 6 Wiki - http://www.perlfoundation.org/perl6





Re: Algorithm::Evolutionary (journal article)

2009-10-05 Thread Ian Knopke
Hmm, that's neat! And you're correct, I can't get at it online. I've
previously played with the module a bit, but not extensively. Also, I
too am in the process of adjusting to Moose. But we can talk about all
that tonight.

BTW, where shall we meet today? I live near Manor House, north on the
Picadilly line, so it isn't too much trouble for me to get close to
Imperial.


Ian

On Mon, Oct 5, 2009 at 10:19 AM, Bob MacCallum uncool...@gmail.com wrote:
 Just saw this on the GP list...

 Algorithm::Evolutionary, a flexible Perl module for evolutionary computation

 Journal: Soft Computing - A Fusion of Foundations, Methodologies and
 Applications

 Abstract: This paper describes Algorithm::Evolutionary (  A::E  ), a
 Perl module released under an open source license and designed for the
 exploration and exploitation of evolutionary algorithms. We describe
 the design decisions taken to enhance flexibility, how performance was
 improved by using several implementation tweaks, and what kind of
 design patterns were applied for its development. This work also tries
 to dispel the myth of low performance of scripting languages by
 comparing it with a state-of-the-art library (ECJ) written in Java.
 Besides, we are interested in assessing its efficiency in several
 possible evolutionary settings, finding out what kind of behavior we
 can expect, and what can be done to improve it. Applications already
 written using  A::E   are also described, along with how it can be
 used to create new operators. Finally, some conclusions are drawn from
 the design experience.

 Keywords  Evolutionary algorithms - Evolutionary computation - Perl -
 CPAN - Frameworks - Design patterns

 http://www.springerlink.com/content/8h025g83j0q68270/

 Let me know if you have problems with the closed access content!  I
 might, *cough*, be able to help.

 One day when I CPANify PerlGP, I will take a look at
 Algorithm::Evolutionary and try to use its base classes (although I
 wanted to use Moose, so maybe not).

 cheers,
 Bob.

 --
 http://evolectronica.com - survival of the funkiest




Re: [OT [OT]] - assering database query results

2009-09-17 Thread Ian Knopke
Hi Nicholas,

Would something like this work?

my $query='select * from table';

$query .= ' limit 1' if $stilltesting;


Ian


On Thu, Sep 17, 2009 at 1:34 PM, Nicholas Clark n...@ccl4.org wrote:
 Off topicly off topic, as it's not even about that 4 letter P word.

 So, we have quite a lot of our database queries in config files, with
 placeholders, etc

 Some of them are only supposed to return 1 row.
 However, if our assumptions are wrong, they might return multiple rows.
 This isn't a fatal bug in our code, which is written such that it takes the
 first row returned. However, it is a bug in our logic.

 Is there a good way to assert that there is only one row? So that in the
 development (and QA) environments, it is fatal to breach assumptions.
 But production keeps going.

 Nicholas Clark



Orange uber alles again

2009-09-14 Thread Ian Knopke
It seems that orange is not just the key to internet success, but also
applies to the music business.


http://www.guardian.co.uk/lifeandstyle/2009/sep/14/flame-haired-flavour-of-month