Re: Schwartzian transform

2014-08-13 Thread Dermot
ld stretch to more than 90 records as these are user created selection. If N is < 90, I'll opt for ''for'. Dermot.

Re: Schwartzian transform

2014-08-13 Thread Dermot
On 13 August 2014 12:17, Aaron Crane wrote: > Dermot wrote: > > my $count = 1; > > my @sorted = > > map { $ref->{ $_->[0] }->{position} = $count++; $ref->{ $_->[0] } } > > sort { $a->[1] <=> $b->[1] } > > map [ $_, $ref->

Re: Schwartzian transform

2014-08-13 Thread Dermot
$_] } > values %{$ref}; > > > That is filthybut i like it. There are times I need to keep the structure as a hashref so I can find items by their key and there are times when I want to pass the data around as an ordered array so this works well for me too. Dermot

Re: Schwartzian transform

2014-08-13 Thread Dermot
legibility of such code but as an exercise, it's good to know. That last expression is interesting, Let's see if I'm getting it. Modify the value of {position} in that hashref then return the hashref. The ';' allowing you to perform more than one operation in the map expressi

Re: Schwartzian transform

2014-08-13 Thread Dermot
>I assume that Dermot was using the second version that doesn't need the braces and does need the comma. I am often caught out between when to use the comma and not but it's "()" and comma or braces and no comma, I believe. Abigal: I wanted to avoid doing the foreach loo

Schwartzian transform

2014-08-13 Thread Dermot
lf this if I can but I've hit a wall. Any suggestions? Thanks, Dermot. use strict; use warnings; use Data::Dumper; my $ref = { '603927' => { 'title' => 'Light and healthy picnic food', '

Re: [ANNOUNCE] Damian Conway Speaking at London.pm: Monday, 10th March

2014-03-07 Thread Dermot
I'd like to add my voice to the "I would pay to take one of Damian VI tutorials" campaign. I have mentioned this - to him - in the past but I think he'd like more than one person to attend. Perhaps those who have some influence with FLOSS/UUGUK could persuade them that it would be a course worth of

Re: Project management

2013-01-23 Thread Dermot
You may need to decide what are you trying to achieve exactly. I think the Scrum approach is a breath of fresh air after years of over-rigid project planning. But Scrum is more about managing development work, rather than "project management" as such. This is a valid point. My starting point it

Re: Project management

2013-01-23 Thread Dermot
Thanks Adrian. There's some really useful stuff there. Am immersing myself now. Dermot. On 23 January 2013 10:34, Adrian Howard wrote: > Hey Dermot, > > > On 23/01/13 09:27, Dermot wrote: > >> Hi, >> >> I'm pretty sure I've seen this discussed

Project management

2013-01-23 Thread Dermot
not interested in a certificate. I'd like to grasp a decent methodology. From what I've seen that would be Agile. Does anyone want to tout a course or company. I promise not to sue if I think they're crap :-) Dermot.

Re: Dim sum Tuesday 12:30pm at Pearl Liang (with Jesse)

2011-12-09 Thread Dermot
On 9 December 2011 13:55, Leon Brocard wrote: > Yet again it's time for dim sum! This time we will have an extra > special guest from across the pond: Jesse Vincent. Come have dim > sum with us: > >  Pearl Liang >  8 Sheldon Square, W2 6EZ >  http://london.randomness.org.uk/wiki.cgi?Pearl_Liang%2C

Re: Writing About Perl

2011-08-23 Thread Dermot
> 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? I was really impressed by the AutoCRUD but as someone's point

Re: Catalyst broken in Ubuntu 11.04?

2011-08-08 Thread Dermot
On 7 August 2011 18:07, Jérôme Étévé wrote: > -- Forwarded message -- > > > I had a too recent version of moose in my local::lib .. > > Cheers! Can you expand a but please? I (and others on DBIC irc) spent a few frustrating hours on this last week and in the end removed local::lib

Re: Where do we go to get good Perl/Catalyst/DBIC/Moose people in India?

2011-07-15 Thread Dermot
2011/7/15 ๏̯͡๏ Guido Barosio : > Consider Argentina, closer than India from a Timezone perspective and > a lesser cultural gap. Costs are the same, afaik. > Oh, Mendoza. I want to visit you again. Dp.

Re: Part-time Perl Developer Position based Reading, UK

2011-05-26 Thread Dermot
I left a recent> job because it was upon I attend at least one 30 minute stand up > meeting every day of the week, plus other meetings. There's more, but I won't > bore you. I think an employer has every right to expect you to turn up at meetings and participate in the company that pays you. B

Re: London.pm Dim Sum Pearl Liang Wednesday 1pm

