»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'perl6: say 3;' or rakudo:, niecza:, std:, or /msg camelia perl6: ... | irclog: irc.perl6.org | UTF-8 is our friend!
Set by sorear on 25 June 2013.
BenGoldberg r: say sort ($a, $b) -> {$b leg $a}, (3, 20, 100).pick(*) 00:00
camelia rakudo-parrot d72797: OUTPUT«===SORRY!=== Error while compiling /tmp/EFxwCGHweF␤Variable '$a' is not declared␤at /tmp/EFxwCGHweF:1␤------> say sort ($a⏏, $b) -> {$b leg $a}, (3, 20, 100).pick(␤ expecting any of:␤ postfix␤»
..rakudo-jvm d72797: OUTPUT«===SORRY!=== Error while compiling /tmp/TaVzOGann9␤Variable '$a' is not declared␤at /tmp/TaVzOGann9:1␤------> say sort ($a⏏, $b) -> {$b leg $a}, (3, 20, 100).pick(␤ expecting any of:␤ postfix␤»
Mouq r: say sort {$^b leg $^a}, (3, 20, 100).pick(*)
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«3 20 100␤»
Mouq r: say sort ->$b,$a{$b leg $a}, (3, 20, 100).pick(*)
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«100 20 3␤»
BenGoldberg r: say sort ->$a,$b{$b leg $a}, (3, 20, 100).pick(*) 00:01
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«3 20 100␤»
FROGGS r: say sort {$^a leg $^b}, (3, 20, 100).pick(*)
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«100 20 3␤»
BenGoldberg When I use $^foo, those get sorted by name when they're made into parameters?
FROGGS sorted by appearance AFAIK 00:02
00:02 zakharyas left
BenGoldberg r: say sort {$^b leg $^a}, (3, 20, 100).pick(*) 00:02
FROGGS hmm, or not
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«3 20 100␤»
BenGoldberg r: say sort {$^a leg $^b}, (3, 20, 100).pick(*)
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«100 20 3␤»
FROGGS :o)
BenGoldberg Quite useful, if slightly surprising ;) 00:03
00:04 ssutch left
Mouq r: my $test = 'abcd' ~~ /a/; 'test' ~~ /\w/; my $v = {say $/}; {$/ := $test; $v()} 00:05
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«「a」␤␤»
Mouq \o/
also 00:06
00:06 ssutch joined
Mouq r: {my $/ = 'a' ~~ /a/} #rakudobug 00:06
camelia ( no output )
Mouq std: {my $/ = 'a' ~~ /a/} #rakudobug
camelia std 4731beb: OUTPUT«===SORRY!===␤Unsupported use of $/ variable as input record separator; in Perl 6 please use the filehandle's :irs attribute at /tmp/9hCm5oFWyt line 1:␤------> {my $/⏏ = 'a' ~~ /a/} #rakudobug␤Parse failed␤FAILED 00:0…»
00:11 ssutch left
dalek rl6-roast-data: 26c8fd7 | coke++ | / (6 files):
today (automated commit)
00:12
00:12 ssutch joined 00:14 beastd left 00:16 xenoterracide left, xenoterracide joined
Mouq r: role Xeger { method ACCEPTS (*@_) { say "{self.WHICH} matched against {@_}"; nextwith(@_) } }; sub something(Regex $a) { ([~] 'a'..'z') ~~ $a }; something(/abcd/ but Xeger) 00:25
camelia rakudo-parrot d72797: OUTPUT«Regex+{Xeger}|2267684913326976267 matched against abcdefghijklmnopqrstuvwxyz␤»
..rakudo-jvm d72797: OUTPUT«Regex+{Xeger}|781687463 matched against abcdefghijklmnopqrstuvwxyz␤»
Mouq I love Perl 6
BenGoldberg It's not bad ;) 00:34
00:36 Tene left, Tene joined 00:37 djanatyn left, djanatyn joined 00:48 xenoterracide left 00:51 rurban1 joined 00:54 Mouq left 00:55 rurban1 left 01:07 tgt left 01:08 Mouq joined 01:17 tgt joined 01:19 labster joined 01:27 tgt left 01:32 gfldex left 01:33 gfldex joined 01:38 risou_awy is now known as risou 01:43 jnap joined 01:52 rurban1 joined 01:54 risou is now known as risou_awy 01:56 rurban1 left 01:59 raiph left 02:05 DrEeevil is now known as bonsaikitten 02:13 kivutar left 02:19 jeffreykegler left 02:23 xenoterracide joined 02:24 dayangkun joined
timotimo r: 300.trans: /\d/ => { say $/ }; 02:27
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«Nil␤Nil␤Nil␤Nil␤»
timotimo r: 300.trans: /\d/ => -> $/ { say $/ };
camelia rakudo-parrot d72797: OUTPUT«Not enough positional parameters passed; got 0 but expected 1␤ in block at /tmp/p52RLGHHZG:1␤␤»
..rakudo-jvm d72797: OUTPUT«Not enough positional parameters passed; got 0 but expected 1␤ in method next_substitution at gen/jvm/CORE.setting:6303␤ in method trans at gen/jvm/CORE.setting:6345␤␤»
timotimo i think this bug is known
lue All of a sudden, I really wish there was a .chomp(" ") variant :) 02:36
02:39 thou left
labster p: say " foo ".trim.perl 02:41
camelia rakudo-parrot d72797: OUTPUT«"foo"␤»
lue labster: turns out I forgot that say @a; puts spaces between elems. But I'd forgotten about trim and friends :) 02:50
labster Yeah, you want print @a, "\n"; for that. 02:52
02:52 rurban1 joined
lue labster: since I'm not printing the array directly, the function returning just uses [~] :P 02:53
02:57 rurban1 left 03:04 finanalyst left 03:11 colomon left 03:13 colomon joined
TimToady .join works fine too 03:19
03:21 araujo left 03:26 xenoterracide left 03:27 jnap left, thou joined
labster Wow, there really is more than one way to do it. 03:27
03:32 Alpha64 joined
Alpha64 hello, what online tool like ideone can i use that has a somewhat recent version of perl6? 03:33
03:34 dayangkun left 03:39 risou_awy is now known as risou 03:42 gfldex left 03:43 gfldex joined 03:48 dayangkun joined 03:53 dayangkun left, rurban1 joined 03:57 risou is now known as risou_awy, rurban1 left 04:06 dayangkun joined 04:27 jnap joined 04:32 jnap left 04:40 Mouq left, kaleem joined, kaleem left 04:48 dayangkun_ joined 04:52 dayangkun left 04:54 dwarring joined, rurban1 joined, preflex left 04:55 preflex joined, ChanServ sets mode: +v preflex 04:56 rurban2 joined 04:58 rurban1 left 05:00 rurban2 left 05:04 raiph joined 05:07 BenGoldberg left
lue Anyone got any ideas as to how adding a simple :my $*VAR = 1; and some <?{$*VAR}> checks in alternations can cause Parrot to eat memory until it's killed? :) 05:27
05:27 SamuraiJack joined
moritz lue: does the alternation consume any characters? 05:31
lue yeah, it's my way of doing if/else in regexes. [$*OPTION '»' | '>'] for instance 05:32
rather, [<?{$*OPTION}> ...
(the idea being that the assertion ends up acting as either a <?> or <!> .) 05:33
moritz then I don't know 05:35
maybe starting with --rxtrace is enlightening?
or with Regex::Tracer
lue I'll try --rxtrace, though I'm very scared to freeze my computer again :D 05:37
moritz: I was half-expecting you to say "that's not how you should be doing that *at all*, of course it's going to eat up memory!" :)
05:40 risou_awy is now known as risou
lue --rxtrace didn't reveal anything, I'll try perl6-debug instead. At least then I don't have to wait for the kernel to do the killing :) 05:44
05:57 rurban1 joined, risou is now known as risou_awy 06:01 rurban1 left 06:15 darutoko joined 06:23 jnap joined 06:25 raiph left 06:28 jnap left 06:49 araujo joined, araujo left, araujo joined 06:55 brrt joined 06:57 rurban1 joined 06:59 kaleem joined 07:01 rurban1 left 07:11 risou_awy is now known as risou 07:18 darutoko left
lue moritz: turns out, I needed to add a <?{!$*VAR}> to the "else" alternation, because otherwise the match went on. 07:20
the alternation was actually [ <?{$*VAR}> <![»]> | <![>]> ] for a "gather chars until end bracket" bit, so you can perhaps see why the not-check is necessary :) . 07:22
07:22 darutoko joined 07:23 Tene left, djanatyn left 07:24 jnap joined 07:29 jnap left 07:37 SamuraiJack left 07:56 rindolf joined 08:01 Entonian joined 08:02 dayangkun_ left, Entonian left 08:03 Alpha64 left 08:05 thou left 08:10 Tene joined, Tene left, Tene joined 08:12 wooden left 08:25 jnap joined 08:29 jnap left 08:32 dakkar joined 08:33 Piers joined 08:37 hoverboard joined 08:53 djanatyn joined 08:59 rurban1 joined
masak mornin', #perl6 08:59
08:59 risou is now known as risou_awy 09:00 risou_awy is now known as risou
brrt hi masak 09:00
masak my post got HN'd. even though it wasn't actually very special. 09:01
cosimo masak: what do you expect from hn? 09:03
and... Good $Morning!
09:03 rurban1 left
masak even the HN discussion is civil. 09:05
about 2/3 "why Perl instead of Python" (with gentle answers) and 1/3 "what's the state of Perl 6?" 09:06
the only way to make people start caring about Perl 6 is to develop something indispensible in it that people can't afford to ignore :) 09:07
then they will stop saying "you can safely ignore Perl 6 for now" and start saying "I've been keeping an eye on Perl 6 for years -- you should check it out!"\
:)
tadzik ....like a useful Steam API support! :P 09:09
09:09 brother joined
tadzik I think my module is the only one on earth that can convert between usernames and userids 09:09
also, I think I'll sit down and write an HTTP client that one can rely on
I hope it turns out better than panda, in terms of reliability 09:10
09:11 hoverboard left
masak tadzik: fwiw, I had reliability problems with pls too. 09:11
tadzik: you're just better than I am at enduring them and still making progress. 09:12
09:16 risou is now known as risou_awy 09:26 jnap joined
tadzik heh, am I 09:26
I don't see any endurance on progress from my side these days :P
09:29 denisboyun joined 09:30 dayangkun joined 09:31 jnap left 09:36 spider-mario joined 09:41 rurban1 joined 09:44 ssutch left 09:46 fhelmberger joined 09:53 dakkar left, fhelmberger left 09:54 fhelmberger joined 09:58 fhelmberger left 10:09 ilogger2 joined, ChanServ sets mode: +v ilogger2 10:12 Util joined 10:13 [Coke] joined 10:23 mberends joined 10:29 dmol joined 10:30 anmol joined 10:31 town55 joined 10:32 mberends left 10:35 anmol left 10:37 denis_boyun joined 10:40 kurahaupo_mobile joined 10:44 mberends joined 10:50 cognominal joined 11:16 kivutar joined 11:19 rurban1 joined 11:25 SamuraiJack joined 11:27 kivutar left, jnap joined 11:32 jnap left 11:49 cognominal left 11:51 cognominal joined 12:07 brrt joined 12:11 zakharyas joined
colomon dfw.pm.org/ hmmm…. 12:13
12:17 atroxaper joined 12:20 kaleem joined 12:28 jnap joined 12:29 kaleem left 12:30 tgt joined 12:33 jnap left, carlin joined 12:36 tgt left
timotimo hurm. what's the address of the "things not implemented for perl6" rosettacode report page? 12:38
it irks me that i can't find it by looking through the website; or at least it's pretty well hidden :P
there is "Perl 6 examples needing attention" but not the other thing 12:39
12:40 atroxaper left, atroxaper joined 12:43 brrt left, atroxaper left, atroxaper joined, finanalyst joined, tgt joined 12:44 carlin left, rxy joined, rxy is now known as Guest2348
finanalyst r: my @x; say ?(@x[*-1] :exists); say @x[*-1] 12:45
camelia rakudo-parrot d72797: OUTPUT«True␤Cannot use negative index -1 on Array␤ in method gist at gen/parrot/CORE.setting:12065␤ in method gist at gen/parrot/CORE.setting:1014␤ in sub say at gen/parrot/CORE.setting:12974␤ in block at /tmp/knmzPLjt4Q:1␤␤»
..rakudo-jvm d72797: OUTPUT«True␤Cannot use negative index -1 on Array␤␤»
finanalyst Why does @x[*-1] :exists return true on an empty array? 12:46
12:46 xinming joined
finanalyst surely *-1 on an empty array must be non-existent 12:47
12:50 atroxaper left, atroxaper joined 12:51 Guest2348 left
moritz finanalyst: I agree, it's a bug 12:55
timotimo r: my @x; say @x.DUMP; say (@x[*-1]).DUMP 12:59
camelia rakudo-parrot d72797: OUTPUT«Array<1>(␤ :$!flattens(▶Mu),␤ :$!items(▶Mu),␤ :$!nextiter(▶Mu)␤)␤Failure<1>(␤ :exception(▶X::AdHoc<2>(␤ :payload(▶"Cannot use negative index -1 on Array"),␤ :$!ex(Exception<4>(...))␤ )),␤ :$!h…»
..rakudo-jvm d72797: OUTPUT«Array<1>(␤ :$!flattens(▶Mu),␤ :$!items(▶Mu),␤ :$!nextiter(▶Mu)␤)␤Failure<1>(␤ :exception(▶X::AdHoc<2>(␤ :payload(▶"Cannot use negative index -1 on Array"),␤ :$!ex(BOOTException<4>(...))␤ )),␤ :$!…»
timotimo er, i better open that in a local terminal
huh 13:01
without the ? it returns False
13:01 kivutar joined
moritz p: my @x; say @x[*-1]:exists 13:02
camelia rakudo-parrot d72797: OUTPUT«False␤»
moritz p: my @x; say @x[*-1] :exists
camelia rakudo-parrot d72797: OUTPUT«False␤»
moritz p: my @x; say so @x[*-1] :exists
camelia rakudo-parrot d72797: OUTPUT«True␤»
moritz p: my @x; say ( @x[*-1] :exists).perl
camelia rakudo-parrot d72797: OUTPUT«(Bool::False,)␤» 13:03
moritz oh
it returns a parcel containing a Bool
and a one-elem parcel is True in boolean context
timotimo ooooh 13:06
yeah. and it's supposed to by spec
13:08 atroxaper left, atroxaper joined
moritz thinks about respeccing the spec 13:10
13:10 SamuraiJack left, chingfantsou joined
moritz has a postgres+postgis database of German zip codes and their locations, and is now happy 13:11
select avg(st_distance(a.loc_center, b.loc_center, True)) FROM post_code_areas a, post_code_areas b WHERE a.plzort99 = 'Kiel' AND b.plzort99 = 'Konstanz'; -- 741252.334629163 13:14
13:21 colomon joined 13:22 wooden joined, wooden left, wooden joined 13:27 atroxaper left, atroxaper joined 13:28 atroxaper left
colomon moritz++ # Advent post 13:28
13:29 jnap joined 13:30 atroxaper joined
moritz colomon: thanks 13:31
colomon I take that so much for granted by now I would never have thought of writing it. 13:32
moritz me neither, if it hadn't been in topic-brainstorm file :-)
13:33 jnap left 13:35 town55 left
finanalyst moritz: shall i file a bug for @x[*-1] :exists ? or is it not a bug? 13:36
moritz finanalyst: it seems it's not a bug, strictly speaking, just very unintuitive 13:37
more of a spec bug, IMHO 13:38
finanalyst better test for empty @x is @x.elems
13:38 mberends left
moritz or simply @x in Boolean context 13:39
13:40 rurban1 left
timotimo @x[*-1] :exists is also not a good way to test if a Positional is empty :) 13:42
moritz r: say so (my @x)[0]:exists 13:43
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«False␤»
moritz r: say so (my @x)[*-1]:exists
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«True␤»
moritz but why should those cases behave differently?
that doesn't seem very intuitive
timotimo oh, weird 13:46
13:50 chingfan` joined, mberends joined 13:52 chingfantsou left 13:54 tgt left
timotimo r: my @a will begin { say $_.WHAT }; 14:03
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«(Mu)␤» 14:04
14:05 tgt joined, jnap joined 14:06 jnap left 14:10 tgt left, jnap joined 14:15 toebu joined 14:18 PacoAir joined 14:19 pecastro joined 14:27 gfldex joined 14:32 kaleem joined 14:34 ajr joined 14:35 ajr is now known as Guest13199, Guest13199 is now known as ajr_ 14:42 colomon left, atroxaper left, colomon joined 14:45 lue joined 14:46 raiph joined 14:48 pecastro_ joined 14:51 denis_boyun__ joined 14:52 denis_boyun left 14:57 chingfan` left 15:02 thou joined 15:03 nwc10 joined 15:04 kaleem left 15:09 zakharyas left 15:12 finanalyst left 15:15 Mouq joined
rjbs Day 11 of P6Advent: s/dristributions/distributions 15:26
FROGGS rjbs: fixed, thanks 15:32
rjbs FROGGS++ 15:33
15:36 skids joined 15:39 Mouq left 15:42 rurban1 joined 15:45 atroxaper joined 15:46 toebu left, rurban1 left 15:48 denis_boyun joined 15:49 denis_boyun__ left
colomon r: ["A","b","C"].sort: *.lc, { $^b leg $^a } 15:52
camelia rakudo-parrot d72797: OUTPUT«Too many positional parameters passed; got 3 but expected between 1 and 2␤ in method sort at gen/parrot/CORE.setting:7814␤ in block at /tmp/dJ7Wkv0Cec:1␤␤»
..rakudo-jvm d72797: OUTPUT«Too many positional parameters passed; got 3 but expected between 1 and 2␤ in method sort at gen/jvm/CORE.setting:7789␤␤»
colomon n: ["A","b","C"].sort: *.lc, { $^b leg $^a } 15:53
camelia niecza v24-108-g17d73e4: OUTPUT«Unhandled exception: Excess arguments to List.sort, used 2 of 3 positionals␤ at /home/p6eval/niecza/lib/CORE.setting line 0 (List.sort @ 1) ␤ at /tmp/AazBrjcHEN line 1 (mainline @ 3) ␤ at /home/p6eval/niecza/lib/CORE.setting line 4595 (ANON @…»
15:53 xenoterracide joined 15:55 treehug88 joined 15:56 rurban1 joined
nwc10 now that it seems that Parrot is no longer on a regular release schedule, is there a plan for how to redfine the Rakudo release schedule? if so, is it "Thursday following third Tuesday of the month" or is it going to move a bit? 15:57
[And will there be heretics releasing on the old date? :-)]
london.pm.org/about/faq.html#heretics
FROGGS "1987 - Larry Wall falls asleep and hits Larry Wall's forehead on the keyboard. Upon waking Larry Wall decides that the string of characters on Larry Wall's monitor isn't random but an example program in a programming language that God wants His prophet, Larry Wall, to design. Perl is born."
james-iry.blogspot.co.uk/2009/05/br...wrong.html 15:58
moritz nwc10: fwiw I'm in favor of doing the rakudo compiler release earlier in the month, so that more time remains to release R* in the same month
nwc10 also, does Rakudo actually support most recent parrot, now that the old Packfile code has gone? 15:59
earlier makes sense for that reason
moritz has no idea
16:00 rurban1 left 16:02 Pleiades` joined 16:09 breinbaas joined 16:10 denis_boyun left, pecastro_ left, pecastro left 16:11 pecastro joined, pecastro_ joined 16:14 breinbaas left, breinbaas joined
atroxaper Hello #perl6 ! 16:14
I have created pull request github.com/perl6/specs/pull/63 16:15
S26 doesn't parse without that line.
dalek ecs: 514de57 | atroxaper++ | S26-documentation.pod:
Fix S26 parsing.

Close defn.
ecs: 4930c60 | (Tobias Leich)++ | S26-documentation.pod:
Merge pull request #63 from atroxaper/master

Fix S26 parsing.
atroxaper Could somebody merge that?
16:16 telex joined
FROGGS been there, done that :o) 16:16
atroxaper Thank you!
FROGGS you're welcome
16:18 Pleiades` left, logie joined 16:19 sftp_ joined 16:23 Pleiades` joined
moritz atroxaper: now you calso have a commit bit yourself 16:28
atroxaper moritz: what do you mean? 16:29
moritz atroxaper: in future you can push directly to perl6/specs
atroxaper: ... and a few other repos in the 'perl6' organization
atroxaper moritz: oh. cool. Is it automaticly have done? Or is it your magic? ) 16:30
moritz atroxaper: my manual non-magic
atroxaper moritz: thank you for trust. I appreciate that. 16:31
16:34 ajr joined, ajr_ left, ajr is now known as Guest94832, Guest94832 is now known as ajr_ 16:35 rurban1 joined 16:42 rindolf joined
colomon rn: constant √5 = sqrt(5); say √5 16:42
camelia rakudo-jvm d72797: OUTPUT«===SORRY!=== Error while compiling /tmp/4R6YcPyxuw␤Missing initializer on constant declaration␤at /tmp/4R6YcPyxuw:1␤------> constant ⏏√5 = sqrt(5); say √5␤ expecting any of:␤ statement list␤ …»
..rakudo-parrot d72797: OUTPUT«===SORRY!=== Error while compiling /tmp/6IK68J88Y9␤Missing initializer on constant declaration␤at /tmp/6IK68J88Y9:1␤------> constant ⏏√5 = sqrt(5); say √5␤ expecting any of:␤ statement list…»
..niecza v24-108-g17d73e4: OUTPUT«===SORRY!===␤␤Missing initializer on constant declaration at /tmp/CSbttue2Kv line 1:␤------> constant ⏏√5 = sqrt(5); say √5␤␤Confused at /tmp/CSbttue2Kv line 1:␤------> constant ⏏…»
colomon drat 16:43
16:43 xenoterracide left
colomon rn: sub prefix:<√>($n) { $n.sqrt }; say √5 16:43
camelia rakudo-parrot d72797, rakudo-jvm d72797, niecza v24-108-g17d73e4: OUTPUT«2.23606797749979␤»
16:45 cotto joined 16:46 denis_boyun joined 17:00 SamuraiJack joined 17:03 dmol left
FROGGS rn: sub √($n) { $n.sqrt }; say √ 5 17:04
camelia rakudo-jvm d72797: OUTPUT«===SORRY!=== Error while compiling /tmp/8qO5OkAAmE␤Missing block␤at /tmp/8qO5OkAAmE:1␤------> sub ⏏√($n) { $n.sqrt }; say √ 5␤ expecting any of:␤ statement list␤ prefix or term␤ …»
..niecza v24-108-g17d73e4: OUTPUT«===SORRY!===␤␤Malformed block at /tmp/OscJDywAx6 line 1:␤------> sub ⏏√($n) { $n.sqrt }; say √ 5␤␤Parse failed␤␤»
..rakudo-parrot d72797: OUTPUT«===SORRY!=== Error while compiling /tmp/bfza2bLNDt␤Missing block␤at /tmp/bfza2bLNDt:1␤------> sub ⏏√($n) { $n.sqrt }; say √ 5␤ expecting any of:␤ statement list␤ prefix or term␤ …»
17:09 arnsholt joined 17:11 dmol joined 17:18 atroxaper left
colomon rn: say 1.2 ** 100 17:20
camelia rakudo-parrot d72797: OUTPUT«82817974.5220145␤»
..rakudo-jvm d72797: OUTPUT«8.281797452201454E7␤»
..niecza v24-108-g17d73e4: OUTPUT«82817974.522014245␤»
colomon rn: say (1.2 ** 100).WHAT 17:21
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«(Num)␤»
..niecza v24-108-g17d73e4: OUTPUT«Num()␤»
colomon rn: say (1.2.FatRat ** 100).WHAT
camelia rakudo-parrot d72797, rakudo-jvm d72797, niecza v24-108-g17d73e4: OUTPUT«(FatRat)␤»
FROGGS weird that it still .gists to Num() 17:22
colomon I did think I'd fixed all those. 17:23
TimToady Day 24 at perl6advent.wordpress.com/?p=2218&a...eview=true 17:24
FROGGS \o/ 17:25
TimToady WARNING, do not attempt to read drunk 17:26
17:31 pera joined
pera I'm curious: is there anything like 'tie' in perl6? :) 17:32
geekosaur I imagine it's not core, since it's a role like any other that you can implement 17:33
TimToady tie was abandoned because it pessimizes every variable to always remain tieable 17:35
but we have several other more controlled mechanisms to accomplish similar things, as long as you set up your declarations right
FROGGS TimToady: is "beutiful" a typo or artistic freedom?
TimToady tyop, thnaks 17:36
FROGGS free thnaks for all!
I like it, though I have to translate some more words :o) 17:37
17:37 fridim_ joined
pera TimToady: like what? :) 17:37
17:39 Pleiades` left 17:40 xenoterracide joined 17:44 Pleiades` joined
colomon TimToady++ # as always 17:55
TimToady pera: like binding a different container into a slot
or wrapping the routines used to access the data
17:56 rindolf left
TimToady for an example, see rosettacode.org/wiki/History_variables#Perl_6 17:59
18:00 zakharyas joined
TimToady family stuff & 18:05
raiph timotimo: rosettacode.org/wiki/Reports:Tasks_..._in_Perl_6 18:09
sjohnson TimToady: does that mean you're putting family stuff to the background so you can hang out here more? :) 18:10
timotimo raiph: bookmark'd, thanks! 18:12
18:15 SamuraiJack left
raiph timotimo: yw, took me way too long (about 15 minutes) to find it 18:15
18:16 colomon left 18:18 ssutch joined
timotimo where did you find it? 18:19
18:25 Rotwang joined 18:34 ajr_ left 18:38 ajr joined, ajr is now known as Guest83168, Guest83168 is now known as ajr_
tadzik TimToady++ # I really enjoyed that :) 18:39
is feather having some problems? I had a lot of trouble connecting to it
rurban do you know who runs dalek? it was getting too noisy today
diakopter where was it noisy 18:42
pera thanks TimToady that is really interesting 18:44
18:45 ajr_ left 18:50 betterworld joined
raiph timotimo: ended up skimming for likely relevant village pump discussions, bingoed with rosettacode.org/wiki/Rosetta_Code:V...astructure 18:52
timotimo ha! i reached the village pump at one point, too 18:53
18:55 kaare__ joined 19:03 colomon joined
diakopter rurban: where was it noisy 19:07
moritz TimToady++ # advent post
19:09 ajr_ joined
moritz wohoo, 4k views on the advent calendar today 19:11
19:13 kaare__ left
diakopter ?!?! where was it linked from 19:14
FROGGS[mobile]2 HN
moritz reddit, I think 19:17
www.reddit.com/r/programming/commen...nary_sort/
19:17 [Sno]_ joined, filly joined
moritz HN was yesterday :-) 19:17
19:19 GlitchMr- joined 19:20 amkrankr1leuen joined, gfldex_ joined
FROGGS[mobile]2 moritz: our calender appeared there twice 19:21
19:21 slavik1 joined 19:22 denis_boyun_ joined, GlitchMr- is now known as GlitchMr
moritz news.ycombinator.com/item?id=6953824 too, it seems 19:22
FROGGS[mobile]2 exactly 19:23
19:26 Pleiades` left, denis_boyun left, gfldex left, [Sno]_ is now known as [Sno] 19:28 Pleiades` joined 19:37 Tedd1 joined
lue hello world! o/ /me reads TimToady's advent post-to-be 19:44
19:45 rurban1 left
lue TimToady++ # I assume the entire post being <pre>'d is intentional? 19:52
19:53 jnap left 19:54 andrers52 joined
andrers52 Hi! 19:55
I'm starting to read "Using Perl 6"
and I think I've found a bug in an example. So, I'd like to contribute :) 19:56
lue moritz: am I right in thinking you've released the December compiler now?
moritz lue: yes 19:57
19:57 rurban1 joined
moritz andrers52: that's very kind of you. 19:57
andrers52: what's the bug?
andrers52 in the first example, the program to check who wins the games, the else allows the draw to be accounted as a win to player 2 19:58
if $r1 > $r2 { 20:00
moritz andrers52: there are now draws in table tennis :-)
andrers52 %matches{$p1}++;
} elsif $r1 < $r2 {
%matches{$p2}++;
}
timotimo linguist has perl6 support now!
moritz s/now/no/
andrers52 that's it for now. I'm not sure this was the best place to show this. 20:01
timotimo unfortunately, Using Perl 6 hasn't been updated in a long time :(
andrers52 I would like to thank you all for your efforts and I hope I can make much more contributions!
timotimo sure :)
hang out on this channel to absorb knowledge, if you want to :P
moritz andrers52: table tennis played as "best of 5" or "best or 7" sets, so no draws 20:02
20:02 logie left, logie joined
andrers52 timotimo: ah! I see... Thanks! 20:03
moritz slowly tries to morph the contents of the book into doc.perl6.org 20:05
timotimo i'm still waiting for the rakudo-js port to happen to make an interactive teaching "experience" with in-lined runnable example code ... 20:06
andrers52 moritz: thaks for pointing that out!
thaks -> thanks
PerlJam moritz++ (Day 23) 20:07
FROGGS[mobile]2 timotimo: so github highlights P6 now?? 20:09
20:17 beastd joined
lue timotimo: I don't know of the "linguist" you refer to :) 20:19
20:20 pecastro_ left 20:21 pecastro left
FROGGS[mobile]2 lue: that is a github repo 20:22
20:23 FROGGS joined, jnap joined 20:25 xenoterracide left
lue Is there anyone dying to do an R* release? 'Cos I'm about to start otherwise :) 20:27
20:28 xenoterracide joined, jnap left
woolfy TimToady++ for lovely poem, thanks! 20:34
timotimo FROGGS[mobile]2: "it's coming" 20:36
FROGGS[mobile]2 awesome 20:37
lue timotimo: is there a way to force a particular coloration on github? Notably, none of the files in rakudo/rakudo/src/core will be correctly highlit. 20:40
20:41 raiph left 20:44 jnap joined
timotimo it's going to happen. 20:44
20:45 betterworld left
lue timotimo: really? All the src/core files end in .pm, which looking at the merge is handled by P5, not P6. 20:46
timotimo isn't there more to the decision than file names? 20:47
lue I don't know, I'm just going off the commit itself :)
timotimo pygments has a "what is this language?" feature 20:48
and linguist uses pygments behind the scenes iirc?
20:51 betterworld joined
lue timotimo: we'll see soon, in any case 20:52
21:00 raiph joined 21:09 filly left 21:17 dayangkun joined 21:21 treehug88 left 21:22 cognominal left, cognominal joined
lue ☃ R* RELEASE MODE ACTIVATED 21:30
✔ ① Update & sanitize local star repo
✔ ② Update tools/star/Makefile 21:33
Rotwang ccccc combo breaker! 21:34
timotimo Releaser Instinct?
lue ✘ ③ nqp-2013.12.1 not available for download
timotimo why would we need a .12.1? 21:35
21:35 skids left
lue because that's what the compiler release for Rakudo demands :) 21:35
moritz lue: let me fix that
timotimo ah :)
lue moritz: thanks 21:36
moritz seems I accidentally called it 2013.11.1 in nqp :(
timotimo whoops :) 21:37
did you even know it's christmas time at all?
lue moritz: would that also explain the rakudo-2013.11 in that dir?
(somehow?)
moritz lue: rakudo.org/downloads/nqp/nqp-2013.12.1.tar.gz ftfy
lue: nope
lue: that's either from something you did previously, or from forgetting to bump some versions 21:38
lue no, I was looking at the webpage directory listing
moritz no, it says 22-Nov-2013 as the time stamp 21:39
so, not my fault :-)
(at least not this month :-)
lue ? I did the end-of-october release last time.
"gzip: stdin: unexpected end of file" is what I get from the nqp tarball :/
oh wait, my fault I believe 21:40
yep, it was :)
moritz phew.
moritz deletes the stray rakudo download in the nqp/ dir 21:41
lue somehow the downloader (wget I think...?) doesn't delete files that turned out to not exist in the source location :/
timotimo hmm, not terribly many exciting changes this month
i better get my act together for next month's release! 21:42
lue ✔ ③ tools/star/Makefile completed successfully
are there any new modules to distribute with R* this month? 21:43
moritz I don't think so 21:44
21:45 ggoebel117 left
lue What I thought. I'm almost tempted to say that submodule additions/removals/etc. should happen during the month, not as part of the release process. But oh well. 21:45
moritz +1
lue ✔ ④ Add 0 submodules to R*
timotimo that's a good point.
Rotwang dont you have automated release process? 21:47
lue it's either that or some sort of PLS_ADD_THESE_MODULES_TO_NEXT_RS_KTHXBAI.txt file :)
Rotwang like continuous delivery and stuff
lue uuhhh, Perl6-MIME-Base64 just gave me a MERGE_MSG to fill out. o.o 21:48
timotimo someone must have changed the star submodule to a fork or something
lue backs out and investigates
timotimo use gitk or git log --graph --abbrev-commit --all to figure out what's going on?
21:49 rurban1 left
lue well, it just said "Merge made by the 'recursive' strategy." after I backed out, so... 21:49
lue 'll run gitk after the submodule foreach finishes 21:50
21:50 rurban1 joined
timotimo gitk is good, aye 21:52
lue never used it before though. I see something weird going on at the top of the tree. I wonder if deleting the submodule and trying to get it clean would help... 21:53
timotimo hah 21:54
the most important bit is the green rectangles
and the one that has bold text in it
the rectangles are branches, the bold one is the currently checked out branch
lue ...all the rectangled [remotes/origin/...] things have the same weight, i.e. no bold 21:55
21:58 BenGoldberg joined
lue just does the remove/reobtain thing 21:58
timotimo: I got back a pre-merge Perl6-MIME-Base64, and gitk is showing no bolded rectangles. I think it may be in a detached HEAD state :/ 22:11
BenGoldberg Like the headless horseman? 22:12
lue yeah, detached HEAD. No clue why :/
oh, wow. A random sampling of a couple other submodules shows similar detached HEADs. 22:13
FROGGS that would explain why we had outdated modules in a R* a few months back, right? 22:14
lue maybe. The random sample was all(PSGI, Math-Model) for the record 22:15
Lemme see if adding a --rebase to the submodule's pull command helps... 22:16
timotimo oh, wait 22:17
lue just realized he could've done git submodule foreach git branch to see the attached-ness of every submodule :)
timotimo the submodule system checks out a specific commit
so yeah, that would be a detached head for every submodule
lue wait, I don't think a rebase is what I wanted. (gitk will likely show me how badly I screwed up Base64's tree this time :P) 22:18
timotimo you probably just want to checkout a more recent commit? 22:20
lue yeah, I just pulled a commit futureward with that --rebase :/
timotimo otherwise you'd also have to push to the upstream repo
lue timotimo: the issue is that the given command to update the submodules in the release guide causes that merge commit, and I don't know of another way to update the submodules.
I'll try the command once more, maybe getting a clean Base64 fixes it somehow? 22:23
timotimo you want to git fetch and then git reset --hard to a given commit
i'm going to bed now 22:25
gnite and good luck! :)
FROGGS gnight timotimo
lue bah!
timotimo: :/ Probably would work, but I shouldn't have to hunt for specific SHA1s 22:27
timotimo you don't have to 22:29
git reset --hard origin/master
it's that easy :)
lue ah :)
moritz: am I doing or did I do something fundamentally wrong to land in this mess? just curious 22:30
timotimo no, you didn't
what was the exact command the guide told you to run?
hoelzro hi all 22:31
lue git submodule foreach git pull origin master
(RG here for reference: github.com/rakudo/star/blob/master...guide.pod)
hoelzro I'm on holiday, but I wanted to point this out: github.com/github/linguist/pull/858
\o\
/o/
\o/
lue 🙌 (we already found out about it though :P) 22:32
hoelzro goes back to holiday 22:33
lue timotimo: is there something wrong with that git pull that you can spot?
timotimo well, it's obvious why the error came to be 22:34
someone went and checkout'd a commit in the submodule that diverged from master
and git pull origin master would cause a merge, because it's not a fast-forward any more
lue That wasn't obvious from the gitk screen :) . Perhaps I didn't have enough verbosity enabled... 22:35
timotimo right; did it show something marked HEAD?
or a commit that was in boldface? 22:36
lue timotimo: as I said, nothing was bolded. Which lead me to suspect there was a detached HEAD.
timotimo right.
lue (neither before nor after a merge, to be more clear)
timotimo well, detached HEAD is the normal state for submodules after init + update.
i can see why it would be, from an implementor's perspective, but it's still not cool :P 22:37
22:37 dayangkun left
lue timotimo: in any case, it appears I got the changes to MIME-Base64 without merge now, so you can go to bed :) ♞ timotimo o/ 22:38
22:38 dayangkun joined
lue ✔ ⑤ update submodules 22:38
lue &
22:41 gfldex_ is now known as gfldex 22:44 denis_boyun_ left 22:48 mberends left
dalek ar: 7cd92c5 | lue++ | tools/star/Makefile:
[RG 2..3] Update tools/star/Makefile for Rakudo 2013.12.
23:10
ar: 50329c9 | lue++ | modules/Perl6-MIME-Base64:
[RG 5] Update Perl6-MIME-Base64 submodule.
ar: 5f02bb1 | lue++ | docs/announce/2013.12.md:
[RG 6] 2013.12 release announcement.

Pending review, of course :) .
lue ✔ ⑥ Create 2013.12 release announcement
lizmat lue++ 23:12
23:12 jlaire joined
lue Just skimmed the README, and I'm not sure I like how you (seemingly) can't install R* to /usr/local. But that's not anything to fuss over right now. 23:13
dalek ar: 79fc1fe | lue++ | / (2 files):
[RG 7] Update README and tools/build/Makefile.in

Note to the January releaser: don't forget to update the copyright end-year in the README! :)
23:16
lue ✔ ⑦ Update README and Makefile.in
✔ ⑧ push any remaining changes
✔ ⑨ create tarball 23:19
23:26 treehug88 joined 23:31 djanatyn joined 23:32 gfldex left 23:38 kurahaupo_mobile left, Tene joined, Tene left, Tene joined 23:39 gfldex joined 23:42 Rotwang left 23:46 rurban1 left 23:47 Tene left 23:48 Tene joined 23:49 djanatyn left, djanatyn joined 23:59 treehug88 left