Re: ISO8601 [was] Re: Pointless, Badly-Written Module.

2001-03-22 Thread Piers Cawley

Andrew Bowman [EMAIL PROTECTED] writes:
 In Iceland they append 'son' for sons and 'dottir' for daughters -
 hence Magnus Magnusson is the son of Magnus, whilst Sally Magnusson
 would, in Iceland at least, be Sally Magnusdottir.

I used to work with an Icelandic chap who told me that the Rekjavik
phonebook is ordered by first name because they still use proper
patronyms. 

-- 
Piers




Re: Perl Training Courses

2001-03-22 Thread Dave Cross

At Thu, 22 Mar 2001 07:18:05 +, celia [EMAIL PROTECTED] wrote:
 David H. Adler wrote:
 
  On Wed, Mar 21, 2001 at 10:22:34PM +, celia wrote:
  
  / me delurks - don't worry, you won't see much of me round here :)
  
  But... why??
 
 Why I delurked, or why you won't see much of me on this list? The 
 answer to both is that I'll only post if I have something useful to 
 contribute, and seeing as I'm new to perl, that won't be too often.

Hmm... not sure I understand what Perl has got to do with most of the 
discussions on this list :)

What fo you know about Buffy?

 Hm, seems I've just broken my own rule :)

Isn't that what rules are for?

Dave...



Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Dave Cross

At Thu, 22 Mar 2001 09:37:39 + (GMT), Mark Fowler [EMAIL PROTECTED] wrote:
 On 2001, Mar, 21, Cross, Dave wrote:
 
  And how about: a decent Perl debugger (that also happens to be 
  free).
  
  You have a decent Perl debugger. It's called perl -d.
 
 Eugh.  perl -d:ptkdb please.

Yeah. Now use that when you only have telnet access to your development
system :-/

 Now with added pointy and clickyness.

Now with added Ludditeness.

Dave...



Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Mark Fowler

On 2001, Mar, 22, Thu, Cross, Dave wrote:

  Now with added pointy and clickyness.
 
 Now with added Ludditeness.

 Dave.

Luddite n 1 : any opponent of technological progress [syn: {Luddite}]
2: one of the 19th century English workman who destroyed labor-saving
machinery that they thought would cause unemployment [syn: {Luddite}] 

You're sounding a little too much like a heretic to me Dave...all that
crashing and destroying of stuff ;-)

Later.

Mark.

-- 
print "\n",map{my$a="\n"if(length$_6);' 'x(36-length($_)/2)."$_\n$a"} (
   Name  = 'Mark Fowler',Title = 'Technology Developer'  ,
   Firm  = 'Profero Ltd',Web   = 'http://www.profero.com/'   ,
   Email = '[EMAIL PROTECTED]',   Phone = '+44 (0) 20 7700 9960'  )








Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Dave Hodgkinson

Dave Cross [EMAIL PROTECTED] writes:

 At Thu, 22 Mar 2001 09:37:39 + (GMT), Mark Fowler [EMAIL PROTECTED] wrote:
  On 2001, Mar, 21, Cross, Dave wrote:
  
   And how about: a decent Perl debugger (that also happens to be 
   free).
   
   You have a decent Perl debugger. It's called perl -d.
  
  Eugh.  perl -d:ptkdb please.
 
 Yeah. Now use that when you only have telnet access to your development
 system :-/

Not even ssh?

 
  Now with added pointy and clickyness.
 
 Now with added Ludditeness.
 
 Dave...
 

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Interim CTO, web server farms, technical strategy
   



Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Andy Williams

On Thu, 22 Mar 2001, Dave Cross wrote:

 Oh, it's not me - it's the environment I'm currently working in.

 Dave...
 [not a Luddite]

I can vouch for that REALLY bad environment!!

Andy
[Not a Luddite either]




Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Dean

On Thu, Mar 22, 2001 at 04:45:57AM -0500, Dave Cross wrote:
   You have a decent Perl debugger. It's called perl -d.
  
  Eugh.  perl -d:ptkdb please.
 
 Yeah. Now use that when you only have telnet access to your development
 system :-/

Not even an ssh connection?

  Now with added pointy and clickyness.
 
 Now with added Ludditeness.

Wait till Activestate get their IDE's out for Linux and the plugin for
Visual Studio... I can't wait.

Dean
-- 
Profanity is the one language all programmers understand
   --- Anon



Re: Linux.com

2001-03-22 Thread Simon Cozens

