Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-08-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:05 thou joined #perl6
00:06 flussence joined #perl6
00:18 Moukeddar joined #perl6
00:21 pernatiy joined #perl6
00:24 worr joined #perl6
00:44 worr joined #perl6
00:56 fbass joined #perl6
01:14 wolfman2000 joined #perl6
01:16 dalek roast: e49dcab | Coke++ | S05-metachars/closure.t:
01:16 dalek roast: nom fudge
01:16 dalek roast: review: https://github.com/perl6/roast/commit/e49dcab3c4
01:17 dalek rakudo/nom: a98e265 | Coke++ | t/spectest.data:
01:17 dalek rakudo/nom: run fudged test
01:17 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a98e265eec
01:19 jimmy1980 joined #perl6
01:23 Khisanth joined #perl6
01:35 Trashlord joined #perl6
01:38 ZaphrodZenovka joined #perl6
01:53 colomon video!
01:53 sorear video?
01:54 colomon http://www.youtube.com/watch?v=OJwlCzW5O_Q
01:54 colomon YAPC::EU Perl 6 hackathon video
01:55 colomon makes me sad not to be there.
01:55 sorear so, what, it's a video of a bunch of people in a room typing?
01:55 colomon just a little bit.
01:55 fbass joined #perl6
01:56 colomon mostly chatting second interviews with pmichaud, jnthn, & masak.
01:56 colomon s/second/with/
01:56 * colomon is editing too fast for his own good there
01:59 worr joined #perl6
02:16 colomon woah, nom compiling really is slow now!
02:16 tadzik yes :(
02:16 * tadzik says hi
02:18 colomon tadzik: shouldn't you be asleep?  :)
02:18 pmichaud yeah, we're not exactly sure what's causing the slowdown.  It isn't just parsing.
02:18 pmichaud something in the codegen is slowing things down also.
02:18 tadzik colomon: shh
02:19 tadzik colomon: who would prepare my presentation if I was? :)
02:19 colomon the presentation fairies?
02:20 tadzik I hoped so
02:21 woosley joined #perl6
02:22 sorear where is tazik presengint?
02:23 tadzik on the YAPC::EU, I have a lightning talk aboud Pod in Perl 6
02:24 dalek rakudo/nom: 02e5a62 | tadzik++ | src/Perl6/Actions.pm:
02:24 dalek rakudo/nom: Merge twines properly in paragraph blocks
02:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/02e5a624b1
02:24 dalek rakudo/nom: 5f145c6 | tadzik++ | lib/Pod/To/Text.pm:
02:24 dalek rakudo/nom: Implement simple FormattinCode handling in Pod::To::Text
02:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/5f145c647c
02:24 dalek rakudo/nom: 7810da2 | tadzik++ | src/Perl6/Actions.pm:
02:24 dalek rakudo/nom: Fix and improve merge_twines
02:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7810da2eee
02:24 dalek rakudo/nom: 8da71aa | tadzik++ | src/Perl6/ (2 files):
02:24 dalek rakudo/nom: Move Pod-related methods from Actions.pm to Pod.pm
02:24 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/8da71aa387
02:25 pmichaud tadzik++
02:27 fbass joined #perl6
02:30 uniejo_in_riga joined #perl6
02:35 uniejo__ joined #perl6
02:45 jaldhar joined #perl6
03:07 _jaldhar joined #perl6
03:09 colomon uh-oh.  seem to have created an infinite loop somewhere in sinh....
03:09 tadzik All tests successful.
03:09 tadzik Files=439, Tests=13608, 1687 wallclock secs ( 6.91 usr  1.37 sys + 1609.84 cusr 66.40 csys = 1684.52 CPU)
03:10 benabik colomon: That doesn't sound good.
03:10 colomon didn't have Num.asinh defined.
03:10 colomon should have it working as soon as I recompile.
03:11 colomon unless pir doesn't know how to asinh...
03:12 benabik colomon: Complex.pmc has an asinh method.
03:15 colomon benabik: probably Num.pmc as well?  but it's getting nqp have it that's the tricky bit...
03:16 pmichaud I don't think we use the Complex PMC at all.
03:16 benabik colomon: No, I only see it in complex…  with a note that it's broken.  Fun.
03:17 pmichaud did asinh work in master, ooc?
03:17 pmichaud looks like it existed, at least.
03:20 sorear rakudo: say sinh(1)
03:20 p6eval rakudo 922500: OUTPUT«1.1752011936438␤»
03:20 sorear rakudo: say (exp(1) - exp(-1)) / 2
03:20 p6eval rakudo 922500: OUTPUT«1.1752011936438␤»
03:20 sorear rakdo: say asinh(1.1750211)
03:23 colomon yes, it worked
03:23 colomon or at least, it passed all the spectests
03:24 colomon or
03:24 colomon oh, I meant
03:24 colomon ($x + ($x * $x + 1).sqrt).log.from-radians($base);
03:24 colomon in master
03:25 nbrown joined #perl6
03:41 miso_soup joined #perl6
03:52 masak joined #perl6
03:52 masak mornings, #perl6
03:53 masak some procrastinators seem to have chosen the stay-awake method. I opted for the slightly more risky up-early method.
03:56 pmichaud masak++
03:56 sorear hello, masak
03:57 pmichaud and were you successful?  Or do you consider 7am to be "early"?  ;-)
03:57 sorear though I can't really agree with your assessment of "early"
03:59 masak well, 6 AM (when my alarm went off) is earlier than 8 AM (when I had originally planned to get up).
04:00 * masak slides-hacks harder
04:00 * pmichaud cuts a hole in his floor, tosses some slides down to masak++.
04:04 masak :)
04:04 birdwindupbird joined #perl6
04:13 _jaldhar joined #perl6
04:21 pmichaud I'm heading for breakfast noms in ~10 min
04:25 _jaldhar joined #perl6
04:26 tadzik oh, morning masak
04:26 tadzik masak: I'm early-up too :)
04:27 tadzik though I'm more like 5-up
04:30 pmichaud off for quick noms... bbiaw
04:37 masak tadzik: nice!
04:37 masak tadzik: how's it going?
04:40 tadzik masak: very nice. I spent quite a time planning everything I want to say and now I'm struggling with LaTeX to have it the way I want to show it :)
04:42 masak Beamer, eh?
04:42 tadzik yeh
04:42 tadzik it's tricky and I don't know it, but once I learn something, it actually makes sens
04:42 masak (you need to mark it fragile for it to work!) :)
04:42 tadzik no no, it works without it :)
04:42 tadzik But I didn't get to code examples yes
04:43 tadzik s/yes/yet/
04:43 masak right.
04:43 masak remember the fragile :)
04:44 tadzik I know, I know :) I still have my Rakudo Star slides which got stuff right, and I'm stealing snippets from 'em :)
04:44 tadzik ...and they used fragile a lot, iirc
04:45 masak re-use is copy-pasting. :)
04:45 masak don't let yourself be brainwashed by the DRY crowd ;)
04:47 tadzik I'm making a talk. I already did one. So I repeat myself, at least in some sense
04:48 masak that's what I mean. and that's perfectly OK.
04:51 masak phew. almost done with my first talk.
04:55 miso_soup joined #perl6
04:58 donri joined #perl6
05:01 tadzik me too :)
05:01 tadzik I wonder if it works without {fragile}
05:02 tadzik haha, it does
05:02 masak :)
05:02 tadzik or not
05:02 tadzik ! Illegal parameter number in definition of \test.
05:02 tadzik Yeah, latex, whatever
05:11 * tadzik off breakfasting
05:23 SHODAN joined #perl6
05:23 pmichaud back from noms
05:24 * Tene did some beamer+graphviz slides recently; worked out pretty well.
05:24 pmichaud tadzik: in the academic publishing world, the winning strategy is to re-use the same material over-and-over again
05:25 sorear What are y'all making slides for?
05:25 pmichaud yapc::eu presentations, in general
05:26 mberends_ joined #perl6
05:26 pmichaud masak++ has two presentations today.  jnthn++ has one.  tadzik++ is giving a lightning talk, iiuc.
05:26 Tene I had a huge graph to gradually reveal, so I makred up the source with tagged comments, and had my makefile grep the presentation source for graphname.tags.eps and pass the tags off to a perl script that uncommented the relevant lines according to the tag expressions.
05:27 sorear pmichaud: I'm confused.  I thought you were at the post-YAPC::EU hackathon.  Do you have the ability to send slides back in time?  *looks very attentively*
05:27 pmichaud the hackathon was pre-yapc::eu
05:27 Tene sorear: no, he's just pre-attending the hackathon
05:28 pmichaud today (monday) is the first day of yapc::eu.  the hackathon was on saturday
05:29 pmichaud we often do hackathons post-conference, but since jnthn++ is giving a course on the day after the conference, we put the hackathon pre-conference.  at past yapc::eu's we've typically had a pre-conference hackathon and a post-conference hackathon
05:29 pmichaud and as masak++ remarked last night, it's already been a very successful conference for most of us and we haven't even started the first day yet :-)
05:31 _jaldhar joined #perl6
05:31 nbrown joined #perl6
05:32 sorear ah.  double sad I'm not there then
05:33 sorear :)
05:35 Tene I really should attend a perl conference someday.
05:39 uniejo_in_riga joined #perl6
05:46 masak a YAPC::EU, preferably.
05:47 _jaldhar joined #perl6
05:49 tadzik or a Warsaw Perl Workshop :P
05:49 * tadzik leaves for the conference
05:49 SHODAN joined #perl6
05:58 wtw joined #perl6
06:04 jnthn morning, #perl6
06:05 pmichaud morning, jnthn
06:05 jnthn pmichaud: at venue or going soon?
06:05 pmichaud going as soon as I'm packed up
06:05 jnthn masak and I are planning to head off real soon now
06:05 pmichaud so, ~5 mins
06:05 jnthn ok
06:05 masak sounds good.
06:06 mberends joined #perl6
06:10 pmichaud okay, I'm ready
06:10 pmichaud see you in a bit
06:11 masak &
06:19 odoacre joined #perl6
06:25 uniejo_in_riga joined #perl6
06:25 moritz phenny: tell masak that I aborted the profiling of p5 dlx-simple after 9h, seems to hang
06:25 phenny moritz: I'll pass that on when masak is around.
06:26 _jaldhar joined #perl6
06:28 koban joined #perl6
06:34 envi joined #perl6
06:37 agentzh joined #perl6
06:37 _jaldhar joined #perl6
06:38 cotto joined #perl6
06:53 Mowah joined #perl6
06:56 Mowah joined #perl6
06:58 hanekomu joined #perl6
07:01 Mowah joined #perl6
07:01 chadadavis joined #perl6
07:03 Mowah joined #perl6
07:05 Mowah joined #perl6
07:05 pmichaud hello from yapc::eu!
07:06 TimToady howdy!
07:07 pmichaud yapc::eu 2012 in frankfurt
07:07 wamba joined #perl6
07:10 uniejo_in_riga joined #perl6
07:19 xinming joined #perl6
07:34 _jaldhar joined #perl6
07:40 _jaldhar joined #perl6
07:41 cognominal___ joined #perl6
07:43 dayangkun joined #perl6
07:46 uniejo_in_riga joined #perl6
07:52 uniejo_in_riga joined #perl6
07:54 chadadavis joined #perl6
07:56 moritz \o/
07:56 imarcusthis yay frankfür
07:56 imarcusthis t
07:56 * moritz might go by bike :-)
07:59 Su-Shee joined #perl6
08:00 Su-Shee good morning everyone.
08:02 chadadavis joined #perl6
08:02 chadadavis joined #perl6
08:10 cotto joined #perl6
08:31 cotto joined #perl6
08:34 uniejo_in_riga joined #perl6
08:36 cotto joined #perl6
08:36 chadadavis joined #perl6
08:36 uniejo__ joined #perl6
08:39 tadzik good morning Su-Shee
08:52 Su-Shee so, rakudo nom release.. any chance of today?
08:53 TimToady I think they're waiting for parrot release first
08:54 Su-Shee ah. ok.
08:55 TimToady wifi is spotty here, so jnthn++ and pmichaud++ may not be on at the moment
09:00 flussence all up to date! https://github.com/flussence/specgraphs/raw/master/output/rakudo-tests.png
09:02 TimToady cool, though it's not clear that it's nom
09:03 flussence hm, lemme fix that...
09:03 flussence there!
09:03 nine a new spectest graph?
09:04 flussence the old one was... a bit outdated
09:04 TimToady flussence++
09:04 flussence (2009)
09:04 TimToady are there 40,000 tests?
09:05 flussence nope, the grey thing is the total number, I just round it up to the next 5000 to stop it looking squashed
09:09 nine I thought the whole graph idea got abandoned because people kept trying to read too much into it
09:23 REPLeffect joined #perl6
09:23 nine Anyone here at YAPC::EU who would like to talk about concurrency in Perl 6? I'm trying to find the road that will eventually lead me to write a somewhat useful version of S17
09:26 uniejo_in_riga joined #perl6
09:26 araujo joined #perl6
09:28 pernatiy joined #perl6
09:33 Searle3 joined #perl6
09:36 anbz joined #perl6
09:38 TimToady nine: I can always talk about it, if you don't mind some handwaving
09:40 tadzik was the schedule for today modified?
09:43 nine TimToady: I'm at the point where I really don't know how to start, so anything will help :)
09:46 birdwindupbird joined #perl6
09:48 TimToady tadzik: some folk's flights were delayed, so I think so
09:49 birdwindupbird joined #perl6
09:58 Trashlord joined #perl6
10:00 cognominal___ joined #perl6
10:09 uniejo_in_riga joined #perl6
10:09 M_o_C joined #perl6
10:26 silug_ joined #perl6
10:44 cotto joined #perl6
10:47 uniejo_in_riga joined #perl6
10:50 uniejo__ joined #perl6
11:00 chadadavis joined #perl6
11:01 Aridai joined #perl6
11:05 colomon btw, folks, I'm working on getting the rest of the trig functions in nom.
11:07 mberends colomon++
11:16 moritz good, then I don't have to :-)
11:21 MayDaniel joined #perl6
11:30 pernatiy joined #perl6
11:38 felher flussence++, colomon++
11:41 Aridai joined #perl6
11:49 kboga joined #perl6
11:58 keepguessing joined #perl6
11:59 keepguessing Hi I was wondergin about the current status of perl6 and its probable release date?
11:59 keepguessing s/wondergin/wondering
12:00 JimmyZ joined #perl6
12:01 chadadavis joined #perl6
12:04 mberends keepguessing: keep guessing ;-)
12:05 takadonet morning all
12:05 keepguessing mberends: :).. I just wanted to know the current status. Are we stuck somewhere with perl6 :)
12:07 mberends keepguessing: we're definitely not stuck, but there are parts of the spec still unresolved, However, there is a lot that you *can* already use, see http://perl6.org/compilers/features
12:07 ab5tract joined #perl6
12:08 chadadavis joined #perl6
12:08 keepguessing mberends: Is there a similar link where I could see what specificiations are still unresolved?
12:09 mberends keepguessing: no, there are details all over the place, sometimes only in the minds of the early adopters.
12:10 keepguessing mberends: hmm i c .. thanks for the information :)
12:10 mberends keepguessing: This channel is the best place to answer your questions anyway
12:11 keepguessing mberends: thank you :)
12:28 im2ee joined #perl6
12:41 bluescreen10 joined #perl6
12:49 abercrombie joined #perl6
12:50 flussence make spectest gets stuck on t/spec/S02-builtin_data_types/instants-and-durations.t, known problem?
12:52 [Coke] if it were known, I assume it would be skipped.
12:52 * [Coke] tries locally.
12:52 sftp joined #perl6
13:08 _jaldhar joined #perl6
13:11 uniejo_in_riga joined #perl6
13:12 chadadavis joined #perl6
13:13 Holy_Cow joined #perl6
13:13 Holy_Cow left #perl6
13:20 orafu joined #perl6
13:23 _jaldhar joined #perl6
13:30 hanekomu joined #perl6
13:33 colomon flussence: I believe it is known... at least, I've heard mutterings about it on the list.  Doesn't seem to happen to me, however...
13:40 flussence I haven't seen it on my other machines before, but it does it on my netbook here. Only difference here is low RAM and 32bit...
13:46 jaldhar joined #perl6
13:52 pernatiy joined #perl6
13:53 mj41 joined #perl6
13:56 kaare_ joined #perl6
14:02 masak joined #perl6
14:02 masak lol hai #perl6
14:02 phenny masak: 06:25Z <moritz> tell masak that I aborted the profiling of p5 dlx-simple after 9h, seems to hang
14:03 masak moritz: odd. does it terminate if you don't do the profiling?
14:03 masak we could try it on a smaller problem.
14:04 chadadavis joined #perl6
14:06 chadadavis joined #perl6
14:07 colomon errr.... S03-metaops/hyper.t is kicking up about 20 "Use of uninitialized value in numeric context" warnings....
14:09 masak what was the verdict about warnings issued from inside hyperops?
14:09 masak they get shown, or they don't get shown?
14:09 M_o_C joined #perl6
14:09 M_o_C joined #perl6
14:11 uniejo_in_riga joined #perl6
14:12 M_o_C joined #perl6
14:16 chadadavis1 joined #perl6
14:16 cottoo joined #perl6
14:17 chadadavis joined #perl6
14:19 dalek rakudo/nom: 9e8adcc | (Solomon Foster)++ | src/core/ (4 files):
14:19 dalek rakudo/nom: cotan and acotan.
14:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/9e8adccb5b
14:19 dalek rakudo/nom: 4ace1ce | (Solomon Foster)++ | src/core/ (5 files):
14:19 dalek rakudo/nom: sinh and asinh.
14:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4ace1ce19a
14:19 dalek rakudo/nom: ed58a59 | (Solomon Foster)++ | t/spectest.data:
14:19 dalek rakudo/nom: Turn on cotan.t and sinh.t.
14:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ed58a5945b
14:26 bbkr_ joined #perl6
14:29 * flussence wonders if there's a better way to write the .ucm for a perl5 Encode module than what I'm currently doing... (for $dayjob)
14:30 chadadavis joined #perl6
14:33 [Coke] flussence: running that file by hand, it completes just fine.
14:33 chadadavis joined #perl6
14:33 flussence hm, maybe it doesn't like my netbook
14:34 flussence I'll have a closer look after work, see if it's still doing it then
14:35 masak peepuhlz! my talks from today can now be found at the bottom of http://feather.perl6.nl/~masak/
14:35 masak enjoy.
14:36 [Coke] flussence: I didn't update roast before running that check.
14:37 * [Coke] (*&#$ that "make spectest" gets me an unpushable copy of roast.
14:37 [Coke] (I know I retroactively made it pushable once)
14:38 [Coke] flussence: works fine after t/spec update.
14:40 chadadavis1 joined #perl6
14:40 flussence nom: my $i = now
14:40 p6eval nom:  ( no output )
14:40 flussence nom: my $i = now;  say $i
14:40 p6eval nom: OUTPUT«Instant:1313419282.24361␤»
14:41 chadadavis joined #perl6
14:41 flussence that one thing gets stuck locally :/
14:42 uvtc joined #perl6
14:43 uvtc masak: Thanks for the talk pdf's. :) Unable to open the 2nd one though (making data dance).
14:45 masak uvtc: you might want to try again. I re-uploaded a newer version, and maybe you got it partway.
14:46 * masak tries, justin case.
14:46 flussence https://gist.github.com/1146895 - I don't see anything odd in the PIR, but I don't know what I'm looking for anyway...
14:46 uvtc masak: works now. Thanks!
14:46 keepguessing left #perl6
14:47 masak ok, great.
14:47 kboga joined #perl6
14:49 Su-Shee masak: ometa...have you seen the talk by kay where he's mentioning DSLs (and other examples than ometa too)?
14:54 M_o_C joined #perl6
14:58 am0c joined #perl6
15:05 dalek rakudo/nom: c468ac6 | jonathan++ | src/Perl6/Actions.pm:
15:05 dalek rakudo/nom: Fix up an outer lexical link.
15:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c468ac636f
15:05 dalek rakudo/nom: a802b66 | jonathan++ | src/Perl6/SymbolTable.pm:
15:05 dalek rakudo/nom: Cut down on code generated for setting natively typed attrs in deserialization (saves about 800KB off the generated PIR for the setting).
15:05 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a802b6614d
15:12 uniejo_in_riga joined #perl6
15:19 dalek rakudo/nom: 89a2cda | Coke++ | t/spectest.data:
15:19 dalek rakudo/nom: track failure modes
15:19 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/89a2cda685
15:20 [Coke] jnthn++
15:20 Mowah joined #perl6
15:21 masak joined #perl6
15:23 chadadavis joined #perl6
15:23 masak Su-Shee: haven't seen the talk, but well aware of OMeta.
15:29 Su-Shee masak: http://tele-task.de/archive/video/flash/14029/ (at my doorstep and I managed not knowing about it..)
15:30 masak cool. danke.
15:32 dalek rakudo/nom: 9802d3e | (Solomon Foster)++ | src/core/ (4 files):
15:32 dalek rakudo/nom: cosh and acosh.
15:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/9802d3e536
15:32 dalek rakudo/nom: e8a10fb | (Solomon Foster)++ | src/core/ (4 files):
15:32 dalek rakudo/nom: tanh and atanh.
15:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e8a10fbb87
15:32 dalek rakudo/nom: 342e6d9 | (Solomon Foster)++ | src/core/ (5 files):
15:32 dalek rakudo/nom: sech and asech, slightly reorder the methods in Real.
15:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/342e6d94cf
15:32 dalek rakudo/nom: 4a2f261 | (Solomon Foster)++ | t/spectest.data:
15:32 dalek rakudo/nom: Turn on cosh.t, tanh. and sech.t.
15:32 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4a2f2613a8
15:34 PerlJam (Alan Kay)++
15:37 uniejo_in_riga joined #perl6
15:39 uniejo_in_riga joined #perl6
15:39 thou joined #perl6
15:48 masak they're selling t-shirts here now.
15:49 colomon what sort of t-shirts?
15:49 colomon blast
15:49 tadzik User-designed
15:50 tadzik masak designed one too, if I heard correctly :0
15:50 tadzik :)
15:50 colomon really?
15:50 tadzik yep
15:51 tadzik "I am not normalized"
15:51 colomon pictures?  :)
15:51 tadzik too late :)
15:52 satyavvd joined #perl6
15:56 * mberends just bought a Camelia T-shirt from http://rakudo.spreadshirt.de/
15:58 satyavvd_ joined #perl6
16:02 jaldhar joined #perl6
16:04 rdesfo joined #perl6
16:04 wamba joined #perl6
16:11 Eevee joined #perl6
16:18 jaldhar joined #perl6
16:25 cogno joined #perl6
16:28 sorear good * #perl6
16:30 Eevee joined #perl6
16:32 takadonet sorear: hey
16:39 sorear o/ takadonet
16:40 sorear (I'm too curious... where does "takadonet" come from?)
16:40 KyleHa joined #perl6
16:40 sorear my mind starts to parse it as rōmaji but the last t throws it off
16:42 takadonet just a random name I made up when I was a kid
16:43 takadonet TimToady said a while back that it could have some Japanese meaning of either 'beside the field' or 'something of eagle'
16:45 takadonet sorear: http://irclog.perlgeek.de/perl6/2009-07-03#i_1286155
16:48 MayDaniel joined #perl6
16:49 slavik isn't topic and subject the same? or am I missing something important in linguistics?
16:49 dalek rakudo/nom: a61f7d4 | (Solomon Foster)++ | src/core/ (5 files):
16:49 dalek rakudo/nom: cosech and acosech.
16:49 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a61f7d4ad6
16:49 dalek rakudo/nom: df103f0 | (Solomon Foster)++ | src/core/ (5 files):
16:49 dalek rakudo/nom: cotanh and acotanh.
16:49 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/df103f0cf8
16:49 dalek rakudo/nom: 96ba89b | (Solomon Foster)++ | t/spectest.data:
16:49 dalek rakudo/nom: Turn on cosech.t and cotanh.t.
16:49 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/96ba89bf6b
16:50 moritz nom: say 10.25.base(16)
16:50 p6eval nom: OUTPUT«A.4␤»
16:52 cognominal___ fail ftw!  if <!after ^^ > does no do it  ^^ { fail } should do it!
16:53 sorear slavik: topic can be a more general thing
16:53 slavik I (wa) movie (ga) see.
16:54 sorear slavik: the example classically given is Japanese /boku wa unagi da/.
16:54 slavik would movie be an object?
16:54 cognominal___ [ ^^ { fail } || <!> ] seems more like it
16:54 sorear in the context of placing an order, 'I' is the explicit topic, but the subject is understood as 'my order'
16:54 slavik and I be the subject?
16:55 sorear slavik: in your sentence, I is both the subject and topic
16:55 slavik I (wa) my order (ga) movie (wo) see?
16:55 slavik I see
16:55 slavik but TimToady mentions that ga refers to subject
16:55 sorear ga can do a lot of things
16:55 slavik GAH!!!!!!!!!!
16:55 slavik like display mind blowing up ...
16:56 slavik :(
16:56 cognominal___ soreah. proof is that the shadoks use ga a lot.
16:56 sorear I don't completely understand the rules for ga.  It's one of those things, that, when you try to research it, they tell you "don't worry about it, it's too hard for you"
16:56 sorear which frustrates me no end
16:56 [Coke] colomon++ #adding tests faster than I can update how they're failing.
16:57 cognominal___ http://en.wikipedia.org/wiki/Les_Shadoks
16:57 slavik sorear: really? then I agree with your emotion :)
16:57 colomon [Coke]: that's it for now.  Next project is to get trig working on niecza, if someone didn't already beat me too it.  :)
16:57 sorear slavik: I need to find books with fewer of the "lies to children"
16:58 [Coke] colomon: \o/
17:00 mj41 joined #perl6
17:04 sorear colomon: \o/
17:05 Sarten-X joined #perl6
17:08 cognominal_ joined #perl6
17:09 cogno joined #perl6
17:14 colomon ugh, trying something for $work seems to be using all my MBP's resources.  so slow now....
17:30 Trashlord joined #perl6
17:31 jevin joined #perl6
17:39 sbp colomon: nice it?
17:39 sbp renice(8) - renice -- alter priority of running processe
17:39 sbp *processes
17:44 icwiener joined #perl6
17:44 aindilis joined #perl6
17:57 flussence yay, I just got Text-Tabs-Wrap tests passing in nom
17:58 flussence nom: sub abc($def) { say 'alive' }; my $def = 1; abc(:$def);
17:58 p6eval nom: OUTPUT«Not enough positional parameters passed; got 0 but expected 1␤  in sub abc at /tmp/YDhX7U4rBo:1␤  in mu <anon> at /tmp/YDhX7U4rBo:1␤  in mu <anon> at /tmp/YDhX7U4rBo:1␤␤»
17:58 flussence rakudo: sub abc($def) { say 'alive' }; my $def = 1; abc(:$def);
17:58 p6eval rakudo 922500: OUTPUT«alive␤»
17:59 flussence which one of those is right?
18:04 Chillance joined #perl6
18:06 sorear flussence: that's a point of some contention
18:13 [Coke] "Synopsis", "pass","fail","todo","skip","plan","spec"
18:13 [Coke] "total",     12887,     9,   521,  1633, 15050, 35968
18:13 [Coke] colomon++
18:16 wolfman2000 joined #perl6
18:31 colomon sbp: I was just trying to research nice (rough when your computer's response time is terrible) when I got waylaid to take care of "Winnie the Pooh" for 70 minutes.  Not a good afternoon, productivity-wise.
18:33 mberends :)
18:36 colomon renice 20 -p 8847 # right idea?
18:37 [Coke] joined #perl6
18:38 REPLeffect joined #perl6
18:39 birdwindupbird joined #perl6
18:43 MayDaniel joined #perl6
18:57 dalek ecosystem: 90a3f24 | (Pawel Pabian)++ | META.list:
18:57 dalek ecosystem: Basic BSON encoder/decoder added to ecosystem
18:57 dalek ecosystem: review: https://github.com/perl6/ecosystem/commit/90a3f24678
18:57 dalek ecosystem: 91c720c | util++ | META.list:
18:57 dalek ecosystem: Merge pull request #5 from bbkr/master
18:57 dalek ecosystem:
18:57 dalek ecosystem: BSON encoder/decoder
18:57 dalek ecosystem: review: https://github.com/perl6/ecosystem/commit/91c720c36e
18:57 colomon argh.  renice only helped a bit.  finally broke down and killed the $work test run.
18:58 bbkr dalek: thanks :)
18:59 sbp right idea: yup, believe so
19:00 bluescreen10 joined #perl6
19:01 colomon sbp: so, I'm trying it again, with slightly different settings and activity monitor up.
19:02 colomon sbp: chewed up a gig of memory in about two minutes, though it seems to have gone back down again at the moment?!
19:02 sbp ouch
19:03 sbp I wonder if there's a way to set a memory cap too. might not be a good idea though
19:05 colomon it's interesting -- seems to be holding at 200mb memory, and 100% of one of the CPU cores.  but the system is quite responsive at the moment.
19:06 kboga joined #perl6
19:10 wamba joined #perl6
19:11 sorear sbp: ulimit -v 200000 # apps started from this shell cannot use more than 200,000 kB of memory
19:15 uniejo_in_riga joined #perl6
19:26 am0c joined #perl6
19:29 im2ee joined #perl6
19:33 moritz sorear++ # just ran the mandelbrot benchmark for which rakudo/master needed 18 minutes, and nom neeeded 3 minutes - niecza did it in 8.8s!
19:34 moritz I tried to re-run the benchmark on nom, got a segfault after a minute
19:34 colomon segfault?  :(
19:35 cotto joined #perl6
19:35 moritz yes, repeatable
19:37 * [Coke] is reminded that we have a segfault again in t/spectest.data
19:38 colomon well, if you're going to have one, repeatable is good, I guess.
19:39 bluescreen10 joined #perl6
19:43 moritz bbkr: you now have commit access to perl6/{ecosystem,roast,mu,specs,perl6.org} and all the other interesting repositories. Enjoy!
19:43 moritz (which did it take so long until somebody gave bbkr a commit bit?)
19:43 bbkr moritz: thanks. it's good to be back to hacking p6 again.
19:44 beppu joined #perl6
19:48 supernovus joined #perl6
19:52 [Coke] moritz: was hugme down?
19:53 moritz [Coke]: dunno
19:54 moritz wow, the list on http://modules.perl6.org/ is empty
19:55 supernovus the JSON version is showing { } too...
19:55 moritz seems to be a problem with the new perl on feather2
19:56 moritz moritz@feather2:~/modules.perl6.org/web$ perl build-project-list.pl /var/www/modules.perl6.org/
19:56 moritz Use of uninitialized value $contents in split at build-project-list.pl line 126.
19:57 moritz ok - 0
19:57 moritz nok - 0
19:57 moritz index.html and proto.json files generated
20:00 noganex_ joined #perl6
20:03 cotto joined #perl6
20:05 moritz so, modules.perl6.org is botched, and I have no idea why
20:05 kaare_ joined #perl6
20:05 PerlJam when did it happen?
20:06 PerlJam I looked at modules.perl6.org last a little over 12 hours ago I think
20:06 moritz dunno; it's blank now.
20:07 moritz PerlJam: does it work locally for you?
20:07 dalek rakudo/nom: 7128da1 | moritz++ | NOMMAP.markdown:
20:07 PerlJam nope.  No modules for me.
20:07 dalek rakudo/nom: note a known segfault
20:07 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7128da1c54
20:10 * moritz switches modules.perl6.org to the gh-pages branch
20:10 moritz same result :(
20:11 lue joined #perl6
20:11 lue hello world o/
20:13 supernovus I'm guessing that protos are now required for multi methods?
20:19 sorear supernovus: no
20:20 supernovus hmm, I'm having some weird issues trying to get Temporal.pm ported over to the nom branch, most of them dealing with it not liking "multi method suchandsuch"...
20:20 mj41 joined #perl6
20:20 moritz supernovus: there's already a Temporal.pm in src/core/ in nom
20:21 supernovus yeah, there is, and the DateTime and Date classes are commented out! Makes them rather useless at the moment :-)
20:21 moritz supernovus: and uncommenting out stuff from it mostly leads to weird compilation errors which jnthn++ has to fix at some point
20:21 moritz supernovus: I managed to compile them outside of src/core/, but inside they fail
20:22 supernovus Ah, seems I'm repeating work that's already been done. That's me. :-P
20:22 abercrombie I visited modules.perl6.org about 4 hours ago and it was fine at that time.
20:23 flussence http://modules.perl6.org/proto.json is empty...
20:23 moritz it seems that LWP::Simple doesn't https, and doesn't like redirects either
20:24 cotto joined #perl6
20:24 supernovus Only other thing, any reason that I can't run the "perl6" binary from "nom" except if I'm in the rakudo source directory?
20:25 moritz supernovus: it's because you didn't run 'make install', probably
20:25 moritz and "README" is called "README" because it wants to be read
20:26 supernovus moritz: Okay, I am now kicking myself in my own head for missing something that bloody stupid...
20:27 moritz supernovus: don't, happens to all of us some day or another :-)
20:28 supernovus I'll leave Temporal alone, and see if I can get my own modules to work with nom.
20:30 dalek ecosystem: 19f5246 | moritz++ | META.list:
20:30 dalek ecosystem: raw github URLs now begin with raw.github.com
20:30 dalek ecosystem: review: https://github.com/perl6/ecosystem/commit/19f5246323
20:35 bbkr joined #perl6
20:36 sftp joined #perl6
20:37 lue I'm curious. How is it that the internet-related P6 modules actually communicate over the internet?
20:39 moritz by, uhm, using the internet?
20:40 moritz or are you asking about IO::Socket::INET?
20:40 flussence it has to go through parrot stuff at some point
20:42 lue I was skimming over LWP::Simple, and I couldn't see how it actually sent and received information over the internet.
20:44 dalek modules.perl6.org/gh-pages: 2d8962e | moritz++ | build-project-list.pl:
20:44 dalek modules.perl6.org/gh-pages: hack hack: work around brokenness of LWP::Simple and https by using Mojo::UserAgent for now. This regresses on a few features (like logos), but better than having nothing show up at all
20:44 dalek modules.perl6.org/gh-pages: review: https://github.com/perl6/modules.perl6.org/commit/2d8962e321
20:44 moritz lue: https://github.com/cosimo/perl6-lwp-simple/blob/master/lib/LWP/Simple.pm#L141
20:47 lue .oO(That's what I get for skimming) I see now. (Must find and learn about IO::Socket::INET...)
20:47 moritz the usual suspects help :-)
20:48 dalek modules.perl6.org/gh-pages: 22b4128 | moritz++ | Build.PL:
20:48 dalek modules.perl6.org/gh-pages: note a few more dependencies
20:48 dalek modules.perl6.org/gh-pages: review: https://github.com/perl6/modules.perl6.org/commit/22b4128fa3
20:48 lue Found it. (I never thought Perl 6 would have Internet related functions a standard feature. Perl6++)
20:51 dalek modules.perl6.org/gh-pages: 6944f31 | moritz++ | / (2 files):
20:51 dalek modules.perl6.org/gh-pages: update generated files
20:51 dalek modules.perl6.org/gh-pages: review: https://github.com/perl6/modules.perl6.org/commit/6944f31bc0
20:53 Holy_Cow joined #perl6
20:54 moritz basic modules.perl6.org restored. Soembody with sanity please fix it for real real soon[tm]
20:55 * moritz -> sleep
20:57 nano- joined #perl6
20:58 nano- What does ?$! mean?
20:58 Holy_Cow left #perl6
20:58 bbkr boolean context of error variable?
20:58 nano- like in: return ?$!object.function;
20:58 PerlJam ah, context is everything
20:59 flussence $ -> variable, ! -> private object var, ? -> boolify
20:59 nano- ah, thanks.
21:00 nano- flussence: was looking at your perl6 bindings for XMMS2 and became puzzled ;)
21:00 flussence oh, that thing's a mess
21:01 nano- :)
21:01 flussence I was pretty much teaching myself perl6 by doing it
21:02 flussence (and it'd look nicer if more of perl6 itself worked at the time...)
21:02 nano- Yeah, noticed it was just a beginning of something. If you ever decide to finish it, don't hesitate to drop by #xmms2 and we could ship it with the project like we do with the rest of the clientlib bindings.
21:02 flussence k :D
21:04 bbkr https://github.com/bbkr/mongo-perl6-driver/blob/master/t/mongodb.t - first working MongoDB object insert. Tons of work ahead, but now with boosted morales.
21:05 nano- left #perl6
21:08 flussence nom: Buf
21:08 p6eval nom:  ( no output )
21:09 flussence I don't think Bufs work in nom just yet, but I've wanted to make a role thing that does auto pack/unpack on classes. Would probably make that code much easier...
21:11 bbkr indeed. whole BSON ( https://github.com/bbkr/BSON ) was a struggle because of undocumented pack/unpack.
21:13 bbkr what exactly is nom branch for?
21:16 PerlJam bbkr: the New Object Model
21:16 flussence rewrite of the internals of rakudo
21:17 flussence it has native types now, which is nice. Just no way to get them as binary...
21:18 bbkr thanks for info
21:19 KyleHa left #perl6
21:24 tadzik phenny: tell moritz: re the segfault, does it also happen with -g ms2?
21:24 phenny tadzik: I'll pass that on when moritz is around.
21:27 rdesfo left #perl6
21:30 dorlamm joined #perl6
21:37 im2ee joined #perl6
21:41 flussence hm, I went and checked out the gh-pages branch from modules.p6.o repo and got it to work just fine...
21:46 mod_cure joined #perl6
21:50 Psyche^ joined #perl6
21:52 pmichaud good morning, #perl6
21:53 abercrombie morning? are you in japan?
21:53 pmichaud no, riga
21:53 abercrombie so why did you say morning?
21:53 pmichaud it's morning here
21:54 abercrombie really?
21:54 pmichaud 00h54,
21:54 diakopter oh, heh
21:54 abercrombie well, ur right
21:55 dalek specs: fedd761 | diakopter++ | S02-bits.pod:
21:55 dalek specs: more headings for S02, under Lists
21:55 dalek specs: review: https://github.com/perl6/specs/commit/fedd7616b5
22:07 jaldhar joined #perl6
22:15 jnthn evening, 'perl6
22:16 jnthn er, well, kinda morning, but I don't like to think of it that way :P
22:16 pmichaud jnthn: o/
22:17 pmichaud jnthn: is there an easy way to get to the (parrot) subid for a Regex ?
22:18 jnthn pmichaud: Define "a Regex"
22:18 jnthn (warning: post-pivo ;-))
22:18 pmichaud nom:  say (/abc/).WHAT
22:18 p6eval nom: OUTPUT«Regex()␤»
22:18 jnthn pmichaud: Do you have the code object, or a PAST node that references it?
22:18 jnthn Oh, at runtime...
22:18 pmichaud runtime
22:18 jnthn oh
22:18 jnthn nom:  say nqp::getattr(/abc/, Code, '$!do').subid
22:18 p6eval nom: OUTPUT«Method 'subid' not found for invocant of class 'Sub'␤  in mu <anon> at /tmp/pxbKp5f5Fb:1␤  in mu <anon> at /tmp/pxbKp5f5Fb:1␤␤»
22:19 jnthn nom:  say nqp::getattr(/abc/, Code, '$!do').get_subid
22:19 p6eval nom: OUTPUT«11_1313446745.40213␤»
22:19 jnthn Like that.
22:19 pmichaud could I put a .get_subid method on the Regex object?
22:20 pmichaud (that then delegates to its $!do)
22:21 jnthn You could, just remember it's user exposed :)
22:21 jnthn That said, I can use it to fix a bug in role comp :P
22:21 pmichaud yeah, the "user exposed" part bugs me a bit.  I can certainly name it something other than "get_subid" if we want.
22:24 jnthn Shove a ! in there. At least they have to quote to get it ;)
22:25 pmichaud alternatively, I could do it with a !nqpattr method.  That might actually be better.
22:25 jnthn What's wrong with nqp::getattr ?
22:25 pmichaud it's not really an attribute in that sense
22:26 jnthn You're getting an attribute and calling a method on it.
22:26 jnthn How much of a hot path is it?
22:26 pmichaud not very hot (more)
22:27 pmichaud ultimately, given a regex, I have to be able to get its nfa and its list of captures
22:27 pmichaud currently I do this by creating subs in a private namespace that are keyed by the subid of the regex
22:27 pmichaud this works fine as long as we're in nqp-land, because nqp regexes are bare Parrot subs
22:28 jnthn I'd not rely on it staying that way though :)
22:28 pmichaud but in Rakudo, a .HOW.find_method($cursor, "rule")   is likely to give back a Regex object
22:28 jnthn Yes, it will.
22:28 jnthn Oh, you need a solution generic for NQP and Rakudo? Hm.
22:28 jnthn I now see the temptation of a .get_subid method :)
22:29 pmichaud so, what I do now is I stick a "nqpattr" method on to Parrot Subs
22:29 pmichaud so that I can ask any Parrot sub for its attached nfa or capture list
22:29 jnthn hm
22:29 jnthn I think I'd rather you add a .get_subid to Regex than that ;)
22:30 nbrown joined #perl6
22:30 jnthn *or* pick a method name we like and then stick a method call that on the Parrot Sub and the Rakudo Code.
22:30 jnthn s/call/for/
22:33 pmichaud (thinking)
22:33 lue I'm looking at the src/old/core/Buf.pm. Am I right in saying that in Buf[::T = Int], the ::T is what's set in things like uint8 in Array[uint8] (and if not specified, defaults to Int)
22:34 pmichaud jnthn: I'll think on it a bit more for now -- I can work with what I've got for the moment.
22:34 jnthn k
22:34 pmichaud jnthn: but yes, we'll do some sort of method name we like, I suspect
22:35 jnthn pmichaud: I do need it for fixing diamond composition bug in roles.
22:35 pmichaud .get_subid, that is?
22:35 lue s/set in things/set to things/
22:35 jnthn pmichaud: Well, something that lets be distinguish subs that are the same underlying thing.
22:35 jnthn s/be/me/
22:36 pmichaud pick a name, then :)
22:36 pmichaud .SUBWHERE
22:36 pmichaud .SUBWHICH
22:36 jnthn .WHICH ;)
22:37 pmichaud lue: yes, I think so.
22:37 pmichaud jnthn: if we want Code.WHICH to always refer to its underlying Parrot sub, I'm okay with that.
22:37 jnthn afaik, &foo.WHERE === &foo.clone.WHERE should be true
22:38 jnthn (e.g. transparent to closure cloning)
22:38 pmichaud .WHICH works for me for now.
22:39 jnthn +1
22:39 jnthn Can work out the detials later
22:39 pmichaud it's okay if .WHICH returns the subid, as opposed to an address?
22:40 jnthn pmichaud: Well, S02 wants it to return something fairly opaque-ish, iirc.
22:40 pmichaud that's pretty opaque :)
22:40 jnthn It's .WHERE that has to return an address.
22:41 jnthn .WHICH should return an ObjAt
22:41 jnthn But nobody really does it that way yet.
22:41 jnthn afaik
22:41 jnthn niecza: 1.WHICH.WHAT.say
22:41 p6eval niecza v8-51-g785e335: OUTPUT«Unhandled exception: Unable to resolve method WHICH in class Int␤  at /tmp/mHlF3rfiPE line 1 (MAIN mainline @ 1) ␤  at /home/p6eval/niecza/lib/CORE.setting line 1996 (CORE C939_ANON @ 2) ␤  at /home/p6eval/niecza/lib/CORE.setting line 1997 (CORE module-CORE…
22:41 jnthn niecza: 1.WHERE.WHAT.say
22:41 p6eval niecza v8-51-g785e335: OUTPUT«Unhandled exception: Unable to resolve method WHERE in class Int␤  at /tmp/StYF4XBw_2 line 1 (MAIN mainline @ 1) ␤  at /home/p6eval/niecza/lib/CORE.setting line 1996 (CORE C939_ANON @ 2) ␤  at /home/p6eval/niecza/lib/CORE.setting line 1997 (CORE module-CORE…
22:42 jnthn Yeah, nobody does it :)
22:42 pmichaud nom:  1.WHICH.WHAT.say
22:42 p6eval nom: OUTPUT«Int()␤»
22:43 pmichaud okay, I'll go with .WHICH for now; we can clean it up a bit later if we want.
22:43 pmichaud thanks.
22:44 jnthn We beat niecza, but the spec beats us. :)
22:46 lue perl6: 1.WHICH.WHAT.say
22:46 p6eval niecza v8-51-g785e335: OUTPUT«Unhandled exception: Unable to resolve method WHICH in class Int␤  at /tmp/8NKrQj_zLe line 1 (MAIN mainline @ 1) ␤  at /home/p6eval/niecza/lib/CORE.setting line 1996 (CORE C939_ANON @ 2) ␤  at /home/p6eval/niecza/lib/CORE.setting line 1997 (CORE module-CORE…
22:46 p6eval ..pugs: OUTPUT«Int␤»
22:46 p6eval ..rakudo 922500: OUTPUT«Int()␤»
22:46 jnthn pmichaud: Anything else before I sleep off the tasty beer? :)
22:46 pmichaud jnthn: not that I can think of, thanks.
22:46 pmichaud I've already had a nap so will be up a while hacking
22:47 jnthn OK :)
22:47 * jnthn has been out for a tour of Riga and plenty of food and beer :)
22:47 pmichaud how was the tour?
22:47 jnthn No hacking...but great fun ;)
22:47 jnthn Well, it was delivered in Esparanto.
22:47 diakopter O_O
22:48 pmichaud seems like a tour during daylight would be slightly better.... not that we have many daylight tour slots remaining, though
22:48 jnthn Which I don't speak at all, but it turns out that you can guess your way through enough to make it worthwhile if you know a little French and Spanish :)
22:48 jnthn (masak speaks it fluently :))
22:49 jnthn Well, it was still pretty light for most of it
22:49 jnthn Yeah, we need to escape from YAPC and wonder around at some point ;)
22:49 pmichaud ah, that works then
22:49 pmichaud maybe wednesday post-conference :)
22:49 pmichaud or thursday post-class
22:50 jnthn aye
22:50 jnthn Anyways, I want to see Damain's keynote, so I'm going to grab some sleep :)
22:50 pmichaud see ya later
22:50 jnthn I'll probably leave around 9:30ish...nothing starts until 10.
22:51 jnthn Happy hacking ;)
22:51 jnthn &
22:55 moritz joined #perl6
22:57 REPLeffect joined #perl6
23:15 molaf_ joined #perl6
23:22 whiteknight joined #perl6
23:56 tokuhirom joined #perl6

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

Perl 6 | Reference Documentation | Rakudo