🦋 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, reportable6 joined 00:02 kjp left 00:06 kjp joined 00:29 avuserow left, ugexe left, defaultxr left, mjgardner left, SmokeMachine left, tjr left, hexology left, rjbs left, SmokeMachine joined, mjgardner joined, rjbs joined, avuserow joined 00:30 ugexe joined, hexology joined, defaultxr joined, tjr joined 00:50 guifa_ joined 01:12 guifa_ left 01:13 Aedil left, guifa_ joined, Aedil joined 02:13 benchable6 left, nativecallable6 left, tellable6 left, squashable6 left, statisfiable6 left, bisectable6 left, releasable6 left 02:14 bisectable6 joined, benchable6 joined 02:15 releasable6 joined, squashable6 joined, statisfiable6 joined, nativecallable6 joined 02:16 tellable6 joined, kybr left, kybr joined 02:57 guifa__ joined 02:59 guifa left 03:09 xwu1 joined 03:32 guifa_ left 04:10 jpn joined 04:14 jpn left 04:56 jgaz left 05:28 abraxxa joined 05:34 siavash joined 05:39 abraxxa left 05:50 xwu1 left 05:52 jpn joined 05:53 abraxxa joined 05:57 jpn left 06:00 reportable6 left, reportable6 joined 06:51 jpn joined 07:16 Sgeo left 07:33 samcv_ left, samcv joined 07:37 ab5tract joined 08:01 dakkar joined 08:18 jpn left 08:20 teatwo joined, teatwo left 08:21 teatwo joined, teatwo left 08:22 teatwo joined 08:23 teatime left 08:24 ab5tract left 08:25 ab5tract joined 08:32 jpn joined 08:37 jpn left
lizmat PSA: pl6anet.org is now officially offline, if you were still using that, please use planet.raku.org instead 08:55
09:02 jpn joined 10:02 evalable6 left, reportable6 left, statisfiable6 left, sourceable6 left, committable6 left, releasable6 left, benchable6 left, squashable6 left, tellable6 left, coverable6 left, linkable6 left, greppable6 left, shareable6 left, bisectable6 left, nativecallable6 left, quotable6 left, unicodable6 left, notable6 left, bisectable6 joined 10:03 statisfiable6 joined, tellable6 joined, quotable6 joined, squashable6 joined, greppable6 joined, nativecallable6 joined 10:04 coverable6 joined, shareable6 joined, evalable6 joined, reportable6 joined, benchable6 joined 10:05 committable6 joined, sourceable6 joined, releasable6 joined, unicodable6 joined, linkable6 joined, notable6 joined 10:27 NemokoschKiwi joined 10:53 jpn left 10:54 teatime joined, teatime left 11:22 ab5tract left 11:23 NemokoschKiwi left 11:42 xwu1 joined 12:00 reportable6 left, reportable6 joined 12:06 jaguart joined 12:07 jaguart left 12:08 jaguart joined 12:10 oodani left, oodani joined 12:48 jpn joined 12:55 siavash left 13:00 xwu1 left 13:22 RonaldR34g4m joined, Vyrus left
jaguart It's 32C in Sussex UK - with no aircon - just not used to that! 13:39
lizmat 30 here in NL, now officially the hottest Sep 6 13:40
the coming 6 days will probably all break records as well
jaguart whew
I've been away for a while - BSc Info Tech squeezed into 12 weeks. Enough javascript and C# - now I'm back to Raku! 13:42
nemokosch yeah long time no see 14:11
jaguart I'm looking forward to playing with this: github.com/bduggan/raku-jupyter-kernel 14:13
nemokosch have you followed the Rakudoc news?
jaguart a little - but not in earnest 14:14
what did I miss?
nemokosch I don't know, to be frank. It just seemed you might be interested.
lizmat github.com/Raku/problem-solving/issues/380
jaguart :)
lizmat more specifically: raw.githubusercontent.com/Raku/Rak..._3.rakudoc 14:15
jaguart I had so many assignments my head was down the whole time. Kept promoting raku as a better OO than C# to the profs/tutors 14:16
I did read about the pod6 changes - looking forward to seeing how it evolves 14:17
I'm guessing my niggles with minor POD6 bugs will evaporate 14:18
The big thing I really want is auto generation of class documentation a'la JavaDoc - but that seems orthoganal to raku-doc 14:22
14:22 evalable6 left, linkable6 left
lizmat jaguart: you mean, generate from code? yes, that would be orthogonal 14:23
14:23 linkable6 joined, evalable6 joined 14:26 deoac left
jaguart yes - it's on my todo list 14:26
I do like the raku-doc =COLUMN - that is really nice 14:27
14:27 deoac joined
lizmat well, with RakuAST it would definitely be simpler, as you wouldn't need to parse the code yourself, but could use the .AST 14:27
"file".IO.slurp.AST basically
jaguart I'm assuming the AST branch is not main yet? 14:31
new-raku.finanalyst.org/language/rakudoc - wow, a superb job on this! 14:33
[Coke] packy.dardan.com/2023/09/05/perl-w...y-kenneth/ - another blog post with a raku solution to the weekly 14:34
jaguart: it is, but you need to activate it with 'use experimental :rakuast'
m: use experimental :rakuast; $*PROGRAM.AST.say 14:36
camelia ===SORRY!=== Error while compiling
Unsupported use of /e. In Raku please use: interpolated {...} or s{} =
... form.
------> /tmp/e⏏valbot-file-61DDyQfy8Q
jaguart will look at dropping that into my introspection widget 14:37
[Coke] ... ok, that worked with -e locally, but is very unhappy when I save it in a file. substitute real code for the $*PROGRAM there. :) 14:38
lizmat m: say Q|say "Hello World"|.AST 14:44
camelia RakuAST::StatementList.new(
expression => RakuAST::Call::Name.new(
name => RakuAST::Name.from-identifier("say"),
args => RakuAST::ArgList.new(
lizmat m: say Q|say "Hello World"|.AST.statements.head
camelia RakuAST::Statement::Expression.new(
expression => RakuAST::Call::Name.new(
name => RakuAST::Name.from-identifier("say"),
args => RakuAST::ArgList.new(
segments => (
[Coke] lizmat: wait, the experimental isn't needed? 14:46
lizmat the :experimental is only needed if you want to directly access / create RakuAST classes 14:47
.AST makes them for you
[Coke] Ahhhhh
lizmat I mean as soon as you want to check for specific nodes in the .AST result, you would need the :experimental 14:48
*or* "use v6.e.PREVIW"
*or* "use v6.e.PREVIEW"
[Coke] m: q 15:07
camelia ===SORRY!=== Error while compiling <tmp>
Undeclared routine:
q used at line 1
[Coke] m: q|2+3|.AST.sat
camelia No such method 'sat' for invocant of type 'RakuAST::StatementList'.
Did you mean any of these: 'Set', 'say'?
in block <unit> at <tmp> line 1
[Coke] m: q|2+3|.AST.say
camelia RakuAST::StatementList.new(
expression => RakuAST::ApplyInfix.new(
left => RakuAST::IntLiteral.new(2),
infix => RakuAST::Infix.new("+"),
right => RakuAST::IntLiteral.new(3)
[Coke] is there a way to constant flatten that? 15:08
15:16 rf joined
lizmat m: q|2+3|.AST.literalize.say 15:18
camelia 5
15:21 rf left 15:47 bigdata joined
[Coke] nice! 15:49
nerd friends: don't assume someone's mailing address is their shipping address.
My mom's town doesn't have a post office, so the mailing address is the next town over, but so many online delivery places are trying to convert the address to a mailing address (probably because that's what they had to validate against) 15:50
m: q|pi|.AST.literalize.say 15:51
camelia 3.141592653589793
[Coke] m: q|pi|.AST.say
camelia RakuAST::StatementList.new(
expression => RakuAST::Term::Name.new(
[Coke] 👍 15:54
16:08 jpn left 16:14 abraxxa left 16:36 dakkar left
jaguart Noice - got the Jupyter notebook server running with Raku - woohoo. Slight tweaks to the instructions. Chuffed 17:07
antononcube @Jaguart Great! Please try "Jupyter::Chatbook". 17:19
@Jaguart Here is a demo (first out of five -- the next four are coming soon): www.youtube.com/watch?v=cICgnzYmQZg 17:25
17:36 linkable6 left, evalable6 left 17:38 evalable6 joined, linkable6 joined 17:46 ingy left 17:47 ingy joined 17:51 xwu1 joined 17:52 jjido joined 18:00 reportable6 left 18:01 reportable6 joined 18:34 ab5tract joined 18:43 wafflus joined 18:55 andinus left 18:56 andinus joined 19:01 jpn joined 19:14 ab5tract left 19:29 jjido left 19:37 n1to joined, n1to left 19:40 jpn left 19:41 xwu1 left 19:48 xwu1 joined 19:49 wafflus left 20:01 jpn joined 20:10 Voldenet left 20:11 Voldenet joined 20:20 tea3po joined 20:23 teatwo left 20:52 deoac left 21:13 guifa joined 21:25 jpn left 21:35 guifa left 22:17 sftp left, sftp joined 22:56 Sgeo joined, jpn joined 23:01 jpn left 23:16 squashable6 left 23:18 squashable6 joined 23:36 bigdata left 23:39 sftp left 23:41 sftp joined