š¦ 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 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 8 June 2022. |
|||
00:07
reportable6 left
00:09
reportable6 joined
00:28
swaggboi left
00:29
frost joined
00:40
swaggboi joined
|
|||
SmokeMachine | Doesnāt `provides` accept version? Iāve been trying to do something like this: glot.io/snippets/gbh2j9z1kp | 01:15 | |
Iād live to provide many versions of the same file/class/moduleā¦ | 01:17 | ||
01:43
frost left
02:43
unicodable6 left,
sourceable6 left,
coverable6 left,
linkable6 left,
greppable6 left,
releasable6 left,
evalable6 left,
benchable6 left,
quotable6 left,
shareable6 left,
notable6 left,
committable6 left,
statisfiable6 left,
reportable6 left,
nativecallable6 left,
bisectable6 left,
bloatable6 left,
tellable6 left
02:44
greppable6 joined,
tellable6 joined,
statisfiable6 joined,
quotable6 joined,
benchable6 joined
02:45
reportable6 joined,
bisectable6 joined,
committable6 joined,
evalable6 joined,
shareable6 joined,
releasable6 joined,
coverable6 joined
02:46
bloatable6 joined,
linkable6 joined,
sourceable6 joined,
unicodable6 joined
02:47
notable6 joined,
nativecallable6 joined
03:47
linkable6 left,
committable6 left,
sourceable6 left,
bisectable6 left,
quotable6 left,
statisfiable6 left,
nativecallable6 left,
tellable6 left,
notable6 left,
reportable6 left,
coverable6 left,
greppable6 left,
bloatable6 left,
benchable6 left,
shareable6 left,
unicodable6 left,
evalable6 left,
releasable6 left,
coverable6 joined,
statisfiable6 joined,
benchable6 joined,
sourceable6 joined
03:48
committable6 joined,
reportable6 joined,
bloatable6 joined,
bisectable6 joined,
greppable6 joined,
evalable6 joined,
notable6 joined
03:49
unicodable6 joined,
linkable6 joined,
releasable6 joined,
tellable6 joined
03:50
quotable6 joined,
shareable6 joined,
nativecallable6 joined
04:03
swaggboi left
04:10
frost joined
04:20
swaggboi joined
04:51
MadcapJake joined
05:51
coverable6 left,
benchable6 left,
bisectable6 left,
bloatable6 left,
nativecallable6 left,
committable6 left,
unicodable6 left,
shareable6 left,
notable6 left,
releasable6 left,
statisfiable6 left,
greppable6 left,
evalable6 left,
sourceable6 left,
quotable6 left,
tellable6 left,
linkable6 left,
reportable6 left
05:52
sourceable6 joined,
unicodable6 joined,
greppable6 joined
05:53
committable6 joined,
bloatable6 joined,
coverable6 joined,
quotable6 joined,
statisfiable6 joined,
reportable6 joined,
linkable6 joined
05:54
benchable6 joined,
nativecallable6 joined,
shareable6 joined,
releasable6 joined,
notable6 joined,
evalable6 joined,
bisectable6 joined
05:55
tellable6 joined
06:06
reportable6 left
06:07
swaggboi left,
reportable6 joined
06:25
swaggboi joined
07:11
MadcapJake left
07:58
jaguart joined
08:12
Xliff joined
|
|||
Xliff | Today marks the 750,000 line of raku code amongst all of my projects. | 08:12 | |
08:13
Sankalp left
|
|||
Xliff | Coming soon if I can ever get reasonable user interraction added to CURI. | 08:13 | |
08:14
Sankalp joined
08:17
Xliff left
08:33
Sgeo left
09:28
discord-raku-bot left,
discord-raku-bot joined
09:37
sena_kun joined
10:37
committable6 left,
sourceable6 left,
coverable6 left,
tellable6 left,
shareable6 left,
bloatable6 left,
quotable6 left,
notable6 left,
reportable6 left,
releasable6 left,
greppable6 left,
nativecallable6 left,
unicodable6 left,
bisectable6 left,
statisfiable6 left,
linkable6 left,
benchable6 left,
evalable6 left
10:38
bisectable6 joined,
linkable6 joined,
evalable6 joined,
bloatable6 joined
10:39
benchable6 joined,
coverable6 joined,
releasable6 joined,
reportable6 joined,
tellable6 joined
10:40
sourceable6 joined,
notable6 joined,
quotable6 joined,
unicodable6 joined,
shareable6 joined,
greppable6 joined,
committable6 joined,
statisfiable6 joined
10:41
nativecallable6 joined
11:41
sourceable6 left,
linkable6 left,
committable6 left,
statisfiable6 left,
greppable6 left,
reportable6 left,
unicodable6 left,
quotable6 left,
tellable6 left,
benchable6 left,
releasable6 left,
bloatable6 left,
notable6 left,
nativecallable6 left,
shareable6 left,
bisectable6 left,
evalable6 left,
coverable6 left,
linkable6 joined,
shareable6 joined,
tellable6 joined,
greppable6 joined,
sourceable6 joined,
benchable6 joined
11:42
bloatable6 joined
|
|||
jaguart | @ugexe - you answered the question I was just thinking! mind-reader :o | 11:42 | |
11:42
quotable6 joined,
coverable6 joined,
unicodable6 joined,
notable6 joined,
releasable6 joined,
evalable6 joined
11:43
statisfiable6 joined,
reportable6 joined,
nativecallable6 joined,
committable6 joined,
bisectable6 joined
11:48
Xliff joined
|
|||
Xliff | .tell pmurias Hey there! Nice to see you around. Hope to catch up to you in the future! | 11:51 | |
tellable6 | Xliff, I'll pass your message to pmurias | ||
12:07
reportable6 left
12:09
reportable6 joined
|
|||
p6steve | anton: yeah, the raku Jupyter kernel has become a bit flaky - if this happens you just need to click Kernel restart and clear all output in the menu | 12:31 | |
anton: or you can load Jupyter locally (see this Dockefile for the steps github.com/p6steve/raku-Dan-Jupyte...ockerfile) | 12:49 | ||
anton: or you can just ```docker run p6steve/raku-dan:pandas-2022.02-amd64``` (or -arm64) if you want the Inline::Python etc without the Jupyter | 12:50 | ||
```docker run -it p6steve/raku-dan:pandas-2022.02-amd64``` | 12:53 | ||
13:09
evalable6 left,
linkable6 left,
evalable6 joined
13:12
linkable6 joined
13:20
jgaz joined
13:54
jaguart left
13:55
gcd left
14:04
swaggboi left
14:11
gcd joined
14:21
swaggboi joined
|
|||
Nemokosch | docs.raku.org/language/enumeration | 14:25 | |
I'm pretty sure the code is wrong | |||
About the way it is trying to use $dirs | |||
guifa | what would be a good escape string for calling other regex / methods in ECMA syntax (ala <foo> in Raku regex) | 14:26 | |
I *think* I can do (?<foo>) | |||
Xliff | Are Raku's macros mature enough to emit a set of need() statements inside of a given scope? | 14:49 | |
I would like to make a set of needs reusable. | |||
So I don't have to keep typing them all over and over again. :) | |||
Nemokosch: Howso? $dirs should just be a list of '/tmp', '/' and '~/tmp' | 14:51 | ||
tellable6 | Xliff, I'll pass your message to Nemokosch | ||
15:07
thegargler joined
|
|||
Nemokosch | 1. this is a scalar assignment so the last two values are dropped right away | 15:42 | |
2. If this weren't the case, $dirs would still iterate as one element | |||
15:50
jgaz left
15:52
jgaz joined
|
|||
Xliff | m: my $dirs = '/tmp', '/', '~/tmp'; $dirs.^name.say | 15:55 | |
camelia | WARNINGS for <tmp>: Str Useless use of constant string "~/tmp" in sink context (lines 1, 1) Useless use of constant string "/" in sink context (lines 1, 1) |
||
Xliff | m: my @dirs = '/tmp', '/', '~/tmp'; $dirs.^name.say | ||
camelia | ===SORRY!=== Error while compiling <tmp> Variable '$dirs' is not declared. Did you mean any of these: '@dirs', '&dir'? at <tmp>:1 ------> my @dirs = '/tmp', '/', '~/tmp'; ā$dirs.^name.say |
||
Xliff | m: my @dirs = '/tmp', '/', '~/tmp'; @dirs.gist.say | ||
camelia | [/tmp / ~/tmp] | ||
Xliff | Scalar assignment should be able to take a List. | 15:56 | |
Huh! You might have a point. | 15:57 | ||
So maybe better written as... | |||
m: my $dirs = </tmp / ~/tmp>; $dirs.gist.say | 15:58 | ||
camelia | (/tmp / ~/tmp) | ||
Nemokosch | It can, if you put the parens around. But still, #2 applies: it will iterate as one element that contains the whole list. | ||
Xliff | m: my $dirs = </tmp / ~/tmp>; .say for $dirs; | ||
camelia | (/tmp / ~/tmp) | ||
Xliff | m: my $dirs = </tmp / ~/tmp>; .say for $dirs[]; | ||
camelia | /tmp / ~/tmp |
||
Xliff | So those 2 changes. | ||
Which is the same as... | 15:59 | ||
m: my $dirs = </tmp / ~/tmp>; .say for $dirs.List | |||
camelia | /tmp / ~/tmp |
||
Geth | doc: 67b76cf554 | Xliff++ (committed using GitHub Web editor) | doc/Language/enumeration.pod6 Fixes assignment and iteration issues arising from the use of $dirs Now changed to @dirs and a proper list assignment, which is more accessible to beginners. |
16:03 | |
linkable6 | Link: docs.raku.org/language/enumeration | ||
16:24
jgaz left
|
|||
p6steve | anyone know best way to return a CArray via NativeCall? (the docs say a lot about calling with a CArray as param) | 16:46 | |
16:47
thegargler left
|
|||
p6steve | right now I am trying via a callback ```sub se_get_data(SeriesC, &callback (CArray[num64] --> CArray[num64])) is native($n-path) { * }``` | 16:47 | |
this gets me this ```NativeCall::Types::CArray[num64].new | 16:48 | ||
Array @da = [NativeCall::Types::CArray[num64].new] | |||
``` | |||
but ```@da[0]``` => Any ;-( | 16:49 | ||
17:01
wcs left
17:03
wcs joined
|
|||
Xliff | p6steve: Are you trying to return the CArray in the callback? Is the callback in C or Raku? | 17:04 | |
Is there any code? | 17:05 | ||
17:40
andm joined
|
|||
p6steve | Xliff: there is quite a lot of code - don't worry for now, I will MRE and put on SO - appreciate the quick reply | 18:03 | |
18:06
reportable6 left
18:07
reportable6 joined
|
|||
coleman | The devops folks who run the infra for the website: do you all have your own IRC channel? | 18:14 | |
the docs website, I mean. | |||
18:22
jmcgnh left
18:34
Sgeo joined
18:35
jmcgnh joined
19:10
jaguart joined
19:23
sena_kun left
19:24
sena_kun joined
20:09
vrurg_ is now known as vrurg
|
|||
tonyo | guifa: I'm getting ready to revamp fez's packaging so it's consistent across platforms and doesn't really on external tar or gzip but need to find the time to work on some compression library | 20:38 | |
guifa | working in NQP-Grammar world | 20:54 | |
how can I match against the contents of a variable? | |||
if I just have token foo {Ā $*blah }Ā I get an error that INTERPOLATE isn't available | |||
21:09
linkable6 left,
evalable6 left
|
|||
guifa | m: use nqp; say QAST::WVal | 21:09 | |
camelia | Could not find symbol '&WVal' in 'GLOBAL::QAST' in block <unit> at <tmp> line 1 |
||
guifa | ^^ is this new ? | 21:10 | |
21:10
evalable6 joined
|
|||
guifa | ah use nqp; use QAST:from<NQP>; | 21:12 | |
21:12
linkable6 joined
|
|||
guifa | grr nqp world is being annoying haha | 21:21 | |
21:33
wcs left
21:36
simcop2387 left,
perlbot left
|
|||
guifa | ah, there's a bunch of special work that needs to be done to return anything code like | 21:43 | |
boo | |||
21:43
wcs joined
21:54
simcop2387 joined
21:56
perlbot joined
21:57
sena_kun left
22:57
linkable6 left,
evalable6 left
22:58
evalable6 joined,
linkable6 joined
23:03
xinming left
23:04
xinming joined,
andm left
23:14
wcs left
|
|||
tonyo | guifa: what are you writing? | 23:34 | |
SmokeMachine | m: gist.github.com/FCO/9111d1d7a5149f...2232c2764e | 23:37 | |
camelia | ===SORRY!=== Error while compiling <tmp> Confused at <tmp>:2 ------> "name":ā "TestVersions", expecting any of: colon pair |
||
SmokeMachine | m: gist.github.com/FCO/9111d1d7a5149f...2232c2764e | ||
camelia | ===SORRY!=== Error while compiling <tmp> Confused at <tmp>:2 ------> "name":ā "TestVersions", expecting any of: colon pair |
||
23:42
wcs joined
|
|||
SmokeMachine | should something like this work? How should I do this? usercontent.irccloud-cdn.com/file/.../image.png | 23:42 | |
I'm trying to think a good way of doing migrations... | 23:43 | ||
23:47
swaggboi left
23:48
swaggboi joined
23:51
wcs left
23:53
wcs joined
|