🦋 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. |
|||
takside | heya, i'm trying to extend the OpenSSL module to support client certs, but this requires passing a raku function as a parameter to a C func as a callback. Does anybody have a solid example of this I can examine? | 00:25 | |
00:26
pecastro left
00:27
aborazmeh joined,
aborazmeh left,
aborazmeh joined
|
|||
timotimo | takside: check in rakudo's git repository under t/04-nativecall/08-callbacks.t and .c | 00:28 | |
takside | timotimo: tyvm <3 | 00:30 | |
timotimo | npgl | ||
takside | ty | 00:31 | |
01:27
evalable6 left,
linkable6 left
01:29
linkable6 joined,
evalable6 joined
01:51
aborazmeh left
01:55
wamba left
01:59
xheimlich joined
02:06
molaf left
|
|||
xinming_ | SmokeMachine: It's ok, I'll be a more helpful contributor. ;-) | 02:11 | |
02:19
molaf joined
02:51
imcsk8 left
02:53
imcsk8 joined
02:54
xheimlich left
03:03
perryprog left
03:04
perryprog joined,
Manifest0 left
03:06
Manifest0 joined
03:35
aborazmeh joined,
aborazmeh left,
aborazmeh joined
04:13
approaching236 left
04:33
Kaiepi left
04:34
Kaiepi joined
05:26
aborazmeh left
06:02
xinming joined
06:05
xinming_ left
06:14
Benett left
06:20
Benett joined
06:57
parabolize left
07:10
frost-lab joined
08:04
natrys joined
08:18
skids left
08:23
wamba joined
08:36
mithaldu_ left,
spycrab0 left,
Grinnz left
08:37
cooper left,
tbrowder left,
skaji_ left,
peteretep left,
ChoppedBacon left,
dog_star left,
mrsolo left,
caasih left,
zostay left,
kawaii left,
SmokeMachine left,
BuildTheRobots left
08:38
jmac left,
dylanwh left,
rjeli left,
timeless left,
PotatoGim left,
pnu__ left,
jhill left
08:41
cpan-raku left
08:42
cpan-raku joined,
cpan-raku left,
cpan-raku joined
08:49
frost-lab left
08:50
molaf left
08:52
spycrab0 joined,
tbrowder joined,
zostay joined,
skaji_ joined,
dog_star joined,
cooper joined
08:53
mrsolo joined,
jmac joined,
dylanwh joined
08:55
Grinnz joined
08:56
SmokeMachine joined,
peteretep joined,
rjeli joined,
kawaii joined
08:57
caasih joined,
mithaldu_ joined,
pnu__ joined
09:00
ChoppedBacon joined
09:01
PotatoGim joined,
timeless joined
09:02
BuildTheRobots joined,
jhill joined
09:10
sena_kun joined,
molaf joined
09:11
timeless left
09:12
mithaldu_ left,
mithaldu_ joined
09:14
timeless joined
09:22
stoned75 joined
09:23
sjm_uk joined
10:11
MasterDuke joined
10:15
Black_Ribbon left
|
|||
stoned75 | for the past week I was not unable to make code highlighting to work while processing Raku/doc repository | 10:30 | |
evry code snippet ends up in a html span element with class "text plain null-grammar" | 10:31 | ||
*every | |||
anyone encountered a similar situation ? | 10:32 | ||
10:37
stoned75 left,
stoned75 joined
10:46
sjm_uk left,
Sgeo left
10:54
patrickb joined
|
|||
patrickb | .tell tony-o May I encourage you to give your ecosystem rework proposal a second chance? The call for proposals is up! | 10:58 | |
tellable6 | patrickb, I'll pass your message to tony-o | ||
11:05
wamba left
11:18
Kaiepi left,
Kaiepi joined
11:23
wamba joined
11:28
zxcvz joined
11:29
pecastro joined
11:39
patrickb left
|
|||
cpan-raku | New module released to CPAN! P5caller (0.0.9) by 03ELIZABETH | 11:50 | |
12:09
Altai-man joined,
wamba left
12:11
sena_kun left
12:26
aborazmeh joined,
aborazmeh left,
aborazmeh joined
12:33
patrickb joined
12:36
entonian joined
12:43
entonian left
12:44
patrickb left,
sjm_uk joined
|
|||
stoned75 | ah got it | 13:22 | |
damned! | |||
13:42
aborazmeh left
13:51
Kaiepi left,
Kaiepi joined
13:59
Kaiepi left,
Kaiepi joined
14:01
natrys left
14:10
Kaiepi left
14:13
Kaiepi joined
14:14
natrys joined
|
|||
xinming | SmokeMachine: What is the right way to turn a ResultSeq a normal Seq where the value will be flated into objects? | 14:21 | |
SmokeMachine | .Seq | 14:22 | |
xinming | When I try something like `$rs-seq.map(*.xx).raku.say;`, It'll reports warning, | ||
I also tried $rs-seq.Seq.map(*.xx).raku.sya` | |||
Only $rs-seq.list.map(*.xx).raku.say runs fine | |||
14:25
orinthe8 left
14:35
rindolf joined
14:37
natrys left
|
|||
xinming | I'll try to isolate the problem | 14:44 | |
Geth_ | doc/fix-highlights: 9479f5ba0a | (Stoned Elipot)++ | 3 files Fix code highlighting using the correct scope name ... when using a recent version of Raku/atom-language-perl6 Recently the scope name for Raku code has changed from 'source.perl6fe' to 'source.raku' in the package atom-language-perl6. See Raku/atom-language-perl6#96 We try to detect this change by testing for the presence of grammar file 'raku.cson', which beforehand was named 'perl6fe.cson' |
14:57 | |
doc: stoned++ created pull request #3687: Fix code highlighting using the correct scope name |
14:58 | ||
SmokeMachine | xinming: www.irccloud.com/pastebin/40ZxT6q9/ | ||
cpan-raku | New module released to CPAN! HTTP::Tiny (0.1.1) by 03JJATRIA | 14:59 | |
14:59
Doc_Holliwould left
|
|||
xinming | SmokeMachine: I know, But in my code, there might be a hidden bug, When we try to .map over an Seq, I'll get `Methods .^name, .raku, .gist, or .say can be used to stringify it to something meaningful. in sub comment-sql at .....` | 15:04 | |
lucs | x | ||
xinming | I'll try if I can narrow down the bug | ||
lucs | (ww) | ||
SmokeMachine | xinming: odd... sort for not helping... | 15:05 | |
15:15
ape666 joined
15:16
ape666 left
15:17
ape666 joined
15:44
parabolize joined
|
|||
xinming | SmokeMachine: why do we have *-3 here? given Backtrace.new.tail(*-3).first: | 15:47 | |
in sub create-comment-to-caller in Red::ResultSeq | 15:48 | ||
15:59
wamba joined
16:00
MilkmanDan left
16:01
ufobat joined
16:10
MasterDuke left,
sena_kun joined
16:12
Altai-man left
16:16
sjm_uk left
16:19
MilkmanDan joined,
MasterDuke joined
|
|||
xinming | SmokeMachine: When we have model AA with @.bb relationship, What is the right way to add we add new related bb to @.bb? | 16:27 | |
in p5 DBIC has something like, $row->create_related('relation', %args) | |||
hmm, ignore me. Seems isolated snppets works fine. | 16:29 | ||
16:30
leont joined
|
|||
ingy | greetings | 16:38 | |
some months ago I converted the yaml 1.2 spec grammar yaml.org/spec/1.2/spec.html to yaml github.com/yaml/yaml-grammar/blob/...c-1.2.yaml | 16:39 | ||
then I worked on _generating_ parsers (in multiple languages including perl) from that spec yaml github.com/yaml/yaml-reference-parser | 16:41 | ||
the result is parsers that pass 100% of the yaml test suite: github.com/yaml/yaml-test-suite | |||
I'm looking for someone who would be interested in doing a raku port | 16:42 | ||
stoned75 | eh sounds like fun :) | 16:46 | |
SmokeMachine | xinming: Model.bb.create: ... | 16:49 | |
ingy | I'll start a branch later today and let you guys know. it should be pretty easy to do. | 16:50 | |
SmokeMachine | xinming: sorry, `$obj.bb.create: ...` | ||
ingy | stoned75: yeah, and really not hard to do. | ||
Geth_ | doc: 06f0ff5a04 | (Stoned Elipot)++ (committed by Juan Julián Merelo Guervós) | 3 files Fix code highlighting using the correct scope name ... when using a recent version of Raku/atom-language-perl6 Recently the scope name for Raku code has changed from 'source.perl6fe' to 'source.raku' in the package atom-language-perl6. See Raku/atom-language-perl6#96 We try to detect this change by testing for the presence of grammar file 'raku.cson', which beforehand was named 'perl6fe.cson' |
16:55 | |
SmokeMachine | xinming: like here: github.com/FCO/Red/blob/master/exa...dex.p6#L44 | 16:56 | |
lizmat | ingy: OOC, if "it should be pretty easy to do.", then what is stopping *you* from doing it ? | 16:59 | |
ingy | lizmat: the myriad tasks of moving the entire YAML language forward :D | 17:01 | |
also, I certainly could but that would be hoarding all the fun... | 17:02 | ||
17:02
MilkmanDan left
|
|||
ingy | I was talking about it on #toolchain with leont, who would be perfect but didn't have the tuits, and "mst | ingy: announce it in #raku over on freenode and it's entirely possible you'll get takers" | 17:04 | |
so I did :) | |||
lizmat | we don't mind hoarders in that respect, we love to see people having fun :-) | ||
sadly DrForr might have taken this on, but he's no longer with us :-( | 17:05 | ||
ingy | it's my understanding that raku still needs a capable yaml parser… | ||
17:05
jast left
|
|||
ingy | no longer with us as in???? | 17:05 | |
I hope he's still alive | 17:06 | ||
leont | He isn't. 2020… | 17:07 | |
ingy | we used to be next door neighbors in 2002. | ||
oh shit | |||
17:07
MilkmanDan joined
|
|||
lizmat | rakudoweekly.blog/2020/03/16/2020-...od-friend/ | 17:08 | |
ingy | :'( | ||
the yaml port doesn't involve any knowledge of parsing or even raku-rules. it's just a port of ~1000 lines of perl | 17:09 | ||
the first version was done in the most basic (and slow) way possible; so that it could easily port anywhere. | 17:11 | ||
I didn't even know if it was possible or if the grammar was correct. and I honestly don't fully know how it all works :) | 17:12 | ||
I just kept addressing each failing test from the suite until they all passed | |||
down the road I will generate more optimized parsers | 17:13 | ||
and also a better grammar structure | |||
bbl & | 17:16 | ||
17:16
xelxebar left,
xelxebar joined
17:17
go|dfish left
17:31
ape666 left
17:33
sjm_uk joined
17:36
ufobat left
18:00
Doc_Holliwould joined
18:01
jmerelo joined,
MasterDuke left
18:34
domidumont joined
18:38
domidumont left
18:58
samebchase- left
18:59
samebchase- joined
19:00
bartolin joined
19:07
grep0r left,
grep0r joined
19:08
gfldex left
19:09
gfldex joined
19:13
a6502 joined
19:23
zxcvz left
|
|||
cpan-raku | New module released to CPAN! Trait::Traced (0.4.4) by 03KAIEPI | 19:29 | |
19:33
sjm_uk left
19:37
MasterDuke joined
19:39
jmerelo left
19:46
Sgeo joined
20:09
Altai-man joined
20:12
sena_kun left
20:27
mowcat joined
21:01
xheimlich joined
21:12
xheimlich left
21:22
rindolf left
|
|||
Zero_Dogg | Is there a way for USAGE to be able to know about unhandled parameters that was provided? My app has a lot of parameters (26 and counting), so it would be useulf to be able to say "--bla: unknown parameter" | 21:33 | |
MasterDuke | docs.raku.org/language/create-cli#...RATE-USAGE maybe | 21:39 | |
Zero_Dogg | MasterDuke: I'll have a look, thanks | 21:40 | |
Geth_ | doc: 1dbce8a50e | (Stoned Elipot)++ | doc/Language/list.pod6 xref Array type |
21:47 | |
linkable6 | Link: docs.raku.org/language/list | ||
leont | Getopt::Long tends to give better error message than the default argument parser | 22:15 | |
22:26
Doc_Holliwould left
22:28
xheimlich joined,
MasterDuke left
22:42
mowcat left
22:49
aborazmeh joined,
aborazmeh left,
aborazmeh joined,
stoned75 left
22:50
stoned75 joined
23:03
xheimlich left
23:07
dustinm` left
23:09
xheimlich joined
23:10
dustinm` joined
23:16
xheimlich left
23:17
jmcgnh left,
Altai-man left
23:25
xheimlich joined
23:33
jmcgnh joined
23:39
xheimlich left
23:40
epony left
23:49
cooper left
23:56
cpan-raku left
23:58
cpan-raku joined,
cpan-raku left,
cpan-raku joined
|