Net::SMTP-new

2003-02-06 Thread Blackwell, Lee [IT]
Is anyone aware of any bugs in Net::SMTP-new?  Or maybe IO::Socket that it
calls?

Same code works on one server, but not another; and after yesterdays modules
debacle, I've ensured that both servers have got *exactly* the same versions
of perl (5.6.1), modules  solaris.  I've even built up file lists and
diff'd them (they're identical)

The call actually dies inside IO::Socket

sub new {
my $class = shift;
unshift(@_, PeerAddr) if @_ == 1;
return $class-SUPER::new(@_);-- Here
}

However, my perl isn't good enough to fully understand whats happening here.

I've been googling for a while now, and the only reference I've found so far
seems to be that Twiki encountered the same problem at some point (but they
used a 'use sendmail' workaround).

Any words of wisdom/flame welcome :)

Lee




Re: CPANSTATS

2003-02-06 Thread Adrian Howard
Cute!

Adrian

On Wednesday, February 5, 2003, at 10:42  pm, Leon Brocard wrote:


I've always wondered what modules people have installed from CPAN, but
CPAN has too many mirrors. Versions are interesting too. Here is a
beta version of cpanstats: http://www.astray.com/cpanstats/

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

... Scary bananas!








Re: Quick silly question

2003-02-06 Thread Dominic Mitchell
Shevek wrote:

Surely wossname has to be criterion wossname mumble foo. Maintailability.


maintailability: the aspect of software causing a long tail of 
maintenance programmers to pore over it.

-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. |



[ANNOUNCE] YAPC::Europe cat herding + Tonight's Social Meet Reminder

2003-02-06 Thread Mark Fowler
[ First up, don't forget the social meeting *TONIGHT* upstairs at the
  Knights Templar pub, in Temple.  For more information see:
  http://london.pm.org/lpma/2003-January/40.html ]

Simon Wilcox has kindly offered to help organise this year's
YAPC::Europe...

Simon writes:

YAPC::Europe this year is in Paris and runs from Weds 23 July - Fri 25
July. More details at http://www.yapc.org/Europe/2003/index.html

As this years official cat-herder I shall attempt to organise group
travel and a group hotel somewhere close to the venue whilst
simultaneously balancing a football on my head. (well maybe not the last
part, the first is tricky enough :)

The plan, such as it is at the moment is to travel via EuroStar,
probably in the afternoon of the 22nd, returning either Sunday or Monday
so that we can enjoy Paris after the conference.

The hotel is not decided but we are looking for one that has a range of
room types to suit various budgets.

More details to follow as they appear.

Thanks to all those who have already expressed interest in taking part,
if anyone else is interested, please let me know via the
[EMAIL PROTECTED] email address as soon as possible.

Simon





Re: stat

2003-02-06 Thread Adam Spiers
David Cantrell ([EMAIL PROTECTED]) wrote:
 Today, I needed to stat() in a shell script.  After solving my immediate
 problem with a perl one-liner, I went on to write a proper command-line
 tool to do the job.
 
 http://www.cantrell.org.uk/david/tech/stat

zsh% zmodload zsh/stat
zsh% stat -s .zshrc
device  773
inode   78965
mode-rw-r--r--
nlink   1
uid adam
gid adam
rdev0
size20007
atime   Sun Jan 26 22:18:07
mtime   Tue Jan 21  6:45:17
ctime   Tue Jan 21  6:45:17
blksize 4096
blocks  40
link

;-)




Re: CPANSTATS

2003-02-06 Thread Henrik Tougaard
On Wed, Feb 05, 2003 at 10:42:31PM +, Leon Brocard wrote:
 I've always wondered what modules people have installed from CPAN, but
 CPAN has too many mirrors. Versions are interesting too. Here is a
 beta version of cpanstats: http://www.astray.com/cpanstats/

Scary indeed.

I have just tried it, and the results of the danish jury appeared very quickly on the 
site - including all our internal and not-so-usefull-to-others modules, none of which 
are on CPAN. Perhaps you should restrict the list to those that are on CPAN (or 
perhaps even those on the modules list).

Just my 0.02 dkr (no no euros here either).

