[29716] in Perl-Users-Digest
Perl-Users Digest, Issue: 960 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Oct 21 09:09:44 2007
Date: Sun, 21 Oct 2007 06:09:09 -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 Sun, 21 Oct 2007 Volume: 11 Number: 960
Today's topics:
Re: a nice little perl utility <bik.mido@tiscalinet.it>
Re: ACM SIGAPL / APL2007 Conference / Montreal / one we <gosinn@gmail.com>
Re: ACM SIGAPL / APL2007 Conference / Montreal / one we <zaxfuuq@invalid.net>
Re: ACM SIGAPL / APL2007 Conference / Montreal / one we <veli-matti.jantunen@netsonic.fi>
Re: ACM SIGAPL / APL2007 Conference / Montreal / one we <zaxfuuq@invalid.net>
Re: cgi_bin <nick@maproom.co.uk>
Re: cgi_bin <tadmc@seesig.invalid>
Re: Distributed RVS, Darcs, tech love (Timofei Shatrov)
Re: how to capture exit value via pipe <joe@inwap.com>
howto Date Time string from MYSQL to German Format sanitarysystems@googlemail.com
Re: howto Date Time string from MYSQL to German Format <zaxfuuq@invalid.net>
Re: howto Date Time string from MYSQL to German Format <paduille.4061.mumia.w+nospam@earthlink.net>
More friends more money,get friends while get paid <cenrenpost@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Sun, 21 Oct 2007 14:19:28 +0200
From: Michele Dondi <bik.mido@tiscalinet.it>
Subject: Re: a nice little perl utility
Message-Id: <utgmh390k3qkodv92fdffpa1d99d4lhiha@4ax.com>
On Sat, 20 Oct 2007 23:23:36 -0700, "Wade Ward" <zaxfuuq@invalid.net>
wrote:
>final version of this script for today:
^^^^^^^^^
^^^^^^^^^ :|
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: Sun, 21 Oct 2007 08:22:29 -0000
From: Gosi <gosinn@gmail.com>
Subject: Re: ACM SIGAPL / APL2007 Conference / Montreal / one week away
Message-Id: <1192954949.817248.242120@y27g2000pre.googlegroups.com>
On Oct 20, 10:46 pm, rbe <berne...@gmail.com> wrote:
> On Oct 15, 5:22 am, Mike Kent <mk...@acm.org> wrote:
>
> > Conference page
> > // with links to program details //
> > (updated Friday 10/12)
>
> > http://www.sigapl.org/apl2007.html...
>
> At APL2007, I'll be announcing the release of the APEX APL compiler,
> version 0.0.0, under GPL Version 2.
> If you can't wait until then, you can download it for Dyalog Linux atwww.snakeisland.com.
>
> Bob
Congratulations on your compiler.
I looked through your pages and came across this
"[This article originally appeared in the ACM SIGAPL Quote Quad, vol.
21, no.1, September 1990.]
The APL character set has contributed, more than any other facet of
the language, to its lack of acceptance in the computing community at
large. The character set is a metaproblem -- not a problem in and of
itself, but a creator of other recurring problems of hardware,
software, ergonomics, and psychology. The adoption of new, ASCII-base
dialects of APL, such as J, is suggested as one solution to the
character set problem. "
This is also the reason for why I will not be downloading your new
compiler until there will be a J version of it, something I hope will
be coming soon.
I can not use the APL character set at all.
It is too mixed up with my national characters.
------------------------------
Date: Sun, 21 Oct 2007 03:35:20 -0700
From: "Wade Ward" <zaxfuuq@invalid.net>
Subject: Re: ACM SIGAPL / APL2007 Conference / Montreal / one week away
Message-Id: <qZmdnc2hJ8vOgIbanZ2dnUVZ_s6mnZ2d@comcast.com>
"Gosi" <gosinn@gmail.com> wrote in message
news:1192954949.817248.242120@y27g2000pre.googlegroups.com...
> On Oct 20, 10:46 pm, rbe <berne...@gmail.com> wrote:
>> On Oct 15, 5:22 am, Mike Kent <mk...@acm.org> wrote:
>>
>> > Conference page
>> > // with links to program details //
>> > (updated Friday 10/12)
>>
>> > http://www.sigapl.org/apl2007.html...
>>
>> At APL2007, I'll be announcing the release of the APEX APL compiler,
>> version 0.0.0, under GPL Version 2.
>> If you can't wait until then, you can download it for Dyalog Linux
>> atwww.snakeisland.com.
>>
>> Bob
>
> Congratulations on your compiler.
>
> I looked through your pages and came across this
>
> "[This article originally appeared in the ACM SIGAPL Quote Quad, vol.
> 21, no.1, September 1990.]
>
> The APL character set has contributed, more than any other facet of
> the language, to its lack of acceptance in the computing community at
> large. The character set is a metaproblem -- not a problem in and of
> itself, but a creator of other recurring problems of hardware,
> software, ergonomics, and psychology. The adoption of new, ASCII-base
> dialects of APL, such as J, is suggested as one solution to the
> character set problem. "
>
> This is also the reason for why I will not be downloading your new
> compiler until there will be a J version of it, something I hope will
> be coming soon.
>
> I can not use the APL character set at all.
> It is too mixed up with my national characters.
>
witch ones?
--
wade ward
wade@zaxfuuq.net
"Der Katze tritt die Treppe hoch; Der Kater tritt sie krumm.%
% De Teufel geit um; er bringt de menschen allet dumm."
schau, schau
------------------------------
Date: Sun, 21 Oct 2007 13:50:15 +0300
From: Veli-Matti <veli-matti.jantunen@netsonic.fi>
Subject: Re: ACM SIGAPL / APL2007 Conference / Montreal / one week away
Message-Id: <471b2ef9$0$5050$39db0f71@news.song.fi>
Gosi wrote:
..
> I can not use the APL character set at all.
> It is too mixed up with my national characters.
What about a unicode version of APL?
Honestly, I cannot use J because it mixes with all
the characters I use... ;)
-Veli-Matti
------------------------------
Date: Sun, 21 Oct 2007 05:01:45 -0700
From: "Wade Ward" <zaxfuuq@invalid.net>
Subject: Re: ACM SIGAPL / APL2007 Conference / Montreal / one week away
Message-Id: <X5idnQl3aPoIrIbanZ2dnUVZ_oSnnZ2d@comcast.com>
"Veli-Matti" <veli-matti.jantunen@netsonic.fi> wrote in message
news:471b2ef9$0$5050$39db0f71@news.song.fi...
> Gosi wrote:
> ..
>> I can not use the APL character set at all.
>> It is too mixed up with my national characters.
>
> What about a unicode version of APL?
>
> Honestly, I cannot use J because it mixes with all
> the characters I use... ;)
> -Veli-Matti
what the fuck ever.
Re:Attention, Sir/Madam
This Is To Officially Inform You That We Have Verified Your
ontract/Inheritance
File And Discovered Reasons Why You Are Yet To Receive Your Payment. It Is
Because Of Irregularities And Complications Discovered On Your Payment File
By
Our Technical Experts In Respect To Your Contract /Inheritance Payment
Requirements Which Have Just Been Duly Rectified.
Meanwhile, We Have Been Informed That You Are Still Dealing With Impostors
And
Non Recommended Officials In The Bank. Such Acts Must Stop For
Security Reasons
If You Wish To receive Your Payment.
Since We Have Decided To Bring A Solution To Your Problem, Right Now We Have
Arranged Your Payment Through Our ATM Swift Card Payment Center OCEANIC BANK
INTERNATIONAL PLC ( Under Reserve Bank Operation Act 2005 ), That Is
The Latest
Instruction By Our President Chief,Umaru Musa Yar Adua (GCFR) Federal
Republic
Of Nigeria. Below Is The Arrangements ;...
You are advised to contact our accredited payment office via the contact
information provided below for immediate payment to you.
Dr James Smith.
Oceanic Bank International Plc.
802 Ozumba Mbadiwe Close, Lagos, NIGERIA.
Direct Phone number: +234-802-712-7674
Email: info_atmpaymentcenter@mybestmail.com
The Swift card Center Will Send You An ATM Card Which You Will Use To
Withdrew
Your Money From Any ATM Machine In Any Part Of The World, But The Maximum Is
Six Thousand Dollars Per Day, So If You Like To Receive Your Fund This Way
Please Do Let Us Know By getting back to us ASAP with this
information's stated below:
1) Your full name.
2) Phone, fax and mobile #.
3) Profession, age and marital status.
4) Copy of Drivers License I .D.
5) Amount of fund that you are expecting
6) Address Where You Want Them To Send The Card Through Diplomatic Courier
Please Indicate To The Card Center The Total Sum You Are Expecting And
For Your
Information You Have To Stop Any Further Communication With Any Institution
Or
Office Until You Receive The ATM Card.
Note: Because of Impostors, We Hereby Issue You Our Code of Conduct Tag
Number
Which Is(805) So You Must Have To Indicate This Code When Contacting The
Card
Center.We Await Your Urgent Response.
Mr. Anthony Eke
Special Adviser To The President
Federal Republic Of Nigeria
Phone +234-703-096-5403
f'up set.
--
wade ward
wade@zaxfuuq.net
"Der Katze tritt die Treppe hoch; Der Kater tritt sie krumm.%
% De Teufel geit um; er bringt der menschen allet dummer."
schau, schauer
------------------------------
Date: Sun, 21 Oct 2007 10:21:09 +0100
From: Nick Wedd <nick@maproom.co.uk>
Subject: Re: cgi_bin
Message-Id: <FTIb$wuFoxGHFA3J@maproom.demon.co.uk>
In message <olhlh3dpeb15trpq9bc1m14j3k308cktbt@4ax.com>, still me
<wheeledBob@yahoo.com> writes
>On Sat, 20 Oct 2007 12:36:25 GMT, "Jürgen Exner"
><jurgenex@hotmail.com> wrote:
>
>>This is a question about which webserver you are using, how it is
>>configured, and best practices for structuring web sites.
>>It has nothing to do with Perl and you may get much better responses asking
>>a NG that actually deals with web servers and web sites.
>
>Or, more directly, if you can put cgi programs in any directory on
>your web server and they execute, the web server is very poorly
>configured.
They don't execute if I just put them there - I have to chmod them to
assign execute rights.
> I'd have serious questions about the abilities of the
>people running the web server. In addition, There are also a lot of
>aspects of having executable programs running from only one directory
>that you can use to your advantage in laying out your web site (that
>go away in a loose structure).
Obviously I have the ability to keep all my executables in one directory
if I want to - but I don't see how this helps. Can you explain?
Nick
--
Nick Wedd nick@maproom.co.uk
------------------------------
Date: Sun, 21 Oct 2007 11:46:24 GMT
From: Tad McClellan <tadmc@seesig.invalid>
Subject: Re: cgi_bin
Message-Id: <slrnfhmepu.p8l.tadmc@tadmc30.sbcglobal.net>
Nick Wedd <nick@maproom.co.uk> wrote:
> In message <olhlh3dpeb15trpq9bc1m14j3k308cktbt@4ax.com>, still me
><wheeledBob@yahoo.com> writes
>>On Sat, 20 Oct 2007 12:36:25 GMT, "Jürgen Exner"
>><jurgenex@hotmail.com> wrote:
>>
>>>This is a question about which webserver you are using, how it is
>>>configured, and best practices for structuring web sites.
Note that this newsgroup is for discussing the Perl programming language.
> Obviously I have the ability to keep all my executables in one directory
> if I want to - but I don't see how this helps. Can you explain?
Please ask questions about web server configuration in a newsgroup
that has some connection with web servers.
--
Tad McClellan
email: perl -le "print scalar reverse qq/moc.noitatibaher\100cmdat/"
------------------------------
Date: Sun, 21 Oct 2007 07:34:43 GMT
From: grue@mail.ru (Timofei Shatrov)
Subject: Re: Distributed RVS, Darcs, tech love
Message-Id: <471afd4c.179297746@news.readfreenews.net>
On Sat, 20 Oct 2007 14:04:06 -0700, llothar <llothar@web.de> tried to confuse
everyone with this message:
>
>> I love math. I respect Math. I'm nothing but a menial servant to
>> Mathematics.
>
>Programming and use cases are not maths. Many mathematics are
>the worst programmers i've seen because they want to solve things and
>much more often you just need heuristics. Once they are into exact
>world they loose there capability to see the factor of relevance in
>algorithms.
>
>And they almost never match the mental model that the average
>user has about a problem.
I'm, not sure that I'm getting your point, but are you trying to argue that
_not_ knowing mathemathics makes you a better programmer? Or maybe that learning
math is useless to a programmer? This must be the most ignorant post I've seen
this week. The *best* programmers I've seen actually had mathematic education.
The programmers who don't know math are the ones who end up on DailyWTF.
--
|Don't believe this - you're not worthless ,gr---------.ru
|It's us against millions and we can't take them all... | ue il |
|But we can take them on! | @ma |
| (A Wilhelm Scream - The Rip) |______________|
------------------------------
Date: Sun, 21 Oct 2007 04:32:06 -0700
From: Joe Smith <joe@inwap.com>
Subject: Re: how to capture exit value via pipe
Message-Id: <oaGdnQa16ZEopYbanZ2dnUVZ_jWdnZ2d@comcast.com>
ku916 wrote:
> but the problem I'm having now is that when the parent command itself
> errors out how can perl_filter.pl catch the exit value ($?) viva pipe
> like:
>> sqlpus user/wrong_password @somesql.sql | perl_filter.pl
>
> since there is no program called sqlpus, it will return non-zero exit
> value, but perl_filter.pl would not detect any stdout keyword and it
> will just exit and return success (zero) value.
Q: In your statement, "since there is no program called sqlpus, it will
return non-zero", what is "it"?
A: "It" is the process that built the pipe that was supposed to connect
the two processes together. In many cases, "it" is /bin/sh.
Also, your first sentence talks about a "parent command", but the example
shows a "preceding command". The parent is what builds the pipe. It
then forks two child processes. The first one is told to run 'sqlplus',
but fails. The parent gets informed that the first child process aborted,
and most likely does not even start 'perl_filter.pl' at all.
If you want to detect this situation, then your program has to be
the parent; it has to put the parts of the pipe together and check
the status.
I wanted to make sure you were clear on this concept before continuing.
You could modify perl_filter.pl so that creates the pipe with sqlplus
and reads from that pipe instead of reading from STDIN. That way you
could properly detect when the sqlplus command doesn't even get started.
-Joe
------------------------------
Date: Sun, 21 Oct 2007 03:58:13 -0700
From: sanitarysystems@googlemail.com
Subject: howto Date Time string from MYSQL to German Format
Message-Id: <1192964293.523500.112660@y27g2000pre.googlegroups.com>
I want to format DateTime string which looks like "2007-10-12
14:00:00" to German Format like "Montag, den 12. Oktober 2007"
This code (1) does not work:
$german_date = ParseDate('2007-10-12 14:00:00');
printf ("Minverbraucht : %s\n",Date_to_Text_Long($german_date));
this code (2) works, because @anliefertag is already formatted as
DateTime:
printf ("Anliefertag : %s\n",Date_to_Text_Long(@anliefertag))
any solutions from you how to format dateTime in example (1)?
tnx in advance
thomas
------------------------------
Date: Sun, 21 Oct 2007 06:31:06 -0700
From: "Wade Ward" <zaxfuuq@invalid.net>
Subject: Re: howto Date Time string from MYSQL to German Format
Message-Id: <-fKdnZ0CoOgb24banZ2dnUVZ_qGknZ2d@comcast.com>
youbetcha.
it's 2007-10-21 at half seven bells.
when you include this module, do it correctly:
use strict;
use warnings;
use Net::NNTP ();
Shooting for the azimuth is different. You go for m*pi s.t. (m+1).times.
pi>target
angstroms are appropriate units. hja.
--
wade ward
wade@zaxfuuq.net
"Der Katze tritt die Treppe hoch; Der Kater tritt sie krumm.%
% De Teufel geit um; er bringt de menschen allet dumm."
schau, schau
<sanitarysystems@googlemail.com> wrote in message
news:1192964293.523500.112660@y27g2000pre.googlegroups.com...
>I want to format DateTime string which looks like "2007-10-12
> 14:00:00" to German Format like "Montag, den 12. Oktober 2007"
>
> This code (1) does not work:
> $german_date = ParseDate('2007-10-12 14:00:00');
> printf ("Minverbraucht : %s\n",Date_to_Text_Long($german_date));
>
> this code (2) works, because @anliefertag is already formatted as
> DateTime:
> printf ("Anliefertag : %s\n",Date_to_Text_Long(@anliefertag))
>
> any solutions from you how to format dateTime in example (1)?
>
> tnx in advance
> thomas
>
------------------------------
Date: Sun, 21 Oct 2007 07:54:54 -0500
From: "Mumia W." <paduille.4061.mumia.w+nospam@earthlink.net>
Subject: Re: howto Date Time string from MYSQL to German Format
Message-Id: <13hmj9bqh7obb5f@corp.supernews.com>
On 10/21/2007 05:58 AM, sanitarysystems@googlemail.com wrote:
> I want to format DateTime string which looks like "2007-10-12
> 14:00:00" to German Format like "Montag, den 12. Oktober 2007"
>
> This code (1) does not work:
> $german_date = ParseDate('2007-10-12 14:00:00');
> printf ("Minverbraucht : %s\n",Date_to_Text_Long($german_date));
>
> this code (2) works, because @anliefertag is already formatted as
> DateTime:
> printf ("Anliefertag : %s\n",Date_to_Text_Long(@anliefertag))
>
> any solutions from you how to format dateTime in example (1)?
>
> tnx in advance
> thomas
>
use strict;
use warnings;
require Date::Parse;
require Date::Language;
Date::Parse->import;
my $lang = Date::Language->new('German');
my $german_date = str2time('2007-10-12 14:00:00');
print $lang->time2str("%a den %e, %B %Y\n", $german_date);
__OUTPUT__
Fre den 12, Oktober 2007
__HTH__
------------------------------
Date: Sun, 21 Oct 2007 00:32:22 -0700
From: "cenrenpost@gmail.com" <cenrenpost@gmail.com>
Subject: More friends more money,get friends while get paid
Message-Id: <1192951942.958599.80880@y27g2000pre.googlegroups.com>
More friends more money,get friends while get paid
http://groups.google.com/group/all-good-things/web/get-friends-while-get-paid
------------------------------
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 V11 Issue 960
**************************************