2011-02-14 Thread Dermot
On 14 February 2011 09:51, Léon Brocard wrote: > What better way to celebrate a few weeks after the Chinese New Year > than to have dim sum? On a Wednesday, for one week only. > > London.pm dim sum is a social event where we meet up every Wednesday at > 1pm at a different Chinese restaurant, spend

Re: FFmpeg/C developer

2010-11-19 Thread Dermot
On 19 November 2010 11:20, Peter Corlett wrote: > On Fri, Nov 19, 2010 at 10:59:22AM +0000, Dermot wrote: > [...] >> There in lies the problem. I not aware of a London-based C list. I'm not >> even aware of a reasonably active C list. I did tentatively ask about a C >>

Re: FFmpeg/C developer

2010-11-19 Thread Dermot
On 18 November 2010 23:39, Dave Hodgkinson wrote: > > On 18 Nov 2010, at 23:02, the hatter wrote: > >> On Thu, 18 Nov 2010, James Laver wrote: >> >>> There is a jobs list, which you might find more appropriate. On the >>> other hand it's a C project, so you might have better luck on a >>> C-relate

FFmpeg/C developer

2010-11-18 Thread Dermot
), an email to jobs at sciencephoto dot com with ffmpeg in the subject will result in more information. Cheers, Dermot. "The Earth is doomed."

Re: Looking for work...

2010-08-18 Thread Dermot
On 17 August 2010 13:46, Zbigniew Lukasiak wrote: >> >> Drop me an email if you want my CV, or want to check my perl buzzword-bingo >> card for the acronyms your company needs. > > Beside the obvious jobs.perl.org - you might have a look at LinkedIn > Perl Jobs group: > http://www.linkedin.com/gr

Re: Damian Conway: Understanding Regular Expressions (properly)

2010-06-25 Thread Dermot
On 25 June 2010 01:25, Yitzchak Scott-Thoennes wrote: > On Thu, Jun 24, 2010 at 2:07 PM, Dirk Koopman wrote: >> And fly there and back, have a nice holiday as well as catch all the other >> perlish things going on, together with accommodation and (probably) a fair >> amount of drink - all for les

Re: Van Gogh at the RA

2010-02-13 Thread Dermot
On 12 February 2010 21:31, David Cantrell wrote: > There's a Van Gogh exhibition on at the Royal Academy.  It is ostensibly > an exhibition of his life viewed through his letters, but the letters > part of it isn't very interesting - there's only so much you can take of > dense illegible hand-writ

Re: On-topic: HTML/JS help please

2010-02-05 Thread Dermot
On 5 February 2010 15:41, David Cantrell wrote: > On Fri, Feb 05, 2010 at 03:14:51PM +, Bob MacCallum wrote: > >> >> has worked for me in the past.  why do you need to wrap it in a div? >> is it not standards compliant? > > Because on this page, for example: >  http://deps.cpantesters.org/?mo

Re: Fun Friday afternoon topic: domain name disputes

2010-02-05 Thread Dermot
On 5 February 2010 14:28, Elizabeth Mattijsen wrote: > On Feb 5, 2010, at 2:29 PM, mirod wrote: >> I figured some of you might have some information about this: I have a friend >> who owns a small company. She has a web site, with the .eu suffix, but would >> like the .com one. That domain is owne

Re: On-topic: HTML/JS help please

2010-02-05 Thread Dermot
On 5 February 2010 14:25, David Cantrell wrote: > I want to add a Thingy to CPANdeps to let users collapse/expand portions > of the dependency tree.  How would one go about this? > > Naively wrapping s in s and toggling their style.display > doesn't work, presumably because isn't kosher in a . >

Re: SHA question

2010-01-13 Thread Dermot
2010/1/13 Paul Makepeace : > On Wed, Jan 13, 2010 at 07:16, Philip Newton wrote: >> On Wed, Jan 13, 2010 at 15:58, Dermot wrote: >>> 2010/1/13 Avi Greenbury : >> >> I think you're putting the cart before the horse. >> >> Did someone come up

Re: SHA question

2010-01-13 Thread Dermot
2010/1/13 Avi Greenbury : > You might've missed his point. > > If two files are of different sizes, they cannot be identical. Getting > the size of a file is substantially cheaper than hashing it. > > So you check all your filesizes, and need only hash those pairs or > groups that are all the same

Re: SHA question

2010-01-13 Thread Dermot
2010/1/13 Roger Burton West : >>I am using it in a perl class > > So I won't point out the implications, but there's an obvious one which > will make your life easier. You can't leave me hanging there Dp.

Re: SHA question

2010-01-13 Thread Dermot
2010/1/13 Roger Burton West : > On Wed, Jan 13, 2010 at 12:44:47PM +0000, Dermot wrote: > >>I have a lots of PDFs that I need to catalogue and I want to ensure >>the uniqueness of each PDF.  At LWP, Jonathan Rockway mentioned >>something similar with SHA1 and binary files.

