»ö« | perl6.org/ | nopaste: paste.lisp.org/new/perl6 | evalbot usage: 'perl6: say 3;' or rakudo: / pugs: / std: , or /msg p6eval perl6: ... | irclog: irc.pugscode.org/ | UTF-8 is our friend!
Set by wolfe.freenode.net on 30 October 2009.
pmichaud fail is the same as return() except it returns a Failure object 00:02
diakopter ng: our $FailureClass = $_.WHAT; our sub Failure() { return $FailureClass }; our sub fail { say $^a; return Failure.new($a) }; say Mu.WHAT.new 00:07
p6eval ng 7d3cac: Method 'Str' not found for invocant of class 'Mu'␤
00:07 snarkyboojum left, snarkyboojum_ is now known as snarkyboojum
diakopter on that note, 00:07
ng: sub foo { say $^a; say $^a }; foo(3); 00:08
p6eval ng 7d3cac: Not enough positional parameters passed; got 1 but expected 2␤current instr.: '&foo' pc 108 (EVAL_1:49)␤
diakopter ng: sub foo { say $^a; say $a }; foo(3);
p6eval ng 7d3cac: 3␤3␤
Tene That's wrong.
Wolfman2000 I thought that was right actually 00:09
diakopter the 2nd one is correct
Tene rakudo: sub foo { say $^a; say $^a }; foo(3);
p6eval rakudo 7ce13d: 3␤3␤
masak Tene: no, it's spec. $a after $^a is OK, and the same var.
diakopter masak: I'm sure Tene meant my first try 00:10
Tene masak: Yes, I know. You can ALSO use $^a every time.
masak oh.
yes, now I see.
my bug submitting finger itches.
Tene I'm rather entertained by implementing in ng the same things that I implemented in rakudo.
masak :)
by the way, yay! GGE can now be precompiled! and it starts much faster. \o/ 00:11
Tene masak: 'sec, lemme see if I can fix that real quick. 00:12
Actions.pm needs a conditional right around +1559 00:13
It needs to inspect $placeholder_sig 00:14
I don't have time to dig into Perl6::Compiler::Signature to see what I'm looking for, though.
That should be sufficient for somebody else here to do it, though. :)
AFK driving
diakopter
.oO( driving doesn't stop some folks from ircing )
00:15
00:16 justatheory left 00:17 lilstevey joined
lilstevey Hello #perl6 00:17
diakopter Hello lilstevey
Juerd_ phenny: tell TimToady Could you provide (old or fresh) citations for the three [citation needed]s at en.wikipedia.org/wiki/Perl_6? 00:20
phenny Juerd_: I'll pass that on when TimToady is around.
lilstevey I've come seeking knowledge. I'm trying to dynamically attach a method to a class, and, cheekly hoping someone could give me a pointer towards any resources?
Juerd_ Interesting info in that wikipedia article. 00:21
Pugs will be used for bootstrapping? Oh?
Maybe I should add a few [citation needed]s myself :D
masak lilstevey: hello. can you be more specific? is it something that you cannot solve with an eval() inside the class definition? 00:22
diakopter masak: surely you mean "cannot solve withOUT an eval" :P 00:23
masak no, I stand by what I wrote :)
diakopter (eye roll) 00:24
00:25 astrojp left
diakopter Juerd_: imho, all between "It will be used for ..." and "... from within a program or library" can be excised 00:25
(inclusively) 00:26
Juerd_ Agreed and (heh).
masak lilstevey: there is some sense to diakopter's eye roll, of course. jnthn is doing some metaclass work in the ng branch which might do what you need. but it hasn't landed yet in master.
diakopter I'm sure lilstevey would like to know how to do it with eval 00:27
lilstevey masak & diakopter: maybe I should nopaste - my typing and explanation skills seem to limiting my throughput? 00:28
00:29 snarkyboojum left
Juerd_ diakopter: Done. 00:29
masak rakudo: class A { if rand < .5 { eval("method foo() \{ say q[foo] }") } else { eval("method bar() \{ say q[bar] }") } }; A.new.?foo; A.new.?bar
p6eval rakudo 7ce13d: ( no output )
masak locally, that prints sometimes 'foo', sometimes 'bar'. 00:30
arnsholt Juerd_: For the last [citation needed] you can pretty much just point to man perlre I think
masak lilstevey: did that help? if not, feel free to go ahead and nopaste.
diakopter Juerd_: you might mention that Pugs can be found at (and maintenance releases for various new versions of ghc are posted to) hackage.haskell.org/package/Pugs 00:31
Juerd_ arnsholt: What part?
arnsholt Or just cite the regex from the camel book that correctly matches nested parens
Juerd_ diakopter: You know, it is a wiki ;)
masak :)
diakopter wtfomg; I thought it was Juerdpedia :D 00:32
Juerd_ :D
arnsholt Juerd_: Well, there's (?{ code }) and (?{{ code }})
Juerd_ No. I would structure an article about Perl 6 very differently.
arnsholt: Yes, but that only implies what is written in the article to someone familiar with regular regular expressions.
00:33 nickgibbon joined
arnsholt True. But to make sense of the point you really have to know the difference between regular and other languages 00:33
masak arnsholt: what _is_ the difference? 00:34
lilstevey masak: eval - Probably - many thanks - I was hoping for a one liner to inject into something along the lines of pastebin.com/d23b178 but will have a play with eval - should be able to fire something off. 00:35
arnsholt masak: In a word: centre-embedding
masak arnsholt: such as XML nestedness?
arnsholt Yep
masak lilstevey: as I mentioned, jnthn is working on the one-liner solution.
jnthn++, I mean. :) 00:36
arnsholt masak: Essentially regular languages can only have simple repetition, you have no way of "counting" stuff so that they match up like parens
There's lots of nice theory round it if you want it formally, but that's the essence of it 00:37
masak arnsholt: right, now I remember. Feynman explained this to me once (indirectly, through a book).
arnsholt Feynman? Didn't know he talked about that kind of stuff 00:38
masak in a book about computers and computing.
arnsholt Ah, right
masak starting from the fundamentals; very good stuff.
so, regular languages correspond to finite state machines?
arnsholt Exactly!
masak which cannot count stuff because they're finite, and the natural numbers are not. :)
arnsholt Not quite 00:39
A regular language can be infinite. a* for example
masak yes, but then you don't care about the number of repetitions.
SirKay wait, you've met Feynman?
quantumEd every natural number is finite!
masak SirKay: 'indirectly, through a book'.
SirKay oh, lol
arnsholt But you have no way of keeping state. If you say \(*\)* you have no way of saying that the two stars should match the same number of parens
masak quantumEd: :) 00:40
arnsholt What's finite about FSAs is that they have a finite number of states (AFAIK)
masak quantumEd: the set of natural numbers has a cardinality which exceeds each natural number. sorry, I wasn't precise enough. :P
arnsholt But finite state machines are isomorphic to regular languages
masak arnsholt: nodnod. 00:41
lilstevey sorry for being an indiot - is masak plus plus equivalent to "many thanks" - am a bit of an IRC virgin and wouldn't wish to increment kudos I didn't have to give?
arnsholt For context-free languages you have something called push-down automata, which are a fairly intuitive expansion of FSAs
masak arnsholt: FSA + stack, right?
quantumEd lilstevey++
masak @karma lilstevey
lambdabot lilstevey has a karma of 1
arnsholt masak: Pretty much, yeah
masak lilstevey: there you go.
arnsholt As for context-sensitive languages, apparently parsing them is NP-complete =) 00:42
lilstevey many thanks, masak++
masak lilstevey: and there's no need to apologise for questions. :) keep'em coming.
arnsholt: I'm not comfortable enough with NP-completeness to know what that means. 00:43
arnsholt Me neither, TBH
quantumEd masak it just freaks me out that every natural number is finite, but the set of them is infinite
lilstevey Thanks for the pointer - it's gone my bedtime so will disapear off to bed and try to have a play with eval in the week. ( perhaps then more questions to come ) Goodnight #perl6!
masak arnsholt: does it mean that assigning parts of the text to AST nodes might take superpolynomial time?
arnsholt I usually just parse it as "stupid-hard. here be dragons"
masak lilstevey: g'nite.
quantumEd: consider the set of numbers (2, 4, 6). each number is even, but the number of numbers is odd. does that also freak you out? 00:44
00:44 lilstevey left
masak arnsholt: yes, sure. I'm reading up on complexity now, through (Scott Aaronson)++'s online course, so I'm paying a little extra attention when I see stuff like that. 00:45
quantumEd masak, no
masak quantumEd: what's the significant difference? that there's infinity involved?
00:46 colomon left, colomon joined
arnsholt Actually, it turns out context-sensitive grammars are even worse than NP-complete. They're PSPACE (whatever that means) 00:46
quantumEd yeah
arnsholt, what does (whatever that means) mean? 00:47
arnsholt quantumEd: It means that I have no idea what the difference between NP and PSPACE is
masak arnsholt: it means that the memory requirements grow polynomially with the size of the problem.
arnsholt Aha. Thanks
masak arnsholt: see this lecture :) www.scottaaronson.com/democritus/lec6.html 00:48
and this picture. en.wikipedia.org/wiki/PSPACE
00:48 justatheory joined
arnsholt Oooh, right. That graph looks familiar 00:49
It was in the slides of my algorithms class
Or at least one like it
quantumEd I like the look of that NL class
masak it's the class of all problems situated in the Netherlands.
00:49 justatheory left
quantumEd hehe 00:49
arnsholt *giggle* 00:50
masak: Thanks for that link. Those are excellent slides 00:54
masak you're welcome. 00:55
arnsholt "We need 2^aleph-null choices like we need a hole in the head." =D 01:10
masak :) 01:11
oh, look at that. my watch says that I should have gone to sleep hours ago. 01:12
I'll make the best of it and go to sleep now.
good night, #perl6.
Wolfman2000 g'night
01:12 masak left
colomon ng: say "hello".flip 01:16
p6eval ng 7d3cac: sh: ./perl6: No such file or directory␤
Wolfman2000 ...that's not a normal error, is it?
colomon that's "there's no ng compiler right now." 01:17
it's being rebuilt, one hopes.
ng: say "hello".flip
p6eval ng 7d3cac: ( no output )
colomon hey, that was supposed to work. 01:18
ng: say "hello".flip
p6eval ng 7d3cac: ( no output )
colomon ng: say "hello"
p6eval ng 7d3cac: hello␤
colomon ng: for "hello".split("") { .say } 01:19
p6eval ng 7d3cac: h␤e␤l␤l␤o␤
colomon ng: for "hello".split("").reverse { .say }
p6eval ng 7d3cac: o␤l␤l␤e␤h␤
colomon ng: "hello".split("").reverse.join.say 01:20
p6eval ng 7d3cac: olleh␤
colomon ng: flip("hello")
p6eval ng 7d3cac: ( no output )
colomon ng: say flip("hello");
p6eval ng 7d3cac: olleh␤
colomon ng: say "hello".flip
p6eval ng 7d3cac: ( no output )
colomon very puzzled how one can work and the other not... 01:21
Wolfman2000 colomon: typo?
colomon ng: "hello".flip.say 01:22
p6eval ng 7d3cac: olleh␤
01:27 rgrau_ left
colomon ng: say "hello".flip 01:28
p6eval ng 7d3cac: ( no output )
colomon ng: say "hello".split("").reverse.join 01:30
p6eval ng 7d3cac: olleh␤ 01:31
colomon ng: my $j = ("Hello"|"World"); 01:34
p6eval ng 7d3cac: Could not find non-existent sub prefix:?␤current instr.: '&infix:<===>' pc 8371 (src/builtins/Num.pir:18)␤
01:37 dbrock` left 01:40 cotto left
pugs_svn r29214 | colomon++ | [t/spec] Reframe and fudge the junction autothreading index tests. 01:40
ng_feed rakudo-ng: colomon++ 01:42
rakudo-ng: Turn on index.t test.
pugs_svn r29215 | colomon++ | [t/spec] Refactor the fudge so that ng can pass it. 01:49
01:54 agentzh joined 02:01 drbean_ joined
lisppaste3 colomon pasted "Bus error (?) in split-simple2.t seen in debugger" at paste.lisp.org/display/91257 02:09
ng_feed rakudo-ng: colomon++ 02:11
rakudo-ng: Add Any.chomp.
rakudo-ng: colomon++
rakudo-ng: Turn on chop.t and chomp.t.
arnsholt colomon: Try rebuilding with debugging symbols? 02:15
colomon is there an easy way to do that?
arnsholt I think the easiest way is to just hack the Makefile and rebuild 02:16
Just add -g to CFLAGS 02:17
colomon hack the parrot makefile and / or the rakudo makefile ?
arnsholt The Rakudo Makefile primarily
It should be possible to get Parrot to build with debugging symbols by tweaking the config options appropriately 02:18
colomon okay, rebuilding rakudo-ng.
02:19 frew_ joined
Wolfman2000 evening frew_ 02:20
I took care of some more updates...plus I figured out how to give you commit bit access. 02:21
Hopefully you'll like what you see.
colomon arnsholt: with debugging turned on in rakudo, split-simple2.t works fine. :| 02:24
arnsholt That's weird
And it was consistently failing before?
02:25 orafu left, orafu joined
colomon arnsholt: No, it's more of a Heisenbug. 02:25
It seems consistent on a given build of rakudo, but that's it. 02:26
arnsholt Then I'm out of tricks
But it's a NULL pointer deref, so it's definitely a bug somewhere
colomon I've been running into them all day, I was hoping a trace or two might help jnthn or pmichaud puzzle it out. 02:28
arnsholt True, true
But if you manage to get a trace with line numbers too I suspect they'll be even happier =) 02:29
colomon Well, I'll leave debugging in for the moment and see if it happens again.
bedtime 02:46
diakopter colomon: 03:05
earlier, it's that parsing issue
ng: say "hello".flip 03:06
p6eval ng 812c27: olleh␤
diakopter erm
03:10 cognominal__ joined 03:16 pnate2 joined 03:17 cognominal_ left 03:25 Exodist left 03:28 zaslon left, pointme left, pnate left, pointme joined 03:29 zaslon joined 03:32 ihrd joined, Exodist joined 03:38 JimmyZ_ joined 03:46 JimmyZ_ left 03:57 envi^office joined
Wolfman2000 goes for a BIG test file...gotta love (hate?) being slightly anal about covering all of the situations. 04:02
diakopter "Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed." 04:08
04:08 Exodist left
diakopter what? that's ... horribly unclear 04:08
so no one can adopt a slightly-modified-edition of the AL2 for one's own project? 04:09
dj_goku diakopter: your projects can be whatever license you choose. 04:14
diakopter: I would probably call it, al2-mod :D 04:15
04:27 f00li5h[HireMe] joined
f00li5h[HireMe] meows 04:27
Cyrus f00li5h[HireMe]: Told you. 04:28
You can see the pounds melting away.
04:29 Exodist joined
avar diakopter: Yes that's what it means, free software licenses are generally proprietary 04:30
diakopter: i.e. if you want a similar license you have to write one all over again, you can't make a derived work
diakopter sigh. I don't suppose it can be incorporated by reference 04:37
well, of course it can.
Cyrus: what? 04:38
Cyrus diakopter: It was a joke that spanned #perl and here.
avar diakopter: such licenses usually explicitly prohibit adding terms, so you can't do that either 04:42
diakopter avar: they prohibit adding terms for the redistribution of works released under them, but nothing prohibits making [external] modifications to the license for use in the initial release of one's own software. 04:47
Tene You need to be careful when examining what restrictions apply to the license itself and what apply to software released under the license. 04:48
diakopter Tene: the AL2 doesn't refer to itself (as a document apart from as it's attached to a Package) except [ambiguously, perhaps] in that sentence I quoted. 04:51
so, the definition of "license" can be externally amended/redefined to mean the AL2 document plus the amendments listed in the amendment document itself. 04:52
avar diakopter: There are no "external" terms, "the license" is the terms under which you distribute the software. If you add extra terms in the form of "these terms + GPL" that's counted as being under the license, which you explicitly can't modify 04:53
diakopter avar: no
avar (I'm only familiar with this case with the GPL, but maybe the AL2 is similar)
Are you talking about dropping in the license and adding terms somewhere else "we're under the AL2 but you can only distribute the software on a tuesday" ? 04:54
because that's the impression I got, maybe I'm mistaken
04:56 patspam joined
diakopter avar: what precisely would be wrong with that example? 04:56
well, modified to be: 04:57
avar Because you're distributing a legal document which is at odds with itself 04:59
The first line of AL2 says: "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document.
04:59 patspam left
avar Anyway, apache probably has a legal mailing list, ask there, I'm not a laywer 05:00
but you'll probably get the same respons, gn
diakopter "we're under the terms as listed in LICENSE [where LICENSE contains: see the accompanying AL2.txt for definitions and overall terms, but where "this license" and "the license" in AL2.txt refer to the contents of this file (LICENSE) and AL2.txt. And you may only release redistributions of this software on Tuesdays.] 05:01
"
avar: where did you get your copy of AL2
because I don't see that line
05:02 nihiliad left
diakopter avar, oh, you're referring to the Apache License 2 05:02
I was talking about the license that nearly all of the Perl 6 implementations use - the Artistic License 2 05:03
but still, my point holds even if it were the Apache License
Wolfman2000 ...what license is Perl 6 on anyway? Not the implementations, the language. 05:06
diakopter I'm pretty sure the spectests and synopses are protected by the svn.pugscode.org/pugs/LICENSE/Artistic-2 by default... but good point, that probably should be explicit on perlcabal.org/syn/ 05:10
05:16 xomas joined 05:18 xomas is now known as xomas_
carlin Would it be possible to modify the license by reference, so state "This software is released under AL2 sans point ii of section 4c." 05:23
diakopter that's what I'm surmising, yeah 05:27
dj_goku diakopter: I am with you (but I would get a lawyers opinion), that you can change as you see fit, just it won't be the same license and terms.
diakopter yes, the AL2 just says you can't change the *document* 05:28
ArtisticLicense2
mdxi that's because if you could, someone could change the terms of the license and then say "I am totally following the terms of the Artistic License!" 05:29
practically speaking, you can change it
but you can't call it "the Artistic License" anymore
just as specs are generally not open in a "modify this document" sense
because then you don't have a spec at all 05:30
diakopter yeah
well, the Perl Foundation can change it :) 05:31
(unless that clause is externally amended) :)
carlin But you could still release it under AL2 and then lock it down extenrally; "This software is released under AL2, provided you don't redistribute it or modify it" 05:37
diakopter too many "it"s :) 05:38
carlin ... but you could probably still get around that using section 4c ... legal nightmare imo. 05:41
Wolfman2000 ...what controversy did I cause now diakopter? 05:43
05:47 orafu left, explorer left, orafu joined
Wolfman2000 sleep for me 05:58
06:31 xinming left 06:54 kaare joined, kaare is now known as Guest20022 07:05 mberends joined 07:29 cotto joined 07:40 colomon_ joined, colomon left, colomon_ is now known as colomon 07:57 colomon_ joined, colomon left 07:58 colomon_ is now known as colomon 08:00 flip214 joined
flip214 Hello again! 08:00
moritz_ good morning
flip214 I've got some fresh questions again ...
I'm trying to define my own String class - for local charset/UTF8 type validation in the compiler 08:01
(if that makes sense in perl ?)
So that I can clearly tag my function "this takes an UTF8 string", and "this gets a local string" 08:02
Now there are some parts where I have to convert - eg. from "Str @ARGV" 08:03
moritz_ @*ARGS iirc
lambdabot Unknown command, try @list
flip214 But simply using a "new" function with appropriate input types doesn't work
rakudo: class T is Str { method new(Str $x) { return bless $x; } }; my T @a= "a", "2"; say @a; 08:04
p6eval rakudo 7ce13d: ( no output )
flip214 is that just NIY?
I get a NULL PMC access in isa()
moritz_ you can't just bless anything, I think
08:04 iblechbot joined
mberends conceptually, UTF-8 should not be a "type" for a string. UTF-8 is a representation. 08:05
moritz_ and the spec provides a utf8 buffer type, which validates :-)
but rakudo NYI it
mberends so UTF8 is a "type" for a buf, which is not a string. 08:06
buf <--> string is tricky, seeing past work by others on the subject 08:07
flip214 So, what should I do? There are some API functions that need UTF8 input, and I have to assume that my commandline parameters are in local charset.
Some persistent data should be stored in local charset (possible, not sure about that yet) (for performance reasons) ...
and some other functions need to be tagged UTF8 08:08
mberends cannot help
flip214 I'd like to keep typechecking to the compiler
moritz_ currently rakudo decodes everything as UTF-8
flip214 Well, maybe Str is the wrong type anyway
moritz_ so @*ARGS contains Str objects, not Buf objects
flip214 and I should just use Buf
moritz_ perlgeek.de/blog-en/perl-6/strings-...ffers.html if you haven't read it yet 08:09
flip214 But again, I'd like to use some different types ...
rakudo: my buf8 $x='aaa'; say $x; 08:11
p6eval rakudo 7ce13d: Malformed declaration at line 2, near "buf8 $x='a"␤in Main (file <unknown>, line <unknown>)␤
flip214 rakudo: my Buf $x='aaa'; say $x;
p6eval rakudo 7ce13d: Assignment type check failed; expected Buf, but got Str␤in Main (file <unknown>, line <unknown>)␤
flip214 rakudo: my Buf $x='aaa'.Buf; say $x;
p6eval rakudo 7ce13d: Method 'Buf' not found for invocant of class 'Str'␤in Main (file src/gen_setting.pm, line 324)␤
moritz_ rakudo: my Buf $x = "foo".encode('UTF-8')
p6eval rakudo 7ce13d: ( no output )
moritz_ rakudo: my Buf $x = "foo".encode('UTF-8'); say $x[0]
p6eval rakudo 7ce13d: elements() not implemented in class 'Buf'␤in Main (file <unknown>, line <unknown>)␤
flip214 rakudo: augment Str { ... }; my Buf $x='aaa'; say $x; 08:12
p6eval rakudo 7ce13d: Confused at line 2, near "{ ... }; m"␤in Main (file <unknown>, line <unknown>)␤
flip214 How do I write type conversions?
moritz_ method TypeYouWantToConvertTo { ... }
flip214 rakudo: augment Str { method Buf($x) { return $x; } }; my Buf $x='aaa'; say $x; 08:13
p6eval rakudo 7ce13d: Confused at line 2, near "{ method B"␤in Main (file <unknown>, line <unknown>)␤
08:13 perl4lea joined
moritz_ std: rakudo: augment Str { method Buf($x) { return $x; } }; my Buf $x='aaa'; say $x; 08:13
p6eval std 29215: ===SORRY!===␤Malformed augment at /tmp/Cv6DCVgTJb line 1:␤------> rakudo: augment Str ⏏{ method Buf($x) { return $x; } }; my Bu␤ expecting any of:␤ multi_declarator␤ typename␤FAILED 00:01 105m␤
moritz_ but you can't convert Str to Buf without specifying an encoding
which is why we have the .encode method
flip214 rakudo: augment Str { method Buf() { return self.encode('UTF-8'); } }; my Buf $x='aaa'; say $x;
p6eval rakudo 7ce13d: Confused at line 2, near "{ method B"␤in Main (file <unknown>, line <unknown>)␤ 08:14
flip214 rakudo: augment class Str { method Buf() { return self.encode('UTF-8'); } }; my Buf $x='aaa'; say $x;
p6eval rakudo 7ce13d: Re-declaration of type Str at line 2, near "; my Buf $"␤in Main (file src/gen_setting.pm, line 1671)␤
flip214 rakudo: class T { method Buf() { return self.encode('UTF-8'); } }; my T $x='aaa'; say $x;
p6eval rakudo 7ce13d: ( no output ) 08:15
08:18 perl4lea left
flip214 rakudo: class T { method BUILD(Str $a) { return $a; } }; my T $x='aaa'; say $x; 08:20
p6eval rakudo 7ce13d: BUILD declared as a method; you probably wanted to declare it as a submethod.␤
flip214 rakudo: class T { submethod BUILD(Str $a) { return $a; } }; my T $x='aaa'; say $x;
p6eval rakudo 7ce13d: ( no output )
flip214 Null PMC access in isa()
08:26 ejs joined 08:35 dakkar joined 08:36 ejs1 joined 08:45 ejs left 08:50 rindolf joined 09:01 dbrock` joined 09:16 riffraff joined 09:21 quantumEd left, meppl joined 09:40 mberends left 09:43 mberends joined 09:45 payload joined 09:46 riffraff left 09:47 riffraff joined 09:54 rgrau joined 09:59 ihrd left 10:01 ihrd joined 10:02 ihrd left 10:06 JimmyZ joined 10:07 xinming joined
JimmyZ ng: class Alpha { has @!a = < beta gamma >;}; 10:12
p6eval ng 812c27: No applicable candidates found to dispatch to for '&infix:<=>'␤current instr.: 'perl6;Alpha;_block22' pc 107 (EVAL_1:58)␤
lisppaste3 colomon pasted "broken from apparently infinite loop in S32-str/comb/t" at paste.lisp.org/display/91262 10:29
10:32 JimmyZ left
ng_feed rakudo-ng: colomon++ 10:36
rakudo-ng: Set appropriate default value for Any.comb's Regex argument.
pugs_svn r29216 | colomon++ | [t/spec] Switch m/oo/ to /oo/. 10:41
10:54 pmurias joined 10:56 payload left 10:59 envi^office left 11:03 agentzh left 11:10 dakkar left 11:11 pmurias left 11:15 jferrero joined
colomon errr... how do you get a capture in ng? 11:20
rakudo: " ghfhgfg " ~~ /^\s*(.*)\s*$/; say $0 11:23
p6eval rakudo 7ce13d: ghfhgfg ␤
colomon rakudo: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say $0 11:24
p6eval rakudo 7ce13d: ghfhgfg␤
colomon ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say $0
p6eval ng 36e263: Confused at line 1, near "say $0"␤current instr.: 'perl6;HLL;Grammar;panic' pc 519 (src/stage0/HLL-s0.pir:336)␤
colomon rakudo: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say $/[0] 11:25
p6eval rakudo 7ce13d: ghfhgfg␤
colomon ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say $/[0]
p6eval ng 36e263: Can't postcircumfix:<[ ]> foreign objects yet.␤current instr.: '!postcircumfix:<[ ]>' pc 240719 (src/gen/core.pir:0)␤
moritz_ ouch 11:26
11:29 SmokeMachine joined
colomon moritz_: oh, someone else is awake! 11:30
moritz_ just came back from lunch
ng_feed rakudo-ng: colomon++ 11:32
rakudo-ng: Turn on pos.t test.
colomon ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say $/
p6eval ng 36e263: ␤
colomon ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say ~$/ 11:33
p6eval ng 36e263: ␤
colomon bother. well, I have non-working versions of rindex and trim to show for my morning's efforts.... 11:34
moritz_ ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say ?$/ 11:37
p6eval ng 36e263: 0␤
11:37 beggars joined
moritz_ it doesn't match, which is why indexing into $/ doesn't work 11:37
11:41 ejs1 left
colomon so matching is broken? 11:42
broken/nyi?
moritz_ rakudo: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say ?$/ 11:43
p6eval rakudo 7ce13d: 1␤
moritz_ maybe it's not backtracking enough
pmichaud: see above, a regex doesn't match in ng that does in master (and should, IMHO)
12:01 ihrd joined, ihrd left 12:15 patspam joined, patspam left 12:21 iblechbot left 12:28 flip214 left 12:33 payload joined 12:44 beggars left
ng_feed rakudo-ng: colomon++ 12:47
rakudo-ng: Initial stabs at Any.trim and Any.rindex. Neither works, and rindex is commented out because it does not even compile yet.
lisppaste3 colomon pasted "Bus error in words.t" at paste.lisp.org/display/91266 12:58
ng_feed rakudo-ng: colomon++ 13:02
rakudo-ng: Implement Any.words.
13:05 payload1 joined 13:06 kst` joined 13:08 transplant joined 13:14 transplant left, payload left 13:17 charsbar left 13:18 charsbar joined 13:21 JimmyZ joined, mariano__ joined 13:29 cognominal joined 13:31 payload1 left 13:34 payload joined 13:35 cognominal__ left 13:38 clintongormley joined 13:39 clintongormley left 13:42 JimmyZ left 13:43 clintongormley joined 13:45 masak joined, clintongormley left 13:47 rindolf left 13:49 clintongormley joined, Exodist left
mathw I have just been very surprised to discover how many of my colleagues and my friends don't know how to write Makefiles 13:51
Are they really all that complicated?
masak to be honest, I only know the very basics.
I know that there be dragons in the whitespace handling.
jnthn I know that my make program has different ideas about whitespace to some other people's. 13:52
mathw jnthn: everyone I've spoken to so far would only use GNU Make anyway, so assume that's not an issue
jnthn mathw: Yeah, in that case it's not an issue.
mathw That's what I thought 13:53
jnthn mathw: It's more an issue for me when I hack makefiles, and then thanks to tab/space hanlding differences between gnu make and nmake I break the build.
mathw But then I'm from the perspective of having learned how to write Makefiles years ago
jnthn I'm not a makefile wizzard by any means, but I don't find the basic concept hard.
mathw It seems most of my colleagues do...
jnthn I think I understood prolog as "like doing all your programming using makefiles" at one point. ;-) 13:54
masak heh. that disregards backtracking. :) 13:55
mathw Actually that's a pretty good way to think about it
Except Makefiles don't go backwards, as masak said first
Of course, if you don't already grok Makefiles, it doesn't help your Prolog
masak yesterday I started thinking about backtracking keywords in a programming language, and how they would look. 13:56
mathw They look like this: !
Everything else is implicit :P
masak I think i'd better explain using a nopaste. hold on. :)
13:59 cognominal left
moritz_ masak: I've seen some backtracking keywords in lisp-like languages 13:59
masak moritz_: cool. which ones? 14:00
mathw Does anybody know if Windows has anything akin to popen()? 14:01
mberends the only problem I had with Makefiles so far was that 'man make' is woefully inadequate. The solution is to keep a copy of www.gnu.org/software/make/manual/ handy.
moritz_ masak: I forgot :(
PerlJam greeble 14:04
zaslon loljnthnhazblogged! jnthn++ 'Failure()<0xb5098484>': Failure()<0xb50979f8>
masak zaslon: whereas ng doesn't know how to fail, you sure do. :)
zaslon Sorry, I don't understand that command
PerlJam prolog is the only language I've ever run across (that I can recall) that has "backtracking keywords" 14:05
14:05 iblechbot joined
colomon PerlJam: I've seen implementations of prolog in lisp... (mind you, that was nearly 20 years ago now, so the details are very fuzzy) 14:07
zaslon loljnthnhazblogged! jnthn++ 'Laying the role meta-foundations': use.perl.org/~JonathanWorthington/j...3?from=rss
colomon PerlJam: Do I need to be writing the first p6 advent calendar post for tomorrow?
14:07 cognominal joined
jnthn zaslon: I blogged that AGES ago! 14:07
zaslon Sorry, I don't understand that command
PerlJam colomon: if you want. If not, I can probably do it tonight.
colomon: Did we ever decide where these posts would go? 14:08
colomon PerlJam: Not here. Don't know what discussion there has been on the wave.
PerlJam colomon: none really :)
I wonder if we can get perl6advent.blogspot.com or something and go from there. 14:09
colomon PerlJam: I just figured we'd pick a blog that was easy to edit for the "table of contents" post, and everything else could go wherever.
PerlJam: oooo, interesting idea!
PerlJam I've got a meeting at work shortly and some other tasks to do this morning, but if you want to try to do that, that would be excellent. 14:10
colomon Let me see what I can do. (While $work compiles, honest.)
PerlJam Otherwise, I won't be too available for the next 2-3 hours.
14:10 [particle]1 is now known as [particle]
masak colomon, PerlJam: how are you planning to assign the days to different people? 14:11
colomon I've only got about 30 minutes, then I've got to get cleaned up to take the boy to storytime at the library.
PerlJam masak: volunteer for a day and just do it! :)
masak PerlJam: for 24 days?
PerlJam: how many volunteers?
PerlJam I dunno. As many as we can cajole on #perl6 :) 14:12
colomon I think we have four or five at the moment?
masak that sounds good.
jnthn colomon: I'll volunteer to write one. I may need minor cajoling. :-) 14:13
PerlJam meeting time for me.
mberends what does a volunteer have to do?
colomon jnthn: write one or I'll keep inserting bugs into ng!
masak I like loose organizations in general, but I fear with too little structure, the advent calendar might come to a halt at day 11 or some such. :/
maybe a schedule where people could pick particular days, say on a wiki somewhere, would help counter that. 14:14
colomon perl6advent.wordpress.com 14:17
masak colomon++
colomon Looks like I've found the page to add contributors to the blog. May have to have a wordpress.com account to be one? 14:19
I've never actually used wordpress before, so this will be a bit of an adventure for me...
Oooo, invites. 14:20
masak: using you as a guinea pig... 14:22
masak excellent.
I think I already have a wordpress account, for what it's worth.
colomon brushingupmyknuth ? ;) 14:23
Does someone have an e-mail for PerlJam? 14:24
moritz_ perlpilot at gmail or so
colomon github gives it as duff at pobox. 14:25
masak colomon: it was an idea I had once, to plod through all the Knuth exercises. 14:26
moritz_ that's sounds better :-)
colomon masak: It's a brilliant and brave idea.
masak colomon: one might say that Perl 6 has nowadays occupied that slot in my life, though.
colomon: I might take it up again some time.
colomon masak: understood.
moritz_ *all* the knuth excercises? 14:27
that was... ambitious :-)
masak I had that vice already then. :) 14:28
colomon masak: In theory I add you and PerlJam as contributors. though it's not actually showing up on the users page. You may have to do something with the invite?
masak ok. 14:29
moritz_ if you want a guest post from me on one of my favourite topics, I might give it a shot
colomon moritz_: sounds great.
moritz_ I guess you want things that already work in Rakudo? 14:30
jnthn
.oO( There's more than one way to Christmas )
colomon I was certainly thinking that, but I guess things that are super-cool but don't work yet might be worth including... 14:31
masak colomon: wordpress.com won't let me create a new account because my email address 'is already in use'. I guess that's because I have an account already.
colomon Maybe I have to add you from the other page, then? Hmmm... 14:33
jnthn: what e-mail address should I use for you?
jnthn [email@hidden.address] 14:34
<-- mynick
colomon done. And masak, you're added as a contributor, whatever that means. 14:35
masak colomon: ok. still trying to log in.
Wolfman2000 *yawn* morning. colomon: I think I added masak and others as contributers to my github project, but I don't know if they had to be sent emails or something. I just...went for it.
moritz_ on github no confirmation is necessary 14:36
jnthn colomon: oh...
colomon: I already have a wordpress account.
colomon: So not sure if this worked out.. 14:37
colomon: If you can add a username, mine there is "jnthnwrthngtn"
colomon what e-mail is it attached to?
jnthn The same one.
[particle] i shun caps, sure. but jnthn shuns caps and vowels! he brings coolness to a new level :) 14:38
14:38 Coke joined
colomon okay, you're in 14:38
jnthn colomon: yay, now I can has an email saying I'm added. 14:39
colomon: yup, I see it.
\o/
Coke ah, jnthn, my online documentation resource!
(jk)
colomon okay, off to storytime....
jnthn
.oO( Saying "The docs probably suck." makes me a resource? :-) )
14:40
pmichaud good morning, #perl6
masak morning, pmichaud.
jnthn morning, pmichaud
masak I still think having a schedule with days in which people can pick days would be an all-round good thing. 14:42
Coke ooh. I just figured out the answer to my question.
masak that way, the problem of finding a volunteer each day would not be as urgent.
moritz_ masak: then just start such a page somewhere
masak moritz_: nod. any suggestions? it needs to be somewhere everyone can edit. 14:43
moritz_ masak: pugs repo
masak ah, of course!
thanks.
masak makes it so
pmichaud ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say ?$/ 14:44
p6eval ng f2ba53: sh: ./perl6: No such file or directory␤
jnthn Coke: Happy to be of service! 14:45
;-)
moritz_ ng: " ghfhgfg " ~~ /^\s*(.*?)\s*$/; say ?$/ 14:47
p6eval ng f2ba53: 0␤
moritz_ rebuild finished
pmichaud ng: " ghfhgfg " ~~ /^\s*(.*)\s*$/; say ?$/ 14:48
p6eval ng f2ba53: 1␤
14:48 ruoso joined
pmichaud ng: " ghfhgfg " ~~ /^\s*(.*!)\s*$/; say ?$/ 14:48
p6eval ng f2ba53: 1␤
pmichaud ng: " ghfhgfg " ~~ /^\s*(.*!)\s*/; say $/ 14:49
p6eval ng f2ba53: ghfhgfg ␤
pmichaud ng: " ghfhgfg " ~~ /^\s*(.*?)\s*/; say $/
p6eval ng f2ba53: ␤
pmichaud ng: " ghfhgfg " ~~ /^\s*(.*?)$/; say $/
p6eval ng f2ba53: ␤
pmichaud looks like a backtracking bug somewhere.
pugs_svn r29217 | masak++ | [misc/perl6advent] added schedule
masak people, go and sign yourselves up for days! svn.pugscode.org/pugs/misc/perl6advent-2009/ 14:50
ANYONE, even lurkers, can volunteer.
Wolfman2000 masak: It may help if I understood WHAT we are volunteering for 14:51
pmichaud is there a readme or something that explains what....
masak it would be good to know we cover the first week before December begins.
oh, good point.
I'll write a micro-readme.
14:54 xomas_ is now known as xomas
pugs_svn r29218 | masak++ | [misc/perl6advent] added README 14:54
masak there you go. svn.pugscode.org/pugs/misc/perl6advent-2009/ 14:55
Wolfman2000 which blog is this?
I may have missed it during scrollback 14:56
masak another good point. :) I'll add the URL to the README.
it's perl6advent.wordpress.com/
14:57 Guest20022 left
Wolfman2000 since I covered my contributing here, does that mean I'm exempt from blogging? 14:57
masak someone with tuits is very welcome to pick a less clichéd skin for the blog.
Wolfman2000: no, it means you're an excellent candidate.
pmichaud ...should it perhaps got to blogs.perl.org ?
*go
masak pmichaud: I think it should.
Wolfman2000 I don't know if I have a blogpress account
Will you require me to make one? 14:58
colomon pmichaud: blogs.perl.org officially doesn't work yet, there was a blog post on it this morning. :)
masak++ for organizing!
pmichaud colomon: okay then -- didn't know about that :)
pugs_svn r29219 | masak++ | [README] added URL
pmichaud Anyway, I'll take at least one day in the first week. I'm not particular about the day.
colomon afk for real now.... 14:59
masak Wolfman2000: I think you'll need one for posting, yes.
Wolfman2000 apparently I have an account. Hang on while I retrieve my password
arnsholt What exactly does 哈 mean? 15:01
masak arnsholt: it represents the sound 'ha'.
arnsholt: TimToady tells me it means 'Pugs', which is oddly fitting :) 15:02
Wolfman2000 masak: I'm in. What account information do you require from me?
masak Lithos++ # weekly summaries
Wolfman2000 masak: "Pugs" can't work in kanji
pugusu, perhaps
masak Wolfman2000: colomon holds the keys to the blog.
Wolfman2000: no, not the sound. the meaning. 15:03
arnsholt masak: Oh, right ^^
masak Wolfman2000: 哈 sounds like HA1 in Mandarin.
Wolfman2000 masak: what information should I PM to colomon then?
masak Wolfman2000: what you can do already, though, is pick a couple of days in the schedule I linked to.
Wolfman2000: probably your username is enough. 15:04
Wolfman2000 lc(<--)
or <--.lc
masak yes. PM that to colomon. :)
Wolfman2000 Dec 1st is tomorrow, right? 15:05
Coke Wolfman2000: yes
Wolfman2000 and what do we talk about?
masak Wolfman2000: consider the outer world, which will receive Perl 6 as 24 gifts during December. 15:06
Wolfman2000: write about one such gift.
Wolfman2000 ...so we have to plan our gift giving so we don't overlap.
masak nah. :)
just write stuff, and let the anarchy sort it out. :)
Wolfman2000 ...despite my homework, I think I can claim the 1st of December easily. 15:07
masak OTOH, if you want to claim a topic, feel free to write as much in the schedule.
Wolfman2000 ah
masak Wolfman2000++
Wolfman2000 yeah, topic claiming is a good idea...
Dec 1: multi subs with constraints
masak maybe I should do the same, then.
that's a good topic.
Wolfman2000 ...though since my topic deals with types...I guess I"ll just say "someone else will explain the gift of types" 15:08
masak Wolfman2000: another tip is to nopaste a draft here before you post, so that we can all praise/comment/improve.
Wolfman2000 or I can keep mine generic
masak: point
masak Wolfman2000: don't worry too much about introducing things in the right order.
Wolfman2000 alright, what's another good day...well, seems like you have all of the Wednesdays
masak it's not a course book.
yes, for some reason I took the Wednesdays. :)
it doesn't matter to me though, so feel free to move me over if you want one. 15:09
Wolfman2000 Wednesdays are generally bad for me
...I may as well stick to Tuesdays then
I just have to come up with 3 more topics
masak no rush. 15:10
Wolfman2000 let's see...grammar tutorial, since I've done minor work in that.
masak that's way too big a topic to claim. :)
Wolfman2000 ...you're right
I can do a small part, such as token/role { stuff } and then using the token/role
masak that sounds good. 15:11
Wolfman2000 ...my caesar cipher program can come in handy: letter rotating with comb and map 15:12
masak that sounds nice.
maybe we could agree on some small gimmick, such as "On December 1, my Perl 6 gift is: multi subs". 15:13
Wolfman2000 which leaves the final topic...up in the air for now
"(Hello in a foreign language), I am (name), and on December (date), my Perl 6 gift is: (gift)" 15:14
jnthn
.oO( On the first day of Christmas, my Perl 6 brought to me, dispatch with a multi )
Wolfman2000 I know the first part is basically copying the Nostalgia Critic.
jnthn: I'd like to think of this Perl 6 Advent thing as more than just Christmas here.
masak jnthn: we have more than 12 days. :)
Wolfman2000 We can cover Hannukah and Kwaanza easily.
jnthn masak: Yeah!
masak: Couldn't resist the opportunity for corny/bad poetry though :-) 15:15
Wolfman2000 So...
colomon: You may want to make sure that blog of yours supports UTF-8 properly!
brb/afk while I get ready to head off to school. I'm almost done with this semester! :D
masak Wolfman2000: have the appropriate amount of fun! 15:16
15:16 envi^home joined
carlin zaslon: add perl6advent perl6advent.wordpress.com/feed/ 15:17
zaslon I am now following perl6advent's blog
carlin zaslon: link perl6advent
zaslon perl6advent's blog is at perl6advent.wordpress.com
15:17 PacoLinux joined
masak phenny: tell colomon that it may be a good idea to write an 0th blog post today, which introduces the whole Perl 6 Advent Calendar endeavour to the world. 15:18
phenny masak: I'll pass that on when colomon is around.
masak goes to buy food 15:19
15:19 masak left 15:23 IllvilJa left, colomon left 15:24 colomon joined 15:29 KyleHa joined
frettled Good news, everyone! It turns out that Planet Perl Six can be configured to grab posts from a blog that contains specific keywords, rather than just shoving out all there is. So it's possible for someone to have a more general-minded blog, yet get their Perl 6 related blog posts at the Perl 6 planet. Woohoo. 15:34
Of course, when I asked, the answer was only «Yes, it's possible», nothing more, but hey, it was a technically correct answer. 15:35
moritz_ frettled: and, was your blog added?
obra: are you the owner of planetsix?
frettled moritz_: apparently not, I sent a response asking how I get my blog added. 15:36
Wolfman2000 done with showering and whatnot 15:37
I'll have the laptop packed up within 20 minutes
obra moritz_: I ..was. A long time ago. I believe others can edit it
Wolfman2000 so any last minute things I need to know before I head off, now's the time.
obra moritz_: give me urls 15:38
moritz_ obra: howcaniexplainthis.blogspot.com/ # filter for the Perl 6 tag (or keyword)
obra moritz_: RSS/Atom feed urls please. with the filter in place
moritz_ obra: so in future should I send people to you? or to [email@hidden.address]
15:39 payload1 joined
obra I just have an ini file to work with 15:39
frettled obra: ah, urhm, blogspot.com doesn't provide an in-place filter
15:39 payload left
obra moritz_: send mail to [email@hidden.address] cc me asking about helping maintain it 15:39
moritz_ obra: ok, thanks 15:40
obra frettled: we're using planet. afaik, planet doesn't have such a feature
frettled obra: aaaw :(
I should get off my lazy bum and get working on the Oslo.pm planet. 15:41
obra frettled: you might be able to use feedburner or something to get a filtered feed for us 15:42
frettled obra: aha, I didn't think of that.
It's also a part of the don't-be-evil company, I see. 15:43
obra is it now?
15:43 payload1 left
obra i've gotta run 15:43
15:43 payload joined
obra if you want a feed added for now, just mail [email@hidden.address] 15:43
frettled obra: okay, thanks. 15:45
15:47 colomon left, colomon joined
Wolfman2000 is colomon's connection alright? 15:47
Khisanth for some value of ... 15:48
arnsholt frettled: I think Yahoo has an app that lets you create custom filters 15:51
Yahoo Tubes, IIRC
frettled arnsholt: Feedburner evidently doesn't quite do it.
arnsholt: wooh, the intertubes!
arnsholt Ah, no. It's Yahoo pipes 15:52
pipes.yahoo.com/pipes/
jnthn A series of pipes just doesn't have the same ring to it. 15:53
arnsholt Well, what can you do? =)
frettled Pipes of peace?
[particle] maybe it's a suite of pipes 15:54
15:55 colomon_ joined, nihiliad joined, colomon left, colomon_ is now known as colomon
Wolfman2000 better now colomon? 15:55
frettled arnsholt: whoa, they were about to remove the entire service in August 15:56
15:56 Psyche^ joined, SmokeMachine left 15:58 Patterner left, Psyche^ is now known as Patterner
PerlJam meeting let out early 15:58
colomon++
Wolfman2000 phenny: tell colomon username for wordpress is wolfman2000. I don't know if he got it previously due to the evil PEER 15:59
phenny Wolfman2000: I'll pass that on when colomon is around.
Wolfman2000 and with that, I'm out
PerlJam I think the Dec 1 entry should be another post on getting and installing rakudo (preferably by someone who hasn't done it much before)
Wolfman2000 ...I'm not prepared to give that topic discussion. 16:00
We'll talk more about this when I'm done with classes for the day. Hopefully you'll be up in about 10 hours.
16:00 Wolfman2000 left
PerlJam That way, when read as a whole later, the reader has good information to execute the code in the later entries. 16:00
16:02 nihiliad left 16:08 nihiliad joined 16:13 KyleHa left 16:20 colomon_ joined, colomon left, colomon_ is now known as colomon 16:24 Coke left 16:27 SmokeMachine joined
frettled Ye gods, this pipe tool is clunky, but it just might work. 16:27
This looks like it's okayish: pipes.yahoo.com/pipes/pipe.run?_id=...render=rss 16:31
frettled send off a mail to webmaster + obra with that link. :) 16:32
16:33 KyleHa joined
frettled arnsholt: Thanks for the tip, BTW. 16:36
16:36 colomon left
arnsholt You're welcome 16:36
Anything that lets me do something other than schoolwork =)
frettled Oh, OH! Muahhahahaa. 16:41
16:47 colomon_ joined 16:54 pmurias joined
pmurias ruoso: hi 16:54
colomon_ is back from storytime (mostly anyway -- out in the car with the MacBook and the sleeping boy). 17:03
phenny: tell Wolfman2000 For some stupid reason, I need the e-mail address you used to subscribe to wordpress, rather than your wordpress id. 17:07
phenny colomon_: I'll pass that on when Wolfman2000 is around.
17:11 justatheory joined 17:16 riffraff left 17:17 payload left, cotto_w0rk is now known as cotto_work 17:18 cotto_work left 17:19 cotto_w0rk joined, cotto_w0rk is now known as cotto_work 17:34 PZt joined 17:36 stephenlb joined
zaslon loljnthnhazblogged! jnthn++ 'Failure()<0xb77859d4>': Failure()<0xb77844a8> 17:39
17:40 Coke joined
zaslon loljnthnhazblogged! jnthn++ 'Laying the role meta-foundations': use.perl.org/~JonathanWorthington/j...3?from=rss 17:42
colomon_ zaslon: yes, we got the idea.
zaslon Sorry, I don't understand that command
jnthn Is this a hint that I need to blog some more or something? :-) 17:44
colomon_ zaslon is trying to make it look like you blog a lot so that you can focus on ng. ;) 17:45
17:45 jferrero left
colomon_ rakudo: say (1, 2, 3, 4, 5, 6).max 17:49
p6eval rakudo 7ce13d: 6␤
colomon_ rakudo: say (1, 2, 3, 4, 5, 6).max(3)
p6eval rakudo 7ce13d: No applicable candidates found to dispatch to for 'max'␤in Main (file <unknown>, line <unknown>)␤
colomon_ pity, that would be handy
Coke what does the # there signify? EOF? 17:50
(in 6#)
17:51 fridim_ joined
moritz_ Newline 17:51
(not a # though, but a N/L character)
17:53 pmurias left
Coke ah. that used to be something that looked like N/L, no? 17:54
TimToady still is
phenny TimToady: 00:20Z <Juerd_> tell TimToady Could you provide (old or fresh) citations for the three [citation needed]s at en.wikipedia.org/wiki/Perl_6?
Coke ah. I presume that whatever terminal magic I setup to be able to view the non-breaking space properly has altered my view of this character. whee. 17:55
Tene Coke: what's the proper view of &nbsp; ? 17:56
TimToady seems to me it oughta look like a space :)
Coke Tene: was trying to edit one of the docs in pugs, and the nbsp there was garbled.
and after (I think it was mortiz++) helped me, they now do, in fact, look like spaces. 17:57
TimToady perhaps it's a font issue
Tene ah
moritz_ Juerd_: just put up a page on perl6.org/facts/ that contains the facts that wikipedia wants citatations for :-)
Coke TimToady: this is exactly why I feared the unicode aspects of perl6. =-) 17:58
Coke idly wonders if there is an acid test for unicode. 17:59
18:00 payload joined 18:03 envi^home left
Coke (not that we shouldn't drag ourselves into the future, mind you.) 18:05
18:07 alester joined, alester left
Juerd_ moritz_: I'm not qualified to determine facts :) 18:15
colomon_ finally has a build of $work libraries! (Do they work? Who knows!) 18:20
18:28 hercynium joined
colomon_ Three work, the fourth bombs out. Guess it could be worse... 18:33
18:42 dakkar joined 18:43 REPLeffect_ joined, quantumEd joined 18:44 cdarroch joined 18:52 KyleHa left
colomon_ PerlJam: ping? 18:57
diakopter ng: say 18:59
p6eval ng f2ba53: ␤
diakopter ng: .say 19:00
p6eval ng f2ba53: Mu()␤
colomon_ no way! 19:01
diakopter mu way
colomon_ MOO! 19:02
19:08 rfordinal joined 19:15 IllvilJa joined 19:20 Nex6 joined 19:21 nihiliad left 19:22 mlawren joined, mlawren is now known as markl1
markl1 rakudo: say <>.WHAT 19:23
p6eval rakudo 7ce13d: List()␤
19:24 markl1 left, nihiliad joined 19:25 KyleHa joined
colomon_ rakudo: say Nil.WHAT 19:25
p6eval rakudo 7ce13d: Nil()␤
19:30 hercynium left
diakopter ng: ::say.WHAT 19:31
p6eval ng f2ba53: Null PMC access in find_method('WHAT')␤current instr.: '_block14' pc 29 (EVAL_1:0)␤
diakopter ng: say::say.WHAT
p6eval ng f2ba53: Null PMC access in invoke()␤current instr.: '_block14' pc 29 (EVAL_1:0)␤
diakopter ng: say &:: 19:33
p6eval ng f2ba53: Confused at line 1, near "say &::"␤current instr.: 'perl6;HLL;Grammar;panic' pc 519 (src/stage0/HLL-s0.pir:336)␤
diakopter std: say &::
p6eval std 29219: ok 00:02 126m␤
mberends cool SVG demo (posted by warewolf++ in #perl@irc.perl.org): people.mozilla.com/~vladimir/demos/photos.svg 19:34
moritz_ nice 19:35
mberends there was a 32" hardware one of those at last weekend's computer fair, multi touch sensitive, called "Microsoft Surface" 19:37
19:37 clintongormley left
mberends built horizontally into a table 19:38
the JavaScript in the source of the above url looks very nice. let's steal it :) 19:40
19:41 rgrau` joined 19:42 TimToady sets mode: +v iblechbot, TimToady sets mode: +vvvv ilbot2 ilogger2 IRSeekBot lambdabot, TimToady sets mode: +vvv lisppaste3 p6eval phenny, TimToady sets mode: +vvv pointme pugs_svn zaslon 19:46 rfordinal left
IllvilJa dukeleto: would you be ok with adding into Math::MatrixReal something that corresponds to Math::GSL::Vector::normalize() ? 20:00
That is, if I manage to create a patch that implement it, would you accept it (given the code itself is of sufficient quality)? 20:01
(What I'm talking about is simply to implement a method in Math::MatrixReal that allows for conveniently computing a unit vector for a vector represented as a column vector matrix) 20:02
dukeleto IllvilJa: hello! yes. 20:07
20:26 perigrin joined 20:28 ShaneC joined 20:29 wknight8111 joined 20:32 mariano__ left 20:37 payload left 20:38 mariano__ joined 20:45 Exodist joined 21:00 cotto_work left 21:01 cotto_work joined 21:03 Coke left 21:11 cognominal left 21:12 payload joined 21:17 pmurias joined 21:19 colomon joined, colomon_ left 21:25 KyleHa left 21:27 ruoso left 21:29 colomon left 21:31 an0n1m8t3r joined 21:33 an0n1m8t3r left 21:41 hakmn joined
hakmn i am tryin to execute shell-script using .cgi ...but have a problem in some phases 21:42
here's .cgi pastebin.com/d7a1aec6f & the shell script i' like to execute fpaste.org/VUx5/
i am able to echo but not execute adsl-stop command 21:43
mberends hakmn, are you sure you're in the right channel? 21:44
here is for developing Perl 6, and is not doing CGI all that much 21:45
hakmn ok thankyou
21:45 hakmn left
mberends ...good luck 21:45
Cyrus Wacky. 21:46
BinGOs they are getting the desired reaction on #perl at the moment
But if perl6 isn't for CGI what good is it!? 21:47
moritz_ BinGOs: writing books about it, and becoming rich
or so I have been told
BinGOs Aha. There is a niche for your profiteering then 21:48
Perl6 CGI Cookbook
21:51 colomon_ joined
frettled Perl 6 is for teh make u rich, mon! 21:53
Just wire me some money at … ;)
mberends frettled: but wotcha gotta do 2 get rich mon? 21:54
frettled mberends: perl it!
mberends frettled: aaahh
21:54 frettled sets mode: +o mberends
mberends 's op 21:55
jnthn whoz?
sjohnson BinGOs: all the non CGI stuff is pretty cool
mberends all da perl haxxorz op 21:56
sjohnson <-- 21:59
perl hacker in training
frettled phit
22:00 masak joined
masak did somebody say 'haxxorz'? :) 22:01
mberends did that trigger a bot on your computer? 22:02
moritz_ masakbot!
22:02 frettled sets mode: +o masak
frettled masakbotwithkanelbulle 22:02
masak mmm, op.
sjohnson trigged his hax0r-like alter-ego 22:03
masak frettled is being adorably native again.
sjohnson unlike IE's javascript parser 22:05
masak :D
frettled I don't think «adorable» is something you'd want to use without a negation then, no.
argh. stupidfsdfasghawebserver. *idle 22:06
masak now I don't really know what frettled is being. :) 22:07
mberends frestrated
masak 哈哈
frettled masak: I love those little guys with the Chinese swords. 22:11
22:12 synth joined, arthur-_ left
masak frettled: are you under the centuries-old western impression that every hanzi is also a picture? :) 22:13
22:14 nickgibbon left
masak frettled: this kind of hanzi falls into the category 'sound-meaning compound', with the sound being contributed by what you denote 'those little guys' and the meaning by 'the Chinese swords'. 22:15
sjohnson (;'-`)
frettled masak: I thought you used them specifically because they bore that resemblance.
quantumEd (;`-')
masak frettled: no, I use them because I think they are much more sensible than 'LOL' as a marker of laughter.
22:16 SmokeMachine left
frettled masak: aha 22:16
jnthn frettled: Yeah, I coulda sword he did too. ;-)
masak here we go... :)
frettled :D
jnthn \o/ I finished my .Net code review work.
masak jnthn++
jnthn @rakudo-distractions.pop
lambdabot Unknown command, try @list
masak lambdabot is a rakudo distraction. :P 22:17
colomon_ @rakudo-distractions now emtpy....
lambdabot Unknown command, try @list
frettled @lambdabot-distractions
lambdabot Unknown command, try @list
masak @unknown-command-try-@list
lambdabot Unknown command, try @list
jnthn say @reason-we-hate-lambdabot.elems # Inf
masak works in ng? :) 22:18
frettled heh
jnthn ng: say @reason-we-hate-lambdabot.elems
p6eval ng f2ba53: Symbol '@reason-we-hate-lambdabot' not predeclared in <anonymous>␤current instr.: 'perl6;PCT;HLLCompiler;panic' pc 137 (src/PCT/HLLCompiler.pir:101)␤
jnthn ng f2ba53: Inf
aww!
frettled That was an awesomely useful error message! 22:19
jnthn "in <anonymous>" was probably unrequired noise.
22:19 mariano__ left
jnthn But yes, it's a lot awesomer than many of our errors. 22:20
frettled It's unrequired noise in that simple statement, but it might be helpful for more complex statements. 22:21
jnthn Yeah, true.
frettled If it's possible to make the verbosity of error messages depend on the size of the context, then that would be awesomest.
jnthn I mean, I'd want it if it actually had some useful location into. :-)
frettled m 22:22
22:28 IllvilJa left 22:33 jferrero joined, kkrev joined
masak last day of November blogging, and I have no idea what to do for the Perl 6 part. 22:34
kkrev where does the elf source live?
22:34 hercynium joined, iblechbot left
moritz_ in the pugs repo 22:34
masak misc/elf
moritz_ was looking in v6/ first 22:35
mberends masak, one question for you, are you still in a strange TDD loop on crack?
masak I was looking through the Elf source the other day.
mberends: yes, but I haven't pushed any of the code yet.
mberends: much of GGE was developed with that TDD framework.
no wait; all of it, in fact. 22:36
mberends maybe blog about your progress there
masak hm, yes.
time is running out for actually _doing_ anything today anyway.
moritz_ giat - the glacial, interactive test loop
rakudo: say "fiat".flip.succ.flip 22:37
p6eval rakudo 7ce13d: giat␤
masak 哈哈
colomon_ ng: say "fiat".flip.succ.flip
p6eval ng f2ba53: giat␤
masak ng" say 'succ'.flip.succ.flip
ng: say 'succ'.flip.succ.flip
p6eval ng f2ba53: tucc␤
moritz_ tucc - is that the Tux C Compiler? 22:38
masak must be.
with penguins doing all the JITting.
moritz_ better than what the bird does today :-) 22:39
mberends eating raw fish instead of memory
22:40 kkrev left
frettled Will we get to see lolmasakhazblogged before or after midnight? 22:42
masak only zaslon will tell.
moritz_ the answer is "yes", obviously
masak or Bool::True.
mberends FSVO midnight ;)
22:44 pnate joined
moritz_ masak: might I ask to you to write one adevent calendar entry about fmt? 22:50
masak moritz_: good idea!
I will.
22:52 IllvilJa joined
moritz_ adds another piece to his ever-growing list of Perl 6 TODO items: a Runge-Kutta module 22:53
22:55 wknight8111 left
moritz_ (for the non-math geeks: integrating linear differential equations) 22:55
22:55 rlarson`a joined
jnthn moritz_: I have a feeling I did that...a looong time ago when I was young. 22:55
(And not as a Perl 6 module ;-)) 22:56
masak awww.
22:57 pnate2 left
zaslon lolmasakhazblogged! masak++ 'November 30 2009 -- gobsmacked but still in the loop': use.perl.org/~masak/journal/39966?from=rss 22:57
masak yay! I don't need to blog every day anymore! :)
jnthn masak: You made it! 22:58
masak++
masak jnthn: though I missed November 20. :) 22:59
no wait, November 19. 23:00
mostly due to battery charger fail.
jnthn masak: bouncing *off
(not of)
Did you mean frickin' ?
masak oh. fixing.
jnthn Not frackin' ? :-)
I ain't heard the latter before ;-) 23:01
masak it's from Battlestar Galactica. :)
moritz_ suddenly December 23:02
jnthn omgdecember
enonovember
moritz_ and I've got a thesis to finish, christmas gifts to buy, Perl 6 to finish... all before christams
jnthn moritz_: Yeah but which one? ;-)
.oO( But professor, you didn't specify *this* Christmas for the thesis! )
23:03
moritz_ akshually the thesis is due Dec. 14 2009
jnthn ooh...that's soonish. 23:04
masak++ # nice post 23:07
lilstevey++ # also nice post
masak yes, lilstevey++ # use.perl.org/~lilstevey/journal/39965
jnthn .^add_method is *so* the way, but it's nyi in master. :-(
masak works in ng? :) 23:08
jnthn Because we were building classes at the "low level"
masak: Yes. *Every* method you write is added by a call to add_method on the metaclass in ng. :-)
23:08 pmurias left
masak every so often, I'm picking up the "I'm not worthy to talk on #perl6" meme in tweets and blog posts. 23:08
jnthn masak: It's one of the essential pieces for custom metaclasses, y'know. :-)
masak I just want to say to that: _I'm_ not worthy to talk on #perl6 -- and I talk all the time! :D 23:09
jnthn masak: Yes, I saw that. I find it a bit, well...it's not quite the environment we want.
masak jnthn: you think we are being to egg-headed sometimes?
jnthn masak: There *is* a lot going on here, which I guess can be intimidating.
masak maybe we should rap more.
jnthn masak: I think to a great degree it's inherent in what we're doing. 23:10
masak: Sometimes there just have to be deep discussions on hard design and/or implementation issues.
masak "y0 momma's metamodel is so fat, it needs another metamodel just to bootstrap!" 23:11
jnthn :-D
lol
masak "Earlier today, on the borderline of yesterday, masak provided the following example during our IRC conversation, whilst taking part in other discussions. I'm slightly in awe of the multitasking" # you should have seen audreyt++ :) 23:12
frettled jnthn: and it's entertaining and interesting to listen in when I can keep track. When I can't give track, I have no cause for complaint.
jnthn masak: I'm not sure that the need to speak in rhyme, would give the channel n00bs an easier time.
23:13 pnate left
masak jnthn: good point. 23:13
jnthn
.oO( And I don't use n00b to be derogatory, brothers realize I came from a meme factory... )
masak :) 23:14
now that I think about it, I find the high number of lurkers in here very comforting.
it means that even though much of the rest of the world has written off Perl 6, there is still a fair amount of interest from some people. 23:15
jnthn Yes, that's true. 23:17
frettled If people have written off Perl 6, is that to reduce their Perl 5 taxes?
masak
.oO( Perl tax evasion )
23:19
mberends masak++: nice that tote is keeping you going. Friendlier than the whip that pmichaud++ breaks out when there's no coding being done ;)
masak we'll know Perl 6 is taken seriously when you can no longer write it off in your tax form.
mberends: yes, much friendlier. and less imaginary, too. :) 23:20
jnthn ...it's imaginary?
.oO( $whip\i )
23:21
jnthn hopes to get a bunch of role bits sorted out tomorrow.
I think we're close to having a lot of the meta-model back in place, and properly this time. :-) 23:22
Provided I can make it work, infix:<does> and infix:<but> are now pure Perl 6. :-)
23:26 Nex6 left
masak cool! 23:27
perigrin yay 23:36
sjohnson y0
23:44 ihrd joined 23:57 ihrd left
diakopter ng: say do { }; 23:58
p6eval ng f2ba53: Null PMC access in type()␤current instr.: '_block14' pc 29 (EVAL_1:0)␤
23:58 meppl left