Perl 6 - the future is here, just unevenly distributed

IRC log for #perl6, 2011-05-21

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:10 donri left #perl6
00:15 colomon joined #perl6
00:21 tyatpi left #perl6
00:21 mtk left #perl6
00:32 mtk joined #perl6
00:41 dayangkun joined #perl6
00:44 Chillance left #perl6
00:49 Guest62103 joined #perl6
00:57 dayangkun left #perl6
01:10 ymasory left #perl6
01:14 jaldhar_ joined #perl6
01:19 ymasory joined #perl6
01:25 Guest62103 left #perl6
01:35 silug left #perl6
01:36 Trashlord left #perl6
01:39 ymasory left #perl6
01:40 ymasory joined #perl6
01:56 pamera1 joined #perl6
01:59 pamera left #perl6
02:00 alester joined #perl6
02:20 jaldhar_ left #perl6
02:20 jaldhar_ joined #perl6
02:24 dayangkun joined #perl6
02:25 tyatpi joined #perl6
03:00 benabik left #perl6
03:01 benabik joined #perl6
03:10 tyatpi left #perl6
03:17 [particle]1 joined #perl6
03:17 [particle] left #perl6
03:27 Su-Shee left #perl6
03:29 Su-Shee joined #perl6
03:34 am0c left #perl6
03:37 tyatpi joined #perl6
03:47 am0c joined #perl6
03:52 tyatpi left #perl6
04:00 REPLeffect left #perl6
04:00 dayangkun left #perl6
04:13 silug joined #perl6
04:14 REPLeffect joined #perl6
04:24 silug left #perl6
04:58 _twitch joined #perl6
05:21 ymasory left #perl6
05:22 alester left #perl6
05:24 PerlJam left #perl6
05:24 PerlJam joined #perl6
05:29 thou_ joined #perl6
05:37 [particle]1 is now known as [particle]
05:37 woosley joined #perl6
05:54 satyavvd joined #perl6
05:56 kjeldahl left #perl6
05:58 birdwindupbird joined #perl6
05:59 sorear good * #perl6
06:04 woosley left #perl6
06:20 wamba joined #perl6
06:20 yath joined #perl6
06:22 dalek niecza: f9518fb | sorear++ | t/spectest.data:
06:22 dalek niecza: Resort t/spectest.data
06:22 dalek niecza: review: https://github.com/sorear/niecza/commit/f9518fb56a
06:22 dalek niecza: 50d44e4 | sorear++ | / (5 files):
06:22 dalek niecza: Add new types Int, Rat, FatRat, Complex
06:22 dalek niecza:
06:22 dalek niecza: Also adds a stripped-down copy of the DLR's bignum library, and
06:22 dalek niecza: the license for it.
06:22 dalek niecza: review: https://github.com/sorear/niecza/commit/50d44e4fd1
06:48 araujo left #perl6
07:10 silug joined #perl6
07:35 mj41 joined #perl6
07:35 silug left #perl6
07:36 silug joined #perl6
07:36 moritz good morning
07:36 sorear hi moritz
07:36 moritz \o/ niecza has Int
07:36 sorear my class Int is Cool { }
07:36 sorear nothing else yet.
07:37 sorear how much continuous integrationy stuff are you doing with niecza?
07:37 moritz I run the spectets now and then :-)
07:38 moritz same as rakudo, more or less
07:47 tadzik niecza: my Int $a = 2; sya $a
07:47 p6eval niecza v5-29-g50d44e4: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤Undeclared routine:␤      'sya' used at line 1␤␤Unhandled exception: Check failed␤␤  at /home/p6eval/niecza/boot/lib/CORE.setting line 413 (CORE die @ 2)␤  at /home/p6eval/niecza/src/STD.pm6 line 1143 (STD P6.comp_unit @ 77)␤  at
07:47 p6eval ../home/p6eval/niecza/src/S…
07:47 tadzik niecza: my Int $a = 2; say $a
07:47 p6eval niecza v5-29-g50d44e4: OUTPUT«Unhandled exception: Nominal type check failed for scalar store; got Num, needed Int or subtype␤  at /tmp/R9I_BBjuAI line 1 (MAIN mainline @ 1)␤  at /home/p6eval/niecza/lib/CORE.setting line 1395 (CORE C575_ANON @ 2)␤  at /home/p6eval/niecza/lib/CORE.setting line 1396
07:47 p6eval ..(CORE module-…
07:48 sorear tadzik: when I say "add Int type", I mean exactly that.
07:48 tadzik I see
07:54 silug left #perl6
07:55 silug joined #perl6
07:59 mj41 left #perl6
08:02 silug left #perl6
08:02 silug joined #perl6
08:03 awoodland joined #perl6
08:03 _twitch left #perl6
08:12 silug left #perl6
08:25 wamba left #perl6
08:25 _twitch joined #perl6
08:25 _twitch left #perl6
08:46 satyavvd left #perl6
08:47 moritz $ mono run/Niecza.exe t/spec/S06-multi/positional-vs-named.t
08:47 moritz 1..26
08:47 moritz Unhandled exception: Ambiguous dispatch for &earth
08:47 moritz that one is new
08:49 Fuad joined #perl6
08:51 moritz I wonder if that test is supposed to work
08:54 moritz rakudo also says it's ambiguous
08:54 moritz well, it probably is :-)
08:57 icwiener joined #perl6
09:06 moritz rakudo: multi earth($me, :$you!) { say "$me, $you" }; earth('b', you => 4);
09:06 p6eval rakudo 786099: OUTPUT«b, 4␤»
09:18 dalek roast: 0058a89 | moritz++ | S06-multi/positional-vs-named.t:
09:18 dalek roast: remove ambiguous cases from positional-vs-named.t, fudge for rakudo
09:18 dalek roast: review: https://github.com/perl6/roast/commit/0058a898e5
09:22 dalek rakudo: 4398a2e | moritz++ | t/spectest.data:
09:22 dalek rakudo: add a passing test file
09:22 dalek rakudo: review: https://github.com/rakudo/rakudo/commit/4398a2e5ca
09:27 barika left #perl6
09:34 barika joined #perl6
09:38 thou_ left #perl6
09:46 Mowah joined #perl6
10:15 Fuad left #perl6
10:21 Garda joined #perl6
10:23 p6eval left #perl6
10:24 p6eval joined #perl6
10:25 donri joined #perl6
10:27 Garda hi
10:27 Garda who owns p6evel?
10:27 lumi_ left #perl6
10:30 moritz Garda: it's open source, all the contributors own it
10:30 * moritz and diakopter maintain it, mostly
10:31 Trashlord joined #perl6
10:31 p6eval left #perl6
10:32 p6eval joined #perl6
10:34 dalek evalbot: 5cf1ccc | moritz++ | evalbot.pl:
10:34 dalek evalbot: remove hilighting fossile noticed by Garda++
10:34 dalek evalbot: review: https://github.com/perl6/evalbot/commit/5cf1ccc6fc
10:36 p6eval left #perl6
10:37 p6eval joined #perl6
10:44 satyavvd joined #perl6
10:45 MayDaniel joined #perl6
10:45 baest_ joined #perl6
10:47 baest left #perl6
10:49 lue left #perl6
10:56 silug joined #perl6
11:02 Psyche^ joined #perl6
11:03 donri is there a style guide for perl6?
11:03 donri stylistic inconsistencies really bug me in languages and with perl6 we have a chance for consistency from the start
11:06 Patterner left #perl6
11:06 Psyche^ is now known as Patterner
11:11 MayDaniel left #perl6
11:14 tty234 left #perl6
11:16 Mowah left #perl6
11:20 sjn donri: language-enforced stylistic consistencies? sounds like you're looking for Python...
11:20 donri not enforced, conventions
11:21 silug left #perl6
11:21 moritz donri: most of current Perl 6 style is simply taken from Perl 5 style (see perldoc perlstyle)
11:21 silug joined #perl6
11:21 * sjn would like something like Perl6::Tidy one day, to at least give an option to create internal consistency within a project
11:24 moritz sjn: since we already have good Perl 6 parsers (std, niecza), development of such a module is very possible right now
11:24 moritz just needs somebody doin' it
11:28 silug left #perl6
11:28 silug joined #perl6
11:32 silug left #perl6
11:33 silug joined #perl6
11:36 Mowah joined #perl6
11:40 am0c left #perl6
11:50 silug left #perl6
11:52 Mowah left #perl6
12:01 satyavvd left #perl6
12:09 sjn moritz: noted :)
12:14 Mowah joined #perl6
12:15 orafu joined #perl6
12:15 tyatpi joined #perl6
12:16 kjeldahl joined #perl6
12:20 tyatpi left #perl6
12:23 tyatpi joined #perl6
12:30 envi joined #perl6
12:39 Garda left #perl6
12:48 orafu left #perl6
12:49 orafu joined #perl6
12:50 satyavvd joined #perl6
12:52 am0c joined #perl6
13:03 araujo joined #perl6
13:04 Garda joined #perl6
13:28 Mowah left #perl6
13:30 orafu left #perl6
13:31 orafu joined #perl6
13:35 kanishka joined #perl6
13:35 kanishka perl6: say3
13:35 p6eval pugs: OUTPUT«*** No such subroutine: "&say3"␤    at /tmp/iv1TIRre0b line 1, column 1 - line 2, column 1␤»
13:35 p6eval ..niecza v5-29-g50d44e4: OUTPUT«[31m===[0mSORRY![31m===[0m␤␤Undeclared routine:␤      'say3' used at line 1␤␤Unhandled exception: Check failed␤␤  at /home/p6eval/niecza/boot/lib/CORE.setting line 413 (CORE die @ 2)␤  at /home/p6eval/niecza/src/STD.pm6 line 1143 (STD P6.comp_unit @ 77)␤  at
13:35 p6eval ../home/p6eval/niecza/src/…
13:35 p6eval ..rakudo 4398a2: OUTPUT«Could not find sub &say3␤  in main program body at line 22:/tmp/Xj4N5bvtBs␤»
13:36 kanishka perl6: say 3
13:36 p6eval pugs, rakudo 4398a2, niecza v5-29-g50d44e4: OUTPUT«3␤»
13:36 orafu left #perl6
13:38 orafu joined #perl6
13:38 tyatpi left #perl6
13:39 kanishka Segmentation fault I am this error message on every perl6 programme
13:41 icwiener left #perl6
13:42 mj41 joined #perl6
13:46 ymasory joined #perl6
13:47 mtk left #perl6
13:47 tty234 joined #perl6
13:49 TimToady kanishka: which version are you running, and what OS are you on?
13:49 TimToady maybe we can find someone with the same setup here to try it
13:49 jaldhar_ is now known as jaldhar
13:50 kanishka I am on opensuse 11.4 64 bit perl 5.12.3 gcc 4.5.1
13:51 TimToady which implementation of Perl 6 do you have installed?
13:51 kanishka I installed from packet manager from yast
13:51 kanishka I will install maullay
13:52 TimToady you might do better downloading rakudo directly rather than trying to use a package manager
13:52 kanishka left #perl6
13:52 tadzik kanishka: which Rakudo version did you install?
13:52 tadzik oh
13:54 awoodland left #perl6
13:54 sorear good * #perl6
13:55 tadzik good afternoon sorear
13:56 ymasory left #perl6
13:57 mtk joined #perl6
13:59 Ali_h left #perl6
14:04 isBEKaml joined #perl6
14:05 am0c left #perl6
14:06 mj41 left #perl6
14:07 isBEKaml is now known as n0den1te
14:07 n0den1te is now known as isBEKaml
14:07 isBEKaml Hello, #perl6!
14:08 TimToady o/
14:08 tyatpi joined #perl6
14:09 tadzik isBEKaml: o/
14:09 isBEKaml tadzik, TimToady: \o/
14:10 isBEKaml Does anyone know if we have any later versions of perl6 book than jan2011 from github?
14:10 isBEKaml moritz: ^^ ?
14:15 kjeldahl left #perl6
14:17 Ali_h joined #perl6
14:24 tadzik isBEKaml: I can build a fresh one for you :)
14:24 tadzik isBEKaml: but there should be a fresh build with R*, isn't there?
14:24 satyavvd left #perl6
14:25 isBEKaml tadzik: ah, no. I didn't check R* modules.
14:25 isBEKaml tadzik: I'm currently setting up cpanm and looking to use book-to-html script from the repo. :)
14:26 tadzik oh, that requires plenty of LaTeX packages
14:26 isBEKaml Oh. :(
14:29 tadzik yeah, it's a pain
14:29 tadzik I can tell you what I have installed, maybe that'd help you
14:30 mj41 joined #perl6
14:33 isBEKaml tadzik: I just setup cpanm and local::lib.
14:34 isBEKaml tadzik: It now looks like I have to set them up to run the pods one after another. Anyway, I was able to get out the regexes chapter into html (what I wanted ) :)
14:38 tadzik :)
14:42 Garda left #perl6
14:42 mj41 left #perl6
14:43 isBEKaml for i in $(ls ../src/*.pod); do filename=$(ls $i|rev|cut -d. -f2|cut -d/ -f1|rev); perl -Mlocal::lib book-to-html $i > ../dist/${filename}.html; done
14:43 isBEKaml :D
14:44 woosley joined #perl6
14:49 tyatpi left #perl6
14:50 * isBEKaml off to reading p6book
14:51 thou joined #perl6
14:53 * tadzik on writing Java :)
14:56 pjcj left #perl6
14:57 pjcj joined #perl6
14:57 ruoso joined #perl6
14:58 sorear ruoso!! \o/
14:58 sorear std: :16< abc * :12<0a> ** 5 >
14:58 p6eval std 34fe626: OUTPUT«[31m===[0mSORRY![31m===[0m␤Malformed radix number at /tmp/mHwH_zJ3Gi line 1:␤------> [32m:16<[33m⏏[31m abc * :12<0a> ** 5 >[0m␤    expecting number in radix notation␤Parse failed␤FAILED 00:01 111m␤»
14:58 sorear std: :16<abc * :12<0a> ** 5 >
14:58 p6eval std 34fe626: OUTPUT«[31m===[0mSORRY![31m===[0m␤Malformed radix number at /tmp/OIvZ2VK8my line 1:␤------> [32m:16<[33m⏏[31mabc * :12<0a> ** 5 >[0m␤    expecting number in radix notation␤Parse failed␤FAILED 00:01 111m␤»
14:59 sorear std: :16<abc*:12<0a>**5>
14:59 p6eval std 34fe626: OUTPUT«[31m===[0mSORRY![31m===[0m␤Malformed radix number at /tmp/OngjyTJHzn line 1:␤------> [32m:16<abc*:12<[33m⏏[31m0a>**5>[0m␤    expecting number in radix notation␤Parse failed␤FAILED 00:01 111m␤»
15:00 satyavvd joined #perl6
15:00 sorear std: :16<abc*:12<0a>>
15:00 p6eval std 34fe626: OUTPUT«[31m===[0mSORRY![31m===[0m␤Malformed radix number at /tmp/vuK5RlTieD line 1:␤------> [32m:16<abc*:12<[33m⏏[31m0a>>[0m␤    expecting number in radix notation␤Parse failed␤FAILED 00:01 111m␤»
15:00 ruoso hi folks...
15:01 tadzik hi ruoso
15:01 ruoso I'm trying to get back to normal routine... 3 months since I moved to NYC
15:02 sorear have you played with 6model?
15:02 mj41 joined #perl6
15:03 ruoso nope... what is it?
15:04 leprevost joined #perl6
15:04 sorear it's a new framework for nqp/rakudo which is highly based on smop
15:04 silug joined #perl6
15:05 ruoso really??? that's awesome
15:06 ruoso where can I read more about it?
15:06 ruoso 6model?
15:06 TimToady latest blog is http://6guts.wordpress.com/2011/05/10/rakudo-on-6model-gets-underway/
15:07 * ruoso feel very happy that smop experiments got to such an important outcome
15:08 sorear TimToady: is STD correct to reject spaces in :16<abc * 10 ** 3> ?
15:09 TimToady it seems like a needless stricture
15:10 sorear Does the ** form imply Num, like 123e0 does?
15:11 woosley left #perl6
15:16 TimToady seems sane-ish
15:17 silug left #perl6
15:17 silug joined #perl6
15:18 * ruoso :) it really is a happy day for me...
15:22 dalek std: 4b1b100 | larry++ | STD.pm6:
15:22 dalek std: allow whitespace in radix notation
15:22 dalek std: review: https://github.com/perl6/std/commit/4b1b100d00
15:22 silug left #perl6
15:23 silug joined #perl6
15:23 TimToady bbl &
15:26 woosley joined #perl6
15:37 mj41 left #perl6
15:39 BoomerET joined #perl6
15:39 silug left #perl6
15:39 silug joined #perl6
15:45 awoodland joined #perl6
15:48 mj41 joined #perl6
15:52 woosley left #perl6
15:55 am0c joined #perl6
15:55 silug left #perl6
15:57 isBEKaml left #perl6
15:59 dukeleto left #perl6
16:00 dukeleto joined #perl6
16:00 cdarroch joined #perl6
16:00 cdarroch left #perl6
16:00 cdarroch joined #perl6
16:02 awoodland left #perl6
16:04 jnthn oh hai
16:04 phenny jnthn: 16 May 19:59Z <tadzik> tell jnthn can we close http://rt.perl.org/rt3/Ticket/Display.html?id=65396 ?
16:04 * jnthn is back from vacation :)
16:04 jnthn russia++, finland++ :)
16:05 tadzik yay, jnthn's back!
16:06 jnthn :)
16:07 jnthn It's nice to be home again, though I already miss Russia a bit ;)
16:08 ruoso but you know what a very interesting experiment would be?
16:08 ruoso porting 6model to p5guts
16:09 tadzik . o O ( 6moose )
16:09 ruoso not moose, but using SV* as a representation
16:09 jnthn ruoso: :)
16:10 ruoso jnthn++ while 1;
16:10 ruoso and if NQP is bootstrapping, it would mean we would be able to run it in p5 alone
16:11 ruoso that would be very very interesting
16:11 tadzik oh, I see
16:11 jnthn ruoso: My more immediate goal was "get it to spit itself out on the CLR" but yes, if somebody wants to do Perl 5, nice. :)
16:12 * ruoso lacks CLR knowledge...
16:12 ruoso I will try to spend some nights on it
16:13 awoodland joined #perl6
16:14 ruoso jnthn: btw... I am very very much happy to see that my smop experiments ended up being useful after all :)
16:18 woldrich joined #perl6
16:18 jnthn ruoso: Yes, it did. Thanks! :)
16:18 jnthn ruoso++
16:18 woldrich Where's masak when you need him. :(
16:18 jnthn woldrich: He may be online later on today.
16:18 woldrich okay, thanks
16:22 mattp_ left #perl6
16:23 mattp_ joined #perl6
16:24 dukeleto left #perl6
16:24 dukeleto joined #perl6
16:33 satyavvd left #perl6
16:34 mattp_ left #perl6
16:35 mj41 left #perl6
16:35 MayDaniel joined #perl6
16:36 mattp_ joined #perl6
16:36 s1n joined #perl6
16:38 mj41 joined #perl6
16:44 skangas joined #perl6
16:47 kjeldahl joined #perl6
16:48 MayDaniel left #perl6
16:49 dukeleto good *, #perl6
16:54 birdwindupbird left #perl6
16:54 kjeldahl left #perl6
16:55 [Coke] left #perl6
16:57 [Coke] joined #perl6
16:58 kjeldahl joined #perl6
17:01 mj41 left #perl6
17:01 molaf joined #perl6
17:10 [Coke] left #perl6
17:12 [Coke] joined #perl6
17:13 mattp_ left #perl6
17:14 mattp_ joined #perl6
17:20 birdwindupbird joined #perl6
17:26 tyatpi joined #perl6
17:42 icwiener joined #perl6
17:54 mj41 joined #perl6
18:04 leprevost left #perl6
18:06 masak joined #perl6
18:06 masak oh hai, #perl6.
18:06 phenny masak: 19 May 20:26Z <tadzik> tell masak http://i.imgur.com/envA5.jpg something you may like :)
18:07 jnthn masak! \o/
18:07 masak jnthn! \o/ :P
18:08 tadzik lolitsmasak!
18:08 masak tadzik: panda sushi! awwww :)
18:08 tadzik I knew it :)
18:08 jnthn It's to hard to grammar. ;)
18:09 tadzik yay, the channel no longer feels empty
18:09 * masak and jnthn is in ur channel, hitting un-pause :)
18:11 jnthn .oO( un-paws )
18:15 woldrich masak, hi. are you going to npw by train?
18:17 jnthn Actually, as the organizers, we plan to show up every day in a stretch limo...
18:17 masak one each.
18:18 woldrich jnthn, oh, right.
18:18 jnthn My limo will be so cool it'll have a built-in sauna.
18:18 masak woldrich: but technically, I will. since I live 10 minutes away from the venue by train. :)
18:18 jnthn oh, wait...
18:18 jnthn :)
18:18 woldrich masak, oh, I thought you lived in uppsala
18:19 masak woldrich: I did, until I got my new job in southern Sweden.
18:19 woldrich heh, okay
18:20 birdwindupbird left #perl6
18:35 BoomerET left #perl6
18:38 Khisanth left #perl6
18:50 jaldhar left #perl6
18:50 jaldhar joined #perl6
19:04 masak at the YAPC::Russia hackathon, I talked to a person who was worried that sigils in Perl might doom it to forever be a scripting language.
19:05 masak I listed what I considered to be some of the advantages of sigils -- namespacing, interpolation, separation of "nouns" from "verbs" -- but I felt there was an underlying issue that I couldn't express.
19:05 tadzik I don't quite get the idea
19:06 masak something about the "scriptiness" not residing in the sigils.
19:06 tadzik the lack of sigils doesn't make lua any less scripting
19:06 masak or Ruby.
19:07 MayDaniel joined #perl6
19:07 masak I agree that many people will mistakenly *think* there is a connection between sigils and scriptiness.
19:07 masak bash and PHP, I guess, provide some guilt by association. :)
19:07 tadzik masak: I like the manifesto
19:07 masak (as do many uses of Perl itself, of course)
19:08 masak tadzik: oh, I haven't published it yet. still waiting for jnthn's approval.
19:09 tadzik oh, Carribean Pirates in the TV
19:12 MayDaniel left #perl6
19:13 masak left #perl6
19:13 masak` joined #perl6
19:17 colomon left #perl6
19:21 masak` "Must named arguments bind to positional parameters?" -- a Manifesto: https://gist.github.com/984783
19:21 masak` (the fallout of walking along the Neva and discussing Perl 6 binder semantics) :)
19:24 silug joined #perl6
19:26 moritz masak`, jnthn: you do realize that renaming parameters is trivial? there's a special syntax for it
19:28 masak` moritz: you mean mapping argument '$a' to parameter '$b'? the syntax being :b($a)?
19:28 dalek nqp: ed37a36 | jonathan++ | src/ (7 files):
19:28 dalek nqp: Apply patch from Richard Hainsworth to add Parrot vtable delegation.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/ed37a369d4
19:28 dalek nqp: 606ef7c | jonathan++ | src/stage0/ (6 files):
19:28 dalek nqp: Update bootstrap.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/606ef7c0ed
19:28 dalek nqp: e6326c0 | jonathan++ | src/core/NQPCapture.pm:
19:28 dalek nqp: Use parrot_vtable_handler trait in NQPCapture for the performance win.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/e6326c0429
19:28 dalek nqp: 88e0df7 | jonathan++ | src/pmc/sixmodelobject.pmc:
19:28 dalek nqp: Enable Parrot vtable delegation for invoke.
19:28 dalek nqp: review: https://github.com/perl6/nqp/commit/88e0df746c
19:28 jnthn moritz: Of course I know about that. I implemented it.
19:29 jnthn moritz: I don't think it really weakens the argument.
19:29 masak` moritz: if so, I don't see how that is a counter-argument to any of the three arguments in the gist.
19:29 birdwindupbird joined #perl6
19:29 masak` the actual parameter names are still just as exposed.
19:29 moritz right
19:29 jnthn masak`: It helps in so far as it gives you a way to introduce a new name and keep the old one available.
19:29 masak` and when they change in the module, code in the caller will break just as much.
19:29 moritz fwiw I'm of two minds about it
19:30 jnthn masak`: But that relies on people being aware of the need to do that.
19:30 jnthn Which I'm not at all certain will be the case.
19:30 masak` right.
19:30 moritz another argument against the feature is that it's easy to accidently create ambiguous dispatch
19:30 moritz see my last commit to roast
19:30 jnthn It's sometimes OK to surprise people when there's a notable win.
19:31 masak` to spell it out, the *danger* here is when people go "ooh, a better name for my positional parameter. (good thing that doesn't break the API.)"
19:31 jnthn But in this case it's surprising and the win seems very small.
19:31 moritz OTOH I like $thing.split('foo', :limit(3))
19:31 masak` then maybe it should be a named parameter :)
19:33 Moukeddar joined #perl6
19:33 Moukeddar Hello :)
19:33 masak` Moukeddar! \o/
19:33 Moukeddar how are you doing Sir?
19:33 * masak` de-trains
19:33 masak` good, good. getting off the train :P
19:34 masak` left #perl6
19:34 Moukeddar nice
19:34 Moukeddar i've never been on one before
19:35 * jnthn pushes his rakudo/nom patches he did on vacation
19:35 dalek rakudo/nom: 972f1eb | jnthn++ | / (3 files):
19:35 dalek rakudo/nom: Add Perl6::Metamodel::ParrotInterop role, which contains bits of the meta-model that aid integration with Parrot v-tables.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/972f1eb9d4
19:35 dalek rakudo/nom: 106288c | jnthn++ | src/metamodel/ (3 files):
19:35 dalek rakudo/nom: Toss some code that's been (or will be) replaced.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/106288c540
19:35 dalek rakudo/nom: b97e7e8 | jnthn++ | src/Perl6/Metamodel/C3MRO.pm:
19:35 dalek rakudo/nom: Compute MRO whenever it's needed, if it wasn't already computed yet. Also fix a bug.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/b97e7e84c4
19:35 dalek rakudo/nom: de0c496 | jnthn++ | src/Perl6/SymbolTable.pm:
19:35 dalek rakudo/nom: Remember to actually install the stub code.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/de0c496fe2
19:35 dalek rakudo/nom: 7f3c56d | jnthn++ | src/Perl6/Metamodel/BOOTSTRAP.pm:
19:35 dalek rakudo/nom: Make Code's $!do attribute be the handler for Parrot's invoke vtable.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/7f3c56d776
19:35 dalek rakudo/nom: cca4603 | jnthn++ | NOMMAP.markdown:
19:35 dalek rakudo/nom: Update nom roadmap.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/cca46033f5
19:35 dalek rakudo/nom: a49f251 | jnthn++ | src/ (2 files):
19:35 dalek rakudo/nom: Start sketching out more efficient approach to handling $_, $/, $! and %_.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a49f251138
19:35 dalek rakudo/nom: ee847fb | jnthn++ | src/Perl6/Actions.pm:
19:35 dalek rakudo/nom: Toss some legacy trait handling code.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ee847fb915
19:35 dalek rakudo/nom: 61974cc | jnthn++ | src/Perl6/ (2 files):
19:35 dalek rakudo/nom: A few type handling updates.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/61974cc71a
19:35 dalek rakudo/nom: 4c6ce66 | jnthn++ | src/Perl6/SymbolTable.pm:
19:35 dalek rakudo/nom: Factor out handling of doing bits of runtime during compile time; make sure the code has appropriate .loadlibs.
19:35 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4c6ce663ec
19:41 silug left #perl6
19:43 sorear good * #perl6
19:43 sorear argggh I missed masak
19:44 woldrich left #perl6
19:44 Moukeddar mornin'
19:45 envi left #perl6
19:46 sorear \o/
19:47 Moukeddar may i ask , where can i find some book about how to solve real-world problems using OO design and UML ?
19:48 sorear what's UML useful for?
19:48 Moukeddar modeling :)
19:48 Moukeddar i just got started using it
19:48 Moukeddar i meant learning it
19:49 sorear Is it worth learning?
19:49 Moukeddar well , it cleared some things for me
19:49 Moukeddar and it's essential (i've been told )
19:51 Moukeddar now i want to practice solving some real world problems :)
19:51 pernatiy joined #perl6
19:54 ruoso Moukeddar: http://www.amazon.com/UML-Distilled-Standard-Modeling-Language/dp/0321193687/ref=sr_1_5?ie=UTF8&amp;qid=1306007647&amp;sr=8-5
19:54 ruoso I liked this one
19:54 sorear ruoso: have you heard of niecza yet?
19:58 Moukeddar that book , does it have some real world app analysis ?
20:00 cdarroch left #perl6
20:08 Moukeddar left #perl6
20:10 dalek niecza: 800459c | sorear++ | lib/ (3 files):
20:10 dalek niecza: Str methods for the new types
20:10 dalek niecza: review: https://github.com/sorear/niecza/commit/800459c50e
20:10 Su-Shee if you really can work practically with uml tools, you already can do that school of OO design and therefore don't really need the tool anymore but for illustrative purposes. unless you use visual xy which can generate code from it
20:11 MayDaniel joined #perl6
20:13 birdwindupbird left #perl6
20:29 sorear rakudo: say ((4 / 3) * (3 / 2)).WHAT
20:29 p6eval rakudo 4398a2: OUTPUT«Rat()␤»
20:29 sorear rakudo: say ((4 / 3) * (3 / 2)).perl
20:29 p6eval rakudo 4398a2: OUTPUT«2/1␤»
20:29 sorear TimToady: is this correct?
20:29 Khisanth joined #perl6
20:32 MayDaniel left #perl6
20:33 y3llow_ joined #perl6
20:33 pothos_ joined #perl6
20:33 jnthn sorear: I'm quite sure that it's correct that it's Rat.
20:34 jnthn sorear: Whether it shoulda stripped the /1 I dunno.
20:34 jnthn rakudo: say ((4 / 3) * (3 / 2)).Str
20:34 p6eval rakudo 4398a2: OUTPUT«2␤»
20:34 jnthn I've hazy memories of a deliberate decision that Str does such things, but .perl does 2/1 so that we really end up with a Rat.
20:34 jnthn (e.g. if the .perl output is eval'd)
20:35 pothos left #perl6
20:35 y3llow left #perl6
20:35 y3llow_ is now known as y3llow
20:35 pothos_ is now known as pothos
20:42 colomon joined #perl6
20:48 tyatpi left #perl6
21:20 lumi_ joined #perl6
21:35 mtk left #perl6
21:43 mtk joined #perl6
21:50 Khisanth left #perl6
21:53 sorear rakudo: say (1.).WHAT
21:53 p6eval rakudo 4398a2: OUTPUT«===SORRY!===␤Unable to parse postcircumfix:sym<( )>, couldn't find final ')' at line 22␤»
21:53 sorear rakudo: say (1. ).WHAT
21:53 p6eval rakudo 4398a2: OUTPUT«===SORRY!===␤Unable to parse postcircumfix:sym<( )>, couldn't find final ')' at line 22␤»
21:53 sorear rakudo: say 10.WHAT
21:53 p6eval rakudo 4398a2: OUTPUT«Int()␤»
21:54 sorear rakudo: say 1.0.WHAT
21:54 p6eval rakudo 4398a2: OUTPUT«Rat()␤»
21:54 sorear rakudo: say 1.0
21:54 p6eval rakudo 4398a2: OUTPUT«1␤»
21:58 Khisanth joined #perl6
22:06 tadzik Pivorama. So awesome
22:07 sorear phenny: "rama"
22:07 sorear phenny: "rama"?
22:07 phenny sorear: "branch" (es to en, translate.google.com)
22:07 sorear phenny: cz "rama"?
22:07 phenny sorear: The cz to en translation failed, sorry!
22:07 sorear phenny: ru "rama"?
22:07 phenny sorear: "rama" (ru to en, translate.google.com)
22:07 sorear phenny: pl "rama"?
22:07 phenny sorear: "frame" (pl to en, translate.google.com)
22:07 sorear phenny: pl "pivorama"?
22:07 phenny sorear: "pivorama" (pl to en, translate.google.com)
22:08 sorear what's a beer frame
22:08 tadzik Jonathan translated that to "Beer Restaurant"
22:08 tadzik But it sounds funny, Pivorama like Panorama
22:08 jnthn tadzik: The place was called "Pivorama", it described itself as a "Pivny restoran" (e.g. beer restaurant) :)
22:08 tadzik świetne :)
22:09 jnthn And yes, it's probably a pun on Panorama or some such :)
22:09 sorear there is a Noun-o-rama construction in English
22:09 sorear did not expect to see it in slavland
22:09 jnthn They brewed their own beer. Several types. Some way too good. :)
22:09 jnthn sorear: Me either. Was amused. :)
22:09 sorear do you have a nice punny name for the slavic language family world?
22:10 sorear something at least as nice as "sinosphere"
22:10 tadzik sinusfera?
22:10 jnthn slavosphere? :)
22:10 tadzik słowianstrefa? :P
22:10 jnthn :P
22:11 tadzik I never heard of sinosphere before
22:12 tadzik jnthn: I'm afraid that the latest performance win in nqp is actually a performance fail
22:13 jnthn tadzik: Oh?
22:13 tadzik make test jumped from 22 seconds to 63
22:13 jnthn erm.
22:13 tadzik and regex.t fails
22:13 jnthn wtf.
22:13 jnthn That's...odd.
22:14 Garda joined #perl6
22:14 jnthn tadzik: any Parrot update in the meantime?
22:14 tadzik jnthn: I don't think so. I'm going back a few commits to investigate
22:14 jnthn I saw bacek++ put in some patch but it looked unharmful performance wise.
22:15 sorear btw, jnthn
22:16 sorear will Rakudo/nom support 'my int $x = 5; $x++' ?
22:16 jnthn sorear: Don't plan to do that in this branch.
22:16 jnthn sorear: Trying to keep it limited in scope.
22:16 jnthn sorear: Want to do that shortly after the branch work though.
22:17 jnthn Well, along with some more general container changes.
22:18 tadzik jnthn: good news, it's even worse on 606ef7c0ed, "Update bootstrap"
22:18 sorear MSPL-- # You call this class "BigInteger", why does it have no parsing methods
22:18 sorear er
22:18 sorear MSPL++ MSFT--
22:18 jnthn tadzik: Ah.
22:18 tadzik now trying the after-bacek commit
22:18 jnthn tadzik: So it's not the patch that caused the regression.
22:19 tadzik nope
22:21 sorear rakudo: say 0x1.8
22:21 p6eval rakudo 4398a2: OUTPUT«===SORRY!===␤Confused at line 22, near "say 0x1.8"␤»
22:22 jnthn tadzik: Hmm. Seeing some performance drop (though less drastic than you report) on my laptop.
22:23 gbacon_ joined #perl6
22:26 tadzik jnthn: I think my first test run didn't run the p6regex.t
22:27 mj41 left #perl6
22:30 tadzik hrm, something else must've changed on my machine by then
22:30 tadzik gone sleeping for now &
22:37 kjeldahl left #perl6
22:38 jnthn sleep &
22:48 ruoso sorear: niecza?
22:49 sorear ruoso: yes
22:49 ruoso no... I haven't... what is it?
22:49 sorear it's the compiler I've been working on for the past not-quite-a-year
22:50 sorear perl6: say "foobar" ~~ /foo | \w+/
22:50 p6eval rakudo 4398a2: OUTPUT«foo␤»
22:50 p6eval ..pugs: OUTPUT«Error eval perl5: "if (!$INC{'Pugs/Runtime/Match/HsBridge.pm'}) {␤    unshift @INC, '/home/p6eval/.cabal/share/Pugs-6.2.13.16/blib6/pugs/perl5/lib';␤    eval q[require 'Pugs/Runtime/Match/HsBridge.pm'] or die $@;␤}␤'Pugs::Runtime::Match::HsBridge'␤"␤*** '<HANDLE>' trapped by operat…
22:50 p6eval ..niecza v5-30-g800459c: OUTPUT«foobar␤»
22:52 sorear ruoso: that's the feature that stands out most so far.
22:52 sorear ruoso: http://github.com/sorear/niecza
22:52 sorear ruoso: targets .net
22:52 sorear (currently)
22:53 ruoso interesting
22:53 * ruoso looking at the github page...
22:56 silug joined #perl6
23:02 slavik1 left #perl6
23:06 gbacon_ left #perl6
23:10 molaf_ joined #perl6
23:14 molaf left #perl6
23:15 slavik1 joined #perl6
23:20 awoodland left #perl6
23:24 noganex_ joined #perl6
23:26 silug left #perl6
23:27 noganex left #perl6
23:36 lestrrat left #perl6
23:37 lestrrat joined #perl6
23:38 icwiener left #perl6
23:45 dalek niecza: 3682a76 | sorear++ | lib/ (4 files):
23:45 dalek niecza: Backend support for Int and Rat literals
23:45 dalek niecza: review: https://github.com/sorear/niecza/commit/3682a76f49
23:45 sorear ruoso: what do you think of it?
23:48 zamolxes left #perl6
23:48 zamolxes joined #perl6
23:57 totom joined #perl6
23:58 totom left #perl6

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

Perl 6 | Reference Documentation | Rakudo