Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-05-01

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:00 Helios joined #perl6
00:01 drbean left #perl6
00:03 drbean joined #perl6
00:05 Helios left #perl6
00:07 Helios joined #perl6
00:07 fridim_ joined #perl6
00:08 fridim_ left #perl6
00:09 drbean left #perl6
00:10 drbean joined #perl6
00:15 drbean left #perl6
00:15 Helios left #perl6
00:16 Helios joined #perl6
00:16 drbean joined #perl6
00:18 Lorn left #perl6
00:19 Helios left #perl6
00:20 Helios joined #perl6
00:21 drbean left #perl6
00:22 drbean joined #perl6
00:24 Limbic_Region_ joined #perl6
00:24 Limbic_Region_ left #perl6
00:26 Lorn joined #perl6
00:26 Limbic_Region_ joined #perl6
00:27 Limbic_Region_ left #perl6
00:27 drbean left #perl6
00:28 drbean joined #perl6
00:31 ymasory joined #perl6
00:33 drbean left #perl6
00:33 SHODAN left #perl6
00:34 Lorn left #perl6
00:34 Helios left #perl6
00:35 drbean joined #perl6
00:37 Helios joined #perl6
00:39 drbean left #perl6
00:40 Lorn joined #perl6
00:41 drbean joined #perl6
00:45 drbean left #perl6
00:47 drbean joined #perl6
00:51 drbean left #perl6
00:54 drbean joined #perl6
00:57 whiteknight left #perl6
00:57 Enzo_ joined #perl6
00:58 drbean left #perl6
01:00 drbean joined #perl6
01:04 drbean left #perl6
01:06 drbean joined #perl6
01:08 Enzo_ left #perl6
01:12 drbean left #perl6
01:12 drbean joined #perl6
01:15 Helios left #perl6
01:17 drbean left #perl6
01:18 Moukeddar joined #perl6
01:19 Moukeddar hello
01:19 drbean joined #perl6
01:19 sorear hi
01:19 Helios joined #perl6
01:19 Moukeddar what's up?
01:23 drbean left #perl6
01:25 drbean joined #perl6
01:27 Helios left #perl6
01:28 Helios joined #perl6
01:30 drbean left #perl6
01:32 drbean joined #perl6
01:33 Moukeddar left #perl6
01:36 drbean left #perl6
01:37 drbean joined #perl6
01:41 drbean left #perl6
01:41 stepnem left #perl6
01:42 bluescreen10 left #perl6
01:42 drbean joined #perl6
01:43 Helios left #perl6
01:43 Helios joined #perl6
01:44 stepnem joined #perl6
01:45 nadim left #perl6
01:45 nadim joined #perl6
01:46 gwui joined #perl6
01:46 drbean left #perl6
01:47 bluescreen10 joined #perl6
01:48 drbean joined #perl6
01:59 drbean left #perl6
02:00 drbean joined #perl6
02:04 drbean left #perl6
02:06 ymasory left #perl6
02:06 drbean joined #perl6
02:10 drbean left #perl6
02:11 Limbic_Region left #perl6
02:13 drbean joined #perl6
02:14 Lorn left #perl6
02:17 drbean left #perl6
02:19 drbean joined #perl6
02:20 Lorn joined #perl6
02:23 drbean left #perl6
02:25 drbean joined #perl6
02:27 Helios left #perl6
02:29 Helios joined #perl6
02:29 drbean left #perl6
02:31 drbean joined #perl6
02:35 drbean left #perl6
02:37 drbean joined #perl6
02:41 drbean left #perl6
02:41 JimmyZ joined #perl6
02:43 drbean joined #perl6
02:47 drbean left #perl6
02:48 drbean joined #perl6
02:50 test-1 left #perl6
02:50 Lorn left #perl6
02:51 Lorn joined #perl6
02:53 drbean left #perl6
02:54 drbean joined #perl6
02:58 drbean left #perl6
02:59 drbean joined #perl6
03:00 JimmyZ left #perl6
03:04 drbean left #perl6
03:05 drbean joined #perl6
03:10 drbean left #perl6
03:11 drbean joined #perl6
03:16 drbean left #perl6
03:16 drbean joined #perl6
03:17 hudnix left #perl6
03:21 drbean left #perl6
03:22 drbean joined #perl6
03:23 Su-Shee_ joined #perl6
03:26 Su-Shee left #perl6
03:26 Chillance left #perl6
03:27 drbean left #perl6
03:29 drbean joined #perl6
03:29 Helios left #perl6
03:32 Helios joined #perl6
03:33 drbean left #perl6
03:35 drbean joined #perl6
03:40 drbean left #perl6
03:42 drbean joined #perl6
03:46 drbean left #perl6
03:48 drbean joined #perl6
03:52 drbean left #perl6
03:53 drbean joined #perl6
03:54 donri left #perl6
03:57 drbean left #perl6
03:58 drbean joined #perl6
04:01 alester joined #perl6
04:03 drbean left #perl6
04:05 drbean joined #perl6
04:07 tylercurtis left #perl6
04:09 tylercurtis joined #perl6
04:09 drbean left #perl6
04:11 woosley joined #perl6
04:11 drbean joined #perl6
04:16 drbean left #perl6
04:16 Lorn left #perl6
04:16 colomon joined #perl6
04:16 Lorn joined #perl6
04:17 drbean joined #perl6
04:21 drbean left #perl6
04:22 drbean joined #perl6
04:23 Lorn left #perl6
04:23 Lorn joined #perl6
04:26 drbean left #perl6
04:28 drbean joined #perl6
04:33 drbean left #perl6
04:34 drbean joined #perl6
04:38 drbean left #perl6
04:40 drbean joined #perl6
04:45 drbean left #perl6
04:46 drbean joined #perl6
04:50 drbean left #perl6
04:51 drbean joined #perl6
04:54 katelynn joined #perl6
04:55 katelynn hey im english and i love spainard guys :)
04:55 sorear katelynn: This is a programming channel.
04:55 katelynn so
04:55 katelynn left #perl6
04:55 drbean left #perl6
04:58 drbean joined #perl6
05:00 sanjoyd joined #perl6
05:02 drbean left #perl6
05:03 drbean joined #perl6
05:07 drbean left #perl6
05:09 drbean joined #perl6
05:14 drbean left #perl6
05:16 drbean joined #perl6
05:16 xinming_ joined #perl6
05:16 xinming left #perl6
05:20 drbean left #perl6
05:22 drbean joined #perl6
05:23 shadowmaster left #perl6
05:24 shadowmaster joined #perl6
05:26 drbean left #perl6
05:28 drbean joined #perl6
05:31 drbean left #perl6
05:42 molaf joined #perl6
05:45 woosley left #perl6
05:45 jaldhar left #perl6
05:50 jaldhar joined #perl6
05:56 Helios left #perl6
05:58 Helios joined #perl6
06:06 alester left #perl6
06:07 perimosocordiae joined #perl6
06:34 risou joined #perl6
06:41 sjn left #perl6
06:45 Trashlord joined #perl6
06:50 justatheory left #perl6
07:05 arcus joined #perl6
07:10 mtk left #perl6
07:18 mtk joined #perl6
07:23 wallberg joined #perl6
07:32 mathw phenny: tell masak I think someone should write a module to allow whitespace postfix operators, just for the sake of obfuscated code competitions.
07:32 phenny mathw: I'll pass that on when masak is around.
07:36 arcus left #perl6
07:52 tadzik good morning
07:53 gwui left #perl6
07:54 am0c left #perl6
07:57 wamba joined #perl6
07:59 masak joined #perl6
07:59 masak morning, zebras
07:59 phenny masak: 07:32Z <mathw> tell masak I think someone should write a module to allow whitespace postfix operators, just for the sake of obfuscated code competitions.
07:59 masak :)
08:05 donri joined #perl6
08:08 am0c joined #perl6
08:09 tadzik https://github.com/blog/846-new-issues-and-gist-api
08:09 tadzik the one-api-call-per-second limit is no more
08:12 Bucciarati left #perl6
08:12 dukeleto left #perl6
08:13 cognominal masak. hi.  will you be able to talk at fpw?
08:14 cognominal I know that you and jnthn are organizing npw just before
08:15 risou left #perl6
08:16 dukeleto joined #perl6
08:18 Bucciarati joined #perl6
08:20 mj41 joined #perl6
08:25 masak cognominal: nothing's final, but it is looking a little difficult to make it to fpw. not so much because of npw as because of $work.
08:28 cognominal thx, I just want to know :)  you are welcome with or without talks
08:28 * mberends -> alpine lodge &
08:30 Su-Shee_ is now known as Su-Shee
08:32 wamba left #perl6
08:32 mberends left #perl6
08:37 moritz good morning
08:39 masak o/
08:40 sjn joined #perl6
08:42 jaldhar left #perl6
08:42 jaldhar joined #perl6
08:43 pochi left #perl6
08:47 jjore left #perl6
08:53 jjore joined #perl6
09:24 dual left #perl6
09:29 arcus joined #perl6
09:33 skangas joined #perl6
09:35 pochi joined #perl6
09:43 arcus left #perl6
09:50 wamba joined #perl6
09:55 orafu left #perl6
10:00 MayDaniel joined #perl6
10:04 wamba left #perl6
10:09 MayDaniel left #perl6
10:15 wamba joined #perl6
10:27 perimosocordiae left #perl6
10:45 whiteknight joined #perl6
11:02 Chillance joined #perl6
11:32 ggoebel__ left #perl6
11:37 ggoebel__ joined #perl6
11:42 whiteknight left #perl6
11:42 wallberg left #perl6
11:45 yegor joined #perl6
11:49 yegor left #perl6
11:55 Patterner left #perl6
11:57 Psyche^ joined #perl6
11:57 Psyche^ is now known as Patterner
12:08 Chillance left #perl6
12:15 pmurias joined #perl6
12:15 pmurias hi
12:15 phenny pmurias: 28 Apr 03:17Z <sorear> tell pmurias I don't like the way Proxy overloads new.  IMHO $class.new.WHAT should always === $class
12:17 uniejo_ joined #perl6
12:20 Chillance joined #perl6
12:21 colomon \o
12:22 moritz o/
12:24 uniejo_ o/
12:24 colomon Perl 6 talk went pretty well yesterday, I think.
12:24 masak 'o-
12:24 masak \o/
12:24 colomon masak: are you... fencing?
12:24 masak wrong keyboard layout.
12:25 colomon I squeezed it in exactly in the alloted time.
12:25 tadzik colomon: what were the reactions?
12:25 colomon some interest, especially about grammars, which seemed to go over very well.
12:26 colomon one person worried that it would be too easy to make utterly cryptic code.
12:26 pmurias colomon: which features caused that worry?
12:27 colomon probably mostly the wild profusion of operators.
12:28 colomon about five minutes after it was over, I realized i was shaking badly.  hopefully won't be so nervous next time around.  :)
12:28 tadzik hugme: hug colomon
12:28 * hugme hugs colomon
12:28 arnsholt :w
12:28 * masak hugs arnsholt, good vim user
12:28 arnsholt Er, opps. Wrong window ^_^
12:28 tadzik I have an alias for that
12:29 tadzik alias :w='echo vim is on another window'
12:29 arnsholt =D
12:31 masak :)
12:35 moritz I'm sure you could write an irssi plugin for that too
12:38 arnsholt D'oh. Science is hard
12:38 arnsholt (Last minute significance tests are not recommended =)
12:40 tadzik Moukeddar was at least partly right about pandas: Moukeddar
12:40 tadzik whoops, copypaste fail: http://miscpix.com/zrqa3
12:40 colomon arnsholt: Is that like hacking for days and then discovering your fantastic optimization idea actually makes the code slower?
12:41 arnsholt Yeah, kinda. Or at least makes no difference =)
12:43 arnsholt All the numbers from one of my experiments are a bit worse than the other number, but they turn out to not be significantly different
12:45 JimmyZ joined #perl6
12:48 sjn left #perl6
12:48 uniejo_ left #perl6
12:49 orafu joined #perl6
12:49 s1n left #perl6
13:08 MayDaniel joined #perl6
13:11 xinming_ left #perl6
13:12 xinming joined #perl6
13:18 ymasory joined #perl6
13:22 Moukeddar joined #perl6
13:22 Moukeddar hello
13:22 masak Moukeddar! \o/
13:22 tadzik Moukeddar: hello
13:23 har joined #perl6
13:23 tadzik Have some evil pandas: http://miscpix.com/zrqa3
13:23 Moukeddar how are you doing ?
13:23 tadzik good thanks
13:23 tadzik . o O ( "you're looking good" - "pardon?" - "I said you're looking good" - "fair enough" )
13:24 Moukeddar here is the Evil Panda
13:24 Moukeddar http://www.youtube.com/watch?v=SyRvzeNuqa4
13:24 Moukeddar the Cheese Overlord
13:24 Moukeddar SFW
13:24 har left #perl6
13:25 hudnix joined #perl6
13:26 xinming_ joined #perl6
13:26 Moukeddar watched the video?
13:28 whiteknight joined #perl6
13:29 xinming left #perl6
13:30 tadzik as a Panda fan, I disapprove of this
13:30 Moukeddar hehe
13:30 Moukeddar while i was watching it
13:30 Moukeddar all i thought was ; Perl :p
13:31 masak that is one evil panda.
13:31 * colomon had not considered that there might be NSFW pandas
13:32 Moukeddar nsfw pandas ?
13:32 Moukeddar that's new :
13:33 Moukeddar well , AFAIL pandas support the Right wing Political Machine
13:33 Moukeddar that's NSFW
13:34 Moukeddar AFAIK*
13:34 pmurias Moukeddar: isn't pasting youtube videos about pandas a bit of topic for #perl6?
13:35 mathw left #perl6
13:35 mathw joined #perl6
13:35 Moukeddar it's an example for Evil pandas
13:40 pmurias left #perl6
13:41 woosley joined #perl6
13:43 colomon left #perl6
13:43 colomon joined #perl6
13:46 Moukeddar left #perl6
13:48 colomon left #perl6
13:52 arcus joined #perl6
13:55 arcus left #perl6
13:55 Axius joined #perl6
13:56 lue left #perl6
13:56 lue joined #perl6
13:58 uniejo_ joined #perl6
14:03 birdwindupbird joined #perl6
14:04 Moukeddar joined #perl6
14:05 Moukeddar is learning UML crucial ?
14:06 arnsholt Not necessarily, but learning how to best structure an application is, I'd argue
14:07 arnsholt Learning UML can help with that
14:08 Moukeddar is it easy?
14:10 xinming_ is now known as xinming
14:10 uniejo_ left #perl6
14:11 masak to learn how to best structure an application? no.
14:11 masak it's like learning how to play Go. learn the basics in 15 minutes, and then it still takes a lifetime to master.
14:12 Moukeddar ah , ok :)
14:12 Moukeddar it's just nice to have a design reference instead of your own brain :)
14:13 masak a "design reference"?
14:13 Moukeddar yes classes design
14:13 Moukeddar i usually use a paper :)
14:14 Moukeddar to draw some primitive info
14:14 masak here's my journey so far: I didn't have much respect for design up front. I usually dove right in and then came back to design after I had at least a working prototype.
14:15 wamba left #perl6
14:15 masak lately I've been coming to appreciate that for big enough systems, you'll want to do some modeling before diving into the coding.
14:15 Moukeddar masak, i didn't gave it any respect either , but after reading and getting deeper , it looked like a crucial requirement now
14:16 * tadzik wonders, whether it makes sense to treat Pod things like B<> identically as blocks
14:16 masak Moukeddar: I'm still a big believer of making a working prototype of things.
14:17 Moukeddar masak, i'm stiff confused :)
14:17 masak Moukeddar: and I don't believe there's one single Right Design that one will arrive at on the first attempt.
14:17 Moukeddar still lol
14:17 masak one nice thing about CQRS and read-side/write-side is that one can have several models working together in the same application. each model tailored to some purpose.
14:18 tadzik Formatting codes are themselves a type of block, and most of them may nest sequences of any other type of block (most often, other formatting codes). In particular, you can nest comment blocks in the middle of a formatting code
14:18 tadzik pretty much blocks, methinks
14:18 masak sounds like.
14:21 tadzik And so thinks Perl6::Pod
14:24 am0c left #perl6
14:24 * tadzik updates gsocmess
14:24 masak Moukeddar: may I recommend a presentation to you?
14:25 Moukeddar yes , of course
14:27 masak http://www.infoq.com/presentations/model-to-work-evans
14:28 Moukeddar DDD :)
14:33 Moukeddar one other thing
14:33 Moukeddar what's agility ?
14:34 masak it's the idea that you should check back with the customer often to see if you're building what they want :)
14:34 masak there's more to it, but that seems to be the core message.
14:34 pmurias joined #perl6
14:34 masak see http://www.extremeprogramming.org/ for more.
14:35 Moukeddar for someone at my stage , it's an overkill
14:36 Moukeddar but never hurts to know :)
14:36 masak there are nice practices to borrow from agile, if you ask me.
14:36 masak the 'release early, release often' being perhaps the most important.
14:37 pmurias masak: the biggest obstacle to upfront design i encounter with a lot of stuff is that while implementing things i discover the data my program transform is vastly different then i imagined before
14:37 tadzik loliblug: http://ttjjss.wordpress.com/2011/05/01/gsoc/
14:39 masak pmurias: right. implementing contains discovery, beyond the things that were known during deisgn.
14:39 masak tadzik++ # bleg
14:41 Trashlord left #perl6
14:41 Moukeddar blag (blague) = joke in french
14:42 masak phenny: fr "blague"?
14:42 phenny masak: "joke" (fr to en, translate.google.com)
14:43 Moukeddar :)
14:43 Moukeddar gtg
14:43 masak phenny: "mon blog est une blague"?
14:43 phenny masak: "My blog is a joke" (fr to en, translate.google.com)
14:43 Moukeddar TTYL
14:43 masak o/
14:43 Moukeddar left #perl6
14:44 ashanti joined #perl6
14:51 * masak will try to get a Yapsi release out the door today
14:55 tadzik any new funny stuff?
14:55 masak hopefully.
14:55 masak I'll try to get ENTER phasers in today.
14:55 tadzik don't forget about BACKSPACE
14:55 masak :P
14:56 masak niecza: say 42; ENTER { say "OH HAI" }
14:56 p6eval niecza v4-76-g7bf5ef9: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤Action method statement_prefix:ENTER not yet implemented at /tmp/mRxPb3sLz1 line 1 (EOF):␤------> [32msay 42; ENTER { say "OH HAI" }[33m⏏[31m<EOL>[0m␤␤Unhandled exception: Unable to resolve method statement_level in class Str␤  at
14:56 p6eval ../home/p6eval/ni…
14:56 masak pugs: say 42; ENTER { say "OH HAI" }
14:56 p6eval pugs: OUTPUT«OH HAI␤42␤»
14:56 masak oh, Pugs has it, of course :P
14:56 JimmyZ left #perl6
14:56 tadzik I need a print of S26
14:56 masak blog post suggestion for some eager young soul: "things Pugs has that Rakudo doesn't".
14:57 mtk left #perl6
14:57 risou joined #perl6
14:59 sanjoyd left #perl6
15:00 tadzik shame there's nothing that can parse it and format it nicely :)(
15:01 pmurias didn't Damian write a Pod parser?
15:01 masak he did.
15:01 masak and it outputs HTML, IIRC.
15:01 masak s/outputs/can output/
15:04 tadzik I tried Perl6::Pod, it ended almost fine
15:05 mtk joined #perl6
15:11 masak proto sub gcd($x, $y) { $x.gcd($y); }
15:11 masak anyone mind if I make this one take a slurpy array of values?
15:11 masak and add a corresponding lcm proto?
15:12 arnsholt Sounds good to me
15:14 * masak makes it so
15:14 masak just have to run the spectests for half an hour, make the change, then run them again :P
15:14 masak like a good citizen.
15:15 masak 'course, I could just run t/spec/S32-num/gcd.t...
15:15 masak but no, there are other things depending on the gcd builtin, like jnthn++ pointed out.
15:17 icwiener joined #perl6
15:18 arnsholt There are always other things depending I'd say =)
15:20 jnthn Rat uses gcd, iirc.
15:20 masak I'm getting lots of "Dubious, test returned 1 (wstat 256, 0x100)" running the spectests.
15:20 moritz it does
15:20 masak I thought we fixed that.
15:21 masak also
15:21 moritz masak: which parrot version do you use?
15:21 masak t/spec/S02-builtin_data_types/subscripts_and_context.t ......... Failed 1/8 subtests
15:21 masak moritz: I'll check.
15:21 moritz ./perl6 -v
15:21 moritz tells you
15:22 masak This is Rakudo Perl 6, version 2011.04-2-gecc4efa built on parrot 3.3.0 RELEASE_3_3_0-60-g97c32c7
15:23 moritz masak: I've also had lots of test failures with post-release parrots
15:23 masak also, in related bad news, Yapsi's t/runtime.t segfaults after test 26? :(
15:23 masak moritz: ok, I'll go back to the release one then.
15:23 moritz masak: so far my calls for confirming that have been unanswered. Thanks for testing that
15:24 masak don't mention it. :)
15:32 tadzik oh, I has an idea!
15:32 tadzik Test::Mock wraps methods and counts the number of executions
15:32 risou left #perl6
15:33 masak which is way cool, by the way.
15:33 tadzik why not wrap methods to count the execution time using Benchmark module? We get a simple profiler
15:33 masak interesting. worth a shot.
15:33 * tadzik investigates Test::Mock
15:34 masak another thing we could do... wrap methods to collect method dependency data.
15:34 moritz I guess it does nasty introspection, and then mixes in roles which shadow the original methods
15:35 masak in all fairness, this is what I would call the "proper" place for introspection.
15:36 moritz right
15:36 Axius left #perl6
15:36 masak correct. introspection here: https://github.com/jnthn/test-mock/blob/master/lib/Test/Mock.pm#L53
15:37 masak I must say that is some nice code.
15:37 jnthn Easier after nom will be to just subclass ClassHOW and override find_method or some such :)
15:37 jnthn Hmm, though that's only part of the story I guess.
15:38 tadzik jnthn: any ideas about supplying arguments to the .new method in Test::Mock?
15:38 masak overriding find_method. oh wow.
15:40 kaare__ joined #perl6
15:41 jnthn tadzik: Maybe mocked($obj) should also have possibility to pass in a capture for new_args or something
15:42 jnthn mocked(Dog, with => \($number_of_tails)) or something
15:42 tadzik jnthn: I tried that, no success, although that was probably on the Holland Hackathon and looking at the code now I'm not sure what was on my mind :)
15:43 kaare__ left #perl6
15:43 tadzik oh wait, that was easy
15:44 risou joined #perl6
15:44 jnthn tadzik: Should just be change to line 46 and another to line 72
15:46 dual joined #perl6
15:49 tadzik jnthn: like this? http://nopaste.snit.ch/43066
15:49 jnthn :$newargs = \()
15:50 jnthn Well, guess the hash works too...
15:50 jnthn But maybe the empty capture is clearer.
15:50 tadzik :%newargs didn't help
15:50 jnthn Hm
15:50 tadzik and \() neither did
15:51 jnthn didn't help kinda tells me nothing
15:51 tadzik :)
15:51 tadzik well, the tests are still failing
15:52 jnthn In the case here you're passing something though
15:52 jnthn so the default wouldn't matter there
15:52 tadzik well, the standard tests still work
15:52 woosley left #perl6
15:52 tadzik in either case
15:53 jnthn oh
15:53 jnthn I guess it mocked the accessor for x too :)
15:53 tadzik :)
15:53 jnthn Bet if you change if $.x {
15:53 jnthn to if $!x { then it works... :)
15:54 jnthn (test 2 that is...
15:54 jnthn )
15:54 tadzik Method 'wrap' not found for invocant of class 'Sub'
15:54 tadzik that sounds wrongish
15:54 jnthn huh
15:54 jnthn How'd you get it to do that?
15:55 tadzik $m.wrap: { say "lol calling!"; callsame }; on line 61
15:55 jferrero joined #perl6
15:56 jnthn oh
15:56 jnthn yeah, I didn't use wrapping anywhere in the module :)
15:57 tadzik well, I'd need to :)
15:57 jnthn I don't see why.
15:57 tadzik I'll be wrapping this in timethis()
15:57 jnthn In fact, you'd be twiddling the original method
15:57 jnthn Which is really wrong.
15:58 tadzik hmm
15:58 masak g'ah!
15:58 jnthn I agree the wrap shoudln't fail but Test::Mock certainly should never touch the original method.
15:58 masak src/gc/gc_gms.c:2342: failed assertion 'Dead object found!'
15:58 masak seems I can't win with this Parrot thing.
15:58 jnthn masak: grrr. :/
15:58 tadzik well, now I'm just experimenting using the Test::Mock code
15:58 jnthn masak: Is that with latest?
15:58 masak that's the 3.3 release commit, far as I can tell.
15:58 jnthn :(
15:58 tadzik shit
15:59 masak latest was the one that gave me a segfault.
15:59 jnthn Quite possibly related.
15:59 jnthn Does building without generational GC help?
15:59 jnthn If so, it'll be a missing write barrier.
15:59 masak how do I do that?
16:00 tadzik pass --gc=ms2 to the parrot's Configure.pl
16:00 masak thanks.
16:00 tadzik afk
16:00 moritz should be the default for 3.3
16:00 jnthn --gc=(type)          Which implementation of GC to use. One of ms, ms2 or gms
16:01 jnthn moritz: gengc was default for 3.3, or ms2?
16:01 tadzik ms2 was default
16:01 moritz right
16:01 jnthn ah
16:01 tadzik but Rakudo's using gms anyway
16:01 jnthn ok
16:02 Moukeddar joined #perl6
16:02 Moukeddar ello
16:03 Helios left #perl6
16:03 masak oh hai
16:03 Helios joined #perl6
16:04 Moukeddar i'm watchin that presentation , that guy is a genius :)
16:04 MayDaniel left #perl6
16:08 masak yes, he's very good.
16:08 moritz which presentation?
16:09 justatheory joined #perl6
16:09 Moukeddar the "Puting the model to work "
16:17 masak moritz: <masak> http://www.infoq.com/presentations/model-to-work-evans
16:17 masak &
16:20 pmurias left #perl6
16:26 Axius joined #perl6
16:31 dalek nqp: 105839b | jonathan++ | src/ (2 files):
16:31 dalek nqp: Resolve issue #9 reported by masak++ that meant that use nqp; was not possible. Actually fixes the root issue which is that if you try to load a module that is the actual program that is running - even if it's in a compilation managed by that program.
16:31 dalek nqp: review: https://github.com/perl6/nqp/commit/105839b24b
16:32 tadzik $mocker.$m.wrap: sub (|$args) { callwith(|$args) }; -- that be just a wrapper doing nothing, not breaking argument passing, yes?
16:33 jnthn Yeah but you may as well have written callsame() if you're just going to pass the same arguments along.
16:33 tadzik rakudo: sub a($a, $b) { say "$a $b"; }; &a.wrap: sub (|$args) { say 'pfff!';  callwith($a, $b) }; a(5, 6)
16:33 p6eval rakudo 8533c3: OUTPUT«===SORRY!===␤Symbol '$a' not predeclared in <anonymous> (/tmp/Dc8v4Pp0mA:22)␤»
16:34 tadzik jnthn: yeah, I was just trying callwith() because callsame wasn't working :)
16:34 tadzik rakudo: sub a($a, $b) { say "$a $b"; }; &a.wrap: sub (|$args) { say 'pfff!';  callwith($args) }; a(5, 6)
16:34 p6eval rakudo 8533c3: OUTPUT«pfff!␤Null PMC access in type()␤  in 'a' at line 1:/tmp/0lnjzT52wJ␤  in <anon> at line 22:/tmp/0lnjzT52wJ␤  in main program body at line 1␤»
16:34 tadzik rakudo: sub a($a, $b) { say "$a $b"; }; &a.wrap: sub (|$args) { say 'pfff!';  callsame; }; a(5, 6)
16:34 p6eval rakudo 8533c3: OUTPUT«pfff!␤5 6␤»
16:34 tadzik okay...
16:35 tadzik rakudo: class A { method B ($a, $b) { say "$a $b" } }; A.&B.wrap: sub... oh wait
16:35 p6eval rakudo 8533c3: OUTPUT«Could not find sub &B␤  in main program body at line 22:/tmp/Ro4mKmHjWn␤»
16:35 tadzik yeah, that should be method, not sub
16:36 tadzik shame that's not helping :|
16:36 * jnthn closes various nqp tickets
16:39 tadzik rakudo: class A { method B ($a, $b) { say "$a $b" } }; A.&B.wrap: method (|$args) { say 'pff!'; callsame; }; A.new.B(4, 3);
16:39 p6eval rakudo 8533c3: OUTPUT«Could not find sub &B␤  in main program body at line 22:/tmp/nzoK5ZFof2␤»
16:40 Moukeddar left #perl6
16:55 wamba joined #perl6
16:56 cotto left #perl6
17:04 ashanti left #perl6
17:11 mj41 left #perl6
17:12 s1n joined #perl6
17:13 pmurias joined #perl6
17:17 masak \o/ # issue 9 fixed. jnthn++
17:21 rgrau joined #perl6
17:25 masak would anyone be so kind as trying to reproduce the GC write barrier error message in the Yapsi tests?
17:25 masak latest Parrot, latest Rakudo, latest Yapsi. t/runtime.t. after test 24.
17:26 Axius left #perl6
17:28 jnthn masak: Wait...did it also show up under gc=ms2?
17:28 jnthn If so, it's not a write barrier issue.
17:32 plobsing left #perl6
17:40 [Coke] left #perl6
17:40 cotto joined #perl6
17:42 dalek sprixel: cb46e98 | diakopter++ | / (6 files):
17:42 dalek sprixel: [perlesque] some regex alternation codegen refactoring
17:42 dalek sprixel: review: https://github.com/diakopter/sprixel/commit/cb46e98fb3
17:42 [Coke] joined #perl6
17:46 TimToady std: sub postfix:< > ($x) {...}
17:46 p6eval std 9f27365: OUTPUT«Use of uninitialized value $starter in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value $stopper in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value
17:46 p6eval ..$starte…
17:46 TimToady I see std is still not updating regularly
17:47 moritz curious, there's a cronjob for it
17:48 moritz std: sub postfix:< > ($x) {...}
17:48 p6eval std 9f27365: OUTPUT«Use of uninitialized value $starter in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value $stopper in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value
17:48 p6eval ..$starte…
17:49 TimToady the change was to CursorBase.pmc, so maybe some dependency is borken
17:49 moritz that's the std that 'make snap' gives me
17:49 moritz hm
17:49 TimToady hmm, I was just doing make in the top dir
17:49 moritz ./viv -e complains
17:49 moritz maybe some path mismatch?
17:50 TimToady /usr/local/share doesn't look right
17:50 TimToady seems to be picking up a version installed in the perl 5 dir
17:50 moritz that might be from the times where we installed STD from CPAN for niecza
17:51 * diakopter listens
17:51 TimToady have to go whack the drums, will check back later &
17:52 moritz std: sub postfix:< > ($x) {...}
17:52 p6eval std 9f27365: OUTPUT«Use of uninitialized value $starter in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value $stopper in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value
17:52 p6eval ..$starte…
17:52 p6eval left #perl6
17:52 p6eval joined #perl6
17:52 p6eval left #perl6
17:53 p6eval joined #perl6
17:53 moritz std: sub postfix:< > ($x) {...}
17:53 diakopter heh
17:53 p6eval std 9f27365: OUTPUT«Use of uninitialized value $starter in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value $stopper in concatenation (.) or string at /usr/local/share/perl/5.10.1/CursorBase.pm line 2754.␤Use of uninitialized value
17:53 p6eval ..$starte…
17:53 p6eval left #perl6
17:56 * moritz fixes perlbrew on p6eval host
18:07 risou left #perl6
18:12 orafu left #perl6
18:21 ggoebel__ left #perl6
18:21 ggoebel joined #perl6
18:24 birdwindupbird left #perl6
18:27 p6eval joined #perl6
18:27 moritz std: 1
18:28 p6eval std 9f27365: OUTPUT«Can't locate Moose.pm in @INC (@INC contains: /home/p6eval/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux /home/p6eval/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2 /home/p6eval/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux
18:28 p6eval ../home/p6eval/perl5/…
18:28 moritz at least it picks up the right perl
18:29 moritz and Moose is just one cpanm command (and many minutes of waiting) away
18:30 SHODAN joined #perl6
18:32 [Coke] left #perl6
18:33 masak jnthn: I'd better double-check.
18:33 [Coke] joined #perl6
18:37 ggoebel left #perl6
18:37 ggoebel joined #perl6
18:39 ggoebel left #perl6
18:39 masak fwiw, I don't like the method .gcd
18:41 estrabd left #perl6
18:41 mathw what does it do?
18:42 mathw what would you like it to do?
18:42 mathw And can I have a pony?
18:42 estrabd joined #perl6
18:43 SHODAN greatest common divisor?
18:43 masak right.
18:44 masak I like the gcd(x,y) form, but I have no sympathy for x.gcd(y)
18:44 mathw ...
18:44 mathw that's weird
18:44 mathw I can understand (list of numbers).gcd
18:44 mathw but not (single number).gcd
18:45 jasonmay https://github.com/perl6/roast/blob/master/S04-exception-handlers/catch.t#L167
18:45 jasonmay ^ is that best practice for handling a die in a CATCH?
18:46 moritz it sounds like gcd should be an infix (same precedence as infix % ?), and [gcd] would be the normal reduction
18:46 mathw good point
18:46 mathw That's a much better idea
18:50 alester joined #perl6
18:51 mberends joined #perl6
18:51 mberends \o/ @alps == @rocks
18:51 alester ping pmichaud
18:52 masak jnthn: problem goes away with gc=ms2
18:52 sorear moritz: that's the way it obviously should be
18:53 tadzik mberends: well, what did you expect? Trees? :P
18:53 sorear Lava?
18:54 mberends oh yeah, @alps has @.trees
18:57 masak I think you're reading too much into mberends' statement.
18:58 masak all he said is that there are as many alps as there are rocks :P
18:58 jnthn mberends: Which bit of the alps? :)
18:59 mberends it would be difficult to count them for a proof, but indeed I was thinking what masak was thinking.
18:59 cotto left #perl6
18:59 diakopter std: .
18:59 p6eval std 9f27365: OUTPUT«Can't locate YAML/XS.pm in @INC (@INC contains: /home/p6eval/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2/x86_64-linux /home/p6eval/perl5/perlbrew/perls/perl-5.12.2/lib/site_perl/5.12.2 /home/p6eval/perl5/perlbrew/perls/perl-5.12.2/lib/5.12.2/x86_64-linux
18:59 p6eval ../home/p6eval/perl…
19:00 cotto joined #perl6
19:01 mberends jnthn: a Slovenian bit near Ljubljana, friends have a chalet here :)
19:02 daxim__ left #perl6
19:03 jnthn mberends: nice! :)
19:04 jnthn Nice views and Lasko! :)
19:05 noganex joined #perl6
19:08 noganex_ left #perl6
19:08 [particle]1 joined #perl6
19:10 [particle] left #perl6
19:12 dalek nqp/ctmo: 4679b68 | jonathan++ | src/core/NQPMu.pm:
19:12 dalek nqp/ctmo: Fix a type-o. Detected by in-progress typename handling work.
19:12 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/4679b68190
19:12 dalek nqp/ctmo: 556b715 | jonathan++ | src/NQP/ (2 files):
19:12 dalek nqp/ctmo: Resolve typename at compile time.
19:12 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/556b71593b
19:12 dalek nqp/ctmo: 3564e72 | jonathan++ | src/NQP/Actions.pm:
19:12 dalek nqp/ctmo: Add parrot v-table overrides through the compile time meta-object.
19:12 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/3564e72784
19:12 dalek nqp/ctmo: f993bf4 | jonathan++ | src/ (2 files):
19:12 dalek nqp/ctmo: Attach multi signatures during normal fixup stage, not as special loadinits. Should cut startup time a little. Also resolves the multi-method regression introduced earlier in this branch.
19:12 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/f993bf499a
19:20 masak yay for stricter type handling detecting type-os in the circularity circle! ;)
19:22 jnthn NQP has been able to detect many problems with itself.
19:22 masak it doesn't apply just to bootstrappisms.
19:22 jnthn .oO( oh noes...it's self-aware! )
19:23 moritz jnthn: are you aware of a failure in t/nqp/56-role.t
19:23 masak I generally try to structure things nowadays so that the program gives a shout if I do something unintended.
19:23 jnthn moritz: Very very much so.
19:23 moritz ok
19:23 jnthn moritz: It's a *really* hard problem.
19:23 moritz :(
19:23 masak why?
19:23 jnthn The last one before nqp is done enough for digging into rakudo/nom
19:23 * masak curious
19:25 jnthn masak: All of the meta-objects are now constructed at compile time. That means that methods kinda need to end up in the meta-object at compile time...apart from we didn't compile them yet, so they need to be fixed up with the real thing a little later on.
19:25 jnthn That much works. But with roles the methods get cloned and associated with multiple incarnations of the role body - one per parameterization.
19:26 masak nod
19:26 jnthn All roles are parametric really, since $?CLASS is generic when mentioned in a class.
19:26 masak so, each role incarnation requires some extra compilation?
19:26 jnthn Not really
19:26 jnthn Just some extra fixing up
19:26 masak ok.
19:27 jnthn It's just working out how to track all of those bits.
19:27 birdwindupbird joined #perl6
19:33 tadzik jnthn: so after that is fixed Rakudo will slowly start using the new nqp, so we get ponies, cheesburgers, and bugs magically getting fixed? :)
19:34 masak we're up to 860 new/open rakudobugs, by the way.
19:34 masak I'm thinking of switching vocations and begin to close them instead :P
19:35 cotto left #perl6
19:35 mj41 joined #perl6
19:35 jnthn tadzik: Yes
19:35 tadzik oh no, who will be opening them then? :(
19:36 Helios left #perl6
19:36 tadzik btw, you were saying something about a bugfix party on weekend. Sound like time
19:36 tadzik jnthn: cool :)
19:36 jnthn tadzik: Hoping to get to that point by Wednesday.
19:36 tadzik awesome!
19:36 Helios joined #perl6
19:37 tadzik seen worr
19:37 aloha worr was last seen in #perl6 44 days 15 hours ago saying "sorry about that".
19:38 tadzik http://rt.perl.org/rt3/Ticket/Display.html?id=84966 I think this was merged and is now closable
19:38 tadzik http://rt.perl.org/rt3/Ticket/Display.html?id=84950 this too
19:38 tadzik http://rt.perl.org/rt3/Ticket/Display.html?id=84948 and this
19:39 tadzik http://rt.perl.org/rt3/Ticket/Display.html?id=83866 confirmed fixed by the author
19:40 tadzik ...anyone with permissions to help me sort this stuff? :)
19:40 [Coke] left #perl6
19:41 moritz tadzik: do you have an RT nick?
19:41 tadzik moritz: yes, I even was given those perms some time ago, it's just that these don't work
19:41 tadzik or didn't
19:42 moritz let's ping pmichaud over it
19:42 tadzik and I'm tadzik
19:42 MayDaniel joined #perl6
19:44 * moritz closes tickets
19:44 moritz tadzik++
19:45 moritz done
19:45 tadzik rakudo: say "fuubar".comb.perl
19:45 p6eval rakudo 8533c3: OUTPUT«("f", "u", "u", "b", "a", "r")␤»
19:45 masonkramer joined #perl6
19:45 tadzik so that's just going letter-by-letter, right?
19:45 moritz yes
19:45 [Coke] joined #perl6
19:46 masak rakudo: say "fuubar".split.perl
19:46 p6eval rakudo 8533c3: OUTPUT«No applicable candidates found to dispatch to for 'split'. Available candidates are:␤:(Mu : Regex $matcher, Any $limit = { ... }, Any :all($all);; *%_)␤:(Mu : Any $delimiter, Any $limit = { ... }, Any :all($all);; *%_)␤␤  in main program body at line 22:/tmp/_ApMzdEpNL␤»
19:46 tadzik there are times when I _so_ miss array indexes on strings
19:47 masak tadzik: write a pragma.
19:47 masak or a module.
19:49 masak rakudo: sub foo(@x) { say @x.perl }; foo <a b c>; foo <d> # I keep falling into this trap
19:49 p6eval rakudo 8533c3: OUTPUT«("a", "b", "c")␤Nominal type check failed for parameter '@x'; expected Positional but got Str instead␤  in 'foo' at line 1:/tmp/oFASGUloGV␤  in main program body at line 22:/tmp/oFASGUloGV␤»
19:49 masak it's a tricky one, because different things should look different, and they don't in this case.
19:50 sorear niecza: sub postcircumfix:<[ ]>($str, $ix) { $str.substr($ix, 1) }; say "Hello"[2]
19:50 p6eval niecza v4-76-g7bf5ef9: OUTPUT«l␤»
19:50 * moritz still thinks that postcircumfix needs to be a method
19:50 MayDaniel left #perl6
19:50 * jnthn agrees with moritz
19:51 masak rakudo: sub foo(@x) { say @x.perl }; foo <a b c>; foo ('d',) # and THIS is the solution!?
19:51 p6eval rakudo 8533c3: OUTPUT«("a", "b", "c")␤("d", )␤»
19:52 masak why must postcircumfix be a method?
19:52 jnthn rakudo: sub foo(@x) { say @x.perl }; foo <a b c>; foo [<d>] # cuter solution
19:52 p6eval rakudo 8533c3: OUTPUT«("a", "b", "c")␤["d"]␤»
19:52 masak jnthn: but still. the [] introduce an assymetry.
19:52 tadzik rakudo: sub stupidcomb($a) { gather for 1..$a.chars { take $a.substr($_ - 1, $_) } }; say stupidcomb("foobar").perl
19:53 p6eval rakudo 8533c3: OUTPUT«("f", "oo", "oba", "bar", "ar", "r")␤»
19:53 sorear postcircumfix needs to be both a sub and a method
19:53 colomon joined #perl6
19:53 sorear it can't be just a method, because everything that modifies the grammar needs lexical scope
19:53 moritz probably, yes
19:53 jnthn masak: Because otherwise types can't so easily control how they respond to e.g. handling ranges.
19:53 jnthn or other interesting types of slicing
19:54 sorear it can't be just a sub, because that would make implementing tied containers vaguely insane
19:54 [Coke] left #perl6
19:54 * tadzik has no idea what happened in stupidcomb()
19:54 jnthn sorear: Where's the grammar modification?
19:54 tadzik rakudo: sub stupidcomb($a) { for 1..$a.chars { say $a.substr($_ - 1, $_) } }; stupidcomb("foobar")
19:54 p6eval rakudo 8533c3: OUTPUT«f␤oo␤oba␤bar␤ar␤r␤»
19:54 jnthn sorear: Or do you mean, if new postcircumfixes are added?
19:55 sorear niecza: sub postcircumfix<〈 〉>($a, $b) { say $a; say $b }; 1〈3〉
19:55 p6eval niecza v4-76-g7bf5ef9: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤Any()Malformed block at /tmp/44IP473YgK line 1:␤------> [32msub postcircumfix[33m⏏[31m<〈 〉>($a, $b) { say $a; say $b }; 1〈3〉[0m␤␤Parse failed␤␤»
19:55 sorear niecza: sub postcircumfix:<〈 〉>($a, $b) { say $a; say $b }; 1〈3〉
19:55 tadzik rakudo: sub stupidcomb($a) { gather for 1..$a.chars { take $a.substr($_ - 1, 1) } }; say stupidcomb("foobar").perl
19:55 [Coke] joined #perl6
19:55 moritz rakudo: sub stupidcomb($a) { for 1..$a.chars { say $a.substr($_ - 1, $_) } }; stupidcomb("foobarbaz")
19:55 p6eval niecza v4-76-g7bf5ef9: OUTPUT«1␤3␤»
19:55 p6eval rakudo 8533c3: OUTPUT«("f", "o", "o", "b", "a", "r")␤»
19:55 p6eval rakudo 8533c3: OUTPUT«f␤oo␤oba␤barb␤arbaz␤rbaz␤baz␤az␤z␤»
19:55 masak arbaz!
19:55 tadzik it's ok, I just fail at substr()
19:55 tadzik it's like Arbuz! \o/
19:55 tadzik phenny: "arbuz"?
19:55 masak :P
19:55 phenny tadzik: "watermelon" (lt to en, translate.google.com)
19:55 masak like Russian.
19:55 tadzik phenny: lt yourself!
19:56 moritz tadzik: it's a substr of length 1 starting at 1
19:56 moritz tadzik: then length 2 starting at 2
19:56 masak tadzik: in fact, substr in Rakudo isn't to spec.
19:56 masak substr should use *-1, not -1
19:56 moritz tadzik: etc... until it hits the end of the string, in which case it shortens
19:58 tadzik I see
19:58 wamba left #perl6
19:59 tadzik rakudo: say (1304279895 - 1304279873) / 6;
19:59 p6eval rakudo 8533c3: OUTPUT«3.66666666666667␤»
20:00 * tadzik is testing stupidcomb on some rakudo source files
20:00 tadzik I already killed Str.comb on Perl6/Actions.pm, I stopped believing it'd ever finish
20:02 tadzik I wonder if stupidcomb could have been done efficiently than with substr. Deep inside my heart I believe "foo".substr($a, 1) somewhere deep in Parrot becomes just *(foo + $a) :)
20:03 tadzik rakudo: say (1304280046 - 1304279951) / (1304280153 - 1304280117)
20:03 p6eval rakudo 8533c3: OUTPUT«2.63888888888889␤»
20:03 tadzik still a lot better. Any better ideas for a fix for http://rt.perl.org/rt3/Ticket/Display.html?id=85602 ?
20:04 sorear tadzik: if "foo" contains unicode chars, "foo".substr becomes O(N) since it has to count chars one at a time
20:04 tadzik oh, right
20:04 sorear tadzik: fixed width Unicode encodings are not supported on Parrot/Win32
20:05 tadzik I don't see any smarter way, looking at Parrot's string opcodes
20:06 alester left #perl6
20:06 tadzik sorear: any ideas
20:06 tadzik ?
20:06 sorear ISTR that in Parrot, my $str = ("a" x 1e8).substr(0,1); retains all 1e8 bytes of memory
20:06 sorear can anyone deny this?
20:07 jnthn sorear: Try #parrot :)
20:07 jnthn sorear: I'd like to hope not but it wouldn't surprise me.
20:08 sorear I don't think it would be polite to bring this up there
20:08 masak right! show some respect! :P
20:09 masak <sarcasm>people should never have to have their design questioned. it's not polite.</sarcasm>
20:10 sorear masak: #parrot knows that their design sucks
20:10 sorear they're just overworked, and I can't legally help them
20:10 tadzik rakudo: say "hello".substr(*-1, 1)
20:10 p6eval rakudo 8533c3: OUTPUT«maximum recursion depth exceeded␤  in 'Cool::Num' at line 1918:CORE.setting␤  in 'Cool::Num' at line 1918:CORE.setting␤  in 'Cool::Numeric' at line 1905:CORE.setting␤  in 'Cool::Numeric' at line 1905:CORE.setting␤  in 'Cool::Num' at line 7613:CORE.setting␤  in 'Cool::Numeric'
20:10 p6eval ..at li…
20:10 masak sorear: legally?
20:14 tadzik rakudo: say $*PERL.perl
20:14 p6eval rakudo 8533c3: OUTPUT«{"name" => "rakudo", "version" => "2011.04-3-g8533c3c"}␤»
20:14 tadzik version should be just 6, no?
20:14 tadzik $*PERL      Which Perl I'm running under
20:14 tadzik also http://rt.perl.org/rt3/Ticket/Display.html?id=79294
20:15 molaf left #perl6
20:16 masak sorear: are you just referring to the agreement one has to sign as a Parrot dev?
20:17 tadzik http://rt.perl.org/rt3/Ticket/Display.html?id=80668 -- that looks like a problem of missing make install, but it's a bit old anyway: should this end as "try the new version or we're closing this in a week time
20:17 tadzik " or somethins?
20:18 sorear masak: yes
20:18 masak ah.
20:18 tadzik rakudo: say Attribute ~~ Cool
20:18 p6eval rakudo 8533c3: OUTPUT«Bool::False␤»
20:19 pochi left #perl6
20:20 birdwindupbird left #perl6
20:20 tadzik rakudo: say NaN.Rat
20:20 p6eval rakudo 8533c3: OUTPUT«-9.22337203685478e+18␤»
20:20 tadzik ahaha :)
20:21 pochi joined #perl6
20:21 * masak hides face in hands
20:22 masak well, at least now we know what number NaN is... :)
20:23 tadzik I think http://rt.perl.org/rt3/Ticket/Display.html?id=77738 and http://rt.perl.org/rt3/Ticket/Display.html?id=77740 can be merged into one somehow
20:24 masak merge higher-numbered ones into lower-numbered ones, says pmichaud.
20:26 pmurias sorear: why would you helping #parrot be illegal?
20:26 sorear pmurias: I can help, just not with code
20:27 sorear pmurias: PaFo wants licensing agreements, and I lack any capability for sending a signed document to PaFo
20:27 [Coke] left #perl6
20:27 sorear presumably I could buy stamps somewhere
20:27 pmurias sorear: where do you live?
20:28 tadzik sorear: you can scan and email that, I did this
20:28 pmurias sorear: you could clone the repo at github and just have them pull your commits
20:28 sorear tadzik: that would require a scanner
20:28 tadzik right
20:29 pmurias sorear: the documents is only for the commit bit AFAIK
20:29 tadzik maybe you can get away with a digital camera, if you have one
20:29 [Coke] joined #perl6
20:29 plobsing joined #perl6
20:30 pmurias sorear: don't any of your friends have a scanner?
20:31 donri left #perl6
20:32 y3llow_ joined #perl6
20:33 pothos_ joined #perl6
20:33 masak Yapsi commints coming up...
20:33 masak commits*
20:34 masonkramer left #perl6
20:34 y3llow left #perl6
20:34 pothos left #perl6
20:35 [Coke] left #perl6
20:35 y3llow_ is now known as y3llow
20:35 pothos_ is now known as pothos
20:36 dalek yapsi: a7d23db | masak++ | / (3 files):
20:36 dalek yapsi: [Yapsi] added ENTER phaser
20:36 dalek yapsi:
20:36 dalek yapsi: And it works! Not bad.
20:36 dalek yapsi: review: https://github.com/masak/yapsi/commit/a7d23db5f4
20:36 dalek yapsi: 65d99c1 | masak++ | doc/ (3 files):
20:36 dalek yapsi: [doc] updated documents
20:36 dalek yapsi: review: https://github.com/masak/yapsi/commit/65d99c10e1
20:36 dalek yapsi: a675900 | masak++ | lib/Yapsi.pm:
20:36 dalek yapsi: [Yapsi] bumped version number
20:36 dalek yapsi:
20:36 dalek yapsi: Might as well have it conform to the name of the release.
20:36 dalek yapsi: review: https://github.com/masak/yapsi/commit/a675900d00
20:36 [Coke] joined #perl6
20:37 Trashlord joined #perl6
20:38 mberends left #perl6
20:38 icwiener left #perl6
20:41 dalek rakudo: 6ca6140 | tadzik++ | src/core/Cool-str.pm:
20:41 dalek rakudo: Simplify and optimize the trivial case of Str.comb(). RT #85602
20:41 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/6ca6140a46
20:44 dalek nqp/ctmo: eed9b67 | jonathan++ | src/stage0/ (6 files):
20:44 dalek nqp/ctmo: Update the bootstrap with the various branch changes so far.
20:44 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/eed9b67e82
20:44 dalek nqp/ctmo: c74cce8 | jonathan++ | src/ (2 files):
20:44 dalek nqp/ctmo: Refactor to generate the prefixes list during the actions stage rather than using the one built in the regex compiler. This means it can be added through the compile-time meta-objects.
20:44 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/c74cce8709
20:44 dalek nqp/ctmo: 519ef59 | jonathan++ | src/stage0/ (6 files):
20:44 dalek nqp/ctmo: Update bootstrap.
20:44 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/519ef59d4c
20:44 dalek nqp/ctmo: b6e14db | jonathan++ | src/PAST/Compiler-Regex.pir:
20:44 dalek nqp/ctmo: Remove now-unused prefix routine code-gen from the regex compiler.
20:44 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/b6e14db3ef
20:44 jnthn phenny: tell pmichaud I managed to resolve the prefixes method issue relatively easily in the end. :)
20:44 phenny jnthn: I'll pass that on when pmichaud is around.
20:48 [Coke] left #perl6
20:49 masak yo people. Yapsi announcement.
20:49 masak https://github.com/masak/yapsi/blob/9e666716cde2105ed98c8bc0bf827921c8db090d/doc/announce/2011.05
20:49 masak reviews welcome.
20:50 [Coke] joined #perl6
20:50 Helios left #perl6
20:51 Helios joined #perl6
20:51 dalek yapsi: 9e66671 | masak++ | doc/announce/2011.05:
20:51 dalek yapsi: [doc/announce/2011.05] added
20:51 dalek yapsi: review: https://github.com/masak/yapsi/commit/9e666716cd
20:52 tadzik GAH, now the comb() appears to be slower. Wtf
20:52 * tadzik suspects GC
20:54 jnthn masak: nice :)
20:55 sorear jnthn: no more prefixes?  nqp is using ltm now?
20:55 jnthn sorear: There are prefixes, they're just generated in an earlier phase of the compilation.
20:55 jnthn sorear: It's not a big deal
20:56 jnthn sorear: It's just so we have the prefix method to hand at the time we actually construct types now.
20:57 jnthn (Which has moved earlier, so it's possible to do gradual typing stuff.)
20:57 skangas left #perl6
20:58 dalek nqp/ctmo: 811d9a5 | jonathan++ | src/NQP/ (2 files):
20:58 dalek nqp/ctmo: Eliminate a mention of $*PACKAGE-SETUP, which it's now time to start finally killing.
20:58 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/811d9a5f48
20:59 masak "it's a setup!"
21:00 jnthn :P
21:00 masak mathw: oh, it's your birthday today?
21:05 masak rakudo: my $HB = 'happy birthday'; my $TU = 'to you'; my $HBTU = "$HB $TU"; .say for $HBTU xx 2, "$HB dear mathw", $HBTU
21:05 p6eval rakudo 8533c3: OUTPUT«happy birthday to you␤happy birthday to you␤happy birthday dear mathw␤happy birthday to you␤»
21:07 Trashlord haha
21:07 Trashlord mathw: your day is May 1st too?
21:08 Trashlord (I know in some areas of the world it's already May 2, that's why I'm asking)
21:11 SHODAN left #perl6
21:18 masak heh. I have to fix the psyde bug in order to (easily) post the Yapsi announcement on my blog.
21:18 dalek nqp/ctmo: 1a16b84 | jonathan++ | src/ (2 files):
21:18 dalek nqp/ctmo: Stub in initial bits towards role building refactor, which removes another usage of $*PACKAGE-SETUP. Finishing that is main task left in this branch.
21:19 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/1a16b84a94
21:19 dalek nqp/ctmo: f30806d | jonathan++ | src/ (2 files):
21:19 dalek nqp/ctmo: Switch .^compose to compile time meta-object. Darn...breaks multi-methods. :/
21:19 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/f30806d975
21:19 dalek nqp/ctmo: 707bae5 | jonathan++ | src/NQP/ (2 files):
21:19 dalek nqp/ctmo: Remove last remaining usages of $*PACKAGE-SETUP.
21:19 dalek nqp/ctmo: review: https://github.com/perl6/nqp/commit/707bae553a
21:19 masak my bet: it's a hitherto unspotted Rakudo regression.
21:19 jnthn Enough NQP for today. "Just" need to fix the two broken test files and then ctmo can be merged and deleted...and rakudo/nom continued. :)
21:20 donri joined #perl6
21:20 masak oh wait! no, this might be a hitherto untested code path in psyde... I take everything back :)
21:20 jnthn :P :P
21:26 cotto joined #perl6
21:31 uniejo_ joined #perl6
21:33 Helios left #perl6
21:35 masak nope, it's a bona fide rakudobug.
21:35 masak rakudo: my %h = 1..8; say %h{7, 5}.perl
21:35 p6eval rakudo 8533c3: OUTPUT«(8, 6)␤»
21:35 masak huh.
21:35 masak getting 'Any' locally.
21:35 * masak makes sure he has the latest one installed
21:36 jnthn rakudo: my %h = 1..8; say %h.perl
21:36 p6eval rakudo 8533c3: OUTPUT«{"1" => 2, "3" => 4, "5" => 6, "7" => 8}␤»
21:36 masak that one's fine here too.
21:36 Helios joined #perl6
21:44 cotto left #perl6
21:51 masak rakudo: my %h = 1..8; say %h{7, 5}.perl
21:51 p6eval rakudo 8533c3: OUTPUT«(8, 6)␤»
21:51 masak this still gives "Any" locally.
21:51 masak just compiled. I'm on the same commit.
21:52 masak rakudo: my %h = 1..8; say (%h{$_} for 7, 5).perl
21:52 p6eval rakudo 8533c3: OUTPUT«(8, 6)␤»
21:52 masak this works, tho'
21:52 jnthn huh...
21:53 jnthn That's...very odd.
21:53 masak might be I'm running a newer Parrot than does p6eval... but why should that make any difference?
21:54 jnthn It shouldn't...
21:54 jnthn > my %h = 1..8; say %h{7, 5}.perl
21:54 jnthn (8, 6)
21:54 jnthn (locally)
21:55 jnthn Is current Rakudo with the Parrot from PARROT_REVISION.
21:55 masak yeah. I'm not running Parrot from PARROT_REVISION, I'm pretty sure.
21:55 masak I build Parrot separately.
21:55 masak also, I have that gc flag set right now.
21:56 jnthn It's hard to imagine a Parrot change that would break *that* but not other things...
21:56 * masak rebuilds Parrot, just for fun
21:56 mj41 left #perl6
21:56 masak yeah.
21:56 jnthn Where are you trying it? REPL?
21:56 masak command line, as always.
21:57 jnthn With -e?
21:57 masak yes.
21:57 jnthn it's not some weird shell escaping thing?
21:57 masak nope.
21:57 masak single quotes only.
21:58 jnthn Good. Married quotes get troublesom.
21:58 masak how do I set Parrot to tag RELEASE_3_3_0?
21:59 jnthn git checkout <tagname>, I thought?
22:00 masak correct. jnthn++
22:01 masak heh. as part of this workaround, this is the first time I put a statement_mod for loop inside the list to iterate over in a regular for loop ;)
22:03 jnthn Workarounds. Some of them are weird.
22:04 * jnthn sends in the April hours.
22:04 jnthn It's May O_O
22:04 spetrea joined #perl6
22:04 spetrea why is #perl6 on Freenode and #parrot on irc.perl.org ?
22:05 masak historical reasons.
22:05 spetrea masak: was #perl6 at some point on irc.perl.org and then it moved to Freenode ?
22:06 masak no, #perl6 was created on Freenode.
22:06 spetrea masak: oh, yet #parrot sits on irc.perl.org
22:06 masak yes; I agree that the other way around would make more sense :)
22:06 spetrea masak: which other way around ?
22:07 spetrea there are 2 other ways around
22:07 masak not by the common sense of the term.
22:08 masak I meant that it would be more logical to find #parrot on Freenote and #perl6 on irc.perl.org
22:08 spetrea oh ? hmm
22:08 spetrea because #parrot is not just Perl
22:08 spetrea but perl6 is more related to Perl so it should go in irc.perl.org ..
22:08 spetrea I seem to follow
22:08 masak right.
22:09 spetrea ok thanks :)
22:09 masak np
22:10 jnthn sleep for me &
22:11 * masak staying up after jnthn? inconceivable!
22:12 masak jnthn: downgrading Parrot seems to have helped! o.O
22:12 jnthn Oh noes :|
22:12 masak might've been the gc setting, who knows?
22:12 jnthn moze byt...
22:12 uniejo_ left #perl6
22:12 masak anyway, my blogging software works again, without the workaround \o/
22:12 Helios left #perl6
22:12 jnthn \o/
22:13 spetrea masak: eating your own dogfood by writing a blogging software in Perl6 ?
22:13 masak yeah, how'd you guess? :)
22:13 spetrea sounds like a very good idea , I should do that more often
22:13 masak it's 2011, and Rakudo/Parrot continue to surprise... but not in that good/warm/fuzzy way. :/
22:13 spetrea why no surprises anymore ?
22:14 jnthn masak: Did you use the one in PARROT_REVISION?
22:14 masak let's just say there are some surprises I could live without...
22:14 masak yeah.
22:14 jnthn And that had the bug?
22:14 spetrea I was watching Damian's presentation, it was quite an itneresting one, but then I paused, went for a smoke, lost track of time & sh*t and forgot about it, I might resume tommorow in the afternoon or smth like that
22:14 masak no, Parrot HEAD had the bug.
22:14 jnthn Ah, OK
22:15 jnthn At least that doesn't give too many patches to go bisecting through.
22:15 Helios joined #perl6
22:15 masak oh, troo
22:15 masak I might try upgrading Parrot again and seeing if the error comes back.
22:15 jnthn Though it may just be GC option and a case of missing write barrier working out weirdly.
22:16 jnthn Though you'd often expect segfaults or assert fails from that.
22:16 masak nod
22:16 masak might investigate more tomorrow.
22:16 jnthn I put a LOAD of them into nqp recently that were probably needed but never managed to cause an observable problem...yet.
22:16 masak http://strangelyconsistent.org/blog/yapsi-201105-released \o/
22:17 jnthn Wouldn't surprise me if Rakudo misses some.
22:17 jnthn Anyway....bed o/
22:17 * masak too
22:17 masak 'night, zebras and pandas and lovely butterflies
22:17 masak left #perl6
22:28 spetrea left #perl6
22:45 mtk left #perl6
22:49 kst left #perl6
22:53 plobsing_ joined #perl6
22:53 mtk joined #perl6
22:55 plobsing left #perl6
23:01 skangas joined #perl6
23:01 risou joined #perl6
23:05 daxim__ joined #perl6
23:08 donri left #perl6
23:28 nadim left #perl6
23:36 risou left #perl6
23:43 am0c joined #perl6

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

Perl 6 | Reference Documentation | Rakudo