Re: what are you doing

2003-08-14 Thread Dave Cross
On Thu, Aug 14, 2003 at 02:01:41PM -0700, Randy J. Ray ([EMAIL PROTECTED]) wrote:
> 
> I've had precious little "free time" for ages. I've got an outline for a 
> second book, an advanced-topics follow-up to my web services book (did 
> anyone ever review that here? I'll want to link to it on the book's web 
> page), but it needs revision before I submit it to O'Reilly.

Your book is in my "books to review" pile. Having delivered the final draft
of the TT book, I'm going to start working thru that pile, so expect a 
review in the new few weeks.

Which, I guess, answers the original question of this thread as well :)

Dave...

-- 
  "Don't you boys know any _nice_ songs?"



Messing with spammers

2003-08-14 Thread Earle Martin
Like most people, I hate spam. I hate it even more when I'm at home
recovering from being sick and skimming through my inbox. So, when I
received the following (bowdlerised for the archives):

> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Subject: REPORT SUBMITTED REGARDING: [EMAIL PROTECTED]
> 
> WORD-OF-MOUTH.ORG REPORT AWARENESS SYSTEM
> 
> Do not reply to this email; it has been automatically generated.
> 
> To add this email address to our Do Not Email List click here:
> https://Word-of-Mouth.Org/[EMAIL PROTECTED]

It prompted me to take five minutes and write this. It's not very efficient
(why use a different prefix and suffix? I dunno, I just felt like it), but I
like it. At time of speaking it's been running for, oh, about 15 minutes. I
think I'll let it get to an hour.


#!/usr/bin/perl -w

use strict;

use LWP::Simple;

my ($prefix, $suffix, $email);

my @letters = ('a'..'z');

while (1) {

$prefix = '';
$suffix = '';

for (1..10) {
$prefix = $prefix . $letters[int(rand(26))];
$suffix = $suffix . $letters[int(rand(26))];
}

$email = $prefix . '@' . $suffix . ".com";

get("https://Word-of-Mouth.Org/DoNotEmailListConfirm.asp?EMAIL_ADDRESS=$email";);

print "$email\n";

}


FWIW, their ASP is very badly coded, and an email address of over 50
characters causes a "Microsoft OLE DB Provider for ODBC Drivers error
'80040e57'". But I thought it would be more fun to do this, especially since
every time that form is submitted their system sends out an email.

And now I'm going back to bed.


-- 
# Earle Martin http://c2.com/cgi/wiki?EarleMartin
$a="f695a9a2176a7dd1618af6649896ee10f05ea986de18af6277e9a1d8ef4696644569a1d".
"8ef46961ae1e64277e9896eea7d92ea8003e9a1d8ef4696f6950";$b="8ALB6AIA4.BA2";$c=
join"",unpack"C*",$b;$c=~s/7/2/g;@b=split"",$c;foreach$d(@b){$e=hex(substr($a
,$f,$d));while(length($e)<8){substr($e,0,0)=0;}print pack"b8",$e;$f+=$d;}



Re: text'd or texted

2003-08-14 Thread Ben
On Tue, Aug 05, 2003 at 09:48:59AM +, Dominic Mitchell wrote:
> On Tue, 5 Aug 2003 04:02:23 -0500, Elaine -HFB- Ashton <[EMAIL PROTECTED]> wrote:
> > Welcome to English where any noun can be verbed :) Also popular is 'to
> > SMS' or 'to be SMS-ed'. 
> 
> Surely that's just a smidgeon to close to S&M'd?

(Assuming s/ to / too / ... )

I've never seen that particular verbing before. The verbs 'do' or 'play' are
generally far more likely to be used in that context. YMMV, of course, but
just because any noun can be verbed doesn't make it sensible to do so.

Ben



Re: Pollution and Inheritance

2003-08-14 Thread Nicholas Clark
On Tue, Aug 05, 2003 at 01:02:03PM +0100, Shevek wrote:
> On Tue, 5 Aug 2003, Peter Sergeant wrote:

> > And have Some::Module::Extended pretend to be Some::Module as far as any
> > other calls in the application (like those from Some::DifferentModule)
> > are concerned.
> > 
> > Thoughts?
> 
> package Some::Module::Extended;
> 
> use Some::Module;
> use Head::Fuck;
> 
> *smnew = \&Some::Module::new;
> *Some::Module::new = sub { shift; return new Some::Module::Extended(@_); }
> 
> sub new {
>   fuck_with(@_);
>   return smnew(@_);
> }

Alternatively, B::Deparse the constructor, frob the perl code as needed, and
eval a new subroutine which you splice back into the symbol table. Far
more fun. Acme::Octarine does this.

Nicholas Clark



Re: interrupt only working once

2003-08-14 Thread Dominic Mitchell
Dominic Mitchell <[EMAIL PROTECTED]> wrote:
> I thought that perl papered over this idiosyncracy for you, but try
> resetting the signal handler and see if it works:

Hmmm, according to perlvar(1), signal handlers are only installed using
sigaction if it's present.  So there you go, you might well need to
reinstall your handlers.

This should be covered in Programming Perl in the signals section, but
it doesn't appear to be.  Bother.

Just what OS is this running on, BTW?

-Dom

-- 
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |



Re: Messing with spammers

2003-08-14 Thread Chris Benson
On Tue, Aug 05, 2003 at 10:28:13AM +0100, Earle Martin wrote:
> 
> It prompted me to take five minutes and write this. It's not very efficient
> (why use a different prefix and suffix? I dunno, I just felt like it), but I
> like it. At time of speaking it's been running for, oh, about 15 minutes. I
> think I'll let it get to an hour.

Nice one.

I got one with an 0800 number in it last night ... -> any evening of
server-fans and typing on their answering machine :-)
-- 
Chris Benson



Re: Messing with spammers

2003-08-14 Thread Dave Cross

From: Alex McLintock <[EMAIL PROTECTED]>
Date: 8/7/03 8:14:36 AM

> Please remember that spammers often use other people's 
> identities when posting spam - please be careful about who
> you are taking action against.
>
> Cheers
>
> (I've had spammers use my email address as the from field 
> more than once - so I would be surprised if they don't do 
> the same with "unsubscribe" links sometimes)

I'm currently getting 2-300 bounce messages a day from spam email
that I didn't send :(

Dave...

-- 


"Let me see you make decisions, without your television"
   - Depeche Mode (Stripped)







Re: interrupt only working once

2003-08-14 Thread Andy Ford
Solaris 2.8

Andy

On Tue, 2003-08-05 at 15:33, Dominic Mitchell wrote:
> Dominic Mitchell <[EMAIL PROTECTED]> wrote:
> > I thought that perl papered over this idiosyncracy for you, but try
> > resetting the signal handler and see if it works:
> 
> Hmmm, according to perlvar(1), signal handlers are only installed using
> sigaction if it's present.  So there you go, you might well need to
> reinstall your handlers.
> 
> This should be covered in Programming Perl in the signals section, but
> it doesn't appear to be.  Bother.
> 
> Just what OS is this running on, BTW?
> 
> -Dom




Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Dave Cross

From: Damon Davison <[EMAIL PROTECTED]>
Date: 8/6/03 2:50:21 PM

