»ö« 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
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
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
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…»
dalek rl6-roast-data: 26c8fd7 | coke++ | / (6 files):
today (automated commit)
00:12
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
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
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
lue labster: since I'm not printing the array directly, the function returning just uses [~] :P 02:53
TimToady .join works fine too 03:19
labster Wow, there really is more than one way to do it. 03:27
Alpha64 hello, what online tool like ideone can i use that has a somewhat recent version of perl6? 03:33
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
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!" :)
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
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
masak mornin', #perl6 08:59
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!
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
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
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
tadzik heh, am I 09:26
I don't see any endurance on progress from my side these days :P
colomon dfw.pm.org/ hmmm…. 12:13
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
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
finanalyst surely *-1 on an empty array must be non-existent 12:47
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
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
moritz thinks about respeccing the spec 13:10
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
colomon moritz++ # Advent post 13:28
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 :-)
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
moritz or simply @x in Boolean context 13:39
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
timotimo r: my @a will begin { say $_.WHAT }; 14:03
camelia rakudo-parrot d72797, rakudo-jvm d72797: OUTPUT«(Mu)␤» 14:04
rjbs Day 11 of P6Advent: s/dristributions/distributions 15:26
FROGGS rjbs: fixed, thanks 15:32
rjbs FROGGS++ 15:33
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 @…»
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
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?
FROGGS been there, done that :o) 16:16
atroxaper Thank you!
FROGGS you're welcome
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
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
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␤»
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␤ …»
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
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
pera TimToady: like what? :) 17:37
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
TimToady for an example, see rosettacode.org/wiki/History_variables#Perl_6 17:59
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
raiph timotimo: yw, took me way too long (about 15 minutes) to find it 18:15
timotimo where did you find it? 18:19
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
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
diakopter rurban: where was it noisy 19:07
moritz TimToady++ # advent post
moritz wohoo, 4k views on the advent calendar today 19:11
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/
moritz HN was yesterday :-) 19:17
FROGGS[mobile]2 moritz: our calender appeared there twice 19:21
moritz news.ycombinator.com/item?id=6953824 too, it seems 19:22
FROGGS[mobile]2 exactly 19:23
lue hello world! o/ /me reads TimToady's advent post-to-be 19:44
lue TimToady++ # I assume the entire post being <pre>'d is intentional? 19:52
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
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
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
lue timotimo: I don't know of the "linguist" you refer to :) 20:19
FROGGS[mobile]2 lue: that is a github repo 20:22
lue Is there anyone dying to do an R* release? 'Cos I'm about to start otherwise :) 20:27
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
timotimo it's going to happen. 20:44
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?
lue timotimo: we'll see soon, in any case 20:52
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
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
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?
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
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
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
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
lue ✔ ⑤ update submodules 22:38
lue &
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
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