Re: Geolocation services: what's good, what's not?

2014-12-02 Thread Peter Sergeant
On Wed, Dec 3, 2014 at 7:49 AM, Sam Kington s...@illuminated.co.uk wrote:

 What about IP addresses, though? What do people currently use for
 geolocation?


The first question I'd ask anyone considering using anything other than
MaxMind's Geo2IP product is Why aren't you using MaxMind's Geo2IP product?

Cheap, they've been around forever, they're a Perl house, excellent
quality, and the CPAN module are well developed. They've got a free
entry-level product which may well be accurate enough to suit your needs,
and then you can upgrade to their commercial product if you need it.

(They're also hiring telecommuters in the US and Canada, about which I have
more details, if anyone's interested)

-P


Re: CRM as a service with Perl module

2014-11-04 Thread Peter Sergeant
Why (except for Salesforce)?

-P

On Tue, Nov 4, 2014 at 10:48 PM, Andrew Beverley a...@andybev.com wrote:

 Hi guys,

 Can anyone recommend a hosted CRM solution (except for Salesforce) that
 has a CPAN module in order to easily access the API?

 Thanks,

 Andy





Re: Due to mass layoffs at Moonfruit (big surprise, I know)....

2014-10-28 Thread Peter Sergeant
On Tuesday, 28 October 2014, drf...@pobox.com wrote:

 Looking for new work. I've currently got at least 3 recruiters and 2
 direct contacts from LinkedIn scurrying around looking for offers, and for
 the moment I'm rather optimistic.


The market is good right now in London, and commutable distances from
London.

Too little use is made of the specific LPM jobs list, and jobs.perl.org
listings often expire before jobs are filled.

If there's anyone else from Moonfruit scrambling around, there are two
recruiters I'd recommend:

  - Myself (surprise!) as pete@perl.careers
  - Rick Deller, who's r...@eligo.com, and has sponsored countless beer
meets

We're both hoping to do recruitment-related talks at LPW this year.

Further afield (and also on this list) is Uri, who like me is originally a
developer: u...@perlhunter.com, although he specialises in US positions.

Recruitment is very time specific, so if you give any of us a 24h head
start on the others, we'll be extra grateful.

-P

(who promises not to write another similar email in the next 12 months)


[ANNOUNCE] Sponsored London Perl M[ou]ngers May Social - 2014-05-08 - Shooting Star E1 7JF

2014-04-28 Thread Peter Sergeant
Hi,

For May, we're once again going to an old haunt that we haven't visited for
a few months, this time the Shooting Star. It's a Fuller's Ale and Pie
House, thus immediately covering two of London.pm's favourite activities.

The Shooting Star is easy to find. It's about three minutes walk from
Liverpool Street station, and hides in a side street just behind Dirty
Dicks which you can see from the main station entrance. There should be a
few tables in the
main bar reserved for us from 6pm.

But what could be better than a decent pint in a good pub? That's right,
free drinks! We at Broadbean Technology are putting £200 behind the bar.
We're also hiring...

Shooting Star
125-129 Middlesex Street
London E1 7JF
http://london.randomness.org.uk/wiki.cgi?Shooting_Star,_E1_7JF

Standard blurb:

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.

PS: Many thanks to Peter Corlett for the original inspiration for almost
all of the content above.


Re: tablets for parents

2014-03-03 Thread Peter Sergeant
On Sun, Mar 2, 2014 at 9:20 PM, Nicholas Clark n...@ccl4.org wrote:

 1) What tablet?
(with camera, obviously, 3G, and possibly not much else special)


No-one ever got disinherited for buying an iPad. Combine it with a £70
Apple TV, and you can give them Netflix and LOVEFiLM as well as easy access
to your and your sister's Flickr account for slideshows.


 2) What data plan?


Is going to be a function of who gets the best reception where they live. I
happily watch Netflix on my Three account, and that was before it was 4G.
They also have some pretty reasonably priced PAYG plans for data. But if
your two locations in the South get spotty Three coverage, you'll need
another solution.

-P


Re: Recommended IDE...?

2014-01-20 Thread Peter Sergeant
On Mon, Jan 20, 2014 at 7:38 AM, Ovid curtis_ovid_...@yahoo.com wrote:

 I would almost claim that I get most of the common benefits of an IDE out
 of my vim setup (completion, debugging, testing, refactoring tools,
 rebuilding the project, and so on)


Google suggests these as good starting points:
  * https://github.com/vim-perl/vim-perl
  * http://www.vim.org/scripts/script.php?script_id=556
  *
http://stackoverflow.com/questions/1573782/what-are-your-suggestions-for-an-ideal-vim-configuration-for-perl-development

Anything else you'd recommend?

-P


Re: Recommended IDE...?

2014-01-19 Thread Peter Sergeant
On Sat, Jan 18, 2014 at 4:39 PM, Peter Corlett ab...@cabal.org.uk wrote:

 On Fri, Jan 17, 2014 at 10:18:14AM -, Andrew wrote:
  Looking to try using an Integrated Development Environment.
 Why? What problem are you having that you expect an IDE to solve?


I became quite partial to Refactor menus, integrated test execution, and
integrated debugger, back when I was doing a little Java.

-P


Re: I have a bikeshed, colour suggestions appreciated

2013-12-03 Thread Peter Sergeant
On Tue, Dec 3, 2013 at 2:14 PM, Aaron Trevena aaron.trev...@gmail.comwrote:

 So.. some of you might know I quite like bikes.. I now have a proper
 bikeshed (or at least I will once I've built and attached the doors
 tonight) - and I was hoping you nice people could give me some helpful
 suggestions.


Have you seen what colour yaks are under their fur?


Re: Database Design Advice

2013-11-08 Thread Peter Sergeant
On Fri, Nov 8, 2013 at 3:02 PM, Abigail abig...@abigail.be wrote:

 I opted for two columns, additional and percentage, the first
 defaulting to 0, the other to 1. Prices can then be easily calculated
 as original_price * percentage + additional. No conditionals needed.
 And the calculation is currency agnostic. For discounts, the percentage
 is less than 1, or the additional is negative.

 This solution proved to be really great -- two years after my
 implementation
 I got the request Can we have discounts from discounts? We'd like to be
 able to give both a percentage and a set discount [1]. I told them,
 If you just fill in both discounts, it will do what you want.


Unless what you want is the percentage discount applied to the price after
the flat discount, which doesn't seem unreasonable.

-P


Re: Perl publishing and attracting new developers

2013-09-18 Thread Peter Sergeant
On Wed, Sep 18, 2013 at 5:01 PM, Paul LeoNerd leon...@leonerd.org.ukwrote:

 I would be prepared to pay £30 to write such a book.


My Paypal account is the same as this email address. Please send me the
money, and a copy of the book when you're done.


Re: Fosdem Perl-devroom AW1.126, Saturday, Feb 2nd, 11:00-19:00; Success! 14 speakers!

2013-01-28 Thread Peter Sergeant
On Sun, Jan 27, 2013 at 8:48 PM, Wendy G.A. van Dijk nl...@wendy.orgwrote:

 Fosdem.  https://fosdem.org/2013/   We made it.


I know we definitely discourage me too type posts here, but this is
absolutely fantastic work. Well done, and thankyou!

-P


Re: Offtopic(ish) ops question

2013-01-19 Thread Peter Sergeant
Why not use the latest stable? No good reason I can see to use an old
Perl...


On Sat, Jan 19, 2013 at 6:15 PM, Dave Hodgkinson daveh...@gmail.com wrote:


 New VM, installing CPAN deps (cpanm obvs).

 I know all the apps are going to be the same level of stuff
 as they'll all be latest Cat/DBIC and so on, and for laziness
 reasons, that's how it is on my dev VM.

 It's perl 5.10.1 and I don't knowingly do anything post BBC 5.8.8.

 Just install CPANM modules into the main perl?

 No reason to brew a new perl?



