🦋 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:04 konvertex left 00:11 guifa2 joined 00:25 guifa2 left
Geth doc: caseyjackmiles++ created pull request #3435:
Use single angle brackets for infix cmp. Fixes #3038.
00:32
linkable6 DOC#3038 [open]: github.com/Raku/doc/issues/3038 [RFE][easy to resolve] There's an infix <cmp>, an infix <<cmp>> and a routine cmp
00:46 lucasb left 01:11 discoD joined 01:31 mowcat left
Geth ecosystem: ddlws++ created pull request #497:
Add Radamsa to ecosystem. See github.com/ddlws/radamsa-raku
01:32
cpan-raku New module released to CPAN! Email::MIME (2.0.3) by 03RBT 01:37
02:04 Manifest0 left 02:05 Manifest0 joined 02:16 finsternis left 03:16 sourceable6 left, statisfiable6 left, bloatable6 left, linkable6 left, benchable6 left, shareable6 left, quotable6 left, squashable6 left, unicodable6 left, greppable6 left, tellable6 left, releasable6 left, coverable6 left, nativecallable6 left, notable6 left, reportable6 left, bisectable6 left, committable6 left, evalable6 left 03:17 squashable6 joined, coverable6 joined, sourceable6 joined, evalable6 joined 03:18 notable6 joined, benchable6 joined, committable6 joined, linkable6 joined, statisfiable6 joined, bloatable6 joined, reportable6 joined, releasable6 joined, greppable6 joined, quotable6 joined, shareable6 joined 03:19 bisectable6 joined, nativecallable6 joined, zacts joined, unicodable6 joined, tellable6 joined 03:20 melezhik left 03:21 aindilis left 03:33 molaf joined 03:38 aindilis joined 03:44 brtastic joined 03:51 abraxxa left 03:54 abraxxa joined 03:55 abraxxa left 03:57 abraxxa joined 04:06 zacts left 04:11 aborazmeh left 04:18 abraxxa left 04:19 abraxxa joined 04:21 skids left 04:31 sjm_uk joined 04:40 Doc_Holliwould joined 04:55 brtastic left 05:10 brtastic joined 05:59 wamba joined 06:04 andrzejku joined, sauvin joined
Geth doc: ec314a9dbe | (Jack Miles)++ | 2 files
Use single angle brackets for infix cmp. Fixes #3038.
06:10
doc: 9f7e9a0e72 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #3435 from caseyjackmiles/3038-infix-cmp

Use single angle brackets for infix cmp. Fixes #3038.
linkable6 DOC#3038 [closed]: github.com/Raku/doc/issues/3038 [RFE][easy to resolve] There's an infix <cmp>, an infix <<cmp>> and a routine cmp
Geth doc: 8b15304f2d | (Luis F. Uceta)++ | 3 files
Document few additions introduced with 2020.05

  * `Str` now has `.Date` and `DateTime` coercers
  * `Date.yyyy-mm-dd` now takes a separator parameter, defaulting to `-`
  * Add `Date.dd-mm-yyyy` and `Date.mm-dd-yyyy` methods
  * Add `Date.last-date-in-month` and `Date.first-day-in-month` methods
06:13
doc: 034e2bd255 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 3 files
Merge pull request #3434 from uzluisf/checklist-2020-05

Document few additions introduced with 2020.05
06:29 _dev_zero left 06:30 _dev_zero joined 06:34 soursBot joined 06:50 domidumont joined 06:58 rindolf joined 07:09 soursBot left 07:11 soursBot joined 07:15 pecastro joined 07:17 aborazmeh joined, aborazmeh left, aborazmeh joined 07:26 Sgeo left 07:31 hyperak joined 07:37 kylese joined 07:45 abraxxa left 07:46 abraxxa joined 07:48 Altai-man_ joined 07:53 dakkar joined, Doc_Holliwould left 07:57 kylese left 08:12 tbrowder__ joined 08:18 konvertex joined 08:20 albongo left, tbrowder left, tbrowder__ is now known as tbrowder 08:23 camelia left 08:24 camelia joined 08:27 albongo joined, ssm joined, kensanata joined, sena_kun joined 08:29 Altai-man_ left
Geth ecosystem: a316bb8c48 | (Dave Lewis)++ | META.list
Add Radamsa to ecosystem

