[25006] in Perl-Users-Digest
Perl-Users Digest, Issue: 7256 Volume: 10
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Fri Oct 15 11:12:09 2004
Date: Fri, 15 Oct 2004 08:10:12 -0700 (PDT)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)
Perl-Users Digest Fri, 15 Oct 2004 Volume: 10 Number: 7256
Today's topics:
Re: Top 10 list algorithm <shawn.corey@sympatico.ca>
Re: Top posting (was Re: Concatenating an array into on <HelgiBriem_1@hotmail.com>
Re: Top posting (was Re: Concatenating an array into on <bik.mido@tiscalinet.it>
Re: Top posting (was Re: Concatenating an array into on <bik.mido@tiscalinet.it>
Re: Top posting (was Re: Concatenating an array into on <bik.mido@tiscalinet.it>
Re: Top posting (was Re: Concatenating an array into on <koos@no.spam>
Re: Top posting (was Re: Concatenating an array into on (Anno Siegel)
Re: Top posting (was Re: Concatenating an array into on <shawn.corey@sympatico.ca>
Re: Top posting (was Re: Concatenating an array into on <shawn.corey@sympatico.ca>
Re: Top posting (was Re: Concatenating an array into on <shawn.corey@sympatico.ca>
Re: Top posting (was Re: Concatenating an array into on <HelgiBriem_1@hotmail.com>
Re: Top posting (was Re: Concatenating an array into on <sbryce@scottbryce.com>
Re: Unlink Question <mritty@gmail.com>
Re: use CGI question <mritty@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 15 Oct 2004 09:26:25 -0400
From: Shawn Corey <shawn.corey@sympatico.ca>
Subject: Re: Top 10 list algorithm
Message-Id: <LcQbd.52328$3C6.1996988@news20.bellglobal.com>
> Which documentation?
perldoc -f splice
--- Shawn
------------------------------
Date: Fri, 15 Oct 2004 10:17:16 +0000
From: Helgi Briem <HelgiBriem_1@hotmail.com>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <kq8vm0he6mg66svaejueca4k3q6uti6smi@4ax.com>
On 14 Oct 2004 21:46:10 GMT, Abigail <abigail@abigail.nl> wrote:
>As for topposters, most of themI throw in my killfile, one the
>first encounter of a toppost. And noone gets
>out of the killfile once in there.
Noone? Who's "noone"? And how did he get out of your
killfile? I thought no one got out of the killfile once in there.
Noone must know somethine no one else does. Bastard.
--
Helgi Briem hbriem AT simnet DOT is
"Don't worry about it, son. God is just messing with your head."
------------------------------
Date: Fri, 15 Oct 2004 13:20:13 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <dr6vm0t4vv8dvalcnskgmf4t82at7k5qsb@4ax.com>
On Thu, 14 Oct 2004 19:19:11 GMT, Charlton Wilbur
<cwilbur@mithril.chromatico.net> wrote:
>The problem with the viewpoint that says that everyone should do as he
>or she wishes is that the clueful regulars here (almost?) universally
>dislike top-posting. By top-posting, you mark yourself as a newbie;
>by persisting in top-posting, you mark yourself as an ass. Newbies
>get help; asses get killfiled.
Initial help possibly including the advice not to top post. The key
point is this: it *does* constitute help. OT but help to get on-topic
help.
Michele
--
{$_=pack'B8'x25,unpack'A8'x32,$a^=sub{pop^pop}->(map substr
(($a||=join'',map--$|x$_,(unpack'w',unpack'u','G^<R<Y]*YB='
.'KYU;*EVH[.FHF2W+#"\Z*5TI/ER<Z`S(G.DZZ9OX0Z')=~/./g)x2,$_,
256),7,249);s/[^\w,]/ /g;$ \=/^J/?$/:"\r";print,redo}#JAPH,
------------------------------
Date: Fri, 15 Oct 2004 13:20:16 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <4d7vm0hij6pintlnoa8h24u4317dk4khos@4ax.com>
On Thu, 14 Oct 2004 16:32:03 -0700, "Austin P. So (Hae Jin)"
<who@what.where> wrote:
>I really don't understand the fascist notion that things must be done a
>certain way in order to belong to the newsgroup community.
BULLSHIT! Don't abuse words you probably don't have the slightest
comprehension about.
But seriously this (Godwin's law) painting one's rhetorical
opponents as Nazis is an odious and verminous ploy normally used,
as here, to mask the intellectual bankruptcy of one's arguments.
- Robin Chapman in sci.math
(couldn't find better words to express about your idiotic cmt)
>Is it an ego thing? Is it a subconscious impression that people who
>top-post inherently are ignoring or dismissing what you write?
No, it's not! For, for one thing, they're not dismissing what you
write. On the contrary they're spreading all over *unnecessary* parts
of it.
It's just the desire (that can become an actual *need*, taking into
account traffic/time considerations) to keep communication
*efficient*.
>I'd really like an answer of why you all don't think top-posting is
>proper netiquette instead of just "well that's just the way it is...".
Because netiquette requires not to top-post. I can imagine rare
situations in which deliberately top-posting could be sensible. Most
of time it's just saving a tiny percent on the writer's part and
making potential readers waste a huge percent of their own
time/resources.
It's a matter of asking a question and deserving an answer, but
avoiding to take care of helping others to help us.
PS: just to make a little experiment, I'm posting this also in
top-posted version. Be honest: is it easiear to read?!?
Michele
--
Liberta' va cercando, ch'e' si' cara,
Come sa chi per lei vita rifiuta.
[Dante Alighieri, Purg. I, 71-72]
I am my own country - United States Confederate of Me!
[Pennywise, "My own country"]
------------------------------
Date: Fri, 15 Oct 2004 13:20:18 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <fs8vm0h96tbn4cj9hfmpe7jo4rulrv6qrm@4ax.com>
[Note: top-posted version, for illustrative purposes only!]
BULLSHIT! Don't abuse words you probably don't have the slightest
comprehension about.
But seriously this (Godwin's law) painting one's rhetorical
opponents as Nazis is an odious and verminous ploy normally used,
as here, to mask the intellectual bankruptcy of one's arguments.
- Robin Chapman in sci.math
(couldn't find better words to express about your idiotic cmt)
No, it's not! For, for one thing, they're not dismissing what you
write. On the contrary they're spreading all over *unnecessary* parts
of it.
It's just the desire (that can become an actual *need*, taking into
account traffic/time considerations) to keep communication
*efficient*.
Because netiquette requires not to top-post. I can imagine rare
situations in which deliberately top-posting could be sensible. Most
of time it's just saving a tiny percent on the writer's part and
making potential readers waste a huge percent of their own
time/resources.
It's a matter of asking a question and deserving an answer, but
avoiding to take care of helping others to help us.
PS: don't make yourself a dumbass by abusing a word like "fascist".
Michele
On Thu, 14 Oct 2004 16:32:03 -0700, "Austin P. So (Hae Jin)"
<who@what.where> wrote:
>
>Michele Dondi wrote:
>
>> I can't really think of any reasonable being thinking of top-posting
>> as convenient, but for anyone using (what I consider) a (broken)
>> client that quotes the whole message without distingushing marks[*].
>
>When the content of the top-post summarizes or introduces something that
>brings the thread or the responses into a more global context, then I
>don't see why it is wrong, particularly when a point by point discussion
>is not necessary.
>
>But the attitude of the posters here brings up another question:
>
>I really don't understand the fascist notion that things must be done a
>certain way in order to belong to the newsgroup community.
>
>In fact, I would have to say it is utterly ironic.
>
>Is it an ego thing? Is it a subconscious impression that people who
>top-post inherently are ignoring or dismissing what you write?
>
>What is it?
>
>I'd really like an answer of why you all don't think top-posting is
>proper netiquette instead of just "well that's just the way it is...".
>
>Austin
--
Se, nella notte in cui concepi' il duce,
Donna Rosa, toccata da divina luce,
avesse dato al fabbro predappiano
invece della fica il deretano,
l'avrebbe presa in culo quella sera
Rosa sola e non l'Italia intera.
- Poesia antifascista
------------------------------
Date: Fri, 15 Oct 2004 13:36:25 +0200
From: Koos Pol <koos@no.spam>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <newscache$wuim5i$pt2$1@news.emea.compuware.com>
Helgi Briem wrote (Friday 15 October 2004 12:17):
>>As for topposters, most of themI throw in my killfile, one the
>>first encounter of a toppost. And noone gets
>>out of the killfile once in there.
>
> Noone? Who's "noone"? And how did he get out of your
> killfile? I thought no one got out of the killfile once in
> there.
>
> Noone must know somethine no one else does. Bastard.
I'll bet he's the twit cousin of General Failure...
--
KP
43rd Law of Computing: "Anything that can go wr
fortune: Segmentation violation -- Core dumped
------------------------------
Date: 15 Oct 2004 11:49:59 GMT
From: anno4000@lublin.zrz.tu-berlin.de (Anno Siegel)
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <ckodh7$k06$3@mamenchi.zrz.TU-Berlin.DE>
Austin P. So (Hae Jin) <who@what.where> wrote in comp.lang.perl.misc:
> I really don't understand the fascist notion that things must be done a
> certain way in order to belong to the newsgroup community.
Some countries go so far as to force their hapless citizens by law
to drive on one paricular side of the road. Fascists! Bomb them,
I say.
Anno
------------------------------
Date: Fri, 15 Oct 2004 09:08:52 -0400
From: Shawn Corey <shawn.corey@sympatico.ca>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <hYPbd.52280$3C6.1987537@news20.bellglobal.com>
Scott Bryce wrote:
> I hope nobody expects that kind of response to be all top posted!
I don't. I never said top-posting is the *ONLY* way to post; I said to
be tolerant to those who do!
--- Shawn
------------------------------
Date: Fri, 15 Oct 2004 09:17:54 -0400
From: Shawn Corey <shawn.corey@sympatico.ca>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <M4Qbd.52300$3C6.1992567@news20.bellglobal.com>
Charlton Wilbur wrote:
> Actually, no, you missed Tad's point. He just added you to his killfile.
OK by me, he's already in my killfile.
> Part of "people being people" involves learning to conform to the
> social customs of the group you are trying to interact with, and one
> of the social customs of this group is that top-posting is
> unacceptable. Sure, you can wear cutoff jeans and a ratty T-shirt to
> work; if you do that, and your workplace has a social custom of
> wearing ties, you won't have a job for long. So it is with top-posting here.
Missing the point. I never said top-posting is the *ONLY* way to post; I
said to be tolerant to those who do. In case you haven't notice, most of
my posts to the group have been bottom-posted.
--- Shawn
------------------------------
Date: Fri, 15 Oct 2004 09:19:28 -0400
From: Shawn Corey <shawn.corey@sympatico.ca>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <e6Qbd.52314$3C6.1993463@news20.bellglobal.com>
A. Sinan Unur wrote:
> That is utter nonsense. Indeed, when I first installed ActivePerl on my
> Windows computer, I was not immediately aware of perldoc. On the other
> hand, it took no searching to find the "Documentation" link in the
> ActivePerl program group in my start menu. Clicking on that link gave me an
> html page with a complete table of contents.
Not everyone runs Activetsate.
--- Shawn
------------------------------
Date: Fri, 15 Oct 2004 14:00:36 +0000
From: Helgi Briem <HelgiBriem_1@hotmail.com>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <2llvm05gi18qm4aun57afcb6osgd4oo6ha@4ax.com>
On Fri, 15 Oct 2004 09:17:54 -0400, Shawn Corey
<shawn.corey@sympatico.ca> wrote:
>Charlton Wilbur wrote:
>> Actually, no, you missed Tad's point. He just added you to his killfile.
>
>OK by me, he's already in my killfile.
You stupid little man. He is probably the most knowledgable
poster to this newsgroup and certainly the most helpful.
You just cut yourself off from one of the best sources of Perl
information available. That's called "cutting off your nose
to spite your face".
>> Part of "people being people" involves learning to conform to the
>> social customs of the group you are trying to interact with, and one
>> of the social customs of this group is that top-posting is
>> unacceptable. Sure, you can wear cutoff jeans and a ratty T-shirt to
>> work; if you do that, and your workplace has a social custom of
>> wearing ties, you won't have a job for long. So it is with top-posting here.
>
>Missing the point. I never said top-posting is the *ONLY* way to post; I
>said to be tolerant to those who do. In case you haven't notice, most of
>my posts to the group have been bottom-posted.
Most of us tolerate top-posters once or twice. Those that refuse
to change their ways after a request or two are usually obnoxious
twits not worth bothering with.
--
Helgi Briem hbriem AT simnet DOT is
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and in e-mail?
------------------------------
Date: Fri, 15 Oct 2004 09:00:09 -0600
From: Scott Bryce <sbryce@scottbryce.com>
Subject: Re: Top posting (was Re: Concatenating an array into one string?)
Message-Id: <10mvpflci6btebe@corp.supernews.com>
Shawn Corey wrote:
> OK by me, he's already in my killfile.
With Tad on your killfile, there isn't much point in participating here.
------------------------------
Date: Fri, 15 Oct 2004 12:05:52 GMT
From: "Paul Lalli" <mritty@gmail.com>
Subject: Re: Unlink Question
Message-Id: <A2Pbd.361$gf3.242@trndny08>
[Please do not top-post - that means please post your reply *below* what
you are replying to.]
"Scott Hoffman" <scottshane@earthlink.net> wrote in message
news:BD941F9A.2241%scottshane@earthlink.net...
> Thanks Paul --
> OK I checked out the perldoc. Found that I needed
> "Content-type: text/html\n\n";
>
> I executed it from the Terminal - work fine
>
> Back to the browser - No error but no results either
Define 'no results'. What is displayed in the browser? What is
displayed in your server's error log?
> Changed the Permissions to from 755 to 777 (I know, I know)
No, I don't think you do know. This will not help, it will hinder.
Most webservers I know will refuse to execute any script with world- or
group-writable permissions.
> As the previous post indicated a possible permissions issue but still
no
> results.
Again, define "no results".
> This is the exact script that I ran through perl with success::
>
> #!/usr/bin/perl
> print "Content-type: text/html\n\n";
>
> $dir = "/Library/Webserver/Documents/unlink_text" ;
>
> opendir (DIR, "$dir/");
Always, yes *always*, check the return value of open:
open DIR, $dir or die "Cannot open directory $dir: $!";
(as a side note - to whomever I keep stealing that line from, please
accept my apologies, in the manner of "Imitation is the sincerest form
of flattery"...)
> @FILES = grep(/.txt/,readdir(DIR));
> closedir (DIR);
>
> ## Changed this part so that I could get immediate results
>
> foreach $FILES (@FILES) {
> if (-e "$dir/$FILES") {
> unlink("$dir/$FILES");
Again, check the return value of this system call:
unlink ("$dir/$FILES) or warn "Warning: Cannot delete $dir/$FILES: $!";
> }
> }
If checking the server's error logs is troublesome for you, consider
adding these lines below the shebang:
use CGI::Carp qw/fatalsToBrowser warningsToBrowser/;
warningsToBrowser(1);
That will cause all warnings and errors to be displayed in your browser
window in addition to the server's error logs. (Warnings show up as
HTML comments, so you'll have to view source).
Paul Lalli
------------------------------
Date: Fri, 15 Oct 2004 12:07:16 GMT
From: "Paul Lalli" <mritty@gmail.com>
Subject: Re: use CGI question
Message-Id: <U3Pbd.2047$Nj1.1802@trndny04>
"Charles DeRykus" <ced@bcstec.ca.boeing.com> wrote in message
news:I5M2tz.26L@news.boeing.com...
> In article <1097802765.32067@nntp.acecape.com>,
> daniel kaplan <nospam@nospam.com> wrote:
> >there is a way to say use CGI ----
> >
> >where the --- makes all errros/dies go to the browser...i cnat find
it in my
> >book tho....
> >
>
> use CGI::Carp qw(fatalsToBrowser warningsToBrowser);
An extra line is needed to activate the warnings here...
warningsToBrowser(1);
Paul Lalli
------------------------------
Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin)
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>
Administrivia:
#The Perl-Users Digest is a retransmission of the USENET newsgroup
#comp.lang.perl.misc. For subscription or unsubscription requests, send
#the single line:
#
# subscribe perl-users
#or:
# unsubscribe perl-users
#
#to almanac@ruby.oce.orst.edu.
NOTE: due to the current flood of worm email banging on ruby, the smtp
server on ruby has been shut off until further notice.
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
#To request back copies (available for a week or so), send your request
#to almanac@ruby.oce.orst.edu with the command "send perl-users x.y",
#where x is the volume number and y is the issue number.
#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.
------------------------------
End of Perl-Users Digest V10 Issue 7256
***************************************