On Thu, Mar 22, 2001 at 04:08:30AM -0500, Dave Cross wrote:
 Anyone have any experience of these events?

I've done a couple, one for devshed.com and one for someone else. I forget.

 Is it worth getting involved. 

It doesn't hurt, but it is a *leetle* bit of a waste of time. And boy, you get
some dumb questions (and non-Perl questions) and you have to be very nice
about them.

 And, if so, any idea what part of the book linux.com might
 be particularly interested in?

For mine they put up the regular expression chapter. It doesn't really matter
about the content, it's just something for people to get a feel of your
writing and such.

-- 
"The bad reputation UNIX has gotten is totally undeserved, laid on by people
 who don't understand, who have not gotten in there and tried anything."
-- Jim Joyce, former computer science lecturer at the University of California



Re: Perl Training Courses

2001-03-22 Thread Simon Cozens

On Wed, Mar 21, 2001 at 06:41:07PM +, Dave Cross wrote:
 You have a decent Perl debugger. It's called perl -d.

The most effective debugging tool is still careful thought, coupled with
judiciously placed print statements. -Kernighan, 1978

-- 
use POSIX;e(1);sub e{my($x,$o,$O)=@_;($x--+22)$x+44e($x,-43,$x);print
(($x$o)?(e(-43,++$o,$O),$l=($o+21)/sqrt(3-$O*22-$O**2),($l**24(fabs(
((time-607728)%2551443)/405859-4.7+acos($l/2))1.57)))?'#':' ':"\n");}



Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Dave Cross

At 22 Mar 2001 09:02:31 +, Dave Hodgkinson [EMAIL PROTECTED] wrote:
 Dave Cross [EMAIL PROTECTED] writes:
 
  At Thu, 22 Mar 2001 09:37:39 + (GMT), Mark Fowler [EMAIL PROTECTED] wrote:
   On 2001, Mar, 21, Cross, Dave wrote:
   
And how about: a decent Perl debugger (that also happens to be 
free).

You have a decent Perl debugger. It's called perl -d.
   
   Eugh.  perl -d:ptkdb please.
  
  Yeah. Now use that when you only have telnet access to your 
  development system :-/
 
 Not even ssh?

Not sure they can even spell 'ssh' here :)

Let me explain the set-up. I have a PC running Win95. I access a number
of IBM AIX machines using putty. When I first joined, I asked about the
possibility of getting Exceed installed, but was told that having an
X server on a PC would generate too much network traffic.

All external internet requests from the PCs go thru a bastard fascist
filtering proxy. Only HTTP and email gets out as far as I can see.

The firewall around the AIX boxes is even worse. Nothing gets thru 
unless you've asked the network people to put a specific hole in the
firewall. Oh, and there's no external DNS on these boxes so you can only
access stuff if you know the IP address.

Grrr

Dave...



Re: Perl Training Courses

2001-03-22 Thread Robert Shiels

From: "Simon Cozens" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 22 March 2001 10:33
Subject: Re: Perl Training Courses


 On Wed, Mar 21, 2001 at 06:41:07PM +, Dave Cross wrote:
  You have a decent Perl debugger. It's called perl -d.

 The most effective debugging tool is still careful thought, coupled with
 judiciously placed print statements. -Kernighan, 1978

Still my debugger of choice for most languages, my code is littered with
commented debug print statements.

/Robert




Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Dominic Mitchell

On Thu, Mar 22, 2001 at 06:09:19AM -0500, Dave Cross wrote:
 Not sure they can even spell 'ssh' here :)
 
 Let me explain the set-up. I have a PC running Win95. I access a number
 of IBM AIX machines using putty. When I first joined, I asked about the
 possibility of getting Exceed installed, but was told that having an
 X server on a PC would generate too much network traffic.
 
 All external internet requests from the PCs go thru a bastard fascist
 filtering proxy. Only HTTP and email gets out as far as I can see.
 
 The firewall around the AIX boxes is even worse. Nothing gets thru 
 unless you've asked the network people to put a specific hole in the
 firewall. Oh, and there's no external DNS on these boxes so you can only
 access stuff if you know the IP address.

Sounds like you need httptunnel:

http://www.nocrew.org/software/httptunnel/

I'm not sure it works on '95, but they do appear to have an NT binary.
I think you need to set up a connection point in the Internet at large
as well (a shell box should do).

I'm not terribly certain, because I've never used it, but I have heard
good things about it.  It might be worth investigating.

-Dom



