🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 25 August 2021.
unclechu Hey, when I call `.sink` of a `Proc` (result of calling `run`) does it makes sense to pass `:close` for `.slurp`? 02:43
I mean in this case: `given run |args, :out { LEAVE { .sink }; .out.slurp(:close).chomp }`
Will the .sink ensure everything is closed already? 02:44
stevied can someone point me to a tutorial on best practices for incorporating pod6 into a module? Should I put my documentation right into the code? I used dist::zilla in perl. Ideally, I'd like to generate the README from the pod. 03:54
i would typcilly put the doc after an __END__directive 03:56
i would typcilly put the doc after an `__END__ `directive
oops, wrong channel, I think 03:58
Anton Antonov <@563790557831495691> No, it is not the wrong channel. 🙂 11:12
Nemokosch the only problem is, there are more questions than people to answer 😅 11:13
lizmat re generating a README... I use App::Mi6 that generates the README from the pod in the main source file, or from any other file (settable in the dist.ini file) 11:14
Nemokosch not to underestimate the effort of the "squad"
El_Che is there a tool to do it in the other direction from md to pod6? 11:16
Anton Antonov @El_Che I was just typing the same question! 🙂 11:17
El_Che While I love Latin, I think that in a lot of settings a English to Latin translater may be more handy :P 11:18
Anton Antonov Someone wrote a converter from Mathematica notebooks to Markdown. I can reprogram or extend that converter to generate Pod6. Alternatively, just use a Markdown-to-Pod6 converter. 11:19
@El_Che Usually pandoc can convert a fair amount of document formats. I think it can convert from Markdown to Pod. (Perl5.) 11:20
Also see this request: github.com/jgm/pandoc/issues/6488 11:23
holyghost El_Che, not that I know of, you can strip tags with a stack 11:40
holyghost I wrote htmldump that way, but I lost it 11:43
htmldump : html -> text, just as your README 11:45
Anton Antonov @holyghost I have a similar suggestion -- extending the module `Text::Markdown` : modules.raku.org/dist/Text::Markdo...f:JJMERELO 11:55
holyghost nice :-) You can also use a decorator pattern in an OOP language 12:01
holyghost is going to program some Scheme 12:06
Anton Antonov As a slang? 12:16
holyghost Anton : I'm programming a local (non-networked) MUD 13:17
In scheme48
My favorite scheme, GNU Scheme is also good 13:18
Which used to be MIT/Scheme 13:20
moon-child s7 scheme is best scheme 13:25
holyghost moon-child, there are of course the racket droids, who don't wish to work in a terminal *lol* 13:26
moon-child terminal sux
death to the terminal
holyghost sure
holyghost kills a terminal
IDEs are good of course 13:27
moon-child ides suck too
on the whole and for those most part
holyghost lol 13:28
moon-child terminal embraces text. Ide makes a mockery of text but yet damns itself by remaining entrenched in text
El_Che I have a terminal always open in my IDE
moon-child (which is worse? Who can say...)
holyghost And it's called emacs ?
El_Che Intellij
holyghost right 13:29
That's ok
moon-child El_Che: comma plugin?
holyghost moon-child, Dr. Java
El_Che for raku, yes.
for other langs built-in or other plugins 13:30
holyghost I use notepad++ for hex editing, also a plugin *blushes*
moon-child I mean, intellij is kind of notable as being the only ide which has native high-quality support for raku. If I wrote more raku I would probably be compelled to use it
Anton Antonov Well, of course, you should be using be using Mathematica notebooks to program in in Raku.
Well, of course, you should be using Mathematica notebooks to program in in Raku. 13:31
moon-child @Anton Antonov I am unconvinced that 'notebooks' are set up well as a _program-writing_ environment 13:32
(though I do admit they have more inherent structure than text)
Anton Antonov @moon-child Yes, I use Comma (IntelliJ). But often enough for quick scripting I use Atom. 13:33
@moon-child I was not serious, just referring to a recent publication of mine.
holyghost curses the days of his wavelets in mathematica
Anton Antonov Actually, I developed the original built-in framework for Wavelets in Mathematica. But left Wolfram Research before finishing it and putting it in production. 13:35
holyghost on macOS 8.2
Anton Antonov @moon-child I use notebooks if I have to do repeated experiments and/or documentation, and/or presentations.
moon-child wavelets?
holyghost moon-child, JPEG2000 lol 13:36
compu$erve
It's a good compression algorithm AFAIK 13:37
moon-child I see
Anton Antonov Here is an example of experiment with making an org-mode grammar within a Mathematica notebook.
[Coke] hurls github.com/Raku/doc/issues/4007 for finanalyst 18:36
Geth doc: coke assigned to finanalyst Issue new page has incorrect extension, fails tests. github.com/Raku/doc/issues/4007
e8ba5cf087 | (Richard Hainsworth)++ (committed using GitHub Web editor) | 2 files