Re: Device for reading perldoc

2013-01-04 Thread Peter Sergeant
On Friday, January 4, 2013, gvim wrote:

 Is there currently a reader/device which is suitable for reading both PDFs
 and perldoc, ie. can install Perl + modules?

 gvim


This sounds a bit like an x/y problem.

What are you trying achieve? If there are certain documents available via
perldoc currently, a conversion step (and a willingness to use one) would
probably allow almost all readers...

-P


Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 8:54 AM, Anthony Lucas anthonyjlu...@gmail.comwrote:

 Flexible::Output::Printer


To be honest, it's not too different in intent from several other CPAN
modules - aliasing features to be more like other languages...

I am pretty curious about the return values, though:

return bless {};


I wonder what the intent there was...

-P


Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 6:14 PM, Gareth Harper spansh+lon...@gmail.comwrote:

 On 12 December 2012 17:57, Joseph Werner telco...@gmail.com wrote:
  On Wed, Dec 12, 2012 at 12:45 PM, Gareth Harper spansh+lon...@gmail.com
 wrote:
 
  PBP and I disagree with you on this one, Gareth. When a sub does a
  return 0; to a list context, that is interpreted as true.  A bare
  return; is best practice.
 

 I stand corrected.


Don't stand corrected too quickly - the idea that you should always use a
bare *return()* is far from universally accepted - you can bite yourself
just as easily in reverse by using bare return, and getting an empty list
where you expected a false or undefined value:

https://gist.github.com/4270506

The boolean argument is reaching, at best. Perl programmers frequently use
numeric 0 as a false value, and yet no-one is saying you should write code
like:

sub lock_count {
if ( $lock_counter ) {
 return $lock_counter;
} else {
 return;
}
}

Just in case someone has decided to take your input in to an array,
before asking if lock_count is true.

If you're using a bare return then all your returns should be
*wantarray*dependent, or you're making the code even less predictable
- making the
*return* of an undefined value the only context-dependent *return* in a sub
is crazy talk!

The simple rule here is: write functions that return either a list, or a
scalar, and not both, and be explicit in your function documentation which
you're expecting to return.

-P


Re: boolean return (was Re: cpan you have to see)

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 9:17 PM, Uri Guttman u...@stemsystems.com wrote:

 then the caller can't ever use the sub in a list context expecting an
 empty list


... so?

True or false are reasonable things to expect a subroutine to return. A
list is a reasonable thing to expect a subroutine to return. True, false,
or SURPRISE! a zero-length list! does not seem like a reasonable return
value.

I suspect that with some work, we could generate a real-world example where
a user might want a true value, OR (a false value OR an empty list). But if
that's really, really what the caller wants, they can easily stick a grep
in front of the call to the sub and get that.

-P


Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wed, Dec 12, 2012 at 9:31 PM, Aaron Crane p...@aaroncrane.co.uk wrote:

 I agree.  The talk I did at LPW and YAPC::EU this year covers this and
 some related issues


Thanks Aaron. Someone told me about your talk, and it got me thinking about
it in-depth a little while ago. Shame I missed it

-P


Re: cpan you have to see

2012-12-12 Thread Peter Sergeant
On Wednesday, December 12, 2012, DAVID HODGKINSON wrote:


 Would hurling a PBP test at the whole of CPAN to get a metric be of any
 benefit?


Probably not. perl critic, which sounds like what you're thinking about, is
a useful tool for catching silly mistakes you might have made, but if you
know what you're doing then many of the things it considers errors are
actually reasonable.

I've worked in a couple of places that run perl critic over the codebase as
part of automated testing, and it's been useful. Invariably though
situations arise where you break one of its rules and switch it off for
that line of code.

Unless someone has written their code with it, and explicitly marked where
they know better, their code is liable to be penalised by a perl critic
scorer. Additionally the score will reflect the small stuff and not
quality of interface, design, documentation, etc, leading to dreadful code
with a perfect score, and excellent code with a terrible score


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


24 Pull Requests

2012-11-30 Thread Peter Sergeant
http://24pullrequests.com/

Seems like a neat idea, and oh look, they'll recommend projects!

But oh look...

There no project(*hic*) for [Perl] yet, why not add suggest(*hic*) one?

Anyone?


Re: Perl outreach

2012-11-27 Thread Peter Sergeant
On Tue, Nov 27, 2012 at 9:16 AM, Mark Blackman m...@blackmans.org wrote:

 On 27 Nov 2012, at 07:05, Peter Sergeant p...@clueball.com wrote:

  Great! Now, any ideas how we further Perl outreach?

 Evangelism in non-perl-specific outlets.


I think this is the right direction.

Perl is often cited as an exceptional glue language. Perhaps putting
together examples of small Perl scripts that pull in different moving parts
to do something useful or pretty?

Here's a start: https://gist.github.com/4153299

-P


Re: Perl outreach

2012-11-27 Thread Peter Sergeant
On Tuesday, November 27, 2012, Guinevere Nell wrote:

 I don't think you can say it about any language - I mean, you *can*, but
 you'd be lying. My guess is that only 1 in 37 programmers that have both
 allocated memory in C and not had to allocate memory in Perl would choose
 to continue to allocate memory in C if they had a choice (keeping their job
 at the same pay, etc).


Fine. Sure.

Is anyone seriously suggesting Perl is competing with C for mindshare? I
doubt it. No manual memory allocation is not a comparative advantage over
Python or Ruby or JavaScript/Node etc.


Re: Perl outreach

2012-11-26 Thread Peter Sergeant
Fundamentally we fail to answer the question Why Perl?

Sure the tools are good. But the common view seems to be that for every
good tool Perl has, Ruby or Python have its own (perhaps superior) version.
Plack is neat, but a Perl project named after the Ruby port of a Python
tool isn't a USP.

Find a way to compellingly answer Why Perl (over Ruby or Python)? in a
way that growth communities (proggit, hackernews) understand and you'll
have started to find a solution. Testing is a bit better, Catalyst is a
bit more grown up than Rails, and CPAN is like Ruby Gems only a bit
*handwave* better don't really cut it.


Re: Perl outreach

2012-11-26 Thread Peter Sergeant
On Mon, Nov 26, 2012 at 8:12 PM, Salve J Nilsen sjn+oslo...@pvv.org wrote:

  «So you want to write some useful software? Learn from Perl. We in the
 Perl community saw what happened when one just focuses getting stuff done
 without spending any attention on software life-cycle management. So, what
 did we learn? Write software that is easy to understand and fun to read. In
 fact, try to write software that one only needs to read once, but that one
 *wants* to read twice. This is difficult, but less so with Perl. You need a
 language that is flexible and malleable enough so you can express the
 intention of your code in the way that is best for your readers. This is
 where Perl shines. If you wield the tool well you can make wonderful
 things, and if you don't you'll probably end up making crap.»

 Comments? :)


I think you could swap in any language name there, and no-one would be any
wiser that you started off with Perl.

-P


Re: Perl outreach

2012-11-26 Thread Peter Sergeant
On Mon, Nov 26, 2012 at 11:13 PM, Abigail abig...@abigail.be wrote:

 Arguing which language is better seems to be as pointless to me as
 arguing which car is better, or which brand of hammer.


Sure. But that's pretty far removed from giving people compelling reasons
to try a specific car. Also: I suspect people interested in getting more
people to buy a specific model of car spend a great deal of time arguing
about which car is better, and how to make that argument compelling to
consumers.

People buy car A because it suits *them* better than car B (whether that
 a rational reason or not is irrelevant), not because it gives a better
 experience/mileage/whatever between random points.


People buy new cars because they're shiny.


 Testing is better or Catalyst is a bit more grown up than Rails
 are similar arguments Jeremy Clarkson and his friends are making on Top
 Gear to decide which car is the best. Joyful to watch, but useless if
 you want to buy a car that's useful for you.


