»ö« 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.
colomon when I run make t/spec/S03-operators/bag.t, I get 00:08
Element shifted from empty list
in method Str at src/gen/m-CORE.setting:13629
00:08 jack_rabbit joined 00:15 Mso150_o joined, Mso150 left 00:16 davido__ left 00:17 davido__ joined
BenGoldberg danaj_, he left. 00:19
m: $*IN.gist.say 00:21
camelia rakudo-moar ec6011: OUTPUT«IO::Handle<->(opened, at line 0 / octet 0)␤»
BenGoldberg m: chdir('/usr/share/dict/') 00:22
camelia rakudo-moar ec6011: OUTPUT«Cannot modify an immutable IO::Path␤ in sub chdir at src/gen/m-CORE.setting:15680␤ in block <unit> at /tmp/IBQLjdgpoV:1␤␤»
00:25 xenoterracide left, pmurias left
colomon has a bad feeling that bag.t has been crashing and skipping 8 (or more) tests for a while. :( 00:28
well, the good news is it's probably my fault... 00:31
m: my @d; say ([⊍] @d).perl 00:33
camelia rakudo-moar ec6011: OUTPUT«(Failure.new(exception => X::AdHoc.new(payload => "Element shifted from empty list"))=>1).Bag␤»
colomon m: my @d; say ([⊎] @d).perl 00:34
camelia rakudo-moar ec6011: OUTPUT«().Bag␤»
00:43 tinyblak joined 00:46 xenoterracide joined 00:50 slavik left, tinyblak left 00:51 tinyblak joined 00:56 tinyblak left 01:01 FROGGS_ joined
dalek kudo/nom: 0971a6e | (Solomon Foster)++ | src/core/set_operators.pm:
Add (+)'s check for empty input to (.).
01:01
colomon has gotten away with his shameless behavior there. :) 01:04
01:04 slavik joined, dayangkun joined, dayangkun left 01:08 xenoterracide left 01:09 tinyblak joined
dalek ast: 7994e6b | (Solomon Foster)++ | S03-operators/bag.t:
Fix the plan, now that test 102 isn't crashing.
01:10
colomon m: my @d; say ([⊍] @d).perl 01:11
camelia rakudo-moar ec6011: OUTPUT«(Failure.new(exception => X::AdHoc.new(payload => "Element shifted from empty list"))=>1).Bag␤»
01:12 yeahnoob joined, xenoterracide joined
colomon ooo, Travis-CI liked my patch too. 01:15
and e-mailed me to let me know. So polite!
01:17 xenoterracide left 01:27 mberends left, mberends joined 01:30 mberends_ joined, mberends left 01:41 telex left 01:42 telex joined 01:53 leont left 01:55 Guest33542 is now known as ponbiki 01:56 yeahnoob left
tony-o m: class a { has $!t; submethod BUILD (:t(:$B<!>t)) { }; }; a.new(:t(5)); a.t.say; 01:58
camelia rakudo-moar 0971a6: OUTPUT«===SORRY!=== Error while compiling /tmp/PS9h3oWjE8␤Unable to parse named parameter; couldnt find right parenthesis␤at /tmp/PS9h3oWjE8:1␤------> ass a { has $!t; submethod BUILD (:t(:$B⏏<!>t)) { }; }; a.new(:t(5)); a…»
02:06 chenryn joined 02:10 yeahnoob joined, yeahnoob left, noganex_ joined 02:13 noganex left, yeahnoob joined 02:14 ruoso left, yeahnoob left 02:15 kurahaupo left, masak_ is now known as masak
masak 早安, #perl6 02:17
j4jackj masak: We don't speak chinese.
02:17 yeahnoob joined, yeahnoob left 02:18 Mso150_o left
masak oh. mille pardoni. :) 02:20
the first character is a sun rising over a horizon, signifying "morning". 02:21
the second character is a woman under a roof, signifying "peace/tranquility/calm". 02:22
02:22 yeahnoob joined
masak hence "calm morning", hence "good morning". 02:22
02:22 yeahnoob left 02:24 kurahaupo joined, yeahnoob joined
j4jackj masak: are you in china or taiwan, or elsewhere? 02:25
masak yes. 02:26
j4jackj masak: stop being facetious
masak though my exact location on the face of the planet is largely irrelevant, except insofar as it influences the periods of activity during the day. 02:27
though even that can be offset by exotic sleep habits.
j4jackj: I'm currently enjoying the end of a stay in the PRC. but I am originally from elsewhere. 02:28
j4jackj I'd advise legging it. 02:29
masak duly noted. 02:30
j4jackj Why are you in Red China, anyway
02:30 kurahaupo left
bonsaikitten I'm in China because work :) 02:30
j4jackj bonsaikitten: GTFO of that shit. 02:31
bonsaikitten haven't gotten tired of Shanghai yet
j4jackj: hey, at least my taxes are below 100%
j4jackj LEL
china is proof that communism doesn't work
masak makes a wild guess that j4jackj is from the US
j4jackj (they've recently transitioned to a capitalist hybrid)
masak: no, UK but currently residing in Canada
at least the government themselves don't censor political sites 02:32
colomon j4jackj: where in Canada? 02:36
02:36 chenryn left
j4jackj colomon: BC 02:36
colomon cool 02:37
colomon 's annual Canadian vacation was in St John's this year. :)
02:37 tinyblak left 02:39 chenryn joined
bonsaikitten j4jackj: why are you so upset with China if you aren't even connected to it? 02:40
j4jackj bonsaikitten: because censorship
and Draco
bonsaikitten j4jackj: yeah, I mean, it's almost as bad as Germany
j4jackj LOL
bonsaikitten srsly
j4jackj b-b-but china chops your head off 02:41
bonsaikitten anyway, everywhere is shit, we just choose the subjectively least shitty for us
j4jackj for things germany would put you in prison maybe 15 years
bonsaikitten at least in China there's a legal basis for having my phone tapped
j4jackj LOL
bonsaikitten so that's quite agreeable
j4jackj bonsaikitten: well gtfo of it then
bonsaikitten j4jackj: why?
j4jackj I don't want my phone tapped for ANY reason
;-;
unless i've been naughty 02:42
masak didn't expect his use of Chinese characters would lead to a political discussion, and feels a bit guilty
j4jackj and by naughty, I mean... big-style naughty
bonsaikitten yeah, so I like having a legal basis for it instead of the illegal stuff in other countries
j4jackj bonsaikitten: well you haven't been naughty
bonsaikitten not saying tapping is good, but at least china has some laws that sometimes are followed
j4jackj: but I had my phone tapped in the past ...
j4jackj oh and btw the us' tapping has legal basis (PATRIOT)
bonsaikitten yes, and no :) 02:43
j4jackj kek
bonsaikitten it's legal but unconstitutional
j4jackj bonsaikitten: are you even allowed to leave chongland?
bonsaikitten but who are you going to complain to :)
j4jackj: eh, I can leave anytime I want, foreigners are merely tolerated
everywhere the same, no country wants me for more than squeezing taxes out of me
j4jackj if so, I'd recommend an itinerary of <your current city> -> San Fran -> Taiwan
even though Taiwan is still harsh on drugs, they're a lot more liberal 02:44
inb4 v&
bonsaikitten I won't go over SF ...
j4jackj bonsaikitten: via Vancouver?
02:44 Akagi201_ left
bonsaikitten j4jackj: possibly, but I could fly to Taipei directly 02:44
j4jackj o_O
bonsaikitten and I prefer to not enter US airspace
j4jackj they actually have flights from red to blue china?
bonsaikitten of course
j4jackj dafuq.
bonsaikitten even to north korea and japan!
half the real estate in Shanghai is owned by Taiwanese 02:45
j4jackj that's epically backwards
02:45 JimmyZ joined
bonsaikitten and no one cares. business is good, no time for hate 02:45
JimmyZ masak: Here are some chinese people actually :)
j4jackj I think just to be fair, Red China should hand over the entire south east of china (and tibet for that matter) to Taiwan
JimmyZ masak: Not just me :P
j4jackj zuz 02:46
bonsaikitten j4jackj: and the US should return New Mexico and parts of Texas
j4jackj i know tibet is southwest...
bonsaikitten heh
j4jackj bonsaikitten: hahaha
but still
JimmyZ masak: 早上好
j4jackj taiwan and prc should have a roughly equal split
masak JimmyZ: 早上好 :)
j4jackj just to even out the bullshit between them
bonsaikitten I don't agree with chinese territorial policy, but they do have enough guns to make a very good case for it
j4jackj LOL
masak .oO( NO LOL ) 02:47
JimmyZ masak: 所以什么时候离开?
j4jackj masak: suriesly
masak .oO( NO PROJECT EULER )
j4jackj Hmm, if <insert China's current head of state> and <insert blue China's current head of state> appoint me as their mediator, should I go to their talk?
bonsaikitten j4jackj: do you like being accidentally suicided? ;) 02:48
j4jackj lol
wtfux.
bonsaikitten: suriesly...
masak JimmyZ: 下个星期三
j4jackj that doesn't even make sense
suicide = killing of self
Huh, I'm thinking of setting up a political blog. 02:49
This one would be specifically about the two Chinas
JimmyZ
.oO(We should speak Esperanto to avoid discussion on politics of any country
btyler on a more perl6-ish note, I saw this project (here, I think, in the backlog?): github.com/carbin/stomp -- commandline password manager in p6 using some p5 modules via Inline::Perl5. looks super neat, has anyone played with it?
j4jackj Hahahahahaha
bonsaikitten j4jackj: oh, there's some great police reports - man shoots himself with a long rifle in the back of the head, then pulls himself up on a rope. Obviously suicide!
JimmyZ so let's speak Esperanto :/ 02:50
bonsaikitten it does make me wonder how the physics of that work :)
masak JimmyZ: mi forlasos la Popolan Respublikon la sekvan merkredon.
j4jackj masak: all greek to me 02:51
bonsaikitten: where were you born?
oh cripes 02:52
i think i got bonsai v&
bonsaikitten j4jackj: vienna
j4jackj bonsaikitten: oh hah
bonsaikitten but that's completely unrelated to the rest anyway
JimmyZ masak: Ĉinio Nacia Tago 02:53
j4jackj all i can say is... china sucks mule balls
it might be a nice place, but you've got the remnants of failed communism and dictatorship everywhere
02:55 JimmyZ_ joined 02:58 JimmyZ left, JimmyZ_ is now known as JimmyZ
tony-o m: class a { has $!t; submethod BUILD (:t(:$B<!>t)) { }; }; a.new(:t(5)); a.t.say; 03:01
camelia rakudo-moar 0971a6: OUTPUT«===SORRY!=== Error while compiling /tmp/wkeTTAEKAX␤Unable to parse named parameter; couldnt find right parenthesis␤at /tmp/wkeTTAEKAX:1␤------> ass a { has $!t; submethod BUILD (:t(:$B⏏<!>t)) { }; }; a.new(:t(5)); a…»
tony-o should that work? has it changed since: doc.perl6.org/language/objects ? 03:02
03:02 gfldex joined
bonsaikitten j4jackj: says someone stuck in UK ;) 03:17
j4jackj bonsaikitten: s/UK/Canada/
bonsaikitten oh right, you managed to escape. 03:18
bonsaikitten hasn't got the best memory
if canada were further south I'd consider it ;)
j4jackj lel
vancouver is p good
bonsaikitten too far north. not enough sunlight
I want to move to a tropical location ... 03:19
j4jackj i would say Hawaii, but you're against the US. Phillipines?
bonsaikitten Carribean is quite nice, but hard to find work 03:20
TimToady is currently in Bowling Green, KY 03:22
j4jackj timotimo: nices
uh
TimToady: nices
03:23 Mouq joined
Mouq tony-o: That's a formatting error in the docs 03:23
dalek c: b3e9f26 | Mouq++ | lib/Language/objects.pod:
Fix formatto in objects.pod
03:25
Mouq m: class a { has $!t; submethod BUILD (:t(:$!t)) { }; method tee { $!t } }; a.new(:t(5)); a.tee.say; #tony-o 03:26
camelia rakudo-moar 0971a6: OUTPUT«===SORRY!=== Error while compiling /tmp/E01EibuZHP␤Name t used for more than one named parameter␤at /tmp/E01EibuZHP:1␤------> has $!t; submethod BUILD (:t(:$!t)) { }⏏; method tee { $!t } }; a.new(:t(5)); a.␤ …»
Mouq m: class a { has $!t; submethod BUILD (:$!t) { }; method tee { $!t } }; a.new(:t(5)); a.tee.say; #tony-o
camelia rakudo-moar 0971a6: OUTPUT«Cannot look up attributes in a type object␤ in method tee at /tmp/OGklxvORrc:1␤ in block <unit> at /tmp/OGklxvORrc:1␤␤»
Mouq m: class a { has $!t; submethod BUILD (:$!t) { }; method tee { $!t } }; a.new(:t(5)); a.new.tee.say; #tony-o
camelia rakudo-moar 0971a6: OUTPUT«(Any)␤»
Mouq Huhrm
m: class a { has $.t; submethod BUILD (:$!t)) { }; }; a.new(:t(5)).t.say; 03:28
camelia rakudo-moar 0971a6: OUTPUT«===SORRY!=== Error while compiling /tmp/D18O_KHgit␤Missing block␤at /tmp/D18O_KHgit:1␤------> lass a { has $.t; submethod BUILD (:$!t)⏏) { }; }; a.new(:t(5)).t.say;␤ expecting any of:␤ scoped decla…»
Mouq m: class a { has $.t; submethod BUILD (:$!t) { }; }; a.new(:t(5)).t.say;
camelia rakudo-moar 0971a6: OUTPUT«5␤»
Mouq *sigh* took long enough
dj_goku /win 11
03:29 Mouq left
tony-o they autobind now? 03:30
03:30 chenryn left 03:33 chenryn joined
dalek c: 36af6f7 | Mouq++ | lib/Language/objects.pod:
Another formatto and typo