SHA question

2010-01-13 Thread Dermot
Hi, I have a lots of PDFs that I need to catalogue and I want to ensure the uniqueness of each PDF. At LWP, Jonathan Rockway mentioned something similar with SHA1 and binary files. Am I right in thinking that the code below is only taking the SHA on the name of the file and if I want to ensure u

Re: Perl Christmas Quiz 2009

2009-12-01 Thread Dermot
2009/12/1 Philip Newton : > On Tue, Dec 1, 2009 at 17:52, Dermot wrote: >> (not sure about this point) is a copy of the value in $a{1}. > > That's the salient point - it's an alias to the value in $a{1}, rather > than a copy, since values %hash returns aliasses

Re: Perl Christmas Quiz 2009

2009-12-01 Thread Dermot
2009/12/1 Matt Sergeant : > On Tue, 1 Dec 2009 11:23:09 -0500, Matt Sergeant wrote: >> On Mon, 30 Nov 2009 18:24:12 +, Chris Jack wrote: >>> 1) Without running it to check, what does the following program output? >>> >>> >>> my %a = (3,2,1,0); >>> >>> >>> for my $b (sort values %a) { >>>     $b

Re: Help me become a Londoner!

2009-11-24 Thread Dermot
2009/11/24 Richard Huxton : > Mike Woods wrote: >> >> If you do go the public transport route most places can be reached >> within an hour > > Pretty much everywhere in London can be reached in about an hour. The > flip side of that is that pretty much everywhere in London takes about > an hour to

Re: Help me become a Londoner!

2009-11-19 Thread Dermot
2009/11/19 David Cantrell : > On Thu, Nov 19, 2009 at 11:44:44AM +0000, Dermot wrote: > >> On this point all I would say is avoid Foxtons. > > Why? > There was an article in one of the papers - possibly a London paper - that detailed several cases of Foxtons charging

Re: Help me become a Londoner!

2009-11-19 Thread Dermot
2009/11/19 Gianni Ceccarelli : > Hi all! > Some questions I have: > > - can anyone recommend some agencies (or other methods) to search for >  the apartment? On this point all I would say is avoid Foxtons. This site has lots of private property rental so there's no agency fees http://www.gumtre

Re: New www.perl.org site

2009-11-13 Thread Dermot
2009/11/13 Simon Wilcox : > > For those who've not seen it elsewhere, congratulations to our very own Leo > Lapworth and the guys at Foxtons for the shiny redesign of www.perl.org. > > Nice work Leo. Thank you ! I'll 2nd that. The design is much better. The event calendars are a real bonus too. Go

Re: Effective adveristing

2009-11-04 Thread Dermot
2009/11/4 Ovid : > Assuming Dave did pay for this, I'm quite curious to know how effective it is. I think there is also a cost for each click it gets so when he gets his bill, he can tell us how many clicks it got. Dp.

Effective adveristing

2009-11-04 Thread Dermot
I just noticed this in my goolgemail. Learn Perl in London - mag-sol.com/train/public - Beginner, Intermediate, Advanced Taught by Dave Cross I guessing he paid for this. Considering how many Perl(ish) emails I have inbox, I'm surprised with this form of context-sensitive adverting that it's not

Re: [ANNOUNCE] London Perl Mongers Technical Meeting 24th September 2009

2009-09-24 Thread Dermot
2009/9/2 Léon Brocard : > 2009/9/1 Dermot : > >> The last time I signed up for this (Gumtree @ Kew) I never received a reply. >> I suspect the same is about to happen with the sign up. Is there a moderator >> listening? Can I get a pass please? > > You get confirmatio

Re: Orange uber alles again

2009-09-14 Thread Dermot
2009/9/14 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 I guess it depends on your line of business. If your 'in the mob' orange = death:

Re: [ANNOUNCE] London Perl Mongers Technical Meeting 24th September 2009

2009-09-01 Thread Dermot
2009/9/1 Léon Brocard > > > TBA - Perl 5.10.1 > Chisel Wright - The Patcher in the Rye > Zefram - Lexical Goodness > Ash Berlin - Catch Me If You Can > > Our venue size is limited so you will have to sign up to attend this > meeting. > > http://londonpmtech.appspot.com/ > > See you there, Léon >

Re: [ANNOUNCE] London.pm technical meeting about "Less code" on 16th April 2009

2009-04-01 Thread Dermot
2009/4/1 Léon Brocard : > The next technical meeting will be on the 17th April 2009 from 7pm to > 9pm (you may arrive from 6.30pm, sign in at the reception) and Is this happening on the Thursday (16th) or the Friday (17th)? Dp.