»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or rakudo:, or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_logs/perl6 | UTF-8 is our friend!
Set by moritz on 22 December 2015.
MasterDuke but i would suggest adding ', it must be inside a sub or block', or something like that, to the message 00:00
00:00 cognominal left
BenGoldberg m: { $^a++ }.say; 00:01
camelia rakudo-moar 971e14: OUTPUT«-> $a { #`(Block|68813512) ... }␤»
BenGoldberg m: { $^a++ }().say;
camelia rakudo-moar 971e14: OUTPUT«Too few positionals passed; expected 1 argument but got 0␤ in block <unit> at <tmp> line 1␤␤»
00:01 cognominal joined
BenGoldberg m: { $^a++ }.(42).say; 00:01
camelia rakudo-moar 971e14: OUTPUT«Cannot resolve caller postfix:<++>(Int); the following candidates␤match the type but require mutable arguments:␤ (Mu:D $a is rw)␤ (Int:D $a is rw)␤␤The following do not match for other reasons:␤ (Bool:D $a is rw)␤ (Bool:U $a is rw…»
masak I use "mainline" to mean something roughly equivalent to "outside any routine"
BenGoldberg m: { $^a++ }.(Scalar.new(42)).say; 00:02
camelia rakudo-moar 971e14: OUTPUT«Cannot make a Scalar object using .new␤ in block <unit> at <tmp> line 1␤␤»
BenGoldberg m: { $^a++ }.([42][0]).say; 00:03
camelia rakudo-moar 971e14: OUTPUT«Cannot resolve caller postfix:<++>(Int); the following candidates␤match the type but require mutable arguments:␤ (Mu:D $a is rw)␤ (Int:D $a is rw)␤␤The following do not match for other reasons:␤ (Bool:D $a is rw)␤ (Bool:U $a is rw…»
babydrop heh
MasterDuke i don't think "mainline" is too hard to figure out, but it's the first time/place i've ever seen that word used in all my programming experience
00:03 cyphase left
PerlJam MasterDuke: what about "Cannot use placeholder parameter $^a outside of sub or block" ? 00:03
babydrop +1
MasterDuke +1 00:04
BenGoldberg m: { $^a++ }.(Proxy.new: FETCH => { 42 }, STORE => &say );
camelia rakudo-moar 971e14: OUTPUT«Cannot resolve caller postfix:<++>(Int); the following candidates␤match the type but require mutable arguments:␤ (Mu:D $a is rw)␤ (Int:D $a is rw)␤␤The following do not match for other reasons:␤ (Bool:D $a is rw)␤ (Bool:U $a is rw…»
BenGoldberg m: { $^a = $^a + 1 }.(Proxy.new: FETCH => { 42 }, STORE => &say ); 00:05
camelia rakudo-moar 971e14: OUTPUT«Cannot assign to a readonly variable ($a) or a value␤ in block <unit> at <tmp> line 1␤␤»
babydrop BenGoldberg: it'll be read-only regardless of what you stick into the arguments
dalek ateverable: 3ac4ca3 | (Aleks-Daniel Jakimenko-Aleksejev)++ | Whateverable.pm6:
Fix occasional crashes associtated with timeouts

Just sending a SIGHUP does not mean that we can close the channel, the process is probably still alive and it will attempt to send stuff into a closed channel.
This fixes #60. Previously this was the cause of MoarVM panics (until it was fixed in Rakudo), but generally this is our fault.
However, there is still at least one bug in rakudo, which is why we did not notice this problem right away. When the command prints a lot of stuff into stdin, it will never time out. The whole thing is stuck in a Proc::Async tap, without giving any chance for Promice.in(…) to fire up.
BenGoldberg Do I need an 'is rw'?
babydrop or is copy
BenGoldberg m: ( -> $a is rw { ++$a })(Proxy.new: FETCH => { 42 }, STORE => &say );
camelia rakudo-moar 971e14: OUTPUT«4243␤»
BenGoldberg m: ( -> $a is rw { $a = 'Mu' } )(Proxy.new: FETCH => { 42 }, STORE => &say ); 00:07
camelia rakudo-moar 971e14: OUTPUT«42Mu␤»
00:07 Perl6Robot joined
Perl6Robot OHAI! 00:07
00:07 Perl6Robot left
AlexDaniel :) 00:07
00:07 Perl6Robot joined
Perl6Robot OHAI! 00:07
00:07 Perl6Robot left 00:08 Perl6Robot joined, Perl6Robot left, cyphase joined
BenGoldberg just realized that our various 6bots all use ipv6. Cool! 00:08
00:10 sena_kun left
AlexDaniel BenGoldberg: why is that surprising? These bots are running on a proper server, and all servers nowadays have decent ipv6 support 00:11
the issue is much worse on the client side, that's true. Is there anybody running a bot from home? :)
BenGoldberg To be honest, I would never have noticed if not for seeing the raw address in the irc messages: "Perl6Robot (~z@2001:41d0:2:5eb5::) has Joined #perl6" etc. 00:12
I'm guessing that either freenode doesn't yet do reverse ip6 lookup, or something is misconfigured, or perhaps our server doesn't have a name. 00:14
geekosaur I think it does them, but either usually doesn't get an answer fast enough or has a bad upstream DNS; many but not not all ipv6 hosts seem to not get resolved 00:15
for example, it usually gets the linode I'm on right 00:16
AlexDaniel BenGoldberg: whateverables are running on my server though, not hack
konobi you need PTR records
geekosaur and last time I checked it was using ipv6, although maybe I broke that when I switched over to secure connections 00:17
konobi your IP transit provider should be able to delegate the in.arpa zones to a nameserver of your choice if you want them to be reverse resolvable
AlexDaniel yea, I have to do that 00:23
00:24 zakharyas left
AlexDaniel .tell jnthn hey! Turns out there was a bug in our code, so I guess you fixed everything. However, I found another issue: gist.github.com/AlexDaniel/44e5cde...6fe04b9c1d 00:26
yoleaux AlexDaniel: I'll pass your message to jnthn.
00:26 pierre_ joined
AlexDaniel .tell is it a known issue? Somehow I feel that it is. Basically, a lot of output on stdout of the process started with Proc::Async clogs up something in rakudo (well, the tap itself), and Promise.in(1) does not fire up at all because of that 00:28
yoleaux AlexDaniel: I'll pass your message to is.
AlexDaniel .tell jnthn is it a known issue? Somehow I feel that it is. Basically, a lot of output on stdout of the process started with Proc::Async clogs up something in rakudo (well, the tap itself), and Promise.in(1) does not fire up at all because of that
yoleaux AlexDaniel: I'll pass your message to jnthn.
AlexDaniel oops. :)
poor “is” will get this message on day. I wonder what his reaction would be 00:29
00:29 AlexDaniel is now known as is
is . 00:29
yoleaux 00:28Z <AlexDaniel> is: it a known issue? Somehow I feel that it is. Basically, a lot of output on stdout of the process started with Proc::Async clogs up something in rakudo (well, the tap itself), and Promise.in(1) does not fire up at all because of that
00:29 is is now known as AlexDaniel
AlexDaniel or maybe not 00:29
00:29 canopus left 00:32 pierre__ joined 00:33 pierre_ left
AlexDaniel eval: say :35<lizmat> 00:34
00:34 skrshn joined, evalable6 joined
AlexDaniel eval: say :35<lizmat> 00:34
skrshn how do you read commands from a file in the REPL?
AlexDaniel evalable6: say :35<lizmat> 00:35
00:35 canopus joined
AlexDaniel evalable6: come on, cooperate 00:35
MasterDuke skrshn: EVALFILE might do what you want 00:36
00:40 evalable6 left, evalable6 joined 00:41 lizmat joined
BenGoldberg thinks that yoleaux should ask for confirmation, if you .tell to a name which it hasn't ever seen before. 00:42
dalek ateverable: 6139b4f | (Aleks-Daniel Jakimenko-Aleksejev)++ | Whateverable.pm6:
OK, but now we also have to sink-try it
00:47
00:47 evalable6 left, bisectable6 left, benchable6 left, committable6 left, unicodable6 left, benchable6 joined, bisectable6 joined, committable6 joined, unicodable6 joined, evalable6 joined, ChanServ sets mode: +vv bisectable6 committable6
AlexDaniel evalable6: say :35<lizmat> 00:47
evalable6 AlexDaniel, rakudo-moar 0c3d9e8: OUTPUT«(exit code 1) ===SORRY!=== Error while compiling /tmp/vqYCnTbRBb␤Invalid base-35 character: li<HERE>zmat␤at /tmp/vqYCnTbRBb:1␤------> say :35<lizmat><HERE><EOL>»
AlexDaniel … where? 00:49
m: say :35<lizmat>
camelia rakudo-moar 0c3d9e: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Invalid base-35 character: 3li7⏏5zmat␤at <tmp>:1␤------> 3say :35<lizmat>7⏏5<EOL>␤»
AlexDaniel ok, let's say this is OK 00:51
PerlJam z must be a really special character
AlexDaniel (though I was expecting something like “invalid base-35 character ‘z’”
)
PerlJam That would be more informative 00:52
AlexDaniel PerlJam: well, it's just not a base-35 character :)
well I was staring at “li⏏zmat” for a minute and my conclusion is that it is good enough
li→z←mat :) 00:53
00:53 seatek joined
PerlJam More informative would be a message that says what the valid characters are. 00:54
skrshn MasterDuke: thanks 00:55
AlexDaniel PerlJam: well, that's a good point 00:56
AlexDaniel submits rakudobug
01:04 pierre__ left 01:11 rindolf left 01:20 aborazmeh joined, aborazmeh left, aborazmeh joined 01:22 zamanf joined 01:24 bjz_ left 01:30 cognominal left 01:33 cognominal joined 01:38 cxreg left 01:39 mad__ left, diakopter left 01:40 pyrimidine joined 01:43 dataf3l joined 01:44 dataf3l left 01:45 pyrimidine left 01:46 diakopter joined, giraffe left
samcv .seen MadCapJake 01:53
yoleaux I saw MadcapJake 2 Dec 2016 06:23Z in #perl6: <MadcapJake> well I'm gonna fiddle with this laptop some more and then hit the hay. Glad to be back! See you this weekend!
samcv ready for 1.9 to be released now for Atom syntax highlighter
just fixed an annoying one, where regex didn't highlight anywhere except after = , ) { ~ symbols. so got around it 01:55
well. fixed the specific issue where bare regex used like => / / wouldn't highlight and also made rx/ / or m/ / anywhere, even after things it 'thinks' mean a regex is possible to follow 01:56
i've thought all day about how for it to recognize if bare / / is a regex and not the / operator. but haven't been able to come up with anything that would work 01:57
so bare ones at least work in almost all normal places at least and you can get it to highlight right 01:58
01:59 giraffe joined
skrshn I can use ^methods to get the methods of a object. How do I drill more and get the different ways to construct an object? I.e., getting more information for things like Method+{<anon|140540621714592>}.new ? 02:01
02:03 pyrimidine joined
MasterDuke m: for IO::Path.^methods.grep({.name ~~ /"new"/}) {say .name ~ .signature.perl} 02:07
camelia rakudo-moar a2ede3: OUTPUT«new:(RESTRICTED-CLASS $: | is raw)␤»
MasterDuke m: for Seq.^methods.grep({.name ~~ /"new"/}) {say .name ~ .signature.perl} 02:08
camelia rakudo-moar a2ede3: OUTPUT«new:(Seq $: Iterator:D $iter, *%_)␤new-consumed:(Seq $: *%_)␤»
02:08 pyrimidine left
MasterDuke skrshn: ^^^ something like that? 02:08
skrshn MasterDuke: perfect. thanks 02:12
Actually, no
Without reading the documentation, I wanted to know how I can create a new Date object for instance 02:13
seatek samcv: is that atom editor including your recent fixes to highlighting perl6, if you build the editor from source?
02:13 bjz joined
skrshn I wanted to get something that will tell me one option is Date.new(:year(2016), :month(12), :day(3)) 02:14
m: for Date.^methods.grep({.name ~~ /"new"/}) { say .name ~ .signature.perl } 02:15
camelia rakudo-moar a2ede3: OUTPUT«new:(Date $: | is raw)␤new-from-daycount:(Date $: $daycount, :&formatter, *%_)␤»
skrshn this does not tell me that
02:15 cibs left
skrshn Is this even possible to find apart from reading documentation? 02:16
02:17 cibs joined
seatek skrshn: new is where you pass in the attributes you'd like to defined on construction right? You're asking if there is a way to know ahead of time what attributes are necessary for object object construction? 02:19
02:20 diakopter left
skrshn seatek: yes. If I had not idea how to construct an object, say Date, I wanted to know all the different ways I can construct a new Date object 02:21
seatek so you want a list of all attributes for a class?
skrshn I want to do this just by doing meta object queries
02:22 rodarmor left
skrshn I know you can get that from ^attributes. But sometimes, the constructor may be different from that 02:22
MasterDuke interesting. if you look at github.com/rakudo/rakudo/blob/nom/...re/Date.pm there definitely are more new()s than Date.^methods shows
02:23 rodarmor joined
seatek oh i see, where someone has overridden the normal new, which slurpily takes in everything 02:24
so you want to know when someone has overriden the normal way that "stock" new exists, and what the signatures are for those overriden "new"s
02:25 pierre_ joined, pyrimidine joined 02:28 pierre_ left 02:30 cognominal left
babydrop reads the backlog and grumbles 02:30
mspo can I pass a block {} to a sub? 02:32
babydrop mspo: yes
02:33 cognominal joined
MasterDuke babydrop: any idea what we're missing about ^methods? it doesn't seem to show multies (multis? which does [Coke] prefer?) 02:35
babydrop m: for Date.^methods.grep({.name ~~ /"new"/}) { say .name ~ .signature.perl ~ .candidates } 02:36
camelia rakudo-moar a2ede3: OUTPUT«Method object coerced to string (please use .gist or .perl to do that)␤ in block at <tmp> line 1␤Method object coerced to string (please use .gist or .perl to do that)␤ in block at <tmp> line 1␤Method object coerced to string (please use .gist …»
babydrop Nah, I'm going to go back to sleep.
ugexe m: sub foo(Block $block) { say $block() }; foo { 42 * 10 } 02:37
camelia rakudo-moar a2ede3: OUTPUT«420␤»
mspo oh just Block type
seems so obvious now ;)
MasterDuke m: for Date.^methods(:local).grep({.name ~~ /"new"/}) {for .candidates { say .name ~ .signature.perl } } 02:38
camelia rakudo-moar a2ede3: OUTPUT«new:(Date $: $year, $month, $day, :&formatter, *%_)␤new:(Date $: :$year!, :$month = 1, :$day = 1, :&formatter, *%_)␤new:(Date $: Str $date, :&formatter, *%_)␤new:(Date $: Dateish $d, :&formatter, *%_)␤new:(Date $: Instant $i, :&formatter, *%_)␤ne…»
MasterDuke skrshn: ^^^
babydrop++
seatek babydrop++ MasterDuke++ :)
skrshn MasterDuke: +1 02:42
babydrop: +1
02:44 ilbot3 left 02:45 AlexDaniel left 02:46 cognominal left 02:47 cognominal joined, ilbot3 joined
skrshn Has anyone used Julia? How does it its multi-dispath compare with Perl6? 02:56
02:58 diakopter joined
skrshn Its claim to fame is in c-like performance using a JIT and type information 02:58
I can't wait for Perl6 to get there :-). 02:59
03:01 cognominal left, cognominal joined
mspo julia embeds llvm I think 03:12
03:16 cognominal left, cognominal joined
babydrop mspo: well, the type constraint is not required. In fact, by restricting it to block, you're throwing away, Sub and WhateverCode 03:21
03:21 noganex_ joined 03:22 cxreg joined
skrshn mspo: that is correct 03:22
03:24 noganex left, thowe left 03:30 kurahaupo_ left 03:31 cognominal left, cognominal joined 03:32 kurahaupo__ joined
skrshn what is the difference between put and say? I was not able to glean that from the docs 03:32
03:33 skids joined
babydrop skrshn: say calls .gist, put calls .Str 03:34
MasterDuke doesn't say also truncate after a certain number of bytes?
babydrop Nope
.gist of List outputs only first 100 els tho 03:35
MasterDuke ahh, that's what i was thinking of
skrshn babydrop: thanks 03:36
03:37 kurahaupo left 03:38 kurahaupo joined 03:45 tadzik left, M-Illandan left, Matias[m] left, Matthew[m] left 03:46 ilmari[m] left, dp[m] left, cognominal left, cognominal joined
babydrop Oh no... the matrix crashed! 03:46
03:49 mrsolo left
dalek c: c2b2b1a | titsuki++ | doc/Type/Iterator.pod6:
Fix example of pull-one
03:55
c: 9a8e564 | titsuki++ | doc/Type/Iterator.pod6:
Merge pull request #1029 from titsuki/fix-pull-one

