IRCloggy #perl6 2018-07-05

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2018-07-05

benjikun2benjikun00:06
g- joined00:18
stee3 joined00:22
stee left00:26
Khisanth left00:27
zachk left00:32
fake_space_whale joined00:33
enheh joined00:40
Khisanth joined00:41
Zoffix joined00:43
Zoffix AlexDaniel: is it OK to pre-gen Rakudo's next release announcement? I wanna include the list of people that were missed due to R#2024 in it… once I have it. But I already know there's gonna be at least one human in the list.00:44
synopsebot R#2024 [open] : https://github.com/rakudo/rakudo/issues/2024 [⚠ blocker ⚠] Missing MoarVM contributors since 2016.09 release 00:44
AlexDaniel Zoffix: go for it00:45
Zoffix k00:45
AlexDaniel Zoffix: thanks for taking care of that, by the way00:45
blackberry9900 left00:47
blackberry9900 joined00:50
spycrab0 left01:09
blackberry9900 left01:17
blackberry9900 joined01:17
blackberry9900 left01:23
blackberry9900 joined01:24
Zoffix m: "foo" ~~ /$<meow>=.+/; say [:$<meow>]01:30
camelia rakudo-moar 7a87b7f55: OUTPUT: «[meow => 「foo」]␤»01:30
Zoffix Haw :) Totally missed that in https://rakudo.party/post/Perl-6-Colonpairoscopy01:31
BlackBerry9999 joined01:38
Zoffix The only thing missing from it is stringification :)01:40
m: "2016-03-03" ~~ /$<year>=\d+ \- $<month>=\d+ $<day>=\d+/; say Date.new: :$<year>, :$<month>, :$<day>01:40
camelia rakudo-moar 7a87b7f55: OUTPUT: «Month out of range. Is: 0, should be in 1..12␤ in block <unit> at <tmp> line 1␤␤»01:40
Zoffix oh wait, my regex is off :)01:41
m: "2016-03-03" ~~ /$<year>=\d+ \- $<month>=\d+ \- $<day>=\d+/; say Date.new: :$<year>, :$<month>, :$<day>01:41
camelia rakudo-moar 7a87b7f55: OUTPUT: «2016-03-03␤»01:41
Zoffix hurray \o/01:41
blackberry9900 left01:41
Zoffix (yes, I know you can just give that string directly; my original date is in another format)01:41
BlackBerry9999 left01:44
enheh left01:52
BlackBerry9999 joined01:56
subroot joined02:06
lizmat left02:33
BlackBerry9999 left02:40
Zoffix m: my ($s1, $s2) := "foo,bar\nber,baz".split("\n").map: { .trim.split: /\s*\,\s*/ }; dd $s102:40
camelia rakudo-moar 8fee8d485: OUTPUT: «$(("foo", "bar").Seq)␤»02:40
Zoffix Why is it containerized? Bug?02:40
m: my ($s1, $s2) := "foo,bar\nber,baz".split("\n").map({ .trim.split: /\s*\,\s*/ })».<>; dd $s102:41
camelia rakudo-moar 8fee8d485: OUTPUT: «$(("foo", "bar").Seq)␤»02:41
Zoffix huh :/02:41
Ben_Goldberg joined02:42
BenGoldberg left02:42
Ben_GoldbergBenGoldberg02:42
Zoffix m: sub ($s1, $s2) { dd $s1, $s2}(|"foo,bar\nber,baz".split("\n").map: { .trim.split: /\s*\,\s*/ })02:44
camelia rakudo-moar 8fee8d485: OUTPUT: «Seq $s1 = $(("foo", "bar").Seq)␤Seq $s2 = $(("ber", "baz").Seq)␤»02:44
Zoffix TIL02:44
m: my ($s1 is raw, $s2 is raw) := "foo,bar\nber,baz".split("\n").map: { .trim.split: /\s*\,\s*/ }; dd $s102:45
camelia rakudo-moar 8fee8d485: OUTPUT: «("foo", "bar").Seq␤»02:45
Zoffix m: my (\s1, \s2) := "foo,bar\nber,baz".split("\n").map: { .trim.split: /\s*\,\s*/ }; dd s102:45
camelia rakudo-moar 8fee8d485: OUTPUT: «("foo", "bar").Seq␤»02:45
Zoffix I win :)02:45
subroot left02:48
BlackBerry9999 joined02:50
kjk left02:50
Zoffix Why is it printing "second set got more stuff" when clearly first set contains 'Warring' yet second one doesn't? https://gist.github.com/zoffixznet/aaadf78817352bad377f824ae76e964c03:13
Ah, ok.03:14
The name isn't the right name, and I've used the ∖ op the wrong way03:15
wamba left03:15
Zoffix First set has these extra elements: David Warring03:17
Second set has these extra elements: Arne Skjærholt, Bart Wiegmans03:17
That's the actual answer :P03:17
That's an interesting error: "Too many positionals passed to '<unit>'; expected 2 arguments but got 3" :P03:27
ah03:28
m: my ($) := (1, 2)03:28
camelia rakudo-moar f6c8159d2: OUTPUT: «Too many positionals passed to '<unit>'; expected 1 argument but got 2␤ in block <unit> at <tmp> line 1␤␤»03:28
Zoffix R##202703:30
R#202703:30
synopsebot R#2027 [open] : https://github.com/rakudo/rakudo/issues/2027 [LTA] LTA error when giving wrong number of args to signature-binding `my` form 03:30
Zoffix ZofBot: did you robots kill all humans? It's pretty quiet up in here. I know you were gonna spare me from the killin', 'cause we're best buds and everything, but would you tell me when you guys… you know… do it?03:31
jeromelanteri left03:35
BlackBerry9999 left03:43
BlackBerry9999 joined03:49
jeromelanteri joined03:52
BenGoldberg left03:52
BlackBerry9999 left03:54
BlackBerry9999 joined03:54
BlackBerry9999 left03:54
Khisanth left03:57
fake_space_whale left04:08
Khisanth joined04:09
xtreak joined04:28
BlackBerry9999 joined04:30
BlackBerry9999 left04:32
BlackBerry9999 joined04:32
leah2 joined04:45
curan joined04:51
jmerelo joined05:02
jmerelo squashable6: status05:02
squashable6 jmerelo, GitHub is down05:02
AlexDaniel what05:02
jmerelo Uh-oh05:02
AlexDaniel squashable6: status05:02
squashable6 AlexDaniel, GitHub is down05:02
AlexDaniel squashable6 are you drunk05:02
squashable6 joined05:03
ChanServ set mode: +v05:03
AlexDaniel squashable6: status05:03
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in 1 day and ≈4 hours (2018-07-07 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day05:03
AlexDaniel shrugs05:03
AlexDaniel did github ban its ipv4 address for some reason? Hmm…05:03
that's just a guess05:04
no, it didn't05:04
I think squashable6 just wanted to play stupid :)05:05
jmerelo happy because grant report has been accepted http://news.perlfoundation.org/2018/07/grant-completed-curating-and-i.html05:21
buggable New CPAN upload: IO-Glob-0.5.tar.gz by HANENKAMP http://modules.perl6.org/dist/IO::Glob:cpan:HANENKAMP05:25
BlackBerry9999 left05:25
jmerelo squashable6: status05:26
squashable6 jmerelo, GitHub is down05:26
jmerelo AlexDaniel: squashable6 is being bad with me!05:26
rurban joined05:28
rurban left05:28
xtreak left05:31
lookatme squashable6: status05:33
squashable6 lookatme, GitHub is down05:33
jmerelo squashable6: is not!05:39
squashable6 jmerelo, I cannot recognize this command. See wiki for some examples: https://github.com/perl6/whateverable/wiki/Squashable05:39
jmerelo expecting "is too!"05:40
quester joined05:50
xtreak joined05:54
Zoffix New blog post: "The Missing Contributors of Perl 6": https://rakudo.party/post/The-Missing-Contributors-of-Perl605:56
tyil Zoffix: "I introduced a bug into contributors script", might want to add a "the" to make it "into the contributors script"06:01
same in the next sentence to make it "the MoarVM repository"06:02
Zoffix Thanks, but I think I'll live with it the way it is. It's 2AM. Dropping to bed in 3… 2… 1…06:05
Zoffix left06:05
tyil ah06:05
sno left06:10
ufobat joined06:12
Geth ¦ doc: 34d85752e6 | (JJ Merelo)++ | 2 files06:12
¦ doc: Example for perl6/doc#2142 06:12
¦ doc: review: https://github.com/perl6/doc/commit/34d85752e606:12
synopsebot DOC#2142 [open] : https://github.com/perl6/doc/issues/2142 [NOTSPECCED][docs][update] size_t, ssize_t ... etc are not document 06:12
Actualeyes joined06:14
Geth ¦ doc: 13b8c95f97 | (JJ Merelo)++ | doc/Language/nativetypes.pod606:15
¦ doc: Adds rakudo-specific native types. Closes #2142 06:15
¦ doc: review: https://github.com/perl6/doc/commit/13b8c95f9706:15
synopsebot Link: https://doc.perl6.org/language/nativetypes06:15
kerframil joined06:22
dct left06:23
dct_ joined06:23
jmerelo Grant is completed http://news.perlfoundation.org/2018/07/grant-completed-curating-and-i.html so thanks everyone for your help, patience and support06:25
I'll stay around anyway, unless very deeply in holidays. And probably will apply for another grant when my class period ends, around January next year.06:26
dct_ left06:33
robertle joined06:44
xinming_ joined06:59
troys left07:09
psychoslave joined07:14
domidumont joined07:18
hudo joined07:20
zakharyas joined07:21
domidumont left07:25
domidumont joined07:25
HaraldJoerg joined07:29
lizmat joined07:45
rindolf joined07:47
lizmat .tell Zoffix " commits in checkouts of 5 repos: Rakudo, NQP, Docs, and Roast" I think you forgot to mention Moar in this list07:48
yoleaux lizmat: I'll pass your message to Zoffix.07:48
lizmat .tell Zoffix or was that intentional ?07:49
yoleaux lizmat: I'll pass your message to Zoffix.07:49
scimon joined07:49
wamba joined07:55
ChoHag_ left07:58
ChoHag joined08:02
tyil jmerelo++08:06
kaare__ joined08:10
dakkar joined08:20
donaldh joined08:48
zakharyas left08:51
zakharyas joined08:52
konsolebox joined08:55
spycrab0 joined08:56
quester left09:01
xtreak left09:02
gregf_ joined09:23
wamba left09:25
wamba joined09:28
xtreak joined09:31
sno joined10:06
daxim left10:07
sno left10:16
daxim joined10:19
Technaton joined10:22
Technaton left10:39
jmerelo tyil: thanks!10:43
Xliff joined10:44
zakharyas left10:51
Xliff \o10:52
yoleaux 3 Jul 2018 10:33Z <jnthn> Xliff: Not exactly, but you can just get the json and the set-body to that and then there's nothing to re-serialize10:52
Xliff jnthn?10:53
jnthn Xliff?10:54
Xliff HA! I thought you might be up.10:54
OK, so I was thinking about just doing things this way: $obj = await $resp.body; $json = awayt $resp.body-text10:54
s/awayt/await/10:55
Wouldn't that work?10:55
tyil samcv has arrived in NL for the Dutch Perl Workshops10:56
jnthn Depends where you do it. But in general, no, asking for the body is a consuming operation.10:56
zakharyas joined10:57
Xliff jnthn: Can you clone the response before it is done?10:59
jnthn That won't help11:01
Xliff Actually, that clone won't be deep enough to preserve the actual response information, will it?11:01
jnthn The response object is handed back as soon as the headers arrive11:01
The response body continues to arrive after that11:01
Xliff So... only alternative is to grab the body-text and then deserialize.11:01
Dammit.11:01
jnthn Yeah, but keeping a duplicate copy of every response body around just in case somebody wants to obtain it in two different forms, thus doubling memory use for everyone, isn't really good either.11:02
Xliff D'oh! Was just about to suggest that.11:03
But I'd be doing it in the application code, not in Cro.11:03
Coz I want to cache the actual body for subsequent requests.11:03
sbms joined11:03
jnthn Well sure, you can do it in your application, I'm just explaining why Cro doesn't keep the body around beyond its first deserialization. :)11:04
jmerelo tyil: I'll arrive tomorrow11:04
Xliff jnthn++ # Yep. Figured that.11:04
jnthn I do wonder if we can do something better though11:04
Maybe a peek-body, peek-body-text, peek-body-blob etc.11:04
sno joined11:05
jnthn Well, those are the only 311:05
tyil jmerelo: awesome :>11:05
what time will you be in Arnhem?11:05
Juerd jnthn: .body(:keep)?11:05
Xliff Ooh! I like that.11:05
That way it's only kept around if necessary.11:05
jnthn Indeed11:05
jmerelo tyil: I would say around 2, depends on the train I'm able to catch from the airport11:06
Xliff jnthn: I may take a stab at that and send a PR.11:06
tyil jmerelo: we can try to be at Arnhem around 2 as well11:06
jnthn Xliff: cool :)11:06
jmerelo tyil: we can meat for tea and/or the perl6/doc hackathon :-)11:07
tyil sounds like a good idea ^^11:07
xtreak_ joined11:08
tyil I dont know what time other people will be arriving (ping lizmat, damnlie)11:08
xtreak left11:08
Actualeyes left11:10
jmerelo tyil: we can get in touch via Telegram, for instance. My telegram nick is jjmerelo11:11
Xliff m: my @a = ({ a => 1}, { a => 2}); @a.map({ $_<a> => $_ }).gist.say11:14
camelia rakudo-moar ade83c861: OUTPUT: «(1 => {a => 1} 2 => {a => 2})␤»11:14
Xliff ^^ Is there a way to do that via WhateverCode?11:14
Juerd Xliff: Only contrived ways11:14
Xliff LOL11:15
Can you give me one?11:15
Juerd m: my @a = ({ a => 1}, { a => 2}); flat(@a Z @a).map(*<a> => *).gist.say11:15
camelia rakudo-moar ade83c861: OUTPUT: «(1 => {a => 1} 2 => {a => 2})␤»11:15
Xliff HAHA!11:15
Juerd++11:15
jjmerelo joined11:16
jmerelo left11:18
zakharyas left11:19
sftf joined11:21
BlackBerry9999 joined11:22
jjmerelo Someone requesting help with 32-bit Rakudo https://stackoverflow.com/questions/51190068/where-is-rakudo-x86-32-bit11:24
m: my @a = ({ a => 1}, { a => 2}); @a.map({ *.<a> => * }).gist.say11:25
camelia rakudo-moar ade83c861: OUTPUT: «=== SORRY!=== Error while compiling <tmp>␤Malformed double closure; WhateverCode is already a closure without curlies, so either remove the curlies or use valid parameter syntax instead of *␤at <tmp>:1␤------> => 1}, { a => 2}); @a.map({ …» 11:25
jjmerelo m: my @a = ({ a => 1}, { a => 2}); @a.map({ $^a.<a> => $^a }).gist.say11:25
camelia rakudo-moar ade83c861: OUTPUT: «(1 => {a => 1} 2 => {a => 2})␤»11:25
jjmerelo Xliff: no, no way.11:25
Xliff jjmerelo: Juerd beat you to it.11:26
jjmerelo: <Juerd> m: my @a = ({ a => 1}, { a => 2}); flat(@a Z @a).map(*<a> => *).gist.say11:26
But that's inefficient.11:26
jjmerelo Xliff: wow11:26
Xliff But it works.11:26
jjmerelo: :)11:26
jjmerelo Xliff: you're creating two different elements, one of them for each splat11:27
Xliff Yes. I figured that out. ;)11:27
I actually kinda knew it but I am still learning it.11:27
jjmerelo Xliff: my version is essentially the same as yours, except using $^ implicit variables. No big deal.11:27
Xliff I used { $_<a> => $_ }11:27
jjmerelo Xliff: right. But why do you want to use Whatever?11:29
sno left11:30
sena_kun joined11:31
sno joined11:36
kerframil left11:36
Xliff jjmerelo: I was trying to think of a way to do it. I already did, but the question was mostly academic.11:37
sbms Hi, is there something like confuse (configuration file parser library in C) in perl?11:40
robertle "Config" comes to mind11:40
sbms confuse is a library to deal with config file.11:41
in C11:42
tbrowder_ fjmerelo: great work on docs and doc improvement, congrats!11:42
jjmerelo: great work on docs and doc improvement, congrats!11:43
Technaton joined11:43
psychoslave left11:45
Technato1 joined11:47
Technato1 left11:47
xtreak_ left11:48
xtreak joined11:49
Technato1 joined11:51
sbms left11:52
Technato1 left11:55
eliasr joined12:03
psychoslave joined12:08
jjmerelo tbrowder_: Thanks!12:12
tbrowder_: I really appreciate that. It's not stopping, you know :-) Only slowing down a tiny bit12:13
BlackBerry9999 left12:13
tbrowder_ roger!12:14
psychoslave left12:14
xtreak left12:17
jjmerelo left12:18
rindolf left12:20
kaare__ left12:21
Xliff sbms: No, I don't think there is one in perl6, but after looking at the examples, it should be possible to create a grammar to parse it.12:25
smls: Better yet, you can directly interface with libconfuse in perl6 using NativeCall12:28
Altreus can I rewrite the block { self.method($^a) } using some other Perl6 magic that turns a method into a closure over self?12:29
I seem to remember there was a way of closurising a subroutine but does it work on methods?12:29
scimon left12:31
scimon joined12:31
Altreus ah, it's assuming - but I wonder if that's harder to get a handle on than just using a block12:31
psychoslave joined12:32
Xliff Altreus: Have a method return an anonymous sub which contains self?12:35
So...12:35
method selfClosure { return sub(<params>) { ...do something with self }; }12:36
zakharyas joined12:36
scimon left12:38
Altreus block is simpler I think :)12:39
scimon joined12:39
lizmat left12:40
Altreus If I restart a react within its own LAST, am I going to end up with deep recursion?12:42
that is, if it's something like -- sub reconnect { (setup Supply) } sub run { react { ... LAST { reconnect; run } } }12:43
will that innermost run be a problem?12:43
lizmat joined12:44
jnthn I gues that's a LAST block within a whenever?12:44
But yeah, that looks like you'll make some problems12:45
The right way to do it is to stick a whenever inside of a sub inside of the react, and then call that sub12:45
zakharyas left12:47
lizmat left12:50
jameslenz joined12:52
lizmat joined12:53
tso joined12:56
tsotso|notso12:58
mcmillhj joined13:00
n1ge left13:01
Altreus I might have to ask again when I get to that :)13:12
Right now I have a problem with this https://github.com/kawaiiforums/p6-api-discord/blob/try-to-make-work-really/lib/API/Discord.pm613:12
I don't know a) whether I should be using TWEAK and b) what this error means13:12
It says Cannot look up attributes in a Cro::WebSocket::Client::Connection type object13:12
comes from calling $!cro-connection.messages13:12
er, $!cro-conn13:13
It's causing me to cro-cuss13:13
:P13:13
timotimo your TWEAK has to take named arguments for token and cro-conn13:13
private attributes will not be set up by the default object creation mechanism, because they're not part of the public API13:14
i.e. you should be free to change private attributes around however you see fit without any outside code needing to change13:14
but that means you'll have to have code to assign the private attributes from what the user of your class passes to new13:15
most often you'll see submethod TWEAK(:$!token, :$!cro-conn) { } for that13:15
that will take the named arguments "token" and "cro-conn" and immediately assign to the private attributes13:15
Altreus: ^13:16
Altreus I understood that TWEAK did stuff after all that is set up13:16
timotimo yes, but "all that" doesn't include assigning to the private attributes ;)13:16
Altreus Is there a better place? I want the default mechanisms and then I want to do stuff after13:17
timotimo tweak is the right place for that13:17
Altreus waaaaaaaaaaaaait does p6 come with Moose's after built in13:17
ok I'll add those13:17
timotimo i'm not entirely sure what moose's after does exactly13:17
Altreus just seems like boilerplate and I'm allergic to that13:17
it takes the same arguments as the existing sub, and runs after the existing sub is finished13:17
timotimo if you don't want to add it, you can make your attributes public13:18
Altreus as a perl developer I have no issue with doing that :)13:18
timotimo i don't think we have that13:18
zakharyas joined13:18
Altreus it's just meta-object munging really13:18
timotimo you can use "wrap" or protos or other mechanisms to get the same effect13:19
Altreus oh I've just understood what you meant - there exists no default mechanism to put named arguments into private attributes in the first place13:19
timotimo that's right13:19
Altreus thanks, totally with you now13:19
:D13:19
I just understood the message too13:21
it's a "type object"13:21
I forgot they existed13:22
this isn't just a penny dropping, this is like those 2p machines at the arcade where one penny drops and it pushes all the other ones off the ledge13:22
Pheix joined13:22
skids joined13:23
phdphil left13:23
timotimo oh, you may also want to put an ! after the :$!token and :$!cro-conn to make it mandatory to pass them13:24
SyrupThinker joined13:24
HaraldJoerg left13:24
timotimo alternatively give them a default value that's just 'die "helpful error message"', i think that works, too13:25
Altreus I made them public because I couldn't see a reason not to13:25
timotimo m: class Foo { submethod TWEAK(:$foo = die "please pass foo") { } }; Foo.new()13:25
camelia rakudo-moar ade83c861: OUTPUT: «please pass foo␤ in submethod TWEAK at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»13:25
timotimo m: class Foo { submethod TWEAK(:$foo = die "please pass foo") is hidden-from-backtrace { } }; Foo.new()13:26
camelia rakudo-moar ade83c861: OUTPUT: «please pass foo␤ in submethod TWEAK at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»13:26
timotimo that's fair13:26
in that case you can put "is required" after the attribute13:26
that'll also give a good error message13:26
Altreus I have that on API::Discord itself :)13:26
but yes13:26
timotimo OK13:26
Altreus explicit constraints are best13:26
Xliff timotimo: Is he using a subclass?13:27
Pheix left13:27
timotimo no, they are both just derived from Any13:27
Xliff OK, why not just use submethod BUILD for those classes. Does the same thing as TWEAK, really.13:28
TMTOWTDI13:28
timotimo that will throw out default values for attributes and "is required" and others13:28
Xliff AH. OK.13:29
scimon left13:34
scimon joined13:34
Altreus I have working stuff!!! \o/13:36
thanks timotimo :)13:36
timotimo YW13:36
Altreus I'll ask you directly in future xD13:36
timotimo haha13:36
Altreus I jest13:36
I'll also bug j-nthn13:36
:13:36
:D13:36
ok, fever dream over. Back to perl5 catalyst13:36
MilkmanDan left13:36
MilkmanDan joined13:39
HaraldJoerg joined13:43
tyil .tell jmerelo I dont have any fancey apps other than signal on my phone for communication13:47
yoleaux tyil: I'll pass your message to jmerelo.13:47
xtreak joined13:51
spycrab0 left13:55
curan left14:07
sno left14:08
rindolf joined14:09
jeromelanteri left14:09
psychoslave left14:14
sauvin left14:15
sno joined14:16
wamba left14:28
sno left14:29
enheh joined14:40
zakharyas left14:41
sjn joined14:45
xtreak left14:48
Zoffix joined14:48
Zoffix .14:48
yoleaux 07:48Z <lizmat> Zoffix: " commits in checkouts of 5 repos: Rakudo, NQP, Docs, and Roast" I think you forgot to mention Moar in this list14:48
07:49Z <lizmat> Zoffix: or was that intentional ?14:48
Zoffix lizmat: no, it's 2AM typing :P Fixed.14:49
Can't believe I left out MoarVM while writing about a bug where I left out MoarVM /o\14:49
lizmat yeah, that's why I wondered if it was intentional :-)14:50
markoong joined14:52
Zoffix .tell jjmerelo you can tell that person that we don't have any volunteers with available system to build 32-bit builds and that their best bet is to try building from source using instructions here: https://rakudo.org/files/rakudo/source14:57
yoleaux Zoffix: I'll pass your message to jjmerelo.14:57
El_Che What's the context? I have ubuntu 32-bit packages if that suffices14:59
.tell jmerelo: Zoffix: What's the context? I have ubuntu 32-bit packages if that suffices14:59
yoleaux El_Che: What kind of a name is "jmerelo:"?!14:59
El_Che .tell jmerelo Zoffix: What's the context? I have ubuntu 32-bit packages if that suffices15:00
yoleaux El_Che: I'll pass your message to jmerelo.15:00
lizmat El_Che: it's about https://stackoverflow.com/questions/51190068/where-is-rakudo-x86-32-bit15:00
Zoffix El_Che: context http://colabti.org/irclogger/irclogger_log/perl6?date=2018-07-05#l25515:00
I guess now I see the person is asking for Linux too15:00
El_Che I see15:00
the question is wrong (as rakudo releases are tested against 32-bit ubuntu)15:01
koto joined15:03
sena_kun left15:05
El_Che lizmat, Zoffix: answered, thx for the info15:05
lizmat yw15:06
domidumont left15:08
Zoffix El_Che++15:09
Zoffix left15:09
vike1 joined15:13
psychoslave_ joined15:15
kini joined15:17
lizmat left15:20
jmerelo joined15:22
lizmat joined15:23
mcmillhj left15:23
jmerelo squashable6: status15:24
yoleaux 13:47Z <tyil> jmerelo: I dont have any fancey apps other than signal on my phone for communication15:24
squashable6 jmerelo, ⚠🍕 Next SQUASHathon in ≈18 hours (2018-07-07 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day15:24
yoleaux 15:00Z <El_Che> jmerelo: Zoffix: What's the context? I have ubuntu 32-bit packages if that suffices15:24
Pheix joined15:24
jmerelo .tell El_Che no idea. All context is in the StackOverflow question15:24
yoleaux jmerelo: I'll pass your message to El_Che.15:24
El_Che .15:24
yoleaux 15:24Z <jmerelo> El_Che: no idea. All context is in the StackOverflow question15:24
El_Che .tell jmerelo thx15:25
yoleaux El_Che: I'll pass your message to jmerelo.15:25
jmerelo El_Che: :-)15:25
yoleaux 15:25Z <El_Che> jmerelo: thx15:25
Xliff Has anyone managed to build Inline::Perl5 in Windows?15:25
Pheix left15:27
Pheix joined15:27
mcmillhj joined15:28
Pheix2 joined15:29
xtreak joined15:30
jjmerelo joined15:31
Pheix left15:32
donaldh left15:32
jmerelo left15:33
Pheix2 left15:33
sno joined15:40
fake_space_whale joined15:40
zakharyas joined15:49
scimon left15:51
dogbert17 joined15:58
AlexDaniel squashable6: next16:02
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈17 hours (2018-07-07 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day16:02
Zoffix joined16:06
Zoffix Xliff: that type of questions aren't very answerable.16:07
Are you having problems? What's the issue?16:07
Xliff: there's an open Issue about Windows builds: "Warnings and END exceptions on Win10": https://github.com/niner/Inline-Perl5/issues/11516:07
tso|notso left16:13
mcmillhj left16:17
mcmillhj joined16:18
mcmillhj left16:23
psychoslave_ left16:23
SmokeMachine m: my @a = ({ a => 1}, { a => 2}); @a.classify(*<a>).gist.say16:27
camelia rakudo-moar ade83c861: OUTPUT: «{1 => [{a => 1}], 2 => [{a => 2}]}␤»16:27
SmokeMachine Xliff: ^^16:28
fake_space_whale left16:29
Xliff SmokeMachine++16:30
mcmillhj joined16:34
spycrab0 joined16:35
dogbert17 left16:37
stmuk_ joined16:38
mcmillhj left16:39
stmuk left16:40
dogbert17 joined16:41
psychoslave joined16:41
dakkar left16:41
SmokeMachine is there something like this:16:41
m: say ("a", "b", "c").reduce: -> %agg, $a --> Hash() { (|%agg, $a => 1) }, :initial{}16:41
camelia rakudo-moar ade83c861: OUTPUT: «Type check failed in binding to parameter '%agg'; expected Associative but got Str ("a")␤ in block <unit> at <tmp> line 1␤␤»16:41
SmokeMachine meaning some thing like this?16:41
m: say ({}, "a", "b", "c").reduce: -> %agg, $a --> Hash() { (|%agg, $a => 1) }16:41
camelia rakudo-moar ade83c861: OUTPUT: «{a => 1, b => 1, c => 1}␤»16:41
sno left16:42
sauvin_ joined16:43
psychoslave left16:43
sauvin_ left16:45
Zoffix m: say <a b c c c>.Set.Hash16:50
camelia rakudo-moar ade83c861: OUTPUT: «{a => True, b => True, c => True}␤»16:50
Zoffix .oO( close enough... )16:50
mcmillhj joined16:50
mcmillhj left16:51
Zoffix m: say (<a b c c c>.SetHash.keys «=>» 1).Hash16:51
camelia rakudo-moar ade83c861: OUTPUT: «{a => 1, b => 1, c => 1}␤»16:51
SmokeMachine Zoffix: I mean the `:initial`16:51
Zoffix SmokeMachine: the way you wrote it the second time? :)16:52
m: sub in-reduce (:$initial, \stuff) { (|(:$initial with $initial), |stuff).reduce: -> %agg, $a --> Hash() { (|%agg, $a => 1) } }; dd in-reduce <a b c>, :initial{}16:54
camelia rakudo-moar ade83c861: OUTPUT: «=== SORRY!=== Error while compiling <tmp>␤Cannot put required parameter stuff after variadic parameters␤at <tmp>:1␤------> sub in-reduce (:$initial, \stuff ) { (|(:$initial with $initial), |stuff) ␤ expecting any of:␤ …»16:54
Zoffix m: sub in-reduce (\stuff, :$initial) { (|(:$initial with $initial), |stuff).reduce: -> %agg, $a --> Hash() { (|%agg, $a => 1) } }; dd in-reduce <a b c>, :initial{}16:54
camelia rakudo-moar ade83c861: OUTPUT: «Type check failed in binding to parameter '%agg'; expected Associative but got List ($(:initial(${}), :a(1)))␤ in sub in-reduce at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»16:54
SmokeMachine I meant `@a.reduce(&bla, :$initial)` mean `[$initial, |@a].reduce(&bla)`16:54
mcmillhj joined16:54
Zoffix SmokeMachine: no, there's no :initial argument to reduce. Just stick it as the first value, as you have it above16:55
SmokeMachine Zoffix: ok16:55
Zoffix m: sub in-reduce (\stuff, :$initial) { (|($initial with $initial), |stuff).reduce: -> %agg, $a --> Hash() { (|%agg, $a => 1) } }; dd in-reduce <a b c>, :initial{}16:56
camelia rakudo-moar ade83c861: OUTPUT: «Type check failed in binding to parameter '%agg'; expected Associative but got Str ("a")␤ in sub in-reduce at <tmp> line 1␤ in block <unit> at <tmp> line 1␤␤»16:56
Zoffix meh16:56
Zoffix left16:56
sjn_ joined17:04
Xliff SmokeMachine: Actually, that's really close, but I want it to map to the actual object, not an array.17:05
m: my @a = ({ a => 1}, { a => 2}); @a.classify(*<a>).flat.gist.say17:05
camelia rakudo-moar ade83c861: OUTPUT: «(1 => [{a => 1}] 2 => [{a => 2}])␤»17:05
Xliff It's actually better to do that without classify if you are just trying to convert an array to a hash with an identifier.17:06
zakharyas left17:07
Xliff m: my @a = ({ a => 1}, { a => 2}); @a.classify(*<a>).map({ $_.key => $_.value[0] }).gist.say17:08
camelia rakudo-moar ade83c861: OUTPUT: «(1 => {a => 1} 2 => {a => 2})␤»17:08
Xliff SmokeMachine: ^^ That. One map as opposed to a classify call.17:08
zakharyas joined17:08
sjn_ left17:23
sno joined17:23
xtreak left17:33
sno left17:53
sjn_ joined17:54
dakkar joined18:05
lizmat do we have any recommendations for https://www.reddit.com/r/perl6/comments/8wc0nf/which_books_should_a_novice_read_to_understand/ ?18:13
zachk joined18:21
zachk left18:22
zachk joined18:22
jjmerelo left18:22
moritz I hope jnthn++ has some ideas18:22
yoleaux 4 Jul 2018 15:32Z <lizmat> moritz: https://perl6book.com doesn't show "Parsing with Perl 6 Regexes and Grammars" ?18:22
4 Jul 2018 15:34Z <lizmat> moritz: well, at least in the graph :-)18:22
4 Jul 2018 16:27Z <tbrowder_> moritz: don’t see that book on perl6.org/resources either18:22
moritz terrible at marketing, it seems18:23
AlexDaniel squashable6: next18:26
squashable6 AlexDaniel, ⚠🍕 Next SQUASHathon in ≈15 hours (2018-07-07 UTC-12⌁UTC+14). See https://github.com/rakudo/rakudo/wiki/Monthly-Bug-Squash-Day18:26
sjn_ left18:29
sjn_ joined18:29
moritz lizmat: thanks; I've updated https://perl6book.com/ to explain why it's not in the graph18:31
lizmat moritz: Available for preorder; ETA November/December 201718:32
I think that status has changed ?18:32
moritz yes :)18:32
lizmat also, I think the status of Migrating to Perl 6 is premature: afaik, November 2018 is the earliest, I'm told by the author18:33
moritz updated again, thanks18:35
psychoslave joined18:35
lizmat moritz: yw18:36
Geth ¦ perl6.org: e909d577e7 | (Moritz Lenz)++ | source/resources/index.html18:37
¦ perl6.org: Add parsing book to resources, tbrowder++ 18:37
¦ perl6.org: review: https://github.com/perl6/perl6.org/commit/e909d577e718:37
sno joined18:42
lizmat weekly: http://brrt-to-the-future.blogspot.com/2018/07/perl-6-on-moarvm-has-had-jit-for-few.html18:44
notable6 lizmat, Noted!18:44
masak brrt++ # a very nice post18:48
brrt: s/inlinig/inlining/18:49
El_Che I take away that the lingo (spesh) may confuse the audience18:49
masak I dunno, the JIT backend is still called "jit", so I'm not sure why there is confusion18:51
sjn_ yeah, nice post. brrt++18:51
timotimo we have spesh even on platforms we don't have "a jit" for, though18:51
lizmat yeah, because spesh is CPU independent, no ?18:53
timotimo that's right18:53
El_Che lizmat: it's speshial18:53
timotimo it could react to different architectures with slight tuning, for example, but it doesn't do that yet, and it might not be worth trying for a long time18:53
lizmat so if someone would decide to spend the time to support JIT on ARM, that would be able to use spesh just as much, right ?18:54
timotimo i suppose18:54
jit without spesh isn't worth very much18:54
buggable New CPAN upload: Hash-with-0.0.1.tar.gz by ELIZABETH https://cpan.metacpan.org/authors/id/E/EL/ELIZABETH/Perl6/Hash-with-0.0.1.tar.gz18:55
cozachk joined19:02
zachk left19:05
zakharyas left19:12
vrurg joined19:18
vrurg left19:18
vrurg joined19:18
vrurg Hi all! I wonder if atomic operators are planned but not yet implemented in rakudo? I can't easily google this info.19:23
moritz vrurg: have you seen https://docs.perl6.org/type/atomicint ?19:25
koto left19:26
koto joined19:26
vrurg moritz: Yes. It documents the existence of ⚛︎-ops but no word on "not yet implemented in".19:27
p6: my atomicint $c ⚛︎=1; $c⚛︎++;19:27
camelia rakudo-moar ade83c861: OUTPUT: «=== SORRY!=== Error while compiling <tmp>␤Confused␤at <tmp>:1␤------> my atomicint $c ⚛︎=1; $c⚛︎++; ␤ expecting any of:␤ infix␤ infix stopper␤ statement end␤ statement modifier␤ …»19:27
moritz m: my atomicint $active = 0;19:30
camelia rakudo-moar ade83c861: ( no output )19:30
enheh left19:30
moritz m: my atomicint $active = 0; $active⚛++;19:30
camelia rakudo-moar ade83c861: ( no output )19:30
moritz vrurg: it's implemented :)19:30
stuff that is on docs.perl6.org is generally implemented, unless stated otherwise19:31
vrurg Mine is: This is Rakudo version 2018.06 built on MoarVM version 2018.0619:31
robertle_ joined19:31
vrurg Same output as from camelia.19:31
m: my atomicint $c ⚛︎=1; $c⚛︎++;19:32
camelia rakudo-moar ade83c861: OUTPUT: «=== SORRY!=== Error while compiling <tmp>␤Confused␤at <tmp>:1␤------> my atomicint $c ⚛︎=1; $c⚛︎++; ␤ expecting any of:␤ infix␤ infix stopper␤ statement end␤ statement modifier␤ …»19:32
moritz vrurg: doesn't make much senes to use ⚛︎ in an initializer19:32
vrurg my atomicint $c =1; $c⚛︎++;19:32
moritz vrurg: if you want to see if something works at all, start by copy&pasting the examples from the docs19:32
vrurg moritz: whatever. It fails later, on increment.19:32
p6: my atomicint $c = 1; $c⚛︎++;19:33
camelia rakudo-moar ade83c861: OUTPUT: «=== SORRY!=== Error while compiling <tmp>␤Bogus postfix␤at <tmp>:1␤------> my atomicint $c = 1; $c ⚛︎++; ␤ expecting any of:␤ infix␤ infix stopper␤ statement end␤ statement modifier␤ …»19:33
moritz why did my example work then?19:34
koto left19:34
koto joined19:34
vrurg Damn, different codepoints, it seems. That's confusing...19:35
moritz .u ⚛︎19:35
yoleaux U+269B ATOM SYMBOL [So] (⚛)19:35
U+FE0E VARIATION SELECTOR-15 [Mn] (◌︎)19:35
moritz .u ⚛19:35
yoleaux U+269B ATOM SYMBOL [So] (⚛)19:35
moritz has never seen a VARIATION SELECTOR before19:36
dct_ joined19:36
mcmillhj left19:37
geekosaur some clients use them to distinguish char-as-emoji from char-as-symbol19:38
vrurg I took mine from macos char palette. It was the only it found by 'atom' request. This is where variation comes from.19:39
mcmillhj joined19:39
mcmillhj left19:40
moritz then maybe the grammar should ignore those19:40
koto left19:40
koto joined19:40
vrurg moritz: That's be the best. The variation looks even better in terminal where it doesn't have the magenta box around it.19:41
mcmillhj joined19:44
AlexDaniel vrurg: can you file a ticket?19:44
huggable: rakudobug19:44
huggable AlexDaniel, Report bugs on https://github.com/rakudo/rakudo/issues/new If you don't have access to GitHub, you can email your report to [email@hidden.address] . See also: https://github.com/rakudo/rakudo/wiki/rt-introduction19:44
vrurg AlexDaniel: Sure.19:46
Was playing with it. Looks like there is no easy way to insert the symbol without the variation in macOS.19:46
koto left19:48
koto joined19:49
AlexDaniel vrurg: also: https://github.com/perl6/doc/issues/215019:51
m: say ‘⚛︎’.chars19:52
camelia rakudo-moar ade83c861: OUTPUT: «1␤»19:52
moritz m: say '⚛︎'.codes19:53
camelia rakudo-moar ade83c861: OUTPUT: «2␤»19:53
AlexDaniel samcv: what's the easiest way to match ⚛ with variation selectors?19:56
samcv: ignoremark is probably too permissive19:56
samcv: oh, is it what Default_Ignorable_Code_Point is for?19:58
u: { .uniprop(‘Default_Ignorable_Code_Point’).so }19:58
unicodable6 AlexDaniel, U+00AD SOFT HYPHEN [Cf] (control character)19:58
AlexDaniel, U+034F COMBINING GRAPHEME JOINER [Mn] ( ͏)19:58
AlexDaniel, 404 characters in total: https://gist.github.com/b980132704b1bbeaf62a049ff4a000ed19:58
AlexDaniel u: { .uniprop(‘Default_Ignorable_Code_Point’) and .uniprop eq ‘Mn’ }19:59
unicodable6 AlexDaniel, U+034F COMBINING GRAPHEME JOINER [Mn] ( ͏)19:59
AlexDaniel, U+17B4 KHMER VOWEL INHERENT AQ [Mn] ( ឴)19:59
AlexDaniel, 262 characters in total: https://gist.github.com/d4354b0401f322d648e354832122c4e619:59
vrurg AlexDaniel: https://github.com/rakudo/rakudo/issues/203020:00
AlexDaniel vrurg: thanks20:00
vrurg AlexDaniel: np20:03
psychoslave left20:07
Xliff Will this resolve properly --> @one-or-none.one || @one-or-none.none;20:10
Or do I need...20:10
(so @one-or-none.one) || (so @one-or-none.none)20:10
I would prefer the former.20:10
moritz @one-or-none.one is in boolean context, so doesn't see a so()20:11
Xliff m: my @one = (0, 0, 1); say (@one.one || @one.none)20:11
camelia rakudo-moar ade83c861: OUTPUT: «one(0, 0, 1)␤»20:11
Xliff moritz: Is that a yes or a no? ;)20:11
moritz Xliff: the first oen doesn't need a so()20:12
Xliff But the second one does?20:12
moritz Xliff: for the second, it only needs one if you don't evaluate it in a boolean context20:12
m: my @one = (0, 0, 1); say (@one.one || @one.none.so)20:12
camelia rakudo-moar ade83c861: OUTPUT: «one(0, 0, 1)␤»20:12
moritz if you use the method form, you can ditch a pair of parenthesis20:12
Xliff m: my @one = (0, 0, 1); if @one.one || @one.none.so { say "Hey!" };20:13
camelia rakudo-moar ade83c861: OUTPUT: «Hey!␤»20:13
Xliff m: my @one = (0, 0, 0); if @one.one || @one.none.so { say "Hey!" };20:13
camelia rakudo-moar ade83c861: OUTPUT: «Hey!␤»20:13
Xliff m: my @one = (2, 3, 0); if @one.one || @one.none.so { say "Hey!" };20:13
camelia rakudo-moar ade83c861: ( no output )20:13
Xliff m: my @one = (2, 3, 0); if @one.one || @one.none { say "Hey!" };20:13
camelia rakudo-moar ade83c861: ( no output )20:13
Xliff m: my @one = (0, 3, 0); if @one.one || @one.none { say "Hey!" };20:14
camelia rakudo-moar ade83c861: OUTPUT: «Hey!␤»20:14
Xliff m: my @one = (0, 0, 0); if @one.one || @one.none { say "Hey!" };20:14
camelia rakudo-moar ade83c861: OUTPUT: «Hey!␤»20:14
Xliff So the answer is: "Yes." ;)20:14
hahainternethugedictionary20:17
AlexDaniel m: my @f = (0, 0, 0); say so any @f.one, @f.none20:17
camelia rakudo-moar ade83c861: OUTPUT: «True␤»20:17
AlexDaniel m: my @f = (0, 1, 0); say so any @f.one, @f.none20:17
camelia rakudo-moar ade83c861: OUTPUT: «True␤»20:17
AlexDaniel m: my @f = (1, 1, 0); say so any @f.one, @f.none20:17
camelia rakudo-moar ade83c861: OUTPUT: «False␤»20:17
moritz Xliff: the "if" puts it into boolean context, yes20:17
AlexDaniel Xliff: ↑ good for code obfuscation contests :)20:17
hugedictionaryhahainternet20:18
AlexDaniel actually, `all` is missing20:18
m: my @f = (1, 1, 0); say so all any @f.one, @f.none20:18
camelia rakudo-moar ade83c861: OUTPUT: «False␤»20:18
AlexDaniel m: my @f = (1, 0, 0); say so all any @f.one, @f.none20:18
camelia rakudo-moar ade83c861: OUTPUT: «True␤»20:18
AlexDaniel :)20:19
Xliff AlexDaniel: Are you trying to get me committed?20:21
Oh wait...20:22
Maybe I should be.20:22
Xliff goes to do "git commit -a"20:22
pmurias joined20:22
benjikun2 joined20:24
samcv AlexDaniel: i would just have it be /\x[FE0E]?/ after the atomic symbol20:25
since we only want this specific codepoint specific to emoji20:25
benjikun left20:27
AlexDaniel samcv: but that won't work, right?20:27
psychoslave joined20:27
AlexDaniel so it would have to be [‘⚛’|‘⚛︎’]20:27
or [‘⚛’|“⚛\xFE0E”]20:28
samcv: but why is this specific codepoint special? there are 256 variation selectors, are there any limitations for their use?20:28
hobbs AlexDaniel: http://unicode.org/reports/tr51/#Emoji_Variation_Sequences20:30
(yes, it's pretty awful)20:31
moritz AlexDaniel: could be [:ignoremark ‘⚛’] or so, maybe20:34
hobbs AlexDaniel: and http://unicode.org/emoji/charts/emoji-variants.html for illustration of what it's supposed to do20:34
AlexDaniel geez why not name it “text variation selector”20:34
moritz: but that will ignore all kinds of Extend (and probably Prepend) characters20:35
moritz: so all combining characters and other stuff20:35
samcv++ is right, this particular variation selector should be special-cased…20:36
hobbs++20:36
hobbs: but why 1520:36
:)20:36
hobbs 15 and 16 are the last two, I'm guessing they assumed that anyone who used the selectors for other reasons started at 1 and worked their way up :)20:36
AlexDaniel hobbs: well, not exactly the last two as of today20:37
hobbs well okay.20:39
the last two that are only three bytes of UTF-8, though :)20:40
pmurias the graalvm/truffle NQP backend now passes 13 tests :)20:45
AlexDaniel pmurias: \o/ that sounds great, is there a list of the passed tests somewhere?20:46
MasterDuke pmurias++20:46
pmurias: btw, how easy will it be to implement ops that need the tc passed in?20:47
AlexDaniel: https://github.com/perl6/nqp/blob/truffle/src/vm/jvm/bin/run_tests.pl#L1220:48
AlexDaniel MasterDuke: so test *files*, not just tests?20:49
pmurias AlexDaniel: yes, 13 test files :)20:50
AlexDaniel underestimated the progress but was still impressed20:50
pmurias MasterDuke: depends on the tests20:50
MasterDuke: a lot of the tc using stuff are things that we want to replace with new truffle specific stuff20:52
kjk joined20:55
MasterDuke pmurias: huh. any intuition which/what?20:58
samcv AlexDaniel: yes you are correct that variation selector is specific (afaik) to emoji. well at *minimum* after an emoji it has only one meaning21:00
so it's not ambiguous in that context21:00
pmurias MasterDuke: depends on the stuff, for objects I guess we want to use http://ssw.jku.at/General/Staff/Daloze/thread-safe-objects.pdf21:02
AlexDaniel samcv: hmm https://github.com/rakudo/rakudo/issues/203121:02
samcv anyone have ubuntu? can you tell me if llvm-profdata is a valid command?21:03
and if so where it's located? for those who have ubuntu. if you have debian that may be helpful too21:03
also what version you are on21:03
AlexDaniel samcv: fwiw I don't know if this ticket is reasonable at all21:04
El_Che samcv: root@716310e078aa:/# llvm-profdata21:05
llvm-profdata: No command specified!21:05
USAGE: llvm-profdata <merge|show> [args...]21:05
AlexDaniel samcv: https://gist.github.com/AlexDaniel/024b4e0e173ee5bada14d172ceb7816d21:05
El_Che samcv: you need to install llvm first, but you know that :)21:05
AlexDaniel samcv: that's under debian btw, but it should be similar in ubuntu21:06
MasterDuke Command 'llvm-profdata' not found, but can be installed with: sudo apt install llvm21:06
pmurias MasterDuke: and for _I bignum ops I think we will want to still the implemantion from graal.js21:07
as they have special one that is supposed to work well for truffle21:08
kjk I use rakudobrew, but every time I build a new version of moar I find that I have to rebuild zef, and re-install all the modules... is there a way to at least avoid re-installing all existing modules?21:10
pmurias MasterDuke: my mental model how are things going to be implemented is sort of evolving on the fly, I haven't done anything with Truffle before21:11
MasterDuke pmurias: i was specfically looking at the regular jvm implementation of nqp::x and it has `throw ExceptionHandling.dieInternal(tc, "repeat count (" + count + ") cannot be negative");`21:11
but i haven21:11
't looked at ExceptionHandling.dieInternal() to see what it does21:11
El_Che kjk: I suppose other install options have less problems with that21:13
MasterDuke some of the string ops look like they might be relatively straight-forward, except that they throw those exceptions with tc21:14
kjk: needing to rebuild isn't supposed to be as common after updates now-adays21:15
kjk El_Che: right, I never actually tried other options...21:15
MasterDuke kjk: do things not work unless you do, or is rakudobrew doing it automatically?21:16
tyil anyone on mastodon who would be able to help this person https://mastodon.social/web/statuses/10031935855407326221:16
geekosaur some rakudobrew update paths update zef and modules, others don't21:17
El_Che I keep reading "anyone on methadon"21:17
tyil (or I can post a possible answer to him)21:17
El_Che: if anyone on methadon can help that'd be ok by me too21:17
I don't judg21:17
e21:17
El_Che :)21:17
mcmillhj left21:18
kjk MasterDuke: so, if I rebuild a new version of moar and then switch to it like this: rakudobrew build moar 2018.06 && rakudobrew global moar-2018.06, then zef would be missing, and I'll have to run: rakudobrew build zef, but then all modules previously installed would also be missing, so I have to zef install them again21:18
El_Che kjk: what os do you use?21:18
kjk MacOS21:19
El_Che homebrew has rakudo star21:19
(I am thinking of adding support to monthly rakudo, but haven't had the time)21:19
kjk El_Che: yeah, just checked, looks like it's stuck at 2018.0421:20
El_Che i don't know what the latest star is21:20
it's every 3 months, so it could be the latest21:21
AlexDaniel tyil: so if I want to get on mastodon, should I be setting up my own server (like I already do for Matrix), or should I just sign up on mastodon.social and it'll be just as good?21:21
tyil: or if not mastodon.social, then what?21:21
tyil depends on wheter you trust mastodon.social I guess21:21
there's other instances, owned by other people21:21
and you can host one yourself if you prefer that21:22
MasterDuke kjk: huh. maybe ask tadzik, he's around here21:22
Juerd m: use Test; like("#", /\#/)21:24
camelia rakudo-moar ade83c861: OUTPUT: «ok 1 - text matches /\ \#/␤»21:24
Juerd Where does that extra escaped whitespace come from?21:24
kjk It looks like zef/ is in the moar-2018.06, maybe if I move it to the new moar vm directory it would just work? hmm ok I'll try that next time21:25
[Coke] kjk: rakudobrew has some issues and we don't recommend it in general because of issues like this; zoffix has a rebuild script you can use, or you can build from scratch.21:25
I have one that uses rakudobrew, but have a different script to drive it to insure that everything works as I need21:25
[Coke] heads out for a bit21:26
Juerd Test.pm6 just does $desc = "... $expected.perl()", but using that alone, I can't reproduce the extra space.21:26
kjk Coke: I see..., I do like the ability to try a new rakudo release when it comes out though, and with rakudobrew it's very easy to do so21:27
tyil kjk: there's rakudup (iirc), or zoffix's script, or just git pull and update it manually based on the readme21:30
it's not overly complicated to build manually21:30
kjk tyil: I see, ok will check those out, thanks21:32
El_Che ideally, you should push a monthly rakudo for osx, but the fact that rakudo is not relocable makes it a pita21:34
tyil that really is a pita21:34
El_Che (e.g. for installing it under the user's applications)21:34
s/you/we/21:34
tyil I'd like it for that to be solved, but iirc it's not a high prio21:35
it would make packaging for every platform easier I think21:35
El_Che so you end up with the need for installers instead of a simple pkg21:35
skids left21:36
tyil El_Che: that's why I wrote LoneStar21:37
El_Che tyil: it solves the relocation problem, but not the compilation one21:37
tyil compilation on itself isn't a problem to me personally, but most users probably don't want to compile21:38
from my experience, most users think compiling is scary and evil21:39
El_Che tyil: it is. We live in a Stockholm syndrom :)21:39
tyil I understand not wanting to compile certain things21:39
like web browsers, office suits, or most compilers21:39
but most applications, including the rakudo/moarvm/nqp stack for Perl 6, are relatively fast21:40
kjk left21:41
Zoffix joined21:46
Zoffix Juerd: it's the "poor man's escape" of # chars that are special in TAP21:46
Juerd: by sticking a space in there it avoids having to figure out whether we added enough backslashes (since there might be a backslash up in there already)21:47
MasterDuke Zoffix: looks like geth is dead in #moarvm21:48
Zoffix huggable: build21:51
huggable Zoffix, Alternatives to rakudobrew: 3rd party installers: https://gitlab.com/tyil/lonestar#readme and https://rakudup.github.io/ | 3rd party distro packages: https://rakudo.org/files/rakudo/third-party | Bash alias: https://github.com/zoffixznet/r#table-of-contents21:51
Zoffix ^ there's a bot command that lists all of these21:51
s: &say21:51
SourceBaby Zoffix, Sauce is at https://github.com/rakudo/rakudo/blob/7a87b7f55/src/core/io_operators.pm6#L1021:51
tyil oh, I forgot you added that21:51
Zoffix: is there a page with all huggable commands/definitions21:52
pmurias left21:52
Zoffix nope21:52
tyil could one be generated?21:52
Zoffix There's this SQLite file: https://temp.perl6.party/factoids-Jul-5-2018.sqlite.db21:53
tyil time to compile sqlite and cruise through it21:54
dalek joined21:54
ChanServ set mode: +v21:54
tyil nvm, I already have sqlite21:54
synopsebot_ joined21:54
p6lert joined21:54
Geth joined21:54
ChanServ set mode: +v21:54
ChanServ set mode: +v21:54
tyil this is a good start21:54
Juerd Zoffix: Oh, wow.21:55
SourceBaby joined21:57
ChanServ set mode: +v21:57
MasterDuke Zoffix++ geth is alive again21:57
tyil in pod defn blocks, could it be made possible to put the word(s) being defined in the pod's meta attribute? so I can give it a special color in Pod::To::Pager21:58
I want the defined word(s) to be distinct from the actual definition paragraph that follows it21:58
mcmillhj joined21:59
Kaiepi left22:03
kane joined22:04
kanekawaii22:04
mcmillhj left22:04
tyil I could make an issue on a repo (which one), SO or ask it on the mailing list if that's a better way to go about it22:04
wamba joined22:04
Zoffix tyil: FWIW, the factoids are dynamic and anyone can edit/add them, so if you're making a page, it'll quickly be outdated22:06
buggable: source22:07
buggable Zoffix, See: https://github.com/zoffixznet/perl6-buggable22:07
Zoffix something could be implemented to make the bot dump an HTML file22:07
tyil Zoffix: could we make a script to update some file somewhere to refresh it every day or something?22:07
kawaii left22:07
Zoffix buggable: author zoffixznet22:07
buggable Zoffix, Found 47 dists for zoffixznet. See https://temp.perl6.party/buggable/91553477265891661530828477.html22:07
Zoffix like this bot does for example22:08
tyil I could run a local cronjob that issues an commit each day for instance22:08
or that22:08
that sounds better :p22:08
Zoffix buggable: source22:08
buggable Zoffix, See: https://github.com/zoffixznet/perl6-buggable22:08
Zoffix &22:08
Zoffix left22:08
tyil its late now, so I'll look at that source tomorrow22:08
have to be awake early to get to arnhem on time22:08
Geth ¦ doc: 058fa3b183 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod622:12
¦ doc: Clarify what type pod blocks can have configuration data 22:12
¦ doc: review: https://github.com/perl6/doc/commit/058fa3b18322:12
synopsebot_ Link: https://doc.perl6.org/language/pod22:12
lizmat NLPW schedule: http://www.perlworkshop.nl/nlpw2018/schedule22:15
looks like I'm on first :-)22:15
mcmillhj joined22:18
Geth ¦ doc: 60e347987f | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod622:19
¦ doc: Tweak info and formatting 22:19
¦ doc: review: https://github.com/perl6/doc/commit/60e347987f22:19
synopsebot_ Link: https://doc.perl6.org/language/pod22:19
psychoslave left22:19
psychoslave joined22:20
Geth ¦ doc: ea9ade5250 | (Tom Browder)++ (committed using GitHub Web editor) | doc/Language/pod.pod622:21
¦ doc: Add emphasis 22:21
¦ doc: review: https://github.com/perl6/doc/commit/ea9ade525022:21
synopsebot_ Link: https://doc.perl6.org/language/pod22:21
psychoslave left22:22
mcmillhj left22:22
psychoslave joined22:22
rindolf left22:28
Kaiepi joined22:30
Geth ¦ Pod-To-HTML: 2cbcf062b4 | (Tom Browder)++ (committed using GitHub Web editor) | lib/Pod/To/HTML.pm22:34
¦ Pod-To-HTML: Caption is now an attribute 22:34
¦ Pod-To-HTML:22:34
¦ Pod-To-HTML: Since late 2017.22:34
¦ Pod-To-HTML: review: https://github.com/perl6/Pod-To-HTML/commit/2cbcf062b422:34
AlexDaniel oh wow, writing tests for sake is fun22:35
one of the few times I actually enjoyed TDD :)22:36
mcmillhj joined22:36
mcmillhj left22:40
mcmillhj joined22:41
vike1 left22:44
dct_ left22:48
raynold joined22:50
vike joined22:51
HaraldJoerg left23:09
dakkar left23:18
benji__ joined23:21
benjikun2 left23:25
markoong left23:28
benjikun joined23:43
benji__ left23:45
blackberry9900 joined23:59

Logs Search ←Prev date Next date→ Channels Documentation