Re: Agenda Perl and open source events - organizers ML

2012-12-06 Thread Richard Foley
And don't forget to use the YEF organizers mailing list, if that might help you
to organize a perl event:

  http://lists.yapceurope.org/mailman/listinfo/organizers

-- 
Ciao

Richard Foley

http://www.rfi.net/books.html

On Wed, Dec 05, 2012 at 10:15:33PM +0100, Wendy G.A. van Dijk wrote:
 At 09:52 PM 12/5/2012, Mark Fowler wrote:
 On Wednesday, 5 December 2012 at 15:12, Wendy G.A. van Dijk wrote:
  In case anybody is interested. Not all these
  dates are in other collections of events.
 
 For those that have firm dates, it would be great to get these
 published in all kinds of directories.  For example, pushing them into
 http://lanyd.com.  Would you be able to do that?
 
 Ehrm, no: This domain has been registered for a 123-reg customer.
 Perl event dates should be kept at perl.org and yapceurope.org and
 such.  Since I'm doing booths at Fosdem and other open source
 conferences, I'm collecting dates like this a bit more active that
 other people...  I'm just mad like that.
 
 
  (and for those of you organising conferences, please bear in mind
 it's almost impossible to promote them without firm dates, and people
 are already deciding what time to book holidays, etc next year)
 
 I think the organising people know that.  Organising things can be
 difficult enough.  Some people, like Andrew Shitov, Laurent Boivin
 and Mark Keating, they do it like it is making a cheese sandwich.
 For me, organising an event with speakers, it is hell and it takes
 me forever.  So kudos to the organisers, and take your time, make it
 a nice one, and tell everybody about it, and maybe we all will come.
 
 Wendy


Re: Agenda Perl and open source events - organizers ML

2012-12-06 Thread Sébastien Aperghis-Tramoni
Wendy G.A. van Dijk wrote:
 At 09:52 PM 12/5/2012, Mark Fowler wrote:
  On Wednesday, 5 December 2012 at 15:12, Wendy G.A. van Dijk wrote:
   In case anybody is interested. Not all these
   dates are in other collections of events.
 
  For those that have firm dates, it would be great to get these
  published in all kinds of directories.  For example, pushing them
  into http://lanyd.com.  Would you be able to do that?
 
 Ehrm, no: This domain has been registered for a 123-reg customer.

The site's actually http://lanyrd.com/

It's pretty nice, and I've been looking at it since its creation,
but it still lacks something which would make it a piece of cake to
push information from, say, an Act conference: an API. There's one
in the pipeline since 3 years.
  » http://lanyrd.com/help/faq/#data

I don't know if it's RESTy enough to make one with Net::HTTP::Spore.

-- 
Sébastien Aperghis-Tramoni

Close the world, txEn eht nepO.



Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
Hello my fellow Perl Mongers.

I have this module http://metacpan.org/module/Mac::KeyboardMaestro

It's job is to interface with a OS X utility called Keyboard Maestro.  If you 
don't have Keyboard Maestro installed on your Mac[1] it's useless.  The current 
version (1.00) will fail its test suite spectacularly in this situation in a 
rather unforgiving manner.

But now I'm getting failures from the CPAN testers.

The options I see open to me me are:

1) Detect using ps if Keyboard Maestro Engine is running and skip the tests if 
it's not (and leave the user to wonder why my module passes tests and doesn't 
work.)

2) As (1), but BAIL OUT instead.  I'm unsure if this is the right thing to do, 
and I'm unsure if this will stop false negatives from the CPAN testers.

3) Tell the CPAN testers I don't care about reports for this module (which is a 
problem since I *like* what the CPAN testers do)

Any advice list?

Mark. 

[1] I'm not currently testing if you're running on a Mac but that's okay, since 
you'll not be able to install Mac::AppleScript which is one of my module's 
dependancies

-- 
Mark Fowler
http://www.twoshortplanks.com/




Re: Testsuites and External Dependancies?

2012-12-06 Thread Peter Sergeant
On Thu, Dec 6, 2012 at 12:48 PM, Mark Fowler m...@twoshortplanks.comwrote:

 If you don't have Keyboard Maestro installed on your Mac[1] it's useless


My understanding is that this is what the Alien:: namespace is for...

http://search.cpan.org/~abergman/Alien-0.91/lib/Alien.pm

And that the correct solution is to write Alien::KeyboardMaestro, on which
your module should rely.

-P


Re: Testsuites and External Dependancies?

2012-12-06 Thread David Cantrell

On 06/12/2012 13:04, Peter Sergeant wrote:

On Thu, Dec 6, 2012 at 12:48 PM, Mark Fowler m...@twoshortplanks.comwrote:


If you don't have Keyboard Maestro installed on your Mac[1] it's useless