Conveniently buying a car and trying out a new programming language share
are different in at least the outlay of thousands of
dollars/pounds/whatever. Perhaps this is a reason to avoid car analogies
when talking about programming languages.


 For me, the top two reasons I use Perl (and there really isn't a third
 reason):

   -  It's good enough for most of what I do.
   -  I'm just too damn lazy to learn a different language.


Great! Now, any ideas how we further Perl outreach?

-P


Re: 25 Years of Perl

2012-11-21 Thread Peter Sergeant
On Tue, Nov 20, 2012 at 9:46 AM, Dave Cross d...@dave.org.uk wrote:

 Finding it harder to trace the history of #perl though. Can anyone help
 out there? Even if it's just an idea of when it first started.

 Oh, and when was irc.perl.org set up?


EFnet #perl was the 'original' Perl IRC channel - I'm sure Randall (and
Simon Cozens?) at least can provide some more detail there, as they were
both active ~15 years ago when I first started using it.

I believe irc.infobot.org was set up either for YAPC '99 or 19100, and
slowly but surely #perl migrated from EFNet to it. Some years ago,
irc.perl.org was pointed to that network, which has variously been called
MagNET, Rhizomatic, and I'm sure some others.

Here is a photo of #perl users from 13 years ago!

http://photography.mengwong.com/yapc1999/group-1.html

-P


Re: Brainbench perl test?

2012-09-05 Thread Peter Sergeant
On Wednesday, September 5, 2012, Paul Makepeace wrote:

 On Wed, Sep 5, 2012 at 9:35 AM, Abigail abig...@abigail.be javascript:;
 wrote:
  Your first instinct should be Is there a generating function I can
 use?.

 Try not to blow your cache pipeline with all that silly branching,

 sub fib {
   my $n = shift;
   int(0.5 + (0.5+0.5*sqrt 5) ** $n / sqrt 5);
 }

 High five! :-)


My favourite, especially given that:

Given that fib(n) is equal to fib(n-1) + fib(n-2)

... in its current form arguably simplifies to fib(n) = ⊥


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

2012-09-01 Thread Peter Sergeant
On Fri, Aug 31, 2012 at 11:52 PM, Uri Guttman u...@stemsystems.com wrote:

 also the o'reilly school of technology has 4 levels of perl courses
 written by *peter scott*


Interesting! He's the author of what I consider to be one of the best Perl
books of all time (Perl Medic), so that sounds highly worth looking in to...

-P


Re: [ANNOUNCE] London Perl Mongers Technical Meeting 2012-08-14

2012-08-13 Thread Peter Sergeant
On Thu, Jul 26, 2012 at 7:57 PM, Leon Brocard a...@astray.com wrote:

 London Perl Mongers organises technical meetings every two months. The
 technical meetings are a chance to find out what has been going on in
 the Perl community, what techniques people are using and how Perl
 integrates with other software. (etc)


Maybe I'm being a little slow, but is this on Lanyrd? If not, I wonder if
it would be worth adding these to Lanyrd so people who aren't subscribed
can find them...

-P


Re: Dotcloud?

2012-08-09 Thread Peter Sergeant
On Wed, Aug 8, 2012 at 10:36 PM, Dave Hodgkinson daveh...@gmail.com wrote:

 Anyone use it?


I have, and have had generally excellent service from them

-P


Re: Dim Sum?

2012-07-11 Thread Peter Sergeant
On Wed, Jul 11, 2012 at 1:10 PM, Dave Hodgkinson daveh...@gmail.com wrote:


 Does anyone have a craving for Dim Sum in the West End tomorrow? A 100%
 Venda turn out
 again would count as a fail... :)


There's tasty Szechuan food in West London ... Tian Fu is convenient for
people at the Beeb and at NAP...

-P


Re: Free online courses in computer science / maths + others

2012-04-26 Thread Peter Sergeant
On Thu, Apr 26, 2012 at 2:41 PM, Adam Witney awit...@sgul.ac.uk wrote:


 Some of these courses may be of interest to the people here

 https://www.coursera.org/


I've started the Compilers Course, which looks interesting so far, although
has meant I've had to teach myself Java in a very short period...


Re: Google Chart API with Perl -Dancer - SQLite DB

2012-04-11 Thread Peter Sergeant
On Tue, Apr 10, 2012 at 11:03 PM, Mark fowler m...@twoshortplanks.comwrote:

 On Tuesday, 10 April 2012 at 20:43, Taka wrote:
  I'm very new to Perl Modules, and I would be much appreciated if someone
  can give me some your expertise and advices to how to link database to
  Google Chart API.
 
 

 The google chart API (and the Perl wrappers) are quite simple once you
 have the data in the right format.

 It's getting it in the right format which is the hard part.


For this, I've found using the Visualization API instead to be useful. You
interface in to it by creating data tables, which, usefully enough...

http://search.cpan.org/~sargie/Data-Google-Visualization-DataTable-0.08/lib/Data/Google/Visualization/DataTable.pm

-P


Re: Testing databases with DBIx::Class

2012-01-10 Thread Peter Sergeant
On Tue, Jan 10, 2012 at 9:56 AM, Ian Knopke ian.kno...@gmail.com wrote:

 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?


I've tried a few approaches with this. Where I've used a different DB
backend, I've been bitten by differences in the DB from Unicode handling to
different feature sets. Where possible, a blank(ish) testing database
running the same DB software as the target is infinitely preferable to
faking it with a different system.

-P


Re: OT: Agile PM courses?

2012-01-10 Thread Peter Sergeant
Agile training seems to be one of those things where the individual
teaching it is far, far, far more important than almost any other factor.
I've found almost all the Agile trainers I've met to lack anything
approaching experience in developing real software, and be full of facile
and unhelpful soundbites.

I would, however, be happy to recommend:
http://www.linkedin.com/pub/sallyann-freudenberg/5/9b/b33

She's a trainer for Rally, as far as I am aware.

-P


Re: Writing About Perl

2011-08-23 Thread Peter Sergeant
On Tue, Aug 23, 2011 at 11:39 AM, Dave Cross d...@dave.org.uk 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?


Perl's strength is as a glue language - gluing together the wealth available
on CPAN.

So I'd like to see an article that built a service that did quite a bunch of
complicated things by gluing together CPAN modules...

-P


Re: More free stuff at the ORTHODOX social

2011-08-22 Thread Peter Sergeant
On Sun, Aug 21, 2011 at 5:16 PM, Dave Hodgkinson daveh...@gmail.com wrote:

 Sorely tempted to take the Pratchett as I've NEVER READ ONE.


Certainly if you love the work of Stephenie Meyer you'll find them to be
engaging and intelligent.


Re: LPW 2011 carpooling

2011-08-19 Thread Peter Sergeant
On Fri, Aug 19, 2011 at 12:12 PM, Nicholas Clark n...@ccl4.org wrote:

 Note that some cruise ships can just fit under Tower Bridge, and hence can
 dock next to HMS Belfast, in the Pool of London. Zone 1, beating even
 London
 City Airport's Zone 3.


Sure, and while we're at it: http://www.londonheliport.co.uk/

-P


Slightly offtopic - coordinate conversions

2011-07-13 Thread Peter Sergeant
I've been playing around with Google Maps recently, and noticed that they've 
started using hashes of some coordinates:

latlng: 52.54296 -0.308166
hnear : 0x4877f21032e242f5:0x805cb103d71d5051

latlng: 51.411586,-0.300893
hnear : 0x47d8a00baf21de75:0x52963a5addd52a99

A few attempts at working out how this was done with Perl have failed me - 
anyone got a better idea?

-P 


Re: Someone needs to take jwz aside...