See github.com/ddlws/radamsa-raku
08:38
ecosystem: 37a751f40d | Altai-man++ (committed using GitHub Web editor) | META.list
Merge pull request #497 from ddlws/master

Add Radamsa to ecosystem. See github.com/ddlws/radamsa-raku
08:38 soursBot left
08:54 soursBot joined 09:11 soursBot left 09:14 soursBot joined 09:17 NODE joined 09:28 NODE left 09:30 Benett left 09:33 Black_Ribbon left 09:40 Benett joined 09:47 NODE joined 10:00 guifa2 joined 10:08 jmerelo joined 10:24 guifa2 left 10:25 guifa2 joined 10:27 Altai-man_ joined, guifa2 left 10:29 sena_kun left 10:30 guifa2 joined 10:34 soursBot_ joined, soursBot left 10:47 woolfy joined 10:48 andrzejku left, woolfy left 10:49 wamba left, wamba joined
lizmat weekly: gfldex.wordpress.com/2020/05/26/wa...-arrivals/ 10:54
notable6 lizmat, Noted! (weekly)
lizmat weekly: gfldex.wordpress.com/2020/05/27/un...n-silence/
notable6 lizmat, Noted! (weekly)
11:00 squashable6 left, shlomif joined 11:02 shlomif2 joined 11:03 rindolf left, squashable6 joined 11:05 shlomif left
jmerelo I don't know if you've been checkout out ecosystem modules lately; I'm doing so for the book and there's a big amount of them that does not work any more 11:06
And from those, a relatively good amount are not maintained either.
11:06 shlomif2 left
Altai-man_ jmerelo, around 300 from all the modules we have. 11:06
jmerelo Wow 11:07
Altai-man_ well, this is not wow, I think
jmerelo Well, the wow is that some of them are relatively important "upstream" modules, with many depending on them
Altai-man_ >Showing 1565 results
jmerelo I'm checking now Digest::MD5, for instance 11:08
Altai-man_ jmerelo, I can prepare blin if you want. And if you are not, it won't hurt anyway, I guess.
jmerelo, Digest::MD5 tests and installs ok for me.
jmerelo Altai-man_: it would probably make sense. Also, a hackathon...
github.com/cosimo/perl6-digest-md5/issues/26 11:09
Just tried again, same problem
Altai-man_ jmerelo, can you remove zef cache and try again? 11:10
jmerelo It downloads and installs just fine, but according to a response to a issue in zef, there was problem with version numbers...
Altai-man_: yep, I can install it locally, no problem, but it's probably better if there's a version bump or something. Apparently the thing is that META6.json changes, version does not. 11:11
11:11 andrzejku joined
Altai-man_ jmerelo, I did not install it locally, but with `zef install Digest::MD5`? 11:11
jmerelo Altai-man_: What I'm saying is that it's anyway a problem with the version. Installing something should not depend on the cache state 11:13
And I guess this kind of modules are not the ones included in your list of 300...
So it's even worse...
Altai-man_ I do agree with you the cache should not matter. 11:14
But there is an actual problem with modules from git/hub anyway, as it is hard to say how are they versioned at all.
jmerelo Altai-man_: they just look at the version in META6.json, not at the real code that's there... 11:15
11:16 soursBot_ left
jmerelo I raised that issue... somewhere. I can't find where now. Probably problem solving 11:17
11:17 soursBot joined
jmerelo Ah, right, here github.com/Raku/problem-solving/issues/72 11:18
Altai-man_ wants to re-read that after $dayjob
Geth ¦ problem-solving: JJ self-assigned Ecosystem: versioning issues github.com/Raku/problem-solving/issues/72 11:23
¦ problem-solving: JJ unassigned from jnthn Issue Ecosystem: versioning issues github.com/Raku/problem-solving/issues/72
11:33 chloekek joined 11:40 rindolf joined 11:52 brtastic left 12:17 stoned75 left 12:18 stoned75 joined 12:28 sena_kun joined 12:29 Altai-man_ left 12:34 brtastic joined 12:37 melezhik joined, aborazmeh left 12:42 dakkar left, dakkar joined 12:44 ccamel left 12:45 camelCaser joined
Geth doc: effde43506 | Coke++ | doc/Type/Date.pod6
fix example compilation
12:54
linkable6 Link: docs.raku.org/type/Date
12:55 aborazmeh joined, aborazmeh left, aborazmeh joined 12:56 guifa2 left 12:58 jmerelo left 13:01 soursBot left 13:02 guifa2 joined 13:04 soursBot joined, guifa2 left 13:38 Doc_Holliwould joined 13:48 aborazmeh left 13:52 skids joined 13:58 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined 14:07 molaf left 14:10 Ven_de_Thiel joined 14:11 guifa2 joined 14:13 soursBot left 14:16 Doc_Holliwould left 14:18 Doc_Holliwould joined 14:22 soursBot joined 14:27 Altai-man_ joined 14:29 wamba left, sena_kun left 14:47 NODE left 14:51 NODE joined 14:59 guifa2 left, guifa2 joined
jdv79 m: $*OUT.close; say "boo" 15:07
camelia Cannot do 'print' on a handle in binary mode
in block <unit> at <tmp> line 1
jdv79 that msg is at least a bug, no?
15:12 molaf joined
[Coke] I'd expect it to mention it was closed, aye. 15:14
ShimmerFairy m: $*ERR.close; note "boo" 15:23
camelia No exception handler located for catch
at SETTING::src/core.c/Exception.pm6:435 (/home/camelia/rakudo-m-inst-1/share/perl6/runtime/CORE.c.setting.moarvm:print_exception)
from SETTING::src/core.c/Exception.pm6:492 (/home/camelia/rakudo-m-inst…
15:27 Doc_Holliwould left 15:30 jmerelo joined 15:34 mowcat joined 15:37 mowcat left 15:41 guifa2 left 15:58 chloekek_ joined 16:06 chloekek left 16:12 andrzejku left
melezhik .tell AlexDaniel` looks like Blin and Rakudist "fights" for resources right now. I can show you a top stat in PM 16:14
tellable6 melezhik, I'll pass your message to AlexDaniel`
16:16 orinthe left, orinthe joined 16:22 jmerelo left 16:24 rbt joined, suman joined
suman when I run raku script from command line, I get Killed as output. What does this mean? 16:25
AlexDaniel` Altai-man_: ↑
tellable6 2020-05-27T16:14:28Z #raku <melezhik> AlexDaniel` looks like Blin and Rakudist "fights" for resources right now. I can show you a top stat in PM
melezhik AlexDaniel` I sent you top stat by email, copied rba, right now it mostly Blin that gain resources (CPU), rakudist only runs 1 job 16:27
AlexDaniel` melezhik: it's possible there are some runaway processes. Just kill them maybe
16:27 sena_kun joined
AlexDaniel` there's not much I can do about it, I don't think I even have access to any of that 16:28
melezhik I doubt that RaliDist has runaway processes, I am just trying to say that now Blin and RkDist shares the same VM and it could be a performance issue
when they run in the same time
AlexDaniel` you can ask Altai-man if they're currently running blin or not
melezhik but probably there nothing to worried about as long as RkD is not that popular )))) 16:29
jnthn suman: Probably that something sent SIGKILL to it; maybe some OOM killer?
16:29 Altai-man_ left
AlexDaniel` melezhik: you can try running it with a different nice level if you really need to 16:30
but if blin is not running right now and there are still some processes around, then just kill them. Some modules just don't die
16:31 hyperak left
AlexDaniel` and IIRC blin doesn't kill process trees correctly, or whatever 16:31
16:31 hyperak joined
melezhik AlexDaniel` yeah, but it the end of the day we need to think how to separate resources so that we don't step on each other 16:31
16:31 dakkar left
melezhik AlexDaniel` I just updated gist now, the only processes from RkD right now - 3 processes that represents 2 web application and Sparky daemon 16:32
that is it
no active jobs are seen right now on rakudist.raku.org/sparky/builds 16:33
and blin is running right now
ps uax | grep blin| wc -l
40
AlexDaniel` well, blin usually saturates the CPU when it's running 16:34
but somehow I doubt that it is running now
melezhik ps uax | grep blin|grep moar|wc -l 16:35
29
AlexDaniel` and either way there's nothing I can do about any of this
melezhik well I am not complaining , it's just an observation ...
like said as long as people don't start using RkD actively
ps uax | grep blin|grep zef|wc -l 16:36
26
26 zef process run by blin
AlexDaniel` btw I can't see much in that top output 16:37
normally you'll see the actual commands that are running at the end of the line
so if these are runaway processes then we can probably do something about the modules that cause them 16:38
melezhik because by default top truncate commands shown 16:40
AlexDaniel` if the TIME section is wallclock time, then Blin was running for more than two days?
melezhik AlexDaniel` I just added full commands from blin to the gist 16:42
jdv79 [Coke]: theres already a ticket - github.com/rakudo/rakudo/issues/3073
AlexDaniel` oh, okay, it's actually running it seems 16:43
melezhik yeah 16:44
timotimo suman: could be a security subsystem somewhere being unhappy about something moar does? 16:56
16:56 guifa2 joined
melezhik AlexDaniel` btw I can see few zomby processes generated by blin, updated in gist 16:58
not too many ... but still a few
AlexDaniel` kill them
suman jnthn timotimo Here is where I get that "Killed". repl.it/repls/FruitfulNervousReentrant 16:59
melezhik I won't be able to do this for 2 reasons 17:00
they are zomby and usually get released after reboot
and they owned by blin
I ssh under under different account wuthout sudo privileges
cpan-raku New module released to CPAN! Log::JSON (0.2.0) by 03TYIL 17:02
17:14 Guest43 joined 17:21 patrickb joined
rba blin is running and usese the resources 17:28
17:28 kensanata left 17:29 Maylay left 17:34 soursBot left
sena_kun I'm taking a blin image, yes. 17:36
509 out of 1464 modules processed. 17:37
17:42 Ven_de_Thiel left
patrickb I'm trying to fix up DateTime::TimeZone. 17:44
The documentation promises that TimeZone::Zone objects can be passed to DateTime.new and has a `.Int` method. 17:45
17:46 Black_Ribbon joined 17:50 domidumont left
patrickb But `DateTime.now` doesn't accept such TimeZone::Zone objects. `DateTime::new` does however. 17:51
17:54 soursBot joined
patrickb Error is `Type check failed in binding to parameter '$timezone 17:55
'; expected Cool but got DateTime::TimeZone::Zone::Europe::Berlin
When looking at the code (github.com/rakudo/rakudo/blob/mast....pm6#L299) I don't see any type contraint. What might be wrong? 17:56
18:00 Doc_Holliwould joined 18:04 Guest43 left
[Coke] .now doesn't accept DateTime objects, either. 18:10
vrurg Sorry for off-topic, but I'd like to ask latin alphabet users. Which one looks better: " 18:12
"TopiTop" or "TopyTop"?
[Coke] patrickb: oh, you mean pass it in as as :$timezone
can you show the code that is failing?
Geth doc: uzluisf++ created pull request #3436:
Document several index/rindex's needles feature
18:18
18:18 guifa2 left
Geth doc: softmoth++ created pull request #3437:
Type::Str.lines: document new :$chomp parameter
18:18
18:24 molaf left 18:27 Altai-man_ joined
Geth doc: e07e6e7b4b | (Luis F. Uceta)++ | 2 files
Document several index/rindex's needles feature
18:28
doc: 6bbce26bec | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | 2 files
Merge pull request #3436 from uzluisf/index-rindex-string

Document several index/rindex's needles feature
jdv79 timotimo: you might want to change the default for MOARPERF_HOST to not localhost cause that don't work in containers 18:29
18:29 sena_kun left
jdv79 maybe 0.0.0.0... 18:29
Geth doc: 73a6367f34 | (Tim Smith)++ | doc/Type/Str.pod6
Type::Str.lines: document new :$chomp parameter

Documents:
  github.com/rakudo/rakudo/commit/1b...ae9e84466d
doc: e80e03e6db | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/Str.pod6
Merge pull request #3437 from softmoth/Str-lines-chomp

Type::Str.lines: document new :$chomp parameter
linkable6 Link: docs.raku.org/type/Str
18:30 andrzejku joined 18:36 rbt left 18:37 rbt joined
patrickb [Coke]: useDateTime::TimeZone; DateTime.now: timezone('Europe/Berlin'); #From memory. Work computer is turned off, but I think that's the failing line. Uhm, I did fix up DatTime::TimeZone in my clone. Official repo explodes violently during install. 18:38
Geth doc: b302b19c5e | Coke++ | doc/Type/Str.pod6
Fix signature bug

  (invocant isn't comma separated)
pass xt/ again
18:39
linkable6 Link: docs.raku.org/type/Str
[Coke] patrickb: I know that's from memory, but missing a : before timezone.
... oh, maybe not. 18:40
(that's a sub. not sure how that works...)
patrickb [Coke]: useDateTime::TimeZone; DateTime.now: timezone => timezone('Europe/Berlin'); # That might have actually been it now that you mention it's a named arg. 18:42
I'm away for a bit 18:43
18:44 wamba joined 18:46 suman left 18:50 patrickb left 18:51 rypervenche left
[Coke] yah, that looks like what I'd expect. I think we have special treatment if you were using, e.g. $timezone, but not timezone() 18:52
18:53 rypervenche joined 19:00 soursBot left 19:01 Maylay joined 19:02 guifa2 joined 19:04 soursBot joined 19:10 guifa2 left
timotimo jdv79: is there an env var that'd let me decide whether we're in a container or not? if the port is open to the world, you can do some nasty stuff, probably 19:13
19:14 Manifest0 left 19:16 Manifest0 joined 19:34 NODE left 19:35 devmikey joined 19:36 NODE joined, cognominal joined 19:38 cognominal left 19:40 skids left 19:41 mowcat joined 19:43 lucasb joined
Manifest0 Isn't a token with '<:alnum+[\-]>+' the same as one with '<:alpha+[\-\d]>+'? 19:49
The second one works on my grammar while the first one doesn't. Should they be equivalent?
19:51 devmikey left 19:54 andrzejku left, cognominal joined 19:56 molaf joined, Kaeipi joined 19:57 Kaiepi left
[Coke] at first glance, yes; what string is matching differently? 20:03
MasterDuke i don't think \d inside a character class means the same as outside, it just means 'd' 20:06
20:07 wamba left
Manifest0 paste.opensuse.org/69488640 20:12
an example 20:13
jdv79 timotimo: idk about universally.
iirc starman does 0.0.0.0 by default...
Manifest0 [Coke]: for example this one: "X-Signature-v2" 20:14
20:15 patrickb joined 20:18 patrickb left 20:19 devmikey joined 20:27 sena_kun joined 20:29 Altai-man_ left 20:32 melezhik left 20:47 stoned75 left, wamba joined
[Coke] for me the alpha one matches, but alnum does not. 20:49
m: dd "X-Signature-v2" ~~ / <:alnum>+ / , "X-Signature-v2" ~~ / <:alpha>+ / 20:54
camelia Nil
Match.new(:orig("X-Signature-v2"), :from(0), :pos(1))
20:54 rindolf left
[Coke] m: dd ~("X-Signature-v2" ~~ / <:alnum>+ /), ~("X-Signature-v2" ~~ / <:alpha>+ /) 20:54
camelia Use of Nil in string context
in block <unit> at <tmp> line 1
""
"X"
[Coke] I would expect both of those to return "X" 20:55
MasterDuke i think there's a confusion between pre-defined character classes, e.g., `<alpha>` and `<alnum>`, unicode properties, e.g., <:Nl>, and enumerated character classes, e.g., `<[abc2..4]>` 20:56
unicode properties can be added/subtracted, e.g., `<:Nl + :P>` 20:57
and with enumerated char classes, e.g., `<[\d] - [13579]>` 20:58
some of the unicode properties have long names, but not all 21:02
"The predefined character classes [...] are implemented as built-in named regexes." 21:05
[Coke] m: dd ~("X-Signature-v2" ~~ / <alnum>+ /), ~("X-Signature-v2" ~~ / <alpha>+ /) 21:07
camelia "X"
"X"
21:11 brtastic left
Manifest0 [Coke]: Correct. Only the alpha one works. 21:14
MasterDuke: So, none of them should work? 21:15
MasterDuke well, the alpha works because that's a long name, seems like an alias for <:L> 21:18
21:19 KindTwo joined, KindOne left 21:23 KindTwo is now known as KindOne
[Coke] news.perlfoundation.org/post/call_...2020_round - and I didn't post it! 21:37
*my* mistake was expecting the : syntax to work everywhere
21:47 Dwarf joined
Dwarf I'm reading docs.raku.org/language/grammar_tut...l_overview and the following part isn't clear to me: "Rule methods are the same as token methods except whitespace is not ignored." -- if it's not ignored, why are things space delimited in a rule? 21:49
21:51 soursBot left
jnthn Dwarf: "not ignored" means "are treated as syntax" rather than "matched literally"; they actually insert a <.ws> 21:55
(look up sigspace for details)
They save you writing explicit calls to a whitespace token all over the place
Dwarf Ah, are the docs open source? When I've got some time I'll gladly update the docs to make that more clear 21:56
jnthn Yes 21:57
Dwarf Awesome, thank you.
jnthn I *think* a docs page has a link to its source at the bottom
22:02 Sgeo joined 22:10 MasterDuke left 22:21 wamba left, thundergnat joined
thundergnat NativeCall Cstruct pass-by-value angst: github.com/thundergnat/SDL2-ttf/bl...y-value.md 22:22
timotimo ah yeah sdl2-ttf 22:26
that's where i despaired as well
thundergnat Ah. well at least I'm not alone...
22:27 Altai-man_ joined
timotimo but i suspect sdl2-ttf could actually be small enough to reimplement in raku 22:27
thundergnat Quite possibly (even likely) but it maker a nice small test library for someone interested in implementing pass-by-value 22:28
*makes
timotimo also true, though it may not be very easy to test if the result is correct 22:29
and i guess you'll also want to test passing two, three, four, five structs by value?
22:29 sena_kun left
thundergnat Honestly, it seems pretty rare that _large_ structs are passed by value. 22:30
22:31 chloekek_ left
thundergnat I could even forsee needing to pass in some kind of "format" to the Struct builder so it knows exactly what the layout will be without it needing to puzzle it out. 22:33
discoD This is my interpretation of an MVM bytecode parser. It's not worth adding to the ecosystem, but some might find it interesting. github.com/ddlws/MVMbc 22:34
couldn't you just cheat and pack the bytes into an int?
22:39 rbt left 22:40 rbt joined
Geth doc: uzluisf++ created pull request #3438:
Add few examples for named arguments as adverbs
22:45
thundergnat discoD: maybe; probably for this particular instance; I was seeing if I could maybe steer someone who is looking for a way to contribute toward something that would be a nice improvement.
discoD gotcha
22:54 Kaiepi joined 22:55 Kaeipi left 23:00 Xliff joined
Xliff \o 23:00
Can someone tell me if there is a way to extract the POD entries at the end of enum entries, ala: repl.it/@Xliff/LovableUnsightlyRef...#main.raku 23:01
23:01 mowcat left 23:03 hyperak left
Geth ecosystem: d3ed7d51f1 | (Jonathan Worthington)++ (committed using GitHub Web editor) | META.list
Add Spreadsheet::XLSX

  github.com/jnthn/spreadsheet-xlsx
23:07
jnthn In the unlikely event somebody finds spreadsheets really exciting, there's plenty of opportunities to add more functionality in that module... :) 23:10
23:18 pecastro left
Xliff stays quiet. 23:21
jnthn: Will multi-dimensional indexes work with an array? 23:22
So: @a = (1, 1); $$worksheet[@a] # B2 23:23
jnthn: Also, what use case did you have for Spreadsheet::XLSX where something like XLSX::Writer wouldn't satisfy? 23:25
23:35 thundergnat left 23:43 aborazmeh joined, aborazmeh left, aborazmeh joined 23:44 zacts joined 23:45 zacts left 23:50 holli__ joined 23:52 Doc_Holliwould left 23:59 Altai-man_ left