🦋 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. |
|||
tbrowder | guifa: look at CompUnit::Util. i think it is supposed to access nativecall stuff | 00:02 | |
guifa | CompUnit::Util explicitly uses internall-y stuff that's not guaranteed to be forward compatible | 00:53 | |
01:03
toddr____ joined
|
|||
toddr____ | Hey all, is someone here trying to fix Trinity? | 01:03 | |
01:13
toddr____ left
01:14
toddr joined
01:18
toddr left,
toddr joined
01:19
toddr left,
toddr joined
|
|||
antononcube | Huh! "raku Trinity" returns pottery results only in Google. | 01:23 | |
01:23
Guest94 joined
01:26
Guest94 left
01:43
hulk joined
|
|||
coleman | toddr: I got your email to the infra list. Thanks for the update. | 01:43 | |
01:44
kylese left
02:10
kjp left
02:11
kjp joined
02:12
kjp left,
kjp joined
02:15
hulk left,
kylese joined
02:26
avar left,
avar joined
03:16
Aedil joined
03:21
guifa left
04:23
pony is now known as u-ou
04:25
u-ou left
05:10
cm left
05:11
cm_ joined,
cm_ is now known as cm
05:30
Sgeo left
05:32
gugod left,
slu left,
zups left
05:34
gugod joined,
slu joined,
zups joined
06:03
zups left
06:04
zups joined
07:51
Chanakan left
07:54
Ekho- left,
Chanakan joined
07:57
evalable6__ joined
08:02
evalable6 left
08:11
cleo left
08:13
Ekho joined
08:14
thaewrap1 joined,
Tirifto left
08:15
Tirifto joined,
jmcgnh left
08:22
toddr left,
thaewrapt left,
lizmat left,
gfldex left,
ingy left,
zostay left,
coleman left,
mtj left,
JRaspass left,
snonux left
08:32
jmcgnh joined
08:34
toddr joined,
lizmat joined,
gfldex joined,
ingy joined,
zostay joined,
coleman joined,
mtj joined,
JRaspass joined,
snonux joined
09:35
euandreh joined
09:37
euandreh left
|
|||
tbrowder | m: (1,2,) (>) (1,2,3) | 12:19 | |
camelia | WARNINGS for <tmp>: Useless use of "(>)" in expression "(1,2,) (>) (1,2,3)" in sink context (line 1) |
||
tbrowder | m: ((1,2) (<) (1,2)).so | 12:20 | |
camelia | ( no output ) | ||
tbrowder | how, with the ascii symbol (<), do i test one set (1,2) is a member of set (1,2) | 12:23 | |
m: cmp-ok set(1,2), '(<)', set(1,2) | 12:36 | ||
camelia | ===SORRY!=== Error while compiling <tmp> Undeclared routine: cmp-ok used at line 1 |
||
tbrowder | m: cmp-ok (1,2), '(<)', (1,) | 12:41 | |
camelia | ===SORRY!=== Error while compiling <tmp> Undeclared routine: cmp-ok used at line 1 |
||
tbrowder | m: use Test; cmp-ok (1,2), '(<)', (1,2) | 12:43 | |
camelia | not ok 1 - # Failed test at <tmp> line 1 # expected: (1, 2) # matcher: 'infix:«(<)»' # got: (1, 2) |
||
tbrowder | m: use Test; cmp-ok((1,2), '(<)', (1,2)) | 12:45 | |
camelia | not ok 1 - # Failed test at <tmp> line 1 # expected: (1, 2) # matcher: 'infix:«(<)»' # got: (1, 2) |
||
tbrowder | m: say '(<)'.WHAT | 12:47 | |
camelia | (Str) | ||
tbrowder | m: cmp-ok(set(1), '(<)', set(1)) | 12:57 | |
camelia | ===SORRY!=== Error while compiling <tmp> Undeclared routine: cmp-ok used at line 1 |
||
tbrowder | m: use Test; cmp-ok(set(1), '(<)', set(1)) | 12:58 | |
camelia | not ok 1 - # Failed test at <tmp> line 1 # expected: Set.new(1) # matcher: 'infix:«(<)»' # got: Set.new(1) |
||
tbrowder | m: use Test; is (set(1,2) (<) set(1,2)).so, True | 13:04 | |
camelia | not ok 1 - # Failed test at <tmp> line 1 # expected: 'True' # got: 'False' |
||
lizmat | m: set(1,2) (<=) set(1,2) | 13:05 | |
camelia | WARNINGS for <tmp>: Useless use of "(<=)" in expression "set(1,2) (<=) set(1,2)" in sink context (line 1) |
||
lizmat | m: say set(1,2) (<=) set(1,2) | ||
camelia | True | ||
lizmat | m: say set(1,2) (<) set(1,2) | ||
camelia | False | ||
lizmat | with (<) the left *must* have fewer elems than the right | ||
tbrowder | ok, proper subset, thnx! | ||
so how do i do a test with that? i've been getting errors on syntax as you can see above | 13:14 | ||
CompUnit::Utils has a bad test and I'm trying to fix it with the ascii proper subset operator | 13:16 | ||
lizmat | m: use Test; cmp-ok set(1,2), &[(<=)], set(1,2) | 13:18 | |
camelia | ok 1 - | ||
lizmat | m: use Test; cmp-ok set(1,2), &[(<)], set(1,2) | ||
camelia | not ok 1 - # Failed test at <tmp> line 1 # expected: Set.new(1,2) # matcher: 'infix:«(<)»' # got: Set.new(1,2) |
||
lizmat | &[foo] being short for &infix:<foo> | 13:19 | |
tbrowder | ok, many thanks!! | ||
lizmat: are you going to put CompUnit::Utils in fez? | 13:39 | ||
i will have a PR for it wherever it winds up. if the curr author doesn't respond, i may release another ver as author | 13:41 | ||
lizmat | I did not get a reaction to github.com/LLFourn/p6-AttrX-InitArg/issues/5 | ||
which feels odd, since they are still active on Github, even today | 13:42 | ||
perhaps make an issue in CompUnit::Util, reference the above issue | 13:43 | ||
see if they react to that | |||
tbrowder | btw, just rewriting the bad test and substituting plain ascii (<=) instead of the incorrect unicode symbol worked | 13:44 | |
i have done so | |||
lizmat | ah, ok..... :-) | ||
tbrowder | and i will tidy it up now that you have provided | 13:45 | |
the solution! | |||
all his tests work fine | |||
14:14
MasterDuke left
14:19
bdju left
14:26
euandreh joined
14:45
bdju joined
14:52
euandreh left
|
|||
tbrowder | ok, i mentioned yr contact attempt and his options | 15:00 | |
lizmat | thanks! | 15:01 | |
tbrowder | yw | 15:05 | |
15:09
leah2 left
|
|||
tbrowder | can someone looking for a challenge look at CompUnit::Util’s code and see if it’s very susceptible to obsolescence due to nqp or Raku changes? thnx | 15:17 | |
15:20
mort left
15:21
leah2 joined
17:26
euandreh joined
17:29
euandreh left
17:30
euandreh joined
17:42
sena_kun joined
18:29
euandreh left
18:53
xinming left
18:55
xinming joined
|
|||
patrickb | ugexe: Do you know whether tony-o is aware that his grant was accepted? I haven't heard from him in a while. | 19:31 | |
19:31
itaipu left
|
|||
lizmat | patrickb: he's aware | 19:32 | |
patrickb | 👍 | ||
19:36
itaipu joined
19:58
Opus left
19:59
Aedil left
20:26
guifa joined
20:51
guifa left
20:55
sena_kun left
|
|||
Xliff | Does anyone know if Python can compile to a .so? | 21:02 | |
Trying to shoehorn something into NativeCall... | |||
lizmat | Inline::Python ? | 21:03 | |
Xliff | That's not an .so | 21:04 | |
I do not want to Inline it, I want to NativeCall it. | 21:05 | ||
21:21
MasterDuke joined
|
|||
librasteve | chatgpt.com/share/79b9b5de-8dad-47...3a8d70bf82 | 21:22 | |
^^ this looks plausible | |||
22:51
Sgeo joined
|
|||
Xliff | librasteve++! | 23:10 | |
23:27
sftp left
|