These formattos are really attributable to =config being NYI
03:33
tony-o thank you mou 03:36
thank you mouq
03:48 JimmyZ left 04:05 raiph joined
jnthn .tell pmurias I'm fine with 4c5981159e being put in master 04:17
yoleaux jnthn: I'll pass your message to pmurias.
04:29 mberends_ left 04:32 mberends_ joined 04:47 nbrown joined 04:51 vukcrni joined, nbrown left 04:54 xenoterracide joined 05:02 raiph left 05:06 kaare_ joined 05:23 BenGoldberg left 05:24 xenoterracide left
moritz \o 05:24
but please cherry-pick, not merge :-) 05:25
tony-o ~~~~~~~~~~ 05:26
moritz \o 05:28
05:32 Mso150 joined 05:33 cxreg2 is now known as cxreg 05:34 firefish5000 joined 05:36 SamuraiJack joined 05:39 rindolf joined, Tene_ is now known as Tene 05:47 xenoterracide joined, nbrown joined 05:52 nbrown left 05:53 SamuraiJack left 06:22 jerrycheung joined 06:23 xenoterracide left 06:29 SamuraiJack joined 06:33 Mso150 left 06:34 Mso150 joined 06:39 ifim left 06:40 _slade_ left 06:45 SamuraiJack_ joined 06:46 SamuraiJack left 06:48 nbrown joined 06:50 xenoterracide joined 06:51 xinming joined 06:52 nbrown left 06:59 tinyblak joined 07:07 tinyblak left 07:12 xenoterracide left 07:17 darutoko joined 07:27 ribasushi joined 07:28 virtualsue joined 07:32 rurban joined 07:36 rurban1 joined, rurban left
dalek kudo/nom: 5022417 | jonathan++ | src/Perl6/Grammar.nqp:
Fix consecutive heredoc parse with Windows \r.

