🦋 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
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
xinming_ SmokeMachine: It's ok, I'll be a more helpful contributor. ;-) 02:11
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
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
cpan-raku New module released to CPAN! P5caller (0.0.9) by 03ELIZABETH 11:50
stoned75 ah got it 13:22
damned!
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
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
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
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
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
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
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…
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
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
cpan-raku New module released to CPAN! Trait::Traced (0.4.4) by 03KAIEPI 19:29
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