[32895] in Perl-Users-Digest
Perl-Users Digest, Issue: 4173 Volume: 11
daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Sun Mar 16 09:09:28 2014
Date: Sun, 16 Mar 2014 06:09:02 -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, 16 Mar 2014 Volume: 11 Number: 4173
Today's topics:
Re: How did PHP and Python take over such a huge market <rweikusat@mobileactivedefense.com>
Re: How did PHP and Python take over such a huge market <rweikusat@mobileactivedefense.com>
Re: How did PHP and Python take over such a huge market <gogala.mladen@gmail.com>
Re: How did PHP and Python take over such a huge market <gogala.mladen@gmail.com>
Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)
----------------------------------------------------------------------
Date: Fri, 14 Mar 2014 19:01:48 +0000
From: Rainer Weikusat <rweikusat@mobileactivedefense.com>
Subject: Re: How did PHP and Python take over such a huge market-share of Perl?
Message-Id: <87pploob8j.fsf@sable.mobileactivedefense.com>
Kaz Kylheku <kaz@kylheku.com> writes:
[...]
> Perl
[...]
> might as well go with what mainstream
> Lisp discarded decades ago: "fexprs".
>
> If macros are considered to be compilers, fexprs are their interpretive
> counterpart: user-defined operator functions that, at run time (not
> macro-expansion time) receive the unevaluated versions of their arguments,
> along with the caller's environment. They do whatever is necessary to make
> their construct happen, each time they are called.
Perl can sort-of do that (using the recently discussed loop extension as
an example):
-------------
use constant BODY => 1;
use constant ONREPEAT => 2;
sub body(&@)
{
return [BODY, shift], @_;
}
sub onrepeat(&@)
{
return [ONREPEAT, shift], @_;
}
sub loop_while(&@)
{
my ($cond, @body) = @_;
my ($body, $onrepeat);
for (@body) {
$_->[0] == BODY and do {
die("This is not a crowd!\n") if $body;
$body = $_->[1];
next;
};
$_->[0] == ONREPEAT and do {
die("Feeling repetitive, are we?\n") if $onrepeat;
$onrepeat = $_->[1];
next;
};
die("Falsch verbunden ...\n");
}
$body //= sub {};
$onrepeat //= sub {};
$cond->() and do {
{
$body->();
last unless $cond->();
$onrepeat->();
redo;
}
};
}
my $line;
loop_while { $line = <>, defined($line) }
body { print($line) }
onrepeat { print("---\n") };
------------------------------
Date: Sat, 15 Mar 2014 16:53:51 +0000
From: Rainer Weikusat <rweikusat@mobileactivedefense.com>
Subject: Re: How did PHP and Python take over such a huge market-share of Perl?
Message-Id: <87bnx7l7xc.fsf@sable.mobileactivedefense.com>
Mladen Gogala <gogala.mladen@gmail.com> writes:
> On Wed, 12 Mar 2014 17:13:21 +0000, Rainer Weikusat wrote:
[...]
>> and people who lust for 'inelligent beings without civil rights'
>> should consider getting professional help, at least in the parts of
>> the world where slavery has been abolished, so that they eventually
>> get over that.
>
> Well, such "lust" was displayed by Isaac Asimov, Arthur C. Clarke, Philip
> K. Dick, Douglas Adams and many other pioneers of the science fiction.
> I'm not quite sure whether the better part of the science fiction writers
> can be summarily dismissed as people in need of professional help.
You shouldn't include Douglas Adams in here as he was somewhat apt at
ridiculing the idea of 'artificially constructed intelligent beings', eg
with a 'brain of the size of a planet' comes a depression of equal
proportions, rendering the 'superbeing' really 'super' in every respect:
By design incapable of partaking in what humans consider pleasurable,
fucking, eating and maybe sleeping, and additionally immortal, the
inevitable result are eons of brooding over one's inadequacies.
------------------------------
Date: Sat, 15 Mar 2014 00:11:02 +0000 (UTC)
From: Mladen Gogala <gogala.mladen@gmail.com>
Subject: Re: How did PHP and Python take over such a huge market-share of Perl?
Message-Id: <pan.2014.03.15.00.11.01@gmail.com>
On Wed, 12 Mar 2014 17:13:21 +0000, Rainer Weikusat wrote:
> 'Artificial Intelligence' is bullshit: Computers are useful because
> they're not intelligent,
Well, for that matter, neither are people. I could prove my point by
countless bloopers from the Youtube or, as an inhabitant of the New York
City area, by the closure of the George Washington Bridge affair. Surely,
that mess was not caused by the intelligent beings.
> that is, capable of influencing circumstances/
> situations for their own benefit,
Your definition of intelligence is not universally accepted and includes
selfishness. Again, as can easily be demonstrated by the example of
Bernie Madoff, selfishness and intelligence do not necessarily go
together. There are those of us who still doubt the existence of the
intelligent life forms on Earth.
> and people who lust for 'inelligent
> beings without civil rights' should consider getting professional help,
> at least in the parts of the world where slavery has been abolished, so
> that they eventually get over that.
Well, such "lust" was displayed by Isaac Asimov, Arthur C. Clarke, Philip
K. Dick, Douglas Adams and many other pioneers of the science fiction.
I'm not quite sure whether the better part of the science fiction writers
can be summarily dismissed as people in need of professional help. Mind
you, I am not talking of the sword & sorcery or space opera authors, just
the science fiction writers. Those are noble and rare lot.
--
Mladen Gogala
The Oracle Whisperer
http://mgogala.byethost5.com
------------------------------
Date: Sat, 15 Mar 2014 21:49:23 +0000 (UTC)
From: Mladen Gogala <gogala.mladen@gmail.com>
Subject: Re: How did PHP and Python take over such a huge market-share of Perl?
Message-Id: <pan.2014.03.15.21.49.23@gmail.com>
On Sat, 15 Mar 2014 16:53:51 +0000, Rainer Weikusat wrote:
> You shouldn't include Douglas Adams in here as he was somewhat apt at
> ridiculing the idea of 'artificially constructed intelligent beings', eg
> with a 'brain of the size of a planet' comes a depression of equal
> proportions, rendering the 'superbeing' really 'super' in every respect:
> By design incapable of partaking in what humans consider pleasurable,
> fucking, eating and maybe sleeping, and additionally immortal, the
> inevitable result are eons of brooding over one's inadequacies.
Well, Douglas Adams was actually a satirist, not a science fiction
writer. His Marvin, the paranoid android, is really a funny creation. The
planetary sized computer which answered the question of life, universe
and everything is the reason for including him among the true science
fiction writers. It's a honorary mention.
--
Mladen Gogala
The Oracle Whisperer
http://mgogala.byethost5.com
------------------------------
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:
To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.
Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests.
#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 4173
***************************************