»ö« Welcome to Perl 6! | perl6.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: irc.perl6.org or colabti.org/irclogger/irclogger_log/perl6 | UTF-8 is our friend! 🦋
Set by Zoffix on 25 July 2018.
timotimo d'oh, the README has "trait_mod:" because the <is> is invisible because html 00:00
stackoverflow.com/questions/570479...1#57047921 - will someone keep an eye on the comments to this question? i'm going to bed 00:01
cool, the solution has been found \o/ 00:09
Xliff timotimo++ 00:10
00:17 wildtrees left, Manifest0 left 00:18 giraffe joined
Xliff Actually, isn't Markdown conversion already in Perl6? 00:19
00:22 Manifest0 joined 00:26 Manifest0 left
SmokeMachine timotimo: good catch! Thanks! 00:30
00:34 Manifest0 joined 00:40 formalin14 joined 00:45 Manifest0 left 00:50 Manifest0 joined 00:51 [particle]1 joined 00:54 [particle] left, [particle] joined 00:56 [particle]1 left 00:59 [particle] left 01:01 formalin14 left 01:03 [particle] joined 01:07 Manifest0 left 01:11 Sgeo__ left 01:12 Sgeo__ joined 01:14 Manifest0 joined 01:15 k-man left 01:16 aborazmeh left 01:17 [particle] left 01:18 Sgeo_ joined, [particle] joined 01:19 nepugia_ joined 01:20 nepugia left 01:21 Sgeo__ left 01:23 nepugia_ left 01:24 formalin14 joined 01:33 Manifest0 left, molaf left 01:38 Manifest0 joined 01:42 Manifest0 left 01:46 molaf joined 01:47 Manifest0 joined 01:56 Manifest0 left 02:02 Manifest0 joined 02:07 Manifest0 left 02:09 adu joined 02:12 Manifest0 joined 02:39 Manifest0 left 02:40 mowcat left 02:41 mowcat joined 02:42 Kaiepi left 02:46 Manifest0 joined 02:49 k-man joined 02:57 Manifest0 left 03:02 Manifest0 joined, mowotter joined 03:03 mowcat left 03:09 Manifest0 left 03:10 Xliff left 03:15 Manifest0 joined 03:20 Manifest0 left 03:24 Manifest0 joined 03:29 Manifest0 left 03:35 Manifest0 joined 03:44 Manifest0 left 03:49 kaare_ left, kaare_ joined 03:52 Manifest0 joined 03:59 Possum left 04:00 Manifest0 left 04:01 Possum joined 04:02 sjm_uk joined 04:05 Manifest0 joined 04:14 Manifest0 left 04:15 [Sno] left 04:21 Manifest0 joined 04:26 Manifest0 left 04:27 formalin14 left 04:31 Manifest0 joined 04:32 abraxxa joined, abraxxa left 04:33 abraxxa joined 04:39 abraxxa left 04:40 Manifest0 left 04:45 Manifest0 joined 04:50 Manifest0 left 04:53 abraxxa joined 04:54 Manifest0 joined 04:59 Manifest0 left 05:06 Manifest0 joined 05:09 abraxxa left 05:10 abraxxa joined, Manifest0 left 05:11 abraxxa left 05:15 Manifest0 joined 05:23 Manifest0 left 05:24 Possum left, Possum joined 05:27 Manifest0 joined 05:33 khisanth_ left 05:36 Manifest0 left 05:37 formalin14 joined 05:40 sauvin joined 05:42 Manifest0 joined 05:50 Manifest0 left 05:55 Manifest0 joined 05:56 khisanth_ joined 06:02 Manifest0 left 06:07 Manifest0 joined, formalin14 left 06:14 Manifest0 left 06:17 _jrjsmrtn joined 06:18 __jrjsmrtn__ left, Manifest0 joined 06:20 AlexDaniel left 06:22 ufobat_ joined 06:26 ufobat left 06:33 Manifest0 left 06:39 Manifest0 joined 06:43 formalin14 joined, cpan-p6 left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined, Manifest0 left 06:47 mowotter left 06:48 Manifest0 joined 06:50 domidumont joined 06:59 Manifest0 left 07:05 Manifest0 joined 07:10 Manifest0 left 07:15 Manifest0 joined 07:17 patrickb joined 07:22 Manifest0 left 07:28 abraxxa joined, abraxxa left, abraxxa joined 07:29 abraxxa left
lizmat clickbaits p6weekly.wordpress.com/2019/07/15/...mentation/ 07:29
07:29 Manifest0 joined, abraxxa joined
tadzik I know that GDPR is cool and all but I regret not being able to look at all the goes to perlcon like you always could in ACT :( 07:35
07:35 antoniogamiz joined
lizmat well, I don't think the GDPR forbids that, if you're logged in 07:35
antoniogamiz o/ 07:36
El_Che lizmat: you can allow stuff as a user 07:40
people just need to know
tadzik I'm logged in, but I don't see the list of all the participants 07:43
07:43 dakkar joined
tadzik I guess it doesn't make sense unless all the other people opt-in to it 07:43
lizmat well, yeah... I was just saying that it legally wouldn't be an issue 07:44
but yeah, the system does need to be adapted for that 07:45
and it isn't, afaik
tadzik right
El_Che does it use act? 07:46
lizmat yes, an adapted version of Act
weekly: blogs.perl.org/users/damian_conway/...enere.html
notable6 lizmat, Noted!
07:52 Manifest0 left
lizmat wow 07:55
finally read it
07:56 ravenousmoose left, scimon joined, ravenousmoose joined 07:58 Manifest0 joined 08:08 aborazmeh joined, aborazmeh left, aborazmeh joined
antoniogamiz we are using an outdated version of github templates in perl6/doc => help.github.com/en/articles/about-...-templates 08:12
08:16 rfold joined
rfold When I do: run 'psql'; psql says that "terminal is not fully functional". However it does seem to be a TTY. It must be that run somehow meddles with the TTY settings. 08:19
Is it possible to reset the TTY settings to exactly those that Rakudo was started with? 08:20
08:21 MilkmanDan left 08:23 MilkmanDan joined 08:25 [particle]1 joined
rfold Ahhh, nevermind. I pass env to run, which hides TERM. :D 08:26
08:27 Manifest0 left
rfold So instead of "run ..., env => %bla;" I have to do "run ..., env => (%*ENV, %bla)" 08:27
08:27 [particle] left 08:29 Sgeo__ joined
rfold p6: my %a = a => 1, b => 2; my %b = a => 4, c => 3; (%a, %b).Hash.perl.print 08:29
camelia {:a(4), :b(2), :c(3)}
08:29 aborazmeh left 08:30 [particle] joined, [particle]1 left 08:32 Manifest0 joined 08:33 Sgeo_ left, Black_Ribbon left 08:38 Sgeo_ joined 08:41 aborazmeh joined, aborazmeh left, aborazmeh joined, Sgeo__ left 08:45 [particle]1 joined 08:46 [particle] left 08:48 redhands left 08:51 formalin14 left 09:00 Manifest0 left, ravenousmoose left 09:01 ravenousmoose joined 09:03 aborazmeh left 09:04 Manifest0 joined 09:17 rindolf joined 09:19 Manifest0 left 09:24 dakkar left 09:25 Manifest0 joined, Sgeo_ left, dakkar joined, Sgeo_ joined 09:29 sena_kun joined 09:33 noisegul joined
antoniogamiz Uoh, :named-anywhere is very useful :ooo 09:38
09:39 Manifest0 left
rfold antoniogamiz++ thanks I was looking for that! 09:44
09:44 Manifest0 joined
antoniogamiz rfold: oh, good then :DDD 09:45
rfold I wonder how that works if you have slurpy. 09:46
09:47 sjm_uk left 09:52 nepugia joined 10:00 antoniogamiz left 10:05 xinming_ left, xinming joined 10:07 zakharyas joined 10:09 epony left 10:16 abraxxa left, Manifest0 left 10:17 abraxxa joined 10:21 formalin14 joined 10:22 Sgeo__ joined 10:23 Manifest0 joined 10:24 Sgeo_ left 10:30 Manifest0 left 10:35 Manifest0 joined 10:40 Manifest0 left 10:49 Manifest0 joined 10:53 Manifest0 left 10:58 Manifest0 joined 11:04 Manifest0 left 11:10 Manifest0 joined 11:18 Manifest0 left 11:20 epony joined 11:25 Manifest0 joined 11:35 Manifest0 left 11:42 Manifest0 joined 11:44 sena_kun left 11:45 sena_kun joined 12:02 formalin14 left
cpan-p6 New module released to CPAN! Matrix::Bot::Plugin::AutoAcceptInvites (0.1.0) by 03TYIL 12:03
12:10 ChoHag left 12:21 Manifest0 left 12:26 Manifest0 joined 12:31 Manifest0 left 12:33 dmaestro left 12:36 Manifest0 joined 12:44 Manifest0 left 12:49 Manifest0 joined 12:52 ChoHag joined
tyil AlexDaniel`, matiaslina: gitlab.com/tyil/perl6-matrix-bot-p...nvites.pm6 my first possible plugin, using methods on which one could do smart-matching, and access to a simple logging mechanism 12:57
13:02 Manifest0 left 13:07 Manifest0 joined 13:11 Maylay left, Maylay joined 13:19 ravenousmoose left
matiaslina tyil: awesome! very straightforward 13:26
13:28 Manifest0 left 13:29 pamplemousse joined 13:34 Manifest0 joined, ravenousmoose joined 13:47 Manifest0 left 13:50 stom joined, zakharyas left 13:52 Manifest0 joined
lizmat weekly: ajs.github.io/tools/ackermann-challenge/ 14:04
notable6 lizmat, Noted!
14:23 pecastro joined, Manifest0 left
El_Che lo 14:27
how are we release-wise?
14:27 antoniogamiz joined
sena_kun releasable6, status 14:28
releasable6 sena_kun, Next release will happen when it's ready. R6 is down. At least 0 blockers. 666 out of 715 commits logged
sena_kun, Details: gist.github.com/7e6ed36f273e929a6e...f18379ac67 14:29
sena_kun sees a lot of commits logged, 0 blockers
antoniogamiz someone here is using rakudo-star?
14:30 Manifest0 joined
tyil antoniogamiz: I use r* 14:31
antoniogamiz and have you ever found a program that does not work in that distribution but works in other? 14:33
14:33 lucasb joined
tyil the only times such things have happened is when I either need a newer Perl 6, or I needed a higher module version than what r* shipped with 14:34
are you running into a problem rn that you could show an example of? 14:35
antoniogamiz mmm installing Perl6::Documentable
it looks like it does not work in r* 14:36
tyil what is the error you're getting? 14:37
noisegul My best assumption right is that modules shipping with r* are masking dependencies which causes Documentable to get the wrong ones?
tyil masking dependencies? 14:38
noisegul lack of a better term
antoniogamiz github.com/antoniogamiz/Perl6-Docu.../issues/48
noisegul: version 1.1.2 also fails?
noisegul antoniogamiz: See my follow-up, that's with 1.1.2 14:39
tyil let my try to install Perl6::Documentable with zef
antoniogamiz noisegul: ah right
ugexe does your module depend/use any namespace that is also included in rakudo star? if rakudo star installs to $HOME/.perl6 it could be its (old/outdated) modules are getting chosen 14:40
noisegul ugexe: that's what my assumption was 14:41
tyil that should be fixable by adding version numbers to the deps (which they should always have if you need a minimum version)
ugexe it could also be a transitive dependency
antoniogamiz I will have to check that then, problem is I did not know I need a minimum version 14:42
it simply works with rakudo so I will have to check exact versions
ugexe antoniogamiz: try `mv $HOME/.perl6 $HOME/.perl6.bak`. that should exclude any modules rakudo star has provided (i think). 14:43
if it then works (or you get a different error, probably about a missing dependency) then your issue is an incompatible old version of something provided by rakudo-star
Geth ¦ problem-solving: AlexDaniel self-assigned Issue templates for every label github.com/perl6/problem-solving/issues/65
antoniogamiz ugexe: thank you! I will check that :D 14:44
noisegul: please try this too
noisegul antoniogamiz: Perl6::TypeGraph causes the error on my test installs 14:45
antoniogamiz noisegul: I know but maybe some of the modules used by typegraph conflicts with r* as ugexe as said 14:47
well, though now I think about it, it cannot be that because typegraph does not have dependencies 14:48
noisegul antoniogamiz: Will do to reconfirm; If it's not Typegraph dependencies, could it be the Typegraph version itself? 14:49
antoniogamiz noisegul: mm I'm not sure 14:50
noisegul Renaming the .perl6 folder does not change the error, however according to the error it doesn't load it from there anyway 14:57
antoniogamiz It looks like the error is caused by this line => state $tg = Perl6::TypeGraph.new-from-file;
I think I know where the error comes from now 14:58
gist.github.com/antoniogamiz/dbdfb...16b98864d8 15:00
so that what zef info Perl6::TypeGraph outputs 15:01
it looks like zef is not installing the module it should
ugexe it is installing what has been requested 15:05
antoniogamiz ok, I have made zef update and it's working now
ugexe first, p6doc provides a Perl6::TypeGraph module of version 1.0+
or at least it used to 15:06
(mabye still does)
this is higher than the version of the stand alone Perl6::TypeGraph
antoniogamiz noisegul: can you check if you have the correct version of Perl6::TypeGraph? I have public 0.0.3 right now
s/public/puslbished
published* 15:07
ugexe the module was found in zef's local cache -- so if p6doc no longer includes that module then it is finding an older version that used to (but is still higher version than your module)
`zef nuke StoreDir` will clear zef's cache
antoniogamiz ugexe: thanks for your help, I have updated everything and all problems are solved :D
15:15 mowcat joined 15:16 pamplemousse left, pamplemousse joined 15:20 domidumont left 15:23 [Sno] joined 15:31 pamplemousse left 15:35 AlexDaniel joined
noisegul Thanks everyone 15:36
15:41 Manifest0 left 15:44 sicklorkin left, [Sno] left 15:46 Manifest0 joined 15:47 [Sno] joined
El_Che will perlcon-eu be streamed? There are some p6 stuff I would like to see 15:50
15:55 rfold left 15:57 veesh joined, Manifest0 left 16:00 scimon left
sena_kun El_Che, afaik not, but recorded and uploaded later. 16:01
El_Che sena_kun: remember to wave then :)
16:02 veesh left, Manifest0 joined
sena_kun pressure intensifies 16:03
El_Che pressure is good :) 16:04
lizmat tell me about it :-) 16:05
El_Che lizmat: oh, in your case... 16:06
:)
16:11 Manifest0 left, patrickb left 16:17 Manifest0 joined
El_Che "18:19:12 STEP 18: RUN rakudo -c /usr/bin/pkgbuilder.p6" <-- when our CI at work reflects my wishful thinking about branding :) 16:21
16:29 veesh joined 16:36 molaf left, Manifest0 left 16:41 Manifest0 joined 16:44 dakkar left 16:45 Manifest0 left 16:52 Manifest0 joined 16:54 [Coke] joined, Kaiepi joined
[Coke] getting an error running the full 'xt/aspell.t' in the docs repo, about too many open files. Does anyone see where in github.com/perl6/doc/blob/master/x...pell.t#L44 we're not closing something out? (I would expect the await to do that, but could be missing a method call to do it explicitly) 16:56
additional, before the open files error, seeing "Unhandled exception in code scheduled on thread 4" 16:57
(would also love to get rid of the perl5 invocation there which would hopefully help with reducing the number of open processes) 16:58
17:00 antoniogamiz left, pamplemousse_ joined 17:03 domidumont joined 17:09 veesh left 17:14 Manifest0 left, molaf joined
ugexe $proc.std[out|err] are never closed 17:17
17:19 Manifest0 joined
ugexe maybe just need to close $proc.stdin though 17:21
17:23 Manifest0 left 17:28 Manifest0 joined 17:29 veesh joined 17:33 rfold joined 17:34 Manifest0 left 17:39 Manifest0 joined 17:42 domidumont left, redhands joined 17:44 robertle joined 17:50 nepugia left 17:52 antoniogamiz joined 17:54 veesh left 18:01 Actualeyes joined 18:07 sjm_uk joined 18:09 Manifest0 left 18:12 Actualeyes left 18:15 Manifest0 joined 18:19 antoniogamiz left 18:20 Manifest0 left 18:25 Black_Ribbon joined 18:26 Manifest0 joined 18:27 pamplemousse_ left 18:28 pamplemousse_ joined, Kaiepi left 18:29 sauvin left 18:32 Kaiepi joined 18:33 wildtrees joined
[Coke] can't call close-stdin because I'm using bind-stdin, not :w 18:34
18:37 veesh joined 18:44 molaf left
[Coke] (and you can't bind-stdin *and* use :w) - so there's no way to close that handle explicitly, I guess. 18:47
any other suggestions?
Geth ¦ doc: treyharris self-assigned New GitHub issue and PR template github.com/perl6/doc/issues/2904 18:49
[Coke] (looks like it's getting a libuv EMFILE exception 18:51
ugexe github.com/perl6/roast/blob/b9bfe1....t#L18-L22
that shows the closing of bind-stdin
it closes the handles *passed* to bind-stdin 18:52
so $fixer.stdout.close ?
18:56 vrurg left 18:57 vrurg joined 19:01 Manifest0 left 19:03 vrurg left
[Coke] "To avoid data races, you must tap stdout before running the process" 19:05
but I don't want to tap it.
19:06 Manifest0 joined
[Coke] note that my input to the second process is the output of a proc::async - in your example it's the result of a file open. 19:06
TreyHarris Not an answer to the question, but should we be using the term "stdout" in the docs like that? Rather than "standard output" or `$*OUT`? 19:07
[Coke] stdout is literally the name of the method I'm calling, so it's fine in that regard. (it's output from perl6, not in the docs) 19:11
TreyHarris Oh, I found it in Type/X/Proc/Async/TapBeforeSpawn.pod6 so I thought it was in the published doc 19:13
All clear now. 19:14
19:21 vrurg joined 19:22 Manifest0 left, sjm_uk left 19:26 Manifest0 joined
ugexe that output comes from where 19:28
and it sure sounds like its coming from a pipe
s/where/somewhere/ 19:29
AlexDaniel Where should we move old RT tickets? Disagree now! github.com/perl6/problem-solving/i...-511953136 19:30
19:31 sjm_uk joined
ugexe IO::Pipe doesn't have a close method anyway, so ignore me 19:31
calling .close-stdin works for me though 19:34
m: my $proc = Proc::Async.new($*EXECUTABLE.absolute, "-e", "say(42)"); my $proc2 = Proc::Async.new($*EXECUTABLE.absolute, "-e", "say $*IN", :stdout); $proc2.bind-stdin(my $stdout = $proc2.stdout); $proc.start; $proc2.start; $proc2.close-stdin
camelia Proc::Async is disallowed in restricted setting
in sub restricted at src/RESTRICTED.setting line 2
in method new at src/RESTRICTED.setting line 23
in block <unit> at <tmp> line 1
cpan-p6 New module released to CPAN! App::MoarVM::ConfprogCompiler (0.0.5) by 03TIMOTIMO 19:35
ugexe nevermind again, i didnt see the error blaring in my face
AlexDaniel or maybe I should just start a PR right away, so that later people don't complain that they were not asked… :) 19:36
19:45 zakharyas joined, veesh left 19:53 kaare_ left, kaare_ joined 19:54 Xliff joined 19:55 [particle] joined
Xliff \o 19:56
19:56 [particle]1 left 20:09 veesh joined 20:14 graystone joined 20:16 graystone left 20:19 mowcat left 20:21 sufrostico joined 20:33 lucasb left 20:41 molaf joined, Manifest0 left 20:48 Manifest0 joined 20:49 sena_kun left, sena_kun joined 20:56 zakharyas left 20:57 mowcat joined
[Coke] golfed my open files issue down to rakudo#3057 20:58
synopsebot RAKUDO#3057 [open]: github.com/rakudo/rakudo/issues/3057 "too many open files" when repeatedly using Proc::Async
[Coke] I'd appreciate it if someone could try it on a slightly newer perl6 on something other than os x
20:59 Manifest0 left
veesh gimme a sec 20:59
[Coke] (probably not windows) 21:00
21:02 sena_kun left
ugexe [Coke]: on OSX your golf doesn't stop for me 21:02
El_Che [Coke]: Ubuntu 18.04, latest release rakudo from rakudo-pkg (2019.03.1): still running at 850
ok, it stops at 1010 21:03
Unhandled exception in code scheduled on thread 6
too many open files
ugexe ah my ulimit is unlimited
El_Che too many open files$ ulimit -n
1024
1024 in my case, makes sense to stop there 21:04
21:04 Manifest0 joined 21:05 sena_kun joined
cpan-p6 New module released to CPAN! App::MoarVM::ConfprogCompiler (0.0.6) by 03TIMOTIMO 21:05
21:07 sena_kun left 21:08 sena_kun joined 21:09 sena_kun left 21:10 rfold left 21:16 Manifest0 left
DrForr Does anyone know offhand if there's a NativeCall module using a .a file on modules? 21:22
timotimo can you actually just load those without linking them into a .so or similar? 21:24
21:24 Manifest0 joined
timotimo i think an .a file is an archive file of a bunch of .o files? 21:25
21:25 veesh left
DrForr Could very well be. I was just wondering if there were already prior art. 21:25
timotimo might first have to implement your own ld, then write it to a file and then load it with nativecall 21:26
DrForr Which is to say "moving on..." :) 21:27
El_Che DrForr: I can be mistaken, but I think this uses .a as intermediary: github.com/azawawi/perl6-inline-go
DrForr Nice, I'll take a look.
El_Che github.com/azawawi/perl6-inline-go...Go.pm6#L72
21:32 stom left
DrForr It'd be nicer if I could get a proper .so file but what can ye do... 21:33
21:40 MasterDuke joined
MasterDuke in [Coke]'s example, should @!close-after-exit have something in it here github.com/rakudo/rakudo/blob/mast...c.pm6#L355 ? 21:43
timotimo it only seems to be added when bind-stdin is used for stuff 21:46
MasterDuke his example does
timotimo OK, i hadn't looked at thaty et
MasterDuke `$b.bind-stdin: $a.stdout: :bin;` 21:47
or alternately, should github.com/rakudo/rakudo/blob/mast...c.pm6#L234 be copied into the other multi?
21:56 mowcat left 22:02 sjm_uk left
tyil matiaslina: most of your proposals have been integrated now gitlab.com/tyil/perl6-matrix-bot/b...2019-07-16 22:05
I've also left some comments on the issue you opened
cpan-p6 New module released to CPAN! Matrix::Bot (0.2.0) by 03TYIL 22:08
tyil thanks cpan-p6
cpan-p6 tyil, No problem!
tyil dank
22:17 MasterDuke left 22:26 Manifest0 left 22:30 Actualeyes joined 22:33 Manifest0 joined 22:42 pecastro left 22:50 Actualeyes left 22:55 Kaiepi left 22:56 Kaiepi joined 23:01 Manifest0 left 23:03 rindolf left 23:08 Manifest0 joined 23:20 noisegul left 23:24 pamplemousse_ left
tbrowder question for debian emacs users: can you get a horizontal scroll bar? i have tried several suggestions from emacs users but i cannot get the horizontal scroll bar to appear. it worked fine in xemacs, but not in emacs. note i use the Mate desktop. 23:34
23:43 Manifest0 left, Averna joined 23:46 Averna left 23:47 khisanth_ left 23:49 gfldex left 23:50 Manifest0 joined 23:52 cpan-p6 left, cpan-p6 joined, cpan-p6 left, cpan-p6 joined 23:53 mowcat joined 23:54 gfldex joined 23:58 noisegul joined