Re: london.pm

2011-12-06 Thread Philip Newton
On Tue, Dec 6, 2011 at 15:04, Dave Cross d...@dave.org.uk wrote:
 Well that seemed to go well. The AFNIC .pm pre-registrations were processed
 this morning and I am now the proud owner of the domain london.pm. It's only
 taken me 13 years to get it.

Well, well, well!

And congratulations for ending up the proud owner of the domain!

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Should I get my mum a Kindle?

2011-09-21 Thread Philip Newton
On Tue, Sep 20, 2011 at 23:21, Chris Devers cdev...@pobox.com wrote:
 Man, if only there were a way to get radio programmes, like, directly from
 the radio. Right?

Yeah. Especially radio programmes that you missed, so (a) you weren't
there to hear them live and (b) you didn't think to program your
stereo deck to record the show to cassette in advance. (Are there
stereos these days that can record to CDs or internal storage of some
kind? For that matter, are there stereos that you can make them record
something on a timer?)

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Perl in shared hosting environments

2011-09-21 Thread Philip Newton
On Wed, Sep 21, 2011 at 09:28, Tomas Doran bobtf...@bobtfish.net wrote:

 On 21 Sep 2011, at 07:51, lesleyb wrote:

 I'm just left wondering how far one could exploit this?  I'm guessing
 mod_perl
 would still be out of the question. And probably mod_fcgi.

 Taking fastcgi first - fastcgi just runs a perl script, so there is nothing
 stopping the first line of your script being BEGIN { push(@INC
[snip]
 Nothing in this stops the technique from working in mod-perl per-se

I interpreted the how far one could exploit this... mod_perl,
mod_fcgi to mean, This technique makes it possible to use modules
that aren't installed globally on the shared hosting environment.
Would it be possible to make use of mod_perl even though that's not
installed globally on the shared hosting environment? What about
mod_fcgi?

And I agree with Lesley in assuming the answer is no - I doubt that
you can modify Apache that way to inject a module into it from your
section of a shared hosting environment.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Expected Config File Locations

2011-08-30 Thread Philip Newton
On Tue, Aug 30, 2011 at 14:55, Smylers smyl...@stripey.com wrote:
 In particular, on Windows:

 * system_cfg_dir returns the value of %windir%. Is %windir%\bang* a
  sensible place for the config of a command called bang?

 * user_cfg_dir returns the user's home directory. Is that a sensible
  place for a configuration file?

  I see that psql uses %APPDATA%\postgesql\psqlrc.conf for per-user
  config -- is that better?

I think that on Windows, the application data directory hierarchy is
the right place for programs to store their own configuration data
(the exact name of the directory depends on the version of the OS:
it's better to ask the system for the physical path corresponding to
the logical name foo than to hard-code the thing).

You even get to choose whether those settings are machine-specific
(things like caches) or not (settings a user might expect to find even
if he logs in with his account somewhere else, if his account is
shared across/available through multiple machines): you have
AppData/Local or AppData/Roaming. (Again, exact names vary.)

On the other hand, that's not a place most people dig around in,
themselves. So if it's a configuration file you expect the user to
edit, then the home directory or a sub directory might be better
(depending partly on whether you expect to have only one config file
or [potentially] several).

There may be a difference between $HOME (aka %HOME%),
%HOMEDRIVE%%HOMEPATH%, and the home directory you get through a system
call, though

 * Most Windows systems seem to be single-user; do I even need both
  system-wide and per-user locations on Windows, and if not which one
  would you expect to find?

Many programs ask, when they get installed, whether to install it for
just the current user ($name) or for all users.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: [ANNOUNCE] Croyden.pm

2011-07-20 Thread Philip Newton
On Thu, Jul 21, 2011 at 05:18, Andrew Black
andrew-per...@mail.black1.org.uk wrote:
 Not sure how to get it or whether it would render but a SCHWA would be
 represent the canonical pronunciation of Croyd'n

So, Croydən.pm?

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: [ANNOUNCE] Croyden.pm

2011-07-19 Thread Philip Newton
On Tue, Jul 19, 2011 at 18:11, Paul Makepeace pa...@paulm.com wrote:
 On Tue, Jul 19, 2011 at 16:59,  ian.doche...@nomura.com wrote:
 [Ian replied.] Perhaps it should be Croyd[oe]n.pm ?

 Then surely just Croydön.pm?

I was thinking more along the lines of Croydœn.pm.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: RFC: Test::Copyright

2011-06-13 Thread Philip Newton
What's the point of checking for a copyright ending date that matches
the current year?

Or perhaps I should ask, whom do you envisage running such tests? The
developer, or end users?

It's good for the developer, I suppose, but useless for end users - if
they install something that was last updated three years ago (because
it's been stable since then and no bugs were found nor are any new
features needed), then there's no point in having a current copyright.

Also, I'm not sure why the copyright statements in individual files
need to match the general copyright statement - if a given submodule
was last updated in 1997 and was stable since then, then I would
expect it to have a copyright of (say) Copyright (C) E. X. Ample
1995-1997, and not to find 2011 in the copyright line just because
a new version of the module was released that modified other files in
the package - hence giving a copyright of (say) Copyright (C) E. X.
Ample 1995-1999, 2005-2011 for the entire thing.

Cheers,
Philip


Re: Cool/useful short examples of Perl?

2011-06-08 Thread Philip Newton
On Wed, Jun 8, 2011 at 15:37, Matt Lawrence matt.lawre...@virgin.net wrote:
 Perl's canonical true and false are 1 and '' respectively

Is that so? How would one find that out?

Dump-ing 4==4 and 4==5 with Devel::Peek implies to me that true and
false are PVNVs with integer, floating-point, and string values filled
simultaneously, so I'm not sure how any of the three fields could be
considered the value of those, er, values(?).

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Cool/useful short examples of Perl?

2011-05-30 Thread Philip Newton
On Mon, May 30, 2011 at 17:59, Uri Guttman u...@stemsystems.com wrote:

 # Here is a simple and fast way to load and save a simple config file
 # made of key=value lines.

  my %conf = read_file( $file_name ) =~ /^(\w+)=(\.*)$/mg ;
  write_file( $file_name, {atomic = 1}, map $_=$conf{$_}\n, keys %conf ;

I wonder what kind of configuration you use, where values can consist
only of one or more dots

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Junior-mid level Perl (Victoria Conlan)

2011-04-28 Thread Philip Newton
On Thu, Apr 28, 2011 at 00:30, Yitzchak Scott-Thoennes
sthoe...@gmail.com wrote:
 On Wed, Apr 27, 2011 at 3:19 PM, Victoria Conlan vi...@comps.org wrote:
 Specifically, it must be butter.  No butter, no shortbread.

 I've found that vegan buttery-style margarine is acceptable.  Especially if
 you replace half of the flour with ground almonds.  Pop over, I'll make you
 it some time.

 Here in the US, most of the margarine has dairy ingredients, especially the
 more buttery tasting ones.  YMMV.

Similarly here in Germany. Was a bit surprised when I first found out.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: web hosting

2011-01-01 Thread Philip Newton
On Fri, Dec 31, 2010 at 15:40, Ian Knopke ian.kno...@gmail.com wrote:
 I'm looking for a place to host a couple of websites. One is personal,
 the other is for a small business and needs some forms.

I'm rather partial to NearlyFreeSpeech.NET - PAYG webhosting, dirt
cheap for small amounts of data, though it will be more expensive if
you need lots of disk.

No one-click installs or anything like that: fairly minimalistic in
that respect. Targetted at people who know what they are doing and
like to do things themselves.

Comes with MySQL and PHP as well as a wide array of CGI languages.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: learning / training in java perl programmer?

2010-07-31 Thread Philip Newton
On Sat, Jul 31, 2010 at 5:24 PM, Aaron Trevena aaron.trev...@gmail.com wrote:
 can anybody recommend some good online/offline java introductions?

 I'm rather hoping I can get a scjp in my spare time over a couple of
 weeks on my own and then make a start on a proper trainging course
 after that.

Have you looked around for SCJP information?

I'm starting down that route and from what I've heard so far, being a
SCJP won't necessarily make you a good programmer, though you'll know
a fair bit about the language specification (what counts as
overloaded, when is something eligible for garbage collection, what
things are syntax errors and would be flagged by the compiler). So the
preparation you need for that is teaching to the test and learning
obscure tidbits.

SCJD, on the other hand, really asks you to develop a program, and is
the more worthwhile certification to have IMO. It does have SCJP as
a prerequisite, which is why I'm doing that one first. (You can also
do SCJA before SCJP, but I'm not sure who the audience for that is
supposed to be; managers, perhaps, or non-coding architects, but
probably not developers.)

So, basically saying, SCJP can be a good thing to have, especially as
a stepping-stone towards SCJD, but learning for SCJP won't necessarily
be a good introduction to *developing with Java* (as opposed to
learning about the Java compiler and the runtime environment, for
which is probably *is* a good introdcution).

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Solid state drives

2010-04-20 Thread Philip Newton
On Tue, Apr 20, 2010 at 13:59, Dirk Koopman d...@tobit.co.uk wrote:
 Peter Corlett wrote:

 On 20 Apr 2010, at 12:19, Martin A. Brooks wrote:
 [...]

 I replying too late to be at the front of the very long queue of people
 who will disagree with you entirely on this.

 Your sentence no verb.

 Really? I can see at least three. But what do I know, being a furriner?

I expect it was shorthand for Your main clause no finite verb.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Lovefilm, yes or no?

2010-04-14 Thread Philip Newton
On Wed, Apr 14, 2010 at 19:31, David Cantrell da...@cantrell.org.uk wrote:
 On Wed, Apr 14, 2010 at 07:16:18PM +0200, Abigail wrote:
 On Wed, Apr 14, 2010 at 04:23:48PM +0100, ian wrote:
  I was once asked at an interview 'how many digits of PI do you know?'.
 All of them - I just can't remember the order.

 An infinitely long sequence of them, I just don't know where it starts.

Ah - you have a proof that pi is normal, then! Just what
mathematicians have been searching for for ages!

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: [ANNOUNCE] London Perl Mongers Technical Meeting 12th April 2010

2010-03-27 Thread Philip Newton
2010/3/27 Piers Cawley pdcawley-london.0dd...@bofh.org.uk:
 Hmm... the tricky bit is finding a tune where 'Damian Conway' will scan...

Damian Conway, Lord Protector of England (and his code!)
born in 1964, died in 2058 (September!)
.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Parking At BBC White City

2010-03-17 Thread Philip Newton
2010/3/17 Paul londonpm90...@rainslide.net:
 On Wed, Mar 17, 2010 at 06:12:18PM +0800, Dave Hodgkinson wrote:

 But yes, the traffic will be appalling at that time.

 Is there a way to delete other vehicles from the roads?

You could try setting the quality-of-service field in your header and
hope that the routers along the way honour it.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: [Fwd: Betonmarkets CTO position]

2010-02-11 Thread Philip Newton
On Thu, Feb 11, 2010 at 17:01, Dirk Koopman d...@tobit.co.uk wrote:
 James Laver wrote:

 It's my single biggest source of spam. I get 419s all the time to it, job
 ads and today spam from a loan company that will loan me up to a million
 quid. Of course i'm likely to borrow a million quid off a spammer...

 I would, just wouldn't pay it back :-)

I'd love to pay it back; unfortunately, the money is held in a trust
account and we need you to provide the account closure fees in order
for the money to be released. Bribes may also accelerate the process.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Fun Friday afternoon topic: domain name disputes

2010-02-09 Thread Philip Newton
On Tue, Feb 9, 2010 at 15:46, Aaron Trevena aaron.trev...@gmail.com wrote:
 no .co.us would be an american domain

, specifically one for a company in Colorado.

Or so it used to be; I think they've relaxed the rules on the .us
domain since then. (Perhaps partly because the strict rules were, I
believe, one reason why the .us TLD never really caught on.)

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: MIME::Lite

2010-02-01 Thread Philip Newton
2010/2/1 Chris Jack chris_j...@msn.com:

 My preconception is the email would be sent to an email queue

But you said MIME::Lite was configured to send the mails via SMTP --
so it would be speaking directly to an SMTP server, rather than
handing off the emails to a message transfer agent such as sendmail
(which would handle things such as queuing, retrying, etc.).

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: TT and UTF8?

2010-01-31 Thread Philip Newton
2010/1/31 Tomas Doran bobtf...@bobtfish.net:

 Anyway - Cache::Memcached borks everything by not correctly storing the 
 utf8 flag...

I wonder whether this is a legacy of its having been developed at
LiveJournal -- which uses UTF-8 for entries etc. but treats it all as
bytes in Perl (I've even seen bits of code that explicitly strip the
UTF-8 flag, I think). So things such as 'ö' would be not just two
bytes but also two (Perl) characters inside LiveJournal's innards.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: SHA question

2010-01-14 Thread Philip Newton
On Thu, Jan 14, 2010 at 13:22, Peter Corlett ab...@cabal.org.uk wrote:
 For de-duping purposes, SHA is still faster than you can pull the files off 
 the disk and a secondary cheaper hash is unnecessary.

That reminds me of how I was disappointed to find that rsync generally
transfers complete files (rather than diffs) if both source and
destination are on a local file system -- before I realised that to
compute the diffs, it would have to read the entire first and second
files, and if it's going to read the entire first file from disk
anyway, it can simply dump it over the second file without checking.
Computing diffs would be more work in this case, not less.

So yes, I suppose something similar applies here -- you have to read
the entire file anyway, so you might as well go with
SHA-$number_of_your_choice.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: SHA question

2010-01-14 Thread Philip Newton
On Thu, Jan 14, 2010 at 16:20, Matthew Boyle
mlb-p...@decisionsoft.co.uk wrote:
 David Cantrell wrote:

 On Thu, Jan 14, 2010 at 02:02:51PM +0100, Philip Newton wrote:

 That reminds me of how I was disappointed to find that rsync generally
 transfers complete files (rather than diffs) if both source and
 destination are on a local file system -- before I realised that to
 compute the diffs, it would have to read the entire first and second
 files, and if it's going to read the entire first file from disk
 anyway, it can simply dump it over the second file without checking.
 Computing diffs would be more work in this case, not less.

 Shame that local includes at the other end of a really slow NFS
 connection to the other side of the world. Mind you, absent running the
 rsync daemon at the other end and using that instead of NFS, I'm not
 sure if there's a better way of doing it.

 the --no-whole-file option?  or am i missing something?

Yes - you're missing the fact that in order to compute the differences
(which it has to if it doesn't want to transfer the whole file), it
has to read the entire file over the slow NFS link into your
computer's memory in order to compare it with the local file in
order to tell which pieces have changed.

So transferring the whole file is probably faster, at least under the
assumption that reading and writing are about the same speed over that
slow link. (If reading is much faster than writing, then you might
still save some time this way.)

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: SHA question

2010-01-13 Thread Philip Newton
On Wed, Jan 13, 2010 at 15:06, James Laver james.la...@gmail.com wrote:
 Thirdly, be aware of what hashing guarantees. It does *not* guarantee
 uniqueness, it just gives you a very low chance that two files with
 the same hash are different.

Well, that said, is the very low chance not on the order of the
chance that you'll be run over by a bus in the morning, or that one of
the files will be changed through cosmic rays or bit rot in the
magnetic domains of the hard disk platter?

In other words, is 1x10^-64 (or whatever it might be) not so small as
to be effectively zero, since there are much higher risks (say,
1x10^-32) which you do not guard against, either?

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: SHA question

2010-01-13 Thread Philip Newton
On Wed, Jan 13, 2010 at 15:58, Dermot paik...@googlemail.com wrote:
 2010/1/13 Avi Greenbury avismailinglistacco...@googlemail.com:

 You might've missed his point.

 If two files are of different sizes, they cannot be identical. Getting
 the size of a file is substantially cheaper than hashing it.

 So you check all your filesizes, and need only hash those pairs or
 groups that are all the same size.

 Sorry guess I didn't make myself clear. I need to store the SHA in an
 SQLite file.

I think you're putting the cart before the horse.

Did someone come up to you and say, Dermot, put the SHA value in a database.?

I would have thought that you *need* to make sure that you detect
duplicate files (for example, to avoid processing the same file
twice). Storing the SHA in an SQLite file is a method you would *like*
to use to accomplish this, but may not be the only way nor the best
way.

Along those lines, you may wish to store the filesize in bytes in your
database as well, as a first point of comparison; if the filesize is
unique, then the file must also be unique and you could save yourself
the time spent calculating a digest of the file's contents -- no
1058-byte file can be the same as any 1927-byte file.

 Incident I get poor results from the MD5 compared with SHA so I can't
 relie on MD5 for

 MD5 (md5_base64) results:
 mr_485_htu_AST.pdf   116caa6cc1705db23a36feb11c8c4113 32
 MR_2891.pdf          01f73c142dae9f9f403bbab543b6aa6f 32
 duplicate.pdf         01f73c142dae9f9f403bbab543b6aa6f 32
 MR_2898.pdf          01f73c142dae9f9f403bbab543b6aa6f 32
 PR_A02.pdf           5552e6587357f9967dc0bc83153cca63 32
 mr_485_htu_hrt.pdf   116caa6cc1705db23a36feb11c8c4113 32
 PR_A01.pdf           5552e6587357f9967dc0bc83153cca63 32

 SHA (b64digest) results:
 mr_485_htu_AST.pdf   PqsBpkKgGxdEHvkoNyou1NV5kuY 27
 MR_2891.pdf          bQhWA445KFzXy6ldF/DSoG2xTEY 27
 duplicate.pdf         bQhWA445KFzXy6ldF/DSoG2xTEY 27
 MR_2898.pdf          ULBRZQB00qZIfIWD7oqdpfVpFtw 27
 PR_A02.pdf           6LdF6sWZnyLdWj44inFI6MSaUY4 27
 mr_485_htu_hrt.pdf   0VNwG7IiaIneEX3jh3SBUBaXMK0 27
 PR_A01.pdf           JS33nJhzTo9YTqRWe01xnOb6bEM 27

That's... odd. md5sum's guarantee of same if the hashes match isn't
as strong as SHA's, but I still wouldn't expect two files to md5sum
the same if their SHA sums don'T match.

However, those MD5 sums don't look like base-64 to me, so maybe you're
doing something wrong somewhere.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Brazilian PM looking for a job in London area

2010-01-11 Thread Philip Newton
On Mon, Jan 11, 2010 at 14:06, Hakim Cassimally
hakim.cassima...@gmail.com wrote:
 [Chris]: I'm going to guess your reply was intended to be helpful?

That's how I read it.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: The bar receipt for Saturday night...

2009-12-09 Thread Philip Newton
On Wed, Dec 9, 2009 at 10:11, Paul LeoNerd Evans leon...@leonerd.org.uk wrote:
 On Wed, 9 Dec 2009 07:11:44 +0100
 Philip Newton philip.new...@gmail.com wrote:

 2009/12/9 Andrew Black andrew-per...@mail.black1.org.uk:
  people are getting a bit pentiumed up

 Well, I amd expecting a bit of intel-ligence. Cyrixously now.

 Sun may say we've gone too far...

I'bm sure we crossed a line somewhere.

Lunchtime now, though. I could do with an acorn. Or an apple.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: The bar receipt for Saturday night...

2009-12-08 Thread Philip Newton
2009/12/9 Andrew Black andrew-per...@mail.black1.org.uk:
 On Mon, Dec 07, 2009 at 07:06:41PM +0100, Philip Newton wrote:

 I'm guessing not. I'll wait for the sparc of realisation to dawn, but
 I'm not sure whether I should have an atom of hope for that; might be
 language differences.

 people are getting a bit pentiumed up

Well, I amd expecting a bit of intel-ligence. Cyrixously now.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: The bar receipt for Saturday night...

2009-12-07 Thread Philip Newton
On Mon, Dec 7, 2009 at 18:39, Luis Motta Campos
luismottacam...@yahoo.co.uk wrote:
 Tom Hukins wrote:
 On Mon, Dec 07, 2009 at 05:23:07PM +0100, Luis Motta Campos wrote:
 Mike Whitaker wrote:
 Indeed. It wasn't even remotely humerus.
 Anh... I guess that would be an arm joke.

 Do you think it was worth the risc?

 Guess you meant Do you think it was *wrist* the risk?

I'm guessing not. I'll wait for the sparc of realisation to dawn, but
I'm not sure whether I should have an atom of hope for that; might be
language differences.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz 2009

2009-12-01 Thread Philip Newton
On Tue, Dec 1, 2009 at 09:03, Mike Whitaker m...@altrion.org wrote:

 (this is not an answer)

 But this might be:

 echo 169 | perl -pe '/(\d+)(?{ $_ = sqrt($^N).\n })/;'

Except it didn't follow the rules.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz 2009

2009-12-01 Thread Philip Newton
On Tue, Dec 1, 2009 at 17:52, Dermot paik...@googlemail.com wrote:
 (not sure about this point) is a copy of the value in $a{1}.

That's the salient point - it's an alias to the value in $a{1}, rather
than a copy, since values %hash returns aliasses, sort just shuffles
those aliasses, and foreach gives you an alias, too. So whatever you
do to $b happens to $a{1} as well.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Weekend entertainment

2009-11-16 Thread Philip Newton
On Sun, Nov 15, 2009 at 17:55, Jerry D. Hedden jdhed...@cpan.org wrote:
 To whom
 is it offensive?  Nigerians that are ashamed of what their fellow countrymen
 are doing?  Well, they should be, and should put a stop to it.

Well, that's easily said.

Clearly, all UK citizens who are ashamed of what other UK citizens do
should also put a stop to it, and likewise (mutatis mutandis) for
other countries.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Regexp capture group list

2009-11-10 Thread Philip Newton
On Tue, Nov 10, 2009 at 14:51, Paul LeoNerd Evans
leon...@leonerd.org.uk wrote:
 So how about

  my @matches = $_[0] =~ m/^$re/ or die ;
  substr( $_[0], 0, $+[0] ) = ;

  return @matches;

 I think I like that...

Ooh, yes, it does have a certain charm. And it may even involve less
string copying -- I don't know whether s/^.// is optimised to do
that, but AFAIK substr( ..., 0, ... ) =  will simply set the
internal OFFSET flag in the SV.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Regexp capture group list

2009-11-10 Thread Philip Newton
On Tue, Nov 10, 2009 at 14:11, Paul LeoNerd Evans
leon...@leonerd.org.uk wrote:
 After some headscratching I decided instead to have parse() return a
 list of the capture groups. I so far haven't found a neater expression
 than


  sub parse
  {
    my ( $text, $re ) = @_;
    $_[0] =~ s/^$re// or die Expected $re in $text...\n;

    return map { substr $text, $-[$_], $+[$_]-$-[$_] } 1 .. $#+
  }


 This seems a common-enough idiom that perhaps there's a neater solution
 - I find there's no @{^MATCHGROUPS} or similar present in perl...

 Can anyone offer any neater suggestions?

For matches, you can use list context assignment, which will give you
the groups. Unfortunately, that doesn't work for substitutions, which
always return a count of substitutions made.

But you could try this:

sub parse
{
  my ( $text, $re ) = @_;
  my @matches = $_[0] =~ /^$re// or die Expected $re in $text...\n;
  $_[0] =~ s/^$re//;

  return @matches
}

at the cost of running the regexp twice (once for matching and
capturing, then once for substituting).

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Regexp capture group list

2009-11-10 Thread Philip Newton
On Tue, Nov 10, 2009 at 15:53, Paul LeoNerd Evans
leon...@leonerd.org.uk wrote:
 On Tue, Nov 10, 2009 at 03:11:04PM +0100, Philip Newton wrote:
 Ooh, yes, it does have a certain charm. And it may even involve less
 string copying

 In fact, they seem to behave quite similarly:

Ah, poo :) Well, at least it's no slower in that respect -- and may
still be a bit quicker since you won't have to run the regexp machine
twice.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Efficient sorting of SNMP oids

2009-10-31 Thread Philip Newton
2009/11/1 Avleen Vig avl...@gmail.com:
 On Oct 31, 2009, at 22:17, Dave Hodgkinson daveh...@gmail.com wrote:


 On 31 Oct 2009, at 20:56, B Maqueira wrote:

 Using Sort::Key::OID or sort::maker would have been great, except that
 we need to deploy the script to a rather large number of servers and it
 is traditionally long and painful to get modules approved and deployed
 in our machines.

 Then build it in to your own dist tree.

 Or better yet, extract the key functionality you need from the module and mak 
 it part of your script! Easy.

That's what I was going to suggest. Behold the power of open source, etc.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Every other

2009-10-30 Thread Philip Newton
On Fri, Oct 30, 2009 at 11:35, Mark Fowler m...@twoshortplanks.com wrote:
 Compared to:

 perl -MO=Terse -e 'my $i; @new = grep { $i != $i } @old;'

Irrelevant, since that doesn't do what you want. (Hint: swap '=' and '!'.)

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Looking for a secondhand Datahand Pro II

2009-10-20 Thread Philip Newton
On Tue, Oct 20, 2009 at 12:43, Jasper jaspermcc...@gmail.com wrote:
 Microsoft have always made good keyboards and mices.

I've heard good things about their hardware (well, input devices, at
any rate -- the context didn't include consoles) in general.

Perhaps one should distinguish between Microsoft-the-software-company
and Microsoft-the-hardware-company.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: [OT] Encode woes

2009-09-25 Thread Philip Newton
On Fri, Sep 25, 2009 at 09:54, Dirk Koopman d...@tobit.co.uk wrote:
 Dirk Koopman wrote:

 Now, is there a reasonably reliable way of determining what we have, on a
 string by string basis, to at least tell whether we are dealing with utf8 or
 iso-8859 (not caring which variant) so that I can drive Encode appropriately
 to avoid crashes of the above type.  Or how do I completely switch off utf8
 encoding/decoding - everywhere - in an 80,000 line perl app.

 As no-one seems interested in this, or may be no-one else has had these
 problems themselves, can anyone suggest a better mailing list to poll?

I was going to suggest Encode::is_utf8 and/or utf8::is_utf8, but I
wasn't sure whether it would actually solve your problem so I thought
I'd rather stay quiet and hope someone with real-world experience in
utf8 woes would pipe up.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com



Re: Anyone hiring at the moment?

2009-09-25 Thread Philip Newton
On Fri, Sep 25, 2009 at 10:22, Andy Wardley a...@wardley.org wrote:
 To: publiustemp-londo...@yahoo.com,
 London.pm Perl M[ou]ngers london.pm@london.pm.org

What's that when it's at home?

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Does Perl has a code hider

2009-09-17 Thread Philip Newton
On Wed, Sep 16, 2009 at 20:17, Uri Guttman u...@stemsystems.com wrote:
 brian d foy autoposts FAQ entries to comp.lang.perl.misc and they get
 read and feedback is given to some of them. bdf has updated them as he
 can when good stuff is posted about an entry.

They're also maintained on github, and people who want to update the
FAQ can fork his repository, make the change, and send him a pull
request.

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Straight Jackets and Video Cameras

2009-07-30 Thread Philip Newton
On Thu, Jul 30, 2009 at 15:04, Bob Walkerb...@randomness.org.uk wrote:
 perl5.8: Hello my name is perl five point eight
 perl5.8: far too long lets try this
 perl5.8: hi my name is perl5.8
 perl5.8: still to long!
 perl5.8: hi im perl5.8
 perl5.10: dude, just say hi
perl5.005_03: don't you mean 5.008?

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: Tricky localization/scope question

2009-07-28 Thread Philip Newton
On Tue, Jul 28, 2009 at 11:20, Randy J. Rayrj...@blackperl.com wrote:
 Still, room for one more. TIMTOWTDI, and all that...

I hear CPAN could do with another web templating framework and a
couple of date/time-related classes...

Cheers,
Philip
-- 
Philip Newton philip.new...@gmail.com


Re: compression algorithm!

2009-04-08 Thread Philip Newton
On Wed, Apr 8, 2009 at 07:08, abhishek jain abhishek.netj...@gmail.com wrote:
 Hi Friends,I have a task to discover or search for a compression algorithm
 which compresses even 300 - 400 characters to about at least 200-300%
 compression reducing them to 150 characters.

What kind of text are we talking about?

If it's random data (i.e. all 256 characters are equally possible),
then what you are asking is, of course, impossible.

If it's English text but otherwise not especially repetitive, 50%
compression is probably hard if not impossible to achieve for a
general-purpose compression algorithm.

If it's something repetitive (say, status reports which always start
the same way or always contain certain fixed phrases), then a custom
codebook may be the way to go. (For example, Server 'indigo' has
failed due to: case temperature exceeded maximum permissible
temperature might compress to sift given { s = Server , i =
'indigo', f =  has failed due to: , t = case temperature
exceeded maximum permissible temperature }.)

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Recession rates

2009-03-10 Thread Philip Newton
On Tue, Mar 10, 2009 at 18:12, Dave Cross d...@dave.org.uk wrote:
 I saw this today[1], advertising for a pretty impressive list of skills for
 £175/day.
[snip]
 [1] http://www.jobsite.co.uk/cgi-bin/vacdetails.pl?selection=931442513

Now down to £150/day.

Cheers,
-- 
Philip Newton philip.new...@gmail.com



Re: My New Job (Was: Social Thurs 8 Jan 2009)

2009-01-05 Thread Philip Newton
On Mon, Jan 5, 2009 at 17:59, Mark Overmeer m...@overmeer.net wrote:
 My first Brompton lasted over six years of heavy duty (although
 the cycling conditions in Holland are a bit better than in the UK).
 No serious troubles, no accidents. The wheelbase (the distance between the
 front and back axes, needed for stability) is much better (longer) with
 other folding bikes.

ITYM is much better *than* with other folding bikes?

(Honest question; either interpretation is plausible to me.)

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz

2008-12-18 Thread Philip Newton
2008/12/18 Paul LeoNerd Evans leon...@leonerd.org.uk:
 On Wed, 17 Dec 2008 20:54:40 +0100
 Philip Newton philip.new...@gmail.com wrote:

 On Thu, Dec 18, 2008 at 02:47, Torsten Knorr create-s...@freenet.de wrote:
   Who is Haiku?

 Not who; what.

 http://de.wikipedia.org/wiki/Haiku

 Or maybe you'll find http://en.wikipedia.org/wiki/Haiku more useful :)

Maybe, maybe not; check the domain of his email address.

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Sample answers to Christmas Quiz

2008-12-18 Thread Philip Newton
On Thu, Dec 18, 2008 at 19:58, David Alban exta...@extasia.org wrote:
 On Thu, Dec 18, 2008 at 10:17 AM, Chris Jack chris_j...@msn.com wrote:
 4) How many different variable types are there in Perl? Be as sensibly 
 voluminous in your answer as you are  able.


  have been asked this in more interviews that I care to recall and generally 
 interviewers seem to be looking  for 3 (scalar, list, and hash) but code, 
 filehandle, and format are also high level types.

 i would have said only two:  scalar and list, since arrays and hashes
 are both lists.

