Re: Dorset perl code

2003-09-25 Thread Jasper McCrea
Andy Ford wrote: > > Do you use a lot of r's in your Perl code. > > my $eeer; > my $arrr; > my $tractor; > my $combineharvester; > my $ooarr; Surely moiii $tracter; ? Jasper (probably sounded better in moiii head)

Re: Arrgh!

2003-09-19 Thread Jasper McCrea
Paul Makepeace wrote: > > Aye me hearties, rum and back slappin' to arrr fine swashbucklin' monger > Earle, t'day is be'in' celebrated accordin'ly, What's a pirate's favourite country? AGHH-gentina. Why does a pirate go on holiday? To get some ARRRGGHHH and ARRRGGHHH. How much does it cos

Re: nice part of San Francisco and hotel?

2003-09-18 Thread Jasper McCrea
"Clayton, Nik [IT]" wrote: > > Don't get too hung up on hotel location. SFO is only about 7 miles square, > so as long as you're in the city itself a cab from A to B isn't going to ^^^ Shurely some mistake? Jasper

Re: [OT] accessors pragma

2003-09-17 Thread Jasper McCrea
Sam Vilain wrote: > > Either of these are good IMHO: > > $class->set_attribute("value"); > $class->attribute = "value"; The latter I don't like. Although it's very intuitive as a setter, I don't like having (giving, I really mean) such unfettered access to such things. I like to check values

Re: return gotcha

2003-09-11 Thread Jasper McCrea
Richard Clamp wrote: > > On Thu, Sep 11, 2003 at 11:27:15AM +0100, Jasper McCrea wrote: > > Richard Clamp wrote: > > > > > > On Thu, Sep 11, 2003 at 11:02:32AM +0100, Paul Makepeace wrote: > > > > Is there a stand

Re: return gotcha

2003-09-11 Thread Jasper McCrea
Richard Clamp wrote: > > On Thu, Sep 11, 2003 at 11:02:32AM +0100, Paul Makepeace wrote: > > Is there a standard > > efficient, clear way of saying "...or function 'return;'s."? > > Returns false. return 0 / undef / ''; all return false, and none of the

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

2003-09-02 Thread Jasper McCrea
Paul Makepeace wrote: > > Je 2003-09-02 18:01:12 +0100, Ben skribis: > > I mean, the RDA for vitamin C is only, what, 60 milligrams? > > That's right -- at the same time there's plenty of dissention about > whether that's enough, and in what circumstances. Dousing your > bloodstream in anti-oxida

Re: golf and reversed emails

2003-08-27 Thread Jasper McCrea
Andrew Savige wrote: > > This is more hard-core: > > #!perl -wlp > use strict; > s;\s+$;;;y;<>/[-]{}()`';><\\]/[}{)('`;;($==y===c)>$-&&($-=$=); > @}=($_,@})}for(map$"x-(y---c-$-).reverse,@}){ > Improving that: #!perl -wlp use strict; s/\s+$//;y#<>/[-]{}()`'#><\\]/[}{)('`#;$_[y///c]++; @}=($_,@

Re: When is london.pm.org going to be in Esperanto?

2003-08-14 Thread Jasper McCrea
Paul Makepeace wrote: > > On Tue, Aug 12, 2003 at 11:02:04AM +0200, Beyer Steffen (AE-DA/EFS3) wrote: > > Is there already a time schedule for when the London.pm > > homepage will eventually be in Esperanto? > > Saluton - > > Argh sorry - yes, this is me. I've had exams running up to today so ha

Re: Calling subroutines.

