Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-05-28 Thread Juerd
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

Re: CGI on 6

2006-05-28 Thread Juerd
"=~"? 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

Re: CGI on 6

2006-05-28 Thread Juerd
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:

Re: CGI on 6

2006-05-28 Thread Juerd
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

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-05-29 Thread Juerd
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: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-05-29 Thread Juerd
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

Re: CGI on 6

2006-05-30 Thread Juerd
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

Re: $1,000 prize for Perl 6 Wiki written in Perl 6

2006-06-06 Thread Juerd
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

Re: OT: "my wiki syntax is better than yours" (was: $1,000 prize for Perl 6 Wiki written in Perl 6)

2006-06-06 Thread Juerd
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

Re: OT: wiki engine architecture

2006-06-12 Thread Juerd
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

Re: Conditionally included list elements

2006-06-18 Thread Juerd
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

Re: Conditionally included list elements

2006-06-18 Thread Juerd
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

Re: Conditionally included list elements

2006-06-18 Thread Juerd
(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

Re: Revised Perl++ Wiki Proposal / $1k bounty

2006-06-20 Thread Juerd
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

Re: Same-named arguments

2006-08-23 Thread Juerd
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

Re: Same-named arguments

2006-08-23 Thread Juerd
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

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
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

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
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

Re: Announcing the Perl 6 and Parrot wiki workspaces

2006-08-28 Thread Juerd
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

Re: the CGI.pm in Perl 6

2006-09-14 Thread Juerd
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

Re: the CGI.pm in Perl 6

2006-09-15 Thread Juerd
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

Re: the CGI.pm in Perl 6

2006-09-15 Thread Juerd
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

Re: Charsets in HTTP (was: the CGI.pm in Perl 6)

2006-09-16 Thread Juerd
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]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-16 Thread Juerd
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]>

Re: use perl5:CGI as a solution (was: Re: the CGI.pm in Perl 6)

2006-09-17 Thread Juerd
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]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-17 Thread Juerd
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

Re: How to pass a ref from a language with no refs (was: Re: use perl5:CGI as a solution)

2006-09-17 Thread Juerd
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]>

Web development I: Web::Toolkit

2006-09-17 Thread Juerd
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

Re: Web development I: Web::Toolkit

2006-09-17 Thread Juerd
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

Re: perl6 and a multi-interpreted-language example

2006-09-17 Thread Juerd
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]>

Re: Web development I: Web::Toolkit

2006-09-17 Thread Juerd
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]>

Re: more on perl5 modules

2006-09-18 Thread Juerd
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,

Re: the CGI.pm in Perl 6

2006-09-19 Thread Juerd
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

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
uce some real convenience instead.) -- korajn salutojn, juerd waalboer: perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> convolution: ict solutions and consultancy <[EMAIL PROTECTED]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
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]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
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]>

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-20 Thread Juerd
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

Re: the CGI.pm in Perl 6

2006-09-20 Thread Juerd
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]>

Re: the CGI.pm in Perl 6

2006-09-20 Thread Juerd
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

Re: Perl6 "style-guide"

2006-09-20 Thread Juerd
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]>

Re: the CGI.pm in Perl 6

2006-09-21 Thread Juerd
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]>

Re: use perl5:CGI as a solution (was: Re: the CGI.pm in Perl 6)

2006-09-21 Thread Juerd
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

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-21 Thread Juerd
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]>

Web development II: Code

2006-09-21 Thread Juerd
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

Re: the CGI.pm in Perl 6

2006-09-21 Thread Juerd
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]&

Re: CGI Session management (was Re: the CGI.pm in Perl 6)

2006-09-21 Thread Juerd
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]>

Re: xx operator

2006-09-28 Thread Juerd
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

Re: perl6-ish idiom for code and tests in one file

2007-01-05 Thread Juerd
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/>.

Re: CGI.pm renaming (was Re: CGI Session management (was Re: the CGI.pm in Perl 6))

2007-04-15 Thread Juerd Waalboer
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/

Re: Project Idea: Perl 6 Syntax Explainer

2007-07-10 Thread Juerd Waalboer
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?

Re: what can I do in perl 6 today?

2008-01-03 Thread Juerd Waalboer
(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]>

Re: what should be the default extension?

2008-01-05 Thread Juerd Waalboer
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

Re: what should be the default extension?

2008-01-06 Thread Juerd Waalboer
orajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
delijke groet, Kind regards, Korajn salutojn, Juerd Waalboer: Perl hacker <[EMAIL PROTECTED]> <http://juerd.nl/sig> Convolution: ICT solutions and consultancy <[EMAIL PROTECTED]>

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
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]>

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
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

Re: Perl 6 fundraising and related topics.

2008-02-21 Thread Juerd Waalboer
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]>