They can both be initialised from lists, but I wouldn't call them lists.

That's like saying that '3' is a variable just because it's a literal
that you can use to initialise a variable with.

Lists are values, arrays and hashes are variables.

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz

2008-12-17 Thread Philip Newton
On Thu, Dec 18, 2008 at 02:47, Torsten Knorr create-s...@freenet.de wrote:
  Who is Haiku?

Not who; what.

http://de.wikipedia.org/wiki/Haiku

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz

2008-12-17 Thread Philip Newton
On Wed, Dec 17, 2008 at 15:01, Andy Wardley a...@wardley.org wrote:
 David Cantrell wrote:

 See also http://search.cpan.org/~domizio

 Which sends you here:

  http://perl.4pro.net/perlish_coding_style.html

 My poor eyes.  Make it stop.  Burn it with fire.

I can kind of understand semicolon-first... if it's a statement separator.

But before a sub declaration? Or after a closing brace in general?
What statements is it separating there? (Blocks aren't statements -
are they?)

Weirdness.

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz

2008-12-17 Thread Philip Newton
On Tue, Dec 16, 2008 at 23:04, Paul Makepeace pa...@paulm.com wrote:
 ; is a statement terminator, not a separator. Java inherits from C, not DWIM 
 :-)

I always thought Perl inherited the statement separator, not
terminator behaviour from Pascal.

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz

2008-12-17 Thread Philip Newton
On Wed, Dec 17, 2008 at 13:43, Abigail abig...@abigail.be wrote:
 The professor [1] who taught us Pascal in university treated ';'s to
 *start* statements with:


BEGIN do_this
; do_that
; more_things
; yada_yada_yada
END

Ah, yes - I've seen that style before, too, though seldomly.

And, recently, a similar thing in SQL:

SELECT
  this
  , that
  , theother
FROM
  tablename
  , othertable
WHERE
  foo = bar
  OR hello = world
;

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: Perl Christmas Quiz

2008-12-12 Thread Philip Newton
On Fri, Dec 12, 2008 at 15:41, Nicholas Clark n...@ccl4.org wrote:
 What are the 7 classes of unquoted string that are not barewords. I think it's
 7. It usually requires a Damian to remember them all. Most I can get.

What are they then?

I can only think of two off the top of my head - things before 'fat
comma' and the single-word contents of a hash subscript. Hm, do
filehandles count in things such as print LOGFILE 'bla'?

Cheers,
-- 
Philip Newton philip.new...@gmail.com


Re: LPW: Slides... DBIC and new recommendations!

2008-12-02 Thread Philip Newton
On Tue, Dec 2, 2008 at 16:28, David Cantrell [EMAIL PROTECTED] wrote:
 If you're using an ORM, why would you care what the underlying table is
 like?  You'll always access it via the ORM.

