Re: old pictures

2001-06-06 Thread jduncan

On Wed, Jun 06, 2001 at 11:09:22AM +0100, Greg McCarroll wrote:
> * Mark Fowler ([EMAIL PROTECTED]) wrote:
> > On Wed, 6 Jun 2001, Lucy McWilliam wrote:
> > 
> > > On Sun, 3 Jun 2001, Greg McCarroll wrote:
> > >
> > > > just looking at some old pictures of london.pm meetings and YAPC::Europe
> > > > and i came across the classic, London.pm drinking in a hair dressing salon,
> > >
> > > Why oh why?
> > 
> > Infact, more to the point, where is this?  I seem to be in shot, though I
> > have no recollection of any hair dressing salons.  And I wasn't that drunk
> > at YAPC::E (unfortunately)
> > 
> 
> It was the same night we acquired the toilet seat, and the jugs of TVR.
> The hair salon in question is along the road from PO.

I do my level best not to be reminded of this sort of thing, and every time I
think I've forgotten some smartass comes and reminds me.  Thank You very much.

-- 
James A. Duncan

"Do you want to see can't call method "eject" on undefined value at F16.pm
line 32768?"
 -- Nathan Torkinton

 PGP signature


Re: Montreal

2001-06-01 Thread jduncan

On Fri, Jun 01, 2001 at 01:01:06PM +0200, Marcel Grunauer wrote:
> Who is going to be at YAPC::NA in Montreal? I'm going to be there
> from June 9-18 and seeing that the conference is from June 13-15,
> there are a few days to do sightseeing / hacking / whatever.

June 12-20th

> Also, any tips on what do to in Montreal would be appreciated
> (there are city guides, of course, but if someone has first-hand
> experience it'd be good).

If its a sunny day (ie, clear) go up Mont Royal and admire the view, its
fantastic.  I don't know if its running yet at this time of year, but the
trip up Olympic Stadium's inclined tower is pretty cool (good views). There
are the botanical gardens, and biodome (all touristy).  As far as I'm
concerned though, the best thing to do in Montreal are the bars, cafes and 
shops.

--james 

 PGP signature


Re: Another Perl Question

2001-05-24 Thread jduncan

On Thu, May 24, 2001 at 04:16:44PM +0100, Richard Clamp wrote:
> On Thu, May 24, 2001 at 04:13:35PM +0100, [EMAIL PROTECTED] wrote:
> > 
> > Any suggestions?
> 
> use Scalar::Util qw( blessed );

that was what I was looking for

--james 


 PGP signature


Another Perl Question

2001-05-24 Thread jduncan

I know, I know, this makes a grand total of three posted to the list in one 
day :-)

I have what will usually be a list of objects, but on occasions nasty
programmers (including me) do things to annoy me like inserting a hashref,
so I end up with a data structure that looks like:

  [
bless({}, 'Some::Class'),
bless({}, 'Some::Class'),
{},
bless({}, 'Some::Class'),
  ]

which as expected, makes things go crazy when I try to call a method on
every object in the list.

So what I really need is a surefire method to find out if something is blessed,
rather than just a reference.  I know that I could do a simple regex against
ref to find out if it is a HASH|ARRAY|SCALAR|CODE|REF|Regex, but a nice simple
keyword like blessed( $svref ) would be nice.

Any suggestions?

--james 



 PGP signature


Re: pc components

2001-05-17 Thread jduncan

On Thu, May 17, 2001 at 05:27:17PM +0100, Dominic Mitchell wrote:
> On Fri, May 18, 2001 at 02:18:16AM +1000, Ian Brayshaw wrote:
> > I saw Craig Charles at the Melbourne Comedy Festival a couple of years ago 
> > and it was a waste of time and money. He walked out on stage, said he was 
> > p1ssed, drank beer in front of the audience for an hour, occasionally 
> > screamed juvenile jokes centred around his "manhood", then suddenly declared 
> > that he'd had enough and swaggered off stage. Complete w4nker, really, given 
> > the price of the tickets.
> 
> I have to concur, having forked out good money to see him in Brighton.

I met him on the beach in Weymouth once.  He was marching around drunk, shouting
at everybody to tell them/us how famous he was.  Not very funny really.