> On Wednesday 06 August 2003 16:38, Dave Cross wrote:
>> I think that you're confusing us with ny.pm. We do 
>> actually like to think that Perl discussion is encouraged
>> here.
>
> Didn't Gabor Szabo mention at YAPC::Europe that even with 
> London.pm's average of 800 list messages a month, 
> Israel.pm's list average of 200 still had more posts about
> Perl?  (I hope I'm not making up these numbers...)

Oh that sounds quite likely. I'm just contrasting us with ny.pm
where Perl discussion is explicitly barred from the mailing list.

Dave...

-- 


"Let me see you make decisions, without your television"
   - Depeche Mode (Stripped)







Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Ben
On Wed, Aug 06, 2003 at 04:29:42PM +0100, Paul Golds wrote:
> 
> Naturally I skip over such posts anyway, nasty little things. 

Hopping around, eating carrots.

Ben



Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Greg McCarroll
* the hatter ([EMAIL PROTECTED]) wrote:
> On Tue, 5 Aug 2003, James Campbell wrote:
> 
> > Humble appologies
> 
> Why's it OT, is he doing it in perl ?
> 

i'm not sure that Perl was ever considered OT, its just that it made
up a smaller percentage than one might expect for a Perl related
list.

G.

-- 
Greg McCarroll http://www.mccarroll.org.uk/~gem/
   jabber://[EMAIL PROTECTED]
msn://[EMAIL PROTECTED]



Re: Messing with spammers

2003-08-14 Thread Mark Fowler
On Fri, 8 Aug 2003, Nicholas Clark wrote:

> Shouldn't something like this go onto CPAN - a module to generate random
> e-mail addresses that do not exist.

How do you know that the email addresses will never exist?  A much better
plan would be to create email addresses in a domain that we control.  For
example [EMAIL PROTECTED], and then point the mx to 127.0.0.1.

The only problem with this is that your DNS server will take a pounding
(assuming that spammers don't use a caching nameserver.)

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Lusercop
On Wed, Aug 06, 2003 at 07:38:09AM -0700, Dave Cross wrote:
> I think that you're confusing us with ny.pm. We do actually like
> to think that Perl discussion is encouraged here.

I feel that "like to think" is the important phrase in that sentence.

-- 
Lusercop.net - LARTing Lusers everywhere since 2002



Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Jon Reades
the hatter wrote:

On Wed, 6 Aug 2003, Wechsler wrote:

darren chamberlain [EMAIL PROTECTED] quoth:
*>I assume you mean Leon[0][1].
Actually, no, but now that you mention it:)
Stacked footnotes, or does he now come as a multidimensional array?
 
Depends what you're trying to store in him, I'd guess.  Or maybe it's a
footnote about his first element.
 
the hatter
God help me, I found this funny enough to start laughing.

Perl jokes... run away, run away.

jon

--
jon reades
fulcrum analytics
t: 0870.366.9338
m: 0797.698.7392
f: 0870.888.8880
lower ground floor
2 sheraton street
london w1f 8bh



Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread James Campbell
>> > Humble appologies
>> 
>> Why's it OT, is he doing it in perl ?
>> 
>
>i'm not sure that Perl was ever considered OT, its just that it made
>up a smaller percentage than one might expect for a Perl related
>list.


To clarify my first e-mail; this VR experiment has absolutely nothing to do
with Perl. I shared it with you guys/girls purely because it sounds like fun.

I have checked the london.pm FAQ but I am still confused about this [OT]
business.

Cheers
James



--  
James Campbell
Tel:+44-(0)20-7848-5111
Email: [EMAIL PROTECTED]
-- 
'Where shall I begin, please your Majesty?' He asked
'Begin at the beginning,' the King said gravely, 'and go on 
till you come to the end: then stop.'

Lewis Carroll, Alice's Adventures in Wonderland.




Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread the hatter
On Wed, 6 Aug 2003, Wechsler wrote:

> Elaine -HFB- Ashton wrote:
>
> > darren chamberlain [EMAIL PROTECTED] quoth:
> > *>I assume you mean Leon[0][1].
> >
> > Actually, no, but now that you mention it:)
>
> Stacked footnotes, or does he now come as a multidimensional array?

Depends what you're trying to store in him, I'd guess.  Or maybe it's a
footnote about his first element.


the hatter




Re: [OT] Perl and other stuff on a CD

2003-08-14 Thread Mark Fowler
On Fri, 8 Aug 2003, Jonathan Peterson wrote:

> I came across this crowd:
>
> http://www.indigostar.com/

I haven't used the software, but I met Indy (who is indigostar) at this
year's YAPC::NA.  He was going around the pool and giving people beer
which Was A Nice Thing To Do.

This is my extent of my recommendation;  Make of it what you will.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Re: Messing with spammers

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

Further to discussions with Leon on IRC...

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

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

How true.

+Pete

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



Re: Messing with spammers

2003-08-14 Thread Nicholas Clark
On Fri, Aug 08, 2003 at 02:08:23PM +0100, Mark Fowler wrote:
> On Fri, 8 Aug 2003, Nicholas Clark wrote:
> 
> > Shouldn't something like this go onto CPAN - a module to generate random
> > e-mail addresses that do not exist.
> 
> How do you know that the email addresses will never exist?  A much better

Good point

> plan would be to create email addresses in a domain that we control.  For
> example [EMAIL PROTECTED], and then point the mx to 127.0.0.1.

Mmm. ccl4.org has had one of those for over 5 years:

$ host -t mx blackhole.ccl4.org
blackhole.ccl4.org. mail is handled by 10 localhost.ccl4.org.
$ host localhost.ccl4.org
localhost.ccl4.org. has address 127.0.0.1

IIRC there's at least one domain where warez and porn were A records for
127.0.0.1, but I forget which (or it has dropped those records)

Nicholas Clark



Re: Messing with spammers

2003-08-14 Thread Paul Makepeace
On Thu, Aug 07, 2003 at 11:00:48AM +0100, Nigel Rantor wrote:
> 
> >Please remember that spammers often use other people's identities
> >when posting spam - please be careful about who you are taking action
> >against.
> 
> I second this. It is probably a bad idea. There are literally hundreds 
> of bounced mails from accounts that do not exist on my domain.

Earle's revenge centred on abuse of a website, not emails. Email
addressses are almost always forged and you'd have to be a fairly
clueless geek to go after one of those given the likelihood it isn't
owned, operated, or in some way connected with the actual perp.

Websites on the other hand /are/ very likely owned or operated or in
some way connected with the actual perp.

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is the most important conundrum? Gold - That is to say Au."
   -- http://paulm.com/toys/surrealism/



Re: Messing with spammers

2003-08-14 Thread Lusercop
On Sun, Aug 10, 2003 at 09:42:31PM +0100, Peter Sergeant wrote:
> > My personal feeling is that whatever comes and replaces SMTP has to
> > insist that certain information be guaranteed - for example, if
> > smtp.foo.com wants to send an email which has From: [EMAIL PROTECTED], then
> > smtp.foo.com.can-relay.bar.com or something ought to point at
> > smtp.foo.com's IP address. Even better, a two-way 'trust': have
> > bar.com.i-relay-for.smtp.foo.com point at smtp.foo.com's IP address.
> Looks like you're starting to describe SPF here...
> http://spf.pobox.com/

Arrrgg!

-- 
Lusercop.net - LARTing Lusers everywhere since 2002



Re: [JOB] Security in Amsterdam

2003-08-14 Thread Shevek
On Mon, 11 Aug 2003, Leon Brocard wrote:

> The Canon Security Group based at Canon Europa NV in Amstelveen
> (Amsterdam) is currently recruiting a Security Analyst.

Aww shit. This is my ideal job. And I'm not going to apply. I suppose I
could chase them up in a year or two.

S.

-- 
Shevekhttp://www.anarres.org/
I am the Borg. http://www.gothnicity.org/



Re: [JOB] Java dev @ Kizoom

2003-08-14 Thread Ben
On Tue, Aug 12, 2003 at 12:43:33PM +0100, Steve Purkis wrote:
> Not exactly a Perl role, but then I suppose that makes this more or 
> less on topic for this list ;-).
> 
> Kizoom are looking for a Java developer with a minimum of 3 years 
> recent experience to join their team to do s/w development for mobile 
> devices.  Solaris admin experience is a definite plus.  You can read 
> more about the company at:
> 
>   http://www.kizoom.com
> 
> If you're interested (or know somebody who is), send your CV to:
> 
>   Adam Cohen-Rose <[EMAIL PROTECTED]>

I've never had any contact with them personally but several friends 
and ex-colleagues work, or have worked there, and they seem to be 
reasonable people.

Ben



Re: Reordering Arrays.

2003-08-14 Thread Shevek
On Mon, 11 Aug 2003, Mark Fowler wrote:

> I have this:
> 
>[ [ 1, 2, 3, ],
>  [ 5, 6, 7, ], ]
> 
> And I want this:
> 
>[ [ 1, 5, ],
>  [ 2, 6, ],
>  [ 3, 7, ], ]
> 
> How do I do that?  I mean, I can write this code:

Use APL.

Alternatively, something like:

map { my $a = $_; map { $arr->[$_]->[$a] } (0..$#arr) } (0..$#{$arr->[0]})

S.

> But does anyone know a module that can do this?  Any super fast cleverness
> that I don't want to even think about?

You could tie it to something that just pretends the coordinates are the 
other way around?

S.

-- 
Shevekhttp://www.anarres.org/
I am the Borg. http://www.gothnicity.org/



Setting an Apache handler for a CGI script with no name extension

2003-08-14 Thread Earle Martin
I have a script, let's call it test-script, that I'd like to run as CGI
without it having a ".cgi" or ".pl" in its name, so it can masquerade as a
directory and I can do nice things like

http://example.com/test-script/some/fake/location/ .

I don't have r00t on the box where this is happening, so I'm trying to do it
with a .htaccess file. Reading the docs[0] suggested this:


SetHandler cgi-script


However that didn't seem to do the trick; next I tried


ForceType application/x-httpd-cgi


but that didn't seem to do much either. Permissions on the file are
definitely correct; where am I going wrong? (I suppose it could be that
mod_mime isn't loaded; how can I check if it is?)



[0] http://httpd.apache.org/docs/mod/mod_mime.html

-- 
# Earle Martin http://c2.com/cgi/wiki?EarleMartin
$a="f695a9a2176a7dd1618af6649896ee10f05ea986de18af6277e9a1d8ef4696644569a1d".
"8ef46961ae1e64277e9896eea7d92ea8003e9a1d8ef4696f6950";$b="8ALB6AIA4.BA2";$c=
join"",unpack"C*",$b;$c=~s/7/2/g;@b=split"",$c;foreach$d(@b){$e=hex(substr($a
,$f,$d));while(length($e)<8){substr($e,0,0)=0;}print pack"b8",$e;$f+=$d;}



Re: Reordering Arrays.

2003-08-14 Thread Mark Fowler
On Tue, 12 Aug 2003, Dan Brook wrote:

> If you nab mapcar[0] this is insanely simple

Interesting.  Is there something like this on the CPAN?  It's a bit hard
to put a page from perlmonks into a PREREQ_PM

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Open Source Web Design

2003-08-14 Thread Paul Makepeace
Grab, contribute, or patch your Open Source HTML templates here,

http://www.oswd.org/

Very cool!

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If everyone could fly, then I am a girl."
   -- http://paulm.com/toys/surrealism/



Re: Reordering Arrays.

2003-08-14 Thread Dan Brook
On Wed, 13 Aug 2003 11:23:41 +0100 (BST)
Mark Fowler <[EMAIL PROTECTED]> wrote:

> On Tue, 12 Aug 2003, Dan Brook wrote:
>
> > If you nab mapcar[0] this is insanely simple
> 
> Interesting.  Is there something like this on the CPAN?  It's a bit
> hard to put a page from perlmonks into a PREREQ_PM

There's nothing quite like mapcar with regards to it's simplicity[0], but
there is the transpose method from Math::Matrix[1] which should do it e.g

shell> perl -MData::Dumper -MMath::Matrix -e 'print Dumper( 
Math::Matrix->new([1..3],[5..7])->transpose )'
$VAR1 = bless( [
 [
   1,
   5
 ],
 [
   2,
   6
 ],
 [
   3,
   7
 ]
   ], 'Math::Matrix' );

Which is more or less like mapcar, minus the blessing.

[0] there is a mapcar method in the LISP module, but that's a horror show
of a module
[1] http://search.cpan.org/author/ULPFR/Math-Matrix-0.4/Matrix.pm#transpose



Re: [JOB] Yahoo! News (in California)

2003-08-14 Thread Brian Wisti
Paul Makepeace wrote:

It particularly amuses me hearing this kind of nonsense in places with a
large immigrant population cleaning streets and basically doing all the
shit jobs no right-thinking middle class whitey would consider. } x 2; # UK too
 

Well, I've worked a lot of those shit jobs right next to the immigrants, 
so I get a little offended by the "they're stealing our good jobs" 
crowd.  But I was thinking more of the folks who complain about call 
centers being opened up in India and elsewhere.  A company moves 300 
jobs to a different location, and these guys blame the new workers at 
that other location instead of the company for leaping to the cheapest 
labor (or themselves for asking too much money for too little work).  
They also forget to notice the international corporation that moves a 
couple hundred jobs _into_ the US.  If we could all meet in the middle, 
that would be great.  Perhaps that's being a bit optimistic, though.

Besides, if America didn't have a president with "the worst fiscal
policy in 200yrs"[1]...
Paul

[1] pop quiz: who recently said this?

[1] - any American who has taken a close look at their standard of 
living, or their friends', in the last couple of years?  But as far as 
publicly stating it, that would be George A. Akerlof, Nobel Laureate and 
Berkeley professor.

- Brian Wisti
http://coolnamehere.com/



Re: Open Source Web Design

2003-08-14 Thread Andy Lester
That's a fun site to wander about in.  Just be sure not to let your 
fingers get confused and type in http://www.owsd.org/ - the home 
page of the "Outdoor Women of South Dakota".
I think I got spam for them the other day.

"NATURE-LOVING HOTTIES FROM THE PLAINS STATES DO IT ALL FOR YOU!"

--
Andy Lester => [EMAIL PROTECTED] => www.petdance.com => AIM:petdance


Re: Open Source Web Design

2003-08-14 Thread Brian Wisti
Paul Makepeace wrote:

Grab, contribute, or patch your Open Source HTML templates here,

http://www.oswd.org/

Very cool!

Paul

That's a fun site to wander about in.  Just be sure not to let your 
fingers get confused and type in http://www.owsd.org/ - the home page of 
the "Outdoor Women of South Dakota".

- Brian Wisti
http://coolnamehere.com/





Re: Reordering Arrays.

2003-08-14 Thread Chris Devers
On Wed, 13 Aug 2003, Mark Fowler wrote:

> On Wed, 13 Aug 2003, Nicholas Clark wrote:
>
> > I'm not convinced that it's a great idea to sit it in a top level
> > namespace. Is it about cartography? Or data manipulation?
>
> List::Maptastic?

The function in question does matrix rotation -- that's math/data
manipulation. Unless the other functionality is specifically about
cartography, a more "usage-neutral" namespace might be better. IMO.


-- 
Chris Devers[EMAIL PROTECTED]



Re: [JOB] Yahoo! News (in California)

2003-08-14 Thread Werm
Besides, if America didn't have a president with "the worst fiscal
policy in 200yrs"[1]...
Paul

[1] pop quiz: who recently said this?

Al Gore?

  N




Re: OT: Can't declare subtraction

2003-08-14 Thread Mike Jarvis
On Thu, Aug 14, 2003 at 11:00:48PM +0100, Paul Makepeace wrote:
> On Thu, Aug 14, 2003 at 05:13:25PM -0400, Mike Jarvis wrote:
> > Ok, so I've got an odd problem.  Program compiles and runs just fine
> > on my machine with 5.8, upload it to the ISP's machine (BSD
> > with 5.005.03) and I get a compile error. It's a huge PITA to get
> > the error, since I don't have shell access, but the admins ran perl -c
> 
> 
> 
> Your ISP is:
>   * running 5.005
>   * not providing error logs
>   * not providing shell access
> 
> I'd say the compile error is the least of the problems here :-/

They swear they're upgrading RSN, when BSD (Free? Open? Whichever.)
does.  They only run stable from their distro, and it's hard to fault
an ISP for that.  

They do provide access to the error logs, but compile errors don't
make it in.  Drat.  Now that I think of it I could have done something
clever like have a cgi that runs perl -c on it myself.

As for shell access, it's hard to complain about $7.77/mo for 45GB
xfer.  The old perl is my only complaint, and it's supposed to be
fixed in the next month or two.  

> FWIW, try: my $max = scalar(@name) - 1;
> And make sure there are no "weird" characters in the source file.

That fixed it. I owe you several beers.  Thanks.

-- 
mike
 



Re: Open Source Web Design

2003-08-14 Thread Elaine -HFB- Ashton
Andy Lester [EMAIL PROTECTED] quoth:
*>
*>"NATURE-LOVING HOTTIES FROM THE PLAINS STATES DO IT ALL FOR YOU!"

You should ask if they do web design as well :)

e.



Re: Siesta party

2003-08-14 Thread Nigel Rantor
Okay, fine, not silent at all, but definitely not 'phonetic' either.

  N

Michel Rodriguez wrote:
On Thu, 14 Aug 2003, Nigel Rantor wrote:


Hmm, except there are some things that are silent when they would
normally be pronounced. J's for example as in jose, and jamon.


Huh? Are you thinking about Latin-American Spanish? Or some regional
accent? Latin-Americans pronounce the 'J' very much like the English 'H'.
In Spanish Spanish (Castillan), it is in fact much harsher. In Europe I
believe only Spaniards and Dutch can pronounce the "jota" properly ;--)
Michel Rodriguez
Perl & XML
http://www.xmltwig.com






Re: OT: Can't declare subtraction

2003-08-14 Thread Paul Makepeace
On Thu, Aug 14, 2003 at 05:13:25PM -0400, Mike Jarvis wrote:
> Ok, so I've got an odd problem.  Program compiles and runs just fine
> on my machine with 5.8, upload it to the ISP's machine (BSD
> with 5.005.03) and I get a compile error. It's a huge PITA to get
> the error, since I don't have shell access, but the admins ran perl -c



Your ISP is:
* running 5.005
* not providing error logs
* not providing shell access

I'd say the compile error is the least of the problems here :-/



I'd concur with Nick about getting a local 5.005_03

FWIW, try: my $max = scalar(@name) - 1;
And make sure there are no "weird" characters in the source file.

Paul

-- 
Paul Makepeace ... http://paulm.com/

"What is pauls last name? The answer is simpler than you think."
   -- http://paulm.com/toys/surrealism/



Re: what are you doing

2003-08-14 Thread alex
> > What are people doing outside Perl/IT these days? Have you got
> > a job outside IT because there's no IT work? Or are you learning
> > something outside IT / planning to do something like this?
>
i'm getting my butt kicked at diplomacy (by the devious mr wistow, damn
his norwegian campaign).  we just started it's fun, if people are
interested maybe we could organise a londonpm game