Excuse me while I laugh a little.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]


Re: IPC and counters

2008-10-16 Thread Philip Newton
On Wed, Oct 15, 2008 at 02:01, Simon Wistow [EMAIL PROTECTED] wrote:
 Child:

 my ($msg, $sem_id)  = get_message();
 my $sem = IPC::Semaphore-new($sem_id);
 if (0 == $sem-op(0, -1, IPC_NOWAIT)) {
 do_something($message);
 }

 # If we're the last then clean up
 if (EAGAIN == $sem-op(1,-1, IPC_NOWAIT)) {
 $sem-remove;
 }

Does the module really export no constants for this 0, 1, -1 stuff?
It all seems rather error-prone to me.

Cheers,
-- 
Philip Newton [EMAIL PROTECTED]


Re: Calling Conventions and Pass By Reference

2008-09-02 Thread Philip Newton
On Tue, Sep 2, 2008 at 20:18, Simon Wistow [EMAIL PROTECTED] wrote:
 What other subtleties am I missing? What are the pros and cons from a
 language and culture perspective? From an underlying implementation and
 internals perspective?

From a culture perspective, it also depends on which classes tend to
be mutable and which immutable.

For example, in certain languages, strings and primitive-wrapper
objects are immutable, so if you pass them to someone else, they can't
muck around with them. (The only thing they can do is take the
reference they were passed-by-value and make it point to a different
object, but that won't affect your copy of the reference, which will
still point to the original referent.)

