when the $1000 have been awarded), perl6.nl,
www.perl6.nl, is available to host the wiki.
Cheers,
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
"=~"? I've found contradictory references
> to both in books and online.
It was "=~" in Perl 5, but it's "~~" in Perl 6. Please report
occurrences of "=~" to the respective authors.
The negated version is "!~", as it was in Perl 5.
Ju
Michael Mathews skribis 2006-05-28 20:32 (+0100):
> And, as an incentive, I'm offering 1000 Colombian Pesos to the first
> person to author a working example of s/+/ /g; in Perl 6*.
If your PGE support works, s/+/ /g still does not. It's s:g/\+/ /.
Juerd
--
http:
ntly broken, so Perl 6 regexes don't work in
Pugs.
> And, as an incentive, I'm offering 1000 Colombian Pesos to the first
> person to author a working example of s/+/ /g; in Perl 6*.
$foo ~~ s:Perl5:g/\+/ /;
Juerd
--
http://convolution.nl/maak_juerd_blij.html
htt
ian, whatever) is even better. Perl6 currently needs
> documentation, community and advocacy - not a Yet Another Content
> Management System written in itself. It is unlikely that it will
> become Perl6's killer app with such a strong competition.
I disagree, for reasons detailed
re, if this Wiki is going to be made sooner rather than later,
> what are we going to use for a storage engine?
Well, since storage needs support for revisions, I'm all for re-using
open source industry standards like svk or svn.
Initially, the command line tools can be wrapped ar
his CGI course. It's very insightful, and
gives quite a few pointers to things that often go wrong when people
invent their own wheels. The URL is in his signature.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
are not suitable.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
ew goes beyond the context of the tool.
Not my point. A Perl 6 wiki needs to explain how Perl 6 differs from
Perl 5. Not with diff(1) output, obviously.
> So, in that regard, I don't believe that this is an issue.
Pity.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolutio
Conrad Schneiker skribis 2006-06-10 15:37 (-0700):
> target spec. (2) Would Juerd be willing to serve as the judge of who
> sufficiently fulfilled the specs?
I would, but perhaps my personal opinions would matter too much to be an
objective judge.
Regards,
Juerd
--
http://convolut
my @foo = 1, 2, 3, { 4 if 0 }.(), 5; say @foo.perl
[1, 2, 3, 5]
bool::true
pugs> my @foo = 1, 2, 3, { 4 if 1 }.(), 5; say @foo.perl
[1, 2, 3, 4, 5]
bool::true
Though I have no idea if this is intended behaviour. It differs from
Perl 5, and I couldn't find any spec detail
mpty list is SUPPOSED to happen.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
(1, 2, 3, 4)
I'd always use it with parens, though.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
mportant that sourceforge does that feather doesn't
provide yet, please work with me to change that.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Michael Snoyman skribis 2006-08-23 12:10 (-0700):
> sub mysub($foo, @foo, %foo) {
I hope this is a compile time failure. If not, I'd expect a warning, at
least.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convol
Carl Mäsak skribis 2006-08-23 21:54 (+0200):
> Juerd (>), Michael Snoyman (>>):
> >> sub mysub($foo, @foo, %foo) {
> >I hope this is a compile time failure. If not, I'd expect a warning, at
> >least.
> Why? It looks reasonable IMHO.
Because arguments ar
ather is in.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
a factor 260) and you don't need to sacrifice surfing
speed for it.
Also, feather has RAID 1 for its harddisks, and daily backups to another
host.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
must say I'm a bit surprised that you hadn't heard of feather before.
Apparently I should try even harder to get the word out.
Juerd
--
http://convolution.nl/maak_juerd_blij.html
http://convolution.nl/make_juerd_happy.html
http://convolution.nl/gajigu_juerd_n.html
Aankhen skribis 2006-09-14 17:00 (-0700):
> There were a few discussions with Juerd and others in #perl6 about
> CGI.pm in Perl 6...
I've been following the discussion with great interest, and will
summarize my thoughts here soon.
--
korajn salutojn,
juerd waalboer: perl hack
out the simplicity of CGI.pm's basic task handling: parsing
> the incoming parameters (including file upload), and generating sticky forms
> and other common HTML elements.
Don't thow out the simplicity, but do severely re-model things!
--
korajn salutojn,
juerd waalboer: perl hacker
Juerd skribis 2006-09-15 23:26 (+0200):
> Randal L. Schwartz skribis 2006-09-15 9:15 (-0700):
> > The thing that CGI.pm does is put in one place everything you need for a
> > simple web form. And there's an amazing number of applications for
> > this... putting
et=iso-8859-1';
# implies: $response1.encoding = 'iso-8859-1;
$response2.type = 'application/xml';
$response2.encoding = 'UTF-8';
my $response3 = Web::Response.new :type('text/html;
charset=iso-8859-1');
my $response4 = Web::Response.new :type,
:encoding;
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
that nobody can actually recall, and based
precisely 88.445% on the writer's own experience.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
o been seen now well
> calls to Perl 5 modules can work for the general case.
Please note that eventually, perl5:CGI is supposed to work as expected.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
Mark Stosberg skribis 2006-09-16 22:04 (-0500):
> As far as I'm aware, no work on CGI::Session for Perl 6 has started yet.
I'm happy about that, because this module must not have "CGI" in its
name.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECT
still takes up to a minute for rakudo.org pages to
load on my home machine.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
in one place and then used by
every part of the toolkit. At the same time, these things should be
overridable at any point. That can be done by temp'ing an attribute, for
example.
Next time I will write something about implementation. This will partly
be from the perspective of implementation
Amir E. Aharoni skribis 2006-09-17 17:22 (+0300):
> 17/09/06, Juerd <[EMAIL PROTECTED]> skribis:
> > This is a very strict language, though, as it is based on XML.
> > A document is either valid and unambiguous, or completely invalid.
> Just like any programming language s
Thaw.pm?
Interpolate the arrays:
while ("@numbers" ne "@{[ sort @numbers ]}") { ... }
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
lt, in a general purpose
web development library.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
Richard Hainsworth skribis 2006-09-18 17:18 (+0400):
> However, I am using pugs from the debian package and not directly from
> the repository. So perhaps, the problem is I am not using the latest
> version of pugs.
That version is rather old in our universe :)
--
korajn salutojn,
t make sense to have a single .pm that does all this. There's
absolutely no need for having all these different tasks in one module.
There's not even any benefit. You can just as well use a couple of
nicely named, grouped, and reasonably standalone roles or classes, and
then a single module to
uce some real
convenience instead.)
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
than that, it should be very lightweight and easy to
> use.
I agree that things should be lightweight and easy to use. But in Perl
6, that doesn't mean that you should avoid nicely structured OO.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
uing about
> namespace usage here :))
Yes. I'm talking about a web development toolkit, that does at least
what CGI.pm did, and not about CGI as a namespace, because I think
that's an incredibly bad thing anyway.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
mode is perl5:CGI, that loads the old Perl 5 CGI.pm.
There's little need for us to port bad things to Perl 6. Peoplo who
really want or need to use them can, and we should concentrate on
creating something that's GOOD for new code. This said, I do think it'd
be wise to document chang
ing
a hash. In fact, two hashes, get and post.
use Web <$web>;
$web.get;
$web.post;
$web; # shorthand form for $web.post // $web.get
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
A. Pagaltzis skribis 2006-09-20 22:39 (+0200):
> * Juerd <[EMAIL PROTECTED]> [2006-09-20 22:25]:
> > I think it's time we moved away from the param method, and
> > started using a hash.
> I don???t know about that. The `param` method has the nice property
> that it
ld fashioned :)
A style guide is very hard to write. It indeed boils down to fluency.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
the syntax for an empty slice then?
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
6, not Pugs specifically. It's known that
Pugs doesn't implement all of Perl 6 perfectly yet, and Perl 5
compatibility is one of the many things that needs improvement. Give it
some time, and don't draw conclusions already.
--
korajn salutojn,
juerd waalboer: perl hacker &l
space, and making it use information from the
Web object (which mostly delegates to its .request and .response),
doesn't have to mean it can't be used stand-alone.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
Some pseudo-code for illustration. Maybe we should put this on version
control or wiki, and collectively hack on it. If we can agree on any
certain route.
If anyone wants to go ahead and implement things, don't wait for me
please. I unfortunately do not have the tuits to do this in full. I
don't e
uld work for that. Why you'd want one beats me.
Generated code. It's nice that Perl usually isn't picky about such
things, because it saves you a lot of special cases when you're
generating code.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]&
ail now, for you to form an opinion.
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
opriate.
I think you meant either:
my @add = $string xx $repeat;
or:
my $add = $string x $repeat;
Or perhaps:
my $add = [ $string xx $repeat ];
# This is what your current code does, but I think it's best if Perl
# enforced that you be explicit about the [].
--
korajn sa
and a great idea.
I love it!
--
korajn salutojn,
juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
convolution: ict solutions and consultancy <[EMAIL PROTECTED]>
Ik vertrouw stemcomputers niet.
Zie <http://www.wijvertrouwenstemcomputersniet.nl/>.
Darren Duncan skribis 2007-04-14 23:37 (-0700):
> Presumably Juerd will get back to these when he has the tuits, but
> meanwhile you could try improving what he started.
Indeed.
Please read these two posts to this list:
http://groups.google.nl/group/perl.perl6.users/browse_thread/
s it useful at all?
Absolutely!
> * Is it possible to implement it satisfactory without building a p6
> compiler?
Yes. Just match individual literal symbols. Someone looking for * should
encounter all uses of *, including ** and **{}.
> * Do you have a good idea for a project name?
(sounds paradoxal), I
can create a separate virtual machine for that.
--
Met vriendelijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>
to for modules:
Modules can keep .pm, and the interpreter can tell whether it's Perl 5
or Perl 6, because Perl 6 modules have different keywords.
Personally I'm hoping for some extra abstraction in module filenames, to
allow UTF-8 module names with ASCII filenames.
--
Met vriendelijke
orajn salutojn,
Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>
delijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>
coming from?
It shows progress, and several well known, trusted and skilled hackers
work on it.
--
Met vriendelijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>
Larry Wall skribis 2008-02-21 11:15 (-0800):
> On Thu, Feb 21, 2008 at 01:29:05PM +0100, Juerd Waalboer wrote:
> : Then backtracking would happen, or more likely: Perl 6 would die. If
> : this community cannot come up with a virtual machine that can handle
> : Perl 6, then many peop
ly.
Good point. My Dutch-biased self doesn't have that wisdom :)
--
Met vriendelijke groet, Kind regards, Korajn salutojn,
Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig>
Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>
57 matches
Mail list logo