Re: Perl Training Courses

2001-03-22 Thread Robin Szemeti

On Thu, 22 Mar 2001, you wrote:

  / me delurks - don't worry, you won't see much of me round here :)
  
  But... why??
 
 Why I delurked, or why you won't see much of me on this list? The answer to
 both is that I'll only post if I have something useful to contribute, and
 seeing as I'm new to perl, that won't be too often.

err .. what ? .. this is a perl list? .. I never new that! .. I had been
under the impression it was a joint effort on behalf of the Buffy fan
club and Central London Alcholics Anonymous  ...

nahh  .. you just chip in whenever you feel like it. If its vaguely
relevant we'll soon let you know so you can avoid that mistake in future
;)) 

-- 
Robin Szemeti

The box said "requires windows 95 or better"
So I installed Linux!



Re: Debuggers (was Re: Perl Training Courses)

2001-03-22 Thread Simon Cozens

On Thu, Mar 22, 2001 at 10:36:01AM +, Dean wrote:
 Wait till Activestate get their IDE's out for Linux 

It's already out, I thought. Needs Perl and Python and all sorts of bits and
pieces installed.

-- 
People who love sausages, respect the law, and work with IT standards
shouldn't watch any of them being made.
- Peter Gutmann  



Re: Perl Training Courses

2001-03-22 Thread Robin Szemeti

On Thu, 22 Mar 2001, you wrote:

  The most effective debugging tool is still careful thought, coupled with
  judiciously placed print statements. -Kernighan, 1978
 
 Still my debugger of choice for most languages, my code is littered with
 commented debug print statements.

well .. yes .. and no ;)) ...

Brian was right a in '78 and still is.  As yet there is no replacement
for careful thought .. I doubt there ever will be.

around 70% of the time print is all you need. and 100% of the time it is
perfectly possible with nothing else. But debugging tools can be very
very good .. If anyone has used the Borland Turbo Debugger for C / C++
you'll know what I mean . even the old DOS version is just plain
brilliant .. step around code, change registers, place watches on
variables, set conditional break points ... I really wish I had a similar
tool for Perl .. and although perl -d is great its not as good as
something like Borland TurboDebugger.

Whether I actually need it is a different question .. if its much too
hard with a print statement then that probably tells you something about
the code :) .. 

[I should add something about caller(1) is your freind too ]

-- 
Robin Szemeti

The box said "requires windows 95 or better"
So I installed Linux!



Re: Falco!

2001-03-22 Thread Ian Davis

Umm. Sorry everyone for not checking who I'm sending mail to.

Ian





Re: Perl Training Courses

2001-03-22 Thread Robert Shiels

From: "Robin Szemeti" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: 22 March 2001 12:03
Subject: Re: Perl Training Courses


 On Thu, 22 Mar 2001, you wrote:

   The most effective debugging tool is still careful thought, coupled
with
   judiciously placed print statements. -Kernighan, 1978
  
  Still my debugger of choice for most languages, my code is littered with
  commented debug print statements.

 well .. yes .. and no ;)) ...

 around 70% of the time print is all you need. and 100% of the time it is
 perfectly possible with nothing else. But debugging tools can be very
 very good ..

Most of my programming is in ABAP, a proprietary language for SAP. It has
quite a cool debugger actually, and you can jump into it at any time and
look at code, set breakpoints and watchpoints, query tables and variables,
change variables values etc. The interface is crap, and ancient, but it
works.

It is in fact vitally important, as a lot of the code I need to debug cannot
be changed in the QA system where I'm debugging, and some of it can't
actually be changed at all [1]

/Robert

[1]slight simplifiction, but pretty much true, if there are any other SAP
people here :-)




Re: Perl Training Courses

2001-03-22 Thread Hamlet D'Arcy

From listening to the conversation about debugging tools, it seems to me 
that the perspective of the list might be skewed. Print statements are great 
when you're debugging your own code or even someone else's code on small 
projects...

But what about those times where you are handed a folder full of files and 
told either "we need this compiled!" or "find the memory leak!". Both of 
these happen to me quite regularly. (And I do realize that this is in a 
C/C++ context, but it could apply to Perl too).

In these situations, an integrated visual debugger is far superior to print 
statements. Sure, you could create log files to reflect a sort of call 
stack, but all too often you will have to add the code yourself rather than 
having the original programmer use debug statements (or such). The same goes 
for listing variables. Want to know the value of every data member in a 
class? I'd prefer clicking the little plus sign and haveing the node expand 
rather than adding a print statement for each member (or set up a loop).