If certain things tend to be immutable, you expect less action-at-a-distance.

Cheers,
-- 
Philip Newton [EMAIL PROTECTED]


Re: Unresponsive module authors

2003-09-25 Thread Philip Newton
On 25 Sep 2003 at 7:56, Randal L. Schwartz wrote:

 I dealt recently with an author who has only an autoresponder at his
 PAUSE-registered email address, telling people to go to a web page to
 get his *real* email address, hidden as an image.

Funny, I just got back from reading 
http://www.perlmonks.org/index.pl?node_id=292164 (pointed at from a 
comment I was asked to metamoderate on use.Perl).

 Or any blind user. :(

If it's the person I'm thinking of, they have a text-only version, too 
(though how screen-reader-friendly it is, I do not know).

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: __DATA__ and scalars

2003-09-24 Thread Philip Newton
On 24 Sep 2003 at 15:20, Dave Hinton wrote:

 On Wednesday, September 24, 2003, at 03:04 pm, Simon Wistow wrote:
 
  you could do something like
 
  my $data = join , DATA;
  eval \$date = \$data\;;
 
  which is icky but works
 
 Doesn't work when $data contains any double quotes.

I think Brian McCauley(sp?) has a solution to this (that he wanted to 
get into the Perl FAQ) using here-docs. Something like this:

my $data = join '', DATA;
eval \$data = UNLIKELYSTRING;\n$data\nUNLIKELYSTRING;

Now single and double quotes are both allowed and variables are 
interpolated. And UNLIKELYSTRING (or whatever you choose as a 
terminator) is, presumably, less likely to occur than a single double 
quote.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: Kibo and Religion - Inventing Deities

2003-09-08 Thread Philip Newton
On 7 Sep 2003 at 21:17, Piers Cawley wrote:

 Ah. I've had mail from Kibo, but haven't actually met him. 

I've had mail from Kibo, but I *think* it was an autoreply or form 
letter of some sort, so it probably doesn't really count. (It was a 
long time ago and I can't remember precisely.)

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: Ob-buffy

2003-09-04 Thread Philip Newton
On 3 Sep 2003 at 17:28, Jonathan Peterson wrote:

 Twin Peaks winds me up. I remember being in school when it was on, and the 
 kind of people who were into it suffered from two other co-morbidities:
 
 1. They liked Marillion
 2. They tried to understand R.E.M. lyrics

I never watched it but I remember that when I was in school (that would 
be around 1990, I think), the history teacher would occasionally 
threaten to give away what happened in a future Twin Peaks episode if 
people weren't attentive (when Germany was in the middle of the series 
but he had seen it all in Scotland, or something).

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: gzipping your websites

2003-09-02 Thread Philip Newton
On 1 Sep 2003 at 21:58, Tim Sweetman wrote:

 Does all this negotiation run into hot water with legacy p(r)oxy caches?

I believe someone mentioned that they couldn't get their cache to cache 
the contents if they sent the proper HTTP header (Vary: encoding, I 
believe, meaning Hey, proxy, the result of fetching this URL depends 
on the Encoding header the client sends, so only send back this stuff 
to clients with the same header as the one you're making this request 
on behalf of).

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: gzipping your websites WINRAR 40 days trial

2003-09-02 Thread Philip Newton
On 2 Sep 2003 at 7:16, Dominic Mitchell wrote:

 It's certainly not what I'd call anywhere close to being standard or
 universal. 

I'm told it's fairly popular in (some?) Usenet binary newsgroups as a 
standard way of distributing warez and moviez.

From what I gather, it supports multi-volume archives natively (which 
are a bit of a hack with the ZIP format); there also exists a PAR 
scheme which gives parity information so if you miss up to 'n' segments 
of a multi-segment file, you can recreate them from the parity data.

Compression is also sometimes better than with ZIP, possibly because of 
one or both of (a) it's said to have a special multimedia mode that 
is tuned to compressing audio and/or video (no idea how that works, 
though) and (b) it can create solid archives (things .tar.gz - 
compress the files as one rather than compressing each file 
individually as in .zip, hence you can take advantage of redundancy 
across files).

I've very rarely come across a file I wanted that was in .RAR format, 
though. When I started computing in the 90's on PCs, it was LZH at the 
beginning, replaced by ARJ shortly after I started; now it's ZIP. (And, 
of course, the perennial .tar.Z / .tar.gz in the *nix world, though 
.tar.bz2 are starting to show up in a couple of places.)

So, as far as I'm concerned, .RAR isn't standard, either, but 
apparently there are such for whom it is. This is probably not relevant 
for whoever started the thread, though.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: DOS/WIN archivers of the mid 1990s