2003-08-01 Thread Jasper McCrea
"Andy Williams (IMAP HILLWAY)" wrote: > > Hi, > > I want to be able to do something like the following: > > my $method = shift(@ARGV); > my @vars = @ARGV; > > eval { > &$method(@vars); > }; > > if ($@) { > die "Method doesn't exist"; > } > > sub METH1 { > my @passed_

Re: Avoiding $1, $2, ...

2003-07-29 Thread Jasper McCrea
Matt Lawrence wrote: > > Jasper McCrea wrote: > > >Paul Makepeace wrote: > > > > > >>I'd like to dump regex matches into an array without explicitly naming > >>$1, $2, ... > >> > >>=head1 NOT WORKING CODE > >>($m

Re: Avoiding $1, $2, ...

2003-07-29 Thread Jasper McCrea
Paul Makepeace wrote: > > I'd like to dump regex matches into an array without explicitly naming > $1, $2, ... > > =head1 NOT WORKING CODE > ($month, $day, $time, $host, $process, $pid, $message) = > /^(\w+) (\d+) (\d\d+:\d\d:\d\d) (\w+) ([()\w\/]+)\[(\d+)\]: (.*)$/ || > /^(\w

Re: Avoiding $1, $2, ...

2003-07-29 Thread Jasper McCrea
Paul Makepeace wrote: > > I'd like to dump regex matches into an array without explicitly naming > $1, $2, ... > > =head1 NOT WORKING CODE > ($month, $day, $time, $host, $process, $pid, $message) = > /^(\w+) (\d+) (\d\d+:\d\d:\d\d) (\w+) ([()\w\/]+)\[(\d+)\]: (.*)$/ || > /^(\w

Re: regexps

2003-07-18 Thread Jasper McCrea
Alex Hudson wrote: > > On Fri, Jul 18, 2003 at 04:44:10PM +0100, Joel Bernstein wrote: > > On Fri, Jul 18, 2003 at 04:40:05PM +0100, Chisel Wright wrote: > > > Just how you you pronounce 'regexps'? > > > Personally I don't because I keep tripping over my tongue. > > > > > > Is it "r-egg-eckps", "r

Re: [OT] Any Mini owners on this list?

2003-07-03 Thread Jasper McCrea
Joel Bernstein wrote: > > On Thu, Jul 03, 2003 at 06:23:05PM +, Andy Ford wrote: > > 6'4" and 16 1/2 stone - I'd need a convertible, the wheel in the middle > > and sit on the rear seat!! > > No, you don't sound very Mini. I'm 6'3", and there's plenty of room in both types of mini for me. I'

Re: UK Money, again

2003-06-27 Thread Jasper McCrea
S Watkins wrote: > > Ian Malpass wrote: > > No, they'll both have a mass of an ounce. Their weight - the force exerted > > on them by gravity - differs, due to the different uplift by the air > > around them. As I mentioned before (assuming this post doesn't beat my > > last one) I'm assuming unco

Re: [Enough]: Thank you all [Was: Re: UK Money, again]

2003-06-26 Thread Jasper McCrea
Luis Campos de Carvalho wrote: > > Dave Cross wrote: > > Here's a brief guide to our measures of length. > > > > 1 foot is 12 inches > > 1 yard is 3 feet > > 1 mile is 1760 yards > > > > There are others like a fathom (6 feet - but used to measure > > depths not lengths or heights), a chain (22 ya

Re: Contracts for contractors

2003-06-26 Thread Jasper McCrea
Sam Smith wrote: > > On Thu, 26 Jun 2003, Luis Campos de Carvalho wrote: > > Jonathan Peterson wrote: > > > P.S. If these are things that you all have to pay solicitors hundreds of > > > quid to draw up for you then just say, I'm not trying to get stuff on > > > the cheap. > >I'm curious. > >

Re: [OT] European computer game industry

2003-06-10 Thread Jasper McCrea
Alex McLintock wrote: > > If you remember Sinclair Spectrum's or have any interesting stories about > the UK or European computer game history this author would like to hear them. > > Either post to the list if it is of interest to all, or I can give you the > author's email address. > > Alex >

Re: The answer to the map and disc problem

2003-05-29 Thread Jasper McCrea
Jasper McCrea wrote: > > Peter Haworth wrote: > > > > On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote: > > > p.s. There's a great letter in this week's Radio Times. Someone is > > > complaining about a recent TV version of some Shakespeare p

Re: The answer to the map and disc problem