Henrik Tougaard, Copenhagen.pm




Re: stat

2003-02-06 Thread Antony Riley

Um

Doing stat in shellscript ?

Already exists, and is installed by default under RH, other distro's, I
dunno

(Following stuff is examples etc).

[antony@MYSTERON antony]$ which stat
/usr/bin/stat
[antony@MYSTERON antony]$ rpm -q -f /usr/bin/stat
stat-2.5-5
[antony@MYSTERON antony]$ rpm -q --info stat
Name: stat Relocations: /usr
Version : 2.5   Vendor: Red Hat, Inc.
Release : 5 Build Date: Thu 28 Feb 2002
08:49:33 GMT
Install date: Fri 21 Jun 2002 17:03:00 BST  Build Host:
daffy.perf.redhat.com
Group   : Applications/File Source RPM: stat-2.5-5.src.rpm
Size: 8114 License: GPL
Packager: Red Hat, Inc. http://bugzilla.redhat.com/bugzilla
Summary : A tool for finding out information about a specified file.
Description :
The stat utility prints out filesystem level information about a
specified file, including its size, permissions, link count, and
inode.
[antony@MYSTERON antony]$ stat .
  File: .
  Size: 8192Blocks: 16 IO Block: -4611694951959359488
Directory
Device: 302h/770d   Inode: 409485  Links: 90
Access: (0755/drwxr-xr-x)  Uid: (  501/  antony)   Gid: (  501/  antony)
Access: Thu Feb  6 12:52:53 2003
Modify: Thu Feb  6 12:26:12 2003
Change: Thu Feb  6 12:26:12 2003

[antony@MYSTERON antony]$ stat -t .
. 8192 16 41ed 501 501 302 409485 90 0 0 1044535973 1044534372 1044534372
13835049121750192128


On Wed, 5 Feb 2003, David Cantrell wrote:

 Today, I needed to stat() in a shell script.  After solving my immediate
 problem with a perl one-liner, I went on to write a proper command-line
 tool to do the job.

 http://www.cantrell.org.uk/david/tech/stat

 --
 David Cantrell | Member of the Brute Squad | http://www.cantrell.org.uk/david

  Gehyrst þu, sælida, hwæt þis folc segeð?
  Hi willað eow to gafole garas syllan,
  ættrynne ord and ealde swurd,
  þa heregeatu þe eow æt hilde ne deah.
 -- Brithnoth







Re: CPANSTATS

2003-02-06 Thread David Wright
 On Wed, Feb 05, 2003 at 10:42:31PM +, Leon Brocard wrote:
  I've always wondered what modules people have installed from CPAN, but
  CPAN has too many mirrors. Versions are interesting too. Here is a
  beta version of cpanstats: http://www.astray.com/cpanstats/

 Scary indeed.

 I have just tried it, and the results of the danish jury appeared very
 quickly on the site - including all our internal and
 not-so-usefull-to-others modules, none of which are on CPAN. Perhaps you
 should restrict the list to those that are on CPAN (or perhaps even
 those on the modules list).

Oh, yeah, jeez, did it from work and I think I've contaminated half of the
'A's with our internal (and very promiscuous) 'Air.*' namespace ...

dave





Re: stat

2003-02-06 Thread David Cantrell
On Thu, Feb 06, 2003 at 10:21:31AM +, Lusercop wrote:
  stat(1) would be useful to be in the SUS,
 possibly as a shell builtin. (I suppose it could also be an extension to
 test(1), given that that's where all the file mode operations are). It's
 difficult to see how you'd present the output in a nice way suitable for
 doing shell-scripting, however.

My version will, if just given a filename, report the desired value for
that file:

  502$ stat -size Linux 
  1871128575

If given a value to compare to, it is silent but sets the exit status to
0 or 1 depending on whether the file matches or not:

  503$ stat -size Linux 1871128575
  504$ echo $?
  0
  505$ stat -size Linux 1234  
  506$ echo $?
  1

The latter is jolly useful in a script.

-- 
David Cantrell|Degenerate|http://www.cantrell.org.uk/david

WARNING! People in front of screen are stupider than they appear
-- Tanuki the Raccoon-dog, in the Monastery




Re: Net::SMTP-new

2003-02-06 Thread Dominic Mitchell
Blackwell, Lee [IT] wrote:

Is anyone aware of any bugs in Net::SMTP-new?  Or maybe IO::Socket that it
calls?

Same code works on one server, but not another; and after yesterdays modules
debacle, I've ensured that both servers have got *exactly* the same versions
of perl (5.6.1), modules  solaris.  I've even built up file lists and
diff'd them (they're identical)