2003-09-02 Thread Philip Newton
On 2 Sep 2003 at 9:43, Roger Burton West wrote:

 On Tue, Sep 02, 2003 at 09:24:11AM +0200, Philip Newton wrote:
 
 When I started computing in the 90's on PCs, it was LZH at the 
 beginning, replaced by ARJ shortly after I started; now it's ZIP. (And, 
 of course, the perennial .tar.Z / .tar.gz in the *nix world, though 
 .tar.bz2 are starting to show up in a couple of places.)
 
 For a while, ARJ was looking set to displace ZIP v2; it was producing
 consistently smaller files, and had just grown a solid mode (which
 originated with HPack, but that's another story entirely).

That's certainly what it looked like to me in the early-mid 90's (my 
BBS/mailboxing days: roughly 1992-1994), where ARJ appeared to be the 
most popular compressed format by far. (Though my favourite mailbox 
switched over to SQZ due to its slightly better compression, I don't 
think that format ever became widespread.)

I was away from computers for about 1995-1997 and was a bit surprised 
on my return to find that ZIP appeared to have taken over from ARJ.

I can well imagine that the availability of Info-ZIP may have been part 
of this; another part is probably the advent of Win95 and WinZIP, which 
brought compression to the pointy-clicky masses. (ARJ and PKZIP had 
both been 16-bit command-line DOS programs, though there was third-pary 
software called ARJMENU which gave you a text-mode full-screen 
interface to ARJ, and I think PKZIP later came up with a 32-bit 
graphical version of their software.)

 But Rob Jung insisted on keeping the source entirely closed, which
 meant that instead of competing with ZIP as the universal and
 featureful format it was competing with RAR as the small format, at
 which it failed. 

I think it stood a decent chance at featureful if not universal; it 
certainly had a ton of features, which got more and more with each 
version.

Compression was roughly the same, but ARJ was the first of the two to 
have multi-volume archives, for example, or backup archives storing 
multiple versions of the same file (it retrieved the latest version by 
default but you could ask for any older version as well). I think that 
by count of features, ARJ was probably more successful.

No idea what ARJ is doing these days. They still seem to be around as a 
company (and have a better format called JAR, apparently), but I 
haven't seen an ARJ archive in many a day. I doubt they have many 
sales.

 This is probably not relevant 
 for whoever started the thread, though.
 
 Neither is anything I've said here.

But it's been interesting talking about it.
-- 
Philip Newton [EMAIL PROTECTED]




Re: DOS/WIN archivers of the mid 1990s

2003-09-02 Thread Philip Newton
On 2 Sep 2003 at 10:09, Roger Burton West wrote:

 I still have copies of most of the archivers and compressors I was
 playing with in those days... anyone remember UC2? HA? SAR? ACB? 

I had a bunch squirrelled away on my old hard drive (125 MB, the 
luxury). I should have that backed up on CD-R somewhere but I'd have to 
dig for quite a while.

Of those you mentioned, I only ever saw HA. (My version had a bug in 
that its help output had lines terminated IIRC by CR CR LF, causing it 
to double-space on my screen unless I piped it through a filter.)

A couple of others I had were HAP (and its companion, PAH), SQZ, DWC 
(by Dean W. Cooper), PKPAK, LHARC, LHA, ICE(?), ZOO, and AR.

I don't think I ever saw a DWC or AR archive in the wild, though. ICE 
was basically a renamed LHA, so that doesn't really count; I think most 
.lzh were LHA rather than the older LHARC. I didn't come across many 
.ARC archives either (which PKPAK and ARC created IIRC), but I did see 
a couple. ZOO appears to be very old indeed (and was even fairly 
portable, apparently; I saw a description of moving them over to a VMS 
machine with Kermit, for example).

I remember whatever produced .ARC because it produced really bad 
compression in two ways: didn't squeeze as much out of the file as most 
other utilities, and the resulting file couldn't be compressed much, 
either.

There were probably tons more that sprung up after my time as well; I 
remember seeing a compression comparison site with all sorts of apps, 
though most appeared to be newer (as in, developed in the last six or 
seven years).

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: DOS/WIN archivers of the mid 1990s

2003-09-02 Thread Philip Newton
On 2 Sep 2003 at 9:19, Chris Devers wrote:

 On Tue, 2 Sep 2003, Philip Newton wrote:
 
  No idea what ARJ is doing these days. They still seem to be around
  as a company (and have a better format called JAR, apparently) [...]
 
 JAR? No relation to the Java archive format, is there?

Correct: no relation.

 I thought that Java's JAR files were just Java-tARballs.

I believe they're basically ZIP files with certain specifically-named 
members. Or something. But based on ZIP, not TAR.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: insidious biometrics, identity crises

2003-09-01 Thread Philip Newton
On 29 Aug 2003 at 22:29, Piers Cawley wrote:

 Michael Stevens [EMAIL PROTECTED] writes:
 
  Aah, but what programming language would be best for them to use on
  such a project?
 
 Befunge. Or Brainfuck. Maybe INTERCAL.

Malbolge.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: insidious biometrics, identity crises

2003-09-01 Thread Philip Newton
On 1 Sep 2003 at 9:56, Rafael Garcia-Suarez wrote:

 Philip Newton wrote:
  On 29 Aug 2003 at 22:29, Piers Cawley wrote:
  
   Michael Stevens [EMAIL PROTECTED] writes:
   
Aah, but what programming language would be best for them to use on
such a project?
   
   Befunge. Or Brainfuck. Maybe INTERCAL.
  
  Malbolge.
 
 The obligatory dantesque reference ?

No, the obligatory language that's very easy to program in, hence 
suited for large projects.

http://www.google.com/search?q=malbolgebtnI=I%27m+Feeling+Lucky

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: gzipping your websites

2003-09-01 Thread Philip Newton
On 1 Sep 2003 at 15:26, Jason Clifford wrote:

 On Mon, 1 Sep 2003, David Cantrell wrote:
 
  I don't do the uncompression on the fly, but do people think it's
  reasonable for me to have bzipped files on my site?  Obviously, people
  using sane systems can deal with them, but I have no idea whether those
  stuck in the Microsoftian Dark Ages can.  In fact, can they easily deal
  with gzips?
 
 gzip is not a problem for modern clients as all browsers support it.

So this is not a problem for browser-ish content such as HTML.

However, if you offer files for download that are gzipped, then you may 
run into either of the following problems:

(a) the browser ungzips them during the download but doesn't strip the 
.gz suffix, leading to confusion
(b) the browser doesn't ungzip them and the user cannot do so 
themselves.

WinZip can handle .gz and is probably widely available (I'll wager it's 
one of the most common non-registered shareware programs) but you can't 
really rely on it.

 I don't think that is the case with bzip though.

Ditto. I haven't heard of a browser that can handle bzip2 (though I 
imagine Mozilla can do it if built with -DKITCHEN_SINK), and most 
windows users will not have bunzip2 on their systems.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: gzipping your websites

2003-09-01 Thread Philip Newton
On 1 Sep 2003 at 10:31, Nigel Hamilton wrote:

 I tried using Apache MultiViews to served pre-compressed static content, 
 but to no avail. The idea was Apache would map a request for index.html to 
 index.html.gz and serve the precompressed file instead. In the same way 
 that language encoded files are mapped: index.html - index.html.jp .
 
 Has anyone managed to get content negotiation to work for pre-compressed
 static content? ... this is the ideal scenario speed-wise.

I've managed to have a file foo.html.gz and have Apache serve that on a 
request for foo.html. I did not, however, have a file foo.html in the 
same directory, so content negotiation wasn't really involved, or not 
in the way that I understand you are after.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Margarine (was Re: insidious biometrics, identity crises)

2003-08-29 Thread Philip Newton
On 29 Aug 2003 at 10:56, Paul Makepeace wrote:

 margarine - why do people even consider eating this shit? Ignorance?
 Don't care about themselves? Laziness? Habit? 

My theory: no taste buds.

Margarine icky, butter much better.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: request for supercited mails

2003-08-28 Thread Philip Newton
On 27 Aug 2003 at 19:48, Robin Berjon wrote:

 On Wed, Aug 27, 2003 at 10:57:20AM +0100, Simon Wistow wrote:
 I especially want multiply cited sources and preferably multiply nested 
 super cites if such a thing exists.
 
 Ask anyone in marketing, sales, or whoever needs interface with
 multiple LookOut users constantly. [...] Most of it was supercited 

Are we talking about different things here?

I think the supercite Simon is talking about is the  Simon = 
Simon Wistow [EMAIL PROTECTED] wrote: followed by lines beginning with 
Simon style; LookOut users (IME) tend not to add quote leaders at 
all, settling instead for bunging the entire previous message at the 
bottom of a new message, possibly preceded by a line saying Begin 
original message or similar.

(This style is, I believe, sometimes called TOFU, a term originating 
[as far as I can tell] from German Usenet.)

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: golf and reversed emails

2003-08-28 Thread Philip Newton
On 28 Aug 2003 at 9:49, Ben wrote:

 Yes. I first read about this is in Peter van der Linden's excellent
 book Expert C Programming. I would heartily recommend it as one of the
 most readable books about a programming language I have ever read. Go
 find. 

Ah yes. That's where I thought I had read it.

I remember writing to the author about a couple of minor typos in the 
book and being pointed to the on-line errata with a remark along the 
lines of ... but you should really be using Java instead these days; 
it's better than C.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: insidious biometrics, identity crises

2003-08-28 Thread Philip Newton
On 28 Aug 2003 at 16:47, Steve Mynott wrote:

 Gererally the idea of compulsory ID cards is very unpopular in both
 Northern Europe and English speaking countries and its only the
 Southern Europeans (and Germany) who have them. 

And as far as I'm aware of, Germans don't mind having their national ID 
card (Personalausweis / Perso).

On the other hand, I'm not sure quite how compulsive it is; I've heard 
conflicting information on, say, whether you are required by law to 
have it on you at all times.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: golf and reversed emails

2003-08-27 Thread Philip Newton
On 27 Aug 2003 at 10:10, David Cantrell wrote:

 On Wed, Aug 27, 2003 at 01:25:41PM +1000, Andrew Savige wrote:
 
  To reverse the order of the lines (rather than their content),
  can anyone shorten this?
  
  perl -e'print reverse' f.tmp
 
 perl -pe'reverse'f.tmp

This calls 'reverse' on each line in turn, rather than on the entire 
file. It also doesn't assign the result of 'reverse' to anything, nor 
does it print it. (What is printed is the original, unchanged value of 
$_ for each line.)

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: 384(!) readers on London.pm

2003-08-26 Thread Philip Newton
On 18 Aug 2003 at 22:49, Gabor Szabo wrote:

 You can take a look at the data I mentioned on YAPC::EU about the size of
 some of the groups:
 
 http://www.perl.org.il/pm/

How about adding Hamburg.pm to that list? That's slowly been getting 
going since it was revived this spring.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: text'd or texted

2003-08-11 Thread Philip Newton
On 5 Aug 2003 at 9:41, Andy Ford wrote:

 Another word to confuse the non English speaking community -the verb to
 text!!