2003-05-29 Thread Jasper McCrea
Peter Haworth wrote: > > On Tue, 27 May 2003 09:32:37 -0700, Dave Cross wrote: > > p.s. There's a great letter in this week's Radio Times. Someone is > > complaining about a recent TV version of some Shakespeare play. Their > > complaint is that it was performed in modern dress but the l

Re: [ANNOUNCE] Signup for Tech Meet Mon 14th April + Tonight Social

2003-04-04 Thread Jasper McCrea
Simon Wilcox wrote: > > On Thu, 3 Apr 2003, Jasper McCrea wrote: > > > Simon Wistow wrote: > > > It is *really* important that you sign up though. You will not "under > > > any circumstances" be let in if you've not signed up according to the >

Re: [ANNOUNCE] Signup for Tech Meet Mon 14th April + Tonight Social

2003-04-03 Thread Jasper McCrea
Simon Wistow wrote: > > On Thu, Apr 03, 2003 at 12:58:47PM +0100, Mark Fowler said: > > Due to a change in security policy at the venue we now need to know in > > advance who's planning to attend. If you think you might attend, or think > > you might at some point in the next few days think you m

Re: Learning regular expressions

2003-03-14 Thread Jasper McCrea
Jasper McCrea wrote: > > Work wrote: > > > > if($userinput =~ /^\s*y|(ok)/i) # nice > > { > > ... > > } > > Going some way to prove that regexps are complicated (for me, anyway), this does > not do what I thought it would. > > /foo|bar/ matches

Re: Learning regular expressions

2003-03-14 Thread Jasper McCrea
Work wrote: > > if($userinput =~ /^\s*y|(ok)/i) # nice > { > ... > } Going some way to prove that regexps are complicated (for me, anyway), this does not do what I thought it would. /foo|bar/ matches foo or bar, obviously. /foo|(bar)/ (as in the yes/ok case above) matches totally different stu

Re: regrouping lines of STDIN

2003-03-13 Thread Jasper McCrea
Nicholas Clark wrote: > > On Mon, Mar 10, 2003 at 04:04:54PM +, Jasper McCrea wrote: > > The /g just removes the need for parantheses in the regex. ie > > > > ($bar) = /(foo)/ > > > > is equivalent to: > > > > ($bar) = /foo/g > > > >

Re: regrouping lines of STDIN