The call actually dies inside IO::Socket

sub new {
my $class = shift;
unshift(@_, PeerAddr) if @_ == 1;
return $class-SUPER::new(@_);-- Here
}

However, my perl isn't good enough to fully understand whats happening here.


Try running the program under strace to see what's /really/ happening. 
 It might well be that something else funny is going on.

-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: CPANSTATS

2003-02-06 Thread Leon Brocard
Henrik Tougaard sent the following bits through the ether:

 I have just tried it, and the results of the danish jury appeared
 very quickly on the site - including all our internal and
 not-so-usefull-to-others modules, none of which are on CPAN. Perhaps
 you should restrict the list to those that are on CPAN (or perhaps
 even those on the modules list).

Thanks to Mark, the latest version of the client has an --ignore
option, which you can use to ignore your local modules. Unfortunately,
detecting whether a module is on CPAN isn't trivial.

Download it here: http://www.astray.com/cpanstats/

Leon

ps and it would help if search.cpan.org were opensource too
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... Hailing frequencies open, Captain




Re: Net::SMTP-new

2003-02-06 Thread Nick Cleaton
On Thu, Feb 06, 2003 at 01:39:14PM +, Dominic Mitchell wrote:

[SNIP]

 Try running the program under strace to see what's /really/ happening. 
  It might well be that something else funny is going on.

On Solaris, strace is called truss BTW.

--
Nick




Re: CPANSTATS

2003-02-06 Thread Mark Fowler
On Thu, 6 Feb 2003, David Wright wrote:

 Oh, yeah, jeez, did it from work and I think I've contaminated half of the
 'A's with our internal (and very promiscuous) 'Air.*' namespace ...

I patched it to have a --ignore regex command line option.  Leon told me
it'd be in the next version.

Mark.

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




Re: CPANSTATS

2003-02-06 Thread Shevek
On Thu, 6 Feb 2003, Mark Fowler wrote:

 On Thu, 6 Feb 2003, David Wright wrote:
 
  Oh, yeah, jeez, did it from work and I think I've contaminated half of the
  'A's with our internal (and very promiscuous) 'Air.*' namespace ...
 
 I patched it to have a --ignore regex command line option.  Leon told me
 it'd be in the next version.

It should have a test mode to say what it will upload so you can test your 
regexes before running live. Of course by this stage, the whole ease of 
use thing is a little down the pan.

S.

-- 
Shevek
I am the Borg.

sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print$x\n;eval
qq{*$AUTOLOAD=sub{my\$x=shift;return unless \$x%$i;{$x}(\$x);};};}

foreach my $i (3..65535) { {'2'}($i); }





Re: CPANSTATS

2003-02-06 Thread Tamsin
How about using the data to create a list of the top 50 or so more frequently used 
modules?

Or are there unlikely to be any surprises about what comes out on top?

T.




Re: CPANSTATS

2003-02-06 Thread Robin Berjon
Leon Brocard wrote:

Thanks to Mark, the latest version of the client has an --ignore
option, which you can use to ignore your local modules. Unfortunately,
detecting whether a module is on CPAN isn't trivial.


Isn't there a modlist.gz used by CPAN.pm?


ps and it would help if search.cpan.org were opensource too


No kidding :)

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





text manipulation