2011-04-28 Thread Peter Sergeant
On Wed, Apr 27, 2011 at 8:17 PM, Pedro Figueiredo 
m...@pedrofigueiredo.orgwrote:

 If only it knew how to manage a Shipwright vessel...


So, I was gonna ask. Does Shipwright do most of what we like about Maven?
Would it be that hard to define a list of modules, a Perl version, and let
something driving Perlbrew just get stuck in to it? I could see that being
an issue for mod_perl apps, but for other stuff? Some Perl modules need
compiling, which again, throws a spanner in the works, but...?

-P


Re: any recommended web-hosting?

2003-09-09 Thread Peter Sergeant
As always, I'm going to have to recommend Bytemark -
http://www.bytemark-hosting.co.uk/ -- they're cheap, you get free
technical support from two thoroughly clued up guys, and you get root on
your own machine - if you're comfortable administering your own machine,
go with them.

+Pete



Re: (no subject)

2003-09-09 Thread Peter Sergeant
 Does anyone know of a module or a technique or incantation I can use to
 achieve what I really mean by the following:
snip

I've always liked the examples of using IO::Select and friends in the
WebMonkey article on how to write a chat-server (from 1997, no less)...

http://hotwired.lycos.com/webmonkey/97/18/index2a.html?tw=programming

+Pete




Spam tarpits...

2003-09-09 Thread Peter Sergeant
I've been looking at OpenBSD's spamd, which is a fake SMTP server that's
very very very slow, the idea being to waste spammers' resources. One
idea might be to redirect connections to port 25 from IPs in a
blackhole list to this process instead of the local SMTP server.
However, spamd does not actually accept emails. I'm looking for a
replacement that will, just, slowly, because:

o  I'm not ready to start straight blocking email from IPs in a RBL
o  Spammers operate on the margins - if I can push up their costs just
 a little by tying up their mail-sending application, great
o  The server doesn't recieve a huge volume of email...
o  Except from mail15, mentioned previously

Any thoughts welcomed...

+Pete

-- 
No man but a blockhead ever wrote, except for money.
 -- Samuel Johnson



Exim and HELO

2003-09-08 Thread Peter Sergeant
I've recently been getting hammered by mail15.com performing a
dictionary attack on my mail server - my server accepts email to anyone
@clueball.com, and so I've been recieving several thousand piece of spam
a day advertising mail15.com.

This is obviously somewhat upsetting - it may get marked as spam, but
I'm still taking a fairly major bandwidth hit, and it's clogging up my
spam folder, making it very very difficult to spot if I get any false
positives.

The emails come from a variety of different broadband and dialup
machines - I'm not especially keen to start dropping emails from large
chunks of the internet at the SMTP level. However, the spamming software
they're using always identifies the IP as being from compuserve.com,
which I believe is done at the HELO time.

Were I using exim4, Google would have returned a great snippet I could
add to my config file that would allow me to easily refuse all mail
where the connection started off with a 'HELO compuserve.com'. I'm not,
I'm using Exim 3.6(?) that came with Debian, and I'm unable to work out
a nice solution.

Can anyone suggest how one might convince Exim 3 to do this?

Thanks!

+Pete

-- 
How vain it is to sit down to write when you have not stood up to live.
 -- Henry David Thoreau



Re: Exim and HELO

2003-09-08 Thread Peter Sergeant
 How would one do the ditching at SMTP time?

It would appear that any email from this company starts its transaction
with my mail-server with 'HELO compuserve.com'. I've seen an exim4
config-file snippet to block at this point[1] - I'm looking to do the same
with exim3...

+Pete

[1] http://blackhairy.demon.co.uk/notes/exim-helo-block.html

-- 
If you have built castles in the air, your work need not be lost; that
is where they should be. Now put the foundations under them.
 -- Henry David Thoreau



Re: Programming Email Filters

2003-09-02 Thread Peter Sergeant
http://grou.ch/bounce.txt is very effective. But if you're using
fetchmail or similar, remember the Email::Simple team chose correctness
over usefulness, and not to write the emails back to mail folders,
unless you want all kinds of pain.

+Pete



Re: Mercury Amalgam (was: insidious biometrics, identity crises)

2003-09-02 Thread Peter Sergeant
 Well, Vitamin C does make a reliable abortifacient for women who are very
 early in their pregnancy since it blocks the uptake of progesterone. It's
 usually taken orally in very high doses and often combined with other 
 herbal substances to help the process when it's a desired effect.

Such as Pennyroyal Tea (which makes interpreting the Nirvana song of the
same name easier...), but, it seems this is *STRONGLY* discouraged...

http://www.w-cpc.org/abortion/herbal.html

+Pete




Re: Stupid fucking antivirus software

2003-08-31 Thread Peter Sergeant
On Sun, Aug 31, 2003 at 01:54:56PM +0100, David Cantrell wrote:
 What you are saying is equivalent to if there's money to be made from 
 spamming, there's nothing wrong with doing it..

No, what I'm saying is that expecting businesses to act like charities
is more than a little silly. Bouncing messages was added because at the
time it was deemed useful by both the anti-virus company and clients,
and because clients would pay money for this extra feature. If there is
little client demand to improve this feature, then, bizarrely enough,
the vendors aren't going to do it. Having said that, I believe more than
a few of the vendors do have products that discriminate - it's hardly
their fault if sysadmins don't upgrade their software.

If all this leaves you feeling deeply unsatisfied, I'm sure the Open
Anti-Virus project would love your help in developing their software!
Furthermore, Sophos, amongst other vendors, release their scanning
engines on various platforms - libsavi even has a Perl interface! If
you'd like to write a better mailscanner, I'm sure their OEM Sales
department would love to hear from you.

http://www.openantivirus.org/index.php

+Pete




Re: Stupid fucking antivirus software

2003-08-31 Thread Peter Sergeant
I'll keep this brief because I don't want to trip my
anti-slashdot-mentality-rant-mode.

On Sun, Aug 31, 2003 at 11:53:17AM +0100, Roger Burton West wrote:
 Because by sending email they get to advertise their product; and, like
 spammers, they think that it doesn't matter how many people you annoy as
 long as you get one bite.

Many AV companies don't make the name clear in their bounces. But that's
not the point. The point is that big corporate customers *complain* if
the CTO feels he can't do something about 'that virus problem'. In
general, the option to send these messages is customer-configurable -
blame the admin running the service, not the product itself.

 From a technical point of view, once the marketing department has said
 you must send email alerts, it's an extremely hard problem to spot the
 known-address-faking viruses; and since the companies have the spammer
 mindset, they probably don't put any particular resource behind that.

Both technically and practically untrue. It's fairly easy to maintain a
list of viruses that fake From addresses - there's just no demand in the
customer base to do this.

I appreciate that to some people the concept of business is a strange
one - note the /. readers calling SCO stupid (while the SCO executives
make a lot of money, and said readers remain second-rate programmers
earning a pittance) - if there's little demand for a feature in a
product, then the company would be stupid to develop it.

HTH

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Wuh, I think so, Brain, but isn't Regis Philbin already married?
 -- Pinky and Brain



Re: pine editor derby, was Re: London.pm identity cards

2003-08-30 Thread Peter Sergeant
 If you want to use vi instead of pico always, select the option labeled
 enable-alternate-editor-implicitly -- this kind of screws up the display
 of message header info though, so personally I didn't care for this
 setting.

How so? Dropping into it from mutt, the headers are nicely highlighted
(where appropriate), and I've added a bit of magic to put me directly
into input mode a line down from the headers... Does pine treat this so
differently?

+Pete



Re: request for supercited mails

2003-08-27 Thread Peter Sergeant
 OK, I shouldn't do this, but...:

Right, you shouldn't, because, as you quite rightly said[1], ad-hominem
attacks help no-one...

+Pete

[1] http://london.pm.org/pipermail/london.pm/Week-of-Mon-20030428/018794.html