My understanding is that this is what the Alien:: namespace is for...

http://search.cpan.org/~abergman/Alien-0.91/lib/Alien.pm

And that the correct solution is to write Alien::KeyboardMaestro, on which
your module should rely.


That would just move the problem to Alien::KeyboardMaestro, for which 
he'd get bogus test failures on other OSes.  Alien::* exist so that you 
can have CPAN.pm install C pre-requisites such as libraries, it's not 
really for installing commercial closed-source software.


--
David Cantrell | Reality Engineer, Ministry of Information

Eye have a spelling chequer / It came with my pea sea
It planely marques four my revue / Miss Steaks eye kin knot sea.
Eye strike a quay and type a word / And weight for it to say
Weather eye am wrong oar write / It shows me strait a weigh.


Re: Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
On Thursday, December 6, 2012, David Cantrell wrote:

 On 06/12/2012 12:48, Mark Fowler wrote:

 It's job is to interface with a OS X utility called Keyboard Maestro.  If
 you don't have Keyboard Maestro installed on your Mac[1] it's useless.  The
 current version (1.00) will fail its test suite spectacularly in this
 situation in a rather unforgiving manner.

 In Makefile.PL or Build.PL, have it die with OS unsupported.


But the OS *is* supported.  You just don't have keyboard maestro
installed...


Re: Testsuites and External Dependancies?

2012-12-06 Thread Gianni Ceccarelli
On 2012-12-06 Mark Fowler m...@twoshortplanks.com wrote:
 But the OS *is* supported.  You just don't have keyboard maestro
 installed...

From that same wiki page:

How can I stop getting FAIL reports for missing libraries or other
non-Perl dependencies?

If you have some special dependencies and don't want to get CPAN
Testers reports if a dependency is not available, just exit from the
Makefile.PL or Build.PL normally (with an exit code of 0) before the
Makefile or Build file is created.

   exit 0 unless some_dependency_is_met();

(some notes a few lines after that make me confused,
however. dcantrell seems to have commented on the wiki)

-- 
Dakkar - Mobilis in mobile
GPG public key fingerprint = A071 E618 DD2C 5901 9574
 6FE2 40EA 9883 7519 3F88
key id = 0x75193F88

Life is a healthy respect for mother nature laced with greed.


signature.asc
Description: PGP signature


[ANNOUNCE] REMINDER: London Perl M[ou]ngers December Social - 2012-12-06 - The Sutton Arms, Barbican, EC1M 6EB

2012-12-06 Thread Dagfinn Ilmari Mannsåker
This is tonight! See you there!

ilm...@ilmari.org (Dagfinn Ilmari Mannsåker) writes:

 Hi all,

 The December London.pm Social will be next Thursday, December 6th, at
 The Sutton Arms in Barbican.

 See you there!

 The Sutton Arms
 6 Carthusian Street
 London EC1M 6EB
 http://london.randomness.org.uk/wiki.cgi?Sutton_Arms,_EC1M_6EB

 Social meets are a chance for the various members of the group to meet
 up face to face and chat with each other about things - both Perl and
 (mostly) non-Perl - and newcomers are more than welcome. The monthly
 meets tend to be bigger than the other ad hoc meetings that take place
 at other times, and we make sure that they're in easy to get to
 locations and the pub serves food (meaning that people can eat in the
 bar if they want to). They normally start around 6.30pm (or whenever
 people get there after work) and a group tends to be left come closing
 time.

 If you're a newcomer or other first timer (even if you've been lurking
 on the mailing list or on IRC) then please seek our Glorious Leader Tom
 out - we have a tradition that the leader of this motley crew buys the
 new people a drink and introduces them to people.

-- 
A disappointingly low fraction of the human race is,
 at any given time, on fire. - Stig Sandbeck Mathisen


Re: Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
On Thursday, 6 December 2012 at 09:17, Gianni Ceccarelli wrote:
 How can I stop getting FAIL reports for missing libraries or other
 non-Perl dependencies?
 
 exit 0 unless some_dependency_is_met();
Righty ho, that *seems* to be what I'm looking for.

This is what I've done: http://git.io/nokmfix

Seems good to me.  I'll ship it this evening if no-one has any better 
suggestions.

Mark.




Re: [ANNOUNCE] REMINDER: London Perl M[ou]ngers December Social - 2012-12-06 - The Sutton Arms, Barbican, EC1M 6EB

2012-12-06 Thread Dave Hodgkinson
Also, nice pub. 

Sent from my iPhone

