🦋 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:17 nort left
antononcube Yeah, the third one seems to produce best results. 00:24
@tbrowder I might make a blog post about making calendars with LLMs -- it is seems to be a fairly good didactic topic. 00:37
00:48 jpn joined 00:54 jpn left
tbrowder__ ok! 01:03
wanna copy of a page of my current dev version in Dutch? 01:05
01:49 jpn joined 01:54 jpn left 02:26 hulk joined 02:27 kylese left 02:50 jpn joined 02:55 jpn left 03:15 hulk left, kylese joined 03:51 jpn joined 03:57 jpn left 04:39 jpn joined 04:44 jpn left 04:45 Sgeo left 04:53 jpn joined 04:58 jpn left 05:28 festerdam left 05:53 jpn joined 05:59 jpn left 06:14 epony joined 06:32 epony left 06:44 epony joined 06:54 jpn joined 06:59 jpn left 07:04 sjn left 07:10 sjn joined 07:15 jpn joined 07:20 jpn left 07:28 xinming left, xinming joined 07:51 abraxxa joined 07:55 abraxxa left 07:56 abraxxa joined 08:08 jpn joined 08:27 jpn left 08:32 jpn joined 08:39 jpn left 08:45 jpn joined 08:48 abraxxa left 09:37 sena_kun joined 10:03 sena_kun left 10:10 sena_kun joined 10:11 sena_kun left 10:51 epony left 11:22 epony joined
lizmat weekly: cro.services/community-transfer 13:13
notable6 lizmat, Noted! (weekly)
lizmat weekly: commaide.com/discontinued 13:20
notable6 lizmat, Noted! (weekly)
13:24 festerdam joined
librasteve hmmmm - that's a blow 13:25
lizmat yeah :-( 13:28
librasteve fwiw I think that the raku community should support the transfer of the commaide IP to the community to ensure that the open source offer is accepted and that there is a place for the code. I have noticed that the latest comma plugin requires a downgrade from the lasest intellij release (so is behind) and I would be happy to join a handoff training session to try and learn the plugin release skills (technically the 13:30
plugin would be a better choice for most coders than a separate stand alone IDE if it was up to date)
lizmat I'm pretty sure jnthn would be up for that 13:32
14:05 jpn left 14:17 jpn joined 14:21 jpn left
antononcube @librasteve I think that is good idea. I know/knew about the IntelliJ downgrade for the plugin, but I thought that was a feature. 14:31
El_Che librasteve: intellij releases often broke comma. In practice was the comma plugin not an option for paying intellij customers that want to stay up to date with the updates. I ended with a licensed intellij for *all* languages, and a separate comma community installation for raku. Not complaining here, I appreciate the work (it was the best raku ide for me after all), just stating what I experienced 14:32
14:35 epony left
El_Che so, thank you, Comma team! 14:35
antononcube Some of the explanations given here commaide.com/discontinued , describe pretty well my experience with Commaide: 1) New release crashing on my macs, 2) After subscribing for a few years, I decided the last working for me version is "good enough." 14:38
@tbrowder "wanna copy of a page of my current dev version in Dutch?" -- I think I have something else in mind... Also, if I use LLMs the language localization is easy. (Or expected to be.) 14:46
14:48 jpn joined 14:52 jpn left 15:01 jpn joined
tbrowder__ ok 15:24
m: use JSON::Fast 15:25
camelia ===SORRY!=== Error while compiling <tmp>
Could not find JSON::Fast in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo-m-inst-1/sh…
tbrowder__ m: use JSON::Tiny
camelia ===SORRY!=== Error while compiling <tmp>
Could not find JSON::Tiny in:
/home/camelia/.raku
/home/camelia/rakudo-m-inst-1/share/perl6/site
/home/camelia/rakudo-m-inst-1/share/perl6/vendor
/home/camelia/rakudo-m-inst-1/sh…
tbrowder__ m: my %h = %( a => { b => 2},); say %h<a><b> 15:29
camelia 2
tbrowder__ m: my $s = '%(a=1)'; my %h = $s.Hash; dd %h 15:32
camelia Odd number of elements found where hash initializer expected:
Only saw: "\%(a=1)"
in block <unit> at <tmp> line 1
tbrowder__ m: my $s ='%(a=>1)'; my %h = $s.Hash; dd %h 15:34
camelia Odd number of elements found where hash initializer expected:
Only saw: "\%(a=>1)"
in block <unit> at <tmp> line 1
tbrowder__ hm, any way to convert a hash defined in a string to a proper Hash? 15:35
EVAL? 15:36
m: eval
camelia ===SORRY!=== Error while compiling <tmp>
Undeclared routine:
eval used at line 1. Did you mean 'EVAL', 'val'?
[Coke] edument++ 15:42
15:49 Sgeo joined
tbrowder__ yepper, EVALFILE does the trick 15:53
melezhik o/ 15:55
tellable6 hey melezhik, you have a message: gist.github.com/b4ecc2cff02fd3abd9...b1f68d415e
melezhik So I miss something or something has been happening to cro ?
The web site is not available and thus weekly link about cro community transfer … 🤔 15:56
I’ve just based a lot of production code on it, so I don’t want to see any troubles ))) with that 15:57
tbrowder__ as does EVAL $string 15:59
16:02 derpydoo joined
patrickb melezhik: I don't see Cro going away. It's a good code base and many interested parties. 16:07
melezhik Ah, ok. Good to hear ) 16:08
16:25 epony joined 16:42 itaipu left 17:36 itaipu joined
antononcube Also, is / should be open source. 17:43
18:25 jpn left 18:32 jpn joined 18:52 jpn left
librasteve El_Che - you are describing my exact situation (intellij for most work, but Comma Complete for raku due to the update lag of the Comma Plugin) ... 18:55
yeah, some kudos to edument for open statements (which are probably reflecting quite a long held situation) and playing right by the community ... pity they decided to pull the plug, but it's their $$$ that got us this far 19:08
19:17 jpn joined 19:22 jpn left 19:39 abraxxa-home joined 19:42 abraxxa-home left 19:44 abraxxa-home joined
tbrowder__ m: role A { has $.a is required }; class B does A { submethod BUILD(:$!a)}; my $o = B.new: :a(5); say $o.a 20:25
camelia ===SORRY!=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> ; class B does A { submethod BUILD(:$!a)⏏}; my $o = B.new: :a(5); say $o.a
tbrowder__ m: role A {has $.a}; class B does A {submethod BUILD(:$!a) }; my $o = B.new(:a(5)); say $o.a 20:42
camelia ===SORRY!=== Error while compiling <tmp>
Missing block
at <tmp>:1
------> ; class B does A {submethod BUILD(:$!a) ⏏}; my $o = B.new(:a(5)); say $o.a
tbrowder__ now i see the missing block 20:44
20:49 jpn joined 20:54 jpn left
tbrowder__ m: role A {has $.a}; class B does A {submethod BUILD(:$!a) {} }; my $o = B.new(:a(5)); say $o.a 21:23
camelia 5
tbrowder__ now i will try to get TWEAK to work...
...later 21:26
21:45 jpn joined 21:55 jpn left 22:06 sena_kun joined 22:16 jpn joined 22:20 jpn left 22:26 dustinm` left 22:32 dustinm` joined 22:52 jpn joined 22:56 jpn left 23:00 jpn joined 23:06 jpn left 23:14 derpydoo left 23:26 abraxxa-home left 23:47 jpn joined
tbrowder__ m: role A {has $.a is required; has $.path}; class B does A { submethod TWEAK { $!path = $!a } }; my $o = B.new(:a(7)); say $o.path 23:47
camelia 7
tbrowder__ ok, i'm surprised, but pleased. i must be doing something wrong in my own code. 23:49
23:52 jpn left