Re: Test Sweets?

2003-08-26 Thread Peter Sergeant
 To be honest, there's not that much difference.  You run the script and
 run the results though Test::Harness which works out if they passed or
 not.  Or you run each test manually and look at the output.

This may be different now, but, I found Test::Simple and Test::More to
be a lot easier to grok - especially with the tutorial. Perhaps
Test::Unit has better docs now, or perhaps I just sucked even more as a
programmer the first time I looked at it, but, purely empirical research
would show Test::More to be easier to use...

+Pete




Re: [OT] SQL woes

2003-08-23 Thread Peter Sergeant
 Thanks - I did see the module on CPAN but wan't sure if I only needed the
 one download.  What I can't see there (or at the SQLite site) is a nice
 example which shows creates, updates and queries a dbase.  If I look at the
 books I've got which show the DBI working with MySQL, can I simply transpose
 these?  What differences with SQLite would you advise I need to look out
 for?

Hi Colin,

To interact with databases in Perl, you use the DBI (database interface)
module. This talks to a DBD (database driver) module, such as
DBD::SQLite. If you installed DBD::SQLite through one of the CPAN
shells, it'll probably make sure you install DBI too.

http://www.perladvent.org/2002/3rd/

Is an excellent introduction.

+Pete



[OT] G4 Cube for sale...

2003-08-20 Thread Peter Sergeant
For sale:

1 450Mhz G4 Cube, 30GB HDD, 512MB RAM, OS X 10.2.6
DVD drive, and external CD writer

This would make an absolutely perfect center to someone's little
audio-visual den... The machine itself (if you don't know what they look
like) is a very sexy cube shape - plugged into a TV and stereo, you
could watch DVDs and listen to MP3s to your heart's content...

I'm thinking 550 quid as a guide price, but all reasonable offers will
be considered. Conceivably delivered within Zone 1 for free, will
consider other arrangements to.

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Uh, I think so, Brain, but burlap chafes me so.
 -- Pinky and Brain



Re: IRC Server/Channel

2003-08-18 Thread Peter Sergeant

 Which is the best perl IRC Server/Channel to use!?

EFNet/#perl !?

-- 
If you have built castles in the air, your work need not be lost; that
is where they should be. Now put the foundations under them.
 -- Henry David Thoreau



Re: IRC Server/Channel

2003-08-18 Thread Peter Sergeant
 In fact, irc.london.pm.org should point to the london rhizomatic server,
 or did last I checked.

Try: /motd grou.ch

When connected. Gives you some useful info about hosts.

+Pete




[OT] SQL woes

2003-08-17 Thread Peter Sergeant
It's at times like this I realise my SQL skills only cover the basics... 

I have two tables, 'user' and 'users_names'. I'm looking to deprecate
'users_names', so I've altered 'user' to now contain a 'user_realname'
column. Both tables have a column 'user_id', which correspond to each
other. I'd like to take the data from 'users_names.name' and put it into
'user.user_realname' where the 'user_id' column match. I just can't seem
to find the SQL to make MySQL do this.

Any ideas?

+Pete

-- 
Almost every man wastes part of his life attempting to display
qualities which he does not possess.
 -- Samuel Johnson



Re: [OT] SQL woes

2003-08-17 Thread Peter Sergeant
 is it not simply:
 ?

Apparently not. 

mysql UPDATE user SET user.user_realname = users_names.name WHERE
user.user_id = users_names.user_id;
ERROR 1109: Unknown table 'users_names' in where clause

However, users_names definitely does exist. I'd speculate here, and, if
I'm wrong I'd appreciate being corrected, that it assumes 'users_names'
is an alias to a table, but that what it's an alias to hasn't been
defined in the query...

+Pete

-- 
Do not be too moral. You may cheat yourself out of much life. Aim above
morality. Be not simply good; be good for something.
 -- Henry David Thoreau



Re: [OT] SQL woes

2003-08-17 Thread Peter Sergeant
 UPDATE user, user_names 

Leading, it would seem to:

mysql UPDATE user, users_names SET user.user_realname =
users_names.name WHERE user.user_id = users_names.user_id;

ERROR 1064: You have an error in your SQL syntax near ' users_names SET
user.user_realname = users_names.name WHERE user.user_id = user' at line
1

+Pete

-- 
Lying is forbidden in Iraq. President Saddam Hussein will tolerate
nothing but truthfulness as he is a man of great honor and integrity.
Everyone is encouraged to speak freely of the truths evidenced in their
eyes and hearts.
 -- Muhammed Saeed al-Sahaf (Iraqi Information Minister)



Re: Messing with spammers

2003-08-14 Thread Peter Sergeant
 My personal feeling is that whatever comes and replaces SMTP has to
 insist that certain information be guaranteed - for example, if
 smtp.foo.com wants to send an email which has From: [EMAIL PROTECTED], then
 smtp.foo.com.can-relay.bar.com or something ought to point at
 smtp.foo.com's IP address. Even better, a two-way 'trust': have
 bar.com.i-relay-for.smtp.foo.com point at smtp.foo.com's IP address.

Looks like you're starting to describe SPF here...

http://spf.pobox.com/

+Pete



Re: text'd or texted

2003-08-14 Thread Peter Sergeant
 Also following the recent discussion on pronunciations, the words text'd
 or texted do not exists in the dictionary. Which do you think will make
 it first!?

One would assume neither will make it into the dictionary like that, but
that 'text [v]' may one day make it in, the logical past-tense of which
would be 'texted' - although, given that there are no verbs in English
that end in 'xt' yet, that's open to debate.

 And how do you pronounce it! ;0)

text - ed. Without a doubt :-)

+Pete

-- 
Almost every man wastes part of his life attempting to display
qualities which he does not possess.
 -- Samuel Johnson



Re: Messing with spammers

2003-08-14 Thread Peter Sergeant
  http://grou.ch/bounce.txt
 I had been thinking of using Mail::DeliveryStatus::BounceParser.
 Wonderful that CPAN thing, eh?

Further to discussions with Leon on IRC...

Mail::DeliveryStatus::BounceParser doesn't fill this niche. It is, in
fact, a tool for people writing mailing-list software to extract useful
information from bounces. As far as I can tell, an unknown message
starts off as being assumed to be a bounce, and only if it's recognised
as a vacaction reply or similar is it then marked as not being.

10:37 acme then i spy a need for a new module

How true.

+Pete

-- 
The United Nations[is] a place for prostitution under the feet of
Americans.
 -- Muhammed Saeed al-Sahaf (Iraqi Information Minister)



Re: Messing with spammers

2003-08-07 Thread Peter Sergeant
 I'm currently getting 2-300 bounce messages a day from spam email
 that I didn't send :(

http://grou.ch/bounce.txt

I added a pointer to that from procmail, and they all got magically
filtered...

+Pete



Pollution and Inheritance

2003-08-05 Thread Peter Sergeant
I'm writing a module, Some::Module::Extended, which is a sub-class of
Some::Module. There are two or three methods that I want
Some::Module::Extended to override - I want them to do some munging of
their arguments before sending them on to the parent method. So, for
example:

# Some::Module::Extended isa Some::Module
sub new {

my $proto = shift;
my $class = ref($proto) || $proto;

my $data = shift;
$data =~ s/foo/bar/g;

my $self  = $class-SUPER::new( $data );
bless ($self, $class);
return $self;

}

However, I'm also a big user of Some::DifferentModule, that,
incidentally, uses Some::Module, and returns Some::Module objects.
Some::DifferentModule is on the CPAN, and I don't want to subclass it or
change it. What I would like to do, is to be able to say something like:

use Some::Module::Extended qw( pollute );

And have Some::Module::Extended pretend to be Some::Module as far as any
other calls in the application (like those from Some::DifferentModule)
are concerned.

Thoughts?