Any noun can be verbed (though verbing weirds language).

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: text'd or texted

2003-08-05 Thread Philip Newton
On 5 Aug 2003 at 10:55, Rafael Garcia-Suarez wrote:

 hlör u fang axaxaxas mlö.

I see.

Googled for it, and after reading up at a couple of sites, it reminded
me of http://www.zompist.com/kitgram.html#partspeech , specifically of
the bit about It stones whileunder it grows greeningly (and that URL
mentions Borges, too). I also like Zompist's comment about whether we
weren't just fooling ourselves.

Another thing that came to my mind was Lojban and its _brivla_, which
are predicates and could be noun-ish, verb-ish, or adjective-ish in
translation depending on the context. So you could claim it's a
language without nouns and adjectives and that it uses verbs for those
functions; {lo gerku cu bunre} could then be translated as something
like that-which-dogs, browns rather than The dog is brown, which is
how I'd probably translate the sentence.

Cheers,
Philip
--
Philip Newton [EMAIL PROTECTED]




Re: [ANNOUNCE] YAPC::Europe Auction

2003-07-28 Thread Philip Newton
On 27 Jul 2003 at 17:24, Richard Clamp wrote:

 On Sun, Jul 27, 2003 at 05:21:03PM +0100, Michael Chamberlain wrote:
  So, in conclusion both London.pm and Paris.pm will have their homepage
  in Esperanto until the end of the year.
  
  
  
  You mean for the next 12 months, not until december ;)
 
 No, until the end of the year.

On the other hand, given that the sum raised was so substantial (an 
also in light of how search.cpan.org went to orange for a bit even 
though the orange group lost, in honour of the substantial bid, as I 
understood), wouldn't it be a nice gesture to offer a full year?

I mean, if 200 euros would have made the page French until the end of 
the year, surely 1372 euros can do so for an entire year?

Koraj salutoj,
Filipo.
-- 
Philip Newton [EMAIL PROTECTED]



Re: regexps

2003-07-20 Thread Philip Newton
On 18 Jul 2003 at 16:53, Alex Hudson wrote:

 Surely I am not alone in saying 'regg-ecks'?

I use the hard G and say regg-ecks and regg-ecksp (and don't have 
appreciable difficulty with the form ending in -p).

However, I usually only use those words when reading something written 
by someone who prefers the abbreviation. I think I usually use the 
expanded form regular expression when I'm talking.

 Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




How to make lexical warnings 'die'?

2003-07-14 Thread Philip Newton
I'm trying to find out whether I have valid input data and wanted to 
use warnings for this purpose - by adding zero to get a number and 
trapping the argument is not numeric in addition warning.

Reading through perllexwarn suggests that I should be able to use 
warnings FATAL = qw(numeric); for this. Yet the following code 
doesn't do what I expect:

use warnings FATAL = qw(numeric);
eval {
  my $price = $content + 0;
  print bar\n;
  $totalPrice += $price;
};
if($@) {
  # report an error and die with a custom message
}