2003-02-06 Thread Gorden-Ozgul, Patricia E
 I need to construct a working printf statement where each field in a given
 record
 would print at a specified position.
 
 Each record may or may not contain any particular field but will always
 begin with .VENDOR.LIBRARY. and end with .VENDOR.XINFO.END.
 
 Hope springs eternal for this novice perl scripter.  If you can't help me,
 but can refer me to another list which might - I'd appreciate that.
 
 Pat Gorden-Ozgul
 [EMAIL PROTECTED] / [EMAIL PROTECTED]
 
 
 A sample from the datafile: 
 
 .VENDOR_LIBRARY. BNL-MAIN
 .VENDOR_ID. 070001
 .VENDOR_NAME. Research Books, Inc. / scholium
 .VENDOR_GROUP2. DOMESTIC
 .VENDOR_ADDR1_BEGIN.
 .PHONE. 800 445 7359   203 245 3279
 .FAX. 203 245 1830
 .LINE. 38 Academy Street
 .CITY. Madison
 .STATE. Ct
 .ZIP. 06443
 .VENDOR_ADDR1_END.
 .VENDOR_ADDR2_BEGIN.
 .LINE. 38 Academy Street
 .CITY. Madison
 .STATE. Ct
 .ZIP. 06443
 .VENDOR_ADDR2_END.
 .VENDOR_XINFO_BEGIN.
 .PAYTO. Research Books, Inc. / scholium
 .VENDOR_XINFO_END.
 
 .VENDOR_LIBRARY. BNL-MAIN
 .VENDOR_ID. 070097
 .VENDOR_NAME. Aspen Publishers Inc.
 .VENDOR_GROUP2. DOMESTIC
 .VENDOR_ADDR1_BEGIN.
 .PHONE. (800)234-1660
 .LINE. 7201 McKinney Circle
 .CITY. Frederick
 .STATE. MD
 .ZIP. 21704
 .VENDOR_ADDR1_END.
 .VENDOR_ADDR2_BEGIN.
 .ATTN. Accounts Receivable
 .LINE. P.O. Box 64054
 .CITY. Baltimore
 .STATE. MD
 .ZIP. 21264-4054
 .VENDOR_ADDR2_END.
 .VENDOR_XINFO_BEGIN.
 .PAYTO. Aspen Publishers Inc.
 .VENDOR_XINFO_END.
 
 .VENDOR_LIBRARY. BNL-MAIN
 .VENDOR_ID. 070014
 .VENDOR_NAME. John Wiley and Sons, Inc.
 .VENDOR_GROUP2. DOMESTIC
 .VENDOR_ADDR1_BEGIN.
 .ATTN. Order Department
 .LINE. Eastern Distribution Center
 .LINE2. One Wiley Drive
 .CITY. Somerset
 .STATE. NJ
 .ZIP. 08875
 .COUNTRY. USA
 .PHONE. (800) 225-5945
 .VENDOR_ADDR1_END.
 .VENDOR_ADDR2_BEGIN.
 .ATTN. John Wiley  Sons, Inc.
 .LINE. P.O. Box 18684
 .CITY. Newark
 .STATE. NJ
 .ZIP. 07191-8684
 .COUNTRY. USA
 .PHONE. (908) 469-4400
 .VENDOR_ADDR2_END.
 .VENDOR_XINFO_BEGIN.
 .PAYTO. John Wiley  Sons, Inc.
 .VENDOR_XINFO_END.
 
 .VENDOR_LIBRARY. BNL-MAIN
 .VENDOR_ID. 070001
 .VENDOR_NAME. Research Books, Inc. / scholium
 .VENDOR_GROUP2. DOMESTIC
 .VENDOR_ADDR1_BEGIN.
 .PHONE. 800 445 7359   203 245 3279
 .FAX. 203 245 1830
 .LINE. 38 Academy Street
 .CITY. Madison
 .STATE. Ct
 .ZIP. 06443
 .VENDOR_ADDR1_END.
 .VENDOR_ADDR2_BEGIN.
 .LINE. 38 Academy Street
 .CITY. Madison
 .STATE. Ct
 .ZIP. 06443
 .VENDOR_ADDR2_END.
 .VENDOR_XINFO_BEGIN.
 .PAYTO. Research Books, Inc. / scholium
 .VENDOR_XINFO_END.
 
 .VENDOR_LIBRARY. BNL-MAIN
 .VENDOR_ID. 070001
 .VENDOR_NAME. Research Books, Inc. / scholium
 .VENDOR_GROUP2. DOMESTIC
 .VENDOR_ADDR1_BEGIN.
 .PHONE. 800 445 7359   203 245 3279
 .FAX. 203 245 1830
 .LINE. 38 Academy Street
 .CITY. Madison
 .STATE. Ct
 .ZIP. 06443
 .VENDOR_ADDR1_END.
 .VENDOR_ADDR2_BEGIN.
 .LINE. 38 Academy Street
 .CITY. Madison
 .STATE. Ct
 .ZIP. 06443
 .VENDOR_ADDR2_END.
 .VENDOR_XINFO_BEGIN.
 .PAYTO. Research Books, Inc. / scholium
 .VENDOR_XINFO_END.
 
 
 The code:
 
 
 # script:  peoplesoft_vendors.pl
 # author:  PGO
 # description:  Generate PeopleSoft 'VN'vendor batch file
 #   from API output
 # date:  01/31/03
 
 
 my $file_in = 'vendshrt';
 
 my $library = .VENDOR_LIBRARY. ;
 my $library_out =  ;
 my $id = .VENDOR.ID. ;
 my $id_out =  ;
 my $name = .VENDOR_NAME. ;
 my $name_out =  ;
 my $payto = .PAYTO. ;
 my $payto_out =  ;
 my $group2 = .VENDOR_GROUP2. ;
 my $group2_out =  ;
 my $phone1 = .PHONE.  ;
 my $phone1_out =  ;
 my $fax = .FAX. ;
 my $fax_out =  ;
 my $addr1_line = .LINE. ;
 my $addr1_line_out =  ;
 
 my $blank8 = ;
 
 open(DATA, $file_in) || die ;
 
   while (DATA)
   {
  chomp ($line);
 # debug
 # print this line is: $_; 
 
  if ($line =~ /$library/)
  { 
 $line =~ s/$library//g;
 print $line;
 $library_out = $line;
 # debug 
 print library = $library_out;
  }
  if ($line =~ /$payto/)
  {
 $line =~ s/$payto//g;
 $payto_out = $line;
  }
  if ($line =~ /$id/)
  {
 $line =~ s/$id//g;
 $id_out = $line;
  }
  if ($line =~ /$name/)
  {
 $line =~ s/$name//g;
 $name_out = $line;
  }
  if ($line =~ /$group2/)
  {
 $line =~ s/$group2//g;
 $group2_out = $line;
  }
  if ($payto_out =  )
  {
 $payto_out = substr($name_out,0,39);
 # debug
 print  Payto = $payto_out;
 
  }
  if ($line =~ /$phone1/)
  {
 $phone1_out = $line;
  }
  if ($line =~ /$fax/)
  {
 $fax_out = $line;
  }
  if ($line =~ /$addr1_line/)
  {
 $addr1_line_out = $line;
 # debug
 print addr1_line_out = $addr1_line_out;
 
  }
 #  printf %8s %-40s %-26s \n, $blank8, $payto_out, $addr1_line_out;
 
   my $library = .VENDOR_LIBRARY. ;
   my $library_out =  ;
   my $id = .VENDOR.ID. ;
   my $id_out =  ;
   my $name = 

Re: CPANSTATS

2003-02-06 Thread Leon Brocard
Shevek sent the following bits through the ether:

 It should have a test mode to say what it will upload so you can test your 
 regexes before running live. Of course by this stage, the whole ease of 
 use thing is a little down the pan.

Mark provided a --dryrun patch which does just this. It's in the
latest version.

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

... I'll be Bach - Johann Sebastian Schwarzenegger




Re: CPANSTATS

2003-02-06 Thread Graham Barr
On Thu, Feb 06, 2003 at 03:09:46PM +0100, Robin Berjon wrote:
  ps and it would help if search.cpan.org were opensource too
 
 No kidding :)