+Pete

-- 
B:  Are you thinking what I'm thinking, Pinky?
P:  Uh... yeah, Brain, but where are we going to find rubber pants our
size? 
 -- Pinky and Brain



Re: Meetings

2003-08-04 Thread Peter Sergeant
 any signs that you lot think are indicative. :-)

That's easy, look for an unconventional team: a man who smokes cigars; a
crazy pilot; an angry man; and the man from UNCLE...[1]

+Pete

[1] With apologies to Mr Clamp[2]
[2] http://unixbeard.net/~richardc/cgi/blog.cgi/siesta-timeline.pod/

-- 
Kindness is in our power, even when fondness is not.
 -- Samuel Johnson



Re: [ANNOUNCE] YAPC::Europe Auction

2003-07-27 Thread Peter Sergeant
 So what was the result?

A certain Esperantophone (sp?) member of the list made an exceptionally
generous donation, and a lot of other people followed... Do we know the
Esperanto for 'camel'?

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Well, I think so, Brain, but I can't memorize a whole opera in
Yiddish.
 -- Pinky and Brain



Re: Eurocracy sucks.

2003-07-17 Thread Peter Sergeant

 Is this Schengen thing a recent thing?

No, it's been around eight years.

http://www.eurovisa.info/

It sounds highly possible you've gotten the wrong end of the shtick.

+Pete





Re: in case you didn't notice

2003-07-16 Thread Peter Sergeant

 http://search.cpan.org/orange.html

 Visit our website at http://www.ubs.com

 This message contains confidential information and is intended only
 for the individual named.  If you are not the named addressee you
 should not disseminate, distribute or copy this e-mail.  Please
 notify the sender immediately by e-mail if you have received this
 e-mail by mistake and delete this e-mail from your system.

 E-mail transmission cannot be guaranteed to be secure or error-free  as
 information could be intercepted, corrupted, lost, destroyed,
 arrive late or incomplete, or contain viruses.  The sender therefore
 does not accept liability for any errors or omissions in the contents
 of this message which arise as a result of e-mail transmission.  If
 verification is required please request a hard-copy version.  This
 message is provided for informational purposes and should not be
 construed as a solicitation or offer to buy or sell any securities or
 related financial instruments.

Does this set a record?

+Pete






Re: Problem Connecting to IRC?

2003-07-12 Thread Peter Sergeant
 I just tried to connect with irc.perl.org listed as the server.  No luck.
 What am I doing wrong?  (In the meantime, I'm back to being a grouch.)

What are you doing wrong? Depends largely on the value of 'No luck'...

bash-2.05a$ host -t ANY irc.perl.org
irc.perl.org has address 216.232.28.210
irc.perl.org has address 193.201.200.130
irc.perl.org has address 195.82.114.48

(which, for the interested, are binky, grouch, and london, in that
order) - I can connect to all of those by telnet on port 6667, the
standard IRC port.

But if just connecting to grou.ch works for you, go with it. 

+Pete

-- 
Much may be made of a Scotchman, if he be caught young.
 -- Samuel Johnson



Re: [Job] Web Developer / Sysadmin

2003-07-11 Thread Peter Sergeant

 Seems to be a reasonable perl dev plus some sysadmin job.

 As part of the web team, you will have the opportunity to work in a
 multi-language web environment on the latest technology, helping to
 promote the benefits of  and its products.

Using just a little deduction, I'd guess this is a job at Sophos
Antivirus. If anyone would like to skip the 'recruitment consultant
decides if you're good enough' phase, have a look here:
http://www.sophos.com/companyinfo/careers/


+Pete





Re: Problem Connecting to IRC?

2003-07-11 Thread Peter Sergeant
 I have been told that irc.perl.org should now be used
 instead of anything else, the LPM website has been updated
 accordingly.

This is correct.

grou.ch and london are the two IRC servers in the UK.

grouch.irc.perl.org
london.irc.perl.org

irc.perl.org is a round-robin for all the rhizomatic IRC servers.

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Uh, I think so, Brain, but where will we find a duck and a hose at
this hour?
 -- Pinky and Brain



Re: [Job] Web Developer / Sysadmin

2003-07-11 Thread Peter Sergeant
 I know someone who works there so if you want I can get the inside opinion 
 on working for the company.

Or you could just cut out the middle-man, and ask the two members of the
list who work there (although, actually, I work for their sister
company)...

+Pete

-- 
Do not be too moral. You may cheat yourself out of much life. Aim above
morality. Be not simply good; be good for something.
 -- Henry David Thoreau



[OT] Chewing gum

2003-07-06 Thread Peter Sergeant
I appreciate that this is more off-topic than most, but...

I was at Heathrow today. I paid 44p for a pack of chewing gum. I eat a
lot of chewing gum, maybe two packets a day... That's 88p a day, in a
worst-case scenario. I have trouble believing that it costs shops more
than about 15p a stick, meaning I'm wasting 73p a day. Or, in a
worst-case scenario, about 23 quid a month.

Where can I bulk-buy chewing gum online, or, failing that, anywhere
else?

Thoughts much appreciated

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Wuh, I think so, Brain, but if we didn't have ears, we'd look like
weasels.
 -- Pinky and Brain



Re: [sigs] a small collection

2003-06-27 Thread Peter Sergeant
 Well, doesn't compiled code count as obfuscated? I run other people's 
 compiled code all the time, usually on the basis I have some degree of 
 trust regarding its source.

Which, as I should point out, is largely why these 'stupid Windows
users' keep getting hit by viruses - when Microsoft sends them compiled
code to run, one simply *assumes* it must be ok ... W32/Gibe appeared to
be just that - a security patch from Microsoft.

 Of course I only ran it as a non-privileged user

Which means very little. See the first 'myth' of
http://www.virusbtn.com/magazine/archives/200209/linux_malware.xml

+Pete

-- 
Nature has given women so much power that the law has very wisely given
them little.
 -- Samuel Johnson



Re: auction time

2003-06-26 Thread Peter Sergeant
 ps I am Jos' and Elaine's bitch

I believe Elaine prefers 'pussy-whipped towel boy', but my memory may be
faulty...

+Pete

-- 
A cucumber should be well-sliced, dressed with pepper and vinegar, and
then thrown out.
 -- Samuel Johnson



Re: auction time

2003-06-26 Thread Peter Sergeant
 I won't be auctioning myself off either as I have enough to do with
 helping to keep Jarkko from going nuts over the elusive 5.8.1. Maybe we
 could auction you off Pete...Just think of the joy you'd give to Uri for
 20 quid :)

Jokes about Uri's stem[1] aside, I'll go on the record as saying I'm
willing to be auctioned for anything aevil thinks I'll bring in money,
with the obvious caveat[2].

+Pete

[1] www.stemsystems.com
[2] Get out clause: as long as my g/f doesn't complain (selling my
  kidneys would of course violate this...)

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Wuh, I think so, Brain, but isn't Regis Philbin already married?
 -- Pinky and Brain



Re: [sigs] a small collection

