Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2013-01-15

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:07 lue hello o/
00:08 colomon sorear: yes, but it says 100% of the time is going to Chrome, not to the various tabs.
00:21 SmokeMachine joined #perl6
00:25 PerlJam joined #perl6
00:33 Targen joined #perl6
00:42 gogolum joined #perl6
00:47 dalek perl6-bench: 3a84c35 | (Geoffrey Broadwell)++ | / (2 files):
00:47 dalek perl6-bench: Increase Parrot recursion limit for nqp/rc-man-or-boy-test to same limit that Rakudo sets internally; move from 9 to 16 for standard rc-man-or-boy-test
00:47 dalek perl6-bench: review: https://github.com/japhb/pe​rl6-bench/commit/3a84c35534
01:01 [Coke]_ joined #perl6
01:01 gogolum_ joined #perl6
01:02 japhb__ joined #perl6
01:03 Util_ joined #perl6
01:03 huf_ joined #perl6
01:03 telex joined #perl6
01:04 GlitchMr_ joined #perl6
01:04 patspam joined #perl6
01:04 jtpalmer_ joined #perl6
01:07 patspam joined #perl6
01:07 jtpalmer_ joined #perl6
01:09 hypolin joined #perl6
01:12 dalek Pugs.hs: 7289344 | coke++ | t/spectest.data:
01:12 dalek Pugs.hs: add new tests files that we pass.
01:12 dalek Pugs.hs: review: https://github.com/perl6/Pugs.hs/commit/728934467c
01:13 anuby joined #perl6
01:14 Khisanth joined #perl6
01:24 bluescreen10 joined #perl6
01:38 gogolum_ left #perl6
01:43 slayer101_ joined #perl6
01:53 SmokeMachine joined #perl6
01:56 b1rkh0ff joined #perl6
01:56 japhb__ joined #perl6
01:56 japhb joined #perl6
02:08 dalek perl6-roast-data: 4abfa8b | coke++ | bin/pugs.sh:
02:08 dalek perl6-roast-data: fix pug's perl6 wrapper to use right Test.pm
02:08 dalek perl6-roast-data: review: https://github.com/coke/perl6​-roast-data/commit/4abfa8bb14
02:12 geekosaur "pugs'" :p
02:22 [Coke]_ typos happen. you'll get over it.
02:23 [Coke] geekosaur: any help with actual haskell code greatly appreciated.
02:25 Jimmy joined #perl6
02:25 Jimmy .u ̶
02:25 phenny U+0336 COMBINING LONG STROKE OVERLAY (◌̶)
02:29 skids pugs's unless pugs is plural or unless you would pronounce it "pugs" instead of "pugses" in your local dialect.
02:30 shachaf [Coke]: Oh boy, actual Haskell code?
02:32 [Coke] mmm. I am not a haskell programmer, so making changes to pugs turns out to be very difficult in that case.
02:34 shachaf I vaguely remember the consensus being that making changes to Pugs turns out to be difficult even to actual Haskell programmers.
02:34 shachaf I've only ever made stylistic sorts of changes, though.
02:35 [Coke] I'm currently trying to figure out how to add a "trim" sub. "adsf ".trim works, Scalar::trim "asdf " works, but trim "asdf " fails.
02:35 [Coke] I'm assuming I can add a line to the lookup table in src/Pugs/Prim.hs ...
02:36 shachaf Is it GHC 7.6-compatible these days?
02:37 [Coke] I am using 7.4.1 because that's what's on feather
02:37 fgomez joined #perl6
02:38 SmokeMachine joined #perl6
02:45 thou joined #perl6
02:55 slayer101_ joined #perl6
02:59 skids r: sub f ( :$i where (any <foo bar>) = "bar" ) { }; f(:i<foo>);
02:59 p6eval rakudo c3f565:  ( no output )
02:59 skids r: sub f ( :$i where any <foo bar> = "bar" ) { }; f(:i<foo>);
02:59 p6eval rakudo c3f565: OUTPUT«Cannot assign to a non-container␤  in method STORE at src/gen/CORE.setting:5146␤  in sub f at /tmp/dn6RXveUdY:1␤  in block  at /tmp/dn6RXveUdY:1␤␤»
03:00 * skids wonders how that syntax works out
03:01 skids r: sub f ( :$i where "foo"|"bar" = "bar" ) { }; f(:i<foo>);
03:01 p6eval rakudo c3f565:  ( no output )
03:02 dalek Pugs.hs: 4eb39c8 | coke++ | Pugs/src/Pugs/Prim.hs:
03:02 dalek Pugs.hs: add sub variant of flip
03:02 dalek Pugs.hs: review: https://github.com/perl6/Pugs.hs/commit/4eb39c853a
03:02 dalek roast: 2d20b19 | coke++ | S (4 files):
03:02 dalek roast: pugs fudge
03:02 dalek roast: review: https://github.com/perl6/roast/commit/2d20b192f7
03:20 MikeFair joined #perl6
03:24 slayer101_ joined #perl6
03:26 Celelibi joined #perl6
03:41 MikeFair joined #perl6
04:29 preflex_ joined #perl6
04:29 jaldhar joined #perl6
04:55 slayer101_ joined #perl6
05:28 isBEKaml joined #perl6
05:48 thou joined #perl6
06:08 adu joined #perl6
06:08 moritz \o
06:13 isBEKaml hello, moritz
06:13 moritz good morning isBEKaml
06:14 isBEKaml moritz: how's things?
06:14 moritz isBEKaml: pretty well. And on your end?
06:15 isBEKaml moritz: good, long weekend. :)
06:15 moritz \o/
06:16 * moritz has to wake up the rest of the small family now
06:25 adu hi
06:25 adu what was that builtin thin for <digit> but not 0?
06:26 moritz <+digit-[0]>
06:26 raiph joined #perl6
06:28 adu thanks :)
06:29 adu hi moritz
06:36 moritz nr: say (^10).join ~~ /<+digit-[0]>+/
06:36 p6eval rakudo c3f565: OUTPUT«「123456789」␤␤»
06:36 p6eval ..niecza v24-17-gd343a2a: OUTPUT«#<match from(1) to(10) text(123456789) pos([].list) named({}.hash)>␤»
06:37 adu perl6 is so fun :)
06:39 moritz it is :-)
06:39 moritz I write Perl 5 code for $dayjob, and find myself wishing for small or larger Perl 6 features all the time
06:40 adu I was just playing around with the DMTF CIM PUnit grammar
06:40 adu I write Groovy for my dayjob
06:42 raiph joined #perl6
06:42 quester joined #perl6
06:43 raiph joined #perl6
06:44 raiph joined #perl6
06:45 raiph joined #perl6
06:45 slayer101_ joined #perl6
06:46 raiph joined #perl6
06:47 raiph joined #perl6
06:54 moritz is that one of the functional languages on the JVM?
06:55 lue Bah. I'm getting "Can't write-open packfile-c.pod: Permission denied" with latest parrot (only thing I found on this was from '08). Any quick ideas?
06:55 moritz find -name packfile-c.pod | ls -l
06:56 SamuraiJack joined #perl6
06:58 lue does not exist (and I am user of the docs/ folder, and I only use sudo to install to /usr/local (which is when it fails. `sudo make install`))
06:59 adu moritz: Groovy? yes, it was inspired by Ruby, and yes, there is even a Grails (Groovy on Grails)
07:00 lue Also, I've run git clean -dfx a couple times.
07:00 adu one of the nice things about Groovy w.r.t. Java though is that most of the time, it's a superset, so you can use Java source verbatim, and the Groovy compiler will help you make it 10x slower!
07:03 tadzik hehehe
07:04 isBEKaml yeah,  from what I know - groovy is a wrapper around java code. Whatever it does, it does it through syntax sugar. :)
07:04 lue huh. Running `make docs` lets me compile packfile-c.pod, but fails on the next pod to be generated :/
07:04 adu but it's got some nice bring-backs from the whole Ruby-on-Rails crowd, like method name interception
07:05 lue .oO(Groovy -> 70's -> Peace -> just chill out, man -> 10x slower)
07:05 isBEKaml adu: yeah, those are nice.
07:05 isBEKaml adu: Java has it through AOP (or aspectJ)
07:06 tadzik well, that's just, like, your performance froblem, man
07:06 adu like myPerson.findAllByBirthdate(Date.now())
07:07 adu where the only typing you did was "Date dirthdate"
07:08 adu tadzik: actually, the groovy compiler takes every Groovy call and compiles it to approx. 3 Java calls
07:10 tadzik that rings a bell, you know :P
07:11 tadzik although comparing Perl 6 to Pir may not be too fair
07:11 sevin joined #perl6
07:11 lue I'll try to ask on #parrot tomorrow. Good knight all o/
07:11 tadzik o/
07:12 kaleem joined #perl6
07:12 adu oops, I sorry
07:17 DrEeevil isBEKaml: is it unusual that I find AspectJ exquisitely horrible and a bad idea?
07:18 isBEKaml DrEeevil: Not so much - I've been around for some time in jvm land, but I have rarely had any need for using aspectJ.
07:18 DrEeevil ok :)
07:19 adu I feel like AspectJ is one of those things people make to meet unreasonable project requirements
07:20 isBEKaml adu: Most cases I have seen it being used were to fix issues when modifying java code is out of question (hint: legacy, internal java frameworks)
07:21 DrEeevil isBEKaml: that's my impression too - a bad fix for worse code
07:21 isBEKaml adu: I have been hit by issues in legacy code, I'd just write helper functions to work around than having to fiddle with aspectJ.
07:21 adu hrm, that makes sense
07:21 DrEeevil but then my general opinion of the java ecosystem is not that nice
07:22 adu I don't like any ecosystem
07:22 adu my ideal ecosystem would let me choose between GC and malloc/free
07:22 adu on a per allocation basis
07:23 adu either that or per-sub/method
07:23 FROGGS joined #perl6
07:24 isBEKaml DrEeevil: I don't like the general state of java frameworks (too much overlap) - so I just look at their API when evaluating whether I want to use anything.
07:24 adu C++ has both allocation schemes in a sense, but it's bad
07:24 isBEKaml That said, I have to say that as a project advances, there's quite some chance of bad code creeping in with multiple people working on it.
07:25 DrEeevil isBEKaml: my impression of all things java is "who needs to look at the docs when you get paid per line of code" - so little code that makes sense
07:26 isBEKaml adu: I have never enjoyed using C++, until I had a chance look into Qt framework last year or so. That's quite nice, though they had a messy moc system(well hidden from users, ofcourse)
07:26 isBEKaml DrEeevil: Now, that's horrible. :)
07:26 adu yeah, I've peeked at Qt, never used it though
07:27 DrEeevil it's the least bad framework I've found so far ;)
07:27 adu Qt is pretty well designed, I'll admit that
07:29 DrEeevil Qt5 is interesting - internal redesign without changing the external API much
07:29 adu but what I can't stand about C++ is the ambiguity of source code, can be confusing to both compiler and user
07:30 adu the only rational way to use C++ is to restrict it to 5% of the official language, use that, and forbid your team from using more
07:32 adu because I've found that readability plays a big role in maintainability
07:33 isBEKaml I've never looked at Qt5, when I tried it - it was 4.3 or so, I guess. In any case, I'm happy not having to deal with C++. :)
07:35 adu perl6 is really surprising in that it appears very readable compared to perl5
07:36 Pleiades` joined #perl6
07:37 DrEeevil adu: and every coder takes another subset as "sane" ;)
07:37 adu I like the regex/rule/token subset :D
07:42 FROGGS and it's all the same like a class, with multis and protos and stuff
08:05 Su-Shee good morning everyone.
08:06 moritz good morning, Su-Shee
08:16 cognominal joined #perl6
08:21 quester left #perl6
08:52 sqirrel joined #perl6
08:55 jnthn morning o/
08:56 arnsholt \o
09:08 sorear o/
09:17 diakopter \\\o///
09:26 timotimo that looks painful
09:33 dakkar joined #perl6
09:42 Psyche^ joined #perl6
09:57 BladeMaster joined #perl6
10:13 moritz masak: you might like http://www.magicalmaths.org/how-​japanese-kids-learn-to-multiply/
10:18 jnthn r: 'http://www.magicalmaths.org/how-japane​se-kids-learn-to-multiply/'.subst('r', { < r l >.pick }, :g).say
10:18 p6eval rakudo c3f565: OUTPUT«http://www.magicalmaths.org/how-​japanese-kids-lealn-to-multiply/␤»
10:18 jnthn r: 'http://www.magicalmaths.org/how-japan​ese-kids-learn-to-multiply/'.subst(/r|l/, { < r l >.pick }, :g).say
10:18 p6eval rakudo c3f565: OUTPUT«http://www.magicalmaths.org/how-​japanese-kids-realn-to-multipry/␤»
10:18 jnthn oh, you can do it with < r l > on both sides...
10:19 jnthn r: 'http://www.magicalmaths.org/how-japan​ese-kids-learn-to-multiply/'.subst(/< r l >/, { < r l >.pick }, :g).say
10:19 p6eval rakudo c3f565: OUTPUT«http://www.magicalmaths.olg/how-​japanese-kids-rearn-to-murtiply/␤»
10:20 SmokeMac_ joined #perl6
10:22 jnthn also, wow, that's cool
10:22 jnthn So now I wanna know why it works :)
10:23 arnsholt Indeed. Someone showed me how Montesorri schools teach multiplication as well. Pretty neat
10:34 SmokeMachine joined #perl6
11:10 Su-Shee joined #perl6
11:11 kaleem joined #perl6
11:11 grondilu joined #perl6
11:14 Chillance joined #perl6
11:21 jlaire joined #perl6
11:23 rindolf joined #perl6
11:34 kaleem joined #perl6
11:34 SmokeMachine joined #perl6
11:48 sorear joined #perl6
11:54 SmokeMachine joined #perl6
12:13 cognominal joined #perl6
12:15 wk joined #perl6
12:49 brrt joined #perl6
12:57 timotimo wondering why https://rt.perl.org/rt3/Ti​cket/Display.html?id=78454 isn't causing lots of problems?
12:57 timotimo is noone using perl6 on files?
12:59 jnthn timotimo: No, they're remembering to write a close call.
12:59 timotimo that's somewhat sensible
13:00 brrt no, it isn't, close() should be called by the vm imho
13:01 timotimo https://rt.perl.org/rt3/Ti​cket/Display.html?id=79242 - why would one expect the foo to be used as a sub in this ticket?
13:01 timotimo the current rakudo behavior is to always complain about "foo" being unknown
13:01 kaleem joined #perl6
13:01 timotimo no matter if any use is put before use MONKEY_TYPING
13:02 jnthn brrt: It should but writing an explicit close is *still* generally the right thing because you don't know when the VM will call it for you.
13:02 moritz timotimo: because 'is export' on a method creates a sub
13:02 jnthn That is, in a long-running program.
13:02 timotimo ah, that makes sense
13:02 moritz (kind of)
13:02 moritz r: class A { method foo() is export { say 42 } }; foo(A)
13:02 p6eval rakudo c3f565: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Undeclared routine:â�¤    foo used at line 1â�¤â�¤Â»
13:03 moritz seems that case of 'is export' is simply not implemented in rakudo right now
13:03 timotimo it seems like it once worked, like in the ticket
13:03 moritz well, ancient history and all :-)
13:04 timotimo indeed
13:04 moritz it was probably from the time where we looked up subroutines in packages too
13:04 jnthn uh, you didn't import.
13:04 spider-mario joined #perl6
13:05 jnthn r: class A { method foo() is export { say 42 } }; import A; foo(A)
13:05 p6eval rakudo c3f565: OUTPUT«42␤»
13:06 moritz jnthn: the ticket (and S32::* also) seems to expect it to automatically export it to the current(?) scope too
13:06 moritz well, actually to the outer scope of the class
13:06 jnthn ...hm.
13:06 jnthn Is that...desirable? :)
13:06 moritz which is a bit crazy
13:06 moritz or a bit more than a bit :-)
13:06 jnthn I'm not exactly a fan ;)
13:06 timotimo should i close it as wontfix?
13:06 jnthn timotimo: imho, not until the spec changes to remove the crazy
13:07 moritz but you're welcome to remove the crazy from the spec
13:08 timotimo sounds exciting
13:12 [Coke] phenny: ask au to please review any haskell changes I make to pugs, since they are most likely the wrong way to do something.
13:12 phenny [Coke]: I'll pass that on when au is around.
13:13 [Coke] phenny: tell au 謝謝
13:13 phenny [Coke]: I'll pass that on when au is around.
13:14 kaleem joined #perl6
13:16 jnthn away for a bit
13:19 masak people, remember that p6cc closes on Friday.
13:20 masak (oh hai, #perl6)
13:20 cognominal joined #perl6
13:23 timotimo i must not have looked hard enough; i don't find where in S32-settings-library/ i can find the specification for how is export is supposed to behave in this case
13:23 [Coke] masak: aaaaaigh
13:23 * [Coke] could really use another month.
13:23 [Coke] masak: next year, it might be helpful to put the close date in the repo with the instructions.
13:25 au [Coke]: they look pretty good to me.
13:25 phenny au: 13:12Z <[Coke]> ask au to please review any haskell changes I make to pugs, since they are most likely the wrong way to do something.
13:25 phenny au: 13:13Z <[Coke]> tell au 謝謝
13:25 masak [Coke]: noted.
13:26 au also, there is no wrong way in my world, as _why observed :)
13:26 [Coke] https://twitter.com/PerlBora​t/status/176872548494082048
13:30 cognominal joined #perl6
13:33 moritz [Coke]: :-)
13:52 * [Coke] reads http://shadow.cat/blog/mat​t-s-trout/passion-anguish/
13:53 atrodo joined #perl6
13:58 * moritz finds that protectiveness and defensiveness often go hand in hand
14:07 PerlJam masak: I'm with [Coke] on the p6cc.  I could use another month.   I've only found time to think about some of the problems and sketch a few rough ideas, but nothing substantial yet.  (certainly nothing to submit)
14:07 PerlJam masak: maybe next year, let it run a little longer?
14:10 Pleiades` joined #perl6
14:14 * moritz will probably also run out of time before deadline
14:14 moritz though during the Christmas vacations I might have had enough time, but first there was a certain burnout, and then too many exciting new books to read :-)
14:16 PacoAir joined #perl6
14:25 * colomon got many exciting books to read for Christmas, but hasn't yet managed to finish the one he was already reading at that point.
14:27 xinming joined #perl6
14:32 * jnthn back
14:33 brrt hi jnthn
14:34 jnthn o/ brrt
14:36 masak I hear what you're saying about p6cc being too short, but I'm reluctant to make it more than five weeks. after all, that's one whole week per problem.
14:37 moritz masak: compare it to the time it took us to review all solutions last year, which was far longer
14:44 kaare_ joined #perl6
14:51 leprevost joined #perl6
14:52 cognominal joined #perl6
14:52 masak moritz: uhm, is that a fair comparison? that time is also proportional to the number of submissions, which each participant's time is not.
14:54 stopbit joined #perl6
14:56 [Coke] At this point, I have an "ok" submission for 2 problems. by friday, I will probably spend time cleaning up those 2, rather than trying to get anywhere on the other 3.
14:57 moritz masak: actually, the comparison isn't too bad; the winners were announced in week 28
14:58 moritz and there were 25 submissions
14:58 [Coke] I started on a third and could probably finish that given another 2 weeks of time. one of the remaining ones I know I'll fail miserably against someone with a math degree, and another I have no clue what the problem is saying. :)
14:58 moritz (not counting duplicate submissions for the same task by the same person)
14:58 [Coke] I am going to count myself happy at 2, if I can polish them better.
15:01 masak I hear you. I will "take it under advisement". things is, at least previous years there have been perfectly adequate solutions to all tasks from some contestants well within the five weeks.
15:01 masak I didn't have the impression that this year's tasks were much harder than previous years, but I may be wrong about that.
15:01 masak s/things is/thing is/
15:02 moritz I don't think they are much harder to me; merely that I had much more trouble finding tuits
15:02 [Coke] I had about as much spare time as I did last year, and got about as much done.
15:02 [Coke] I may not be in your target audience, though.
15:03 masak well, the whole thing is about handing out an Amazon gift to someone who deserves it, and to assess that fairly. part of deserving it is finding tuits; sorry, those are the breaks.
15:03 masak I think what you're observing is a feature, not a bug.
15:03 * masak leaves for train &
15:04 [Coke] Very likely. I'm not expecting to win. :)
15:04 * [Coke] wonders if folks who don't expect to win should not be entering, but should instead 'audit the course'
15:05 brrt left #perl6
15:06 moritz nah
15:06 bluescreen10 joined #perl6
15:06 moritz unless I have a sudden tuit flash, I don't expect to win, but had fun with the tasks so far
15:09 * PerlJam will be lucky to finish 1 of the problems.
15:17 skids joined #perl6
15:17 leprevost joined #perl6
15:18 SunilJoshi joined #perl6
15:20 [Coke] PerlJam: YOU CAN DO IT!
15:24 FROGGS joined #perl6
15:26 sqirrel joined #perl6
15:36 [Coke] yup, definitely fun, moritz.
15:36 [Coke] anyone else tackle t2?
15:39 [Coke] hugme: hug masak
15:39 * hugme hugs masak
15:41 cosimo i got stuck on my first problem...
15:41 [Coke] did you start with t1?
15:42 [Coke] I have an OK t2 solution, I think, but it's pretty slow, and I'm wondering if it's rakudo's `fault'.
15:44 hash_table joined #perl6
15:44 Khisanth joined #perl6
15:48 am0c joined #perl6
15:50 raiph joined #perl6
15:51 raiph joined #perl6
15:52 raiph joined #perl6
15:58 [Coke] hopefully will have time to profile it.
16:03 [Coke] hurm. `perl6 --profile code` - where does the profile output go?
16:03 jnthn stderr
16:04 [Coke] O_o
16:14 MayDaniel joined #perl6
16:16 bluescreen10 joined #perl6
16:17 werwerwer joined #perl6
16:18 bluescreen10 joined #perl6
16:19 bluescreen10 joined #perl6
16:21 bluescreen10 joined #perl6
16:22 slavik1 joined #perl6
16:24 bluescreen10 joined #perl6
16:26 bluescreen10 joined #perl6
16:29 bluescreen10 joined #perl6
16:33 thou joined #perl6
16:37 [Coke] I got no output.
16:37 [Coke] 2012.11-76-gf93e603
16:38 jnthn perl6 --profile -e "say 42" # produces output for me...
16:38 jnthn 2012.12-87-gc3f565d fwiw, but I can't imagine anything woulda changed to break it recently
16:39 [Coke] that produces output, putting it in a file works... running against my "code" file fails to generate output.
16:42 [Coke] ah: perl6 --profile -e "say 42; exit 1"
16:43 jnthn :/
16:43 [Coke] exit 0 works.
16:43 jnthn Oh.
16:43 jnthn heh
16:43 [Coke] which, arguably, I should be using anyway.
16:43 jnthn "feature" :P
16:44 [Coke] still, I think you still want profiling even on an non-0 exit.
16:44 jnthn yeah
16:44 [Coke] rakudobug-from-p6cc!
17:38 dalek nqp-jvm-prep: 3e47023 | jnthn++ | / (2 files):
17:38 dalek nqp-jvm-prep: Stub die/die_s just to throw a JVM exception.
17:38 dalek nqp-jvm-prep:
17:38 dalek nqp-jvm-prep: We'll need to do something much smarter to get the NQP and Perl 6
17:38 dalek nqp-jvm-prep: semantics, but this should be enough for getting the MOP going.
17:38 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/3e47023058
17:38 dalek nqp-jvm-prep: d916555 | jnthn++ | / (2 files):
17:38 dalek nqp-jvm-prep: Implement/test associative/positional QAST::Var.
17:38 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/d916555983
17:39 masak yay! \o/
17:39 jnthn That's some more nqp-mo uncommented...
17:41 masak moritz: I saw a still picture of the "how Japanese Kids learn multiplication", with only the final digits/lines marked out in different colors. I stared at it until I got it.
17:41 masak moritz: I do like it, because crossing lines are actually a good geometrical way to understand multiplication.
17:41 moritz aye
17:41 masak just as rows and columns of a table are.
17:42 masak but I haven't seen an example yet where they have to handle carries because a column is >10.
17:43 moritz aye, I noticed that too
17:43 masak that doesn't detract from the niceness of the method, it just means it's not fully general.
17:43 benabik http://www.wikihow.com/Mult​iply-Using-the-Line-Method
17:43 benabik Although the pictures on that are horrible (low contrast)
17:44 PacoAir joined #perl6
17:44 PacoAir_ joined #perl6
17:44 masak oh, so it's normal addition with carries after that. fairy nuff.
17:45 masak personally, I do mental manipulation of numbers, not of crossings or dots. numbers are faster. :)
17:45 * moritz doesn't want to count up to 81 dots :-)
17:46 masak right :)
17:46 moritz oh, and none of the examples used a 0
17:46 moritz one could simply draw a line and not put any dots on it
17:46 masak you missed all the zeros? I saw them everywhere!
17:46 Su-Shee .oO(R)
17:46 moritz just so not to get confused about where to count which dots
17:47 masak no, one line would be much more confusing than no line.
17:47 moritz ok, take a different color
17:48 moritz or a marker instead of a normal pen
17:48 moritz if you try to multiply numbers with several zerso, I'm sure you'll get confused if you leave out the lines entirely
17:48 masak what problem are you trying to solve? the perfect metaphor for 0 is "no line". ;)
17:49 masak I wouldn't be confused, I don't think.
17:49 * moritz would totally be
17:49 moritz especially with no or not much experience with the method
17:49 * moritz runs 'make' in nqp-jvm-prep
17:50 * arnsholt hopes it works
17:50 moritz aye; now on to 'make test'
17:51 masak another thing that the lines-and-crossings method nicely illustrates is that the multiplication operation on decimal numbers contains a convolution operation.
17:51 masak that's why two of the numbers end up in the same column.
17:51 arnsholt \o/
17:53 moritz Result: PASS
17:54 slavik1 moritz: but did the test run?
17:55 moritz well, I wouldn't have got a PASS if I hadn't run them
17:56 SunilJoshi1 joined #perl6
17:56 slavik1 what if that was a lazy test and the initial return value is pass?
17:57 slavik1 I am being annoying now, aren't I?
17:57 moritz yes, very perceptive of you
17:57 slavik1 I'll shut up now.
18:01 dalek nqp-jvm-prep: ebb84c1 | jnthn++ | / (2 files):
18:02 dalek nqp-jvm-prep: Implement various of the relationals.
18:02 dalek nqp-jvm-prep:
18:02 dalek nqp-jvm-prep: Rest should be relatively easy, though note there's no native lt/gt
18:02 dalek nqp-jvm-prep: etc. for String. Good LHF task to add what's missing, bigint aside
18:02 dalek nqp-jvm-prep: which will need more work.
18:02 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/ebb84c1727
18:02 dalek nqp-jvm-prep: 09d7959 | jnthn++ | t/qast_ (2 files):
18:02 dalek nqp-jvm-prep: Some tests for the added relationals.
18:02 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/09d7959f21
18:02 benabik The numeric version of counting line crossing: https://www.youtube.com/watch?v=INvJal1aIk0
18:03 nwc10 jnthn: does it work out that LHF is roughly "this is easy, will be needed, but not right now for the MOP" ?
18:04 jnthn nwc10: aye ;)
18:04 Targen joined #perl6
18:07 masak jnthn: any sight of bizarro-land yet? :P
18:07 masak (a reference to http://www.modernperlbooks.com/mt/2013​/01/how-forking-perl-5-could-work.html -- don't take time of hacking to read it if you haven't already)
18:10 masak off*
18:10 * moritz skimmed it, and stopped right after "(It would be mean of me to call this the Rakudo-on-other-VMs Trap, so I won't.)", which is like saying "I'm an asshole, but want to pretend I'm not"
18:11 masak oh, I reflected on that, too. I agree.
18:11 nwc10 Well, I thought "It would be mean ..." but you JUST DID!
18:11 masak but I kept reading, because even though chromatic prefers to write in a confrontational way, he's writing about us, and I find reading about us fascinating ;)
18:12 nwc10 third comment is from chromatic: That's a good idea. I'll work on an entry about the relationship between speed, optimization, garbage collection, and language design.
18:12 masak aye.
18:12 masak looking forward to that.
18:12 nwc10 I am looking forward to that.
18:12 nwc10 (oh, snap)
18:12 masak :P
18:12 moritz or, more accurately, like "I know it's an asshole-move to write this, but I'm too impressed by my own cleverness not to write it, and I want you to know it"
18:12 masak moritz: which is even worse, yes.
18:13 masak moritz: basically, you can't go meta and not-say something without the explicit consent of the listener/reader.
18:13 masak but I guess continuing to read is such consent :P
18:17 jnthn Of all the places to point out semantic gaps between Perl 6 and what the JVM provides, GC is a REALLY weird one to pick up on. If anything, Perl 6 inherently creates a lot of objects. Since Java doesn't support stack allocation of non-trivial things (except as an optimization after escape analysis), this means Java programs *also* produce a lot of objects. The objects Perl 6 programs create that you don't really thing about tend to be relatively short lived or very
18:18 [Coke] what version of nqp is needed to build nqp-jvm-prep ?
18:18 jnthn [Coke]: master
18:19 jnthn [Coke]: Or close to. The version Rakudo is currently pointed at is too old.
18:19 [Coke] arglebargle.
18:19 [Coke] (I just did a full rebuild of my "installed rakudo that I use for things like p6cc" hoping that would cover it. :)
18:20 jnthn [Coke]: Note that this is only true if you want to play with the cross-compiler
18:20 [Coke] is there a way to configure rakudo to use nqp master?
18:20 jnthn [Coke]: If you just want to run the tests and pick of LHF then the version with Rakudo may well be fine.
18:20 [Coke] --gen-nqp=master ?
18:20 jnthn Yes, that should do it.
18:20 [Coke] jnthn: I want "make" to work.
18:20 masak jnthn: your rant was interesting but too long, and ended with 'short lived or very'.
18:21 nwc10 jnthn: you were truncated at "The objects Perl  6 programs create that you don't really thing about tend to be  relatively short lived or very
18:21 nwc10 "
18:21 nwc10 oh, snapish
18:21 masak :P
18:21 jnthn relatively short lived or very long lived, so it's hard to see how it doesn't fit the generational hypothesis either.
18:21 masak nwc10: stop repeating what I say :P
18:21 [Coke] stop repeating what I say?
18:22 masak nwc10: it's funny, because I end up in some kind of resonance with people on the channel quite a lot. most often with moritz or pmichaud, but sometimes with jnthn, too.
18:22 nwc10 oh. groupthink. this seems dangerous :-)
18:22 masak nwc10: it may have something to do with that time they plugged us all into a brain melding machine.
18:22 [Coke] I had
18:22 [Coke] oops
18:24 thou joined #perl6
18:26 * masak keeps forgetting that nqp doesn't have assignment
18:27 jnthn Some days, I'm as liable to forget that Rakudo does :P
18:28 masak I'm looking at this infix:<:=> operator, thinking "it's like programming in Pascal all over again"... :P
18:29 jnthn shop &
18:29 FROGGS joined #perl6
18:29 FROGGS g'evening pals
18:30 masak FROGGS! \o/
18:30 FROGGS wassup "bro" ?
18:31 FROGGS still sprintf-ing?
18:32 masak you bet, "pal".
18:32 FROGGS *g*
18:32 masak I'm getting some "functionality" into my "code".
18:32 * masak does some energetic air quotes, too
18:32 FROGGS is it in a branch already?
18:33 masak nah, only a private repository.
18:33 masak why, you want to have a look?
18:33 FROGGS ohh, I'm just smiling widely
18:33 FROGGS ohh ya
18:33 masak ok, pushing.
18:33 FROGGS cool
18:33 arlinius joined #perl6
18:33 FROGGS tried to hunt two bugs down yesterday and failed twice, so I thought I start a bit different today
18:35 [Coke] does rakudo still have a past stage
18:35 [Coke] ?
18:35 masak letting bugs get away is demotivating, yes.
18:35 [Coke] (or is the build output lying?)
18:35 masak [Coke]: Rakudo is on QAST, not PAST.
18:35 * masak .oO( we're all PAST that... )
18:36 [Coke] is that why past is completing in 0s? ;)
18:36 masak no, that's just counting badly.
18:36 masak (IIUC. all the time goes into one of the steps.)
18:37 masak FROGGS: https://github.com/masak/sprintf
18:38 b1rkh0ff joined #perl6
18:38 FROGGS thanks you sir
18:38 * masak doffs his beret
18:42 FROGGS masak: are you going to support that?  printf '<% d>', 12; # prints "< 12>"
18:42 masak yes.
18:43 masak I'm not out to change sprintf, only to implement it.
18:43 masak that's enough -Ofun for me :)
18:44 FROGGS k
18:45 FROGGS wow, I recognize that I didnt know sprintf well
18:45 masak std: my $a = $a
18:45 p6eval std 7deb9d7: OUTPUT«ok 00:00 42m␤»
18:46 masak TimToady: I just did this in code. could very well have a special warning for that :P
18:47 jnthn FROGGS: Which bugs, ooc?
18:49 FROGGS jnthn: the   /<[abc]-[\w]>/   and the   $_ = "a"; s/a/b/; s/x/y/; say $/
18:49 FROGGS for the second one I dont know how to best return '#<match_failed>'
18:49 FROGGS the first one just hangs when compiling NQPP5Regex.pm
18:50 dalek perl6-roast-data: bd8731b | coke++ | / (3 files):
18:50 dalek perl6-roast-data: today (automated commit)
18:50 dalek perl6-roast-data: review: https://github.com/coke/perl6​-roast-data/commit/bd8731b355
18:50 FROGGS r: "<%*2$s>" # ouch?
18:50 p6eval rakudo c3f565: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Variable $s is not declaredâ�¤at /tmp/qPLYVXM0mE:1â�¤------> [32m"<%*2$s[33mâ��[31m>" # ouch?[0mâ�¤    expecting any of:â�¤        postfixâ�¤Â»
18:50 [Coke] au: cleaned up pugs, we're back up to 38.55%
18:50 [Coke] er.
18:50 [Coke] phenny: tell au cleaned up pugs, we're back up to 38.55%
18:50 phenny [Coke]: I'll pass that on when au is around.
18:51 SmokeMachine joined #perl6
18:51 jnthn FROGGS: Don't you have such a match handy?
18:52 FROGGS jnthn: a what?
18:52 masak a match handy.
18:52 jnthn oh, I see the problem...
18:53 [Coke] jnthn: nqp-jvm-prep doesn't like TEST_JOBS=2
18:53 [Coke] is this worth fixing?
18:53 jnthn [Coke]: Not for now.
18:53 [Coke] k
18:53 jnthn [Coke]: It involves a boring yak shave.
18:54 FROGGS r: $_ = "a"; m/a/; m/b/; say $/; say $/.WHAT
18:54 p6eval rakudo c3f565: OUTPUT«#<failed match>␤Match()␤»
18:54 masak FROGGS: why 'ouch?'? you're using $s in a qq string, but you didn't declare it. just like the error message says.
18:54 FROGGS r: my $a = Match(); say $a; say $a.WHAT
18:54 p6eval rakudo c3f565: OUTPUT«No such method 'Match' for invocant of type 'Parcel'␤  in  at src/gen/BOOTSTRAP.pm:845␤  in  at src/gen/BOOTSTRAP.pm:839␤  in any  at src/gen/BOOTSTRAP.pm:836␤  in block  at /tmp/O0I8EaJJPi:1␤␤»
18:54 [Coke] mmm. I could probably handle it, but didn't want to, which is why I asked. :)
18:54 FROGGS r: my $a = Match; say $a; say $a.WHAT
18:54 p6eval rakudo c3f565: OUTPUT«Match()␤Match()␤»
18:54 jnthn What should happen in the case of s/a/b/g not matching anything?
18:55 FROGGS masak: it is an example from sprintf, should we declare $s?
18:55 FROGGS jnthn: according to moritz and masak $/ should contain the failed match
18:56 jnthn r: say Cursor.'!cursor_init'(nqp::unbox_​s('foo')).'!cursor_start'().MATCH
18:56 p6eval rakudo c3f565: OUTPUT«#<failed match>␤»
18:56 jnthn (Where instead of 'foo' you put self)
18:56 FROGGS cool, I was searching for that!
18:56 FROGGS thanks
18:56 ServerSage joined #perl6
18:56 jnthn r: say Match.new
18:56 p6eval rakudo c3f565: OUTPUT«「」␤␤»
18:57 jnthn r: say Match.new(from => 0, to => -3, orig => 'foo')
18:57 p6eval rakudo c3f565: OUTPUT«Cannot assign to a non-container␤  in block  at src/gen/CORE.setting:749␤  in method BUILDALL at src/gen/CORE.setting:732␤  in method bless at src/gen/CORE.setting:722␤  in method new at src/gen/CORE.setting:707␤  in block  at /tmp/U7nEMyAndC:1␤␤»
18:57 jnthn Figured that'd not work...
18:57 jnthn FROGGS: Note that there's two cases:
18:57 jnthn return self unless @matches;
18:57 masak FROGGS: I feel I'm lacking context. when you say "example from sprintf", what do you mean?
18:58 jnthn In the case it's empty, /g was used. In this case you got no match objects at all.
18:58 jnthn er, :g even
18:58 jnthn So you need to do the trick I just showed I guess
18:58 jnthn return self if @matches == 1 && !@matches[0];
18:58 jnthn In this case, you can set $/ to what's in @matches[0]
18:58 FROGGS ahh, okay, will try
18:59 FROGGS masak: see the minimum width examples:   printf "<%*2$s>", "a", 6; # prints "<     a>"
18:59 masak FROGGS: well, you *can't do that* without first declaring $s.
19:00 masak not even in (strict) Perl 5.
19:00 FROGGS I thought that it might be a special case...
19:01 masak oh, I see what you mean now.
19:01 FROGGS [...]"or from a specified argument (e.g., with *2$):"
19:02 masak right. but it still won't work in a qq string.
19:02 masak so that line of perldoc is bogus.
19:02 FROGGS right, the example is wrong
19:02 masak please to submit perldocbug.
19:02 masak FROGGS++
19:03 masak $ perl -Mstrict -e 'printf "<%*2$s>", "a", 6;'
19:03 masak Global symbol "$s" requires explicit package name at -e line 1.
19:03 masak Execution of -e aborted due to compilation errors.
19:04 FROGGS do I really have to use the command line tool? cant I just make an rt ticket?
19:05 masak dunno.
19:05 masak maybe ask on some Perl 5 channel. they might know :)
19:05 FROGGS k ;o)
19:06 jeffreykegler joined #perl6
19:07 geekosaur that's not really a bug, is it?
19:08 geekosaur should string substitution be looking inside of the string to figure out if it's actually a printf spec?
19:08 FROGGS it is, it should be in single quotes or the dollar needs to be escaped
19:08 geekosaur oh, I see, doc bug
19:09 masak aye.
19:09 FROGGS okay, perlbug is my friend -.-
19:09 timotimo joined #perl6
19:15 GlitchMr eval: say 「\」
19:15 GlitchMr rn: say 「\」
19:15 p6eval rakudo c3f565: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤Two terms in a rowâ�¤at /tmp/9HIKq_v01j:1â�¤------> [32msay [33mâ��[31mï½¢\ï½£[0mâ�¤    expecting any of:â�¤        argument listâ�¤        prefix or termâ�¤        prefix or meta-prefixâ�¤        postfixâ�¤        infix or meta-infixâ�¤        infix sto…
19:15 p6eval ..niecza v24-17-gd343a2a: OUTPUT«[31m===[0mSORRY![3​1m===[0mâ�¤â�¤Unsupported use of bare 'say'; in Perl 6 please use .say if you meant $_, or use an explicit invocant or argument at /tmp/_q_17a4C90 line 1:â�¤------> [32msay[33mâ��[31m ï½¢\ï½£[0mâ�¤â�¤Confused at /tmp/_q_17a4C90 line 1:â�¤------> […
19:16 GlitchMr std: say 「\」
19:16 p6eval std 7deb9d7: OUTPUT«ok 00:00 41m␤»
19:16 hoelzro joined #perl6
19:18 masak .u \
19:18 phenny U+005C REVERSE SOLIDUS (\)
19:19 masak is there something special about 「」 that makes it not recognize backslashes? if not, then STD is at fault there.
19:19 masak and Rakudo and Niecza are right to reject the program, but the error messages look off.
19:22 fgomez joined #perl6
19:23 raiph joined #perl6
19:24 masak nqp: sub next_(); next_()
19:24 p6eval nqp: OUTPUT«Routine declaration requires a signature at line 2, near "(); next_("␤current instr.: 'panic' pc 13231 (src/stage2/gen/NQPHLL.pir:4687) (src/stage2/gen/NQPHLL.pm:328)␤»
19:24 masak nqp: sub next_() {}; next_()
19:24 p6eval nqp: OUTPUT«Confused at line 2, near "next_()"␤current instr.: 'panic' pc 13231 (src/stage2/gen/NQPHLL.pir:4687) (src/stage2/gen/NQPHLL.pm:328)␤»
19:24 masak jnthn: this just bit me in NQP. is it a bug or a feature?
19:24 masak nqp: sub newt_() {}; newt_()
19:24 p6eval nqp:  ( no output )
19:24 masak anything starting with 'next' causes confusion.
19:25 jnthn masak: Probably overly-simplistic parsing of "next".
19:25 masak I know.
19:25 masak my question was if it's a bug or if the oversimplicity is intentional.
19:25 jnthn It's worth fixing. File an issue.
19:25 jnthn Or a patch ;)
19:25 * masak submits nqpbug
19:26 bowtie joined #perl6
19:26 jnthn thanks
19:30 masak pzh :)
19:31 jnthn \o/
19:31 raiph joined #perl6
19:32 jnthn yay, dinner ready. bbiab.
19:36 raiph joined #perl6
19:40 raiph joined #perl6
19:41 raiph left #perl6
19:44 * masak 's sprintf code now supports %6s and %*s
19:44 GlitchMr Nice :-)
19:45 GlitchMr Reminds me of my JS library
19:45 * FROGGS pulls
19:46 GlitchMr glitchmr@blueberry ~> node
19:46 GlitchMr > require('sprint')('%*s', 9, 'world')
19:46 GlitchMr '    world'
19:47 raiph joined #perl6
19:48 am0c joined #perl6
19:48 tadzik good evening zebras
19:49 masak tadzebra! \o/
19:49 FROGGS hi tadzik
19:53 jnthn hi tadzik o/
19:53 tadzik hey hey
19:54 masak that feeling when you add a test and think "but this will already pass trivially", and instead it fails and you discover a giant thinko.
19:54 jnthn :)
19:55 masak tests++ # they rock
19:55 * jnthn was glad he wrote tests for a $dayjob-course sample solution yesterday for the same reason
19:55 jnthn "Of course I got the exercise I set right first try!" "Oh...wait..."
19:55 jnthn :)
19:55 raiph joined #perl6
19:56 raiph left #perl6
19:56 raiph joined #perl6
19:56 raiph joined #perl6
20:12 masak slogan: "Tests are smarter than you. Write tests."
20:13 flussence oh, looks like someone fixed middle click in Gist...
20:13 lue hello o/
20:14 FROGGS hi lue
20:14 lue I think my problem with Parrot from last night is on account of me having upgraded Perl not too long ago. /me investigates
20:15 raiph joined #perl6
20:15 jnthn Righty, let's see if I can implement lexotic...
20:17 sqirrel ,,,,,,,,,,,,,,,,,,,,
20:18 masak sqirrel: oh, comma on!
20:18 jnthn .oO( I thought it was "comma comma comma comma chameleon", not "comma comma comma comma sqirrel"... )
20:19 masak no, it's "comma comma comma comma MUSHROOM MUSHROOM"
20:19 flussence .oO( must be a red squirrel, they're easily startled )
20:20 masak flussence: due to the one-squirred hypothesis, it's useless to try to distinguish squirrae.
20:20 * masak feels sillae tonight
20:20 FROGGS thats my sqirrel you are talking 'bout ;o)
20:20 masak one-squirrel*
20:20 FROGGS it is my-scoped
20:20 timotimo can someone point me at the correct part of the specs where it specifically says that a class is supposed to export a method into its enclosing scope if they have the is export trait?
20:21 timotimo someone pointed me at S32::*, but it doesn't seem like it says anything about that
20:21 flussence S11:26
20:21 flussence and :78
20:21 FROGGS flussence: how do you do that? so fast I mean
20:22 timotimo thank you :)
20:22 flussence oh, I have a giant video wall with the entire text of the spec visible all the time
20:22 timotimo i'm going to change the spec in a huge way. and one ticket will be closed in the process!
20:22 moritz timotimo: with S32:: I meant that it's used there all the time
20:24 timotimo well, i see that it says "is export" all the time - does that mean the change in the spec would mean the settings library would need some changing, too?
20:27 bluescreen100 joined #perl6
20:29 lue timotimo: If I may ask, what are you changing?
20:30 timotimo i started a little discussion about how class A { method foo is export { ... } }; foo(A.new) doesn't work in rakudo nowadays
20:30 timotimo the result was that foo is export should only be in the enclosing scope if it has an import A in it, too
20:30 timotimo not automatically
20:31 timotimo so i was encouraged to remove "the crazy" from the spec and close the ticket about it
20:31 lue ah, ok.
20:37 jnthn nqp: say(nqp::time_n())
20:37 p6eval nqp: OUTPUT«1358282264.46285␤»
20:41 bruges joined #perl6
20:46 FROGGS p5p++, I already got a reply and was able to submit a patch (for the sprintf doc bogus)
20:46 masak yay
20:47 * masak idly wonders if there was a group called "Perl 5 Imperial Stouts"
20:47 moritz FROGGS: my experience with p5p and doc patches is very positive too
20:48 FROGGS ya, within minutes, thats pretty awesome, he/she gave me a link to the pod that I wasnt able to find...
20:51 slavik1 masak: sounds like a beer
20:53 masak slavik1: oh, and "Perl 5 Porters" doesn't? :)
20:53 slavik1 yes it does
20:53 slavik1 Perl 5 Logger ...
20:53 slavik1 also a beer
20:53 masak mmm, "Perl 5 Indian Pale Ales".
20:53 slavik1 omfg, I need to start a brewery
20:54 * masak .oO( a programmer with his own microprocessor brewery )
20:54 slavik1 mmmm
20:54 slavik1 sounds good
21:01 * lue now can't wait for nqp on JVM
21:02 slavik1 O.o
21:05 masak it will a rather cool, yes.
21:06 * lue wonders how even root isn't allowed to write-open files *grumble grumble*
21:18 timotimo lue: mounted read-only?
21:18 lue I hope not. It's my hard-drive perldoc's trying to write to.
21:19 huf selinux or some extended posix attribute or something?
21:20 lue I don't have selinux. Not sure about extended attributes, but I don't recall doing anything recently to cause them. (Remember, I've been able to install Parrot before)
21:25 dalek specs: 0996434 | flussence++ | S02-bits.pod:
21:25 dalek specs: Mention the replacement for magic __SUB__ constant
21:25 dalek specs:
21:25 dalek specs: (It was added in 5.16.0)
21:25 dalek specs: review: https://github.com/perl6/specs/commit/099643400f
21:26 sorear you don't have selinux?  this is impressive
21:27 lue I recall having issues with using it a year or two ago. Forget why.
21:27 flussence lue: chattr -i?
21:28 lue can't, compiling NQP. If you look o'er at #parrot, it magically worked for me for no good reason.
21:28 flussence hm
21:29 flussence if it's just randomly failing like that, I'd be getting paranoid about kernel/hardware badness
21:31 masak sorear! \o/
21:31 lue It worked after deleting an empty packfile-c.pod, which this time was write-protected (as opposed to all the other self-created empty packfile-c.pod's I'd already created). The `make install` (not root) and voilà!
21:31 flussence (or being optimistic, maybe your make -j's set too hig)
21:31 flussence *h
21:32 flussence oh wait, could be a umask being too restrictive too.
21:32 lue (`umask` returns 0022, icuc)
21:33 flussence can't be that then...
21:33 lue You did remind me, though: I should install the smarttools when I get around to it.
21:34 dalek nqp-jvm-prep: 486e331 | jnthn++ | t/qast_core.t:
21:34 dalek nqp-jvm-prep: Test for lexotic.
21:34 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/486e331e14
21:34 dalek nqp-jvm-prep: 9da2b53 | jnthn++ | / (4 files):
21:34 dalek nqp-jvm-prep: Implement lexotic.
21:34 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/9da2b53ba8
21:41 thou joined #perl6
21:42 sorear masak! \o/
21:45 colomon sorear!  \o/
21:51 pmichaud Good afternoon, #perl6
21:51 flussence rn: try { warn 'potato'; CONTROL { say $_.WHAT.Str } }
21:52 p6eval niecza v24-17-gd343a2a: OUTPUT«␤potato␤  at /home/p6eval/niecza/lib/CORE.setting line 1287 (warn @ 5) ␤  at /tmp/7Bx70yfTx_ line 1 (ANON @ 2) ␤  at /tmp/7Bx70yfTx_ line 1 (mainline @ 5) ␤  at /home/p6eval/niecza/lib/CORE.setting line 4218 (ANON @ 3) ␤  at /home/p6eval/niecza/lib/CORE.se…
21:52 p6eval ..rakudo c3f565: OUTPUT«(timeout)»
21:52 jnthn o/ pmichaud
21:52 flussence I think I broke it again...
21:53 [Coke] r: try { CONTROL { say $_.WHAT.Str } }
21:53 p6eval rakudo c3f565:  ( no output )
21:53 sorear colomon! pmichaud! jnthn!
21:53 jnthn rn: try { warn 'potato'; CONTROL { default { say $_.WHAT.Str } } }
21:53 [Coke] r: try { warn "eek"; CONTROL { say $_.WHAT } }
21:54 p6eval rakudo c3f565: OUTPUT«(timeout)»
21:54 p6eval ..niecza v24-17-gd343a2a: OUTPUT«␤»
21:54 p6eval rakudo c3f565: OUTPUT«X::AdHoc()␤eek  in block  at /tmp/2iKljRDHyL:1␤␤»
21:54 pmichaud sorear!
21:54 [Coke] I'm going to guess jnthn won that one. :)
21:54 [Coke] pmichaud: Dr. Scott!
21:54 pmichaud Coke: "Rocky!"
21:54 colomon [Coke]: Paleontologist?
21:55 pmichaud colomon: RHPS :-)
21:56 pmichaud http://www.youtube.com/watch?v=qfNfQixs8yA  # for those who miss the reference... possibly nsfw
21:56 colomon pmichaud: yeah, I know.  (your kids too old for dinosaur train?)
21:56 pmichaud ...never heard of dinosaur train, so yeah, I guess so :)
21:56 pmichaud they've been busy devouring all of the star trek series, and now Dr. Who
21:56 * colomon is admittedly not much of a RHPS fan, though he has seen it two or three times.
21:57 colomon pmichaud: you can pretty much get the high concept right from the name: dinosaurs *and* trains.  and live action interludes featuring Dr. Scott, Paleontologist.
21:57 * [Coke] saw it mannny times in HS, once or twice in college.
21:58 [Coke] I see Paleontologist, I think the TMBG song.
21:58 [Coke] like, it's stuck in my head now. :P
21:59 colomon [Coke]: my little guy got "Here Comes Science" for Christmas, but due to randomness none of us have actually heard it yet.  Except for Why Does The Sun Shine? and Why Does The Sun Really Shine?
22:00 pmichaud for some reason "Dr. Scott, Paleontologist" reminds me of "Fargo North, Decoder"
22:00 pmichaud but now I've realllllllly dated myself.  :-P
22:02 colomon pmichaud: not to me, but only because I never actually watched Electric Company.  (Somewhat broken TV as a child -- somebody, can't imagine who, put a magnetic letter into the tuner.)
22:04 PacoAir joined #perl6
22:06 raiph joined #perl6
22:08 kaare_ joined #perl6
22:17 [Coke] ObYou'reOld: What's a tuner? :)
22:17 flussence rn: for {fail} { .() }
22:17 p6eval rakudo c3f565: OUTPUT«No exception handler and no message␤␤current instr.: 'throw' pc 331167 (src/gen/CORE.setting.pir:148535) (src/gen/CORE.setting:9246)␤called from Sub 'sink' pc 360772 (src/gen/CORE.setting.pir:160453) (src/gen/CORE.setting:10412)␤called from Sub '' pc 252508 (src/ge…
22:17 p6eval ..niecza v24-17-gd343a2a: OUTPUT«[31m===[0mSORRY![31m===[0mâ�¤â�¤Undeclared routine:â�¤     'fail' used at line 1â�¤â�¤Unhandled exception: Check failedâ�¤â�¤  at /home/p6eval/niecza/boot/lib/CORE.setting line 1443 (die @ 5) â�¤  at /home/p6eval/niecza/src/STD.pm6 line 1147 (P6.comp_unit @ 37) â�¤  at /hom…
22:18 colomon [Coke]: :p
22:19 flussence I get a different error for rakudo there... «Can not get attribute '$!storage' declared in class 'Parcel' with this object»
22:20 FROGGS I get the same as r: here
22:20 flussence hm, maybe I need to update
22:21 lue (reminds me of how our TV, through the fault of certainly not me, had a purple discoloration in the corner of the screen for many years due to magnets)
22:22 FROGGS I remember these things on a friend PC because of the speakers (that was before TFT)
22:23 FROGGS that was when USB-Ports were rare and nobody had something to put in
22:23 dalek nqp-jvm-prep: c02c4bf | jnthn++ | lib/QAST/JASTCompiler.nqp:
22:23 dalek nqp-jvm-prep: Make sure context is properly set.
22:23 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/c02c4bf965
22:24 dalek nqp-jvm-prep: a117e40 | jnthn++ | lib/QAST/JASTCompiler.nqp:
22:24 dalek nqp-jvm-prep: Clear parameters from stack after binding.
22:24 dalek nqp-jvm-prep: review: https://github.com/jnthn/nqp​-jvm-prep/commit/a117e40104
22:30 [Coke] colomon: my tv is using a cable card right now. :P
22:38 obra left #perl6
22:43 colomon [Coke]: pretty sure my new TiVo claimed to have *two* tuners.  ;)
22:56 jnthn 'night
22:57 masak 'night, jnthn.
23:05 hash_table joined #perl6
23:14 PacoAir joined #perl6
23:17 FROGGS joined #perl6
23:19 benabik joined #perl6
23:28 masak 'night, #perl6
23:29 diakopter o/
23:33 geekosaur joined #perl6
23:41 lue joined #perl6
23:59 slayer101_ joined #perl6

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

Perl 6 | Reference Documentation | Rakudo