Just how would that help ?

Graham.




Re: CPANSTATS

2003-02-06 Thread Leon Brocard
Nick Cleaton sent the following bits through the ether:

 Is rummaging through .cpan/sources/modules/02packages.details.txt.gz
 not close enough ?

Yup, seems reasonable. I'll add this when I have the time (ie not
tonight, it's a London.pm social).

I had one issue with this: old modules that are no longer on CPAN or
that have been renamed will not be in the stats. However, Paul has
convinced me that these modules aren't that important - removing the
private modules from the stats is more important.

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

... Careful. We don't want to learn from this. - Calvin




Re: CPANSTATS

2003-02-06 Thread Leon Brocard
Graham Barr sent the following bits through the ether:

 Just how would that help ?

We'd have been able to fix the site for you. For example, the FAQ is a
little out of date - linking to
http://chaos.wustl.edu/analog/cpan_org/search/ (last updated in
2002-05) isn't terribly useful.

The search results are a little iffy sometimes:
http://search.cpan.org/search?query=imlibmode=all
doesn't list 'Image::Imlib2'.

And I notice you've been having a load problem recently. Would you
like some help scaling the site? Would a couple of identical mirrors
help?

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

... I could be arguing in my spare time




Re: CPANSTATS

2003-02-06 Thread Graham Barr
On Thu, Feb 06, 2003 at 02:46:15PM +, Leon Brocard wrote:
 Graham Barr sent the following bits through the ether:
 
  Just how would that help ?
 
 We'd have been able to fix the site for you. For example, the FAQ is a
 little out of date - linking to
 http://chaos.wustl.edu/analog/cpan_org/search/ (last updated in
 2002-05) isn't terribly useful.