--james 


 PGP signature


Re: Politics (was RE: BOFHs requiring license)

2001-05-14 Thread jduncan

On Mon, May 14, 2001 at 02:56:03PM +0100, David Cantrell wrote:
> On Mon, May 14, 2001 at 12:11:13PM +, Steve Mynott wrote:
> 
> > Well one advantage of BP or Shell is if you don't like either company
> > then you can simply choose not to purchase their products.
> 
> So how, pray, do I opt out of the international oil companies' cartel?

stop using cars, electricity and public transport.

-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


Re: TBA?

2001-05-10 Thread jduncan

On Thu, May 10, 2001 at 10:43:25AM +0100, Greg McCarroll wrote:
> * [EMAIL PROTECTED] ([EMAIL PROTECTED]) wrote:
> > is a venue decided on for tonights meeting, or is it still TBA?
> > 
> 
> Penderels Oak, and afterwards I have a table at the Gaucho Grill for
> steak.

yum

-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


TBA?

2001-05-10 Thread jduncan

is a venue decided on for tonights meeting, or is it still TBA?

-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


Re: TPJ Reborn

2001-04-11 Thread jduncan

On Wed, Apr 11, 2001 at 05:28:38PM +0100, Greg McCarroll wrote:
> * Leon Brocard ([EMAIL PROTECTED]) wrote:
> > Paul Mison sent the following bits through the ether:
> > 
> > > If you're going to do IRC style karma-ing, at least make sure there's a
> > > bot present
> > 
> > ... and before someone magically has enough time to link dipsy to
> > email, no email bots please! ;-)
> > 
> 
> I guess i'll unsub then

further evidence (scribble scribble)


 PGP signature


Re: Installing Perl/Tk on Win32

2001-04-10 Thread jduncan

The  activestate ppm files are best for this sort of thing.

On Tue, Apr 10, 2001 at 04:45:40PM +0100, Andrew Bowman wrote:
> I'm trying to install the Tk module on a Win32 system (I realise this is
> where my mistake lies, however, leaving that aside...). The docs say to:
> 
> perl Makefile.PL
> nmake
> nmake test 
> nmake install_perl
> 
> Which seems to presume the presence of nmake as part of either an MS C or
> Borland C compiler setup. There's also mention of it being possible to build
> it with MinGW (a Minimalist GCC type setup for Windows), however this
> doesn't come with nmake (and it's own make barfs on the TK makefile).
> 
> I haven't had much luck Googling for docs on how to install Tk on Win32
> using MinGW (or any other approach that involves having a commercial Windows
> C compiler), other than a fleeting reference to 'head scratching' - so any
> help or pointers or insights you can offer will be appreciated.
> 
> Andrew.


 PGP signature


Re: Ummm... Perl not professional??

2001-04-06 Thread jduncan

On Fri, Apr 06, 2001 at 01:18:13PM +0100, Simon Cozens wrote:
> On Fri, Apr 06, 2001 at 11:36:40AM +, [EMAIL PROTECTED] wrote:
> > Unfortunatly this is largely a valid point.  Perl is not used by
> > many *professional* people.  Perl is used by a lot of people, and some of
> > them are professional, but I wouldn't consider it the
> > majority.
> 
> A professional is someone with a profession.

Chuckle.

I think you are focusing on the definition rather than the
sentiment.  DWIM.  There are an awful lot of people out there that
download a MW script, change a few variables, and wack 'perl programmer'
on their CV.  I'd say 35-45% of CVs that are sent to me by recruitment
agencies fall into this category, or perhaps a little more skilled.  My
point is that while just getting your job done to keep the boss happy is a
valid use for Perl, I'd rather see someone who can get the job done in a
manner that will let (you|me|us) maintain, extend, and understand the code
that is written.  It is a both a pity and a fact that these people are
relatively few and far between.

The guy's point may be uneducated but it isn't wrong just because
(I|you|we) don't like the sentiment.

--james.


 PGP signature


Re: Ummm... Perl not professional??

2001-04-06 Thread jduncan

