Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2008-08-10

Perl 6 | Reference Documentation | Rakudo

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:19 Auzon joined #perl6
00:26 fridim_ joined #perl6
00:38 meppl good night
01:13 idemal joined #perl6
01:16 pugs_svn r21876 | ruoso++ | [smop] more work being done on lexical scope. The test is still failing
01:21 Sinaps joined #perl6
01:50 Alias__ joined #perl6
02:09 justatheory joined #perl6
02:16 nothingmuch i think "polymorphic eval" is audreyt's fault... it sounds audreyesque
02:39 fernando joined #perl6
03:14 justatheory joined #perl6
03:37 fco joined #perl6
04:33 ashizawa joined #perl6
04:35 alester joined #perl6
04:41 pbuetow joined #perl6
05:25 ashizawa joined #perl6
05:35 Psyche^ joined #perl6
05:43 gaal Eval takes many shapes.
05:48 luqui joined #perl6
06:57 drbean joined #perl6
07:09 penk joined #perl6
07:13 iblechbot joined #perl6
07:15 fridim__ joined #perl6
07:31 elmex joined #perl6
07:32 iblechbot_ joined #perl6
07:45 barney joined #perl6
08:03 sri_work joined #perl6
08:23 iblechbot joined #perl6
08:38 ashizawa joined #perl6
08:39 fridim_ joined #perl6
08:41 iblechbot_ joined #perl6
09:00 iblechbot joined #perl6
09:13 penk left #perl6
09:14 charsbar_ joined #perl6
09:19 iblechbot_ joined #perl6
09:30 unenana joined #perl6
09:34 Schwern joined #perl6
09:37 iblechbot joined #perl6
09:46 cls_bsd joined #perl6
09:58 meppl joined #perl6
09:58 meppl good morning
09:59 iblechbot joined #perl6
10:10 barney joined #perl6
10:11 drbean joined #perl6
10:20 iblechbot_ joined #perl6
10:53 iblechbot joined #perl6
11:11 iblechbot_ joined #perl6
11:26 sri_work_ joined #perl6
11:31 iblechbot joined #perl6
11:57 lee__ joined #perl6
11:58 lee__ left #perl6
12:07 ruoso joined #perl6
12:12 iblechbot joined #perl6
12:13 lee__ joined #perl6
12:15 baest joined #perl6
12:15 lee__ left #perl6
12:17 cathyal joined #perl6
12:34 fridim_ joined #perl6
12:45 alester joined #perl6
12:55 iblechbot joined #perl6
13:08 jferrero joined #perl6
13:09 feifei joined #perl6
13:19 feifei joined #perl6
13:38 icwiener joined #perl6
13:47 icwiener left #perl6
13:48 jan__ joined #perl6
13:59 leto joined #perl6
14:03 iblechbot joined #perl6
14:22 iblechbot_ joined #perl6
14:26 cathyal joined #perl6
14:45 vixey joined #PERL6
14:57 iblechbot joined #perl6
15:01 ggoebel joined #perl6
15:03 cathyal joined #perl6
15:04 araujo joined #perl6
15:05 araujo joined #perl6
15:14 cookys joined #perl6
15:20 kanru joined #perl6
15:22 barney joined #perl6
15:56 pmurias joined #perl6
15:56 alester joined #perl6
16:07 axyjo joined #perl6
16:17 iblechbot joined #perl6
16:23 Limbic_Region joined #perl6
16:35 iblechbot_ joined #perl6
16:46 fridim__ joined #perl6
17:02 fridim_ joined #perl6
17:18 iblechbot joined #perl6
17:22 pmurias joined #perl6
17:37 iblechbot_ joined #perl6
17:38 cindy22 joined #perl6
17:45 edpratomo joined #perl6
17:46 ruoso joined #perl6
17:55 pmurias ruoso: hi
17:56 pmurias ruoso: are you blocking on any part of mold now?
17:56 iblechbot joined #perl6
18:02 [particle] joined #perl6
18:11 cognominal__ joined #perl6
18:14 iblechbot_ joined #perl6
18:28 alester joined #perl6
18:28 pmurias what is the printf format in C to print exactly n chars?
18:31 s1n rakudo: say 18446744073709551616/2
18:31 p6eval rakudo 29834: OUTPUT[9.22335e+18␤]
18:32 s1n pmurias: %5c (for 5 characters)?
18:33 s1n rakudo: say 18446744073709551616/1
18:33 iblechbot joined #perl6
18:33 p6eval rakudo 29834: OUTPUT[1.84467e+19␤]
18:33 s1n rakudo: 18446744073709551616/1
18:33 p6eval rakudo 29834: RESULT[1.84467e+19]
18:38 pmurias s1n: %s.* was what I was looking for
18:41 s1n pmurias: there's a number of ways really, if it's c++ you should really use setw or something similar
18:42 s1n if it's c, then you can use truncated strings, or the count specifier with a string
18:43 pmurias it's smop so it's C, truncated strings means?
18:43 pugs_svn r21877 | s1n++ | [spec] failing regression test due to division inaccuracy
18:45 pmurias i'm using a length field in our string object
18:47 s1n what are you doing with the length field? got an example?
18:49 pmurias sure, printf("%s.*",len,str);
18:51 pmurias walk&
18:52 s1n pmurias: yeah, that's more or less the runtime version of the length specifier (like how i showed the example with the 5 in it)
18:52 iblechbot_ joined #perl6
18:52 s1n err well, it could be compile time (i don't want to be misleading), but you get the idea, your use is perfectly valid
18:54 pmurias s1n: len and str are variables not just placeholders
18:55 pmurias it could be "%*c" as well
18:59 s1n Auzon: did you finish the gsoc work?
18:59 Auzon I have one more week of it.
19:00 Auzon So my project will be finished then (even though the test suite work will continue, and I'm likely to be around to lend an hour here and there)
19:01 pmurias walk&
19:05 s1n Auzon: well it's good to see the test suite moving forward, thanks for the work :)
19:06 Auzon It's been fun, and a great learning experience too.
19:08 axyjo left #perl6
19:10 s1n anyone have a link to the web-based spec (the one hosted on feather with the collapsable spec tests)?
19:10 Auzon http://perlcabal.org/syn/ <-- that?
19:10 lambdabot Title: Official Perl 6 Documentation
19:10 s1n Auzon: yeah, the cabal, thanks
19:11 iblechbot joined #perl6
19:13 s1n bah, nothing on either readline or eof
19:18 Auzon t/spec/S16-filehandles/io.t mentions readline
19:18 Auzon t/spec/S16-io/basic-open.t mentions eof
19:20 s1n yeah, it doesn't say what the return is when an eof is reached and whether a final readline is needed to detect the eof or it sets the eof after the last valid read
19:21 s1n right now, it looks like a final readline with undef returned is needed to detect it
19:21 s1n err well, it looks like it doesn't actually return undef
19:23 Auzon Yeah, .eof looks underspecced
19:24 s1n hmmm
19:24 Auzon I imagine it should return Bool::True after the final line so you can use it as: until $fh.eof {.say}
19:24 Auzon hm, well, imagine that I put a $fh.readline in there too.
19:25 s1n is there a good way to get a better print of a scalar (like how the evalbot does)?
19:27 Auzon Try .perl
19:29 iblechbot_ joined #perl6
19:31 s1n do you see where the =$filehandle operator is?
19:32 s1n nm, s03
19:35 Auzon =$foo is generic iteration so you can use it on Ranges and such
19:36 s1n yeah i read that
19:36 Auzon You can also .shift and .pop iterators, which looks like a lot of fun on filehandles.
19:37 s1n it looks like =$foo on filehandles isn't working
19:37 Schwern joined #perl6
19:38 s1n it looks like '@foo = =$bar' is returning the IOIterator, according to the spec, it doesn't look like it works
19:39 Auzon Jonathan++ worked on this recently, so let me dig up his notes on it
19:41 Auzon Ah, right, it's broken until Rakudo has lazy lists
19:41 s1n ahh
19:41 s1n got a link to his notes?
19:41 pmurias ruoso: what do you think i should have in the SMOP talk, a glimps of the metamodel,the smop RI stuff, m0ld?
19:42 Auzon http://www.rakudo.org/2008/08/fix​ing-bugs-and-looking-at-whe.html
19:42 lambdabot Title: Fixing bugs, and looking at where we're at - Rakudo.org
19:43 s1n Auzon: okay, that clears up that mess, thanks, i hadn't read his blog in a little while (maybe i should catch up)
19:44 Auzon Yeah, I subscribe to several P6 feeds to keep on top of things. Attending Parrotsketch is also informative, though it also has non-Rakudo stuff.
19:44 s1n i do too but i have been falling behind lately
19:45 s1n lots of non-technical things going on around here
19:47 pugs_svn r21878 | pmurias++ | [smop] fixed typo in lexicalscope, better printing of constant identifiers
20:01 pugs_svn r21879 | s1n++ | [spec] skip the prefix:= tests until lazy-lists are implemented
20:08 ruoso pmurias, although the metamodel is the most important aspect of smop, I think the roadmap on how to take a pragmatic approach to p6 will probably be more important...
20:14 pugs_svn r21880 | ruoso++ | [smop] lexical scope test pass, but lots of leaks happens...
20:29 rindolf joined #perl6
20:41 pmurias ruoso: should i put the first sketch of the talk on the wiki?
20:43 pmurias i hesitate a bit to go into the roadmap, as the things with have done are dwarfed by the things to yet remaining
20:56 meppl joined #perl6
20:56 pmurias s/to//
21:03 s1n it looks like S28 is still in draft, is that correct?
21:04 s1n if so, do we mark the S02-magicals as rakudo skip?
21:04 s1n (i guess i was soliciting moritz_ and pmichaud on that last question)
21:07 donaldh joined #perl6
21:11 pmurias ruoso: the leaks are caused by a circular refenernce with ¢continuation, not realeasing mold and something else
21:15 Alias_ joined #perl6
21:28 kanru joined #perl6
21:47 pbuetow_ joined #perl6
21:50 cognominal_ joined #perl6
21:52 Schwern joined #perl6
21:53 bicik joined #perl6
22:41 Limbic_Region joined #perl6
22:43 bicik left #perl6
23:36 alester joined #perl6
23:59 wknight8111 joined #perl6

| Channels | #perl6 index | Today | | Search | Google Search | Plain-Text | summary

Perl 6 | Reference Documentation | Rakudo