Fix example of pull-one
synopsebot6 Link: doc.perl6.org/type/Iterator
samcv seatek, you have to install Perl 6 FE 04:03
the builtin ''''Perl 6 Highlighter'''' basically highlights mostly like perl 5
but version 1.8 was released a few days ago has some of my fixes. Here's the changelog for v1.8, and v1.9 which will be released whenever MadCapJake does the pull github.com/samcv/language-perl6fe/...ANGELOG.md 04:05
it's a long list!
seatek samcv, thanks! :) I'll just install through a .deb then rather than compiling. so these are separately available modules... i'm really curious how the syntax highlighting will compare to emacs 04:08
and for regex vs op on '/' - seems like it would be very very hard without knowing the context of the stuff around it 04:09
that stuff makes me crazy, because it's SO MUCH thinking for so little a thing :)
emacs highligher gets confused by the use of < or > stuff around quotes '"' 04:10
so much so that i've mostly stopped using the <> syntax for hash keys 04:12
04:14 pyrimidine left 04:18 ilmari[m] joined 04:22 M-Illandan joined, Matthew[m] joined, tadzik joined, dp[m] joined, Matias[m] joined 04:23 TEttinger left 04:24 bjz left, TEttinger joined 04:27 jeek left 04:28 jeek joined
samcv seatek, yeah basically :P 04:33
before my changes it would only work if = , ( ) ~ or `when` were the thing preceeding it. or it was at the very start of the line. so added => as another whitelisted thing. 04:35
04:35 kurahaupo__ left
samcv plus also made rx/ or m/ always highlight no matter where it was, so you can always add that in case you're having it come after something odd 04:35
04:35 kurahaupo left
samcv well in version 1.9 it'll be like that 04:36
1.8 doesn't have that change
04:36 AlexDaniel joined
AlexDaniel m: say :35<lizmat> 04:36
camelia rakudo-moar 37ead5: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Invalid base-35 character 'z': 3li7⏏5zmat. Please use one of 0..9, A..Y␤at <tmp>:1␤------> 3say :35<lizmat>7⏏5<EOL>␤»
babydrop Don't tell me there's something wrong with it :) 04:37
AlexDaniel m: say :35<lizmatz>
camelia rakudo-moar 37ead5: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Invalid base-35 character 'z': 3li7⏏5zmatz. Please use one of 0..9, A..Y␤at <tmp>:1␤------> 3say :35<lizmatz>7⏏5<EOL>␤»
AlexDaniel well, it can probably tell about all invalid characters…
babydrop idly mentions my $x = 42|72 highlights 42 as a number, but 72 as not
AlexDaniel: I rather we didn't make an already dense method denser. 04:38
AlexDaniel babydrop: I'll think about it :D
but yes, what we have now is really good, I think 04:39
babydrop++
babydrop AlexDaniel: the error is different for :35('meows') form cause that one uses val()
AlexDaniel m: say :35('lizmatz')
camelia rakudo-moar 37ead5: OUTPUT«Cannot convert string to number: malformed ':35' style radix number, expecting '>' after the body in '3:35<li⏏5zmatz>' (indicated by ⏏)␤ in block <unit> at <tmp> line 1␤␤Actually thrown at:␤ in block <unit> at <tmp> line 1␤␤»
AlexDaniel oh and that's not a compile-time error
babydrop yeah
AlexDaniel so I guess people should prefer <> where possible? 04:40
babydrop I guess
samcv m: q'test'
camelia rakudo-moar 37ead5: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Two terms in a row␤at <tmp>:1␤------> 3q'test7⏏5'␤ expecting any of:␤ infix␤ infix stopper␤ statement end␤ statement modifier␤ statement modifier l…»
samcv AlexDaniel, do you know, i think this should work?
babydrop m: say :12(':36<inseption>')
camelia rakudo-moar 37ead5: OUTPUT«52644193907927␤»
04:40 bjz joined
samcv m: say q 'test' 04:40
camelia rakudo-moar 37ead5: OUTPUT«test␤»
AlexDaniel m: say q‘test’ 04:41
camelia rakudo-moar 37ead5: OUTPUT«test␤»
AlexDaniel hm
samcv yeah i found it while i was getting all the q's working in Atom P6 FE
babydrop samcv: it's cause ' is a valid identifier character. It's not supposed to work there
AlexDaniel right!
samcv but it works with a space? ah ok
so that should be documented
AlexDaniel m: say q-test-
camelia rakudo-moar 37ead5: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Missing required term after infix␤at <tmp>:1␤------> 3say q-test-7⏏5<EOL>␤ expecting any of:␤ prefix␤ term␤»
AlexDaniel m: say q -test-
camelia rakudo-moar 37ead5: OUTPUT«test␤»
AlexDaniel same thing
samcv say q -test-
m: say q -test- 04:42
camelia rakudo-moar 37ead5: OUTPUT«test␤»
samcv ah kk
AlexDaniel well, but… that's LTA
samcv what's LTA stand for? 04:43
babydrop It's perfectly fine
AlexDaniel less than awesome
babydrop You don't call qameowa LTA.
AlexDaniel babydrop: well, it would've been awesome if it said that you have to use a space there…
samcv yeah S02 seems to imply it should work. idk should i file a bug on it or no?
babydrop There's 10FFFF give or take characters available for use, we can live with a few thousand not being available.
AlexDaniel samcv: no
samcv ok so that's the correct functionality
it not working 04:44
AlexDaniel yes it's correct
samcv just the error isn't that great
AlexDaniel yes, not sure if there is a way to improve it though
samcv ok, so i'll make a PR for the docs to say you can't use docs.perl6.org/language/syntax#Identifiers any of these
04:44 m0ltar left
samcv so it's documented 04:44
babydrop commit directly
AlexDaniel samcv: yes please, though you can use them if you use a space, I think?
samcv yeah exactly
every thing i tried works if you use a space 04:45
babydrop m: say q ameowa
camelia rakudo-moar 37ead5: OUTPUT«5===SORRY!5=== Error while compiling <tmp>␤Alphanumeric character is not allowed as a delimiter␤at <tmp>:1␤------> 3say q7⏏5 ameowa␤»
AlexDaniel () don't work without a space too
babydrop heh
IIRC that works in Perl 5 :)
AlexDaniel u: pile of poo 04:46
unicodable6 AlexDaniel, U+1F4A9 PILE OF POO [So] (💩)
AlexDaniel m: say q 💩meow💩
camelia rakudo-moar 37ead5: OUTPUT«meow␤»
AlexDaniel m: say q💩meow💩
camelia rakudo-moar 37ead5: OUTPUT«meow␤»
AlexDaniel with space or without, poo works
samcv i tried to get all those weird things to work
but for whatever reason it wasn't working :( 04:47
i mean i have it working for heredocs
but i have no clue why it failed to work for whatever you wanted
AlexDaniel m: say Q:w'test' 04:49
camelia rakudo-moar 37ead5: OUTPUT«5===SORRY!5===␤Unrecognized adverb: :w'test␤at <tmp>:1␤------> 3say Q:w'test7⏏5'␤Couldn't find terminator ' (corresponding ' was at line 1)␤at <tmp>:1␤------> 3say Q:w'test'7⏏5<EOL>␤ expecting any of:␤ '␤␤»
AlexDaniel babydrop: /o\ there are just too many cases to cover 04:50
is there a unicode character for /o\? 04:51
u: 🙆 04:53
unicodable6 AlexDaniel, U+1F646 FACE WITH OK GESTURE [So] (🙆)
AlexDaniel well… I'm not sure if that's ok
u: 💆 04:54
unicodable6 AlexDaniel, U+1F486 FACE MASSAGE [So] (💆)
samcv ugh literally put my regex through ruby, because that's the engine that atom/textmate/whatever uses 05:03
and it works fine
05:03 pyrimidine joined
samcv backreferences are used fine for the heredocs 05:04
05:11 pierre__ joined
babydrop star: use DBIish 05:12
camelia ( no output )
babydrop .tell stmuk_ does a R* install run module tests? If yes, may be worth ensuring this ticket is resolved prior to next release: github.com/perl6/DBIish/issues/77 05:13
yoleaux babydrop: I'll pass your message to stmuk_.
05:13 pierre__ left 05:14 pierre_ joined 05:15 BenGoldberg left
skrshn samcv: in your update, does if ( 1 <= @*ARGS.elems ) { ... } work? 05:16
samcv let me check 05:17
skrshn In the vim-perl module, it does not work
samcv i.imgur.com/OBmXG9m.png
looks fine 05:18
05:18 pierre_ left
skrshn awesome 05:18
babydrop skrshn: FWIW .elems isn't needed there
Arrays does Cool
MasterDuke neither are those () around the conditional 05:19
samcv skrshn, it seems to work for me with vim?
babydrop aye
samcv maybe it's part of a larger amount of text that's breaking it?
skrshn hmmm
samcv do you have the full text?
05:19 pierre_ joined
MasterDuke i get bad hightlighting in vim for that text 05:19
samcv filetype is perl6? 05:20
MasterDuke starting from the <
yeah 05:21
samcv this is what i get i.imgur.com/Wh7jfwy.png
skrshn This is what I get : imgur.com/a/6Mvkk
Where r u getting vim-perl from? 05:22
I am using 'vim-perl/vim-perl'
samcv i think just whatever's in vim but
github.com/vim-perl/vim-perl6
this is where they moved it to
MasterDuke i.imgur.com/RzVOkno.png
skrshn MasterDuke: that is what I am getting too 05:23
both vim-perl/vim-perl and vim-perl/vim-perl6 does not work for me
samcv hm 05:24
that's... weird
05:24 khw left
samcv skrshn, that's what i see if i set the filetype to perl 05:24
:set ft=perl6
skrshn No.. mine is set to perl6 05:25
samcv hmm
well. i see exactly what you see if i set filetype to perl
skrshn btw.. I am using vim8.0 on mac .. not sure if that has anything to do with it
MasterDuke vim8.0 on linux here 05:26
samcv this is what i see i.imgur.com/NVzXWHC.png
I'm using arch. didn't install any plugin just what vim came with. though
i think it's the same as in that repo? 05:27
i mean i made a PR to the perl6 one
i remember it being the same
sec
skrshn imgur.com/a/1qLwE
MasterDuke i'm using arch also 05:28
samcv hmm..
wtf
this is my vimrc gitlab.com/samcv/dot-files/blob/master/_.vimrc
MasterDuke my ~/.vimrc is 'set mouse-=a' 05:30
what's the md5sum of your ~/.vim/syntax/perl6.vim? 05:31
skrshn samcv: it works if I use your vimrc 05:32
samcv it highlights fine even if i remove my vimrc or run vim as root
oh?
\o/
MasterDuke mine is 683772507d529bcf195b549d9152326b
samcv /usr/share/vim/vim80/syntax/perl6.vim mine's here
3dd289aa3adbdd2f3a47fda089fb637a
skrshn imgur.com/a/qW9g0 05:33
samcv skrshn, using my vimrc?
skrshn yes
samcv lemme do a diff
between git perl6 vim and the one i have
MasterDuke ah, i removed my ~/.vim/syntax/perl6.vim and now it highlights that line fine 05:34
samcv heh
heh cry.nu/p/x20b this is a diff 05:35
i think they're mostly the same one's just been preprocessed or something 05:36
idk. submitted a PR to vim-perl. a while later they tell me to do the PR in vim-perl6
and it's been months?
no reply
skrshn so I removed both vim-perl and vim-perl6.. only used the default one that came with vim8.0 -- works! 05:38
samcv sweet 05:39
yeah i think the one in that repo isn't 'preprocessed'
so i think that's causing the issues
for more complex things or something? no clue
skrshn or there might have been a regression 05:40
05:40 darutoko joined 05:41 pierre__ joined
skrshn I also see this imgur.com/a/pR8XH 05:41
05:42 pierre_ left
skrshn samcv: do you know of anything in the atom/perl6fe version that works better than what is there in vim8.0? 05:44
samcv uhm
skrshn I have not gone through the changelogs in detail
you don't have to be exhaustive.. just few or many .. I ssh into machine so atom is not an option for me 05:45
samcv uh
heh looks like they have the same issue with Q[] quoting forms highlighting characters that shouldn't be escaped 05:47
well looking at it here it doesn't allow q{{}} q(()) though that's not that big 05:48
skrshn, you should check the changelog github.com/samcv/language-perl6fe/...ANGELOG.md
skrshn yes
samcv well it only is there for 1.8 and the soon to be released 1.9, whenever madcapjake takes my pull
it's not thatttt long a list
idk i haven't used vim too heavily for a while. i know it was mostly good when i was using it. but i wasn't doing as many things with it then 05:49
oh it can do heredocs
doesn't seem to work on vim 05:50
skrshn Ok
good to know
samcv heh even got q:to/📝🔚/ working recently 05:51
well today actually
let me check if vim lets you nest “ ” or q[ [] ]
05:52 rburkholder left
samcv ok it doesn't support fancy quotes at all 05:52
uhhh it doesn't support multiline comments 05:53
seatek does atom do multiple file split vertically?
samcv yes
seatek ooo!
and horizontally to then yes? 05:54
samcv like #`( #`(( #`( #`「 idk not gonna list them all
yeah seatek
seatek and perl6 syntax highlight?
samcv yeah
seatek emacs keybindings?
samcv you can get a plugin for that
pretty sure
seatek i'm feeling... happiness?
samcv aww vim doesn't support multi line comments at all. that's pretty lame 05:55
seatek emacs does awesome at multiline comments. even helps you out with them
skrshn yes it is
samcv can even nest #`( ( ) ) them in atom now too
skrshn didn't notice yet
samcv and it'll match them
seatek so can you easily program search/replace macros pretty easily in atom? 05:56
such as... like in emacs i frequently "record" keystrokes... and play them back