oh and bowling.

um, or was this a work question?  /me wanders off.

al
-- 
$b{$_}=$_ for 1..9;while(@c=sort{rand>.5}keys%b)[EMAIL PROTECTED]($c
=!$c)?X:O;$_="123456789147258369159357";s#(.)(.)(.)#$p=$& if$a[$1]eq$a[$
2]&&$a[$1]eq$a[$3]&&$a[$1]#eg;printf"%s%s\e[m%s",$p=~/$_/?"\e[7m":"",$_?
$a[$_]||".":"\ec",$_%3?$":$/for 0..9;$p?exit:select$q,$q,$q,.1}
Noughts (13 of 21)





Re: OT: Can't declare subtraction

2003-08-14 Thread Nicholas Clark
On Thu, Aug 14, 2003 at 05:13:25PM -0400, Mike Jarvis wrote:
> Ok, so I've got an odd problem.  Program compiles and runs just fine
> on my machine with 5.8, upload it to the ISP's machine (BSD
> with 5.005.03) and I get a compile error. It's a huge PITA to get
> the error, since I don't have shell access, but the admins ran perl -c
> on it and sent me this:
> 
> quasar# perl -c /cgi-bin/meeting.pl
> Can't declare subtraction in my at /www/l/legalsec/cgi-bin/meeting.pl line 413,
> near "1;"
> 
> 
>   my @name =  $oldq->param('name');
>   my $max = scalar @name; # line 413
>   $max--;
> 
> Same version of CGI installed (2.93) at home and on their machine.  Am
> I missing something stupid here?

Well, it doesn't make sense to me, as a copy of 5.005_03 I have around
can compile that snippet without a problem.

Given that your ISP is running 5.005_03, your life will probably be simpler
if you're able to install 5.005_03 on your local system, to try to
replicate their environment as closely as possible.

(if you configure to /usr/local or somewhere else, and insist to Configure
that you don't install /usr/bin/perl or /usr/local/bin/perl then you
can have a perl5.005_03 that doesn't interfere with anything else.

It's probably actually easier to move /usr/bin/perl and /usr/local/bin/perl
out of the way before make install, and then move the one that you want
back afterwards. Mistrust ./installperl? me? never...
)

Nicholas Clark



Re: [JOB] Yahoo! News (in California)

2003-08-14 Thread Paul Makepeace
On Thu, Aug 14, 2003 at 02:33:45PM -0700, Brian Wisti wrote:
> Not to mention that I'm starting to see a few IT workers in the US 
> complain about jobs being "stolen by foreigners".  Not entirely sure who 

qq{Pay no attention - they are ignorant about their own country's
history, and how their country got to where it is in the first place.
Not to mention it's their own government that is approving those visa
applications anyway, so they should write (to) their local politician.

It particularly amuses me hearing this kind of nonsense in places with a
large immigrant population cleaning streets and basically doing all the
shit jobs no right-thinking middle class whitey would consider. } x 2; # UK too

Besides, if America didn't have a president with "the worst fiscal
policy in 200yrs"[1]...

Paul

[1] pop quiz: who recently said this?

-- 
Paul Makepeace ... http://paulm.com/

"If man is not woman, then we can no longer deny it."
   -- http://paulm.com/toys/surrealism/



Re: Siesta party

2003-08-14 Thread Michel Rodriguez
On Thu, 14 Aug 2003, Nigel Rantor wrote:

> Hmm, except there are some things that are silent when they would
> normally be pronounced. J's for example as in jose, and jamon.

Huh? Are you thinking about Latin-American Spanish? Or some regional
accent? Latin-Americans pronounce the 'J' very much like the English 'H'.
In Spanish Spanish (Castillan), it is in fact much harsher. In Europe I
believe only Spaniards and Dutch can pronounce the "jota" properly ;--)


Michel Rodriguez
Perl & XML
http://www.xmltwig.com




Siesta party

2003-08-14 Thread Ivor Williams
Just to continue the exuberance we had in Paris, how about a party to celebrate 
Siesta? Maybe when a certain milestone is complete.
Maybe when the london.pm list moves onto siesta.

I don't have an occasion. I don't have a date.

But I do have a venue:

http://openguides.org/london/index.cgi?Acapulco%2C_NW3_6ND

Let's bring the sombreros and see if we can drink the place out of tequila.

Okay, so it's North London, not Central London. But it is zone 2, and in easy reach of 
public transport.

What do you think? Are you up for it?




Re: Siesta party

2003-08-14 Thread Nigel Rantor

Top posting.  Undertrimming.  Oneliners.  Abuse of asterisks.
Top posting as in 'great' or 'on top of others rather than underneath'?

If the former then cool, otherwise please realise that top posting is 
The One True Way(tm) for short posts...otherwise I agree, snip and insert.

On the undertrimming front  :-P

Whats wrong with oneliners?

I didn't know you were a member of the NSPCA, I'll be gentle next time.

  N




[OT] Re: Siesta party

2003-08-14 Thread Nigel Rantor
Nicholas, consider me slapped, sorry.

Off topic, anyone know any perl libs with less-than-primitive drawing 
routines for splines, arcs, and transformations?

  N

p.s. NSPCA was a joke referring to asterisks, I'd hoped not to have to 
point that out





Re: Bra

2003-08-14 Thread Leon Brocard
Andrew Savige sent the following bits through the ether:

> Just wondering if Leon has yet received delivery of the goods he
> successfully bid for at the YAPC::Europe auction. I'm eager to see
> any photos of said goods (just for my ascii art collection, you see).

The goods have indeed arrived. I will not take any photos of it. I may
bring[1] it to the next social. It is a black Victoria's Secret bra.

Leon

[1] not wear
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... With a rubber duck, one's never alone



Re: Open Source Web Design

2003-08-14 Thread Merijn Broeren
Quoting Joel Bernstein ([EMAIL PROTECTED]):
> On Wed, Aug 13, 2003 at 11:17:42AM -0700, Brian Wisti wrote:
> > the "Outdoor Women of South Dakota".
> 
> I was *convinced* that had to be something nudist. I'm still boggling
> that it *isn't*. How do they choose these names? Doesn't somebody point
> out to them that it sounds awfully fnar-worthy?

Err? How so? I think at first glance, and at second as well, it just
says what it means. Whatever connotations your brain has with "outdoor
woman" to make it involve nudity I would hesitate to find these apply 
to a general portion of english readers. Read to much Viz? 

Cheers,
-- 
Merijn Broeren | Sometime in the middle ages, God got fed up with us 
Software Geek  | and put earth at sol.milky-way.univ in his kill-file.
   | Pray all you want, it just gets junked.



Re: [JOB] Yahoo! News (in California)

2003-08-14 Thread Brian Wisti
Paul Makepeace wrote:

On Tue, Jul 08, 2003 at 05:58:44PM +0100, Paul Makepeace wrote:
 

Any success actually having a H1B granted?
   

I know some people are interested in, or know peole interested in work
in the US: News just in from my visa lawyers: the H1-B cap is being
reduced very shortly back to pre- .com levels of 65,ooo/yr (i.e.
halved). Not only that but some new free trade agreements with Chile &
Singapore have allocated ~6K visas to those countries, which comes off
that 65K. More deals in the pipeline with some other countries will
further reduce this number.
Unemployment continues to rise in the US with "intact" families ending
up in shelters http://nytimes.com/2003/08/14/opinion/14HERB.html , and
that's apart from the 3+% of the adult US population that's currently
incarcerated http://www.wikipedia.org/wiki/United_States_prison_population
(highest in the world, recently surpassing Russia).
Welcome (or not) to Fortress USA.

Paul

Not to mention that I'm starting to see a few IT workers in the US 
complain about jobs being "stolen by foreigners".  Not entirely sure who 
they're talking about, since most of the lost jobs around here 
disappeared into thin air along with the companies that had provided 
them.  There's not much of that mindset here in Seattle, but I'm told 
that Seattle is a "liberal pinko commie bubble" by people who are ... 
well ... not from here.  There's a few jobs to be had around here, and a 
fair number of Anglophiles like me to work with.  On the other hand, 
folks like me dream about moving to the UK :-)

- Brian Wisti
http://coolnamehere.com/




Re: Siesta party

2003-08-14 Thread Elizabeth Mattijsen
At 12:57 +0100 8/14/03, Lusercop wrote:
.sdrawkcab kniht t'nod I sa ,siht gniod elbuort dah I

...dnatsrednu
 dna daer nac eh yaw a ni egassem siht dettamrof ev'I ,legiN fo ruonoh nI
Hmmm... PerlIO::via::backwards?

Liz



talking of arrays....

2003-08-14 Thread alex
I was just wondering why this:

@m=([(_)x10])x5;
$m[1][2]=o;