I think an excellent example of a solid, stable, and friendly debugger is 
Metrowerk's Codewarrior's debugger. Call stack, view memory, watches, 
breakpoints, and the ability to alter which lines of code to run... I can 
state from experience that products developed using the Codewarrior Suite 
were brought to market faster and more stable than products developed using 
Borland TurboDebugger or command line tools.

In conclusion, visual integrated debuggers are the best way to quickly 
acquire knowledge of a poorly known program. They give the user faster 
access to data and more debugging control.

So, could someone offer more info on the Perl Courses? With a few basic 
formalities I could probably get my employer to shell out for it. (ie, don't 
make it sound like we'll be discussing Perl over pints).

Just my two cents (which is about 1.4 pence),
Hamlet D'Arcy

Brian was right a in '78 and still is.  As yet there is no replacement
for careful thought .. I doubt there ever will be.

around 70% of the time print is all you need. and 100% of the time it is
perfectly possible with nothing else. But debugging tools can be very
very good ..
_
Get your FREE download of MSN Explorer at http://explorer.msn.com




Re: Perl Training Courses

2001-03-22 Thread Dominic Mitchell

On Thu, Mar 22, 2001 at 12:55:49PM -, Hamlet D'Arcy wrote:
 From listening to the conversation about debugging tools, it seems to me 
 that the perspective of the list might be skewed. Print statements are great 
 when you're debugging your own code or even someone else's code on small 
 projects...
 
 But what about those times where you are handed a folder full of files and 
 told either "we need this compiled!" or "find the memory leak!". Both of 
 these happen to me quite regularly. (And I do realize that this is in a 
 C/C++ context, but it could apply to Perl too).
 
 In these situations, an integrated visual debugger is far superior to print 
 statements. Sure, you could create log files to reflect a sort of call 
 stack, but all too often you will have to add the code yourself rather than 
 having the original programmer use debug statements (or such). The same goes 
 for listing variables. Want to know the value of every data member in a 
 class? I'd prefer clicking the little plus sign and haveing the node expand 
 rather than adding a print statement for each member (or set up a loop).
 
 I think an excellent example of a solid, stable, and friendly debugger is 
 Metrowerk's Codewarrior's debugger. Call stack, view memory, watches, 
 breakpoints, and the ability to alter which lines of code to run... I can 
 state from experience that products developed using the Codewarrior Suite 
 were brought to market faster and more stable than products developed using 
 Borland TurboDebugger or command line tools.
 
 In conclusion, visual integrated debuggers are the best way to quickly 
 acquire knowledge of a poorly known program. They give the user faster 
 access to data and more debugging control.

Quite a nice way "in-between" way of doing things is to run a
command-line debugger (gdb or perl -d) under XEmacs.  Nice and pretty.

-Dom



Re: Perl Training Courses

2001-03-22 Thread DJ Adams

On Thu, Mar 22, 2001 at 12:45:20PM -, Robert Shiels wrote:
 
 [1]slight simplifiction, but pretty much true, if there are any other SAP
 people here :-)

/me just manages to resist going on and on about SAP's debugger

dj
"eee, it was much better in the 80s"



Debian question ...

2001-03-22 Thread David Cantrell

is there an easy way of getting a list of all the packages which are
currently installed?  I dislike dselect intensely, and the docs for 
dpkg et al don't say anything useful.

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david

   The voices said it's a good day to clean my weapons.



Re: Debian question ...

2001-03-22 Thread Roger Burton West

On or about Thu, Mar 22, 2001 at 01:43:28PM +, David Cantrell typed:
is there an easy way of getting a list of all the packages which are
currently installed?  I dislike dselect intensely, and the docs for 
dpkg et al don't say anything useful.

   To make a local copy of the package selection states:
dpkg --get-selections myselections

Roger



That book

2001-03-22 Thread Clarke, Darren
Title: That book





What was that book that Dave criticised on Amazon about 2 months ago?


The one where the author emailed a reply which was passed around at the February social meeting?


Regards,


Darren Clarke
Neophyte


[EMAIL PROTECTED]





Re: That book

2001-03-22 Thread Dave Cross

At Thu, 22 Mar 2001 16:38:48 -, "Clarke, Darren" [EMAIL PROTECTED] 
wrote:

 What was that book that Dave criticised on Amazon about 2 months ago?
 
 The one where the author emailed a reply which was passed around at 
 the February social meeting?

