🦋 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.
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
tbrowder__ ok! 01:03
wanna copy of a page of my current dev version in Dutch? 01:05
lizmat weekly: cro.services/community-transfer 13:13
notable6 lizmat, Noted! (weekly)
lizmat weekly: commaide.com/discontinued 13:20
notable6 lizmat, Noted! (weekly)
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
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
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
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
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
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
antononcube Also, is / should be open source. 17:43
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
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
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
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