2003-03-10 Thread Jasper McCrea
Paul Makepeace wrote: > > On Fri, Mar 07, 2003 at 02:30:53PM +, Andrew Wilson wrote: > > On Fri, Mar 07, 2003 at 01:24:43PM +, Joel Bernstein wrote: > > > > while () { > > > > if (my ( $code ) = /$rxp/g) { > > > if ( my ($code) =~ /$rxp/g ) ... surely? ie, s/=/=~/ > > > > That's no

Re: [OT] Film Quiz

2003-02-21 Thread Jasper McCrea
Ian Brayshaw wrote: > > On Fri, 2003-02-21 at 14:33, Dave Cross wrote: > > I'm bored. It's Friday afternoon. So here's another film quiz > > for you all. > > > > Dave... > > > > Twice in the history of the Oscars two different actresses have > > been nominated for playing the same character in the

Re: Quick silly question

2003-02-05 Thread Jasper McCrea
"Randal L. Schwartz" wrote: > > >>>>> "Jasper" == Jasper McCrea <[EMAIL PROTECTED]> writes: > > Jasper> $h = { $_ => $h || {} } for reverse @r; > > Autovivification makes the "|| {}" mostly unnecessary. OH YEA

Re: Quick silly question

2003-02-05 Thread Jasper McCrea
Paul Makepeace wrote: > > On Wed, Feb 05, 2003 at 08:57:24AM +, Roger Burton West wrote: > > I have a list of elements of arbitrary length: qw(foo bar baz qux). I > > want to convert this into a deep hash reference: > > > > $r->{foo}{bar}{baz}{qux} > > > > Any easy way of doing this? > > $ pe

Re: Advice Needed: Sony Clie -> Nokia 8310 -> Demon POP

2002-11-26 Thread Jasper McCrea
Dave Hodgkinson wrote: > > On Tue, 2002-11-26 at 15:22, Dave Cross wrote: > > On Tue, Nov 26, 2002 at 03:10:08PM +, Dave Hodgkinson >([EMAIL PROTECTED]) wrote: > > > On Tue, 2002-11-26 at 14:21, Dave Cross wrote: > > > > Has anyone else got any advice on how to get a Sony Clie (or, I guess >

Re: (no subject)

2002-11-08 Thread Jasper McCrea
Kevin Gurney wrote: > > Anyone able to shed some light on how i can compare 2 arrays. > > I've tried ==, and this don't seem to work. > > Nothing obvious in the cookbook either. Ifin they ain't too big, try "@array1" eq "@array2" Jasper -- Jim: You've got to remember that these are just simp

Re: IEEE Lecture - Design of the Playstation 2

2002-10-30 Thread Jasper McCrea
Simon Wistow wrote: > > [0] See http://thegestalt.org/simon/ps2rant.html for why This missed out the biggest design flaw, that being the positioning of the on off switch. Jasper -- Homer: Got any of that beer that has candy floating in it? You know, Skittlebrau? Apu: Such a beer does n

Re: better way to split text into a hash ?

2002-10-09 Thread Jasper McCrea
Paul Mison wrote: > > On 09/10/2002 at 15:13 +0100, Dave Thorn wrote: > >On Wed, Oct 09, 2002 at 03:08:37PM +0100, S. Joel Bernstein wrote: > >> At 09/10/2002 13:11 [], Jasper McCrea wrote: > >> >ps I was semi-seriously thinking of getting some &#x

Re: better way to split text into a hash ?

2002-10-09 Thread Jasper McCrea
Paul Johnson wrote: > > Dave Cross said: > > > my %end_hash; > > @end_hash{@header} = split ' ', $text, 6; > > > > Hash slices rock. > > It's just a shame there's no way of combining those two lines. # use strict; Because, as we all know, 'use strict;' is gay. Jasper ps I was semi-seriously

Re: recommender systems

2002-10-07 Thread Jasper McCrea
Simon Wistow wrote: > > A while back I asked about 'people who liked this also liked that' > systems. Since then I've done a fair bit of research into them and > they're, umm, scary. They're lots of papers and research and formulae > with sigmas and derivative and things I'd suppressed from coll

Re: Signs and Ports (as in many bottles of different)

2002-05-28 Thread Jasper McCrea
Greg McCarroll wrote: > > Is it just me or have their been a number of indicators we are nearly > due for our biannual (or if you prefer semiannual) introspective > mailing list thread where we debate in our usual manner mailing list > pedentry, fascism, etc. ? > That would be pedantry. And I'm

Re: Tea (was Re: Bolloxia)

2002-02-21 Thread Jasper McCrea
Jonathan Peterson wrote: > > David Cantrell wrote: > > > I've been drinking lots of Chinese tea recently, as opposed to my normal > > can't-stand-a-spoon-in-it-cos-the-spoon-would-melt Indian/East African > > teas. Whittards do a particularly fine jasmine tea, which I am drinking > > right now

Re: Bolloxia

2002-02-18 Thread Jasper McCrea
Chris Carline wrote: > > On Mon, Feb 18, 2002 at 04:14:20PM +, Sue Spence wrote: > > Hmmm, so intelligence equates to memorization of > > meaningless facts? Not being able to name the monarch equates to appalling ignorance. Whether ignorance equates to intelligence is another matter, but th

Re: (OT) Forwarded : Stuff about the lack of hygiene on the tube

2002-01-30 Thread Jasper McCrea
Alex Gough wrote: > > On Wed, 30 Jan 2002, Wesley Darlington wrote: > > > On Wed, Jan 30, 2002 at 12:27:19PM +, Greg McCarroll wrote: > > > > . vomit originating from at least 9 separate people > > > > The story cannot possibly be true. If Spinal Tap teaches us > > anything, it is that one c

Re: Buffy series 6 first episode video

2002-01-14 Thread Jasper McCrea
Chris Carline wrote: > > On Mon, Jan 14, 2002 at 12:51:53PM +, Mark Fowler wrote: > > > > [2] Tivo doesn't work with cable > > > > Works with my cable (NTL). What cable do you have? Have you digital or analogue? I have digital, and the only reason I have to not go tivo is the non-compatibil

Re: JOB: Trainer Wanted

2002-01-03 Thread Jasper McCrea
Paul Makepeace wrote: > > On Thu, Jan 03, 2002 at 02:09:22PM -, Cross David - dcross wrote: > > [I offer no comment on the following] > > > > Prescient Training and Research Centre () are > > looking for a Perl trainer to start work on Monday. You'll need to train

google historical archives

2001-12-11 Thread Jasper McCrea
Ho ho. Has anyone else been browsing the google historical archives. http://www.google.com/googlegroups/archive_announce_20.html Particularly of note is the post from a real nerd about the 'new' star wars movie. What a star wars geek. Crikey,if I'd made a post like that, I'd be asking them to r

Re: Fun with Java Programmers

2001-12-05 Thread Jasper McCrea
Jasper McCrea wrote: > > "Randal L. Schwartz" wrote: > > > > >>>>> "Simon" == Simon Wistow <[EMAIL PROTECTED]> writes: > > > > Simon> For the last few people out there who don't read The Onion > > > >

Re: Fun with Java Programmers

2001-12-05 Thread Jasper McCrea
"Randal L. Schwartz" wrote: > > > "Simon" == Simon Wistow <[EMAIL PROTECTED]> writes: > > Simon> For the last few people out there who don't read The Onion > > I don't read the onion because nearly everything that is truly funny > there has the URL forwarded to me on lists like this. :) >

Re: sunday / saff london

2001-10-31 Thread Jasper McCrea
Seonaid Woodburn wrote: > > Um, I notice you're comparing numbers of geeks born in months > 1-6 with those born in months 7-12. If you're going for > winter/summer, shouldn't you be looking at something like: > > winter = (10, 11, 12, 1, 2, 3) > summer = (4, 5, 6, 7, 8, 9) > > or maybe > > win

Re: TPJ

2001-10-31 Thread Jasper McCrea
matt jones wrote: > > Robin Houston wrote: > > The entire academic periodical industry is based on the idea that > > authors don't get paid, and it seems to work. I can't imagine Einstein > > not bothering to write up the theory of relativity because he > > wouldn't get paid for it. > > The enti

Re: keyboards

2001-10-25 Thread Jasper McCrea
[EMAIL PROTECTED] wrote: > Actually, I have spent a large 3 figure sum on a keyboard; my Maltron, > which I pray will never suffer the ravages of soup; my fingers would > never forgive me. I though I must have read this wrong, since I figured that a large three figure sum would be at least £600,

Re: Movie rant

2001-10-01 Thread Jasper McCrea
Greg McCarroll wrote: > > * Simon Wilcox ([EMAIL PROTECTED]) wrote: > > > Ok, the first half was quite interesting in that it examined some > > psychology around loss and grief. and introduced Teddy. > > > > The second half was interesting only in that I was quite disturbed by the > > Flesh Fai

Re: Film Recommendatio : A Knight's Tale

2001-09-25 Thread Jasper McCrea
Greg McCarroll wrote: > > Medieval Night > Film-ish: Not sure yet, but i will come up with something > good Army of Darkness (AKA the Medievil Dead), of course. Jasper

Re: The best film of all time?

2001-09-18 Thread Jasper McCrea
Paul Mison wrote: > > On 17/09/2001 at 18:31 +0100, Jasper McCrea wrote: > >Not replying to too many posts here, because it'd be controversial (esp. > >since someone mentioned a Peter Greenaway film (and they were being > >serious!!)) > > Of course I was. His

Re: The best film of all time?

2001-09-17 Thread Jasper McCrea
Not replying to too many posts here, because it'd be controversial (esp. since someone mentioned a Peter Greenaway film (and they were being serious!!)) In no particular order.. Mr Jolly Lives Next Door (not sure if you could call this a film, but it's probably long enough, and directed by Steph