On Fri, Apr 06, 2001 at 07:12:33AM -0400, Andy Williams wrote:
> 
> Just looking for a good book on Email I can across the review for
> Programming Internet Email (Oreilly) by [EMAIL PROTECTED]
> 
> 
>http://www.amazon.co.uk/exec/obidos/ASIN/1565924797/o/qid=986555353/sr=8-1/026-4687583-3140411
> 
> Comments?

Unfortunatly this is largely a valid point.  Perl is not used by
many *professional* people.  Perl is used by a lot of people, and some of
them are professional, but I wouldn't consider it the
majority.  It is a shame.

--james 


 PGP signature


Re: xemacs / cperl question

2001-03-19 Thread jduncan

On Mon, Mar 19, 2001 at 06:23:27PM +, James Powell wrote:
> Anyone know how to stop xemacs cperl-mode to stop knackering it's 
> auto-tab indentation after you confuse it with a line like
> 
> my $dbh = ${$self->{params}->{dbh}};
> 
> (doesn't seem to like the curly braces).

  my $dbh = $ {$self->{params}->{dbh}} I think is the only way to do it --
it seems to think that the variable is '${' thus the terminating bracket
clobbers its count.

--james.

 PGP signature


Re: LWP::Simple

2001-03-16 Thread jduncan

On Fri, Mar 16, 2001 at 01:50:31PM +, Robin Houston wrote:
> On Fri, Mar 16, 2001 at 01:38:41PM +, [EMAIL PROTECTED] wrote:
> > Does anybody know if LWP::Simple allow for @: convention?
> 
> Yes it does.
> 
> Wouldn't it have been quicker to try it than to write that
> message? ;-)

Well, yes, normally.  I was already reasonably sure that LWP::Simple did
support that notation, but I was seeing 401's in return, which was making
wonder if it wasn't supported.  Convoluted  Explanation? Yes. Frustrating? 
Definitly. Now I have to go away and figure out where it is having a
problem.  I know that the UN/PW combination is correct, but alas no joy.

Ah well.

--james.


 PGP signature


Re: LWP::Simple

2001-03-16 Thread jduncan

On Fri, Mar 16, 2001 at 01:38:41PM +, [EMAIL PROTECTED] wrote:
> Does anybody know if LWP::Simple allow for @: convention?


oops :@


-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


LWP::Simple

2001-03-16 Thread jduncan

Does anybody know if LWP::Simple allow for @: convention?

--james.

 PGP signature


Re: Do what I mean!

2001-02-27 Thread jduncan

I remember him mentioning that there was an implementation of shor's
algorithm in Quantum::Entanglement.

On Tue, Feb 27, 2001 at 04:47:42PM +, David Cantrell wrote:
> On Tue, Feb 27, 2001 at 03:37:35PM +, Simon Wistow wrote:
> 
> > Matthew Robinson wrote:
> > 
> > > I have now implemented the changes to the constant pragma module so that
> > > all scripts run in constant time (in fact they run instantaneously).
> > 
> > You're ill.
> > 
> > Get help.
> 
> I'm iller!  I'm using Q::S in production code, cos it's easier to read than
> what I was doing previously.  We'll see what a performance hit I get when
> I run it over a real dataset.
> 
> A slightly related question - I remember Damian having a slide with his
> version of Shor's algorithm, which I can't find anywhere in the perldoc and
> which I can't for the life of me remember.  I think at the time that my
> brain was trying to escape through my ears.  Can anyone remember it?  The
> only version I can find online is in the Q::E module, and it ain't what
> I remember.
> 
> -- 
> David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/
> 
>Any technology distinguishable from magic is insufficiently advanced
> 
> ** I read encrypted mail first, so encrypt if your message is important **



-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


Re: Greetings

2001-02-23 Thread jduncan

On Fri, Feb 23, 2001 at 02:08:25PM +, Struan Donald wrote:
> * at 23/02 15:08 +0100 Philip Newton said:
> > Michael Stevens wrote:
> > > Question: 8uffy or willow?
> > > Answer: a controversial issue on which no consensus has yet 
> > > been reached.
> > 
> > That's because some people just won't see the light :-)
> 
> TMTOWTDI surely?

Must refrain from saying what came to mind... grrr!

--james.

 PGP signature


