»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend! | Rakudo Star Released!
Set by diakopter on 6 September 2010.
lichtkind when does lines know when to read a file, when its a string quoted with the adverb :path ? 00:08
i mena the lines command 00:09
mean
00:10 justatheory left
lichtkind TimToady: and should chars for consistancy not return a list with all character which would in num context do the same as now? 00:14
00:16 mavrc left
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....dex_tablet 00:20
00:21 risou left 00:25 gimix joined, ch3ck joined
ch3ck rehi 00:25
lichtkind hai ch3ck 00:27
ch3ck hi lichtkind
lichtkind ch3ck: almost leaving can i help you? 00:28
ch3ck lichtkind: at the moment i don't need help, thx
lichtkind kthxgby :) 00:29
ch3ck bye
00:29 lichtkind left
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....dex_tablet 00:31
00:35 silug joined 00:36 sftp left
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....kup_tablet 00:47
tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....dex_tablet 00:52
00:57 bluescreen joined 00:58 Guest54531 left, bluescreen is now known as Guest3334 01:05 Trashlord left 01:17 rgrau_ left 01:33 envi joined 01:42 ch3ck3r joined 01:43 ch3ck3r left 01:50 QinGW joined 01:52 baest left 01:54 alester joined 01:57 masak joined
masak 'sup, #perl6. 01:57
01:57 baest joined
ch3ck gugu masak 01:57
masak :)
diakopter www.indeed.com/jobtrends?q=cobol,+a...ava&l= 01:58
masak is late with his November blogging today
diakopter: COBOL overtaking Perl? apart from that, I don't see anything in that graph that surprises me. 01:59
diakopter where do you see that
cobol's at the bottom 02:00
masak oh.
diakopter C# & javascript overtaking perl recently
masak right, that's C#.
then I have no further questions, your honor.
diakopter oh wait.. /me misread too. C# & javascript overtook Perl in mid '06\ 02:02
masak yes. 02:03
diakopter Perl seems to be converging with C++ though, maybe overtaking it eventually :)
scarily, the growth of php continues unabated 02:04
masak worse is better.
diakopter python rises quickly too
masak that sounds scary on many levels. 02:05
diakopter :P
pretty soon, all programming job descriptions will include all of these keywords ;)
SQL & C are way up there at 5% (of *all* job descriptions) 02:06
who knows if "C" is in programming context, though.
Khisanth indeed needs more colors ... 02:07
masak seems we need to do more of this: twitter.com/NegativeK/status/6463457343832065 02:08
ttjjss === tadzik?
seems so. tadzik++ 02:09
02:23 Chillance joined
colomon o/ 02:33
masak \o
02:34 ch3ck3r joined 02:38 ch3ck left 02:39 alester left 02:47 Raynes left 02:48 agentzh joined
dalek ecza: 148689c | sorear++ | / (4 files):
Use a more efficient method for boxing constants
02:54
ecza: 907d277 | sorear++ | / (2 files):
Box constants exactly once
odel: 5f2da69 | diakopter++ | / (3 files):
[Regex] start on PAST::Regex emission. Pending moar help from jnthn++
02:58
masak blog post! strangelyconsistent.org/blog/novemb...o-iron-out 03:03
sorry about the late. I deviated from my usual strict regimen of lots of Perl 6 and no socializing with friends. ;) 03:04
03:12 TheHarlot left, TheHarlot joined, whiteknight left
diakopter masak: wait. what's the distinction? ;) 03:25
masak heh :)
diakopter between Perl 6 and socializing with friends, I mean, of course 03:26
(in case someone didn't give me the benefit of the doubt in that statement :))
masak oh. thought you meant between lots of Perl 6 and little socializing with friends. ;) 03:27
alpha: class A { my $.x = 42; method foo { say $.x } }; A.new.foo 03:28
p6eval alpha : OUTPUT«42␤»
masak rakudo: class A { my $.x = 42; method foo { say $.x } }; A.new.foo
p6eval rakudo : OUTPUT«Method 'x' not found for invocant of class 'A'␤ in 'A::foo' at line 22:/tmp/Vf8EKOC9DJ␤ in main program body at line 22:/tmp/Vf8EKOC9DJ␤»
masak ah. that explains a lot.
masak submits rakudobug 03:32
rakudo: class A { my $x = 42; method foo { say $x } }; A.new.foo 03:34
p6eval rakudo : OUTPUT«42␤»
masak that works, though.
04:17 alester joined 04:27 Bzek left 04:28 Bzek joined 04:34 meppel joined
masak rakudo: sub foo {}; say &foo.wrap({ nextsame }) 04:37
p6eval rakudo : OUTPUT«2␤»
masak this is not spec-conformant, and there's a rakudobug about it in RT already.
but I wanted to ask: is there a way to query a wrap handle for the underlying wrapped function? 04:38
more generally, can the wrapping process be written out as Perl 6?
04:38 meppl left 04:39 kanishka left
sorear the wrapping process feels brokenly overengineered to me 04:43
masak can you back that up with reasons? because to the extent that I grok it, I quite like it. 04:44
I especially like the fact that a wrapping can be hotswapped without the programmer having to worry about the other wrappings above and/or below. 04:45
sorear look at jnthn's problems. sub revectoring can be orthogonal to dispatch
but it's not
masak I'm not familiar with the term 'revectoring'.
is it related to the thing with lexical caching?
sorear I'm not familiar with the term 'lexical caching'. 04:46
masak :)
sorear revectoring is just making a sub point somewhere else 04:47
masak I know that the set of multis that can be seen can vary between every lexical scope. what I meant with 'lexical caching' was simply storing that information on the lexical block somewhere after calculating it once.
sorear code indirections get called vectors sometimes. especially stuff like interrupt vectors and opcode vectos
masak ah. I'd never understood that usage of 'interrupt vector'. thanks. 04:48
TimToady masak: your blog is incorrect 04:50
see S02:3802
masak does so
er. but I know that part. 04:51
so I must have written something unclearly somewhere.
TimToady: where?
TimToady Won't work, due to a wonderful little invention called unspace, 04:52
that's in a qq, so it's not an unspace
masak oh!
TimToady mind, rakudo doesn't implement it right yet
masak I see.
TimToady but it's specced to work
masak that is news to me.
TimToady that's why I said it. :) 04:53
masak TimToady++
masak updates the post
oh, and by the way: that's good news. I like that a backslash solves the problem.
TimToady metoo, which is why we outlawed unspace in quotes (at top level only, of course) 04:54
masak oh, I remember that now. 04:55
rakudo: my $foo = "work"; say "This should $foo\[]"
p6eval rakudo : OUTPUT«This should work␤»
masak er.
rakudo: my $foo = "work"; say "This should $foo\</a>"
p6eval rakudo : OUTPUT«postcircumfix:<{ }> not defined for type Str()␤ in main program body at line 1␤»
masak submits rakudobug
rakudo: say "\<" 04:56
p6eval rakudo : OUTPUT«<␤»
TimToady std: my $x; "$x[$y]"
p6eval std a194beb: OUTPUT«===SORRY!===␤Variable $y is not predeclared at /tmp/IFbJELh2v3 line 1:␤------> my $x; "$x[$y⏏]"␤Check failed␤FAILED 00:01 121m␤»
TimToady std: my $x; "$x\[$y]"
p6eval std a194beb: OUTPUT«===SORRY!===␤Variable $y is not predeclared at /tmp/sMj1q7mt8A line 1:␤------> my $x; "$x\[$y⏏]"␤Check failed␤FAILED 00:01 120m␤»
TimToady oops
masak :) 04:57
TimToady hmm
04:57 ch3ck3r left
TimToady oh, of course 04:57
not a bug
masak nope.
TimToady std: my $x; "$x[syntax error]"
p6eval std a194beb: OUTPUT«===SORRY!===␤Undeclared routines:␤ 'error' used at line 1␤ 'syntax' used at line 1␤Check failed␤FAILED 00:01 121m␤»
TimToady std: my $x; "$x\[syntax error]"
p6eval std a194beb: OUTPUT«ok 00:01 120m␤»
TimToady that's better 04:58
masak \o/
std: sub syntax {}; sub error {}; my $x; "$x[syntax error]" 05:06
p6eval std a194beb: OUTPUT«ok 00:01 121m␤»
05:06 am0c joined
masak nom & 05:06
05:06 masak left 05:11 scp1 joined 05:33 meppel left 05:36 kaare joined 05:37 kaare is now known as Guest7281 05:41 QinGW left
lue ohayo o/ 05:50
sorear TimToady: which is more correct - the speccish rules about bracketed postfix constructs, or the STDish rules about <EXPR(item %methodcall)> <?after <[ \] ) } > ]>> ? 05:51
06:08 alester left 06:09 Raynes_ joined 06:10 AndroUser joined 06:11 AndroUser is now known as colomon-droid
colomon-droid o/ 06:12
06:13 Guest7281 is now known as kaare_, Raynes_ left 06:20 QinGW joined
TimToady sorear: I can't answer that until I know how they diverge 06:22
06:22 masak joined 06:24 colomon-droid left
lue hai masak o/ 06:30
masak greetings, lue. 06:31
lue: how's the Pod hacking coming along? 06:32
lue thanks for turning me to theoatmeal.com, by the way
masak you're welcome :) 06:33
lue OK-ish. I think there's a flaw in my understanding of grammars .oO(I should make a blag toast)
masak also, you should publish your code.
whole or in parts.
every time I do that, good comes out of it in one way or other. 06:34
sorear ===SORRY!=== Regex()<instance> at (eval) line 1
masak it's official. sorear has now transformed into a Perl 6 compiler. 06:35
sorear hee. 06:36
this stuff is breaking a lot
lue I will publish the problem code in my blog post (Although putting something on git that *doesn't work* seems silly to me, so not that kind of publishing.)
lue writes blog post
masak lue: as soon as the first test passes -- which is, like, five minutes into coding, right? -- you have something that no longer doesn't work. :) 06:37
dalek ecza: 62645be | sorear++ | / (2 files):
[v6] Add optional Niecza::Grammar use
masak sorear: how would you describe the current state of the niecza project? is there a file somewhere that describes the current state of the niecza project? 06:39
sorear in the past I'd been relying on test.pl for that
lue Let me say this: I haven't written a single test yet because there's nothing to test! :( 06:40
masak sorear: unless you're referring to a big comment header, that's not the level of accessibility I was referring to.
scp1 tests first! then more tests! the documenation, and then code!
masak lue: what scp1 said. 06:41
sorear TimToady: How is <blast> supposed to work? niecza is entering <blast> and immediately hitting <?before '{'> || <.panic: "Missing block">, and I can't see any reason why it *shouldn't*
masak lue: I see you have some TDD to learn and look forward to. when you do, I bet you'll like it.
scp1 It's awesome
masak it's even more awesome with something like tote. 06:42
oops. should have released tote by now... :/
scp1 What's tote?
sorear masak: hrm. Is there a good example of what you're looking for in Rakudo?
masak scp1: strangelyconsistent.org/blog/helpfu...d-on-crack
sorear: "Completed ROADMAP items" in github.com/rakudo/rakudo/blob/mast...cs/ROADMAP 06:43
lue I have yet to take a formal CS class (the best offered at my high school is the usual "And this is how you open WORD! Word is used to WRITE PAPERS AND STUFF!!1!") 06:44
.u interrobang
phenny U+203D INTERROBANG (‽)
sorear TDD isn't taught in real CS classes anyway 06:45
masak lue: I don't have a formal CS background either.
scp1 masak, Cool, have you started hacking on it yet? :)
masak lue: and what sorear said. it's more of an engineering thing.
scp1: oh, I've used it privately for over a year now...
scp1: (it rocks)
scp1 heh, nice
masak it's actually a little bit dangerous, from the viewpoint of forgetting to eat etc. 06:46
scp1 I have yet to manage to _install_ rakudo though :C Still stuck with perl5
masak, ooh... the world is small mate. god morgon ;) 06:47
masak I had tote set up to verbally reward me when I passed more tests. it says "checkpoint! yay!", which seems to trigger endorphin releases.
scp1: are you from .se?
scp1 masak, norrköping - I saw your github page 06:48
masak ooh.
uppsala here.
scp1 masak, you should push it, I want to see the source 06:50
masak I can make a gist. 06:51
it's still too tied to individual repositories, if I recall correctly. 06:52
oh yes. it hardcodes the files it's monitoring.
doesn't need to do that at all. but it does.
scp1: gist.github.com/709620 06:53
scp1 using inotify I guess?
masak I wish. 06:54
06:54 Raynes_ joined
masak seems I just poll modification times once every $SLEEP_TIME seconds. 06:54
06:54 Raynes_ is now known as Raynes, Raynes left, Raynes joined
scp1 Linux::Inotify2 is great (and inotify rocks) 06:54
masak also, when $loud is set, it uses the Mac OS X-specific command-line program 'say'. 06:55
scp1: yes. I've seen others use it for this purpose.
sorear masak: I'm writing up a prose status document now
masak sorear++
sorear I'd like to get niecza into a state where I can sanely ANNOUNCE: it before Tues
I'm not sure what that comprises though 06:56
I've never done this "releasing" thing before
masak cheers sorear on
06:57 wtw joined
tadzik sorear: what's wrong about the entry? 07:05
sorear tadzik: most likely it doesn't exist 07:08
masak tadzik++ # ttjjss.wordpress.com/2010/11/21/per...r-parsing/ 07:10
tadzik edenc++ and ruoso++ for coming up with the idea 07:11
sorear: github.com/parrot/parrot/commit/8e5d0aca8 here I am
oh wow, I'm mentioned on twitter again 07:13
moritz_ www.reddit.com/r/programming/commen...r_parsing/ 07:14
tadzik oh, someone courageous posted that on proggit 07:15
oh, hi moritz_ :)
sorear the problem may be your name. I hate encoding soup
moritz_ well, I might get a few downvotes, but I can cope with them :-)
sorear debugs some more
masak morning, moritz_. 07:16
moritz_ mornin' 07:17
sorear notices a lack of Encode:: calls in karmalog.pm
lue almost done writing blag toast 07:22
ololblagtime! rdstar.wordpress.com/2010/11/22/wh...%E2%80%BD/ 07:25
.oO(Hm. You'd think whatever controls URL encoding would've caught up to the 21st century by now...)
07:26
masak lue: first off, I would recommend always using || until the specific behavior of | is implemented in Rakudo. 07:27
lue: otherwise, when it finally is, all your code might break.
sorear lue: they have. it's quite specifically UTF-8 then encode bytes in here 07:28
hex
07:29 jfried joined
lue I'm referring to the way the encode them in URLs (the funny % stuff). I don't know, see that gives me the (false?) impression it hasn't caught up. 07:29
masak lue: secondly, as a purely stylistic micro-optimization, prefer using comma (',') to tilde ('~') when printing several strings in a 'say' call. it creates fewer strings internally, is therefore marginally faster, and is easier on the eye. 07:30
lue from quick skimming of S05, | would require terms to match the same beginning and end point, while || doesn't, right? 07:35
masak no, that's not the difference.
| does LTM, || does strict left-to-right.
lue: you have a variable called $file in the sub 'importformat'. it seems to contain the slurped contents of the file. this qualifies as confusing naming to me. YMMV. 07:36
lue: your file test.pod sounds like a genuinely good idea. I don't think you should remove it as soon as things work. 07:37
lue well, at least its current incarnation as a file in the top directory. (maybe expand & mv to t/ ?) 07:38
07:38 Raynes left
masak lue: here's why the line '=begin Text' doesn't match <directive><delimited>: the string 'Text' doesn't march the rule <blocktype> 07:39
(and boy would I sometimes like to have debug output that told me such debug information about my grammars)
HTH 07:40
lue *bangs head on nearby bangheadworthy object* 07:41
masak told you that more eyeballs would help :) 07:42
lue++ # blagging
dalek ecza: 72c4e12 | sorear++ | docs/ (2 files):
[docs] prose status, more LHF stuff
sorear masak: I'd like you to look at blob/master/docs/DIRECTIONS and tell me if that's what you wanted 07:43
lue
.oO(those ++'s look like bangheadworthy objects...)
07:44 Woodi left
TimToady sorear: blast has an alternation of <block> | <statement>, and should never LTM into block unless it starts with the '{' from the <?before '{'> 07:45
07:46 Woodi joined
sorear Shouldn't the || stop LTM 07:46
in <block>
TimToady only for the right side of the || 07:48
masak sorear: looking. 07:49
sorear Does [A || B] in general make exactly the same LTM as A?
TimToady yes 07:50
in this case, it can never call B via LTM
it's only there if you call <block> outside of an LTM
07:50 kjeldahl joined
TimToady in that case it might fail the || 07:50
sorear I had it that way earlier - it ran into issues with [ [A || B] | C ] 07:51
which will never match B
because LTM sees that neither [A || B] nor C has B as a prefix, and so tries neither
07:51 fhelmberger joined
TimToady that's correct behavior 07:51
masak sorear: DIRECTIONS -- very nice. just what I was looking for. 07:52
TimToady in that particular case, we could warn that B is unreachable
sorear so, concretely, "b" !~~ / [ [ a || b ] | c ] / ?
TimToady correct, that's how STD does LTM 07:53
in the block case, we can get to it by multiple paths
std: default 42 07:54
p6eval std a194beb: OUTPUT«===SORRY!===␤Missing block at /tmp/WuUqaJdQ3d line 1:␤------> default ⏏42␤Parse failed␤FAILED 00:01 117m␤»
sorear makes a one-line change to RxOp::SeqAlt::lad and runs the test
scp1 masak, I've started to implement it with inotify. Nice idea btw. 07:55
sorear +s
TimToady std: lazy
p6eval std a194beb: OUTPUT«===SORRY!===␤Bogus statement at /tmp/0jnDc4vQ4u line 1 (EOF):␤------> lazy⏏<EOL>␤Parse failed␤FAILED 00:01 119m␤»
TimToady that's dropping into <statement> instead of <block> 07:56
07:56 mavrc joined
TimToady whereas the default case is requiring a block by calling <block> directly 07:56
masak scp1: cool. let me know how it goes. 07:57
sorear looks like I added the test on Sep 7 00:23 07:58
sorear checks the irclogs
lue
.oO(As the clock struck midnight, lue wondered if sleep is something he should fight. He thought, .oO(Oh, plenty fine I'll be, cos I've got plenty o' caffeine!))
07:59
sorear TimToady: irclog.perlgeek.de/perl6/2010-09-07#i_2793271 08:01
08:02 kjeldahl left
sorear also, this is why a testsuite is awesome 08:04
I know I made the decision for || to kill LTM on purpose
so I git blame the test suite and it tells me exactly when I made that decision
TimToady yes, well, STD very much assumes that the LTM of A||B is the LTM of A 08:06
08:08 sECuRE joined
masak sorear: the Internet is not just some truck that I can dump stuff on. but backlog, RT, source repository, test suite and other similar digital containers are. I use them as only slightly detached extensions of my nervous system. 08:10
sorear has been known to use "bionic memory" to refer to irclogs 08:11
masak this is why p6eval is perhaps the most important bot around, too. its technological innovation is in some sense secondary to its social contribution: it brings Actual Code and its evaluation into the IRC conversation. 08:14
TimToady note that STD's behavior is in fact specced at S05:2607
s/specced/specced (poorly)/ # :) 08:16
moritz_ www.perlmonks.org/?node_id=872809 # it seems that for some developers it's REALLY hard to distinguis between a language and a compiler 08:17
frettled They wouldn't be Perl 5 users, by any chance? :)
08:18 redicaps joined
masak lue: in your blog header, what does "Rakudo Star release 0" mean? as far as I know, there never was a release 0, and besides we're already on the fourth-soon-fifth release. 08:18
sorear ok. blasts work.
dalek ecza: b85fe1c | sorear++ | / (2 files):
Revert 4819d25 - STD depends on opposite behavior
08:19
masak moritz_: the Update part of the top post is very cute, though. :)
moritz_: if one "can't hardly wait", does that mean that one has almost no problem waiting? :P 08:20
moritz_ :-)
lue I need to change that, too lazy right now though :) [I will create a special one for 23 Nov. that'll be created to last around 1 year]
moritz_ \o/ www.perlmonks.org/?node_id=872821 other monks now start with Perl 6 replies :-) 08:22
lue masak: release 0 was one way it was called initially [zero-indexing you know] 08:23
masak lue: I have no memory of that. but you may be right. 08:24
sorear masak: there is dialectal variation on the interpretation of double negatives in English, so it's best to avoid them in prose intended to be portable.
masak sorear: but sometimes, I can't not use them...
lue moritz_: I suddenly get an image of Catholicism and Protestantism, only s/Catholicism/Perl 5/ and s/Protestantism/Perl 6/ :)
masak "(Wow, I got the Perl 6 reply in before moritz!)" # :D 08:25
sorear you can still introduce infix:<Z> 08:26
masak I was thinking the same.
moritz_ I was wondering if I should :-)
masak except it doesn't work as a list-assoc infix in Rakudo :(
moritz_ zip() doesn't work either
masak alpha: 1,2,3 Z 4,5,6 Z 7,8,9; say "alive" 08:27
p6eval alpha : OUTPUT«alive␤»
masak rakudo: 1,2,3 Z 4,5,6 Z 7,8,9; say "alive"
p6eval rakudo : OUTPUT«No applicable candidates found to dispatch to for 'infix:<Z>'. Available candidates are:␤:()␤:(Any $lhs, Any $rhs)␤␤ in main program body at line 22:/tmp/C9tNScxicR␤»
sorear I think this is the first time I've seen spam on perlmonks 08:29
moritz_ not the first time for me :(
frettled lue: But are we talking about the People's Front for the Liberation Palestine, or the Popular Palestinian Liberation Front?
08:31 kjeldahl joined
TimToady zzz & 08:32
diakopter z 08:33
frettled ZzzZ? 08:34
08:35 Woodi left
lue The Front for the Liberation of Palestinian People of course! 08:36
08:36 PacoLinux left, Woodi joined
lue I think I've burned my eyeballs and relevant portions of my brain for tonight. Goodnight o/ 08:36
08:36 mavrc left
sorear and I've just utterly broken STD with that last push 08:39
frettled lue: Z tight
sorear my module Foo { } # Unable to parse module definition
actually, it's trying to parse Foo as the block 08:43
module { } # still works. I guess I broke <longname> 08:44
08:48 gimix left
sorear also broken: also is Foo; $Foo (but $! fine). All signs point to longname 08:54
08:59 baest left, baest joined
masak moritz_: by the way, I'm .25 through www.fanfiction.net/s/5782108/1/Harr...ationality -- it's way above my (admittedly unfounded) expectations on fanfic. 09:02
moritz_ masak: I'm through all the chapters now (finished on Saturday), and waiting for the next chapter :-) 09:03
masak it's still in progress? I'll read slowly, then :)
moritz_ but it's close to the end, I think 09:04
it's 60 chapters now, and maybe 2 more to go 09:05
masak oh, ok.
moritz_ it contains a lot of spoilers if you don't know all 7 books 09:07
masak luckily, I finished the last book right before I went to see the first last movie :) 09:08
I've had that as a tradition, to pre-read the books lazily.
moritz_ saw the movie yesterday 09:09
not bad, IMHO
I found it funny how Harry is supposed to see nearly nothing without his glasses, but you can look straight through the glasses without any distortions :-) 09:10
HarryS he got laser correction 09:11
off-camera
masak he's just pretending to be near-blind without them. simplest explanation. 09:12
moritz_ there's even a scene that's blurred before he puts on the glasses
09:13 hatseflats joined
masak moritz_: after reading part of the fanfic, it amuses me that your only nit seems to be about some refraction index or other. :P 09:14
moritz_ masak: I'm currently supervising a lab experiment about lenses :-)
there were other nits too, but most are really minor 09:15
masak: have you read about the safety rules for transfiguration already?
masak moritz_: yes, last chapter.
moritz_ masak: in the "order of the phoenix" movie Dumbledore turns some attacking magic by Voldemort into water :-) 09:16
masak hah :) 09:17
moritz_ (for the innocent bystanders: transfiguring things into liquids and gases is strictly forbidden, because transfigurations are not permanent, and it will harm life if some part of the body suddenly turns into something else) 09:20
sorear token alpha { <+INTERNAL::alpha+[_]> \w* } # Spot the bug
moritz_ not too hard :-) 09:21
09:25 tzhs joined 09:34 mavrc joined 09:36 timbunce joined 09:45 molaf joined 09:46 jasonmay joined
masak class Bug { has $.name }; my Bug $bug .= new( :name<Spot> }; # Spot the bug! :) 09:50
jnthn } not ) 09:52
masak oops.
moritz_ that's what you get for not testing the code you show us :-) 09:53
jnthn Let me guess. That was not the bug you were looking for. ;)
masak wasn't meaning to introduce an actual bug, just to make a bad pun.
09:54 redicaps left 09:59 plobsing left 10:01 gimix joined 10:03 am0c left 10:07 QinGW left 10:10 masak left 10:12 wtw left 10:14 Woodi left 10:15 wtw joined 10:16 Woodi joined
dalek ecza: 4dc0dbe | sorear++ | lib/Cursor.cs:
Subrule entry/exit for RX trace
10:20
ecza: 28f112a | sorear++ | / (3 files):
Fix stupid bug in alpha
10:26 Trashlord joined 10:41 dakkar joined 10:52 mikehh joined 10:56 leprevost joined
sorear more breakage - q"foo" -> Undeclared routine 10:58
moritz_ niecza: say q"foo" 11:00
p6eval niecza 28f112a: OUTPUT«foo␤»
11:04 wamba joined 11:05 zby joined
sorear moritz_: EWRONGMETALEVEL 11:15
moritz_ sorear: thought so
sorear niecza is miscompiling the STD parser
actually at this point it looks like a runtime bug
dalek ecza: 4b8ffc9 | sorear++ | lib/Cursor.cs:
Fix <.ws> LTM
11:16
11:18 nymacro joined 11:31 rgrau_ joined 11:35 nym joined 11:37 Woodi left 11:38 am0c joined 11:39 Woodi joined, nymacro left 11:43 am0c left 12:03 cognominal left 12:06 cognominal joined 12:16 Bzek left 12:29 orafu left 12:30 orafu joined 12:41 jaldhar left 12:42 daxim joined, Woodi left 12:43 Woodi joined, jaldhar joined 12:50 Trashlord left 13:10 plainhao joined 13:11 takadonet joined
takadonet morning all 13:11
13:12 tzhs left 13:19 MayDaniel joined 13:24 Patterner left
colomon \o 13:26
13:26 wamba left
takadonet o/ 13:26
13:30 nym left 13:34 rgrau_ left 13:35 Psyche^ joined, Psyche^ is now known as Patterner, nymacro joined 13:37 MayDaniel left 13:50 redicaps joined, kaare_ left 14:04 agentzh left 14:22 _kaare joined 14:23 wamba joined, lichtkind joined 14:28 tzhs joined 14:33 wamba left 14:34 sftp joined, wamba joined 14:35 wamba left 14:36 wamba joined 14:40 Guest3334 left 14:42 Woodi left 14:43 Woodi joined 15:00 araujo left
MindosCheng \o/ 15:01
moritz_ /o\
(rainy day here, need my arms for protection) 15:02
tadzik :) 15:03
lichtkind moritz_: its actually snow here
have to protect my herbs in the garden a bid 15:04
moritz_ when you go to work by bike, snow is less annoying than rain
lichtkind moritz_: true 15:06
moritz_: will you come to frankfurt?
15:06 alester joined
moritz_ lichtkind: when? 15:07
(though the answer is most likely "no" anyway)
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ble_tablet 15:08
15:08 pyrimidine joined, Woodi left
MindosCheng living in Tropical and subtropical for most of his life. 15:08
15:09 Woodi joined
lichtkind moritz_: wiki.perl-community.de/Community/Pl...p2010#Wann 15:10
15:13 araujo joined
moritz_ so, upcoming weekend 15:14
lichtkind yes 15:15
moritz_ negative; too much to do
15:17 Sarten-X left
lichtkind moritz_: i understand that one :) 15:18
moritz_: but i have friends in ffm so have several reasons
who is responsible for try.rakudo.org/ ?
please add perl6.org/documentation/ in the link section below 15:19
15:22 MayDaniel joined 15:25 wamba left 15:26 kanishka joined, kjeldahl left, wamba joined 15:28 Sarten-X joined 15:29 meppl joined 15:33 PacoLinux joined
lichtkind dalek: tell cygx please add perl6.org/documentation/ in the link section below on try.rakudo.org/ 15:37
15:37 tadzik joined
lichtkind @dalek tell cygx please add perl6.org/documentation/ in the link section below on try.rakudo.org/ 15:38
lambdabot Unknown command, try @list
lichtkind dalek tell cygx please add perl6.org/documentation/ in the link section below on try.rakudo.org/
moritz_ lambdabot? didn't we kick and ban that spammy bot for good?
15:40 wtw left
moritz_ lichtkind: I've added the link to the template. The next update from source should get it 15:41
lichtkind thank you 15:42
15:45 ch3ck joined 15:50 redicaps left 15:51 kjeldahl joined 16:00 flatwhatson left 16:01 nymacro left 16:05 MayDaniel left 16:06 silug left 16:13 flatwhatson joined
jnthn evening, #perl6 16:19
16:25 flatwhatson left 16:26 tzhs left 16:28 mkramer1 left 16:29 mkramer joined, wamba left 16:33 risou joined
lichtkind jnthn: greets 16:34
jnthn ahoj, lichtkind 16:36
16:36 Raynes joined
lichtkind ciau 16:37
jnthn: i want you to interview again for the perl 6 history tablet 16:38
16:38 flatwhatson joined
jnthn lichtkind: interview...uh-oh. :) 16:40
lichtkind dont worry i dont boost your ego just extract some vital infos for the docs :) 16:41
jnthn rakudo: my (@foo, @bar); @foo.cross(@bar)
p6eval rakudo : OUTPUT«Method 'cross' not found for invocant of class 'Array'␤ in main program body at line 22:/tmp/Ly4m3WwZjn␤»
16:47 wamba joined 16:48 wamba left 16:49 wamba joined 16:52 mila_ joined 16:54 MindosCheng left 16:55 mila__ left 16:57 bitter16 joined
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ble_tablet 16:58
colomon .cross? 17:00
17:02 timbunce left
lichtkind colomon: perlcabal.org/syn/S03.html#Cross_operators 17:06
17:06 risou_ joined
colomon huh. I don't think we implemented it that way.... 17:07
17:07 risou left
jnthn colomon: I didn't think tehre was a .cross method either. 17:08
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....lta_tablet 17:09
17:09 timbunce joined
colomon what sort of object is (<a b>; 1,2)? lol? 17:12
colomon suspects the spec has changed since we implemented Xop.... 17:13
jnthn I think it used to be a Slicel, but... :) 17:14
Maybe now it's a Lol
:)
17:14 justatheory joined 17:17 mssm joined
lichtkind perl 6 gets much more funny revently 17:21
recently
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....lta_tablet 17:25
17:27 nadim left 17:32 Guest3334 joined 17:35 Trashlord joined 17:37 cdarroch joined, cdarroch left, cdarroch joined 17:38 Guest3334 left 17:40 timbunce left 17:47 timbunce joined 17:53 envi left 17:57 impious joined 17:58 spq1 joined 18:05 dakkar left 18:13 silug joined
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ble_tablet 18:19
18:19 impious left 18:23 ch3ck left 18:25 mavrc left 18:27 mavrc joined 18:33 gavv\w left 18:34 aindilis left 18:35 nadim joined 18:37 leprevost left 18:41 bluescreen joined, bluescreen is now known as Guest9987 18:45 mavrc left 18:46 kanishka left
Tene phenny: tell cygx please add perl6.org/documentation/ in the link section below on try.rakudo.org/ 19:00
phenny Tene: I'll pass that on when cygx is around.
19:02 daxim left 19:15 neroxx joined
dalek kudo: 90cb844 | moritz++ | / (4 files):
[conf] rename revision comparison module
19:18
19:20 ch3ck joined
sorear 81.95%, 54m 45s... 19:31
good * #perl6
lue hello o/ 19:33
lichtkind Tene: thnaks but moritz done this already :) 19:35
lue: hi
sorear @part #perl6 19:36
19:36 lambdabot left
diakopter heh 19:36
sorear moritz_: please don't waste perfectly good ban slots on lambdabot, not while I have an admin bit on it anyhow
19:40 risou_ left
TimToady now that sorear++ is drawing within 9% of STD, I'd better start hacking on the std STD some more... :) 19:43
colomon ;) 19:44
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ble_tablet 19:45
moritz_ sorear: uhm, don't we have plenty of free ban slots? 19:59
dalek tpfwiki: (Herbert Breunung)++ | www.perlfoundation.org/perl6/index....ble_tablet 20:02
20:09 wamba left 20:12 wamba joined 20:13 pyrimidine left 20:15 sftp left 20:18 jaldhar left, sftp joined 20:21 sftp left, pyrimidine joined 20:22 sftp joined 20:29 plainhao left 20:33 neroxx left 20:34 fhelmberger left 20:37 XaRDaX joined 20:38 wamba left 20:41 wamba joined
jnthn nqp: sub foo(:$x) { say($x // 'ok'); }; foo(); 20:49
p6eval nqp: OUTPUT«ok␤»
diakopter nqpnet: sub foo(:$x) { say($x // 'ok'); }; foo(); 20:50
p6eval nqpnet: OUTPUT«␤Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object␤ at NQPOutput_1290459063.block_6 (Rakudo.Runtime.ThreadContext TC, Rakudo.Metamodel.RakudoObject Block, Rakudo.Metamodel.RakudoObject Capture) [0x00000] in <filename unknown>:…
jnthn needs to make those failures less noisy 20:51
diakopter lc()
20:53 icwiener joined
diakopter nqpnet: Capture.new.bind_pos(0, 4); 20:55
p6eval nqpnet: OUTPUT«␤Unhandled Exception: System.InvalidOperationException: No such method bind_pos␤ at Rakudo.Metamodel.KnowHOW.KnowHOWBootstrapper.<Bootstrap>m__7 (Rakudo.Runtime.ThreadContext TC, Rakudo.Metamodel.RakudoObject Ignored, Rakudo.Metamodel.RakudoObject Cap) [0x00000] in <filename unkno…
dalek odel: 3400d13 | jonathan++ | dotnet/runtime/Runtime/Signatures/SignatureBinder.cs:
[dotnet] Fix vivification/default values on named parameters.
jnthn diakopter: 20:56
$!cap := nqp::instance_of(NQPCapture);
s/NQPCapture/self/ 20:57
diakopter but I don't want that
I want an NQPCapture 20:58
jnthn oh...sorry, I mis-read
The issue is that in new you don't have an object yet
So this is setting $!cap in the type object. 20:59
diakopter oh, I see; build needs called
jnthn Which should probably explode.
diakopter oh I see the problem 21:00
new() *must* return self
jnthn Yes
diakopter ran into this other places too
moritz_ .bless NYI? 21:01
jnthn moritz_: or BUILDALL... 21:04
TimToady diakopter: eh? you mean the new self, not the invocant of the new method 21:14
jnthn nqpnet: my $x := NQPCapture.new; $x[0] := 42; say($x[0]); 21:20
p6eval nqpnet: OUTPUT«␤Unhandled Exception: System.InvalidOperationException: No such method new␤ at Rakudo.Metamodel.KnowHOW.KnowHOWBootstrapper.<Bootstrap>m__7 (Rakudo.Runtime.ThreadContext TC, Rakudo.Metamodel.RakudoObject Ignored, Rakudo.Metamodel.RakudoObject Cap) [0x00000] in <filename unknown>:0…
jnthn hmm 21:21
diakopter: Does that work for you locally?
diakopter: oh, fails for me locally too.
21:21 MayDaniel joined
lue ohayo o/ 21:27
sorear std: { my $x = 1 } 21:28
p6eval std a194beb: OUTPUT«Potential difficulties:␤ $x is declared but not used at /tmp/_MpplE2J2a line 1:␤------> { my $x⏏ = 1 }␤ok 00:01 121m␤»
colomon \o 21:29
21:29 rgrau_ joined 21:30 timbunce left
dalek odel: f531f67 | jonathan++ | dotnet/compiler/Actions.pm:
[dotnet] Until we're bootstrapped and can introspect, need to keep list of things declared in the setting so they're known as lexical; add NQPCapture to this list.
21:30
21:36 Guest9987 left 21:37 MayDaniel left 21:48 mssm left 21:49 Guest9987 joined 21:50 kjeldahl left 21:51 masak joined
masak \o/ 21:51
jnthn /o\
:)
lue \0/ 21:52
jnthn No need to be big-headed...
lue \./ # Fine. Have it your way, jnthn :)
masak now that's adaptability. 21:53
diakopter \O/
what's the O with the two dots over it
jnthn Head inflamed due to mosquito bites 21:54
lue a butterfly :)
diakopter I mean the capital O
TimToady diakopter: *you* last set the topic; you tell us
Tene diakopter: O􏿽xCC􏿽x88
.u O􏿽xCC􏿽x88
phenny U+004F LATIN CAPITAL LETTER O (O)
U+0308 COMBINING DIAERESIS (◌̈) 21:55
Tene is how I type it, at least
diakopter oo
\oo/
Tene .u Ö
phenny U+00D6 LATIN CAPITAL LETTER O WITH DIAERESIS (Ö)
Tene is an option too
diakopter \Ö/
21:57 pyrimidine left
masak Tintin: \δ/ 21:59
lue ***we now return to our regularly scheduled 0x7F and lower codepoints. Hopefully.***
Tim und Struppi! [as they're called in the German version of the comics] 22:00
diakopter "Cellar Door" 22:01
22:01 mssm joined
lue rakudo: my @a = <. 1 2 . 3 4>; my @b; for @a { if $_ == "." { @b.push(""); } elsif $_ ~~ /\d/ { @b[*-1] ~= $_; };}; say @b.perl; 22:03
p6eval rakudo : OUTPUT«["12", "34"]␤»
sorear TimToady: What are the other elements of $*FILE? 22:04
22:05 plobsing joined
diakopter rakudo: my @a = <. 1 2 . 3 4>; my @b; for @a { if $_ ~~ /\d/ { @b[*-1] ~= $_ }}; say @b.perl 22:06
p6eval rakudo : OUTPUT«Cannot modify readonly value␤ in '&infix:<=>' at line 1␤ in <anon> at line 22:/tmp/e9ai7QPP9B␤ in main program body at line 1␤»
lue my class C { has $.type; has $.stuff; method HAI($a) { $.stuff ~= $a };}; my @a = <. 1 2 . 3 4>; my C @b; for @a { if $_ == "." { @b.push(C.new(:type('.'))); } elsif $_ ~~ /\d/ { @b[*-1].HAI($_); };}; say @b.perl; 22:09
rakudo: my class C { has $.type; has $.stuff; method HAI($a) { $.stuff ~= $a };}; my @a = <. 1 2 . 3 4>; my C @b; for @a { if $_ == "." { @b.push(C.new(:type('.'))); } elsif $_ ~~ /\d/ { @b[*-1].HAI($_); };}; say @b.perl;
22:09 _kaare left
p6eval rakudo : OUTPUT«(timeout)» 22:09
dalek ecza: 36db696 | sorear++ | v6/tryfile:
[v6] fix canonicalize_name for GLOBAL::<$foo>
22:13
ecza: 05d77c1 | sorear++ | v6/tryfile:
[v6] fix labels, Z+, X+
22:18 Guest9987 left 22:19 rblackwe joined
lue gist.github.com/710830 this fits in the module I described yesterday. The problem is that the @.parsetree array ends up containing an object for each line in the file test.pod, instead of two objects for each block. 22:20
dalek lek-poller: 847cbe7 | sorear++ | push.psgi:
Save copies of GitHub announce packets
22:21
lue can anyone check it out for me? From what I did in p6eval above, it seems to be a problem with the object rather than the loop. 22:22
sorear first off, has Pea @.foo is BAD 22:24
type constraints and @ don't mix yet
22:33 Geoff__ joined 22:34 Geoff__ left, meppl left
sorear tadzik: I think I see the problem 22:46
JSON::XS automatically decodes UTF-8 input
the CREDITS parser doesnt'
so karmalog is comparing your name as a byte string (in CREDITS) to your name as a character string (in the commit packet) 22:47
22:47 wamba left
sorear perl5-- # for making $bytestring eq $charstring silently DTWT 22:47
22:52 wamba joined 22:53 wamba left 22:55 wamba joined
masak sorear: I hear they're thinking of fixing that in the subsequent major version. 22:56
oops. maybe let's not go there, on second thought. again. 22:57
sorear: I hear they're thinking of doing it in some other way in Perl 6. :)
23:02 wamba left 23:03 bluescreen joined
sorear masak: I'd be interested to hear /how/ 23:03
23:03 wamba joined 23:04 bluescreen is now known as Guest24760
masak sorear: by keeping a clear separation between sequences-of-chars and their encodings as sequences-of-ints. 23:04
sorear I understand you've done some work on this
masak where 'char' has some more formal definition, maybe 'grapheme'.
sorear: yes, I did GSoC work on the latter type, Buf. 23:05
23:05 spq1 left
masak sorear: this might clarify some aspects of it: strangelyconsistent.org/blog/str-an...get-it-now 23:06
sorear jul 09? didn't know sc.org was that old 23:08
masak it isn't. 23:09
I imported ~200 posts from use.perl when starting it.
Tene sorear: It's been around for forever; it just used to go by its acronym, SCO. It was involved with a lawsuit recently, which prompted the name adjustment. 23:11
masak would prefer not to talk about that
in other news, if you're using Linux you have to pay me license money.
lue noooo! 23:12
masak just kidding. that kind of trick is so 2003. 23:14
lue in the gist I put up earlier, I think method addline($stuffz) is to blame. 23:16
23:18 wamba left
lue I'll look at it later, maybe it'll make sense then. afk 23:27
23:29 meppel joined 23:30 meppel left, meppl joined
dalek lek-poller: 395a68f | sorear++ | modules/local/karmalog.pm:
Add ad-hoc github link shortening
23:33
23:34 whiteknight joined
dalek ecza: f958e9c | sorear++ | / (3 files):
Implement :i "str" / <sym>
23:34
23:34 XaRDaX left 23:38 colomon left 23:40 Guest24760 left, pyrimidine joined 23:42 pyrimidine left 23:53 bluescreen joined 23:54 bluescreen is now known as Guest99986 23:58 colomon joined
masak rakudo: sub foo($a, %h?) { bar($a, %h) }; sub bar($a, %h?) { say "alive!" }; foo(42) 23:58
p6eval rakudo : OUTPUT«Method 'HOW' not found for invocant of class 'Hash'␤ in 'bar' at line 1␤ in 'bar' at line 22:/tmp/dkqeNBk8Hm␤ in 'foo' at line 22:/tmp/dkqeNBk8Hm␤ in main program body at line 22:/tmp/dkqeNBk8Hm␤»
masak rakudo: sub foo($a, %h?) { say %h.WHAT }; foo(42)
p6eval rakudo : OUTPUT«Method 'WHAT' not found for invocant of class 'Hash'␤ in 'foo' at line 22:/tmp/qK5WsYzzEI␤ in main program body at line 22:/tmp/qK5WsYzzEI␤»
masak submits rakudobug
colomon masak++ 23:59
masak bug brought to you courtesy of a November being brought back from the Mostly Dead.