for $y (0..4)
{
  for $x (0..9)
  {
print "$m[$y][$x]";
  }
  print " $y$/";
}

produces this:
__o___ 0
__o___ 1
__o___ 2
__o___ 3
__o___ 4

?


This is obviously not sensible code.  basically looking for a golf-ish
solution to populate a two dimensional array.

I've got this:
[EMAIL PROTECTED],[(_)x$10]for 1..5;

which does work.

tia
alex




OT: Can't declare subtraction

2003-08-14 Thread Mike Jarvis
Ok, so I've got an odd problem.  Program compiles and runs just fine
on my machine with 5.8, upload it to the ISP's machine (BSD
with 5.005.03) and I get a compile error. It's a huge PITA to get
the error, since I don't have shell access, but the admins ran perl -c
on it and sent me this:

quasar# perl -c /cgi-bin/meeting.pl
Can't declare subtraction in my at /www/l/legalsec/cgi-bin/meeting.pl line 413,
near "1;"


  my @name =  $oldq->param('name');
  my $max = scalar @name;   # line 413
  $max--;

Same version of CGI installed (2.93) at home and on their machine.  Am
I missing something stupid here?


-- 
mike



Re: Less than primitive drawing routines

2003-08-14 Thread Nigel Rantor
Thanks Robin,

I guess PDL is best-fit from that list although at the moment I can't 
see *exactly* what I need. I had a look on CPAN a few days ago but 
didn't catch it.

Catmull-Rom spline generator would be nice, I have one in Perl but I was 
wondering if there was anything already out-there (and probably quicker 
than my code). I have been thinking about shoving some of this stuff 
into a sub-mod for GD (this is what I'm currently using to actually 
generate output).

Haven't looked into SVG very much but I can see that in at least the 1.1 
they only have quad and cubic bezier functions.

Cheers,

  N

Depends on what you want to draw. There's a bunch of OpenGL stuff out 
there that quite certainly qualifies as less than primitive:

  http://search.cpan.org/search?mode=module&query=opengl

If you don't want the overhead, just output SVG and for many things you 
should be fine.




Re: what are you doing

2003-08-14 Thread Randy J. Ray
On 2003.08.14 05:39 Ali Young wrote:
On Thu, 14 Aug 2003, Michael Stevens wrote:

> What are people doing outside Perl/IT these days? Have you got
> a job outside IT because there's no IT work? Or are you learning
> something outside IT / planning to do something like this?
My usual answer for that is "writing a book", but I've been saying that
for quite a while now and not really got anywhere. Best not to ask me
about it unless you're prepare to listen to me ramble on for hours.
I've had precious little "free time" for ages. I've got an outline for a 
second book, an advanced-topics follow-up to my web services book (did anyone 
ever review that here? I'll want to link to it on the book's web page), but it 
needs revision before I submit it to O'Reilly.

Aside from tech stuff, though, I still maintain my interest in military 
history and building and painting miniatures. That's what keeps bringing me 
over to the UK (and the last such trip was what got me onto this list, which 
has kept me interested even here in California :-), though it looks like no 
trip for me this year. Lack of funds, lack of vacation time due to other 
committments in the year. Terrible shame-- the pub-meet was one of the high 
points of my trip last November...

Randy
--
[EMAIL PROTECTED]  http://www.rjray.org http://www.svsm.org
Any spammers auto-extracting addresses from this message will definitely want
to include [EMAIL PROTECTED] and [EMAIL PROTECTED]


Re: Siesta party

2003-08-14 Thread Ben
On Thu, Aug 14, 2003 at 10:54:03AM +0100, Nigel Rantor wrote:
> 
> Sorry, I'm a bit of a foodie. (AAnd if you like steak, then you should 
> go to the camden brasserie, but thats a whole NOTHER story...)

Are you on london.food ?

Ben



Re: [JOB] Yahoo! News (in California)

2003-08-14 Thread Paul Makepeace
On Tue, Jul 08, 2003 at 05:58:44PM +0100, Paul Makepeace wrote:
> Any success actually having a H1B granted?

I know some people are interested in, or know peole interested in work
in the US: News just in from my visa lawyers: the H1-B cap is being
reduced very shortly back to pre- .com levels of 65,ooo/yr (i.e.
halved). Not only that but some new free trade agreements with Chile &
Singapore have allocated ~6K visas to those countries, which comes off
that 65K. More deals in the pipeline with some other countries will
further reduce this number.

Unemployment continues to rise in the US with "intact" families ending
up in shelters http://nytimes.com/2003/08/14/opinion/14HERB.html , and
that's apart from the 3+% of the adult US population that's currently
incarcerated http://www.wikipedia.org/wiki/United_States_prison_population
(highest in the world, recently surpassing Russia).

Welcome (or not) to Fortress USA.

Paul

-- 
Paul Makepeace ... http://paulm.com/

"If lawnmovers have souls, then the sun would light up your face."
   -- http://paulm.com/toys/surrealism/



Re: Exporting from .mdb Access files

2003-08-14 Thread Paul Makepeace
On Thu, Aug 14, 2003 at 12:21:04PM -0400, Chris Devers wrote:
> It seems like if you can get an instance of Access running with the file,
> you should be able to use ODBC to extract the data.

Indeed, but that would require running Windows, obtaining a copy &
license for Access, not to mention all the faffing with DSN and connect
permissions, AFAIK. In all, it would add to the number of my problems,
rather than reduce them :-)

P

-- 
Paul Makepeace ... http://paulm.com/

"If love likes me, then what can you do."
   -- http://paulm.com/toys/surrealism/



Re: Reordering Arrays.

2003-08-14 Thread Nicholas Clark
On Wed, Aug 13, 2003 at 06:02:59PM +0100, Sam Vilain wrote:
> 
> If you nab mapcar[0] this is insanely simple
> 
> Shortly to be released to CPAN as Maptastic, as soon as I figure out
> the iteration semantics.
> 
> Pre-release available at http://vilain.net/pm/Maptastic-0.99.tar.gz,
> which has mapcar and mapcaru in it.  Feedback most welcome.

I'm not convinced that it's a great idea to sit it in a top level namespace.
Is it about cartography? Or data manipulation?

Apart from that reservation, go for it.

Nicholas Clark



[JOB] Java dev @ Kizoom

2003-08-14 Thread Steve Purkis
Not exactly a Perl role, but then I suppose that makes this more or 
less on topic for this list ;-).

Kizoom are looking for a Java developer with a minimum of 3 years 
recent experience to join their team to do s/w development for mobile 
devices.  Solaris admin experience is a definite plus.  You can read 
more about the company at:

	http://www.kizoom.com

If you're interested (or know somebody who is), send your CV to:

	Adam Cohen-Rose <[EMAIL PROTECTED]>

-Steve




Re: [REVIEW] Linux Server Hacks

2003-08-14 Thread Dean Wilson
Nicholas Clark wrote:
>> with less than a couple of years hands on Linux experience and
>> excellent read for anyone with them. Top notch.

> How much (if any) of it Linux specific?
> ie would most of it apply equally well to any free Unix system, such
> as one of the *BSDs, or even commercial Unix with freeware
> applications installed.


Good point.

I'd say 80% - 90% of the book could be used on any *nix that had freeware
available[0]. The only chapter that doesn't travel well is networking,
which is heavy on IPTables and doesn't directly map to anything else and
maybe a few other scattered tips. Those that immediately spring to mind are
a tip that uses /proc and some that influence boot up settings.

  Dean
[0] SSH, CVS, bash, perl are heavily used.
-- 
Profanity is the one language all programmers understand
--- Anon




Re: Setting an Apache handler for a CGI script with no name extension

2003-08-14 Thread Scott McWhirter
On Tue, Aug 12, 2003 at 04:00:53PM +0100, Earle Martin wrote:
> I have a script, let's call it test-script, that I'd like to run as CGI
> without it having a ".cgi" or ".pl" in its name, so it can masquerade as a
> directory and I can do nice things like
> 
> http://example.com/test-script/some/fake/location/ .
> 
> I don't have r00t on the box where this is happening, so I'm trying to do it
> with a .htaccess file. Reading the docs[0] suggested this:
> 
 

  SetHandler cgi-script
  Options +ExecCGI

 

that _should_ work

-- 
-Scott McWhirter- | -kungfuftr-



Re: Siesta party

2003-08-14 Thread Rafael Garcia-Suarez
Chisel Wright wrote:
> On Thu, Aug 14, 2003 at 02:03:17PM +0200, Elizabeth Mattijsen wrote:
> > Hmmm... PerlIO::via::backwards?
> 
> Or (assuming vim as the mutt editor used):
> 
>   select lines, then !rev

Or perhaps more accurately :
%!rev
%ri
%!tac
although using external commands makes me nervous,
portability-wise.



Re: Siesta party

2003-08-14 Thread Nigel Rantor
Hi,

I'll answer the flambait off the list.