2003-06-26 Thread Peter Sergeant
 $_=just another technical yahoo!;@b=sort{rand cmp [EMAIL PROTECTED]//;$|=
 print\ec;[EMAIL PROTECTED];sub p{print\e[$_[1];$_[0]H$_[2]}while($e=$a[$g++]){
 $f=0;{redo if$b[$f++]ne$e}$b[$f-1]=0;p($f,1,$);$i=$f-$g0?1:-1;while($f
 !=$g){select$q,$q,$q,p($f,2,$e)/20;p(($f+=$i)-$i,2,$)}p($f,3,$e.$/)}

I'd like at this point to point out that anyone who actually ever runs
Perl code found in anyone else's signature, without deobfuscating it
first, shouldn't be allowed near a computer.

I was recently sent a three line, heavily obfuscated Perl signature
virus that makes itself your mutt signature, and attempts to hide the
fact from you. Although not in the wild, I'm sure it's only a matter of
time before someone writes and releases something similar.

Running obfuscated code is A VERY VERY BAD IDEA.

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Uh, I think so, Brain, but we'll never get a monkey to use dental
floss.
 -- Pinky and Brain



Re: [sigs] a small collection

2003-06-26 Thread Peter Sergeant
 yep, although at least you know where i live.  (or at least some do...).
 
 also i hope most of you know i'm a nice kind of chap who isn't so lame as
 to do something malicious (lame enough to write obfuscated sigs
 though..).

Windows email viruses also often send themselves from seemingly trusted
users. My point was more that you shouldn't simply assume someone you
know's .sig is harmless.

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Uh, I think so, Brain, but burlap chafes me so.
 -- Pinky and Brain



Re: UK Money, again

2003-06-26 Thread Peter Sergeant
  For some value of soon.
 Soon being defined as If i'm here, over my dead body.

Surely the value of 'soon' here means 'as soon as possible', and implies
that it would be an exceptionally good thing?

/me dons flame-retardant suit, runs, ducks, covers

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Uh, I think so, Brain, but where will we find a duck and a hose at
this hour?
 -- Pinky and Brain



Re: [sigs] a small collection

2003-06-26 Thread Peter Sergeant
 So you code review every module before you install them with CPAN /
 CPANPLUS?

That depends on where I'm installing it. At work, of course, every
module is hand-checked for malicious code (although not by me - we have
a lab for that). The CPAN shell and CPANPLUS are both prohibited (and
blocked in). We have a repository of checked software and modules, a
snapshot of which I try and grab a copy of fairly regularly for use at
home.

For home use, I tend to only check a module if it's been released in the
last few days or so, or by an author I don't know. I admit, I don't
always do this, but, if I'm in the least suspicious, I'll have a quick
scan, and I try and avoid blindly installing module dependencies.

+Pete

-- 
B:  Pinky, Are you pondering what I'm pondering?
P:  Well, I think so, Brain, but I can't memorize a whole opera in
Yiddish.
 -- Pinky and Brain



[OT] Places to go, people to see...

2003-06-25 Thread Peter Sergeant
Dear Mongers,

It so happens that I'm expecting a visit from a delightful foreign young
lady next week, who's expecting me to show her England. I have eight
days, no car, and not a great deal of cash. We'll be based in Fleet
(near Basingstoke).

I'm half considering going down Dorset way (should be easy to get to)
and camping near there for a few days. Oxford is also on the agenda for
a few days (being that I live there). Can anyone suggest anywhere else
in the country, that's easy to get to, is very beautiful, and is worth
going to visit/stay in? We're willing to camp or stay in a nice bed and
breakfast, and we're both into The Great Big Outdoors (and both have
bikes we can use) ...

Ideas sincerely appreciated, including pub/restaurant/bb suggestions in
the area...

+Pete

-- 
If you have built castles in the air, your work need not be lost; that
is where they should be. Now put the foundations under them.
 -- Henry David Thoreau



Re: [OT] Co-location again

2003-06-02 Thread Peter Sergeant
 I've been trying to find a cheap alternative to co-location, but they all 
 seem to be a right PITA.

I can highly recommend http://www.bytemark-hosting.co.uk/ - not
colocation, but virtual linux machines. Service has been absolutely
first class

+Pete



Re: The answer to the map and disc problem

2003-05-27 Thread Peter Sergeant
 It's true that the z-s tranformation is recent and that the
 'z' spellings were in use here when the pilgrims left, but I'm
 not sure that fact makes them any more correct than the generally
 accepted 's' spellings. Since when waa antiquity a measure of
 correctness in spelling or grammer?

Exactly. Although, 50 years ago hardly equates with pilgrim times... I
believe that's significiantly more recent than Webster's
simplifications, about which some people get rather ... jingoistic. But
as you say, antiquity is no measure of correctness. 

Surely, being programmers, and being fond of laughing at the Americans
for not using the metric system, we should embrace American spellings,
which are arguably simpler and better representations of the spoken words?

+Pete

-- 
A cucumber should be well-sliced, dressed with pepper and vinegar, and
then thrown out.
 -- Samuel Johnson



Re: RegEx for UK Postal Codes

2003-04-01 Thread Peter Sergeant
 m/[A-Z]{1,2}\d{1,2}[A-Z]{0,1}\W\d{1,1}[A-Z]{2,2}/

I would personally rewrite it like this:

m/
[A-Z]{1,2}
\d{1,2}
[A-Z]?
\W
\d
[A-Z]{2}
/x

+Pete 

-- 
Almost all absurdity of conduct arises from the imitation of those whom we cannot 
resemble.
 -- Samuel Johnson



Re: RegEx for UK Postal Codes

2003-04-01 Thread Peter Sergeant
 Yikes, there's also BFPO...

I seem to remember, and perhaps incorrectly, that BFPO is not part of a
postcode, and takes a form similar to:

Peter Sergeant
BFPO 5
UK

But it's been a long time since I lived somewhere reachable by one...

+Pete

-- 
A cucumber should be well-sliced, dressed with pepper and vinegar, and then thrown out.
 -- Samuel Johnson



Re: CPAN site

2003-04-01 Thread Peter Sergeant
 Out of interest, what do people get from www.cpan.org? I only ever 
 use search.cpan.org myself. What am I missing? 

a) Provides a useful link to theory5 when search.cpan.org is down
b) It's much easier to scan specific heirachies on it, like URI::,
especially now that people are polluting the CPAN with modules like Meta
c) It has some scripts on it
d) Some people have index pages in their home directories that provide
(debatably) useful information

+Pete

-- 
Nature has given women so much power that the law has very wisely given them little.
 -- Samuel Johnson



[OT] [SPAM] Cassiopeia EM-500

2003-04-01 Thread Peter Sergeant
Following on from the discussions of PDAs, it occurs to me that my
lovely, precious Palm has removed the need for my fairly chunky, but
colour-screen Cassiopeia EM-500.

Half.com is selling it used for 120 quid, they seem to retail on eBay
for about 70.

Reviews:
- http://half.ebay.com/cat/buy/reviews.cgi?cpid=1011963129
- http://www.geek.com/hwswrev/pda/casioem500/
- http://www.zdnet.com/supercenter/stories/overview/0,12069,259152,00.html

It runs on WinCE, so you have Windows compatability (ActiveSync CD
included). Mac OS compatability is provided by
http://www.pocketmac.net/, and you can also sync it up to Linux machines
with an Infra-red port (not tried this, but details at
http://www.cewindows.net/wce/linux-serial.htm).

The screen has a minor scratch to it, that, while noticeable if you look
carefully, has never gotten in my way.

I'm looking for 70 to 80 quid for it, although ideally, I'd like to swap
it for an old Apple Airport Card and a book on C++ programming; other
interesting shiny things considered.

+Pete

-- 
Do not accustom yourself to use big words for little matters.
 -- Samuel Johnson



Re: use warnings and 5.005

2003-03-31 Thread Peter Sergeant
 If your code issues 
 warnings, it's wrong.

It is? Warnings are just that: warnings. Information to make you sit up
and say 'is that what I meant to do'? If your code doesn't compile, it's
probably wrong, whether or not it issues warnings is irrelevant.

+Pete

-- 
When a man is tired of London, he is tired of life; for there is in London all that 
life can afford.
 -- Samuel Johnson



Re: The joys of web development

2003-03-31 Thread Peter Sergeant
 What about old browsers, that support JavaScript but not the noscript 
 HTML element? *sighs*

Which are they?

-- 
When a man is tired of London, he is tired of life; for there is in London all that 
life can afford.
 -- Samuel Johnson



Re: use warnings and 5.005

2003-03-31 Thread Peter Sergeant
 Warnings are things that tell you when you did something you 
 shouldn't. 

No, that's wrong, and apparently the central point of your
misconception. Warnings are things that tell you when you *might* have
done something wrong. That's why they're called 'warnings' and not
'errors'.

+Pete

-- 
Read over your compositions, and wherever you meet with a passage which you think is 
particularly fine, strike it out.
 -- Samuel Johnson



Re: HTML!

2003-03-30 Thread Peter Sergeant
  And, seeing that it would be Just Wrong to make that the only way of 
  submitting the form, I'm going to have a submit button too.  How do I do 
  that funky thang where you can just hit enter to make that button do its 
  thang?
  
 Hmm, I think that's just something that all browsers implement, altho
 you could probably write some crack-ridden JS to parse every key the
 user presses...

I could be wrong, but I seem to remember earlier browsers would submit a
form when you hit ENTER, if the form was using GET, but wouldn't if you
were using POST. Maybe this has changed?

+Pete

-- 
Nature has given women so much power that the law has very wisely given them little.
 -- Samuel Johnson



Re: rugby

2003-03-25 Thread Peter Sergeant
  Ok, its been talked about in the past, but does anyone have any plans
  for a london.pm meet up to watch Ireland kick Englands arse on sunday.
  How about somewhere nice and central as well, what about the pillars
  of hercules? or does someone have a better suggestion?
 
 I'm planning to be in a pub but obviously watching a different game to
 you as in my game, Ireland get their arse kicked by England :)