We failed to swallow enough after the stopper in this case, meaning that two consecutive heredocs led to an extra newline appearing in the second one.
07:44
ast: db49548 | jonathan++ | integration/advent2013-day04.t:
Make a test robust to source having \r.
07:49 nbrown joined 07:54 nbrown left 07:56 Akagi201 joined 08:02 tinyblak joined 08:16 Akagi201 left 08:22 rurban1 left
FROGGS_ does t/spec/integration/weird-errors.t also fail on nom? 08:22
hmmm, it only fails in a spectest run :/ 08:24
(in branch lax)
nine Oh how I hate it when I already have a trivial fix but fail to write a test reproducing the problem... 08:25
08:29 sqirrel__ joined 08:39 jack_rabbit left 08:46 Ven joined 08:47 anaeem1_ joined 08:50 nbrown joined 08:53 tinyblak left 08:54 nbrown left 08:59 Ven left, bjz left, bjz joined 09:05 jerrycheung left 09:06 sqirrel__ left
FROGGS_ hmmm, and t/spec/S02-types/baghash.rakudo.moar failed test 126 in a spectest run 09:10
09:34 Mso150 left 09:36 yeahnoob left 09:39 anaeem1_ left 09:41 anaeem1_ joined
dalek kudo/lax: 4d02272 | jonathan++ | docs/ROADMAP:
Remove tr///; it's been done.
09:44
rakudo/lax: ec60114 | jonathan++ | docs/ROADMAP:
rakudo/lax: Remove a couple of static optimizer tasks.
09:44 dalek left 09:45 mberends_ is now known as mberends, dalek joined, ChanServ sets mode: +v dalek 09:46 anaeem1_ left 09:50 nbrown joined 09:53 tinyblak joined 09:55 nbrown left 10:02 sqirrel__ joined 10:09 SamuraiJack_ left 10:11 tinyblak left, tinyblak joined 10:15 tinyblak left 10:17 Guest8332 left 10:20 spider-mario joined 10:22 rurban joined 10:40 sqirrel__ left
timotimo o/ 10:42
vendethiel \o 10:46
10:47 bowtie joined, bowtie is now known as Guest60421 10:51 nbrown joined 10:56 nbrown left 10:58 anaeem1_ joined 11:00 rurban left
grondilu Saluton al cxiuj :-) 11:00
11:02 virtualsue left 11:09 anaeem1_ left 11:10 anaeem1_ joined 11:12 yeahnoob joined 11:14 anaeem1_ left
dalek ast: 0004afd | (Tobias Leich)++ | S02-names/strict.pl:
add tests for (no/use) strict
11:17
ast: 292aaeb | (Tobias Leich)++ | S02-names/strict. (2 files):
fix file name (.pl => .t)
11:18
11:22 salv0 left
dalek kudo/nom: 5daa5de | (Tobias Leich)++ | / (5 files):
implement lax mode
11:23
11:27 SamuraiJack_ joined 11:29 ab5tract joined
FROGGS_ .tell daxim Please make sure that patch get manually applied to the libtommath that get bundled by opensuse 11:30
yoleaux FROGGS_: I'll pass your message to daxim.
11:31 FROGGS_ is now known as FROGGS
FROGGS .tell jnthn shall we add detailed information to the ROADMAP entries? like pointing to an RT ticket or rakudo issue with open TODOs for each? 11:32
yoleaux FROGGS: I'll pass your message to jnthn.
lizmat m: say $a 11:33
camelia rakudo-moar 502241: OUTPUT«===SORRY!=== Error while compiling /tmp/FoHQ5cmLqy␤Variable '$a' is not declared␤at /tmp/FoHQ5cmLqy:1␤------> say $a⏏<EOL>␤ expecting any of:␤ postfix␤»
11:33 virtualsue joined
FROGGS lizmat: since that executes a script here the strict mode is turned on 11:34
lizmat yeah, just checking
FROGGS m: 6; say $bar = 42 # that should work in a moment
camelia rakudo-moar 502241: OUTPUT«===SORRY!=== Error while compiling /tmp/cB8QUzxctR␤Variable '$bar' is not declared␤at /tmp/cB8QUzxctR:1␤------> 6; say $bar⏏ = 42 # that should work in a moment␤ expecting any of:␤ postfix␤»
lizmat $ 6 'say $a'
(Any)
FROGGS also "no strict" and "use strict" 11:35
lizmat $ 6 'use strict; say $a'
===SORRY!=== Error while compiling -e
Variable '$a' is not declared
yup :-)
FROGGS :o)
we should talk about general pragma handling in detail at some point
brb 11:36
lizmat yup, in ~ 14 days :-)
grondilu is amazed we finally have no strict
vendethiel is 6; specced to be "only" no strict? 11:37
I'll be reading the synopses again to complete my tutorial anyways 11:38
lizmat FROGGS: just a datapoint: 11:39
$ 6 'no strict "refs"; say $a'
===SORRY!=== Error while compiling -e
Missing semicolon.
11:40 salv0 joined
lizmat but we'll take just 'use strict' for now :-) 11:40
11:41 leont joined
FROGGS vendethiel / lizmat: the spec is very vague about what no strict is 11:41
dalek kudo/nom: 38453d1 | (Elizabeth Mattijsen)++ | docs/ChangeLog:
Finally lax arrives! FROGGS++
FROGGS so, strict is all about variable declaration at this point 11:42
lizmat yeah... it's a nice to have in -e right now
11:42 leont left
lizmat but perhaps not wise yet to have your code depend on 'no strict' :-) 11:43
11:44 tinyblak joined
grondilu what would be nice would be an '-e'-like option for no strict. Maybe '-E'? 11:47
lizmat -e *is* 'no strict'
grondilu oh?
lizmat if you pull and rebuild :-)
grondilu it is indeed. 11:48
cool
11:51 leont joined
vendethiel #!/usr/bin/perl 11:51
v6; $x = 1;
the example in S01 is wrong, it seems. 11:52
11:52 nbrown joined
lizmat hmmm... "But it should be easy to relax with C<-e> or a bare version number:" 11:55
"6" is not a version number, "v6" is
I would argue that FROGGS's implementation is not according to spec
also, I can see some people returning a bare '6' from a sub 11:56
m: sub a { 6 }
camelia ( no output )
lizmat m: sub a { 6 }; say a
camelia rakudo-moar 502241: OUTPUT«6␤»
lizmat m: 6; say $x
camelia rakudo-moar 502241: OUTPUT«===SORRY!=== Error while compiling /tmp/b_7I1gptsi␤Variable '$x' is not declared␤at /tmp/b_7I1gptsi:1␤------> 6; say $x⏏<EOL>␤ expecting any of:␤ postfix␤»
lizmat m: v6; say $x
camelia rakudo-moar 502241: OUTPUT«===SORRY!=== Error while compiling /tmp/CX3gqQEWKn␤Variable '$x' is not declared␤at /tmp/CX3gqQEWKn:1␤------> v6; say $x⏏<EOL>␤ expecting any of:␤ postfix␤»
11:57 nbrown left 12:02 virtualsue left
grondilu in rosettacode.org/wiki/Empty_program#Perl_6, 6; is mentionned as a way to use no strict; 12:04
FROGGS lizmat: "6" does only work when it is the first statement in a compunit 12:05
12:06 tinyblak_ joined 12:09 tinyblak left, virtualsue joined 12:10 nbrown joined 12:16 nbrown left 12:17 chenryn left 12:24 tinyblak_ left 12:27 FROGGS[mobile] joined, prevost joined 12:33 dwarring left 12:34 ab5tract left 12:39 BenGoldberg joined 12:40 FROGGS left 12:58 BenGoldberg left, BenGoldberg joined 13:01 virtualsue left 13:05 bjz left, bjz_ joined 13:12 nbrown joined 13:14 Guest60421 left 13:15 bowtie joined, bowtie is now known as Guest33157 13:17 nbrown left
timotimo i wonder if we should have a benchmark that stresses the use of proxy? 13:18
13:25 prevost left 13:29 kaare__ joined
jnthn timotimo: Can't hurt. We don't do any magic with it in spesh so far, so having a benchmakr to measure improvements when we do so would be worthwhile. 13:30
yoleaux 11:32Z <FROGGS> jnthn: shall we add detailed information to the ROADMAP entries? like pointing to an RT ticket or rakudo issue with open TODOs for each?
timotimo i'm experiencing a writer's block phase that's been going on for a long time now :\ 13:31
13:32 kaare_ left
jnthn .tell FROGGS hmm, I think the idea of the ROADMAP file is more that you can quickly scan through it... Maybe can find a way to annotate the entries like (1) and then at the botom (1) See omg.its.rt/42 blah blah 13:32
yoleaux jnthn: I'll pass your message to FROGGS.
jnthn timotimo: Having that now with my APW talk title/abstract... 13:38
jnthn hopes that returning home and being less tired will unblock him on Rakudo/Moar stuff 13:39
13:39 BenGoldberg left
timotimo jnthn: i was hoping i could build something cute and present it at APW 13:40
oh well.
13:42 panchiniak joined 13:46 gtodd joined 13:47 virtualsue joined
jnthn timotimo: There's still time... :) 13:53
13:55 yeahnoob left
timotimo i'll end up finishing it on the car ride to APW :P 13:57
or even worse, not get any sleep the night before the car ride ... >_< 13:58
13:58 kaare__ left 14:07 denis_boyun joined 14:10 spider-mario left 14:13 nbrown joined 14:16 colomon left 14:17 nbrown left 14:20 slavik left
timotimo good lord ... build times on rakudo-parrot were pretty long weren't they ... 14:23
14:23 colomon joined
FROGGS[mobile] jnthn: yes, I thought about adding #123 which refers to a github issue 14:30
jnthn Well, except we don't use github issues for Rakudo... 14:33
14:33 slavik joined 14:37 nbrown joined 14:42 telex left 14:44 telex joined 14:47 lichtkind joined 14:51 molaf joined 14:59 guru joined 15:00 guru is now known as ajr_
FROGGS[mobile] true :/ 15:03
jnthn now has a flight to the Austrian Perl Workshop :) 15:04
dalek ast: c8a5e7f | (Solomon Foster)++ | S03-operators/ (2 files):
Rearrange and re-fudge Bag symmetric difference.