On 6 Dec 2012, at 14:50, ilm...@ilmari.org (Dagfinn Ilmari Mannsåker) wrote:

 This is tonight! See you there!
 
 ilm...@ilmari.org (Dagfinn Ilmari Mannsåker) writes:
 
 Hi all,
 
 The December London.pm Social will be next Thursday, December 6th, at
 The Sutton Arms in Barbican.
 
 See you there!
 
 The Sutton Arms
 6 Carthusian Street
 London EC1M 6EB
 http://london.randomness.org.uk/wiki.cgi?Sutton_Arms,_EC1M_6EB
 
 Social meets are a chance for the various members of the group to meet
 up face to face and chat with each other about things - both Perl and
 (mostly) non-Perl - and newcomers are more than welcome. The monthly
 meets tend to be bigger than the other ad hoc meetings that take place
 at other times, and we make sure that they're in easy to get to
 locations and the pub serves food (meaning that people can eat in the
 bar if they want to). They normally start around 6.30pm (or whenever
 people get there after work) and a group tends to be left come closing
 time.
 
 If you're a newcomer or other first timer (even if you've been lurking
 on the mailing list or on IRC) then please seek our Glorious Leader Tom
 out - we have a tradition that the leader of this motley crew buys the
 new people a drink and introduces them to people.
 
 -- 
 A disappointingly low fraction of the human race is,
 at any given time, on fire. - Stig Sandbeck Mathisen



Re: Testsuites and External Dependancies?

2012-12-06 Thread Mark Fowler
On Thursday, 6 December 2012 at 11:34, Yitzchak Scott-Thoennes wrote:
 you may want to prompt No Engine running; start it
 before continuing. Proceed? (Y/N) with a default of N (upon which
 you exit 0).

Good idea.

http://git.io/NOWuPQ

Mark. 




Re: Testsuites and External Dependancies?

2012-12-06 Thread Ashley Hindmarsh
 Message: 1
 Date: Thu, 6 Dec 2012 07:48:11 -0500
 From: Mark Fowler m...@twoshortplanks.com
 Subject: Testsuites and External Dependancies?
 To:  London. pm Perl M[ou]ngers  london.pm@london.pm.org
 Message-ID: afd713a761ac42cf930e6f2b33aae...@twoshortplanks.com
 Content-Type: text/plain; charset=utf-8

 Hello my fellow Perl Mongers.

 I have this module http://metacpan.org/module/Mac::KeyboardMaestro

 It's job is to interface with a OS X utility called Keyboard Maestro.  If
 you don't have Keyboard Maestro installed on your Mac[1] it's useless.  The
 current version (1.00) will fail its test suite spectacularly in this
 situation in a rather unforgiving manner.

 But now I'm getting failures from the CPAN testers.

 The options I see open to me me are:

 1) Detect using ps if Keyboard Maestro Engine is running and skip the
 tests if it's not (and leave the user to wonder why my module passes tests
 and doesn't work.)

 2) As (1), but BAIL OUT instead.  I'm unsure if this is the right thing to
 do, and I'm unsure if this will stop false negatives from the CPAN testers.

 3) Tell the CPAN testers I don't care about reports for this module (which
 is a problem since I *like* what the CPAN testers do)

 Any advice list?


I can't help comparing this with a more common case, such as XML::LibXML.
It won't build/test at all unless libxml is installed.
It's just that having libxml (and headers) available is more likely for any
given cpantesters node.

(2) seems sane to me.

  Ash



 Mark.

 [1] I'm not currently testing if you're running on a Mac but that's okay,
 since you'll not be able to install Mac::AppleScript which is one of my
 module's dependancies

 --
 Mark Fowler
 http://www.twoshortplanks.com/






Another hackday...

2012-12-06 Thread DAVID HODGKINSON

For those of you of the Oxford persuasion:

http://www.meetup.com/UK-Hackathons-and-Jams/events/94330082/

The grass-roots NHS Hack Day comes to Oxford for the weekend: We bring together 
doctors, nurses, developers, designers, and other geeks who love the NHS to 
create disruptive solutions to problems in the health space. Goto 
http://nhshackday.com/...


Re: [ANNOUNCE] REMINDER: London Perl M[ou]ngers December Social - 2012-12-06 - The Sutton Arms, Barbican, EC1M 6EB

2012-12-06 Thread Peter Corlett
On 6 Dec 2012, at 15:16, Dave Hodgkinson daveh...@gmail.com wrote:
[...]
 Also, nice pub.

You lot who haven't turned up are missing out on some cracking beer and a great 
evening.

So hurry up and join up!





Another hackday...

2012-12-06 Thread DAVID HODGKINSON

For those of you of the Oxford persuasion:

http://www.meetup.com/UK-Hackathons-and-Jams/events/94330082/

The grass-roots NHS Hack Day comes to Oxford for the weekend: We bring together 
doctors, nurses, developers, designers, and other geeks who love the NHS to 
create disruptive solutions to problems in the health space. Goto 
http://nhshackday.com/...