Yes, other languages figure into my 'understanding of the world'. If I 
preface something with 'an English speaker' then I also expect you to 
understand my comment within this context.

Sorry if you can't do that.

Regards,

  N

Dave Thorn wrote:
On Thu, Aug 14, 2003 at 11:55:22AM +0100, Nigel Rantor wrote:

If you look the original reply was to Steve who asserted that;


The great thing about Spanish is that it's written exactly how it's
pronounced - if it sounds like an a, you write an 'a'.  None of those
silent endings or weird letter combos that actually sound completely
different that French and English are so fond of.
So, my point is that an English speaker hears an 'H' and not a 'J', 
therefore it is not 'written exactly how it's pronounced'.


It is written as it is prnounced.  Do try to remember that the world
does not consist solely of the English language.  Russian, for example,
is largely phonetic.  Do different languages and alphabets not feature
in your understanding of the world?




Reordering Arrays.

2003-08-14 Thread Mark Fowler
I have this:

   [ [ 1, 2, 3, ],
 [ 5, 6, 7, ], ]

And I want this:

   [ [ 1, 5, ],
 [ 2, 6, ],
 [ 3, 7, ], ]

How do I do that?  I mean, I can write this code:

sub reorder
{
  my $new = [];
  foreach my $col_no (0..(@{ $_[0]->[0] } - 1))
  {
my $new_row = [];
foreach my $row (@{ $_[0] })
{
  push @{ $new_row }, $row->[ $col_no ];
}
push @{ $new }, $new_row;
  }
  return $new
}

But does anyone know a module that can do this?  Any super fast cleverness
that I don't want to even think about?

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Re: Siesta party

2003-08-14 Thread Nigel Rantor
Eep. None of my business of course, but that place chongs for the lord. 
I am an NW3 resident and it sucketh arse like nobody's business.

If you want mexican in town go to Cafe Pacifico in Covent Garden, best 
marguaritas (speelong?) ever.

   N - Born To Lurk

Ivor Williams wrote:
Just to continue the exuberance we had in Paris, how about a party to celebrate 
Siesta? Maybe when a certain milestone is complete.
Maybe when the london.pm list moves onto siesta.
I don't have an occasion. I don't have a date.

But I do have a venue:

http://openguides.org/london/index.cgi?Acapulco%2C_NW3_6ND

Let's bring the sombreros and see if we can drink the place out of tequila.

Okay, so it's North London, not Central London. But it is zone 2, and in easy reach of public transport.

What do you think? Are you up for it?







RE: [OT] Bananas

2003-08-14 Thread Andy Williams \(IMAP HILLWAY\)


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of David Hodgkinson
> Sent: 13 August 2003 15:02
> To: [EMAIL PROTECTED]
> Subject: [OT] Bananas
> 
> 
> You lot know I have an alter ego as Deep Purple's web slave, 
> and one or 
> two of
> you even know who they are. We just went live with a 
> one-track-per-day listening party today:
> 
> http:/www.deep-purple.com/stream/
> 
> Enjoy!
> 
> Dave

My $deity I didn't realise they were still going.!
Sound as good as ever though

Andy




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

2003-08-14 Thread Robin Berjon
Beyer Steffen (AE-DA/EFS3) wrote:
Just out of curiosity:

Is there already a time schedule for when the London.pm
homepage will eventually be in Esperanto?
Yes, and Paris.pm too! At this rate dahut.pm will have its page in Esperanto 
before any of you guys do.

--
Robin Berjon <[EMAIL PROTECTED]>
Research Engineer, Expwayhttp://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488



Re: Siesta party

2003-08-14 Thread Leon Brocard
Rafael Garcia-Suarez sent the following bits through the ether:

> Bechamel !~ Spanish food (Bechamel was a French cook, and
> AFAIK he's one of the first persons to have his name attached
> to a recipe.)

He's unlikely to have created it of course:
http://www.whatscookingamerica.net/History/BechamelSauce.htm

But can you match the name of the dish to the correct musician?
http://www.jy-muggeridge.freeserve.co.uk/mult3.htm

Leon
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... Useless invention no. 404: Caffeine-free Diet Coke 



Re: Messing with spammers

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

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

http://spf.pobox.com/

+Pete



Re: Setting an Apache handler for a CGI script with no name extension

2003-08-14 Thread Wechsler
On Tue, 12 Aug 2003, Earle Martin wrote:

> On Tue, Aug 12, 2003 at 04:00:53PM +0100, I wrote:
> > (I suppose it could be that mod_mime isn't loaded; how can I check if it
> > is?)
> 
> As has just been pointed out to me on IRC, I could read httpd.conf. So I
> did, and it is being loaded.

What does the AllowOverride line look like? Will it let you make the 
changes you want in .htaccess?

Also, if .cgi or .pl is CGI-BIN everywhere, can you use an index.pl file, 
referring to the containing directory rather than the script, and set
DirectoryIndex index.pl ? 

Wechsler

-- 
http://www.fromtheshadows.com/ Fingerprint: 542C ADA9 47CE 7AA8 2274
PGP Key http://www.fromtheshadows.com/gpg   496A FC43 312C 3D94 2CC8
A little insanity is a wonderful thing.



Re: Messing with spammers

2003-08-14 Thread Leon Brocard
Peter Sergeant sent the following bits through the ether:

> http://grou.ch/bounce.txt

I had been thinking of using Mail::DeliveryStatus::BounceParser.
Wonderful that CPAN thing, eh?

Leon
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... Don't look back, the lemmings are gaining on you



[JOB] Security in Amsterdam

2003-08-14 Thread Leon Brocard
Hi,

below is the offical job advert, you can also address questions directly
to at quentyn.taylor at canon-europe.com

The Canon Security Group based at Canon Europa NV in Amstelveen
(Amsterdam) is currently recruiting a Security Analyst.

The candidate we search for will be a highly motivated IT professional
with a passion for security within an IT framework. While no direct
experience in a security focused organisation is a prerequisite, you
should be a technical specialist in one or more of the following areas:

 Linux
 Networks (Cisco etc)
 NT/Win2k/Win XP administration
 Unix (various flavors)

The applicant will have the opportunity to grow in to a highly motivated,
respected and empowered team. Necessary training will be given however it
is expected that any applicant will have a high level of self motivation,
have a proactive attitude and will be able to utilize this opportunity to
practice self-paced learning. It is expected that any successful applicant
will have an understanding of, and an aptitude for the security industry
and will have a good knowledge of current security issues facing an
organisation such as Canon Europe. 

A competitive salary and package will be offered alongside what represents
an excellent opportunity to develop in the security field. 

It is within current Canon Europa planning that this position has a fixed
period up until December 2004.

Should you wish to apply to this position please send a copy of your CV
and short letter of application to Nicholas van Santen at
[EMAIL PROTECTED] Should you wish to obtain more
information on this position please email any questions to the same
address.

All applicants must be able to work within the European Union. No work
permit applications will be made.

Leon
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... * OLX 3 * Windows is to OS/2 what Etch-a-Sketch is to art.



Re: [REVIEW] Linux Server Hacks

2003-08-14 Thread David Cantrell
Dean wrote:

Which format does the person who does the hard work of turning these
into web pages prefer? I've seen them as pod, XML and (In my case if no
one else's) text.
The preferred format is that which Brother Clark used a few days ago for 
his review of the Perl 6 book, but what you posted is fine.

I'll upload it to the site next week when I get home.

--
David Cantrell |  Degenerate  | http://www.cantrell.org.uk/david
Considering the number of wheels Microsoft has found reason
to invent, one never ceases to be baffled by the minuscule
number whose shape even vaguely resembles a circle.
  -- anon, on Usenet



Re: [OT] Bananas

2003-08-14 Thread Paul Makepeace
On Wed, Aug 13, 2003 at 03:01:45PM +0100, David Hodgkinson wrote:
> http:/www.deep-purple.com/stream/

No Ogg. No banana. Bad Dave.

P

-- 
Paul Makepeace ... http://paulm.com/

"If if, then run like the wind!"
   -- http://paulm.com/toys/surrealism/



Re: Siesta party

2003-08-14 Thread Nigel Rantor

allright, allright, calm down rodders

they also stock, alchohol that *ISN'T SPANISH EITHER*!!!

Béchamel !~ Spanish food (Béchamel was a French cook, and
AFAIK he's one of the first persons to have his name attached
to a recipe.)





RE: what are you doing

2003-08-14 Thread Robbie Scourou
> What are people doing outside Perl/IT these days? Have you got
> a job outside IT because there's no IT work? Or are you learning
> something outside IT / planning to do something like this?

I am planning on taking a Film studies course. Eventually I want to become
an out of work Director or Screen writer who's sideline is IT.

Either that or a course on Silversmith-ing, which my girlfriend spotted
before me. Cow.

--
robbie




Re: Siesta party