In particular, neither is $@ set after this, nor does execution 
terminate completely (in particular, bar is printed even though the 
warning is printed to STDERR.

This is with ActivePerl 623 (based on 5.6.0).

Any ideas? (Or should I use the regex version or the one based on 
strtod in `perldoc -q determine`?)

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: How to make lexical warnings 'die'?

2003-07-14 Thread Philip Newton
On 14 Jul 2003 at 13:41, Paul Johnson wrote:

 I dunno.  Works for me.
 
  This is with ActivePerl 623 (based on 5.6.0).
 
 Solaris 5.6.1 and 5.8.0.

A small test-case just worked for me on Linux 2.4.7 and 5.8.0... I 
suppose the answer is Update, my man!, then.

Thanks for the confirmation.

 I'd look at Scalar::Util::looks_like_number()  I think you'll need the
 CPAN version. 

Thanks; that sounds handy, too. Not sure whether I can install it, 
though, unless it's been ppm-ified. (Here by Windows.)

Or perhaps I should simply test on the Linux box, which has 
perl5.8.0... only thing is it belongs to a project I worked on 
formerly, so I probably shouldn't be using it, in theory. Have to see.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




XML book recommendations?

2003-07-02 Thread Philip Newton
Can someone recommend a decent XML book or books?

I've been asked to have a look at XML and XSLT, and the book they gave 
me is Wrox's _Professional XML_ (first edition, I believe).

I googled for that on newsgroups and found both positive and negative 
comments; however, it seems that one major downside is that it is out 
of date (it was published in 2000).

I'm not sure whether I need to know XML in the context of Java or MSXML 
or anything in particular.

Since I'm generally of the opinion No-one was ever fired for buying 
O'Reilly (though even their books are not universally good, I'm told), 
I'm considering recommending the company purchase the XML CD bookshelf 
( http://www.oreilly.com/catalog/xmlcdbksf/ ) since that seems decent 
value for money (certainly cheaper than all the dead tree versions 
together).

Has anyone got experiences with this or other books? Any 
recommendations or warnings?

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: list all installed perl modules

2003-07-02 Thread Philip Newton
On 3 Jul 2003 at 0:36, Andy Ford wrote:

 What is an easy way to find all installed perl modules
 
 Is there a module to do it!!

Well, there's Tom Phoenix's Inside ( 
http://search.cpan.org/author/PHOENIX/Inside-1.01/ ). I think it's a 
script rather than a module, though.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: [ot] Mounting Unix Drives in Windows

2003-07-01 Thread Philip Newton
On 1 Jul 2003 at 2:38, Dave Cross wrote:

 3/ Are there any other solutions we can look at - like, perhaps,
 an NFS client for Windows?

There's http://www.hummingbird.com/products/nc/nfs/index.html , for 
example (Hummingbird Maestro). I have no experience with the product, 
though.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: [ot] Mounting Unix Drives in Windows

2003-07-01 Thread Philip Newton
On 1 Jul 2003 at 11:01, Dean Wilson wrote:

 Microsoft themselves do http://www.microsoft.com/windows/sfu/
 which has an NFS client. Its about as supported as all the other Windows
 products :)
 
 You can even ask for a 90day eval disk with training material on it.

I got one free with the most recent issue of _Sys Admin_ magazine. (Two 
CDs, though I think one's mostly training videos.)

You're welcome to it as far as I'm concerned.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: Contracts for contractors

2003-06-28 Thread Philip Newton
On 28 Jun 2003 at 5:15, Paul Makepeace wrote:

 On Fri, Jun 27, 2003 at 11:53:13AM +0100, David Hodgkinson wrote:
  Bah, duodecimal is the way to go.
 
 http://base12.org/

Interesting.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: Contracts for contractors

2003-06-27 Thread Philip Newton
On 26 Jun 2003 at 7:01, Dave Cross wrote:

 Half a crown = 2 and a half shillings = 30 pence

Also known as two and six.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: UK Money, again

2003-06-27 Thread Philip Newton
On 26 Jun 2003 at 17:47, David Cantrell wrote:

 But we're saved by the hundredweight not being a hundred anything.

It's not?

units(1) says:

You have: cwt
You want:
Definition: hundredweight = 100 pounds = 45.359237 kg

which sounds as if it *is* 100 somethings.

Perhaps we're talking about different hundredweights?

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: UK Money, again

2003-06-27 Thread Philip Newton
On 27 Jun 2003 at 13:28, Roger Horne wrote:

 On Fri 27 Jun, Philip Newton wrote:
  
  which sounds as if it *is* 100 somethings.
 
 But is wrong. There are 112 pounds in a hundredweight (or were when I was at
 school). 
 
 See http://home.clara.net/brianp/weights.html

I sit corrected.

If I have an excess of CFT I may submit a correction to the maintainer 
of units.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: assimilating CPAN

2003-06-16 Thread Philip Newton
On 16 Jun 2003 at 9:26, Luis Campos de Carvalho wrote:

 Natalie Ford wrote:
  On Wed, 11 Jun 2003 15:14:20 -0500, Elaine -HFB- Ashton wrote:
 
 Hmmm. I suspect non-geographic affiliation is cheating
 
 
  Well, if it was then a lot of us (that don't live actually *in* london
  but do live *near* london - i.e. in the UK) would also be deemed to be
  cheating if listed as london.pm members...
 

Well, if all this is true, I'm the biggest cheater at London.PM... =-]

My current coordinates are
23°32'51S
43°38'10W

I would've thought that DCONWAY is further away from London than you
are. Aren't the Antipodes Islands somewhere near New Zealand? Ah, yes,
here we go...
http://www.niwa.cri.nz/pubs/wa/10-3/rockhopper1_large.jpg/view

And since those islands were named for being nearly exactly on the
opposite side of the earth from London (
http://www.bartleby.com/65/an/Antipode.html ), I think Melbourne is
probably the farthest away that London.pm has members in.

Cheers,
Philip
--
Philip Newton [EMAIL PROTECTED]




Re: assimilating CPAN

2003-06-12 Thread Philip Newton
On 11 Jun 2003 at 19:13, Leo Lapworth wrote:

 p.s. it's a very crap module, mostly to anoy Acme who was giving
 about about all the modules in the Acme:: name space so we kept
 adding them during last years YAPC :)

I seem to remember that... he was mildly (flustered|annoyed|amused) 
that the number of modules kept going up from the time he wrote his 
talk to the time he gave it. (I think there was some coding going on 
even during his talk...)

Cheers,
Philip (of London.pm, but not living anywhere near London)
-- 
Philip Newton [EMAIL PROTECTED]




Re: The answer to the map and disc problem

2003-06-02 Thread Philip Newton
On 29 May 2003 at 6:59, Toby Corkindale wrote:

 On Tue, May 27, 2003 at 09:59:32PM +0100, David Cantrell wrote:
  I too am an advocate of old-style spelling.  Unfortunately, this keyboard 
  lacks eth, thorn, etc.
 
 vim probably allows access via the Ctrl-K thingies?

TH and th, D- and d- on two Latin-1 versions of vim I have lying 
around. (p- and p~, D- and d- on a HP-Roman-8 version I have.)

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: YAPC::Europe registration and the wheel

2003-04-22 Thread Philip Newton
On 18 Apr 2003 at 17:56, Simon Wistow wrote:

 On Thu, Apr 17, 2003 at 02:39:17PM +0200, Philip Newton said:
  Wasn't it here that someone posted recently about the Sourceforge 
  effect? (A project gets started, mailing lists set up, brief flurry of 
  activity, then a resounding nothing.)
 
 http://penderel.state51.co.uk/pipermail/london.pm/Week-of-Mon-20030414/018356.html

Thank you.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: RegEx for UK Postal Codes

2003-04-01 Thread Philip Newton
On 1 Apr 2003 at 11:47, Jon Reades wrote:

 I'm doing a little UK address validation, and after looking around on 
 CPAN didn't come up with much except Reg::Common::zip, and that didn't 
 cover UK addresses (Damian, your name is on this Module, are you 
 listening? :) ).

Abigail is apparently maintaining the module now; ask him.

The version I got from CPAN had a start at UK postal codes, but they're 
commented out.

 there's the interesting additional fact that C I K M O V cannot be used 
 in the incode (the letters that come after the digit on the right-hand 
 side).
 
 Of course, it doesn't tell me if this is a rule, or just a general 
 statement of fact, but that could presumably help in validating 
 addresses using a regex.

That's the rule used by Regexp::Common::zip. Observe:

# pattern name   = [qw /zip British/, -sep= ],
# create = sub {
# my $sep = $_ [1] - {-sep};
# 
# my $london  = '(?:EC[1-4]|WC[12]|S?W1)[A-Z]';
# my $single  = '[BGLMS][0-9]{1,2}';
# my $double  = '[A-Z]{2}[0-9]{1,2}';
# 
# my $left= (?:$london|$single|$double);
# my $right   = '[0-9][ABD-HJLNP-UW-Z]{2}';
# 
# (?k:(?k:$left)(?k:$sep)(?k:$right));
# },
# ;

I presume ?k: gets translated into either ?: or  depending on 
whether the keep option is set or not. The rest should be fairly self-
explanatory.

I seem to recall that there were a couple of additional weird postal 
codes (from when Abigail asked on a newsgroup or mailing list 
somewhere)... if I think of it, I'll have a look at home where I saved 
a couple of interesting messages from that thread. On the other hand, 
they may not be of interest in the Real World.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: RegEx for UK Postal Codes

2003-04-01 Thread Philip Newton
On 1 Apr 2003 at 13:23, Philip Newton wrote:

 I seem to recall that there were a couple of additional weird postal 
 codes (from when Abigail asked on a newsgroup or mailing list 
 somewhere).

Found it. Have a look at http://archive.develooper.com/[EMAIL PROTECTED]/, 
the thread Zip/Postal codes started by Abigail on 2003-01-02, 
particularly at the following bits, perhaps:
* http://archive.develooper.com/[EMAIL PROTECTED]/msg02961.html
* http://archive.develooper.com/[EMAIL PROTECTED]/msg02987.html
* http://archive.develooper.com/[EMAIL PROTECTED]/msg02988.html
as well as the Kermit people's guide:
* http://www.columbia.edu/kermit/postal.html#uk
(which gives a list of permissible patterns similar to the one someone 
else quoted, and also lists the GIR 0AA code, which was the weird one I 
had vaguely remembered, and another one: SAN TA1 for Father Christmas)

Enjoy!

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: RegEx for UK Postal Codes

2003-04-01 Thread Philip Newton
On 1 Apr 2003 at 13:47, Ulf wrote:

 At Tuesday, 1 April 2003, you wrote:
 
 m/[A-Z]{1,2}\d{1,2}[A-Z]{0,1}\W\d{1,1}[A-Z]{2,2}/
 
 In Sweden, where I come from, postal codes are just 5 digits, so 
 you would say:
 
 m/[0-9]{3}\s*[0-9]{2}/

Germany is even easier:   /[0-9]{5}/

Since the codes are always written without spaces, dashes, or other 
funny stuff.

(It used to be a bit more complicated when it was theoretically 
/[0-9]{4}/ but in practice was /[0-9]{1,4}/ (i.e. one post code could 
be written in several forms) and you could have additional numbers 
*after* the name of the city.)

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: RegEx for UK Postal Codes

2003-04-01 Thread Philip Newton
On 1 Apr 2003 at 16:53, Nicholas Clark wrote:

 It may not be clear that the she in question is also the head of state
 of a lot of places (Australia, Canada, Grenada, the UK to name but a few).

Ah! Brenda.

(Is she still called that? My father sometimes uses the name, but he
came to Germany over 30 years ago and his current slang is usually
rather dated.)

 I think that I read that she's technically the Duke, but I may be
 misremembering.

I think you're right. ISTR reading things in Jèrriais(?) talking about
not' duc (our duke) visiting.

 Certainly the thrust was that she's head of state because
 she is the current holder of that title, completely independent of the UK
 crown.

I didn't know that, though.

Cheers,
Philip
--
Philip Newton [EMAIL PROTECTED]




Re: message board software

2003-03-27 Thread Philip Newton
On 27 Mar 2003 at 5:37, Toby|Wintrmute wrote:

 I need to setup a message board / forum thing

smartassConsider using a Usenet server instead/smartass

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: Starting Again

2003-03-21 Thread Philip Newton
On 20 Mar 2003 at 21:51, David Cantrell wrote:

 On Wednesday, March 19, 2003 09:34 + S Watkins [EMAIL PROTECTED] 
 wrote:
  Paul Makepeace wrote:
  ... is where you keep warez, pr0n and rootkits.
  Naaah, you keep them in . Tricky to see and difficult to remove
  without tricks.
 
 Which reminds me, I really need to create /usr/local/bin/perl^M and 
 /usr/bin/perl^M as symlinks, for users who upload CGIs with broken 
 line-endings.

Well, if this were still the 5.005 era, I'd reply, Serves them right 
for not using -w.

However, now that warnings.pm is apparently The Way To Do It, that 
retort isn't as valid.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: Learning regular expressions

2003-03-20 Thread Philip Newton
On 19 Mar 2003 at 19:31, Chris Benson wrote:

[Getting ORA books at a discount as a *.pm member]
 On Wed, Mar 19, 2003 at 07:06:53PM +0100, Philip Newton wrote:
  (Presumably only works when ordering directly from ORA.)
 
 Yup, I used to have a card with Josette's contact details, ... I'll try
 to find it.  Or via UKUUG if you're in that.

Re: UKUUG - not likely, as I'm in Germany :). But if you could dig out 
the card, I'd appreciate it. Maybe they do the same thing at ORA.de.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




Re: [OT] PDA recommendation.

2003-03-20 Thread Philip Newton
On 17 Mar 2003 at 12:00, Frank Booth wrote:

 The iPaq does all that, but be sure to get one with lots of memory as
 the WinCE PDF reader is something like 9 Meg IIRC.
 
 You can play doom on it too, but the controls can get a bit annoying.

Or NetHack, which I did for a bit on my HP Jornada (also a WinCE 
machine). Though with the same caveat the controls can get a bit 
annoying.

Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]




  1   2   >