🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel!
Set by lizmat on 6 September 2022.
00:00 reportable6 left 00:01 reportable6 joined 00:03 jpn left 00:17 jpn joined 00:23 jpn left 00:37 jpn joined 00:54 jpn left 01:04 xinming_ left, xinming left 01:05 lichtkind joined 01:06 xinming joined, xinming_ joined 01:09 jpn joined 01:15 jpn left 01:22 lichtkind left 01:34 Altreus left, jjatria left 01:35 JRaspass left, Scotteh left 01:46 jgaz left 01:48 xinming left, xinming joined 01:49 jpn joined 01:54 JRaspass joined 01:55 Scotteh joined 01:56 jjatria joined 01:58 Altreus joined 02:14 jpn left 02:27 jpn joined 02:32 epony joined 02:38 jpn left 02:40 razetime joined 02:53 jpn joined 03:10 jpn left 03:23 dogbert17 joined 03:24 dogbert12 joined 03:25 dogbert11 left 03:28 dogbert17 left 03:29 jpn joined 03:35 jpn left 03:42 jpn joined 03:47 jpn left 03:54 xinming_ left 03:55 xinming_ joined 04:25 jpn joined 04:39 Xliff joined 04:40 discord-raku-bot left, discord-raku-bot joined 04:43 jpn left 04:46 xinming_ left 04:47 xinming_ joined
Xliff Has anyone here used Inline::Perl5? 05:07
I need to inject a scalar from the Raku invironment, into a $p5.run() environment. Is that possible?
nine^^
05:12 jpn joined 05:18 jpn left 05:23 raku-discord joined 05:24 raku-discord left 05:25 raku-discord joined, raku-discord left 05:26 raku-discord joined, raku-discord left 05:52 jpn joined 06:00 reportable6 left 06:02 reportable6 joined 06:16 jpn left 06:48 jpn joined 06:54 jpn left 06:59 PipStuart left 07:40 discord-raku-bot left, discord-raku-bot joined 07:42 jpn joined 08:00 jpn left 08:14 razetime left 08:29 razetime joined 08:36 jpn joined, xinming_ left 08:40 discord-raku-bot left 08:41 discord-raku-bot joined, jpn left 08:48 lichtkind joined 09:24 jack9 joined
jack9 m: say('hello'); 09:26
camelia hello
09:32 jpn joined 10:00 Homer_Simpson joined 10:05 sena_kun joined 10:06 jack9 left 10:23 jpn left 10:25 Sgeo left 10:28 epony left 10:30 jjido joined 10:51 razetime left 10:58 jpn joined 11:04 jpn left 11:09 ab5tract joined 11:14 jjido left 11:43 jack9 joined, jack9 left 11:52 jpn joined
Homer_Simpson . 11:54
12:00 reportable6 left, reportable6 joined 12:01 jpn left
p6steve ``` 12:12
my $t-path = %?RESOURCES<test_data/iris.csv>.absolute;
warn "t-path is $t-path";
```
^^ I'm trying to read a csv from a test file, it has been loaded into the resources/test_data dir 12:13
```
root@5528cc074a0e:~/.zef/store/raku-Dan-Polars.git/c8813cdd3ece32014c4f48c823d640c19840d179/resources/test_data# ls
Titanic.csv dfStarwars.csv dfStarwarsFilms.csv dfStarwarsStarships.csv dfStarwarsVehicles.csv iris.csv
```
but I get an error... 12:14
```
[Dan::Polars] Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful.
[Dan::Polars] in block <unit> at t/06-dpo.t line 16
[Dan::Polars] t-path is
```
Ideally I would like a Str to feed into a method ```df0.read_csv("$t-path");``` 12:15
all the above from zef install ... 12:16
any clues very welcome, please!
Xliff: on Inline::Perl5, I use it extensively here github.com/p6steve/raku-Dan-Pandas eg. ```df.pd: '.to_csv("test.csv")';``` 12:19
``` 12:20
multi method pd( $exp ) {
if $exp ~~ /'='/ {
$!po.rs_exec( $exp )
} else {
$!po.rs_eval( $exp )
}
```
where ```$!po``` is a perl5 pandas object (eg. a Series) ... so you may be able to copy my example and make a "receiver" on the perl side and then load into your "sender" raku object 12:22
12:40 jpn joined 12:45 jpn left 12:48 ab5tract left 12:50 ab5tract joined 13:13 jjido joined 13:15 jpn joined 13:20 jjido left 13:30 epony joined 13:34 jpn left 13:37 jpn joined 13:42 jpn left
Geth rakubrew.org: f76aa9552c | (Patrick Böker)++ | resources/homepage.md.tmpl
Add PS and CMD to manual installation instructions
13:43
Nemokosch ❤️ 13:44
ab5tract p6steve: I to used `.path.path` to get the location of a Resource object 13:53
tellable6 ab5tract, I'll pass your message to p6steve
13:55 jpn joined 13:56 ProperNoun joined 14:07 jpn left 14:08 jpn joined 14:10 ab5tract left 14:14 jpn left
p6steve ab5tract: tx - I'll try that 14:19
14:25 razetime joined 14:32 jjido joined 14:38 codesections joined 15:38 perlbot left, simcop2387 left 15:40 simcop2387 joined 15:42 perlbot joined
Xliff p6steve: Thanks! 15:57
tellable6 Xliff, I'll pass your message to p6steve
16:01 jjido left 16:03 razetime left 16:11 japhb left 16:13 japhb joined 16:51 jjido joined
ugexe So I plan on removing META.info support from zef soon 17:13
zef has been warning for 5 years that failure was likely, and rakudo hasn't supported it period for a similar amount of time 17:14
i think every distribution with a META.info has a multi-year old PR opened for changing to META6.json
as for why now, because apparently the workaround support in zef for META.info had been broken some time ago unless installing from a cloned directory. so for normal users i don't think anyone will notice 17:16
17:18 japhb left
ugexe It might make sense to remove those distributions from REA 17:25
but we'd probably want to have an idea of if any of those distributions are depended on by anything else
and move any that are to the raku community modules with a META6.json, deleting the prior versions that will no longer be installable 17:26
coleman Is it possible to publish a concrete list of dists that would be affected? Only if that's easy to get from a script, of course 17:30
ugexe it'd probably need to clone the REA github repo, open each tar file, and then look at the files 17:33
my $extractor = Zef::Service::Shell::Tar.new. say "META.info found" if so $extractor.ls-files($filename).grep({ $_ eq "META.info" }); 17:35
assuming you had all the archive files you could use something like that to check of the .tar.gz file contains a META.info 17:36
a list probably already exists from 5 years ago when all those PRs to update them to META6.json were made 17:37
stevied anyone got any ideas on this issue: stackoverflow.com/questions/751904...irectory-e 18:00
18:00 reportable6 left 18:02 reportable6 joined 18:16 discord-raku-bot left, discord-raku-bot joined
coleman ugexe: after our docs work is done, I would like to proprose to my infra comrades that we explore fixing up QA automation that can help with stuff like this 18:22
That's a few weeks away for me personally at least, but be thinking on what might be useful and high-impact to help the package ecosystem. 18:23
maybe there are old or proposals I can review, etc.
18:25 notna joined
Nemokosch coleman: thank you for the feedback on the mail 18:35
coleman Nemokosch: one small org that has nice docs (in my opinion) is voidlinux.org/ 18:37
tellable6 coleman, I'll pass your message to Nemokosch
coleman See also docs.voidlinux.org/about/infradocs.html 18:38
19:51 dogbert17 joined 19:54 dogbert12 left 19:58 notna30 joined 20:00 jjido left 20:04 dogbert11 joined, discord-raku-bot left, discord-raku-bot joined 20:07 dogbert17 left 20:09 discord-raku-bot left, discord-raku-bot joined 20:15 notna left 20:29 notna30 left 20:46 codesections left, Sgeo joined 21:20 jpn joined 21:24 jpn left 21:46 sena_kun left 22:06 abraxxa-home joined 22:08 rf joined 22:11 Homer_Simpson left 22:32 jjido joined 22:39 rf left 22:40 rf joined 22:54 abraxxa-home left 23:07 rf left, jpn joined, rf joined 23:12 jpn left 23:16 discord-raku-bot left, discord-raku-bot joined 23:38 epony left