It was "Perl and CGI for the World Wide Web (Visual Quickstart Guide)" 
by Elizabeth Castro

I've just rememebered that I put my review on your site as well.

Having exchanged emails with the author and studied the book far more
closely, I've come to the conclusion that it's nowehere near as bad as
I thought. I've asked Amazon to remove the review and should probably 
get Waterstones to do the same.

Don't get me wrong - it's not a good book by any means, it's just not
_as_ bad as I originally said.

Dave...




Re: Pointless, Badly-Written Module.

2001-03-22 Thread Philip Newton

Simon Wilcox wrote:
 Or even better YY-MM-DD which avoids cross-pond confusion.

Oh yeah? Which year, month, and day are represented by the combination
02-03-04? Depends on the side of the pond, and on which pond (MM-DD-YY in
US, DD-MM-YY in UK, possibly YY-MM-DD in Japan).

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: That book

2001-03-22 Thread Clarke, Darren
Title: RE: That book





At Thu, 22 Mar 2001 16:38:48 -, Clarke, Darren [EMAIL PROTECTED] wrote:


 What was that book that Dave criticised on Amazon about 2 months ago?
 
 The one where the author emailed a reply which was passed around at 
 the February social meeting?


Dave Cross replied:
It was Perl and CGI for the World Wide Web (Visual Quickstart Guide) 
by Elizabeth Castro


I've just rememebered that I put my review on your site as well.


Having exchanged emails with the author and studied the book far more
closely, I've come to the conclusion that it's nowehere near as bad as
I thought. I've asked Amazon to remove the review and should probably 
get Waterstones to do the same.


Don't get me wrong - it's not a good book by any means, it's just not
_as_ bad as I originally said.


Fair enough - I just fancied reading your review :¬)


Darren





Re: Pointless, Badly-Written Module.

2001-03-22 Thread Philip Newton

Robin Houston wrote:
   use POSIX 'strftime';
   print "The date is ", strftime("%m-%d-%y", localtime()), "\n";

Or, for those who want to type even less, strftime accepts a '%D' format
specifier on at least some platforms, which does %m/%d/%y for you (which is
probably used more widely than %m-%d-%y, anyway). From `man strftime` on
penderel:

   %D Equivalent  to  %m/%d/%y.  (Yecch  -  for Americans
  only.  Americans should note that  in  other  coun­
  tries %d/%m/%y is rather common. This means that in
  international context this format is ambiguous  and
  should not be used.) (SU)

(SU) appears to mean that this comes from the Single Unix standard.

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: That book

2001-03-22 Thread Dave Cross

At Thu, 22 Mar 2001 16:53:12 -, "Clarke, Darren" [EMAIL PROTECTED] 
wrote:

 At Thu, 22 Mar 2001 16:38:48 -, "Clarke, Darren"
 [EMAIL PROTECTED] wrote:
 
  What was that book that Dave criticised on Amazon about 2 months =
  ago?
 
  The one where the author emailed a reply which was passed around 
  at the February social meeting?
 
 Dave Cross replied:
 It was "Perl and CGI for the World Wide Web (Visual Quickstart 
 Guide)" 
 
 by Elizabeth Castro
 
 I've just rememebered that I put my review on your site as well.
 
 Having exchanged emails with the author and studied the book far more
 closely, I've come to the conclusion that it's nowehere near as bad 
 as I thought. I've asked Amazon to remove the review and should 
 probably get Waterstones to do the same.
 
 Don't get me wrong - it's not a good book by any means, it's just not
 _as_ bad as I originally said.
 
 Fair enough - I just fancied reading your review :=AC)

Well, it's still on the Waterstones site atm, but I'd appreciate it if
you could lose it.

It's part of a kind of deal that we struck. She agreed to listen to my
suggestions if I stopped slagging her off in public :)

My current target is "Open Source Linux Web Programming" by
Christopher Jones and Crew Batchelor. You can see my review of _that_
at http://www.amazon.com/exec/obidos/ASIN/0764546198/. I've been
exchanging emails with one of the authors, who has already admitted
that they don't really "get" Perl and were far more interested in the
Java chapters later on.

Dave...



Re: Pointless, Badly-Written Module.

2001-03-22 Thread Dave Cross

At Thu, 22 Mar 2001 17:56:16 +0100, Philip Newton [EMAIL PROTECTED] 
wrote:
 Robin Houston wrote:
use POSIX 'strftime';
print "The date is ", strftime("%m-%d-%y", localtime()), "\n";
 
 Or, for those who want to type even less, strftime accepts a '%D' 
 format specifier on at least some platforms, which does %m/%d/%y for 
 you (which is probably used more widely than %m-%d-%y, anyway). From 
 `man strftime` on penderel:
 
%D Equivalent  to  %m/%d/%y.  (Yecch  -  for Americans
   only.  Americans should note that  in  other  coun­
   tries %d/%m/%y is rather common. This means that in
   international context this format is ambiguous  and
   should not be used.) (SU)
 
 (SU) appears to mean that this comes from the Single Unix standard.

I'm guessing that the author of Date::MMDDYY went for dashes rather
than slashes because the string was going to be used in a filename.

I emailed the author today with a list of his errors. I pointed out 
that I was doing him a favour as he was becoming the laughing stock of 
the Perl community. I forgot to mention that it was me who brought the
module to the attention of the Perl community :x

Dave...
[who, on reflection, may be getting a bit _too_ bitchy]



Re: ISO8601 [was] Re: Pointless, Badly-Written Module.

2001-03-22 Thread Philip Newton

Redvers Davies wrote:
 and if you don't have a last name???
 
 I have three friends who are surnameless... their credit 
 cards have a "." as a surname because the bank computers
 couldn't handle a lack of surname.

An example from the Perl world: Gurusamy Sarathy. His name is Sarathy, and
Gurusamy is his father's name. If he wanted to be complete, he could add
another couple of ancestors in the male line at the beginning:

 ... Srinivasan Venkatasamy Rangasamy Sinnappa Gurusamy Sarathy Naicker

(from a canned FAQ he sent me in response to a question).

If he had a child, it would be called Sarathy Foo.

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: Pointless, Badly-Written Module.

2001-03-22 Thread David Cantrell

On Thu, Mar 22, 2001 at 05:51:40PM +0100, Philip Newton wrote:
 Simon Wilcox wrote:
  Or even better YY-MM-DD which avoids cross-pond confusion.
 
 Oh yeah? Which year, month, and day are represented by the combination
 02-03-04? Depends on the side of the pond, and on which pond (MM-DD-YY in
 US, DD-MM-YY in UK, possibly YY-MM-DD in Japan).

Which is why I like to use [punctuation]MM[punc]DD.  That avoids all
confusion about which is the year, and seeing that no-one uses /DD/MM
it also means there can be no confusion about the day or month.  It also
helps that I document it - every date entry field or date display has
text nearby telling you the format.

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david

   The voices said it's a good day to clean my weapons.



Re: Pointless, Badly-Written Module.

2001-03-22 Thread Simon Wilcox

At 17:51 22/03/2001 +0100, Philip Newton wrote:
Simon Wilcox wrote:
  Or even better YY-MM-DD which avoids cross-pond confusion.

Oh yeah? Which year, month, and day are represented by the combination
02-03-04? Depends on the side of the pond, and on which pond (MM-DD-YY in
US, DD-MM-YY in UK, possibly YY-MM-DD in Japan).

I admit I suffered from speedy-reply syndrome. A moments more thought and I 
would probably have recognized the need for a 4-digit year.

But at least I learned about ISO8601 :-)

Simon.

-- 
"The avalanche has started, it is too late for the pebbles to vote."
  Ambassador Kosh, B5




RE: That book

2001-03-22 Thread Clarke, Darren
Title: RE: That book





Dave wrote:
Well, it's still on the Waterstones site atm, but I'd appreciate it if
you could lose it.


It's part of a kind of deal that we struck. She agreed to listen to my
suggestions if I stopped slagging her off in public :)


My current target is Open Source Linux Web Programming by
Christopher Jones and Crew Batchelor. You can see my review of _that_
at http://www.amazon.com/exec/obidos/ASIN/0764546198/. I've been
exchanging emails with one of the authors, who has already admitted
that they don't really get Perl and were far more interested in the
Java chapters later on.


Your review has now been removed from Waterstones. I just wish the Waterstone's recommended list was as easy to manipulate :¬P

Nice review by the way...when I write my life story I think I shall have to get you to check it first - it may be scarily inaccurate!

Darren Clarke
Neophyte


[EMAIL PROTECTED]


'Dave told me to do it'





Re: Pointless, Badly-Written Module.

2001-03-22 Thread David Cantrell

