»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg p6eval perl6: ... | irclog: irc.perl6.org/ | UTF-8 is our friend!
Set by sorear on 4 February 2011.
00:06 nub is now known as sudokode
masak 'night, #perl6 00:14
00:30 krunen joined 00:37 spider-mario left, jeffreykegler joined 00:40 colomon joined 00:51 orafu left, sftp left 00:58 orafu joined, sftp joined, BinGOs joined, eiro_ joined, eiro joined, larks joined, sftp left, sftp joined 01:03 orafu left 01:04 orafu joined 01:20 cognominal__ left 01:21 cognominal joined 01:23 jeffreykegler left, Pleiades` left 01:25 Pleiades` joined 01:35 araujo left 01:37 Guest45820 left 01:59 benabik left 02:00 benabik joined 02:31 BinGOs_ joined, BinGOs left, eiro_ left, eiro left 02:32 eiro joined, eiro_ joined 02:38 Psyche^ joined 02:41 Patterner left, Psyche^ is now known as Patterner 02:46 orafu left, OuLouFu joined 02:47 OuLouFu is now known as orafu 03:11 thou left 03:14 localhost left 03:16 localhost joined 03:19 mucker joined 03:21 sftp left 03:22 sftp joined 03:30 skids joined 03:31 Chillance left 03:42 jaldhar joined 03:43 mucker left 03:47 thelazydeveloper left 03:51 topo__ joined 03:55 topo left
moritz \o 04:42
sorear o/ 04:43
04:50 kaare_ joined
japhb o/ 04:52
moritz japhb: do you have any future plans for doc.perl6.org? 04:55
japhb Some ideas, no firm plans. Why do you ask?
moritz just curiousity 04:56
sorear o/ japhb
moritz and maybe to avoid conflicts, though my own ideas are pretty vague at that point
japhb Hullo sorear. :-) 04:57
I'll send a couple of the ideas in a few minutes -- I just got called to deal with something. :-( 04:58
moritz no hurry
05:00 topo joined 05:02 topo__ left
moritz fwiw I plan to work a bit on operators 05:02
05:02 JimmyZ joined
moritz nr: say 42.Int(3, 4) 05:06
p6eval rakudo cb065c: OUTPUT«Too many positional parameters passed; got 3 but expected 1␤ in method Int at src/gen/CORE.setting:2756␤ in block at /tmp/j3iJNk3_z9:1␤␤»
..niecza v19-15-g051783d: OUTPUT«Unhandled exception: Excess arguments to Int.Int, used 1 of 3 positionals␤ at /home/p6eval/niecza/lib/CORE.setting line 0 (Int.Int @ 1) ␤ at /tmp/xGKHv3WWqJ line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3929 (ANON @ 3) ␤ at /home…
moritz nr: say 42.*Int(3, 4) 05:10
p6eval niecza v19-15-g051783d: OUTPUT«===SORRY!===␤␤NYI dottyop form .* at /tmp/gheRBO_sbE line 1 (EOF):␤------> say 42.*Int(3, 4)⏏<EOL>␤␤Unhandled exception: Check failed␤␤ at /home/p6eval/niecza/boot/lib/CORE.setting line 1402 (die @ 5) ␤ at /home/p6eva…
..rakudo cb065c: OUTPUT«Too many positional parameters passed; got 3 but expected 1␤ in method Int at src/gen/CORE.setting:2756␤ in method dispatch:<.*> at src/gen/CORE.setting:878␤ in block at /tmp/iAemIUbWor:1␤␤»
moritz nr: say 42.*foo.WHAT 05:12
p6eval rakudo cb065c: OUTPUT«Parcel()␤»
..niecza v19-15-g051783d: OUTPUT«===SORRY!===␤␤NYI dottyop form .* at /tmp/zBUm0lzRc4 line 1:␤------> say 42.*foo⏏.WHAT␤␤Unhandled exception: Check failed␤␤ at /home/p6eval/niecza/boot/lib/CORE.setting line 1402 (die @ 5) ␤ at /home/p6eval/niecza/src…
05:17 guidj0s joined
moritz nr: my $x; say $x++ 05:19
p6eval rakudo cb065c, niecza v19-15-g051783d: OUTPUT«0␤»
moritz nr: my Str $x; say $x++ 05:20
p6eval rakudo cb065c: OUTPUT«Type check failed in assignment to '$x'; expected 'Str' but got 'Int'␤ in sub postfix:<++> at src/gen/CORE.setting:1358␤ in block at /tmp/IYYEZ4Wi43:1␤␤»
..niecza v19-15-g051783d: OUTPUT«0␤»
dalek c: 2d026f8 | moritz++ | lib/operators.pod:
document some operators
05:23
japhb moritz, I think for me the next doc things will probably be about HTML improvements and readability/usability -- right now it's hard for me to navigate and find my way around -- the very extensive TOC at the top of each page actually makes things worse sometimes because you have to scroll to get to the text; that sort of thing. 05:29
I'm not sure how much of that will be CSS, how much will be Pod::To::HTML, and how much just the generation of the Pod tree to get what we want 05:30
On a vaguely related note, I spoke to a designer at $day_job, and he had some interesting (constructive) things to say about perl6.org. Not being a designer, I'm sure I'm not doing him justice, but here are some comments I remember: 05:33
The strong shadows, bold borders, and wide-radius rounded corners on a flat background give an effect like islands floating in space, 05:34
rather than cohesiveness. Reducing these can make it feel more like sections of a page rather than sections *above* a page. 05:35
sorear I think the single most important problem with perl6.org is the relative lack of content
moritz++ japhb++ writing content for perl6.org 05:36
japhb When using strong colors, the eye doesn't like large areas of flat. Gradients help, but texture (whether abstract or concrete, like a background "scene" is even better.
He also said to be aware of turning "fun for 7 year olds" into "condescending design". 05:37
sorear imho we should try to have the various resources that are linked off perl6.org be stylistically cohesive in some sense
japhb Plus which, the design goal does not fit the functionality: The function (on the front page) is a link farm, the design goal is fun and getting-to-know 05:39
TimToady that last is very perceptive 05:43
05:45 gongyiliao joined
sorear I don't like how link-farmy it is 05:45
japhb sorear, I agree with the stylistic cohesiveness desire. Clearly there was an attempt to do that, whether or not it ended up perfect. 05:46
sorear, I agree.
I was kindof thinking that maybe we need to have the front and center be some kind of "this is what the language looks like" piece. A small window of rotating code samples, or even a screencast or the like. 05:48
It would be even nicer to be able to go to a 'try' site (I played with Try Ruby while I was thinking about this; it's pretty slick) 05:49
05:51 cognominal left
japhb Oh, and to the comment someone had posted saying that perl6.org could not be seen as professional and competent with Camelia on the front page, our designer pointed out that Github has done an excellent job of achieving a very professional and competent web/corporate image centered on the playful and fun Octocat. 06:01
JimmyZ \o/, new modern fashion perl6.org?
06:04 brrt joined
sorear o/ JimmyZ 06:05
japhb: hmm, I'm almost inspired to spend some time working on our Javascript Perl 6 implementation technology
try.rakudo's problem was the backend subsystem that broke every other day 06:06
japhb sorear, Oh please oh please oh please
;-)
sorear niecza was designed from the start to be silverlight-friendly
unfortunately Microsoft discontinued that platform and Mono followed quickly 06:07
which leaves... javascript, javascript again^W^WActionScript(tm), Java, NaCl 06:08
mono allegedly has NaCl support but I've never heard of anyone using it
JimmyZ \o/ V8 engine 06:09
sorear V8 is pretty cool but Javascript gives a rather large tail start by its design 06:10
JimmyZ heard that the js designer said that he hate js. 06:11
sorear fwiw, $dayjob just had me learn Javascript last month
japhb sorear, sure, but for the kinds of things a "try" widget needs to do, it could be dog slow as long as it was small enough to fit in the (rather tight) browser per-script memory limits and functional enough to show the flavor of the language -- most users would be trying such simple stuff, the slowness issue would be mostly a non-issue.
sorear, well now you're qualified. ;-) 06:12
sorear browser memory limits are not as small as I once imagined
$dayjob_application has about 1.5MB of client-side code and it works fine
japhb I've run into them rather spectacularly while doing visualization of largish data sets. 06:13
sorear I think we have different definitions of largish
japhb It may be that code and heap space have separate limits; mine would have been heap or more specifically deserialized JSON space 06:14
sorear when P6-on-JS was first broached here, I expected problems to start somewhere around 64k
japhb Oh. I get surprised whenever something locks down a single digit number of MB.
"Less than 16 MB? WHY?"
dalek d: c40482d | larry++ | / (4 files):
push +% cheat out of parser into codegen