Coming up with a definition of Bag symmetric difference changes the answers we are looking for. In addition I've moved the corresponding tests from set.t to bag.t, and fudged them because Rakudo cannot handle them properly yet. (ab5tract++ and I are working on making them work.)
15:05 bjz_ left, bjz joined 15:10 nbrown left 15:11 denis_boyun left 15:36 panchiniak left 15:40 nbrown joined 15:43 betterwo1ld joined 15:44 lizmat_ joined
lichtkind what is diff between $*CWD.path and $*CWD.directory? 15:44
15:45 nbrown left 15:47 betterworld left
tony-o m: say $*CWD.directory.WHAT; say $*CWD.path.WHAT; 15:51
camelia rakudo-moar 502241: OUTPUT«(timeout)»
firefish5000 lichtkind, If I were to guess, path would return the .path and actual working directory (eg. '/home/user'), and .directory like dirname, would return the directory containing CWD '/home'
tony-o id guess one is an IO::Path and the other isnt 15:52
r: say $*CWD.directory.WHAT; say $*CWD.path.WHAT;
weird
camelia rakudo-moar 502241: OUTPUT«(Str)␤(IO::Path)␤»
..rakudo-parrot 502241: OUTPUT«(timeout)»
..rakudo-jvm 502241: OUTPUT«Can't call method "syswrite" on an undefined value at /home/p6eval/jvm-rakudo/eval-client.pl line 32.␤»
tony-o m: say $*CWD.directory; 15:53
lichtkind tony-o, my real question is: why do they diplay a different dir
camelia rakudo-moar 502241: OUTPUT«(timeout)»
tony-o lichtkind: what version of p6 are you running? 15:54
lichtkind just pulled
colomon m: say <a a a b>.Bag (|) <a b c>.Set 15:55
camelia rakudo-moar 502241: OUTPUT«(timeout)» 15:56
colomon !!!
15:56 bjz left, bjz joined 15:57 xenoterracide joined 15:58 xinming left
lichtkind i noticed .directory always returdes one dir op 15:59
up, then .path
firefish5000 tony-o, for me, directory returns the containing directory for any path (like dirname, which is aproprate since... oh you noticed) 16:00
tony-o sounds like what firefish5000 sugessted
firefish5000 .directory works on both files and directorys and treats them the same. there should be something like .basename? (dont count on the name) which returns just the files name ('/home/user' -> 'user') 16:01
lichtkind i speak of what return $*CWD 16:02
16:03 ruoso joined
lizmat_ lichtkind: all of that is currently in flux with my rewrite of S16 and S32/Str 16:09
tony-o i don't get anything returned from $*CWD.directory in moar that i built two days ago
lizmat_ m: $*CWD.directory.say 16:10
tony-o nvm - .directory is a Str and .path is IO::Path
camelia rakudo-moar 502241: OUTPUT«(timeout)»
16:11 nbrown joined
lizmat_ :-( camelia about to die again ??? 16:11
lichtkind i use rakudo
tony-o because $*CWD is a IO::Path :-)
16:12 huva joined
lichtkind i just was confused that .path . directoy return something different 16:12
lizmat_ anyways, I've *specced* directory as:Returns the directory part of the path, not including the last item. Functions
equivalently to the C<dirname> shell program on Unix-like systems.
16:12 xenoterracide left
tony-o m: say $*CWD.path.path.path.path.path.directory eq $*CWD.directory 16:12
16:12 lizmat_ is now known as lizmat, xenoterracide joined
lichtkind lizmat, why? 16:12
camelia rakudo-moar 502241: OUTPUT«True␤»
lizmat because that was more or less what the old spec said 16:13
lichtkind i dont get the sense behind it
lizmat but I'm thinking of renaming it to "dirname"
tony-o well, it works that way, the part that is confusing is $*CWD.path is equivalent to $*CWD
lizmat .path on an IO::Path is a noop
firefish5000 and if you want 2 dirs up, use parent wich returns IO::Path. (directory returns Str.)
dirname would be nice, matches basename 16:14
tony-o lizmat: yea but i think that is more what is causing the confusion here, if it was understood that $*CWD.path IS $*CWD then .directory would make more sense
lichtkind at least ~$*CWD does what i expect
lizmat I'm actually considering making $*CWD a Str
but ~$*CWD should work 16:15
tony-o then we could do $*CWD.IO....
lizmat well, you already can:
tony-o it already IS
lizmat atm, .IO returns an IO::Path
(not a IO::Handle anymore)
tony-o yea and $*CWD is IO::Path :-)
lizmat yes
tony-o i'm smelling what you're stepping in 16:16
lizmat but I've run into a bit of a chicken-egg problem
16:16 virtualsue left
lizmat as for creating an IO::Path, I need a $*CWD (according to the new spec( 16:16
)
then how can $*CWD be an IO::Path ?? 16:17
tony-o ah
lichtkind i think people expect rathr cwd to be a string
methinks
tony-o i have modules that use $*CWD as a path
IO::Path
lizmat tony-o: how ? 16:18
how do they use $*CWD as an IO::Path ? 16:19
tony-o i use it for finding plugin modules 16:20
dalek ecs: c29d697 | (Elizabeth Mattijsen)++ | S32-setting-library/IO.pod:
IO::Spec.directory -> dirname, for clarity
16:20 xenoterracide left
tony-o or, possible plugin modules 16:20
16:20 nbrown left
tony-o oh nvm. i abandoned doing it that way 16:21
dalek kudo-star-daily: d8575cf | coke++ | log/MoarVM-version.log:
today (automated commit)
rl6-roast-data: 567fee9 | coke++ | / (5 files):
today (automated commit)
gtodd argh
lichtkind btw $?FILE could also be complete path of the file :)
gtodd building Inline::Perl5 .... "Memory allocation failed; could not allocate 32 bytes"
sporadic sort of error
oops not Inline::Perl5 I meant "v5" 16:22
it errors trying to build Perl5::Grammar somewhere ... this is using "panda install v5"
lizmat lichtkind: there is nothing specced about the absoluteness of $?FILE 16:25
lichtkind i would find it rather nice obsolete findbin at least this part 16:26
16:27 xenoterracide joined
FROGGS[mobile] gtodd: I think a nqp change broke v5 lately... I'll check in a bit 16:32
16:32 rurban joined 16:33 SamuraiJack_ left 16:52 virtualsue joined 17:06 ab5tract joined 17:10 nbrown joined 17:12 ab5tract left 17:17 kaare_ joined, beastd joined
itz hmm the synopsis use p5 pod not p6 don't they (?) 17:17
17:18 xenoterracide left
lizmat except S26, afaik 17:20
moritz itz: yes, except S26