On Thu, Mar 22, 2001 at 12:05:11PM -0500, Dave Cross wrote:

 I'm guessing that the author of Date::MMDDYY went for dashes rather
 than slashes because the string was going to be used in a filename.

I never had a problem with it using dashes, just with everything else.

 I emailed the author today with a list of his errors. I pointed out 
 that I was doing him a favour as he was becoming the laughing stock of 
 the Perl community. I forgot to mention that it was me who brought the
 module to the attention of the Perl community :x
 
 Dave...
 [who, on reflection, may be getting a bit _too_ bitchy]

Naah.  You're doing him a favour.  You're trying to help him. cough

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david

   The voices said it's a good day to clean my weapons.



Re: Matt's Scripts Projects

2001-03-22 Thread Philip Newton

Robin Szemeti wrote:
 On Tue, 20 Mar 2001, you wrote:
 
  BTW - I've just had some fun trying to uncompress a .zip 
  file on Linux!  tar gzip and gunzip don't seem to want to
  know. Guess that makes me a luser!
 
 you need the  unzip(1)

Which, according to its home page at
http://www.info-zip.org/pub/infozip/UnZip.html , is "the third most portable
program in the world".

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: Matt's Scripts Projects

2001-03-22 Thread Dominic Mitchell

On Thu, Mar 22, 2001 at 06:19:27PM +0100, Philip Newton wrote:
 Robin Szemeti wrote:
  On Tue, 20 Mar 2001, you wrote:
  
   BTW - I've just had some fun trying to uncompress a .zip 
   file on Linux!  tar gzip and gunzip don't seem to want to
   know. Guess that makes me a luser!
  
  you need the  unzip(1)
 
 Which, according to its home page at
 http://www.info-zip.org/pub/infozip/UnZip.html , is "the third most portable
 program in the world".

Probably after kermit and "hello world".  :-)

-Dom



Re: Matt's Scripts Projects

2001-03-22 Thread Dominic Mitchell

On Thu, Mar 22, 2001 at 06:27:51PM +0100, Philip Newton wrote:
 Dominic Mitchell wrote:
  On Thu, Mar 22, 2001 at 06:19:27PM +0100, Philip Newton wrote:
  [unzip]
 
   Which, according to its home page at
   http://www.info-zip.org/pub/infozip/UnZip.html , is "the 
   third most portable program in the world".
  
  Probably after kermit and "hello world".  :-)
 
 You read the web page, didn't you.

Nope, just guessing, based upon years of spending too much time staring
at source code.  *sigh*.  Must remember to get a life one of these
days...

-Dom



Re: That book

2001-03-22 Thread Leon Brocard

Robin Szemeti sent the following bits through the ether:

 bet he got his mate to write it :)

I noticed that. For a moment I thought it was a rigged review by the
author / his friend / the publisher. But we know that respectable
publishers don't do that kind of thing, right?

Leon
-- 
Leon Brocard.http://www.astray.com/
yapc::Europehttp://yapc.org/Europe/

... Money is the root of all wealth



Re: That book

2001-03-22 Thread Robin Szemeti

On Thu, 22 Mar 2001, you wrote:
 Robin Szemeti sent the following bits through the ether:
 
  bet he got his mate to write it :)
 
 I noticed that. For a moment I thought it was a rigged review by the
 author / his friend / the publisher. But we know that respectable
 publishers don't do that kind of thing, right?

.. what made it even more noticeable was that most reviews are one
paragraph of passing comments in a fairly informal style  that one is
around 2000 words, with chapter numbers and everything ... you'd think
they'd be more subtle :)

-- 
Robin Szemeti

The box said "requires windows 95 or better"
So I installed Linux!



Re: Debian question ...

2001-03-22 Thread Simon Cozens

On Thu, Mar 22, 2001 at 01:43:28PM +, David Cantrell wrote:
 is there an easy way of getting a list of all the packages which are
 currently installed?  I dislike dselect intensely, and the docs for
 dpkg et al don't say anything useful.

dpkg -l

-- 
"Life sucks, but it's better than the alternative."
-- Peter da Silva



Re: Perl Training Courses

2001-03-22 Thread Simon Cozens

On Thu, Mar 22, 2001 at 12:03:02PM +, Robin Szemeti wrote:
 But debugging tools can be very very good .. If anyone has used the Borland
 Turbo Debugger for C / C++ you'll know what I mean . even the old DOS
 version is just plain brilliant .. step around code, change registers, place
 watches on variables, set conditional break points ... I really wish I had a
 similar tool for Perl .. and although perl -d is great its not as good as
 something like Borland TurboDebugger.