Well you have the source for that. patches welcome.

 The search results are a little iffy sometimes:
 http://search.cpan.org/search?query=imlibmode=all
 doesn't list 'Image::Imlib2'.

Well report it via the feedback.

 And I notice you've been having a load problem recently. Would you
 like some help scaling the site? Would a couple of identical mirrors
 help?

Thats an apache problem. it was recently moved across boxes and now uses
apache2 for a proxy frontend. sadly apache2 does not want to work
as a proxy and a cache so every request hits the backend. But there
will be a mirror in the UK soon

Graham.




Re: CPANSTATS

2003-02-06 Thread Robin Berjon
Graham Barr wrote:

On Thu, Feb 06, 2003 at 03:09:46PM +0100, Robin Berjon wrote:

ps and it would help if search.cpan.org were opensource too


No kidding :)


Just how would that help ?


We could help you fix bugs and add nifty features :)

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





Re: CPANSTATS

2003-02-06 Thread Simon Wistow
On Thu, Feb 06, 2003 at 02:30:35PM +, Leon Brocard said:
 Nick Cleaton sent the following bits through the ether:
 
  Is rummaging through .cpan/sources/modules/02packages.details.txt.gz
  not close enough ?
 
 Yup, seems reasonable. I'll add this when I have the time (ie not
 tonight, it's a London.pm social).

http://thegestalt.org/simon/perl/cpanscore.html

might have some code that will let you do that.

or, in your case Leon ~simon/public_html/perl/cpanscore

Simon






Re: CPANSTATS

2003-02-06 Thread Newton, Philip
(Combined reply)

Shevek wrote:
 It should have a test mode to say what it will upload so you 
 can test your regexes before running live. Of course by this
 stage, the whole ease of use thing is a little down the pan.

Well, it's already impaired by requiring non-core modules, some of them
XS-based.


Tamsin wrote:
 How about using the data to create a list of the top 50 or so 
 more frequently used modules?
 
 Or are there unlikely to be any surprises about what comes out on top?

I vote for Inline::PERL :)

(OTOH, picking only non-core modules skews things a bit if there are people
running 5.6.0, who have to install everything by hand, vs the Borgified
5.8.0, which includes half of CPAN by default.)



Cheers,
Philip
-- 
Philip Newton [EMAIL PROTECTED]
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.




Re: newbie cgi/db books

2003-02-06 Thread Mark Fowler
On Thu, 6 Feb 2003, Peter Pimley wrote:

 Can anyone recommend any good books on this sort of thing?

Hey, might as well continue to plug the resources that are available.
The perl book guide (which claims not to be officially open - oh well) is
here:

  http://books.perl.org/
  http://books.perl.org/category/4  # databases
  http://books.perl.org/category/1  # the web

Mark.

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




Re: CPANSTATS

2003-02-06 Thread Robin Berjon
Graham Barr wrote:

On Thu, Feb 06, 2003 at 04:07:44PM +0100, Robin Berjon wrote:

We could help you fix bugs and add nifty features :)


Well thats my issue. There are thousands of people who want
to add nifty feature, or want id changed in different ways.
search is a simple site, in fact the code base is very
small, and that is how it shall remain. If you want
nifty features you are looking in the wrong place.


Ok, I can understand that. We could take the code and fork our own versions with 
our pet features, without reinventing the rest.

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




Re: CPANSTATS

2003-02-06 Thread Leon Brocard
Leon Brocard sent the following bits through the ether:

 See XML::SAX::PurePerl? Apparently it's installed on 108 systems,
 which is odd as I only have data from 47 systems.

OK, I now filter from CPAN. If it's not on CPAN, it won't be in the
stats. The above is still an issue though. It's all due to the
confusing between files, packages, and distributions. A wonderful
topic for the pub tonight ;-)

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

... Overload - core meltdown sequence initiated




Re: CPANSTATS

2003-02-06 Thread Mark Fowler
On Thu, 6 Feb 2003, Graham Barr wrote:

 Just how would that help ?

We have a private CPAN repository here which we add our own modules to
(the closed source, useless to no-one but us stuff.)  I'd love to run my
own local copy of search.cpan.org on our own stuff.

Of course, if you don't want to opensource it, then don't.  I'm still
terribly terribly grateful for what it provides.

Mark.

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




Re: CPANSTATS

2003-02-06 Thread Jonathan Peterson

Just how would that help ?


We could help you fix bugs and add nifty features :)



Well thats my issue. 

We could fork the code and start work on search-ng.cpan.org. We would 
find very large numbers of security holes, and fix them one at a time 
over the space of 2 years, releasing each fix as a new version 
accompanied by a pompous sounding release note, and declaring that 
previous versions were completely unsupported.

Then, we'd set up a dev-list. Then newbies will post to it and say it 
doesn't work, and we'd tell them they were using 1.2.14 and should 
upgrade to 1.2.15 as their version is insecure. We'll work hard to 
release 1.2.16 before they can do that.

We'll add more and more features until no-one can remember all the 
command line options. Then we'll write a graphical front end using the 
world's ugliest toolkit so you can select command line options from 
ugly, randomly placed drop-down widgets and check boxes. Someone will 
notice that this widget set has been 'ported' to windows, so we'll 
advertise a Win32 version that doesn't work unless you install 10,000Gb 
of Cygwin libraries, and even then it crashes because you are using the 
'other' version of glibc. Then, we'll make it themable.

OK, I've registered themes.search-ng.cpan.org. Anyone want to set up a 
sourceforge home page and put four badly explained feature requests in 
the bug tracker?

Jon



--
Jonathan Peterson
Technical Manager, Unified Ltd, +44 (0)20 7383 6092
[EMAIL PROTECTED]




Re: CPANSTATS

2003-02-06 Thread Adam Spiers
Simon Wistow ([EMAIL PROTECTED]) wrote:
 On Thu, Feb 06, 2003 at 02:30:35PM +, Leon Brocard said:
  Nick Cleaton sent the following bits through the ether:
  
   Is rummaging through .cpan/sources/modules/02packages.details.txt.gz
   not close enough ?
  
  Yup, seems reasonable. I'll add this when I have the time (ie not
  tonight, it's a London.pm social).
 
 http://thegestalt.org/simon/perl/cpanscore.html
 
 might have some code that will let you do that.
 
 or, in your case Leon ~simon/public_html/perl/cpanscore

Hey, I think you're missing an

ASPIERS   = Adam Spiers,

in that ;-)

I seem to come 17th, although I'm pitifully ashamed of some of my
older contributions.  Ah, how naive I was when I was young ...
/walking_stick

Also, it's not entirely fair, since I ended up with all those
Test::Unit::* jobbies when Piers passed me the PerlUnit maintainer
mantle, despite a lot of the code not being mine[*].  Speaking of
which, I'm looking for someone to take the maintainership off my hands
now.  Anyone?  Bueller?

Adam

[*] Having said that, I gave Mail::Freshmeat away, so it's about evens.




Re: CPANSTATS