I was going to say, will it really be possible to find a pub that shows
Ireland beating England? Seems unlikely...

+Pete

-- 
Almost every man wastes part of his life attempting to display qualities which he does 
not possess.
 -- Samuel Johnson



Re: c email libraries

2003-03-19 Thread Peter Sergeant
 There's a link to the Java source of Grendel but that's pretty app
 specific.

And a little free time and a friendly neighbourhood search-engine
provides:

Balsa's implementation:
http://web.mit.edu/ghudson/dev/nsanch/balsa-1.2.pre2/src/balsa-index-threading.c

I'm sure it can't be *THAT* hard to find the Evolution equivalent?

+Pete

-- 
Much may be made of a Scotchman, if he be caught young.
 -- Samuel Johnson



User-mode Linux (was: Re: Perl 6 Apocalypse 6)

2003-03-14 Thread Peter Sergeant

On Fri, Mar 14, 2003 at 12:03:24AM +, Paul Makepeace wrote:
 What, you're running on physical hardware? D'oh :-)
 
 I'm quite rapidly becoming a fan of User Mode Linux especially now that
 the Separate Kernel Address Space patch is out.
 
 Toys:
   http://user-mode-linux.sourceforge.net/uses.html
   http://user-mode-linux.sourceforge.net/skas.html
   http://uml.openconsultancy.com/paper.php
 
 Apart from some of the wacky network bridging business it's much simpler
 than I'd irrationally feared.

I'm afraid I'm going to use this opportunity to re-pimp Bytemark
hosting, who offer user-mode Linux machines hosted remotely, for £15 a
month, as I'm a very happy customer indeed - perfect for backup mail
servers and DNS...

http://www.bytemark-hosting.co.uk/hosting/vms.php

+Pete

-- 
Much may be made of a Scotchman, if he be caught young.
 -- Samuel Johnson



Re: Learning regular expressions

2003-03-13 Thread Peter Sergeant
   I disagree. Regexps are quite well documented. There is even a manpage
 exclusively dedicated to it. =-]

Though actually most of the docs used to be split between perlop and
perlre, neither of which are friendly pieces of text. I believe this
situation has ameliorated a little, but, certainly the docs were
traditionally kinda sucky.

   I think that Regexps are hard to learn because the most part of the folks
 that aren't too much scared to learn it just lack the essential and
 unavoidable compiler theory where regexp lays its foundations. IMHO, its
 simply impossible learn good quality regexp use unless you have good regular
 grammars theory before.

No, that's WRONG. Again, I can only give myself as an example, but, I
had no compiler theory or regular grammars theory. Regular expressions
MAKE SENSE - in (again) my humble experience, it tends to be people who
started with C or somesuch language who have the most difficulty with
them. Go figure.

+Pete

-- 
Much may be made of a Scotchman, if he be caught young.
 -- Samuel Johnson



RTF::Parser

2003-03-11 Thread Peter Sergeant
I'm taking over the maintenance of RTF::Parser. My first plans are to
write many many tests and some documentation (none exists). On that
note, I'd really appreciate it if people could send me examples of code
they've written using RTF::Parser, on which I can base tests and example
code.

Submissions to [EMAIL PROTECTED]

Thanks!

+Pete

-- 
Slavery is now no where more patiently endured, than in countries once inhabited by 
the zealots of liberty.
 -- Samuel Johnson



Natwest module

2003-03-04 Thread Peter Sergeant
I've today written the first half of a perl script to screen-scrape
Natwest's Online Banking. All the authentication parts are implemented,
but now I've lost interest (no pun intended). This should probably exist
as:

Finance::Bank::Natwest

If anyone would like to take up the torch, take my existing code, and
finish it, I'm more than happy to send it to them. Chances are, if
no-one does, I'll release in a few months.

+Pete

-- 
Much may be made of a Scotchman, if he be caught young.
 -- Samuel Johnson



Re: Freelance cooperatives (was: Recruitment Consultant Database)

2003-03-04 Thread Peter Sergeant
  seek out like-minded company, for inspiration and moral support if nothing 
  else.  I'm looking for successful examples to follow, and potential allies.
 
 Well I have been thinking about making the jump for a long time,
 but I am finding it very hard todo so. But eventually I want to
 start my own company. So if you want someone who can help, albeit
 on a limited basis, and at the same time you may be helping them.
 Then keep me in mind.

Well, I've made most of the jump myself - I'm going part-time at work,
I'm looking into starting a limited company, and have a few clients
lined up for various web/perl things. One of the things I'm doing is
bringing Schwern to England for a week to do a series of one-day courses
at companies about testing with Perl. I'll be posting details to the
list about this sometime early next week - if anyone would be
interested, and would like to be kept up-to-date, let me know...

+Pete

-- 
Almost every man wastes part of his life attempting to display qualities which he does 
not possess.
 -- Samuel Johnson



Recruitment Consultant Database (was: Re: Perl jobs in London?)

2003-02-28 Thread Peter Sergeant
 I've found that some agents are definately more clueful than others.. I think
 it helps to try and identify yourself in some way to them, so that *if* a job
 comes thru that you fit, that they will actually think of you and call you.
 I get the feeling that random people calling up about jobs just get transfered
 into a limbo part of their brain.

Although I'm not in the CFT club, I have been before, and, like you,
found that there's definite differences in the quality of recruitment
consultants...

Would we run foul of the data-protection act or some-such if we were to
create a database of recruitment consultants, along with thoughts and
experiences of them by people who've used them?

+Pete

-- 
Slavery is now no where more patiently endured, than in countries once inhabited by 
the zealots of liberty.
 -- Samuel Johnson



Re: Recruitment Consultant Database

2003-02-28 Thread Peter Sergeant
 Yep. That was me. The Agency Rating System. The idea was that
 you could rate agencies in a number of categories (professionalism,
 number of jobs, number of beers they bought, etc).

See, I was thinking of something more along the lines of a review system
- people just recount their experiences rather than an quantitative vote
... moderation could be put in place to stop obscene names, to try and
check no-one was giving false reviews and so on, and, surely, a
disclaimer would take care of legal aspects...

As some of you may know, I'm about to get more free-time by choice (I'm
going part-time so I can do some freelance stuff) - I'd be quite
interested in making a go of this... Any thoughts?

+Pete

-- 
A man of genius has been seldom ruined but by himself.
 -- Samuel Johnson



  1   2   >