translate STD_P5 to use +% instead of ** also, fix missing initializer on signature declarator that snuck into boot
06:16
sorear interestingly, chrome on my machine will happily let you allocate a 1GB typed array 06:17
(I was trying to implement a scrypt variation in js last week)
japhb The first thing I think of when I hear that is "Threaded interpreter with functionally unlimited space!"
Well, in any case, it sounds like the limits aren't tight enough to keep you from making it happen, so please do. I think it would be a very, very good thing. 06:19
sorear did some more experimentation, can make a javascript Array with 64Mi initialized elements no problem 06:20
japhb OK, looks like I'm headed AFK for the night. 06:21
sorear (naturally, it's two orders of magnitude slower than the TypedArray version, which could fill 1GB in a couple seconds, this one is going around 4MB/s)
japhb eww.
G'night all. & 06:22
sorear I am, however, getting 'aw snap's left and right during this testing
'night japhb
TimToady o/
TimToady has got the +% pushed down about as far as he can without doing the requisite rewrite of REPSEP* to support other quantifiers and %% 06:23
getting to be too many degrees of freedom to just keep writing more PLUS[gfr] routines and such 06:26
06:26 topo left 06:27 gongyiliao left, guidj0s left 06:29 thou joined 06:32 alvis joined 06:35 raiph joined 06:37 tokuhiro_ joined 06:41 thou left 06:42 kst joined 06:46 brrt left
sorear phenny: tell japhb I screwed up those microbenchmarks. Doing it less improperly, untyped arrays are only twice as slow for integer data 06:48
phenny sorear: I'll pass that on when japhb is around.
06:52 topo joined 06:55 jeffreykegler joined 06:57 jeffreykegler left 06:58 araujo joined 07:08 raiph left
dalek d: c3e944a | larry++ | STD.pm6:
change from token to rule made some ws buglets
07:09
TimToady should not stay up till 2am four nights in a row
zzz &
07:21 JimmyZ_ joined 07:22 JimmyZ left, JimmyZ_ is now known as JimmyZ 07:29 alvis` joined 07:31 alvis left 07:32 SamuraiJack joined 07:45 BinGOs_ is now known as BinGOs, BinGOs left, BinGOs joined 07:59 fgomez joined 08:11 stepnem joined 08:14 fgomez left 08:16 fgomez joined 08:19 leont joined 09:12 sergot joined
sergot hi o/ 09:12
moritz sorear, japhb: the reason for perl6.org being a link collection is that that's much easier to maintain than having more content 09:17
when I started it, all other resources on Perl 6 were somewhat out of date, so I searched for some form which would be easier to prevent from bitrot 09:19
so if we depart from that model, it should be done very slowly, so that we can see if we manage to keep it all up to date 09:20
masak good morning, #perl6 09:25
moritz good am, ma<tab> 09:26
masak :<tab>
moritz finally remembered the old domain name for the content that is now perl6.org 09:30
it was perl6-projects.org
seems I still hold that domain
moritz should let it expire 09:31
unless somebody else wants to do anything productive with it
tadzik hello #perl6 09:34
sorear moritz: if we have stylistic consistency, it won't feel like a collection of links
it'll still be hypertext of course :D
o/ masak !
moritz sorear: so, what would be a way to achieve stylistic consistency? some kind of templating style that all Perl 6 related web pages can use (and vary to some degree)? 09:37
\o tadzik
nr: say Any ** 2 09:38
p6eval rakudo cb065c: OUTPUT«use of uninitialized value of type Any in numeric context in block at /tmp/_xvFWTCjw1:1␤␤0␤»
..niecza v19-15-g051783d: OUTPUT«Use of uninitialized value in numeric context␤ at /home/p6eval/niecza/lib/CORE.setting line 1272 (warn @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 296 (Any.Numeric @ 8) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /tmp/d6n7b98yP_ line 1 (mainli…
moritz nr: say 2 ** Any
p6eval rakudo cb065c: OUTPUT«use of uninitialized value of type Any in numeric context in block at /tmp/e8r8WsVDNq:1␤␤1␤»
..niecza v19-15-g051783d: OUTPUT«Use of uninitialized value in numeric context␤ at /home/p6eval/niecza/lib/CORE.setting line 1272 (warn @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 296 (Any.Numeric @ 8) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /tmp/xOCEVHN8BN line 1 (mainli…
09:38 MayDaniel joined 09:43 fgomez left
dalek c: 508642f | moritz++ | lib/operators.pod:
[operators] infix **, prefix ? and !
09:45
09:45 fgomez joined 09:46 fgomez left, fgomez joined
sorear moritz: I was thinking more in terms of "informal agreement" 09:46
sleep& 09:47
09:51 cognominal joined
moritz fwiw I wouldn't object to somebody moving my 5-to-6 series to perl6.org 09:52
but currently I'm not motivated to do it, I can spend my 6y tuits better in other ways 09:53
JimmyZ wonders who owns perl7.org
09:55 MayDaniel left 09:57 icwiener joined 10:04 Gothmog__ joined, topo__ joined, sivoais_ joined
moritz Jeff Prothero 10:04
masak "This page last updated 14 March 1998" -- and looks it, too. :) 10:05
JimmyZ Created On:13-Aug-2005 10:07
10:08 ivan``_ joined 10:09 topo left, sivoais left, ivan`` left, Gothmog__ is now known as Gothmog_ 10:10 topo__ is now known as topo 10:21 JimmyZ left 10:25 thelazydeveloper joined 10:26 JimmyZ joined 10:39 mucker joined
moritz nr: my %h = a => 1, b => 2; say (|%h).perl 10:51
p6eval rakudo cb065c: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&prefix:<|>' called (line 1)␤»
..niecza v19-15-g051783d: OUTPUT«\(|{"a" => 1, "b" => 2})␤»
moritz n: my %h = a => 1, b => 2; say (||%h).perl 10:54
p6eval niecza v19-15-g051783d: OUTPUT«Unhandled exception: Slicels NYI␤ at /home/p6eval/niecza/lib/CORE.setting line 1414 (die @ 5) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3312 (prefix:<||> @ 4) ␤ at /tmp/mHphPZomyT line 1 (mainline @ 4) ␤ at /home/p6eval/niecza/lib/CORE.setting lin…
jnthn o/ 10:56
10:57 birdwindupbird joined
moritz \o jnthn 10:57
jnthn: did you see the thing about codegen that uses vtables in the backlog (or the ticket)? 10:58
10:59 icwiener left
jnthn moritz: yes 10:59
moritz nr: say ?^ (1|2)
p6eval niecza v19-15-g051783d: OUTPUT«any(Bool::False, Bool::False)␤»
..rakudo cb065c: OUTPUT«False␤»
moritz would argue that rakudo has that one right 11:00
S03:714 11:02
Constructs a range of C<0 ..^ +$limit> or locates a metaclass as a shortcut
for C<$limit.HOW>. See L</Range and RangeIter semantics>.
wtf?
does the confuse prefix ^ with postfix ^ ?
dalek ecs: 6aa4943 | moritz++ | S03-operators.pod:
[S03] remove confused fossil about prefix:<^>
11:04
moritz version 256 \o/
jnthn moritz: "seemed cute at the time" :) 11:10
11:16 brrt joined
dalek c: d2acc93 | moritz++ | lib/operators.pod:
[operators] add several prefix operators
11:16
colomon moritz++ 11:17
11:18 spider-mario joined
moritz nr: say ^5 11:18
p6eval rakudo cb065c, niecza v19-15-g051783d: OUTPUT«0..^5␤»
moritz colomon: is there a name for operations (like sqrt, log, sin etc.) that generally return an irrational number? 11:23
colomon yes, give my brain a moment.... 11:25
"Transcendental function" 11:26
though sqrt may not be one...
yes, is not. 11:27
shachaf sqrt is algebraic.
colomon so maybe that's not the precise word you're looking for
shachaf Also, that doesn't mean "generally", it means "ever".
Well, it doesn't mean that precisely either.
colomon it doesn't mean that at all, most (all?) trig functions can return rational numbers 11:29
leont Well, all of them can return 0, I think 11:31
11:45 kaare_ left
moritz nr: say 10 %% any(2, 3) 11:52
p6eval rakudo cb065c: OUTPUT«any(True, False)␤» 11:53
..niecza v19-15-g051783d: OUTPUT«any(Bool::True, Bool::False)␤»
dalek p: 23731de | jnthn++ | src/QAST/Compiler.nqp:
Register type inference fix.
12:08
p: 83e2a14 | jnthn++ | src/QAST/Operations.nqp:
Add some missing op variants.
kudo/use_unbox: cb8904d | jnthn++ | src/Perl6/Ops.pm:
Switch set for unbox_i.
12:09
kudo/use_unbox: dbeaeaa | jnthn++ | src/core/ (2 files):
Various tweaks to avoid trying to unbox things that aren't 6model objects.
jnthn moritz: In theory this helps...in practice "use v6" now hangs :/ 12:10
12:12 JimmyZ left 12:14 whiteknight joined 12:15 whiteknight is now known as Guest44047 12:16 JimmyZ joined 12:22 xinming joined 12:24 xinming_ left
dalek kudo/use_unbox: 2219b21 | jnthn++ | src/Perl6/Ops.pm:
Make p6bool a bit smarter.
12:41
kudo/use_unbox: e84c9a8 | jnthn++ | src/core/MapIter.pm:
Fix something we got away with but probably should not have.
kudo/use_unbox: 3695086 | jnthn++ | src/core/Mu.pm:
Fix mixins.
12:47
12:47 gongyiliao joined 12:48 brrt left 13:00 MayDaniel joined
moritz jnthn++ 13:06
dalek c: a075be8 | moritz++ | lib/Numeric.pod:
[Numeric] explain "widest type" rule
c: 062e3be | moritz++ | lib/operators.pod:
[operators] add some multiplicative precedence operators
kudo/use_unbox: ad03484 | jnthn++ | src/core/List.pm:
Add missing coercions.
13:10
kudo/use_unbox: effbe85 | jnthn++ | src/core/Temporal.pm:
Fix for new use of unbox_i.
masak ("link farm" vs "fun and getting-to-know" mismatch detection)++ 13:12
moritz I agree with the analysis, but disagree with the word "link farm" :-) 13:13
masak it's a bit dismissing, agreed.
moritz it's not like we grow links there, or aggregate them mindlessly
masak substitude your own positive term. I really mean that term. 13:14
moritz s/farm/collection/ and I'm happy :-)
so, I see two approaches
masak fwiw, "a small window of rotating code samples" is what I always really liked about Ruby's home page.
jnthn
.oO( little animal collection )
moritz 1) make the page more fun
or
2) make the design a bit less "fun" 13:15
masak: deal: you provide a few code samples, and I find a way to integrate them into the site
jnthn moritz: use_unbox should eliminate all set op usages for the integer case. Smoke at your leisure. :)
moritz jnthn: recompilation is already running :-) 13:16
masak moritz: I'll start building a gist with attractive code samples. I'd also like to extend the challenge to others to help with that. but I'll make three or four that we can start with. 13:17
moritz ++masak 13:18
masak by the way, "small" is 10 lines or less, and not so wide either. :)
moritz masak: I guess others will chime in once they see them on the front page
masak yeah.
let's do this.
masak writes the gist
moritz using examples from rosettacode is also allowed :-) 13:19
masak ooh
dalek c: ce570d0 | moritz++ | lib/operators.pod:
[operators] additive and replication precedence
13:20
jnthn moritz: oh, I didn't bump NQP_REVISION in that branch... 13:21
moritz jnthn: I used newest nqp 13:22
jnthn: I'm used to branches requiring newest nqp, even if they don't bump the revision
13:24 fgomez left
jnthn moritz: OK, great :) 13:25
masak one: gist.github.com/3324433
jnthn is spectesting pulling in of the STD fix for the repeat bug
moritz repeat bug?
jnthn RT #114432 13:26
dalek c: 5951b2a | moritz++ | lib/operators.pod:
[operators] concatenation, junctive operators
13:27
moritz jnthn: all spectests pass in the use_unbox branch
jnthn moritz: Nice 13:28
moritz doc.perl6.org/language/operators # far from complete, but much more than before :-)
jnthn moritz++ 13:29
Hmm, the anchor tags don't work out on Firefox.
moritz I know :(
iirc it wants some weird handling of spaces 13:30
dalek kudo/nom: 39b18fa | jnthn++ | src/Perl6/Grammar.pm:
Pull in C<repeat> parsing fix from STD.
kudo/nom: cb8904d | jnthn++ | src/Perl6/Ops.pm:
Switch set for unbox_i.
13:32
rakudo/nom: dbeaeaa | jnthn++ | src/core/ (2 files):
rakudo/nom: Various tweaks to avoid trying to unbox things that aren't 6model objects.
moritz jnthn++ 13:33
13:33 dalek joined, ChanServ sets mode: +v dalek
dalek c: d1e3098 | moritz++ | lib/operators.pod:
[operators] add "is assoc" trait for operators that are not left-associative
13:36
masak two: gist.github.com/3324433
moritz my $age-in-years = floor $age-in-days / 365; # that discounts leap years 13:38
masak aye.
which made me think it might not be such a good example after all :/
though I could just subtract the years and then compare month/day. 13:39
maybe that's better
moritz my $age-in-years = Date.today.truncated-to(:year) - $birth-date.truncated-to(:year)
hm
easier to do Date.today.year - $birth-date.year
and then fix up
masak yeah. 13:40
moritz based on month and year
masak changes to that
moritz++ # feedback
r: say Date.today.day-of-year 13:41
p6eval rakudo cb065c: OUTPUT«224␤»
masak \o/
moritz oh 13:42
that makes the code easier than to compare month and day separately
masak which is sort of the whole point of a DateTime API... :)
fixed: gist.github.com/3324433 13:43
moritz masak++
I'd even use a statement-modifying 'if' here
but I know you disagree :-)
masak would you write it as `my $age = $today.year - $birth-date.year - ($today.day-of-year > $birth-date.day-of-year);`? :) 13:44
that works too.
moritz on a completely different subject, what's a good use case for 'temp' in Perl 6? 13:45
masak er, '<'
moritz I mean, one where dynamic vars aren't better
masak: no, I just meant $age-- if $birth-date.day-of-year < $today.day-of-year;
masak yes, I know you meant that.
moritz and no, I wouldn't write it with a - in one statement 13:46
masak to me that gives too much head weight to $age--. but I know you know I think that. :)
moritz that exceeds the number of the number of concepts I can easily reconcile a statement
jnthn moritz: Situations where you care to know what the original value was. 13:47
(That is, preserve it.)
dalek c: 19de2cf | moritz++ | lib/operators.pod:
[operators] let and temp
13:49
moritz reviews of that commit are very welcome 13:50
I've noticed I've never used either of those, and don't know very well how to describe their effect
jnthn We ain't had them in Rakudo all that long. 13:51
moritz I know
hm, maybe indentation and recursion thingy 13:52
jnthn hasn't found much chance to use them yet
dalek kudo/nom: 3a24210 | jnthn++ | src/Perl6/ (2 files):
Fix double-quoted strings used in regexes; they now interpolate their contents properly (and are parsed with the right language).
masak yes, indentation is the prototypical example for dynamical/process variables for me.
though nowadays I would probably do that with an inner sub, actually. 13:53
jnthn I'd use .indent :P
masak hah!
moritz my $indentation = 0; sub recurse($a) { ++ temp $indentation; say ' ' x $indentation, $a.Str; recurse($_) for $a.children }
something like that
jnthn Anyone remember if we ever issued a deprecation warning for rt.perl.org/rt3/Public/Bug/Display...?id=104026 ? 13:54
moritz I don't think we did 13:55
but based on the feedback we have received so far (which is basically none), I'm inclined to just change it immediately, and put the change notice in the release announcement 13:56
dalek kudo/nom: ea5f78c | jnthn++ | docs/ROADMAP:
Remvoe a completed ROADMAP item.
13:57
jnthn OK, maybe I'll look at it this weekend then.
moritz though if you have other stuff to hack on, we could just deprecate it now and change it after 2012.08 13:58
jnthn I've *always* got other stuff to hack on :)
I just noticed the ticket in the queue as an LHF.
masak three: gist.github.com/3324433 13:59
jnthn (More generally, I'm trying to do my share of fixing RTs :))
moritz r: gist.github.com/3324433 14:04
p6eval rakudo cb065c: OUTPUT«When were you born (yyyy-mm-dd)?Invalid Date string 'Land der Berge, Land am Strome,'; use yyyy-mm-dd instead␤ in method new at src/gen/CORE.setting:10887␤ in block at /tmp/wdxjm0RMj5:2␤␤»
14:04 Chillance joined
masak yes, 'Land der Berge, Land am Strome,' is not an ISO date. 14:05
jnthn "you don't say?" :) 14:07
diakopter rn: say 0 ^ ^ 5 14:08
p6eval rakudo cb065c, niecza v19-15-g051783d: OUTPUT«one(0, 0..^5)␤»
diakopter rn: say 0 ^^ 5
p6eval rakudo cb065c: OUTPUT«5␤»
..niecza v19-15-g051783d: OUTPUT«Unhandled exception: Unable to resolve method postcircumfix:<( )> in type Any␤ at /tmp/wo2SGLKpyf line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3929 (ANON @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3930 (module-CORE @ 564…
diakopter ^^ who's right 14:09
pugs: say 0 ^^ 5
p6eval pugs: OUTPUT«5␤»
colomon diakopter: niecza is certainly wrong... 14:11
moritz nr: my $a = [1, 2, 3]; $a.=[0]; say $a 14:14
p6eval rakudo cb065c, niecza v19-15-g051783d: OUTPUT«1␤»
jnthn '/win 14 14:16
oops
diakopter '/win 44823
jnthn
.oO( If you have that many, it's a /fail )
14:18
14:20 kaare_ joined
masak four: gist.github.com/3324433 14:20
I'll leave it at that for now.
more suggestions from others are welcome/appreciated, of course. 14:21
14:21 sivoais_ left, sivoais joined
diakopter rn: say !!2+|??!!1 14:22
p6eval niecza v19-15-g051783d: OUTPUT«===SORRY!===␤␤Expecting a term, but found either infix ?? or redundant prefix ?␤ (to suppress this message, please use space between ? ?) at /tmp/HojHgySiv0 line 1:␤------> say !!2+|??⏏!!1␤␤Parse failed␤␤»…
..rakudo ea5f78: OUTPUT«1␤»
diakopter rn: say 1!|1 14:25
p6eval niecza v19-15-g051783d: OUTPUT«False␤»
..rakudo ea5f78: OUTPUT«===SORRY!===␤Cannot negate | because it is not iffy enough at line 2, near "1"␤»
diakopter rn: say 1!+1
p6eval rakudo ea5f78: OUTPUT«===SORRY!===␤Cannot negate + because it is not iffy enough at line 2, near "1"␤»
..niecza v19-15-g051783d: OUTPUT«===SORRY!===␤␤Cannot negate + because additive operators are not iffy enough at /tmp/atfj3xrErV line 1:␤------> say 1!+⏏1␤␤Parse failed␤␤»
diakopter masak: is the !| a rakudobug or just NYI
14:26 brrt joined
diakopter (or nieczabug) 14:26
dalek kudo/nom: 7ec7a2b | jnthn++ | src/Perl6/ModuleLoader.pm:
Explicitly disallow pre-compilation of a module unless its dependencies have been pre-compiled already. Instead, fail with an informative error message. Before, we went ahead with the pre-compilation, but the resulting output would not work.
14:26 thou joined
masak five: gist.github.com/3324433 14:28
diakopter: I have no idea. what did you expect it to emit? 14:29
diakopter heh
diakopter shrugs wide-eyed frowning eyebrows raised
r: [~~] n for m,m, 14:31
p6eval rakudo ea5f78: OUTPUT«===SORRY!===␤Confused␤at /tmp/jk8PSf59WD:1␤»
diakopter oh nm
n: [!~~] 5,6 for m,m, 14:33
p6eval niecza v19-15-g051783d: OUTPUT«Unhandled exception: Unable to resolve method arity in type SmartMatch␤ at /home/p6eval/niecza/src/Operator.pm6 line 203 (MetaNot.arity @ 5) ␤ at /home/p6eval/niecza/src/Operator.pm6 line 44 (Operator.wrap_in_function @ 5) ␤ at /home/p6eval/niecza/src/O…
14:35 scottdware joined
spider-mario is .chrs just ».chr.join? 14:35
and .ords ↔ .split('')».ord? 14:36
jnthn afk for a bit 14:37
spider-mario p6: say (116, 101, 115, 116).chrs.perl, " and ", (116, 101, 115, 116)».chr.join.perl;
p6eval rakudo ea5f78: OUTPUT«No such method 'chrs' for invocant of type 'Parcel'␤ in block at /tmp/Q0wFLrDKXy:1␤␤»
..niecza v19-15-g051783d: OUTPUT«"test" and "test"␤»
spider-mario p6: say (116, 101, 115, 116).list.chrs.perl, " and ", (116, 101, 115, 116)».chr.join.perl;
p6eval rakudo ea5f78, niecza v19-15-g051783d: OUTPUT«"test" and "test"␤»
spider-mario those methods don’t seem very useful to me 14:38
do they exist for performance reasons?
JimmyZ it will be useful for others, me thinks 14:39
diakopter rn: say [&] 7 # masak <-- 14:42
p6eval rakudo ea5f78: OUTPUT«all(7)␤»
..niecza v19-15-g051783d: OUTPUT«all(7, )␤»
masak what am I looking at?
diakopter I dunno. I don't know what niecza means by ,
masak neither do it. 14:43
moritz one-element parcel
masak rn: say (7, ) 14:45
p6eval rakudo ea5f78, niecza v19-15-g051783d: OUTPUT«7␤»
masak rn: say (7, ).perl
p6eval niecza v19-15-g051783d: OUTPUT«(7, )␤»
..rakudo ea5f78: OUTPUT«(7,)␤»
14:46 tokuhiro_ left
diakopter rn: say <4>.WHAT 14:46
p6eval niecza v19-15-g051783d: OUTPUT«Int()␤»
..rakudo ea5f78: OUTPUT«Str()␤»
14:47 tokuhiro_ joined, ChoHag joined
ChoHag How can I do what foo(@bar) would have done in perl 5? 14:47
diakopter 's warnocked detector has an extremely short timer 14:48
ChoHag ie. pass a list by value.
Or rather, values.
diakopter foo(|@bar) I think.
rn: my @bar = 3,4,5; say(|@bar); say(@bar) 14:49
p6eval rakudo ea5f78, niecza v19-15-g051783d: OUTPUT«345␤3 4 5␤»
14:50 nebuchadnezzar left
spider-mario I’ve just seen in the logs that .ords/.chrs have already been talked about, sorry for bringing the topic back. :> 14:50
14:50 gongyiliao left 14:51 tokuhiro_ left
masak yes, foo(|@bar) 14:51
14:51 gongyiliao joined
JimmyZ didn't see old ords/chrs topic 14:52
colomon didn't see new ords/chrs topic
spider-mario irclog.perlgeek.de/perl6/2012-07-04#i_5783727 14:53
and today: irclog.perlgeek.de/perl6/2012-08-11#i_5891780 14:54
diakopter rn: say (*&*).WHAT
p6eval rakudo ea5f78: OUTPUT«Junction()␤»
..niecza v19-15-g051783d: OUTPUT«{ ... }␤»
14:54 thou left
diakopter no clue on that one 14:54
spider-mario (sorry, can’t help it) self-reference: irclog.perlgeek.de/perl6/2012-08-11#i_5891839 14:55
14:55 nebuchadnezzar joined
diakopter niecza says it's a Block; rakudo says it's a Junction 14:55
masak unless the junction operators are special somehow, I'd think it'd be a WhateverCode. 14:56
spider-mario rakudo must think it’s all(*, *), when niecza understands it ± as -> $a, $b {$a & $b}
diakopter rn: say (*&*)(7,8)
p6eval rakudo ea5f78: OUTPUT«No such method 'postcircumfix:<( )>' for invocant of type 'Whatever'␤ in <anon> at src/gen/BOOTSTRAP.pm:824␤ in any <anon> at src/gen/BOOTSTRAP.pm:820␤ in method postcircumfix:<( )> at src/gen/CORE.setting:1809␤ in <anon> at src/gen/BOOTSTRAP.pm:824␤ in any <a…
..niecza v19-15-g051783d: OUTPUT«all(7, 8)␤»
diakopter spider-mario: yeah
masak: oops yeah I meant WhateverSomething 14:57
er, s/meant/failed to remember/
colomon rn: say (*&*)(7)
p6eval niecza v19-15-g051783d: OUTPUT«Unhandled exception: No value for parameter 'anon_1' in 'ANON'␤ at /tmp/9jDi0wTxuA line 0 (ANON @ 1) ␤ at /tmp/9jDi0wTxuA line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 3929 (ANON @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting lin…
..rakudo ea5f78: OUTPUT«No such method 'postcircumfix:<( )>' for invocant of type 'Whatever'␤ in <anon> at src/gen/BOOTSTRAP.pm:824␤ in any <anon> at src/gen/BOOTSTRAP.pm:820␤ in method postcircumfix:<( )> at src/gen/CORE.setting:1809␤ in <anon> at src/gen/BOOTSTRAP.pm:824␤ in any <a…
diakopter it might be more readable if the results from rnp: were always in the same order 14:58
(for me) :D
colomon looks like niecza didn't properly update its version number for the v20 release, too. 14:59
diakopter I guess it could be a TimToady question
( what (*&*) should be ) 15:00
colomon seems to me there's a list of what operators are supposed to get whatevercoded somewhere in the spec... I know I've had to answer other versions of that question before. 15:01
S02, search on whatevercode 15:02
looks like a rakudobug to me.
15:02 JimmyZ left
diakopter rn: say (* ?? * !! *).WHAT 15:03
p6eval rakudo ea5f78, niecza v19-15-g051783d: OUTPUT«Whatever()␤»
colomon either that or it's a specbug....
15:06 scottdware left
diakopter rn: say 1 <<<>> 2 15:06
p6eval rakudo ea5f78, niecza v19-15-g051783d: OUTPUT«True␤»
diakopter rn: say 2 <<<<<>>>> 1 15:07
p6eval rakudo ea5f78: OUTPUT«Nominal type check failed for parameter '$op'; expected Any but got Mu instead␤ in sub METAOP_HYPER at src/gen/CORE.setting:11878␤ in block at /tmp/4N6zz_BLkb:1␤␤»
..niecza v19-15-g051783d: OUTPUT«False␤»
TimToady I don't see how it's useful for * & * to mean anything other than a WhateverCode 15:08
diakopter the * & could cancel out ... 15:09
TimToady so I think niecza has it right 15:10
diakopter who's right for say 2 <<<<<>>>> 1
spider-mario it’s so much easier to read with « and » 15:12
TimToady niecza, almost certainly, because it uses the STD parser(ish)
spider-mario n: say 2 ««<»» 1
p6eval niecza v19-15-g051783d: OUTPUT«False␤»
diakopter oh :) 15:13
spider-mario: thx
TimToady spider-mario: sure, and I'd always write it that way, but some people are Uniphobes
diakopter rn: $_="n"; say s/n/n/
p6eval niecza v19-15-g051783d: OUTPUT«True␤»
..rakudo 7ec7a2: OUTPUT«n␤»
diakopter or at least if the p6eval outputs printed in the specified order 15:15
r: n;n # this doesn't need to duplicate the line number in the error 15:17
p6eval rakudo 7ec7a2: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&n' called (lines 1, 1)␤»
diakopter well, I guess it could be helpful
colomon rn: $_="n"; say s/n/n/; say $_ 15:18
p6eval rakudo 7ec7a2: OUTPUT«n␤n␤»
..niecza v19-15-g051783d: OUTPUT«True␤n␤»
diakopter rn: $_="n"; say s/n/n/.WHAT 15:19
p6eval niecza v19-15-g051783d: OUTPUT«Bool()␤»
..rakudo 7ec7a2: OUTPUT«Str()␤»
diakopter rn: say "{{}.WHAT}" 15:20
p6eval niecza v19-15-g051783d: OUTPUT«Unhandled exception: Cannot unbox a VarHash from an object of repr P6opaque␤ at /home/p6eval/niecza/lib/CORE.setting line 1854 (Hash.list @ 4) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /home/p6eval/niecza/lib/CORE.setting line 1858 (Hash.Str @ 4) ␤ …
..rakudo 7ec7a2: OUTPUT«use of uninitialized value of type Hash in string context in block at /tmp/dLY0htK0_U:1␤␤␤»
TimToady rn: $_ = 'n'; say so s/n/0/
p6eval rakudo 7ec7a2: OUTPUT«False␤»
..niecza v19-15-g051783d: OUTPUT«True␤»
diakopter jnthn: Cannot unbox a VarHash from an object of repr P6opaque?
masak today's autopun: twitter.com/mjdominus/status/234307472612024320 15:22
diakopter rakudo : how is the Hash uninitialized there? 15:23
jnthn: oops, that error was niecza's :) 15:24
anyone know what is an uninitialized hash? 15:25
rn: say {}.WHAT 15:26
p6eval rakudo 7ec7a2, niecza v19-15-g051783d: OUTPUT«Hash()␤»
TimToady masak: not sure that's an autopun, though it may refer to something that resembles one
diakopter rn: say "{ {}.WHAT }"
p6eval niecza v19-15-g051783d: OUTPUT«Unhandled exception: Cannot unbox a VarHash from an object of repr P6opaque␤ at /home/p6eval/niecza/lib/CORE.setting line 1854 (Hash.list @ 4) ␤ at <unknown> line 0 (ExitRunloop @ 0) ␤ at /home/p6eval/niecza/lib/CORE.setting line 1858 (Hash.Str @ 4) ␤ …
..rakudo 7ec7a2: OUTPUT«use of uninitialized value of type Hash in string context in block at /tmp/vu72evpVVJ:1␤␤␤»
15:26 brrt left
masak TimToady: hm, yes. I was also a little unsure. 15:28
diakopter rn: say "{ [].WHAT }" 15:34
p6eval rakudo 7ec7a2: OUTPUT«use of uninitialized value of type Array in string context in block at /tmp/Wg0oF8UrMT:1␤␤␤»
..niecza v19-15-g051783d: OUTPUT«␤»
diakopter rn: say sub { 5 }() 15:39
p6eval niecza v19-15-g051783d: OUTPUT«5␤»
..rakudo 7ec7a2: OUTPUT«===SORRY!===␤Confused␤at /tmp/CUV6nwoMFP:1␤»
masak std: say sub { 5 }() 15:54
p6eval std c3e944a: OUTPUT«ok 00:00 41m␤»
masak submits rakudobug
diakopter++
p6eval: help 16:04
p6eval masak: Usage: <(star|pugs|nqp|std|niecza|rakudo|b|toqast|nom|npr|n|r|perl6|prn|rn|p|rnp|nrp|pnr|rpn|t|p6|nr)(?^::\s) $perl6_program>
16:10 crab2313 joined 16:12 raiph joined 16:15 brrt joined 16:18 brrt left 16:27 birdwindupbird left 16:33 jeffreykegler joined
felher jnthn++ # 3a24210b33431720ac89187add77461e7d5501eb was just what i wanted to use a a few hours ago :) 16:33
16:51 raiph left
masak rn: foo($x) { my $x }; say "alive" 16:55
p6eval rakudo 7ec7a2: OUTPUT«===SORRY!===␤Variable $x is not declared␤at /tmp/Y5BMq9m5Zy:1␤»
..niecza v19-15-g051783d: OUTPUT«===SORRY!===␤␤Variable $x is not predeclared at /tmp/SvHtl4jDaG line 1:␤------> foo(⏏$x) { my $x }; say "alive"␤␤Unexpected block in infix position (two terms in a row, or previous statement missing semicolon?) at /tmp/…
masak rn: sub foo($x) { my $x }; say "alive" 16:56
p6eval niecza v19-15-g051783d: OUTPUT«Potential difficulties:␤ Useless redeclaration of variable $x (see line 1) at /tmp/daxC0D1QLE line 1:␤------> sub foo($x) { my $x ⏏}; say "alive"␤ $x is declared but not used at /tmp/daxC0D1QLE line 1:␤------> sub foo(⏏$…
..rakudo 7ec7a2: OUTPUT«===SORRY!===␤Redeclaration of symbol $x␤at /tmp/CvGu_m6_2z:1␤»
16:58 brrt joined
dalek c: 928d718 | moritz++ | htmlify.pl:
[htmlify] process lib/operators.pod, write disambiguation files for it
17:05
c: 1a5fbcb | moritz++ | htmlify.pl:
make timestamps the same on every file
ChoHag Does perl6 automatically give me an incrementing counter in map blocks?
ISTR reading that somewhere.
moritz no 17:06
but you can easily do @vaues.kv.map( -> $index, $_ { say "values with index $index is $_ } )
ChoHag Is there any shortcut way of specifiying (in perl 5 syntax) %has = map ( $counter++ => $_ } @foo? 17:07
masak r: my @foo = <a b c>; my %hash = map { state $counter++ => $_ }, @foo; say %hash.perl
moritz my %hash = ^* Z=> @foo
p6eval rakudo 7ec7a2: OUTPUT«===SORRY!===␤Preceding context expects a term, but found infix + instead␤at /tmp/aSfkl4UmNV:1␤»
masak 'infix +'? 17:08
moritz r: my %h = ^* Z <a b c>; say %h.perl
p6eval rakudo 7ec7a2: OUTPUT«Cannot call 'Numeric'; none of these signatures match:␤:(Mu:U \$v, Mu *%_)␤␤ in method Numeric at src/gen/CORE.setting:697␤ in block at /tmp/sPsvxWG1tf:1␤␤»
moritz r: my %h = 0..* Z <a b c>; say %h.perl
p6eval rakudo 7ec7a2: OUTPUT«("0" => "a", "1" => "b", "2" => "c").hash␤»
moritz ChoHag: are you happy with that? :-)
masak r: r: my %h = ^Inf Z <a b c>; say %h.perl 17:09
p6eval rakudo 7ec7a2: OUTPUT«===SORRY!===␤Confused␤at /tmp/xfyAT3eeOq:1␤»
masak r: my %h = ^Inf Z <a b c>; say %h.perl
p6eval rakudo 7ec7a2: OUTPUT«("0" => "a", "1" => "b", "2" => "c").hash␤»
masak arguably, ^* should work, too.
moritz probably easy to fix
masak r: my %h = <a b c>.kv; say %h.perl
p6eval rakudo 7ec7a2: OUTPUT«("0" => "a", "1" => "b", "2" => "c").hash␤»
masak \o/
moritz n: say (^*).perl
p6eval niecza v19-15-g051783d: OUTPUT«{ ... }␤»
moritz r: say (^*).perl
p6eval rakudo 7ec7a2: OUTPUT«Cannot call 'Numeric'; none of these signatures match:␤:(Mu:U \$v, Mu *%_)␤␤ in method Numeric at src/gen/CORE.setting:697␤ in block at /tmp/E0b49OGyff:1␤␤»
moritz hm, niecza Whatever-curries it
TimToady rn: my %hash = <a b c>.pairs; say %h.perl 17:10
p6eval niecza v19-15-g051783d: OUTPUT«===SORRY!===␤␤Variable %h is not predeclared at /tmp/ZHhBiAwkyM line 1:␤------> my %hash = <a b c>.pairs; say ⏏%h.perl␤␤Potential difficulties:␤ %hash is declared but not used at /tmp/ZHhBiAwkyM line 1:␤------> my…
..rakudo 7ec7a2: OUTPUT«===SORRY!===␤Variable %h is not declared␤at /tmp/FznqJPXJDR:1␤»
TimToady rn: my %hash = <a b c>.pairs; say %hash.perl
p6eval niecza v19-15-g051783d: OUTPUT«{"0" => "a", "1" => "b", "2" => "c"}.hash␤»
..rakudo 7ec7a2: OUTPUT«("0" => "a", "1" => "b", "2" => "c").hash␤»
moritz oh, even nicer :-)
geekosaur have to admit I was just thinking zipping against a sequence like that to form a list of pairs, haskell-style, not forming an intermediate hash
moritz rn: my %hash = <a b c>.kv; say %hash.perl
p6eval niecza v19-15-g051783d: OUTPUT«{"0" => "a", "1" => "b", "2" => "c"}.hash␤»
..rakudo 7ec7a2: OUTPUT«("0" => "a", "1" => "b", "2" => "c").hash␤»
moritz even shorter :-)
geekosaur: afaict the goal was to create a hash 17:11
nothing intermediate here
TimToady rn: %(<a b c>.pairs).perl.say
p6eval niecza v19-15-g051783d: OUTPUT«{"0" => "a", "1" => "b", "2" => "c"}.hash␤»
..rakudo 7ec7a2: OUTPUT«("0" => "a", "1" => "b", "2" => "c").hash␤»
moritz masak: what's up with 'infix +'?
geekosaur ah, I see, I went with th eintiial question and not the example
ChoHag Can the key be changed? 17:12
Count from something else, prepend/append a token?
moritz nr: my %h = ('foo' X~ 5..*) Z <a b c>; say %h.perl
p6eval rakudo 7ec7a2: OUTPUT«("foo5" => "a", "foo6" => "b", "foo7" => "c").hash␤»
..niecza v19-15-g051783d: OUTPUT«{"foo5" => "a", "foo6" => "b", "foo7" => "c"}.hash␤»
moritz ChoHag: like this? :-)
17:13 jaldhar left
ChoHag This channel is knackering my terminal... 17:13
moritz nr: my %h = ('foo5' ... *) Z <a b c>; say %h.perl
17:13 jaldhar joined
p6eval rakudo 7ec7a2: OUTPUT«("foo5" => "a", "foo6" => "b", "foo7" => "c").hash␤» 17:13
..niecza v19-15-g051783d: OUTPUT«{"foo5" => "a", "foo6" => "b", "foo7" => "c"}.hash␤»
TimToady ChoHag: you'll be happier with a UTF-8 terminal, I suspect
moritz ChoHag: maybe your browser has less problems, see for example irclog.perlgeek.de/perl6/2012-08-11#i_5892094 17:14
masak moritz: I don't know what's up with 'infix +'. that program looks OK to me.
TimToady r: my @foo = <a b c>; my %hash = map { (state $counter)++ => $_ }, @foo; say %hash.perl 17:15
p6eval rakudo 7ec7a2: OUTPUT«(signal SEGV)»
ChoHag Bah! Didn't work because of bloody bash quoting...
TimToady yow
moritz wow, a segfault
TimToady uow
ChoHag So what's the Z operator? 17:16
TimToady zip
moritz ChoHag: zipping two (or more) lists
ChoHag It looks madly cool but I haven't seen it defined.
TimToady meshes two lists like a zipper
moritz r: say (<a b c> Z <d e f> Z~ 1..3)
p6eval rakudo 7ec7a2: OUTPUT«ad1 be2 cf3␤»
ChoHag I saw Z in some docs, but Z is sort of hard to search for...
moritz ChoHag: in the future, I want doc.perl6.org/Z to take you straight to it 17:17
ChoHag: I'm not quite there yet though :(
TimToady S03:1688 talks about Z
ChoHag Docs are a lot harder than code.
I wish some of our devs would appreciate that...
moritz both are hard :-)
17:18 crab2313 left
TimToady and S03:4708 talks about the Z metaoperator 17:18
17:21 brrt left
TimToady ChoHag: what are you using for an IRC client? 17:21
17:24 brrt joined 17:27 jaldhar left 17:28 jaldhar joined
ChoHag irssi, screen and putty. 17:33
Most of which I haven't bothered to configure correctly.
17:33 leont left, MayDaniel left
jnthn does the same, and the only tweak he made as to set PuTTY to do utf-8. 17:34
*was
17:34 MayDaniel joined, ChoHag_ joined
brrt hey, whats Cat? 17:34
p6 has Rat and Cat 17:35
ChoHag_ Maybe that's done it. Somebody say something weird and UTFey.
r: say (<a b c> Z <d e f> Z~ 1..3)
p6eval rakudo 7ec7a2: OUTPUT«ad1 be2 cf3␤»
17:37 ChoHag left, ChoHag_ left, ChoHag joined
ChoHag r: say something. 17:38
p6eval rakudo 7ec7a2: OUTPUT«===SORRY!===␤Confused␤at /tmp/UNlwJD4PO1:1␤»
17:40 ChoHag left, ChoHag joined
ChoHag r: shake it all about 17:40
p6eval rakudo 7ec7a2: OUTPUT«===SORRY!===␤CHECK FAILED:␤Undefined routine '&about' called (line 1)␤Undefined routine '&it' called (line 1)␤Undefined routine '&shake' called (line 1)␤»
17:41 Moukeddar joined, Moukeddar left
TimToady rosettacode.org/wiki/Pragmatic_directives#Perl_6 17:54
17:54 brrt left
dalek c: c8e2caf | moritz++ | htmlify.pl:
fix(-ish) operator links
17:57
c: a8994ba | moritz++ | htmlify.pl:
fixup
c: 36b1138 | moritz++ | htmlify.pl:
[htmlify] progress report for per-routine files
moritz doc.perl6.org/+ now works in chromium 17:58
I mean, the links there
17:58 mtk joined
dalek kudo/nom: 0dd82c7 | jnthn++ | src/Perl6/Actions.pm:
If symbols are declared in a block, it certainly cannot be a hash constructor. Fixes segfault discovered by ChoHag++.
18:01
ast: af688d3 | jnthn++ | S06-other/anon-hashes-vs-blocks.t:
Test to cover declaring symbols in a block making it a hash for sure.
18:03
jnthn shop, dinner, etc. & 18:04
18:16 Celelibi left 18:21 Celelibi joined 18:27 jeffreykegler left 18:31 jeffreykegler joined
colomon phenny: tell brrt Cat is a hypothetical lazy string type. (Unless someone implemented it while I was on vacation.) 18:31
phenny colomon: I'll pass that on when brrt is around.
masak no-one implemented Cat while you were on vacation, colomon. 18:43
colomon shucks. 18:44
masak also, welcome back from vacation. :)
colomon thanks! 18:49
anything exciting happen this week on #perl6? 18:59
other than attacks on our fashion sense?
moritz depends on whether you find doc.perl6.org progress exciting :-) 19:00
masak submitted a few rakudobugs. business as usual.
diakopter colomon: she took down the photo
colomon .... not in the sense I meant, but it is heartening, at the very least.
diakopter oh
colomon: sry; I misread "other than attacks" 19:01
colomon diakopter: I think we might have gotten crossed there. I was responding to moritz. :) 19:02
but I'm glad to hear she took down the picture.
diakopter colomon: :) I knew you were responding to moritz there; I just realized I had misread..
19:02 cognominal left 19:03 cognominal joined
moritz but she was sloppy; the text still refers to the pictures that aren't there anymore 19:03
diakopter well, at least the link to the originals is still there on my comment
cosimo programming in "cargo pants and hackaton t-shirt" is totally awesome if you ask me 19:08
masak especially, you know, at a hackathon.
moritz :-)
19:08 jeffreykegler left
moritz would also like to note that he is happily married and with offspring, no need to impress (other) girls anymore :-) 19:09
colomon would like to note he literally meant "our" fashion sense: wasn't in the picture, but was wearing one of the t-shirts found in the picture the day he learned about the post. 19:14
who was in the picture other than moritz++? 19:15
moritz arnsholt++, tadzik++, jnthn++ 19:16
maybe sjn++ too, dunno which part she showed
masak only sjn++'s shoulder.
colomon an august assemblage! 19:17
19:23 jeffreykegler joined
TimToady colomon: the sigspace upgrade to STD finally landed, as well as (most of) the +% upgrade 19:28
colomon TimToady++
moritz phenny: en de "august"? 19:30
phenny moritz: "August" (en to de, translate.google.com)
moritz phenny: en de "August"?
phenny moritz: "August" (en to de, translate.google.com)
moritz meh
phenny: de en "erhaben"?
phenny moritz: "sublime" (de to en, translate.google.com)
moritz phenny: de en "illuster"?
phenny moritz: "illustrious" (de to en, translate.google.com)
moritz I don't think it will ever ansewr with "august" :-) 19:31
masak phenny: sv en "august"? 19:33
phenny masak: "august" (sv to en, translate.google.com)
masak :)
moritz now that's cheating :-) 19:34
masak now that's technique :P 19:35
colomon when is YAPC Europe?
19:35 benabik left
dalek c: 10971d0 | moritz++ | htmlify.pl:
[htmlify] fix wording
19:36
c: 8fa2a48 | moritz++ | htmlify.pl:
write per-operator files
c: f297b42 | moritz++ | htmlify.pl:
simplify some code
moritz colomon: in 9 days
masak oh man. slides.
masak does a very graceful panic
moritz just CATCH it, you'll be fine :-)
19:37 benabik joined
colomon is worried about having his en.wikipedia.org/wiki/Slide_(tune_type) ready for that week. :) 19:37
moritz colomon: in ABC? 19:38
colomon moritz: well, I'll be using ABC (and the p6 ABC module) to print sheet music.
I'm teaching workshops at a local folk music festival 19:39
moritz wow, cool
colomon it's fun.
colomon secretly just wants to get the other players in the area playing more tunes he likes. ;)
sorear good * #perl6 19:40
moritz good UGT morning, sorear 19:41
dalek c: d6bacd0 | moritz++ | htmlify.pl:
[htmlify] simplify code a wee bit
19:46 birdwindupbird joined 19:48 Guest44047 left
colomon \o 19:51
moritz nr: say 4 cmp 4.0 19:58
p6eval rakudo 0dd82c, niecza v19-15-g051783d: OUTPUT«Same␤»
moritz nr: say (a => 3) cmp (a => 4)
p6eval rakudo 0dd82c, niecza v19-15-g051783d: OUTPUT«Increase␤»
dalek c: bef4357 | moritz++ | lib/operators.pod:
[operators] start with Nonchaining Binary Precedence
20:00
sorear o/ colomon 20:03
colomon sorear: how have you been? 20:05
colomon just found a spam e-mail claiming to be from Amazon.com but with what looks to be a malicious script in it. 20:08
20:11 jeffreykegler left 20:27 jeffreykegler joined 20:29 jeffreykegler left 20:31 benabik left 20:32 benabik joined 20:34 cognominal_ joined 20:35 cognominal left 20:36 kaare_ left 21:02 thou joined 21:03 SamuraiJack left 21:06 bruges_ joined 21:08 bruges left 21:10 spider-mario left 21:12 birdwindupbird left 21:41 sergot left
masak 'night, #perl6 21:48
22:36 Targen left
TimToady rosettacode.org/wiki/Parse_an_IP_Address#Perl_6 22:36
jnthn wow, a RosettaCode task I understand from the title! \o/ 22:38
Also, that code would make a nice module :) 22:39
TimToady++
TimToady we now have 444 pages
jnthn wow! 22:40
22:44 spider-mario joined
colomon TimToady: looking at the IPv6 token (for example), you've got the | alternative symbol at the beginning of each line. Is the first one meaningless and just there for style? Is this a P6 idiom I've missed thus far? 22:44
diakopter I can't tell whether the REXX one is cheating (like Go) 22:46
TimToady colomon: yes, it's just stylistic 22:48
colomon TimToady++ 22:50
22:51 jeffreykegler joined
TimToady okay, just posted a new version that also work with niecza 22:51
22:52 thou left
colomon TimToady: what was the change? 22:52
TimToady doesn't know how to +$/, so switched to $0 instead 22:53
if you go to history, you can get diff listings
colomon found it! it was the last place I looked. ;) 22:54
TimToady oh, I also just decide I could count the hexdigits directly to validate 22:55
*decided
since only hexdigits are allowed, anything <= 4 chars is valid
diakopter I wonder if the other grammar-based ones accept invalid input
TimToady this one doesn't go out of its way to tell you what went wrong 22:56
colomon wait, the Go version uses a standard library call to do the actual parsing, and it's still longer than the p6 version?!
diakopter TimToady: did you write the grammar from looking at the spec..? Hm I guess the only alternative would be "from memroy" 23:03
TimToady I wrote it looking at the test cases
and a little bit of remembering 23:04
the test cases are stolen from the Python entry
but I ignored everyone else's solution
I was tempted to defined ipv6 recursively, but then it could falsely allow multiply nested brackets 23:05
originally I was going to traverse the returned match tree, but it turned out easier to just set some dynavars
nap & 23:06
23:11 mathw joined, avar joined, avar left, avar joined