2003-02-06 Thread Gabor Szabo
Leon Brocard wrote:

I've always wondered what modules people have installed from CPAN, but
CPAN has too many mirrors. Versions are interesting too. Here is a
beta version of cpanstats: http://www.astray.com/cpanstats/

Leon


Great, let me add my 3 cents
1) as it is now - I guess - when downloading a new version
   you'll have to manually move the uid.
   You might want to create an option to automgically upgrade.

2) I don't see why lot's of people would run your code and a
   small sample will not be interesting. I think.
   You might want to list by the client all the modules that are not
   the latest in his computer.

3) I am not sure how interesting the list of modules I have installed.
   I am regulary install modules and then leave them unused. Maybe
   you should list only modules I tell you I am using so instead or
   in addition to the ignore list there should be a way to say which
   modules to include.

Gabor







Re: source (was: Re: CPANSTATS)

2003-02-06 Thread Paul Mison
On 06/02/2003 at 14:48 +, Mark Fowler wrote:

On Thu, 6 Feb 2003, Leon Brocard wrote:



P.S. *cough* scribot *cough* source *cough*


Parts of the source to scribot is public, although somewhat 
hapharzadly. Mind you, that word describes some of the code too.

http://thegestalt.org/simon/perl/scribot2.html
  - irc side, somewhat out of date

http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/scribot/web/
  - spot the Mac user who didn't bother with .cvsignore

Maybe you can persuade Leon to make it presentable as a tarball. Oh, 
plus there's the problem of running the month archiver on the web 
front end a little more often. There are probably URI::Find fixes 
lurking somewhere too.

I can see why things never get released, you know.

--
:: paul
:: we're like crystal



Re: [admin] Using the correct From: when posting

2003-02-06 Thread alex
On Sat, 2003-02-01 at 20:16, Paul Makepeace wrote:
 This is how to set your outgoing From: line in mutt so that when you
 post to, e.g., London.pm you set the From: line to one of your
 subscribed addresses, and thus reduce the awful, terrible burden
 london.pm-admin endure approving posts.

the new mailman reduces such listadmin burdens hugely...  it does
helpful things like grouping together held posts by email address, and
allowing the admin to add email addresses to the automatically
approve/reject lists with a touch of a radio button.

lots of lovely features, i'm very impressed.

alex






Re: Anyone for a pub meet? South of the Thames?

2003-02-06 Thread Natalie S. Ford
On Mon, Feb 03, 2003 at 09:16:07PM +, David Cantrell wrote:
 On Mon, Feb 03, 2003 at 08:42:03PM +, Phil Pereira wrote:
  David Cantrell [EMAIL PROTECTED] wrote:
   Slightly more seriously - how about the Dog n Bull on Surrey St?
  Just to confirm, this is the pub location:
  http://www.multimap.com/map/browse.cgi?client=pc=CR01RG
 Yup.
  I'm pre-booked for next Monday, however, Thursday (13th Feb) is good with me! Just 
say the time and I'll meet you there ... as well as anyone else who'd like to come  :)
 6pm onwards.

So, is it just going to be the two of you?  I may be able to make it
- Croydon is a bit easier than London for me...

-- 
Natalie S. Ford   .   [EMAIL PROTECTED]
.  http://www.natalie.ourshack.org




Re: yapi / photo organisers

2003-02-06 Thread alex
On Tue, 2003-02-04 at 09:36, Paul Mison wrote:
 For the uninformed, yapi is at http://husk.org/misc/yapi/ while the 
 newer, complete rewrite yapi2 is at http://jerakeen.org/cms/yapi2. 
 There is newer code than that linked to on my page, but it's not 
 available at the moment, and no doubt Tom would suggest using yapi2 
 anyway. I'll update it if people show any interest.

I think Paul is referring to my fork, 'yami'.

  http://slab.org/yami/

It takes a different approach, it's like apache's directory browsing but
with a search box, automatically generated thumbnails (including
animated gifs from movies), comments and so on.  It also makes greater
use of template toolkit.

I believe some version of the code is available in jerakeen's cvs.  I'll
commit my more recent mods if anyone is interested in trying to get it
installed.

alex