🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku Set by ChanServ on 14 October 2019. |
|||
00:00
wildtrees left
|
|||
vrurg | Aearnus: I'm having weird discrpancies on read benchmark result where ratio flip-flops between 1.6 and 9 times slow down. But write is consistent and it's only 1.4 times slower. | 00:06 | |
discord6 | <Aearnus> huh, interesting | ||
<Aearnus> how many reads/writes a second does that come out to vrurg? | 00:07 | ||
vrurg | Try it yourself: gist.github.com/vrurg/aa7eb27dd56b...fe4a0ec5fa | 00:09 | |
On your system it would most likely be different numbers. | 00:10 | ||
discord6 | <Aearnus> fair point haha | 00:22 | |
<Aearnus> thx vrurg | |||
vrurg | welcom! :) | 00:28 | |
00:30
warriors left
00:36
Kaiepi left
|
|||
Doc_Holliwood | did anybody ever try to upload a module with a wide unicode name? like "Mojūru" | 00:40 | |
or even real kanji characters? which this client doesn't support | |||
AlexDaniel | Doc_Holliwood: there's this modules.perl6.org/dist/Acme::%E0%B...:ELIZABETH | 00:41 | |
guifa chuckles at that module | 00:42 | ||
Grinnz | based on metacpan.org/pod/distribution/Acme...me/o_o.pm, but probably has to jump through far less hoops :P | 00:43 | |
AlexDaniel | guifa: you might also like module ../Foo | ||
Doc_Holliwood joins the chuckling | |||
AlexDaniel | guifa: here on the bottom: modules.perl6.org/search/?q=foo | 00:44 | |
Grinnz | well that seems like a terrible idea :P | ||
AlexDaniel | Grinnz: IIRC you can actually install it if you clone it from here github.com/AlexDaniel/foo-dotdotslash | 00:45 | |
Grinnz: and then do `zef install .` | |||
guifa | I think I’m going to have to have to join in the fun sometime. Maybe a Raku and/or Perl calendar variant whose epoch is the original release date? | ||
guifa would then make the Perl calendar always one day behind the Raku one 😈 | |||
AlexDaniel | guifa: actually, I'd love to see an implementation of International Fixed Calendar | 00:46 | |
could be handy for certain operations | |||
Doc_Holliwood | are you nuts? | ||
AlexDaniel | Grinnz: also I think it's possible to uninstall it too | 00:47 | |
Grinnz: oh, and it has tests, and they pass! | |||
Grinnz | heh | ||
Doc_Holliwood | it is known that only opening a source file with date related code has led to sudden brain bleeding and strokes | ||
let alone reading it | |||
Grinnz | i guess having the ability to store the modules without the same name on the filesystem helps | ||
not so much with the URLs, apparently | |||
AlexDaniel | Grinnz: that's just a bug on the website | 00:48 | |
guifa | Doc_Holliwood: someone has to do it. I’m sacrificing myself. I actually grabbed a copy of the Calendric Calculations book to start work on it | ||
AlexDaniel | I wouldn't be surprised if module <b> does exactly what I expect it to do… | ||
Grinnz is quite happy with the restriction of only word characters and :: in package names | |||
AlexDaniel | yeah, well… I should really upload a <b> module | 00:49 | |
Grinnz | if that breaks it that's definitely a bug | ||
url escaping can be ambiguous, html escaping not so much :P | |||
00:50
afasdf joined
|
|||
AlexDaniel | wait there's an emptystring module too? | 00:50 | |
guifa | The trick is that some calendars can’t be converted with 100% accuracy and then you run into issues of date vs datetime. I’m actually not sure how to handle a datetime for Hebrew and I’ve not seen any generally advice on handling it | ||
AlexDaniel | oh! There it is | ||
modules.perl6.org/search/?q=author...eksejev%22 | |||
on the bottom | |||
Grinnz | also a nice link :P | 00:51 | |
that reminds me of when i didnt check for empty strings on cpanmeta.grinnz.com/ but didnt notice because they were all just empty <a> anyway | |||
guifa: www.tondering.dk/claus/calendar.html | 00:52 | ||
guifa | Grinnz: that page identifies the problem (without stating it as such) but without a solution. Hebrew calendar days start basically at sunset | 00:53 | |
Grinnz | mmmhm | ||
sunset data is not encoded to anything useful, so i think you might be generally out of luck there | 00:54 | ||
guifa | You can calculate it, but it’s not really useful anyways, because what do you do for polar areas? | 00:55 | |
Grinnz | perhaps approximations like sunset is at 6pm would be good enough | ||
AlexDaniel | OK I have a module… | ||
00:56
benjif left
00:58
afasdf left
00:59
ZzZombo_ joined
|
|||
Geth | ecosystem: 098343874e | (Aleks-Daniel Jakimenko-Aleksejev)++ | META.list Add Foo::<b>Foo module |
00:59 | |
guifa | Grinnz: yeah, there’s no great solution except to give people options (align with Jerusalem, strictly 6pm, align to a supplied location, align to the near non-polar area, etc) | ||
Islamic calendar has similar problems, it’s impossible to predict observational calendars in advance, so calculations will always have a margin of error of a day or two | 01:00 | ||
AlexDaniel | now we just wait for the index to update… | ||
to see the epic fail | 01:01 | ||
Grinnz: what would be a better namespace for stuff like this? | |||
Grinnz: “Foo” doesn't sound like a good one, right? | |||
Grinnz | everything like this is Acme:: in perl 5 | 01:02 | |
unless its a funny pragma that has to be at top level | |||
AlexDaniel | but Acme has like, um, how do I say it | ||
“useful stuff” | |||
01:02
ZzZombo left
|
|||
Grinnz | eh? | 01:02 | |
01:02
ZzZombo_ is now known as ZzZombo
|
|||
AlexDaniel | I mean like stuff that actually works, my modules are simply there to test/break tooling | 01:03 | |
Grinnz | yeah, Acme:: has both | ||
like Acme::Bleach actually works, but still is pointless | |||
AlexDaniel | we have something like that too, I think: github.com/perl6-community-modules...me-Anguish | 01:04 | |
hmm it doesn't allow these characters in the source code? bummer | 01:05 | ||
Grinnz | heh | ||
cpan-raku | New module released to CPAN! LibXML (0.1.5) by 03WARRINGD | 01:07 | |
01:10
stanleytam joined
|
|||
AlexDaniel | I guess a null byte in the name can be fun too | 01:20 | |
===SORRY!=== Cannot use null character (U+0000) as part of the path | 01:24 | ||
:S | |||
that's weird, I'm not sure why it attempts to | 01:25 | ||
eh, it ends up constructing an IO::Path somewhere, I guess | 01:28 | ||
Geth | ecosystem: 9d223885a0 | (Aleks-Daniel Jakimenko-Aleksejev)++ | META.list Add Foo::nullbyteFoo module |
01:43 | |
AlexDaniel | zef is happy to `install .` it and it even passes tests… so, uh, ok? | 01:44 | |
this line makes no difference though: github.com/AlexDaniel/foo-nullbyte...Foo.pm6#L1 | |||
01:50
softmoth left
|
|||
Geth | ecosystem: 7e7f2b0746 | (Aleks-Daniel Jakimenko-Aleksejev)++ | META.list Add Foo:: Foo module |
01:51 | |
AlexDaniel | enough for now | 01:52 | |
01:57
Doc_Holliwood left
|
|||
AlexDaniel | Grinnz: nope, <b> is ok modules.perl6.org/search/?q=foo | 02:03 | |
null byte maybe not so much, but it's not too horrible | |||
02:14
softmoth joined
02:19
kotrcka left
02:22
warriors joined
|
|||
discord6 | <Aearnus> just got back from a lecture with Noam Chomsky. cool stuff | 02:27 | |
warriors | did you tell him about raku | 02:28 | |
02:33
Kaiepi joined
|
|||
discord6 | <Aearnus> haha, I was definitely thinking about it | 02:33 | |
<Aearnus> but the moderators were like "only questions about the class, please" | 02:34 | ||
<Aearnus> I'll try to bring it up when we talk about generative grammars | |||
warriors | tell him raku is a shinto shrine :) | ||
and give him the Clay Shirky presentation | 02:35 | ||
03:07
hythm joined
|
|||
hythm | hello | 03:17 | |
p6: my $str1 = 'abc'; my $str2 = '/.*bc/'; say 'abc' ~~ / <$str1> /; say 'abc' ~~ / <$str2> / | |||
camelia | 「abc」 5===SORRY!5=== Unrecognized regex metacharacter / (must be quoted to match literally) at /home/camelia/EVAL_1:1 ------> 3anon regex {7⏏5 /.*bc/} Unrecognized regex metacharacter . (must be quoted to match literally) at… |
||
hythm | how can I fix the eror in the last statement? | 03:18 | |
s/eror/error/ | |||
p6: y $str = '/.*bc/'; say 'abc' ~~ / <{$str}> / | 03:22 | ||
camelia | 5===SORRY!5=== Error while compiling <tmp> Unsupported use of y///; in Perl 6 please use tr/// at <tmp>:1 ------> 3y7⏏5 $str = '/.*bc/'; say 'abc' ~~ / <{$str} |
||
hythm | p6: my $str = '/.*bc/'; say 'abc' ~~ / $<str> / | ||
camelia | Nil | ||
hythm | p6: my $str = '/.*bc/'; say 'abc' ~~ / <{$str}> / | 03:23 | |
camelia | 5===SORRY!5=== Unrecognized regex metacharacter / (must be quoted to match literally) at /home/camelia/EVAL_0:1 ------> 3anon regex {7⏏5 /.*bc/} Unrecognized regex metacharacter . (must be quoted to match literally) at /home/camel… |
||
warriors | look i am complete nood | 03:26 | |
03:27
ZzZombo_ joined
|
|||
warriors | but adding / / once in str2 and again in the regex | 03:27 | |
looks off | |||
been a while since i looked at regex | |||
03:30
ZzZombo left,
ZzZombo_ is now known as ZzZombo
|
|||
hythm | agree, I saw it in SO question, and it's not working without the // so I added it to try | 03:32 | |
03:32
Kaiepi left
|
|||
hythm | the question is how can I interpolate a variable into a regex and acts as Str or Regex, so it can be matched as literal string or regex based on the content of the variable | 03:37 | |
the goal is to have :auth<github:raku> ~~ :auth<github:raku> and :auth</.*:raku/> ~~ :auth<github:raku> both returns true | 03:42 | ||
I made it work before but forgot how I did it | 03:43 | ||
typo: :auth</github:raku/> ~~ :auth<github:raku> and :auth</.*:raku/> ~~ :auth<github:raku> both returns true | 03:44 | ||
ops typo again, it's confusing: :auth<github:raku> ~~ :auth<github:raku> and :auth</.*:raku/> ~~ :auth<github:raku> both returns true | 03:46 | ||
warriors | p6: my $str2 = /.*bc/; say 'abc' ~~ $str2 | 03:47 | |
camelia | 「abc」 | ||
warriors | is that what you want | ||
p6: my $str2 = /.*bf/; say 'abc' ~~ $str2 | |||
camelia | Nil | ||
warriors | p6: my $str2 = /.*b./; say 'abc' ~~ $str2 | ||
camelia | 「abc」 | ||
warriors | p6: my $str2 = /.*b./; say 'abc' ~~ "$str2" | 03:49 | |
camelia | Regex object coerced to string (please use .gist or .perl to do that) False in block <unit> at <tmp> line 1 |
||
warriors | p6: my $str2 = /.*b./; say 'abc' ~~ /$str2/ | ||
camelia | 「abc」 | ||
warriors | hmmm | ||
p6: my $str2 = /.*b./; say 'abc' ~~ ///$str2/// | |||
camelia | 5===SORRY!5=== Error while compiling <tmp> Null regex not allowed at <tmp>:1 ------> 3my $str2 = /.*b./; say 'abc' ~~ //7⏏5/$str2/// |
||
warriors | p6: my $str2 = /.*b./; say 'abc' ~~ //$str2// | 03:50 | |
camelia | 5===SORRY!5=== Error while compiling <tmp> Null regex not allowed at <tmp>:1 ------> 3my $str2 = /.*b./; say 'abc' ~~ //7⏏5$str2// |
||
warriors | p6: my $str2 = /.*b./; say 'abc' ~~ /$str2/ | ||
camelia | 「abc」 | ||
hythm | p6: my $str = '/.*:def/'; say 'abc:def' ~~ $str | 03:52 | |
camelia | False | ||
hythm | p6: my $str = 'abc:def'; say 'abc:def' ~~ $str | 03:53 | |
camelia | True | ||
hythm | :p6 my $str = '/.*:def/'; say 'abc:def' ~~ / <$str> / | 03:55 | |
p6: my $str = '/.*:def/'; say 'abc:def' ~~ / <$str> / | |||
camelia | 5===SORRY!5=== Unrecognized regex metacharacter / (must be quoted to match literally) at /home/camelia/EVAL_0:1 ------> 3anon regex {7⏏5 /.*:def/} Unrecognized regex metacharacter . (must be quoted to match literally) at /home/cam… |
||
warriors | p6: my $str = '/.*bc/'; say $str.WHAT ; my $str2 = /.*bc/ ; say $str2.WHAT | 04:01 | |
camelia | (Str) (Regex) |
||
warriors | i think is your answer | ||
hythm | p6: my $dist-auth = 'github:raku'; my $needed-auth = 'github:raku'; say $needed-auth ~~ / $dist-auth / | ||
camelia | 「github:raku」 | ||
hythm | p6: my $dist-auth = 'github:raku'; my $needed-auth = '/.*:raku/'; say $needed-auth ~~ / $dist-auth / | ||
camelia | Nil | ||
warriors | why are you saving the regex in a str | ||
in the first place | |||
hythm | because it is coming from user input | ||
warriors | p6: my $str = '/.*bc/'; say $str.WHAT ; my $str2 = /$str/ ; say $str2.WHAT | 04:02 | |
camelia | (Str) (Regex) |
||
warriors | cast the input to regex | 04:03 | |
hythm | p6: my $dist-auth = 'github:raku'; my regex needed-auth { /.*:raku/ }; say $dist-auth ~~ <$needed-auth> | 04:11 | |
camelia | 5===SORRY!5=== Unrecognized regex metacharacter / (must be quoted to match literally) at <tmp>:1 ------> 3 = 'github:raku'; my regex needed-auth {7⏏5 /.*:raku/ }; say $dist-auth ~~ <$needed Unrecognized regex metacharacter . (must be… |
||
hythm | may be I dont need to cast the input to regex, if its string or regex ~~ should match fine, no? | 04:15 | |
may be I have too, I think I should sleep can't focus on anything... gn | 04:17 | ||
p6: say 'github:raku' ~~ / .*:raku / # sigh | 04:53 | ||
camelia | Nil | ||
hythm | p6: say 'githubraku' ~~ / .*raku / | 04:57 | |
camelia | 「githubraku」 | ||
05:07
hythm left
05:29
warriors left
05:31
Kaiepi joined
05:46
Kaiepi left
05:51
Kaiepi joined
05:59
xinming_ left
06:01
xinming_ joined
06:13
softmoth left
|
|||
El_Che | < discord6> <Aearnus> but the moderators were like "only questions about the class, please" <-- the working class, I hope ;) | 06:15 | |
discord6 | <Aearnus> hahah El_Che | 06:17 | |
06:19
sena_kun joined
07:13
sena_kun left
07:24
Doc_Holliwood joined
07:39
ZzZombo_ joined
07:42
ZzZombo left
07:43
ZzZombo_ is now known as ZzZombo
07:48
marcusr left
07:49
marcusr joined
07:54
marcusr left,
marcusr joined
08:11
ZzZombo left
|
|||
Geth | doc: d5c8b8c6b4 | finanalyst++ | 2 files Highlight Community, add IRC bot list 1 - Place the Community resources in HomePage (leaving the same link in the Language page) 2 - Add a list of bots (the text is taken from perl6.org/community/IRC) to the Community page. 3 - Some editing of Raku / Perl6 4 - Added channel #raku to resource list. |
08:20 | |
doc: 7e4014ae4b | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files Merge pull request #3064 from finanalyst/master Highlight Community, add IRC bot list |
08:21 | ||
08:25
xinming_ left
08:27
xinming_ joined
|
|||
Geth | ¦ problem-solving: JJ self-assigned Generic name for FALLBACK and CALL-ME github.com/perl6/problem-solving/issues/119 | 08:30 | |
08:32
ufobat_ is now known as ufobat
09:04
Doc_Holliwood left
|
|||
Geth | doc: 6a5cebe7e6 | (JJ Merelo)++ | doc/Type/Str.pod6 Clarifies with examples how :delete and :squash work, closes #3057 |
09:12 | |
09:18
stanleytam left
09:53
Doc_Holliwood joined
10:11
sena_kun joined
|
|||
squashable6 | 🍕 lizmat++ opened issue “Empty #| cause compilation error”: github.com/rakudo/rakudo/issues/3242 | 10:28 | |
🍕🍕🍕 First contribution by lizmat++! ♥ | |||
🍕 lizmat++ labeled issue “Empty #| cause compilation error” (BLOCKER): github.com/rakudo/rakudo/issues/3242 | 10:44 | ||
11:19
MasterDuke left
|
|||
lizmat | weekly: raku.online/2019/10/18/raku-one-li...free-book/ | 11:20 | |
notable6 | lizmat, Noted! (weekly) | ||
Doc_Holliwood | did somebody try the "resources" feature. i put a file into that field in the meta6, and installed the module. in the module code i dump %?RESOURCES but it doesn't show the file i included there | 11:29 | |
If i understand the docs right, there should be and additional entry in there that points to the location of the resource | 11:31 | ||
docs.perl6.org/language/modules#in...META6.json | |||
11:36
xinming_ left
11:37
xinming_ joined
11:43
pmurias joined
11:47
ufobat left
|
|||
sena_kun | Doc_Holliwood, how does your `resources` field in META6.json look like? where is your file placed, in `resources/$filename`? in the module distribution directory? | 11:49 | |
Doc_Holliwood | Mmh. I could find my file in rakudo\share\perl6\site\resources | 11:50 | |
but how do I know the checksum? | |||
sena_kun | Doc_Holliwood, you don't need to know those details, you are using external API only | ||
Doc_Holliwood, you can check if your setup fits to some working example | 11:51 | ||
e.g. with cro-http: | |||
github.com/croservices/cro-http/bl...6.json#L74 <- META6.json | |||
github.com/croservices/cro-http/bl...index.html <- the file placement itself | |||
github.com/croservices/cro-http/bl....pm6#L1068 <- usage | |||
Doc_Holliwood, makes sense or not really? | 11:55 | ||
Doc_Holliwood | finrah i seee | ||
ah, i see | |||
see i dumped %?RESOURCES and saw no keys | |||
but when I ask for %?RESOURCES{"myfile"} it return something | 11:56 | ||
sena_kun | well, that's because there is some magic involved, so you don't don't inspect it directly, rather you ask it "Give me something by this name". | ||
s/don't don't/don't/ | |||
Doc_Holliwood | That could be mentioned in the documentation. | 11:57 | |
sena_kun | github.com/perl6/doc/issues/2240 <- there is even my ticket that asks for that... | 11:58 | |
Doc_Holliwood, if you want, you can volunteer to document it. :) | 11:59 | ||
Doc_Holliwood starts to cry | |||
All I wanted was to write a nicely coded cross platform implementation of a command line pac man | 12:00 | ||
Now I find myself rewriting half of mi6 because it annoys me so much | |||
And you ask me to shave another yak | |||
Doc_Holliwood shakes fists | |||
I'm kidding. But you can also do it. I think pretty much everybody has commit bits to the docs | 12:01 | ||
sena_kun | I can, of course, and I did not insist, just asked. | 12:02 | |
12:02
MasterDuke joined
12:08
pmurias left
12:09
pmurias joined
12:14
scimon joined
12:16
pmurias left
12:17
pmurias joined
12:22
pmurias left
|
|||
Kaiepi | squashable6, status | 12:39 | |
squashable6 | Kaiepi, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈23 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
Kaiepi, Log and stats: gist.github.com/fd718ceef5ec50e517...136cd9183d | |||
12:44
Kaiepi left,
pmurias joined
|
|||
Doc_Holliwood | can i deconstruct a `Pair` in a loop variable assignment? this doesn't work: for @pairs -> ($key, $value) {} | 12:50 | |
12:53
Kaiepi joined
|
|||
vrurg | Doc_Holliwood: (:key($key), :value($value) | 12:57 | |
13:11
bisectable6 joined
|
|||
Doc_Holliwood | i see, tx | 13:16 | |
moritz | or just -> (:$key, :$value) should work | 13:17 | |
m: for :a, :b, :c -> (:$key, :$value) { say $key } | |||
camelia | a b c |
||
13:18
ufobat joined
|
|||
squashable6 | 🍕🍕🍕 First contribution by Kaiepi++! ♥ | 13:20 | |
13:27
warriors joined
13:39
veesh_ joined
13:40
veesh left,
veesh_ is now known as veesh
|
|||
squashable6 | 🍕🍕🍕 First contribution by AlexDaniel++! ♥ | 13:42 | |
🍕 AlexDaniel++ unlabeled issue “Empty #| cause compilation error” (BLOCKER): github.com/rakudo/rakudo/issues/3242 | 13:43 | ||
🍕 AlexDaniel++ labeled issue “Empty #| cause compilation error” (tests needed): github.com/rakudo/rakudo/issues/3242 | |||
🍕 AlexDaniel++ wrote a comment on “Empty #| cause compilation error”: github.com/rakudo/rakudo/issues/32...-543754093 | |||
🍕 vrurg++ closed pull request “Preparing for possible c…”: github.com/perl6/roast/pull/566 | 13:50 | ||
🍕🍕🍕 First contribution by vrurg++! ♥ | |||
nine | Oh boy...just found out where that bug in our Perl 5 code base at work is coming from that went away when I added some debug output. | 14:07 | |
The debug statement was: warn((scalar keys %$links) . " entries in cache"); | 14:08 | ||
Followed by while (my ($name, $target) = each %$links) { ... } So the bug was that the hash iterator for %$links wasn't reset between calls to that function. This makes me appreciate the cleanup that Raku as a language got all the more! | |||
squashable6 | 🍕 tbrowder++ wrote a comment on “Empty #| cause compilation error”: github.com/rakudo/rakudo/issues/32...-543765926 | 14:12 | |
🍕🍕🍕 First contribution by tbrowder++! ♥ | |||
14:15
pmurias left
14:16
cpan-raku left
14:17
cpan-raku joined,
cpan-raku left,
cpan-raku joined
14:21
pmurias joined
|
|||
Grinnz | nine: yes each is gross don't use it ;) | 14:21 | |
14:24
lucasb joined
|
|||
El_Che | releasable6: status | 14:28 | |
releasable6 | El_Che, Next release in ≈1 day and ≈4 hours. 6 blockers. Unknown changelog format | ||
El_Che, Details: gist.github.com/58dd4ad0211cd0c862...10d9430df4 | |||
squashable6 | 🍕 lucasbuchala++ labeled issue “MMD in role not working with natives” (native types): github.com/rakudo/rakudo/issues/3210 | ||
🍕🍕🍕 First contribution by lucasbuchala++! ♥ | |||
🍕 lucasbuchala++ labeled issue “MMD in role not working with natives” (multimethods): github.com/rakudo/rakudo/issues/3210 | |||
🍕 lucasbuchala++ labeled issue “Empty #| cause compilation error” (POD6): github.com/rakudo/rakudo/issues/3242 | 14:30 | ||
🍕 Kaiepi++ opened pull request “Add tests for R#3035”: github.com/perl6/roast/pull/584 | |||
AlexDaniel | vrurg: can you take a look at github.com/perl6/roast/pull/584 ? :) | 14:31 | |
squashable6 | 🍕 Kaiepi++ synchronize pull request “Add tests for R#3035”: github.com/perl6/roast/pull/584 | ||
AlexDaniel | vrurg: it's a new file, it needs to be added to a list somewhere, right? | 14:32 | |
Kaiepi++ :) | |||
vrurg | AlexDaniel: later tosay, I'm off for breakfast. :) But have it opened in a tab already. | ||
squashable6 | 🍕 lucasbuchala++ labeled issue “Regression in NativeCall, seems Role related” (NativeCall): github.com/rakudo/rakudo/issues/3235 | 14:34 | |
🍕 AlexDaniel++ opened issue “Large nativecall-related ecosystem fallout ”: github.com/rakudo/rakudo/issues/3243 | 14:36 | ||
🍕 AlexDaniel++ labeled issue “Large nativecall-related ecosystem fallout ” (BLOCKER): github.com/rakudo/rakudo/issues/3243 | |||
14:38
pmurias left
|
|||
squashable6 | 🍕 lucasbuchala++ labeled issue “Match operator: error wi…” (junctions): github.com/rakudo/rakudo/issues/3221 | 14:38 | |
🍕 lucasbuchala++ labeled issue “Match operator: error wi…” (regex): github.com/rakudo/rakudo/issues/3221 | |||
14:50
pmurias joined
|
|||
squashable6 | 🍕 AlexDaniel++ labeled issue “Weird issue in epoll module” (BLOCKER): github.com/rakudo/rakudo/issues/3244 | 14:50 | |
🍕 AlexDaniel++ opened issue “Weird issue in epoll module”: github.com/rakudo/rakudo/issues/3244 | |||
AlexDaniel | Kaiepi: I don't know if your commits are the actual cause of this issue, but maybe you'll be able to tell: github.com/rakudo/rakudo/issues/3244 | 14:51 | |
14:52
RubioTerra joined
14:58
pmurias left
|
|||
Kaiepi | taking a look rn AlexDaniel | 15:01 | |
15:19
scimon left
15:29
ufobat left
15:38
scimon joined
15:44
jjmerelo joined
|
|||
Geth | ¦ problem-solving: JJ assigned to AlexDaniel Issue Wikipedia and Wikidata curation github.com/perl6/problem-solving/issues/120 | 15:46 | |
squashable6 | 🍕 Kaiepi++ wrote a comment on “Weird issue in epoll module”: github.com/rakudo/rakudo/issues/32...-543805114 | 15:47 | |
jjmerelo | releasable6: status | 15:50 | |
releasable6 | jjmerelo, Next release in ≈1 day and ≈3 hours. 8 blockers. Unknown changelog format | ||
jjmerelo, Details: gist.github.com/587eade43791192a27...ac5c3fd9fc | |||
jjmerelo | squashable6: status | ||
squashable6 | jjmerelo, 🍕🍕 SQUASHathon is in progress! The end of the event in 1 day and ≈20 hours. See github.com/rakudo/rakudo/wiki/Mont...Squash-Day | ||
jjmerelo, Log and stats: gist.github.com/2d43a2068aedf3cb16...c96652e97f | 15:51 | ||
jjmerelo | Is the squashathon really going on? | ||
AlexDaniel | yep | 15:53 | |
Kaiepi++ did a roast pull request :) | |||
jjmerelo | AlexDaniel with testneeded, I guess | 15:59 | |
15:59
scimon left
|
|||
AlexDaniel | ⚠ please think twice before doing disruptive changes on wikipedia and other related projects: github.com/perl6/problem-solving/i...-543810775 | 16:01 | |
El_Che | Is it likely we hava release tomorrow or it more a generic timer what releasable shows? (I am preparing the addition of Centos 8 and Ubuntu 19.10 packages) | 16:08 | |
16:08
jjmerelo left
|
|||
AlexDaniel | El_Che: eh there are a few issues right now | 16:11 | |
El_Che: so it will likely take a bit more than that | 16:12 | ||
El_Che | ok, good to know. I may relase 2019.07 packages for these new distros in the meantime | ||
AlexDaniel | I'm optimistic, I don't think it'll take too long, just not 1 day I guess | 16:13 | |
El_Che | AlexDaniel: are you the release manager again? | ||
AlexDaniel | El_Che: still is, unfortunately | ||
kawaii is running Blin, so that's some help | |||
kawaii: btw, it'd be even better if you were creating tickets for detected regressions :) | 16:14 | ||
El_Che | That should teach you not to do a great job in your future endehavours :) | ||
vrurg | AlexDaniel: isn't it time to start thinking about release branching and cherry-picking only blocker fixes? | ||
AlexDaniel | vrurg: yeah, it's a common complaint, but it's not as simple | 16:15 | |
sure I can start a release branch like twoo weeks ahead or whatever, but then people would be sad that the commits are not making their way into the next release and start cherry-picking a bunch of stuff | 16:16 | ||
vrurg | AlexDaniel: we make a policy on this. It's normal for a release to lag behind, I don't see a big deal here. | ||
AlexDaniel | it's already hard to keep master branch sane with all the bumps and stuff, and doing the same for release branches is doable but not as great as people suggest | 16:17 | |
and then, whateverable doesn't even track branches, so all the tooling will suck | |||
as I mentioned previously, I'll likely submit a grant proposal that'll have this covered, so maybe it'll be easier in the future | 16:18 | ||
(I mean, making whateverable better) | |||
El_Che | AlexDaniel++ | ||
AlexDaniel | vrurg: I also don't, but in my experience whenever we had release branches for just a few days people would keep asking if their amazing fixes will make their way into the release | 16:19 | |
vrurg | AlexDaniel: tooling is the only serious problem as to me. It is technical. The rest we can manage. | ||
AlexDaniel | vrurg: I guess it's less of an issue now because rakudo is very stable and pretty fast too | 16:20 | |
so yeah, that's definitely something we can improve | |||
vrurg | With a good release policy in place the answer to those requests would be: see paragraph 'WHY NO' | ||
AlexDaniel | there's this thing also… every new release manager used to introduce a bunch of good changes to the release process | 16:21 | |
vrurg | Ok, I have things to be done first place... Won't be able to answer but would try to follow. | ||
AlexDaniel | and if you look at this list you'll probably see an issue :) github.com/rakudo/rakudo/blob/mast...ses-so-far | 16:22 | |
I'm out of steam, someone needs to take over | |||
16:24
softmoth joined
|
|||
AlexDaniel | and people who haven't contributed much to raku or rakudo are even more welcome to this job | 16:28 | |
because I'd much rather not distract existing devs with release management | |||
kawaii: you had something you were working on, any news? github.com/perl6/problem-solving/i...-507668134 | 16:30 | ||
kawaii | Sorry yes, I've been extremely distracted recently due to $real-life but I do have some long-term plans for how the "release team" should structure and organize releases in the future. I need to find some time to find my feet in the community again, as I took a backseat during the name transition to see what would happen, and contemplated my position here as I'm one of the few people who chose Perl 6 _because_ it's Perl. | 16:55 | |
As opposed to people who see the name "Perl" and are dissuaded from reading further into it. | |||
sena_kun | While people can feel, the language itself won't change whatever name it is under. The features are here, the ideas behind are here. | 17:02 | |
imho, names (in general) are just links, just as words are in general. once people made an agreement that, hmm, an abstract class of objects with some common traits is called "a chair", and some other imaginary class to be "a table". We, humans, use our cool telepathy powers to recognize that "Oh, so when my ears perceive those waves in the air, I should parse them and get an imaginary brain concept linked to this pattern of air waves, | 17:06 | ||
ok, I'll do that". But virtually there is no difference, as world does not need words to operate at all. | |||
alas, the world is complex and our brains are simpler than it by definition, so our way of doing telepathy is often very LTA. | 17:07 | ||
I did not intend to say something like "Your feelings are not important!" right now, only to provide a (possibly) different perspective. | 17:10 | ||
AlexDaniel | btw those participating in the squashathon, you can also register here too: hacktoberfest.digitalocean.com/ | 17:30 | |
free t-shirt, hey! | |||
for everyone who makes at least 4 pull requests, as far as I can see | |||
and for squashathon itself there's one camelia :) | 17:31 | ||
17:40
Kaiepi left
17:45
benjif joined
|
|||
japhb | AlexDaniel: What is this squashathon's subject? | 17:54 | |
17:54
wildtrees joined,
wildtrees left
|
|||
vrurg | japhb: writing test for "testneeded" tickets in rakudo. | 17:55 | |
*writing tests | |||
japhb | Oooh, that's a good one | 17:56 | |
18:04
Kaiepi joined
|
|||
brass | .raku is the new file extension right? | 18:31 | |
sena_kun | brass, for scripts - yes. | 18:36 | |
18:42
simcop2387 left
18:51
simcop2387 joined
|
|||
AlexDaniel | brass: most tools don't know about it yet, but yeah | 18:52 | |
18:52
fingolfin3 joined
|
|||
brass | Ah ok | 18:52 | |
Thanks! | |||
I'm slowly making my way through the learnxiny for raku and I'm really liking it! | 18:54 | ||
guifa is holding off changing the filenames in modules until the 6e release | 18:57 | ||
AlexDaniel | guifa: 👍 | ||
guifa | (plus I don’t think zef can handle them right now, right?) | 19:04 | |
AlexDaniel | guifa: it depends, I think “.pm6” files can have any extension, but I'm not sure | 19:12 | |
guifa: as long as the path to them is right in META6.json | |||
I guess there are other ways they won't work, but just saying that it's possible to get away with it :) | 19:13 | ||
19:14
ggoebel left
19:19
lelf joined
|
|||
guifa | AlexDaniel: fair. I just wanna make sure to maximize compatibility for the time being. Actually TBH if zef/6.e together will still accept .pm6 and such I might leave them as such until 6.f, much as I want to be the avante garde of the change over | 19:21 | |
Interesting that binding can’t be done for attribuets. Is there any particular reason for that? /me is trying to apply a proxy to an attribute | 19:22 | ||
squashable6 | 🍕🍕🍕 First contribution by niner++! ♥ | 19:24 | |
19:25
Kaiepi left
19:26
Kaiepi joined
19:27
lelf left,
lelf joined
|
|||
tbrowder | i'm asking those who used "stacked" leading declarator blocks, a sequence of lines before a sub like"("#| some comment | 19:29 | |
like: #| comment 1; #| comment 2;... how you would like that to be rendered | 19:30 | ||
guifa | tbrowder: I asked that actually just yesterday or maybe it was day before. timotimo said that the presumption is two oneliners like that should be joined | 19:31 | |
tbrowder | at the moment the sequence is concatenated into one normalized string | ||
guifa | #| Hello, my | ||
#| name is | |||
#| Camelia | |||
sub foo … | 19:32 | ||
The whole thing would be “Hello, my name is Camelia” and get attached to sub foo | |||
squashable6 | 🍕 niner++ wrote a comment on “Regression in NativeCall, seems Role related”: github.com/rakudo/rakudo/issues/32...-543903663 | ||
🍕 niner++ closed issue “Regression in NativeCall, seems Role related”: github.com/rakudo/rakudo/issues/3235 | |||
tbrowder | but i woulld like to see my text as is, newlines and spaces as i entered them | ||
at the moment, you can use the #|( .... ) form to do the same thing, one string | 19:34 | ||
guifa | Based on some other systems I’ve seen, I think the optimal would be to assume that if the line starts on the same indent level, consider it a continuation of the previous. If it has a higher space indent, then new line + indent X spaces | ||
Because thinking about how I’ve done those style comments in my code, I definitely have some indented stuff that should be preserved. | 19:35 | ||
tbrowder | my proposal is to modify the "stack" of #| lines to keep the text as is, not stringify it into one line | ||
guifa: the problem with the fancier method you're suggesting is grammar complexity. we already have good pod elements to do that kind of thing. | 19:37 | ||
i have been able to implement my proposal but don't want to waste any more time if the idea is shot down | 19:39 | ||
guifa | tbrowder: i’m not opposed to yours. I don’t think either one is inherintely better or worse, I’d just be curious to see how most people use them and would interpret the typical uses (that’s an real curiousity, in case textchat isn’t conveying it well). | 19:45 | |
Or, thinking outloud, perhaps since the #|( … ) “will not translate to a multi-line display”, we could say that a sequence of #| over various lines by default implies newlines, but have ¬ or something force join it, and allow \n or a double newline imply a newline for the #|( … ) syntax ? | |||
19:46
wildtrees joined
|
|||
tbrowder | guifa: we're on the same page, but in any case, at present, the single line is all you can get. my simple proposal gives you a choice and provides a path to future improvements. | 19:48 | |
by the way, as the code is now, a #|newline is just an ordinary comment that is NOT added to previous or later #| leading declarator comment lines | 19:59 | ||
guifa | ^^ so since it’s not combining them, this is a great time to decide on how to interpret it :-) | 20:00 | |
20:01
xkr47 joined
|
|||
tbrowder | i agree! | 20:02 | |
xkr47 | hi! | ||
guifa | hi xkr47! | ||
xkr47 | "Hi, I'm xkr47 and I'ma perl5 addict" | ||
(does that get me kickbanned? :) | |||
guifa | Not at all! | 20:03 | |
tbrowder | xkr47: hi, no, all are welcome | ||
xkr47 | thanks! | 20:04 | |
Grinnz | and indeed, it's less confusing now ;) | 20:05 | |
tbrowder | guifa: i'll see if i can mod my impl to recognize intervening newlines, | ||
20:05
pmurias joined
|
|||
tbrowder | as a first ste | 20:05 | |
*step | |||
guifa: see rakudo issue #2332 for my original proposal. i don't think i will attempt that given what i've seen after trying to mod the actual code for that area. | 20:10 | ||
xkr47 | anyone tried using the graal vm with raku? | 20:11 | |
guifa | tbrowder: definitely will take a look at it and drop some comments over there. Have to get some tests and papers graded but will probably do that afterwards. | 20:12 | |
pmurias | xkr47: currently working on a truffle/graalvm backend for rakudo | 20:15 | |
tellable6 | 2019-10-17T22:24:18Z #raku-dev <MasterDuke> pmurias: nice. i see a lot of graalvm in the news and i hope to do some more after i finish up this libtommath work | ||
guifa | pmurias: nice! | ||
pmurias | xkr47: it's in very early stages currently | ||
but the truffle design seems like a perfect fit for Raku | 20:16 | ||
Geth | doc/document-resources: a24093fc8c | Altai-man++ | doc/Language/modules.pod6 Remove redundant newline |
||
doc/document-resources: 09016b78a0 | Altai-man++ | doc/Language/variables.pod6 Document %?RESOURCES |
|||
¦ problem-solving: JJ assigned to jnthn Issue Check MoarVM out using OSS-fuzz github.com/perl6/problem-solving/issues/121 | 20:17 | ||
doc: Altai-man++ created pull request #3065: Document resources |
20:18 | ||
xkr47 | pmurias, cool! | 20:24 | |
pmurias, any links? :) | 20:28 | ||
20:29
pmurias left
|
|||
squashable6 | 🍕 Altai-man++ opened pull request “Test Parameter subclassing”: github.com/perl6/roast/pull/585 | 20:30 | |
🍕🍕🍕 First contribution by Altai-man++! ♥ | |||
20:31
pmurias joined
|
|||
squashable6 | 🍕 Altai-man++ synchronize pull request “Test Parameter subclassing”: github.com/perl6/roast/pull/585 | 20:38 | |
🍕 Altai-man++ opened pull request “Test runtime-created classes being attributes”: github.com/perl6/roast/pull/586 | 20:40 | ||
pmurias | xkr47: github.com/perl6/nqp/tree/truffle - truffle branch in NQP | 20:41 | |
squashable6 | 🍕 Altai-man++ opened pull request “Test rakudo-specific warning for shape specifier”: github.com/rakudo/rakudo/pull/3245 | 20:54 | |
🍕 Altai-man++ wrote a comment on “Difference between Int @a and @a[Int]”: github.com/rakudo/rakudo/issues/25...-543941516 | |||
20:59
cj joined
|
|||
cj | hey folks | 20:59 | |
what's the suggested install path for raku? | |||
I want to install it and see if I can translate my p5 NLP parser to raku | |||
sena_kun | cj, hi! are you on gnu/linux? | 21:00 | |
cj | almost always | ||
21:01
Kaiepi left
|
|||
sena_kun | github.com/nxadm/rakudo-pkg#introduction | 21:01 | |
xkr47 | pmurias, created a PR :) | ||
cj | danke | ||
21:02
Kaiepi joined
|
|||
sena_kun | cj, you are welcome. alternatively you can use your distro packages if any (these tend to be outdated sometimes) or less "we approve this" options. | 21:02 | |
squashable6 | 🍕 Altai-man++ opened pull request “Test hyperop results in a slip”: github.com/perl6/roast/pull/587 | 21:05 | |
Geth | doc/document-resources: 44f2cf489c | Altai-man++ (committed using GitHub Web editor) | doc/Language/variables.pod6 Thinko |
21:07 | |
21:08
sena_kun left
|
|||
Doc_Holliwood | rich syntax has it's drawbacks. took me a while to figure this out: $app.all-files>.Array>.Str , which should have been $app.all-files.Array>>.Str of course | 21:09 | |
and then you sit there and wonder why your value 3 levels down the stack is True instead of something to iterate on =) | 21:10 | ||
simcop2387 | this place is slowly filling up, congrats on the new name and all. | ||
21:16
sena_kun joined
|
|||
squashable6 | 🍕 Altai-man++ edited pull request “Test hyperop results in a slip”: github.com/perl6/roast/pull/587 | 21:16 | |
🍕 Altai-man++ synchronize pull request “Test hyperop results in a slip”: github.com/perl6/roast/pull/587 | 21:17 | ||
🍕 Altai-man++ wrote a comment on “Assignment to hash via array subscript fails”: github.com/rakudo/rakudo/issues/24...-543951666 | 21:18 | ||
simcop2387 | i'm going to upgrade the install of raku on perlbot (and also probably setup a rakubot) this weekend, i think I ask this every time, but are there any particular libraries or modules that you folks would like added (or removed) when I do so? only real restriction is that the pastebin and eval can't do network traffic | 21:19 | |
will also ask that in #perl6 too | 21:20 | ||
xinming_ | IIRC, there is a sweet function to generate the random string with template, which is like given template like "yyyyyy=xxxxxx" then, we replace yyyy and xxxx with random string, Do I remember wrong? | ||
I now finish it with @list.pick(15) to do the trick | 21:21 | ||
21:27
k-man left
21:29
softmoth left
21:48
delimited joined
|
|||
cj | fwiw, salsa.debian.org/perl6-team/rakudo.git is what I was looking for | 21:54 | |
lelf | How do you go from 1...3 to (1, (1,2), (1,2,3)) ? | 22:08 | |
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Large nativecall-related ecosystem fallout ”: github.com/rakudo/rakudo/issues/32...-543974499 | 22:09 | |
🍕 AlexDaniel++ closed issue “Large nativecall-related ecosystem fallout ”: github.com/rakudo/rakudo/issues/3243 | |||
AlexDaniel | m: say [\,] 1...3 | 22:12 | |
camelia | ((1) (1 2) (1 2 3)) | ||
AlexDaniel | lelf: what about this? | ||
22:12
ggoebel joined
|
|||
AlexDaniel | lelf: see docs.perl6.org/language/operators#...aoperators | 22:13 | |
22:16
sena_kun left
22:17
ggoebel left
|
|||
squashable6 | 🍕 AlexDaniel++ opened pull request “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246 | 22:18 | |
lelf | AlexDaniel: thanks 👍 | 22:19 | |
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-543978836 | ||
22:31
delimited left
22:38
xinming_ left
22:39
xinming_ joined
|
|||
squashable6 | 🍕 AlexDaniel++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-543990606 | 22:48 | |
22:54
pmurias left
|
|||
squashable6 | 🍕 jnthn++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-543995739 | 23:02 | |
🍕🍕🍕 First contribution by jnthn++! ♥ | |||
🍕 AlexDaniel++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-544000307 | 23:17 | ||
mla | im interesting in using raku to interface with a static library i use. it's build system generates a .a file and .h headers, is there a way to use NativeCall with static libs? NativeCall seems to be expecting an .so only | 23:18 | |
Grinnz | complete educated guess, but probably not; FFI::Platypus in perl5 requires the dynamic lib, while building XS works with either (static preferred) | 23:23 | |
jnthn | mla: I'm pretty sure you'd need to first link it into a .so. It's not so much nativecall itself, as that you can't dlopen (the OS-provided thing nativecall depends on for library loading) the static library. | 23:25 | |
mla | ah got it thanks, i guess my best bet is to figure out if i can somehow generate a .so | 23:26 | |
Grinnz | i use the term "educated" lightly; mostly i've just thrown myself at ffi a lot and some things stuck :P | ||
mla | XS sounds interesting too | ||
Grinnz | that's a perl thing, not raku | 23:27 | |
mla | but perl6 -> inline -> xs -> c seems like a lot | ||
yeah | |||
jnthn | You might also consider github.com/retupmoca/P6-LibraryMake | ||
Which could well help getting the .a -> .so step integrated into the Raku module install workflow | |||
mla | i see, makes sense via .a to .so via p6librarymake, probably a bit over my head atm being a c intermediate and p6 beginner but will take a try if i can't just generate a so from the source lib | 23:32 | |
thx for the help | |||
squashable6 | 🍕 jnthn++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-544006217 | 23:33 | |
23:36
warriors left
|
|||
squashable6 | 🍕 ugexe++ opened issue “Windows NativeCall regression ”: github.com/rakudo/rakudo/issues/3247 | 23:39 | |
🍕🍕🍕 First contribution by ugexe++! ♥ | |||
🍕 ugexe++ labeled issue “Windows NativeCall regression ” (regression): github.com/rakudo/rakudo/issues/3247 | |||
🍕 ugexe++ wrote a comment on “Windows NativeCall regression ”: github.com/rakudo/rakudo/issues/32...-544009342 | 23:42 | ||
🍕 vrurg++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-544010563 | 23:45 | ||
🍕 AlexDaniel++ labeled issue “Windows NativeCall regression ” (BLOCKER): github.com/rakudo/rakudo/issues/3247 | 23:48 | ||
🍕 AlexDaniel++ wrote a comment on “Windows NativeCall regression ”: github.com/rakudo/rakudo/issues/32...-544012086 | 23:50 | ||
🍕 jnthn++ wrote a comment on “Add support for .rakumod extension”: github.com/rakudo/rakudo/pull/3246...-544014238 | 23:56 |