2003-08-14 Thread Nigel Rantor
> I think "margaritas" is what you're looking for.  (me too! :)

*yay* yep, thats the man, I must get a couple down me soonish...

> The great thing about Spanish is that it's written exactly how it's
> pronounced - if it sounds like an a, you write an 'a'.  None of those
> silent endings or weird letter combos that actually sound completely
> different that French and English are so fond of.
Hmm, except there are some things that are silent when they would 
normally be pronounced. J's for example as in jose, and jamon. Talking 
of Jamon...here's a really *nice* restaurant in that area...

Jamon Jamon
38 Parkway
Camden Town
London NW1 7AH
Spanish tapas restaurant recently (last year or so) opened after major 
greasy spoon shut down, just 2 min walk form camden town tube (northern 
line).

Wonderful service, food and wine list.

You can eat for about 10 quid a head, most dishes are between 3-5 quid 
and 2 or 3 should do you. Also, the bigger the group the better since 
you can mix and match.

Must try stuffed baby red peppers, white anchovies, mushrooms with 
spinach & bechamel sauce.

They have a couple of big long tables under a skylight which is very 
nice if you can get them.

Tons of cheap pubs in the area too.

Sorry, I'm a bit of a foodie. (AAnd if you like steak, then you should 
go to the camden brasserie, but thats a whole NOTHER story...)

  Nige

I believe Esperanto borrowed a lot from Spanish there...  and hey, 
speaking of esperanto ... ;-)

-Steve







Re: Siesta party

2003-08-14 Thread Dave Thorn
On Thu, Aug 14, 2003 at 11:55:22AM +0100, Nigel Rantor wrote:
> If you look the original reply was to Steve who asserted that;
> 
> > The great thing about Spanish is that it's written exactly how it's
> > pronounced - if it sounds like an a, you write an 'a'.  None of those
> > silent endings or weird letter combos that actually sound completely
> > different that French and English are so fond of.
> 
> So, my point is that an English speaker hears an 'H' and not a 'J', 
> therefore it is not 'written exactly how it's pronounced'.

It is written as it is prnounced.  Do try to remember that the world
does not consist solely of the English language.  Russian, for example,
is largely phonetic.  Do different languages and alphabets not feature
in your understanding of the world?

-- 
dave thorn | [EMAIL PROTECTED]



Re: Reordering Arrays.

2003-08-14 Thread Sam Vilain

If you nab mapcar[0] this is insanely simple

Shortly to be released to CPAN as Maptastic, as soon as I figure out
the iteration semantics.

Pre-release available at http://vilain.net/pm/Maptastic-0.99.tar.gz,
which has mapcar and mapcaru in it.  Feedback most welcome.

   [0] http://www.perlmonks.org/index.pl?node_id=44763

-- 
Sam Vilain, [EMAIL PROTECTED]

  He who shits on the road will meet flies on his return.
SOUTH AFRICAN SAYING




Re: Setting an Apache handler for a CGI script with no name extension

2003-08-14 Thread Phil Lanch
you probably solved this hours ago, but if not ...

On Tue, Aug 12, 2003 at 04:44:57PM +0100, Wechsler wrote:
> 
> What does the AllowOverride line look like? Will it let you make the 
> changes you want in .htaccess?

good question.

you can't use  in .htaccess (ever!), so when you tried to, did
you get a 500 and the error log say:
   /.htaccess: 
 SetHandler cgi-script
 Options +ExecCGI
   

the Options line is only necessary if httpd.conf didn't turn ExecCGI on
(for this file).  SetHandler will only work here if httpd.conf doesn't
have an AllowOverride directive turning off FileInfo; Options will only
work if it doesn't have 1 turning off Options.  if it doesn't work, you
should always see nice "$DIRECTIVE not allowed here" errors -- *unless*
"AllowOverride none" has been set, since that turns off even reading
.htaccess files.

HTH.

-- 
Phil Lanch0xD78D598DA6635CF32AB24593C98994B7D95B33E3
  (though i can't remember the passphrase right now)



Re: Reordering Arrays.

2003-08-14 Thread Dan Brook
If you nab mapcar[0] this is insanely simple

use mapcar;
use Data::Dumper;

my $arrays= [ [1..3], [5..7] ];
my @reordered = mapcar { [EMAIL PROTECTED] } @$arrays;

print Dumper([EMAIL PROTECTED]);

__output__

$VAR1 = [
  [
1,
5
  ],
  [
2,
6
  ],
  [
3,
7
  ]
];

Dan

[0] http://www.perlmonks.org/index.pl?node_id=44763



Re: [REVIEW] Linux Server Hacks

2003-08-14 Thread David Cantrell
Mark Fowler wrote:

Evil Dave normally does this, and I don't think he's close to a net
connection very often for the next couple of weeks.
We have wireless and ISDN at the campsite!

--
Lord Protector David Cantrell  |  http://www.cantrell.org.uk/david
One person can change the world, but most of the time they shouldn't
-- Marge Simpson



Re: what are you doing

2003-08-14 Thread Lusercop
On Thu, Aug 14, 2003 at 12:41:49PM +0100, Michael Stevens wrote:
> Was talking to Paul Makepeace about his recent studies in the world
> of personal fitness, and started wondering.
> What are people doing outside Perl/IT these days? Have you got
> a job outside IT because there's no IT work? Or are you learning
> something outside IT / planning to do something like this?

Poi. So that I can (apparently) run away and join a circus. (This is what
people suggest I should do when they see me practise). I am being serious
with the "poi" comment, though, as I would certainly like to spend at least
some time doing displays when I get a bit better. The comments about the
circus, however, remind me of the "don't you wish you played the piccolo"
when I used to have to lug a double bass around... *g*

-- 
Lusercop.net - LARTing Lusers everywhere since 2002



Re: Pollution and Inheritance

2003-08-14 Thread Shevek
On Tue, 5 Aug 2003, Peter Sergeant wrote:

> I'm writing a module, Some::Module::Extended, which is a sub-class of
> Some::Module. There are two or three methods that I want
> Some::Module::Extended to override - I want them to do some munging of
[SNIP]

> However, I'm also a big user of Some::DifferentModule, that,
> incidentally, uses Some::Module, and returns Some::Module objects.
> Some::DifferentModule is on the CPAN, and I don't want to subclass it or
> change it. What I would like to do, is to be able to say something like:
> 
> use Some::Module::Extended qw( pollute );
> 
> And have Some::Module::Extended pretend to be Some::Module as far as any
> other calls in the application (like those from Some::DifferentModule)
> are concerned.
> 
> Thoughts?

package Some::Module::Extended;

use Some::Module;
use Head::Fuck;

*smnew = \&Some::Module::new;
*Some::Module::new = sub { shift; return new Some::Module::Extended(@_); }

sub new {
fuck_with(@_);
return smnew(@_);
}

# tum ti tum tiddle ti tum... this is why we are supposed to use factory 
# methods...

1;

-- 
Shevekhttp://www.anarres.org/
I am the Borg. http://www.gothnicity.org/



Re: Siesta party

2003-08-14 Thread Damon Davison
Alle Thursday 14 August 2003 12:29, Nigel Rantor ha scritto:
: Okay, fine, not silent at all, but definitely not 'phonetic'
: either.

The grapheme {j} in Spanish is pronouced more or less like the 
phone [h] in English (even in Latin America) and is perfectly 
phonetic.  Maybe you were thinking of the grapheme {h}, which is 
there mainly for etymological reasons and is 'silent'.  It could 
see where an English-speaker might get the two muddled.

Cheers, damon

-- 
Damon Allen Davison
http://allolex.freeshell.org

"A UNIX life is hard."




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

2003-08-14 Thread Beyer Steffen (AE-DA/EFS3)
Hi Greg,
hi Leon,
hi London.pm Perl Mongers!

Just out of curiosity:

Is there already a time schedule for when the London.pm
homepage will eventually be in Esperanto?

Thanks a lot in advance!

Best regards,
Steffen Beyer



Re: [REVIEW] Linux Server Hacks

2003-08-14 Thread Mark Fowler
On Mon, 11 Aug 2003, Dean wrote:

> Which format does the person who does the hard work of turning these
> into web pages prefer? I've seen them as pod, XML and (In my case if no
> one else's) text.

Evil Dave normally does this, and I don't think he's close to a net
connection very often for the next couple of weeks.

The XML format is prefered, but pod and plain text are fine, IIRC.

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};



Re: Reordering Arrays.

2003-08-14 Thread Robin Berjon
Mark Fowler wrote:
But does anyone know a module that can do this?  Any super fast cleverness
that I don't want to even think about?
Matrix rotation? Cf. PDL.

--
Robin Berjon <[EMAIL PROTECTED]>
Research Engineer, Expwayhttp://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488



Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Greg McCarroll
* Nicholas Clark ([EMAIL PROTECTED]) wrote:
> 
> I wonder how many previously unknown identical twins (or quadruplets) will
> be attending tomorrow.
> 