Hrrm, yes, *BUT*... C and Perl are very different languages. 

I use gdb, and I think it's great. Debugging C with lots of print statements
is a pain; mainly, though, because you have to recompile each time and it's
time-consuming. (On the other hand, when it comes to debugging shared
libraries and XS code, I'll still take printf over gdb any day - it's just far
more convenient) 

Perl, on the other hand, is really quick to edit and it doesn't need a lengthy
compilation phase. I don't think I've ever used perl -d, to be honest, and I
don't think I'd use a whizzy graphical debugger. (I tried using ddd for Perl,
but didn't really like it.) 

But on the gripping hand, I suppose I make less mistakes in Perl than I do in
C. :)

-- 
A year spent in artificial intelligence is enough to make one believe in God.



Re: That book

2001-03-22 Thread Dave Cross

At 19:01 22/03/2001, you wrote:
On Thu, Mar 22, 2001 at 06:25:40PM +, Leon Brocard wrote:
  But we know that respectable publishers don't do that kind of thing, right?
^^
I don't understand.

I think you'll find in it the dictionary as the definition of "oxymoron".

Dave...



-- 
http://www.dave.org.uk  SMS: [EMAIL PROTECTED]

plugData Munging with Perl http://www.manning.com/cross//plug




London.pm List Weekly Summary 2001-03-19

2001-03-22 Thread Leon Brocard

This is the ninth of hopefully many weekly summaries of the Earth, UK,
London, Perl Mongers mailing list. For the week starting 2001-03-19:

Don't forget the London.pm website for meetings etc. The next meeting
is on Thursday 5th April:
http://london.pm.org/

Cozens, Simon misparsed a phrase from the previous summary: "a picture
of him drinking a beer from the London.pm website", which implied a
Content-type header of either matter-transport/beer-stream or
beer/guinness:
http://www.illuminated.co.uk/humour/Beer.html
http://www.cis.ohio-state.edu/htbin/rfc/rfc1437.html

Cantrell, David wondered if the number of logins on a workstation per
hour should be modelled with a Poisson distribution. We didn't know,
but it was pretty:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg02956.html

Duncan, James asked if LWP::Simple supported the un:pw@url URL
convention for basic authentication. It does, even though there's no
standard:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg02972.html

There was some talk of the Matt's Scripts rewrite project. People
seemed to forget how simple the scripts had to be to install:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03012.html

Ford, Neil forwarded a post from the London Macintosh User Group: an
Apple UK person will be demoing MacOS X at their next meeting, and
they may even be giving away a copy:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03039.html
http://www.lmug.org.uk/
http://www.apple.com/macosx/

By far the most amusing thread this week was Cross, Dave pointing out
the pointless, badly-written Date-MMDDYY module on CPAN, clearly
pointing to a need for kwalitee control on CPAN. It should obviously be
-MM-DD, which is ISO standard 8601 instead (if you ignore the Y10K
problem for now). Peterson, Jonathan took this slightly futher and
suggested we move to "LASTNAME, FIRSTNAME" and "ISO planet code, ISO
country code, POSTCODE, Building Number[, apartment number][, business
name]". Bowman, Andrew explained Jewish, Irish, and Icelandic naming:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03045.html
http://search.cpan.org/search?dist=Date-MMDDYY
http://www.saqqara.demon.co.uk/datefmt.htm
ftp://ftp.qsl.net/pub/g1smd/8601v03.pdf
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03097.html
http://www.columbia.edu/kermit/postal.html
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03119.html

Fowler, Mark asked about Perl training courses in the UK (apart from
Learning Tree). Lots of discussion followed about what exactly is
required: good programming practices, CPAN, OO, debugging (see ptkdb).
celia delurked. Torkington, Nathan pointed that the London Open Source
Covention will have Perl tutorials [and that organising a conference
isn't easy - well duh, we knew that ;-],. Looks like Iterative and
NetThink (contact Cozens, Simon) might be organising some training:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03112.html

And finally, it appears that Schwern, Michael is an Alien Drag Queen:
http://www.mail-archive.com/london-pm%40lists.dircon.co.uk/msg03105.html
http://us.imdb.com/Title?0103645

Leon
-- 
Leon Brocard.http://www.astray.com/
yapc::Europehttp://yapc.org/Europe/

... Wayne Campbell: Exsqueeze me? A baking-powder?