Re: trains

2001-02-14 Thread jduncan

On Wed, Feb 14, 2001 at 11:27:52AM +, Michael Stevens wrote:
> Last night I cunningly managed to get off the tube at stratford, get
> halfway out of the station, and then realise I don't actually
> live in Stratford.

Very cunning indeed.  About as cunning as a fox just... nevermind.

--james 


 PGP signature


Re: Mailing List Archive

2001-01-26 Thread jduncan

On Fri, Jan 26, 2001 at 12:07:18AM +, Greg McCarroll wrote:
> * James Powell ([EMAIL PROTECTED]) wrote:
> > 
> > To make it harder for google to find you - change your name Prince style.
> > 
> 
> good idea!
> 
> - greg of wales

This is the best laugh I've had in a little while. Thanks.

james.

-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature


Re: odd -w effect

2001-01-24 Thread jduncan

On Wed, Jan 24, 2001 at 12:57:13PM +0100, Philip Newton wrote:
> Mark Fowler wrote:
> > 
> > [EMAIL PROTECTED] wrote:
> 
> > > Strange.  Does anyone have any suggestions?
> > 
> > Unix might have a problem if you take the -w out using a windows based
> > editor which will insert some nasty line terminator at the end of the
> > lines and screw up the file.  That's what I normally find the 
> > problem is when 'nix can't find the file.
> 
> That is, replacing \n by \r\n. As you can see in the error message:
> 
> > >  ": no such file or directory
> 
> which is undoubtedly short for qq("/usr/local/bin/perl\r": no such file or
> directory) -- the carriage return causing the filename to be overwritten by
> the rest of the error message.

Got it -- something else to stick in the commit checks... grrr... I forgot
that some people use windows.

--james.

 PGP signature


odd -w effect

2001-01-24 Thread jduncan

Just had a wierd error that I've been unable to explain.  
We have a script, foo.pl, with #!/usr/local/bin/perl on the top. A 'which
perl' yeilds /usr/local/bin/perl -- all well and good so far.


 % perl foo.pl
   [things work]
 %./foo.pl
 ": no such file or directory
 %

Hmm.  The only thing thats changed is that we've taken the -w out. Okay,
lets put it back:

 % ./foo.pl
   [things work]
 %

Strange.  Does anyone have any suggestions?

--james

 PGP signature


Re: Forthcoming Meetings - Summary

2001-01-08 Thread jduncan

On Mon, Jan 08, 2001 at 01:36:00PM +0100, [EMAIL PROTECTED] wrote:
> >
> >Lets face it, we do break their rules in somewhat of a spectacular
> >manner...
> 
> Did I miss something? When did they ever try to throw london.pm out?

I'm not sure that they have tried to throw us out, but I think we have
been 'frowned on' rather heavily in the past... and we certainly have been
brushed aside as drunkards and fools (take the TVR jugs with you -- just
go away...)

--james.

 PGP signature


Re: Forthcoming Meetings - Summary

2001-01-08 Thread jduncan

On Mon, Jan 08, 2001 at 12:03:05PM +, Michael Stevens wrote:
> On Mon, Jan 08, 2001 at 01:01:29PM +, Greg McCarroll wrote:
> > > I'll submit to the popular vote of course, though a central London pub would
> > > be easier if we have to change. Why don't people like the PO?
> > have we ever tried reservin tables in PO?
> 
> My only objection to PO is the packed thing.
> 
> Oh and the fact they occasionally try to throw us out when we break all
> their rules.

Lets face it, we do break their rules in somewhat of a spectacular
manner...

--james.

 PGP signature


Re: lack of sleep, insanity and you rotten mongers

2001-01-04 Thread jduncan

grep is not in context :-)

On Thu, Jan 04, 2001 at 10:05:10AM +, Greg McCarroll wrote:
> 
> i was just reading comp.unix.programmer and saw GREP and thought who's
> talking about me,
> 
> this is all your fault!
> 
> greg
> 
> -- 
> Greg McCarroll  http://www.mccarroll.uklinux.net

-- 
James A. Duncan
W: www.fotango.com
P: +44 207 251 7021
F: +44 207 608 3592

 PGP signature