Yes, these sudden arrivals should be ignored, of course those of us 
who have previously hand our twins turn up to non-heretical/heretical
meetings have demonstrated our twin status conclusively in the past.

Greg


-- 
Greg McCarroll http://www.mccarroll.org.uk/~gem/
   jabber://[EMAIL PROTECTED]
msn://[EMAIL PROTECTED]



[OT] submitting a perl bug without ``perlbug''?

2003-08-14 Thread Belden Lyman
Howdy,

A few months back I encountered a switch ordering bug with
Perl 5.6.1 and 5.8 on Solaris. (-w -T on #! line doesn't work;
-T -w does work, as do -wT and -Tw.)
I wasn't able to 'perlbug' it at the time, and am still unable
to do so. On occassion, I remember the bug and wish there were
some way for me to submit it... what's the accepted way to do
so in this case?
Thanks,

Belden




Re: what are you doing

2003-08-14 Thread Shevek
On Thu, 14 Aug 2003, Michael Stevens wrote:

> Was talking to Paul Makepeace about his recent studies in the world
> of personal fitness, and started wondering.
> 
> What are people doing outside Perl/IT these days? Have you got
> a job outside IT because there's no IT work? Or are you learning
> something outside IT / planning to do something like this?

I'm going to be a perpetual student, because by all accounts, I'm probably 
unemployable anyway by now.

S.

-- 
Shevekhttp://www.anarres.org/
I am the Borg. http://www.gothnicity.org/



Re: Siesta party

2003-08-14 Thread Nicholas Clark
On Thu, Aug 14, 2003 at 11:39:33AM +0100, Nigel Rantor wrote:
> 
> > Top posting.  Undertrimming.  Oneliners.  Abuse of asterisks.
> 
> Top posting as in 'great' or 'on top of others rather than underneath'?
> 
> If the former then cool, otherwise please realise that top posting is 
> The One True Way(tm) for short posts...otherwise I agree, snip and insert.

This will start a flame war. It is not wise to continue to argue either way.
Use or not of supercite is another flame war

Lists setting Reply-to is a third flame war. Switching the list to Siesta
will solve this problem.

> On the undertrimming front  :-P

Yes, trimming irrelevant bits is good.
Attribution of quoted sections is often also seen as good.

> Whats wrong with oneliners?

The list has something like 350 subscribers. Most of them don't post.
We infer that many filter the list off to another mailbox and read it
sporadically. Threads with many One liners produce a flood of messages which
obscure potentially "more interesting" stuff. Generally one-liner messages
are of limited shelf life, so it's not unreasonable to be miffed with them
if you have a whole collection that is 2 weeks old.

Some time ago there was an active push to encourage people to make 1 line
comments on the IRC channel, rather than the mailing list.

> I didn't know you were a member of the NSPCA, I'll be gentle next time.

He *is* the main developer of Siesta. Without him it would not have happened,
and hence there would not be this thread, which seems to be about having
a party using his hard work as an excuse.

Patches welcome.

Nicholas Clark



Bra

2003-08-14 Thread Andrew Savige
Just wondering if Leon has yet received delivery of the goods he
successfully bid for at the YAPC::Europe auction. I'm eager to see
any photos of said goods (just for my ascii art collection, you see).

/-\



http://search.yahoo.com.au - Yahoo! Search
- Looking for more? Try the new Yahoo! Search



Re: Siesta party

2003-08-14 Thread Chris Devers
On Thu, 14 Aug 2003, Dave Cross wrote:

> From: Nigel Rantor <[EMAIL PROTECTED]>
> Date: 8/14/03 10:39:33 AM
>
> > please realise that top posting is The One True Way(tm) for
> > short posts
>
> You'll find that a controversial opinion round these parts.

I'm sure it was a typo for "The One Truly Awful Way".

Right, Nigel? :)


-- 
Chris Devers[EMAIL PROTECTED]

terminology, n.
Both the nomenclatura and its catastrophic side-effects.
See also ONOMANCY; WINDOWS.

-- from _The Computer Contradictionary_, Stan Kelly-Bootle, 1995



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 have
> a bit less on my plate as of earlier this morning. (I passed, yay!)

congrats.

I just thought of the skeleton of a joke about 'boning up for a rectal
examination'. Can anyone flesh it out? I'll pay them half when I sell the joke
to bobby davro.

Jasper



Re: Siesta party

2003-08-14 Thread Nigel Rantor
Oooh, where do I sign up?

*search*

Ben wrote:
On Thu, Aug 14, 2003 at 10:54:03AM +0100, Nigel Rantor wrote:

Sorry, I'm a bit of a foodie. (AAnd if you like steak, then you should 
go to the camden brasserie, but thats a whole NOTHER story...)


Are you on london.food ?

Ben






Re: [REVIEW] Linux Server Hacks

2003-08-14 Thread Nicholas Clark
On Mon, Aug 11, 2003 at 10:25:15PM +0100, Dean wrote:
> Rob Flickenger may be a sysadmin at O'Reilly but the world of Linux
> books need his skills more than they do. An essential read for anyone
> with less than a couple of years hands on Linux experience and excellent
> read for anyone with them. Top notch.

How much (if any) of it Linux specific?
ie would most of it apply equally well to any free Unix system, such as
one of the *BSDs, or even commercial Unix with freeware applications
installed.

Nicholas Clark



RE: Messing with spammers

2003-08-14 Thread Andy Williams \(IMAP HILLWAY\)


> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Earle Martin
> Sent: 07 August 2003 01:08
> To: [EMAIL PROTECTED]
> Subject: Re: Messing with spammers
> 
> 
> On Tue, Aug 05, 2003 at 03:08:16AM -0700, Toby Corkindale wrote:
> > Now do it again, with $prefix . '@[127.0.0.1]' ? ;)
> 
> Actually, this afternoon I set it running again posting to 
> [ten random [EMAIL PROTECTED] I meant to leave it 
> running for just a little while, but unfortunately I switched 
> screen windows and completely forgot about it. I noticed it 
> again at about 1am just now, and it had gotten to about 3.6 
> million addresses generated. That said, routing from my box 
> to them has stopped working, so I don't know how many address 
> submissions were successful. But what I can tell you is to 
> take a look at the current appearance of their site:
> 
>http://www.word-of-mouth.org/
>
>I think maybe I should lie low for a bit now.

Wonderful.
I think I'm going to have to do this automagically to any link that
appears to be an unsubscribe link in any of the emails that appear on my
SPAMFOLDER.

This has certainly brightened up my morning.

Thanks

Andy





Re: Exporting from .mdb Access files

2003-08-14 Thread Alex Hudson
On Thu, 2003-08-14 at 03:01, Paul Makepeace wrote:
> Are there any free tools for extracting tables etc from MS Access
> databases?

mdbtools any good?

http://mdbtools.sourceforge.net/

Cheers,

Alex.



signature.asc
Description: This is a digitally signed message part


thursday

2003-08-14 Thread Jody Belka
hi,

i'm definitely going to make it into london for thursday (yay). thing is,
i'm going to get into waterloo at 14:43, so does anyone want to meet up
somewhere early?

Jody



Re: Oops - I meant OT Virtual Reality?

2003-08-14 Thread Nicholas Clark
On Wed, Aug 06, 2003 at 07:38:09AM -0700, Dave Cross wrote:
> I think that you're confusing us with ny.pm. We do actually like
> to think that Perl discussion is encouraged here.

What? Are you mad or something? Next thing you'll be trying to suggest
that we should actually talk about this "perl" stuff (Whatever that might
be) at the social meeting tomorrow night, rather than trying to use
false moustaches/beards/dark glasses to get multiple free birthday beers out
of Mark.

Nicholas Clark



Re: interrupt only working once

2003-08-14 Thread Mark
On Tue, 5 Aug 2003, Dominic Mitchell wrote:


> I know older versions of Unix used to require you to reinstall your
> signal handler when it was called.  Modern versions don't because this
> leads to race conditions.
>
> I thought that perl papered over this idiosyncracy for you, but try
> resetting the signal handler and see if it works:

Nope...perl 5.8 perlipc still states otherwise:

   Perl's signal mechanism is currently based on the
   signal(3) function from the C library, you may sometimes
   be so misfortunate as to run on systems where that
   function is "broken", that is, it behaves in the old
   unreliable SysV way rather than the newer, more reasonable
   BSD and POSIX fashion.  So you'll see defensive people
   writing signal handlers like this:

   sub REAPER {
   $waitedpid = wait;
   # loathe sysV: it makes us not only reinstate
   # the handler, but place it after the wait
   $SIG{CHLD} = \&REAPER;
   }
   $SIG{CHLD} = \&REAPER;
   # now do something that forks...

Take care,
Mark.




  1   2   >