Make consistent with whole collection
18:38
[Coke] japhb: mailing list thread about "n't comment because the main question is probably "is that change in behaviour fine" -- and I don't 18:41
tellable6 [Coke], I'll pass your message to japhb
[Coke] oops.
japhb: mailing list thread about "about binary protocol porting" that you might be able to shed some light on.
tellable6 [Coke], I'll pass your message to japhb
[Coke] tellable6, help? 18:45
linkable6 [Coke], Like this: R#1946 D#1234 MOAR#768 NQP#509 SPEC#242 RT#126800 S09:320 524f98cdc # See wiki for more examples: github.com/Raku/whateverable/wiki/Linkable
tellable6 [Coke], Like this: .tell AlexDaniel your bot is broken # See wiki for more examples: github.com/Raku/whateverable/wiki/Tellable
japhb_ [Coke]: What mailing list? 18:52
tellable6 2022-01-03T18:41:27Z #raku <[Coke]> japhb: mailing list thread about "n't comment because the main question is probably "is that change in behaviour fine" -- and I don't
2022-01-03T18:41:55Z #raku <[Coke]> japhb: mailing list thread about "about binary protocol porting" that you might be able to shed some light on.
tonyo1 . 18:58
tonyo . 18:58
[Coke] perl6-users. 19:44
jdv perl6-abusers. 19:46
hopefully *this* year is better... 19:48
my wife and i's xmas present was positive covid tests, 4 days later... still feel like shit. 19:49
[Coke] .seen jmerelo 19:51
tellable6 [Coke], I saw jmerelo 2021-05-19T16:34:05Z in #raku: <jmerelo> Or fight who gets to be Classic Coke
El_Che jdv: I hope you both feel better soon 20:06
jdv were just noticing were nkt tasting quite right:( maybe in a few weeks. shits crazy... 20:08
i had it at the outset, she did not and i didnt have any sensory fallout back then. idk. 20:09
were better. just not "back" yet. thanks:) 20:10
El_Che good that no hospital stay was require 20:15
d
jdv yeah, thank god. i was on the edge of going the first time. then it broke. shits crazy. 20:18
this time its way less; a bad cold...:) 20:19
El_Che wow
jdv good times. ahead maybe:) 20:20
i any case avoid nyc if you can. we seem to get him hard and fast. 20:21
the weekend fore xmas stuff exploded... 20:22
ecosystem: sdondley++ created pull request #600:
add Mac::Applications::List module
20:37
Geth ecosystem: 7ce8bf60e2 | (Steve Dondley)++ | META.list
add Mac::Applications::List module
20:40
ecosystem: 6e05eaad60 | (Elizabeth Mattijsen)++ (committed using GitHub Web editor) | META.list
Merge pull request #600 from sdondley/master

add Mac::Applications::List module
japhb [Coke]: Answered, thank you. 21:14
jdv: The downside of having decent public transit, perhaps -- very rapid spread 21:15
jdv idk. just a lot of intl travel and high density? i haven't been on mass transit in a while. 21:37
and low masking, unlike a tokyo or so. 21:38
japhb Wow, I'm surprised that's a problem, given how badly NYC has been hit repeatedly. 21:44
El_Che ok, I've the CI to start building rakudo on arm64. Crossed finger we don't hit timeouts 21:45
MasterDuke oh nice. what CI has arm64?
El_Che cirrus, circleci and travis 21:47
MasterDuke cool 21:48
El_Che the exercise is looking at the setups and see which can build +/- 25 packages without hitting a timeout 21:51
even if it takes long
El_Che (and without making a lot of changes to my github actions flow, aka reuse almost everything) 21:51
Geth doc: 68db9da09d | Coke++ | doc/Language/filename-extensions.pod6
whitespace
22:13
doc: e44577f576 | Coke++ | 2 files
spelling: prefer US > UK; whitespace; new word; typo
linkable6 Link: docs.raku.org/language/filename-extensions
[Coke] before I write a script to use zef to tell me, can zef give me a list of all the (nested) dependencies of a distro? 22:32
[Coke] 'zef depends Doc::TypeGraph' complains: "Failed to resolve some missing dependencies (use e.g. --exclude="dot" to skip)" - but that doesn't seem to be a valid option to pass. 22:50
MasterDuke do you have dot installed? 22:53
[Coke] I'm not trying to install it, I'm just trying to list deps. 22:57
(but yes, I do) 22:58
MasterDuke yeah, i just figured if you didn't have it installed a workaround to not being able to exclude it would be installing it, but since you do, that's weird 22:59
[Coke] ah, it's the only thing that module depends on, so that's fine. was trying to solve github.com/Raku/doc/issues/3981 23:02
(and I think the fix is: we no longer depend on that module) 23:03
japhb [Coke]: I've had trouble with the excludes in the past, but I've been using them regularly for a while in my rebuild-everything script. For example: 23:06
App::Mi6 --exclude=curl
Inline::Perl5 --exclude=perl
p6doc --exclude=dot
DB::Pg --exclude=pq:ver<5>:from<native>
(The exclude arg has to go *before* the 'install' command, so `zef --exclude=foo install Bar::Baz` 23:07
[Coke] japhb: sure. doesn't work with 'depends'
japhb D'oh.
thowe Is this épée project on a public archive somewhere? Anyone know anything about that? 23:08
MasterDuke codesections: ^^^ 23:11
melezhik dl.bintray.com now returns 502 error 23:27
so I can't install raked for ubuntu 23:28
oh, looks like I use old way to install, reading this - cloudsmith.io/~nxadm-pkgs/repos/ra...ormats-deb 23:32