🦋 Welcome to Raku! raku.org/ | evalbot usage: 'p6: say 3;' or /msg camelia p6: ... | irclog: colabti.org/irclogger/irclogger_log/raku Set by ChanServ on 14 October 2019. |
|||
00:12
xinming left,
xinming joined
00:19
Doc_Holliwood left
00:26
frost-lab joined
00:32
xinming left,
xinming joined
00:41
xinming left
00:42
xinming joined
00:50
xelxebar left
00:51
xelxebar joined
01:24
xinming left
01:25
xinming joined
01:28
lucasb left
01:44
frost-lab left
01:57
wamba left
02:00
ben_ left
02:02
leont left,
ben_ joined
02:15
pkmnx left
02:16
pkmnx joined
|
|||
pkmnx | how get get bin mode on $*IN ? | 02:29 | |
I run a .say on for instance /usr/bin/ls ... and I get malformed utf8 error ... | |||
basically - I want to pipe and pass out ... | 02:30 | ||
per shitov, using raku #95 ... | |||
but looks like binary files give error ... | 02:31 | ||
02:37
guifa2 left
03:15
frost-lab joined
03:20
guifa2 joined
|
|||
guifa2 | It should be $*IN.open: :bin, I'd think | 03:21 | |
but haven't used it much | |||
03:21
guifa2 left
|
|||
pkmnx | let me see ... | 03:21 | |
there's something fundamental I'm misunderstanding - the say seems to deal w/ strings ... I guess I want $*IN to be smart enough to know if its dealing w/ binary data or string data ... | 03:33 | ||
and i haven't figured out how to write to standard out binary data, as it isn't a string ... | 03:34 | ||
... but shitov's book should make that clear ... | |||
03:49
grep0r joined
03:50
grep0r left
04:02
_jrjsmrtn joined
04:03
__jrjsmrtn__ left
04:17
mrbadbar joined,
mrbadbar left
04:21
Black_Ribbon joined
04:27
Doc_Holliwood joined
04:28
BenGoldberg left
04:30
BenGoldberg joined
|
|||
Geth | advent: samebchase++ created pull request #72: Update authors.md |
04:35 | |
04:41
xinming left
04:42
xinming joined
04:44
frost-lab left
04:55
xinming left,
xinming joined
04:57
parabolize left
05:01
BenGoldberg left
05:34
ribasushi left
05:36
ribasushi joined
05:42
ribasushi left
05:44
ribasushi joined
05:58
pkmnx left
06:04
aborazmeh joined,
aborazmeh left,
aborazmeh joined
06:05
jmerelo joined
06:07
guifa2 joined
|
|||
Geth | advent: a455789333 | (Samuel Chase)++ (committed using GitHub Web editor) | raku-advent-2020/authors.md Update authors.md |
06:20 | |
advent: d56fd640a2 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | raku-advent-2020/authors.md Merge pull request #72 from samebchase/patch-1 Update authors.md |
|||
06:22
guifa2 left
06:26
guifa2 joined
06:33
simcop2387 left
06:34
simcop2387 joined
06:50
Doc_Holliwood left
06:53
aluaces joined
|
|||
xinming | SmokeMachine: Is there example to add methods to ResultSeq for specific model? | 06:59 | |
07:11
xinming left
07:13
xinming joined
07:20
guifa2 left
07:24
guifa2 joined
07:28
xinming left
07:29
xinming joined
07:31
guifa2 left
07:35
xinming left
07:37
xinming joined
07:43
domidumont joined
07:44
ufobat joined
07:46
rindolf joined
07:49
patrickb joined
07:51
ufobat left
07:52
frost-lab joined,
BenGoldberg joined
07:54
stoned75 joined
|
|||
SmokeMachine | xinming: I don’t remember very well, but I think it was something like: `model Bla is rs-class<my-custom-rs-class> {}` | 07:54 | |
08:02
xinming left
|
|||
Xliff | Does anyone know what this error message means? | 08:02 | |
"Cannot find method 'Stringy' on 'BOOTInt': no method cache and no .^find_method" | |||
08:04
xinming joined
08:09
sena_kun joined
08:10
sjm_uk joined
08:11
Altai-man joined
08:14
sena_kun left
08:15
natrys joined
08:26
BenGoldberg left
08:43
natrys left
|
|||
SmokeMachine | xinming: usercontent.irccloud-cdn.com/file/.../image.png | 08:43 | |
08:44
xinming left
08:46
natrys joined,
xinming joined
|
|||
El_Che | hi, I've afk (demolishing big parts of house to prepare for renovations). I see rakudo 2020.11 is out, but I read in weekly it was slower. Should I release a linux pkg? Remember that users will automatically upgrade (repos) | 08:47 | |
08:48
leont joined
08:53
xinming left,
xinming joined
|
|||
Xliff | El_Che: Do you know anything about BOOTInts? | 09:10 | |
I seem to be getting them in my Perl6 code from a BEGIN block, but my understanding is that those are only available when bootstrapping. | 09:11 | ||
timotimo | i think bootints are also what is used in pretty much all nqp code | 09:12 | |
nqp: say(nqp::gethow(1).name(1)) | |||
camelia | No registered operation handler for 'gethow' at gen/moar/stage2/QAST.nqp:1504 (/home/camelia/rakudo-m-inst-2/share/nqp/lib/QAST.moarvm:compile_op) from gen/moar/stage2/QAST.nqp:6174 (/home/camelia/rakudo-m-inst-2/share/nqp/lib/QAST.moarvm:compile_node)… |
||
timotimo | nqp: say(1.HOW.name(1)) | ||
camelia | BOOTInt | ||
Xliff | Well, how can I use them in Perl6 code? | 09:13 | |
Because assigning them to native ints throws an exception. | |||
timotimo | normally they'd be turned into Int through the hllize operation | 09:17 | |
Xliff | Yeah. I have objects created in BEGIN block that I use in HLL code. The BOOTInts still exist in the BEGIN-time created objects. | ||
timotimo | sounds kind of like a bug where something is leaking | 09:18 | |
Xliff | If so, it's been there since 2018.03 | 09:19 | |
09:19
wamba joined
|
|||
timotimo | do you have the example code perhaps? | 09:20 | |
Xliff | Yup. | ||
timotimo | if it's not too huge :) | ||
Xliff | You aren't gonna like it though... :) | ||
timotimo | also, i don't actually have time to look at it much | ||
Xliff | GLib COGL and Clutter | 09:21 | |
Do you have those? | |||
09:30
Doc_Holliwood joined
|
|||
Xliff | Actually, those objects are made at INIT time. Weird. | 09:34 | |
09:46
xinming left
09:47
xinming joined
|
|||
lizmat | El_Che: good question re upgrading. I'm not sure what the correct answer is | 09:55 | |
2020.11 does contain a lot of nice new features | |||
Xliff | lizmat: Are you familiar with BOOTInt? It's getting leaked into some of my Perl6 code. | 09:57 | |
lizmat | you're still using Perl6 ? | 09:58 | |
:-) | |||
yes, I'm familiar with BOOTInt | |||
Xliff | *headdesk* | ||
Is there an easy fix? | |||
lizmat | using it as an Int ? | 09:59 | |
Xliff | Well, I'm trying to assign to uint8, but it fails typecheck. | ||
lizmat | gist ? | 10:00 | |
Xliff | No gist. It's part of my larger work. | 10:01 | |
lizmat | can you provide a --ll-exception of the typecheck error ? | ||
Xliff | Sure. One sec. | ||
Damn. --ll-exception is not printing the long exception from the callback. | 10:05 | ||
OK, think I've got it. | 10:07 | ||
lizmat: I am starting a writeup. It will be ready for you in a sec. | 10:09 | ||
lizmat: In lieu of a gist, I give you... a longer gist. :) | 10:12 | ||
gist.github.com/Xliff/3290a3f31a3f...bb1d4e0480 | |||
I hope the extra detail helps. | |||
lizmat | this is on HEAD ? | 10:13 | |
Xliff | Yes | ||
This problem goes back to 2018.03 | |||
lizmat | so something is feeding a Supply ? What is that ? | 10:14 | |
Xliff | lizmat: I don't think the Supply part is the problem. | 10:15 | |
But for background: I've emulated jnthn++'s use of Supplys to run GLib-based events. | |||
s/Supplys/Supplies/ | |||
The draw event is tied to the supply. | 10:16 | ||
The error occurs inside the draw event. | |||
I think the key line is here: 'in any at gen/moar/BOOTSTRAP/v6c.nqp line 2628' | |||
10:16
aborazmeh left
|
|||
lizmat | yeah, that's where the error occurs | 10:17 | |
the problem is that nqp-land ints wind up in Rakudo land | |||
Xliff | Yah. I thought that was it, too. | ||
lizmat | and that's because they are fed into the supply, which passes them on verbatim | ||
which BTW I think is a good thing generally | 10:18 | ||
Xliff | Why are they nqp-land? Is that because they were created at INIT? | ||
If so, maybe the fix is to hllize at creation? | 10:19 | ||
lizmat | aah... yes | ||
Xliff | :-) | ||
How do I do that? | |||
lizmat | nqp::hllize() I guess | 10:20 | |
Xliff | OK. Next question: How would I test for the need to hllize? | 10:21 | |
Because this is still Raku-level code. | |||
lizmat | I guess inside Clutter::Color.get_static ? | 10:23 | |
Xliff | Well, that's the plan. | 10:24 | |
Will nqp::hllize do the right thing if I pass it a Raku Int? | |||
10:25
Black_Ribbon left
|
|||
Xliff | Hrm. nqp::hllize doesn't look to be documented here: github.com/Raku/nqp/blob/master/do...operations | 10:26 | |
xinming | SmokeMachine: is rs-class<xxx>, How do we create the Rs class? | 10:27 | |
Xliff | lizmat: Is there somewhere I can look for its usage? | ||
lizmat | hmmm... it's not in github.com/Raku/nqp/blob/master/do...s.markdown either | ||
oops, that's the same :-) | 10:28 | ||
not in github.com/rakudo/rakudo/blob/mast...s.markdown either | |||
SmokeMachine | xinming: class xxx does Red::ResultSeq {} | ||
Xliff | lizmat: Ooh! Useful page! Thanks for the link! | 10:29 | |
lizmat | m: use nqp; dd nqp::hllize(42) # looks like | ||
camelia | 42 | ||
Xliff | m: use nqp; my $a = -1; dd nqp::hllize(nqp::decont($a)) | 10:30 | |
camelia | -1 | ||
Xliff | m: use nqp; my $a = 99; dd nqp::hllize(nqp::decont($a)) | ||
camelia | 99 | ||
Xliff | Ah. I think I'm fine if I decont! | ||
Forgot about that. Will check this. | 10:31 | ||
lizmat++ | |||
Geth | ecosystem: ec54b7df58 | (Elizabeth Mattijsen)++ | 2 files Add META.list sorter and sort the META.list |
||
Xliff | \o/ | 10:34 | |
lizmat: Thanks so much for your help! | |||
lizmat | you're welcome! | ||
Xliff | lizmat: gist.github.com/Xliff/3290a3f31a3f...bb1d4e0480 | 10:40 | |
lizmat | do you need the decont ? | 10:41 | |
Xliff | Let me check | ||
SmokeMachine | xinming: did that work? | ||
lizmat | cause that's a HLL construct? | ||
Xliff | Yep! The decont is required. | 10:42 | |
lizmat | he, so somehow the NQPland BOOTInt got into a scalar | 10:43 | |
xinming | SmokeMachine: Sorry, didn't test it yet, coding on other things, Will leave that into re-factoring stage. ;-) | 10:47 | |
SmokeMachine | xinming: ok, thanks! | ||
Xliff | lizmat: Yep. Another article for the next weekly? | 10:55 | |
lizmat | sure... :-) | ||
keep them coming :-) | |||
Xliff | Will do. | 10:56 | |
weekly: gist.github.com/Xliff/3290a3f31a3f...bb1d4e0480 | |||
notable6 | Xliff, Noted! (weekly) | ||
Geth | ecosystem: 77b93684a8 | (Elizabeth Mattijsen)++ | sortMETAlist Tweak sorter to use WhateverCode |
11:00 | |
ecosystem: c95e3aba78 | (Elizabeth Mattijsen)++ | sortMETAlist Not chomping makes things easier at the end |
|||
11:11
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
Geth | ecosystem: 30a0bf2aed | (Elizabeth Mattijsen)++ | META.list Dave Rolsky's modules were also moved to community |
11:11 | |
11:14
Sgeo_ left
11:17
BenGoldberg joined
11:20
stoned75 left
11:31
sno left
11:37
wamba left
11:41
wamba joined
11:51
BenGoldberg left
11:56
kensanata joined
|
|||
Geth | ecosystem: 552b0bb048 | (Elizabeth Mattijsen)++ | META.list Fixup raku-community-modules repo names As in the past days, many repos got their "perl6" "p6" "raku" prefix or "pm6" postfix removed, and got properly capitalized |
12:07 | |
12:12
sena_kun joined
12:13
Altai-man left
|
|||
Geth | ecosystem: 9b8e47ab6e | (Elizabeth Mattijsen)++ | sortMETAlist Add some description to the sorter |
12:16 | |
12:18
xinming left
12:19
xinming joined
|
|||
cpan-raku | New module released to CPAN! App::Mi6 (1.1.3) by 03SKAJI | 12:23 | |
12:25
aluaces left
12:28
nosqrt joined
12:31
frost-lab left
12:49
kensanata left
12:57
stoned75 joined
13:25
xinming left
13:26
xinming joined
13:38
aborazmeh left
13:40
dmc00 joined
13:50
jmerelo left
13:56
xinming left
13:59
xinming joined
14:00
aluaces joined
14:05
abraxxa left
14:24
dmc00 left
14:28
cpan-raku left
14:31
squashable6 left
14:32
cpan-raku joined,
cpan-raku left,
cpan-raku joined
14:33
squashable6 joined
14:34
xinming left
14:35
xinming joined
14:38
lucasb joined
14:42
parabolize joined,
BenGoldberg joined
14:43
nosqrt left
14:44
Xliff left
14:45
Xliff joined
14:52
ape666 joined
15:05
ben_ left
15:06
aborazmeh joined,
aborazmeh left,
aborazmeh joined
15:13
xinming left
15:14
xinming joined
15:16
BenGoldberg left
15:20
Xliff left
15:21
ben_ joined
15:30
kensanata joined,
tejr left
15:31
tejr joined
15:33
holyghost left
15:49
aborazmeh left
15:52
aborazmeh joined,
aborazmeh left,
aborazmeh joined
15:58
aborazmeh left
16:03
xinming left
16:04
xinming joined
16:11
Altai-man joined
16:13
kensanata left
16:14
sena_kun left
16:19
xinming left
16:20
xinming joined
16:45
b2gills joined
17:00
MasterDuke left
17:01
brtastic joined
17:07
xinming left
17:08
xinming joined
17:19
mowcat joined
17:40
mowotter joined
17:42
mowcat left
17:51
brtastic left
17:52
stoned75 left
17:55
natrys left
17:56
natrys joined
18:01
aborazmeh joined,
aborazmeh left,
aborazmeh joined
18:03
Kaeipi left
18:08
BenGoldberg joined
18:10
guifa2 joined,
domidumont left
18:23
domidumont joined
18:40
guifa2 left
18:41
BenGoldberg left
18:52
morayj joined
19:12
ufobat joined
19:21
fridim left
19:27
domidumont left
19:40
MasterDuke joined
19:51
aborazmeh left
19:56
sjm left
20:08
ape666 left
20:09
sjm_uk left
20:10
sjm joined
20:12
sena_kun joined
20:13
Altai-man left
20:19
fridim joined,
Sgeo joined
20:29
kensanata joined
20:33
hlafarge joined
20:49
morayj left
20:50
morayj joined
21:03
ufobat left
21:04
hlafarge left
21:10
morayj left
21:20
samebchase- left
21:21
samebchase- joined,
leont_ joined
21:22
benaiah` joined
21:23
skyl4rk left,
skyl4rk joined
21:24
leont left,
benaiah left,
benaiah` is now known as benaiah
21:25
MasterDuke left,
Mithaldu left
21:28
Mithaldu joined
21:31
ingy left,
ingy joined
21:33
BenGoldberg joined,
protium left
21:34
protium joined
21:48
stoned75 joined
|
|||
cpan-raku | New module released to CPAN! HTTP::Tiny (0.1.3) by 03JJATRIA | 21:51 | |
21:51
stoned75 left
21:57
natrys left
22:01
Doc_Holliwould joined
22:02
aindilis` joined
22:04
Doc_Holliwood left
22:06
aindilis left
22:07
BenGoldberg left
22:08
aindilis` left
22:09
sena_kun left
22:10
natrys joined
22:22
patrickb left
22:27
xinming left,
natrys left
22:29
xinming joined
22:58
rindolf left
23:03
dudz left
23:16
kensanata left
|