🦋 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:05 ambs left 00:06 pecastro left 00:09 approaching236 joined 00:11 xinming_ left 00:14 xinming_ joined
Geth_ ecosystem/kalkin-update-license-software: 1a35430436 | (Bahtiar Gadimov)++ | META.list
Replace Ddt v0.5.8 with v0.5.9
00:14
00:22 Xliff left
cpan-raku New module released to CPAN! Text::Utils (2.2.1) by 03TBROWDER 00:27
00:28 xinming_ left, xinming_ joined 00:46 xinming_ left, xinming_ joined 00:51 leont left 01:02 xinming_ left, xinming_ joined 01:14 molaf left 01:26 molaf joined 01:34 xinming_ left, xinming_ joined 01:40 approaching236 left, Passionate joined
Passionate Where should i start?I want to contribute....can anyone please guide me in the right direction? 01:41
01:43 aborazmeh joined, aborazmeh left, aborazmeh joined 01:44 cpan-raku left 01:45 cpan-raku joined, cpan-raku left, cpan-raku joined
tbrowder Passionate: hi, what are you interested in? coding, docs, debugging, new modules? 01:46
have you any perl experience? 01:47
have you any raku experience?
Passionate @tbrowder i would like to start contributing on coding.....i do not have a wide experience on other programming languages like java,Haskell,Elarng.,Python 01:49
i mean i do have experience on ther programming languages
tbrowder you might check the "modules wanted list if you want some ideas for modules. i have to find the link... 01:50
Passionate tbrowder sure......thanks
tbrowder back in a moment...
Passionate tbrowder sure...take your time 01:53
tbrowder see github.com/Raku/perl6-most-wanted/...modules.md
Passionate The link says not found 01:54
tbrowder pick something there or pick something not there that you are familiar with in another language 01:55
i'll recheck the link 01:56
lucs This appears to work: github.com/Raku/perl6-most-wanted/...modules.md 01:57
tbrowder hm, ok, that's right, but i forget when the blob is required...glad you found it 01:58
lucs 01:59
anyhoo, maybe something there will interest you
lucs Yep. I just went up directories in your original link, till it worked, then back down to the .md -- not sure how 'blob' got involved. 02:00
Passionate lucs yeah it works thanks
tbrowder thanks 02:04
tbrowder Passionate: one more idea for you: check modules.raku.org and look into available modules. speaking for myself, i would love having new features or new tests or new feature requests for my modules. 02:06
also, jmerelo usually has a help-wanted list up his sleeve, as does lizmat 02:07
time for bed...nite all... 02:08
Passionate tbrowder i think helping someone would be great for now.....to familiarize myself with the codebase
have a good night tbrowder.......
How can i set up my dev environment....i dont see that in any of the documents 02:09
tbrowder Passionate, are you fluent in a non-english language? 02:10
are you talking about contributing to the core? 02:11
if core, go to github.com/rakudo/rakudo and browse there 02:12
for other dev env that's more roll-your-own based on an ide or not, etc. 02:14
really got to leave, back tomorrow 02:15
02:23 approaching236 joined 02:28 Xliff joined 02:36 mowcat left 02:52 approaching236 left 03:04 aborazmeh left 03:05 MasterDuke left 03:39 Xliff left
cpan-raku New module released to CPAN! Sparrow6 (0.0.30) by 03MELEZHIK 03:46
03:55 grep0r joined, grep0r left 03:57 BenGoldberg left 04:08 frost-lab joined, xinming_ left 04:09 xinming_ joined 04:49 molaf left 04:57 xinming_ left 05:01 Sgeo left, xinming_ joined 05:03 Sgeo joined 05:23 Altai-man joined 05:34 Xliff joined 05:50 xinming_ left, xinming_ joined 05:57 bocaneri joined 06:15 maettu joined 06:20 maettu left 06:23 maettu joined 06:30 jmerelo joined, maettu left 06:35 maettu joined 06:50 kst left 06:55 xinming_ left, xinming_ joined 06:56 Kaeipi left 07:03 wamba joined 07:12 xinming_ left 07:13 Kaiepi joined, xinming_ joined
jmerelo All of a sudden, zef is failing to find NativeLibs here travis-ci.com/github/Raku/Document.../190626569 07:25
tellable6 2020-10-17T06:54:26Z #raku-dev <Xliff> jjmerelo Does docs require the use of documentable? If so, I don't see there being any mention of it in the README.md for the project. Would you like me to creare an issue for this?
jmerelo it works prefectly locally 07:26
.tell Xliff no, it does not. We prefer to keep it apart from each other. You need it in case you want to generate the website, which might not be the case for everyone
tellable6 jmerelo, I'll pass your message to Xliff
07:26 MasterDuke joined 07:42 xinming_ left, xinming_ joined 07:47 sno joined 07:48 maettu left
Geth_ doc: Xliff++ created pull request #3665:
Adds Examples for Underutilized Features: Delegation / CArray Subarrays
07:49
Xliff jmerelo: OK, well, you will probably want to update the README.md, because the build instructions there assume you have it. 07:50
tellable6 2020-10-17T07:26:49Z #raku <jmerelo> Xliff no, it does not. We prefer to keep it apart from each other. You need it in case you want to generate the website, which might not be the case for everyone
Xliff And they don't mention it is a separate project.
jmerelo Xliff: I probably should, yes.
Waiting for the tests of your PR to clear, meanwhile...
Xliff :) 07:53
OK, and I think I yam done until mid-morning. Have a long day of Obsessively Large Project work to complete 07:54
jmerelo Good evening for you. And thanks! Working with antoniogamiz now to see what's the deal with the Documentable testing 07:55
Xliff Your welcome!
Xliff zzzZ
Geth_ doc: 6b27c99dcf | (Clifton Wood)++ (committed by Juan Julián Merelo Guervós) | doc/Language/nativecall.pod6
- Adds small section on creating subarrays of a given CArray
07:58
linkable6 Link: docs.raku.org/language/nativecall
08:00 sno left 08:02 sno joined
Xliff jmerelo: What about the section on delegation? 08:04
jmerelo Merged it already, see above. 08:06
now go to bed!
08:07 sno left
Xliff LOL! ) 08:11
08:22 domidumont joined 08:23 molaf joined 08:31 frost-lab left 08:32 wamba left
Geth_ ecosystem: kalkin++ created pull request #555:
Add License::Software v0.3.1
08:35
08:37 pecastro joined
Geth_ ecosystem: b736923123 | (Bahtiar Gadimov)++ | META.list
Add License::Software v0.3.1
08:37
ecosystem: 52c2600093 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #555 from kalkin/add-license-software

Add License::Software v0.3.1
08:42 xinming_ left, xinming_ joined 08:45 domidumont left 08:47 mid_laptop left
Geth_ ecosystem/kalkin-update-license-software: c1debbbfea | (Bahtiar Gadimov)++ | META.list
Update DDT to v0.5.9

This fixes github.com/kalkin/Ddt/issues/10
08:50
08:53 RobRaku joined 09:21 sena_kun joined 09:23 Altai-man left 09:29 RobRaku left 09:40 tWK1G1jDMiRclvEc joined 09:45 RobRaku joined 09:49 RobRaku left 09:51 RobRaku joined 09:59 leont joined 10:04 jmerelo left 10:06 Sgeo left 10:11 andrzejku joined, molaf left 10:36 frost-lab joined 11:03 andrzejku left 11:06 tWK1G1jDMiRclvEc left 11:42 maettu joined 11:57 grep0r joined, grep0r left 12:19 maettu left
Zero_Dogg I've got an array to sort by some value, and if an entry is identical to another, it should sort randomly. In perl I could do "return rand cmp 0.5" from my sort function, when $a and $b were the same is there any equivalent shortcut in raku? 12:20
lizmat (Less.More).pick 12:24
(Less,More).pick # with a comma :-)
m: say (Less,More).pick
camelia More
lizmat m: say (Less,More).pick
camelia Less
12:25 aborazmeh joined, aborazmeh left, aborazmeh joined
lizmat Zero_Dogg ^^ 12:25
Zero_Dogg lizmat: aha, excellent, thanks!
tbrowder fyi, my latest Text::Utils module has a new routine "list2text" added due to conversation between SmokeMachine and lizmat yesterday about creating a string from a list and adding an "and" before the last item (with or without the Oxford Comma). 12:27
and Altreus was interested also 12:28
12:31 xinming_ left
lizmat tbrowder++ 12:32
12:33 rindolf joined, xinming_ joined 12:34 RobRaku left
tbrowder lizmat: thnx for the idea! 12:34
lizmat yw!
12:45 jmcgnh left 12:48 jmcgnh joined
Zero_Dogg Does raku optimize Array.sort in some way? I tried adding a debug 'say' inside my sort function, and it only prints once for an array o 143 elements 12:49
of*
12:50 frost-lab left
lizmat it will do a Schwartzian transform under the hood when given a comparator that only takes a single parameter 12:51
but without seeing the code... can't really tell what's going on :-)
Zero_Dogg Here's code: paste.centos.org/view/e31939c0 12:53
moritz that looks like a pretty non-sensical sorter :D 12:56
Zero_Dogg well, the array contains a list of articles with a timestamp, I want them to appear in order if one is newer than the other, but many of them have the same timestamp, in which case I want to randomize the order the ones with the same timestamp appear in 12:58
timotimo i think the block is transparent to return 13:00
so the first time sort calls your sorting function it will return from the function that called sort
moritz $^b<prism>.<publicationDateInt> <=> $^a<prism>.<publicationDateInt> or (Less, More).pick 13:01
a bit more concise :-)
timotimo i would recommend just rewriting the block to be like { .<prism>.<publicationDateInt>, rand }
Zero_Dogg Same is a falsy value? 13:02
moritz but timotimo++ is right about `return`. Removing the returns should fix it
m: say ?Same
camelia False
13:02 aluaces left
moritz it's a heritage from Perl 5's <=> returning -1, 0, 1 13:02
Zero_Dogg nod
timotimo: I've got to admit, I don't quite understand why that block works, .<prism>.<publicationDateInt> gets expanded to "$^b<prism>.<publicationDateInt> <=> $^a<prism>.<publicationDateInt>" and the comma acts as "or"? 13:03
timotimo no expansion 13:04
when you give sort a one-argument block, it will map all elements with the block and sort on the results
comparing a list like that will first compare the first entries, and if they are the same, compare the next, etc 13:05
justl ike when comparing stfrings you go letter by lettre
Zero_Dogg oh, interesting
lizmat timotimo: I don't think you can get the randomness requested for articles with the same pubDate like that
so the comparator *will* have to take 2 args
timotimo i disagree :) 13:06
moritz lizmat: I too think this would work 13:07
timotimo m: say <a b c d e f g h>.sort: { 1, rand }
camelia (d c f h a b e g)
timotimo m: say <a b c d e f g h>.sort: { 1, rand }
camelia (f a h c e b d g)
moritz you get the randomness for each element, but for those pairs where the first tuple value is different, the comparator never looks at the random value
lizmat ah, I see what you're doing there... 13:10
this works by the side effect of List.Str joining the elements 13:11
good point!
timotimo huh? 13:12
i was convinced sort would work with cmp there 13:13
and not leg
Zero_Dogg timotimo, lizmat, moritz: thanks for the help. There are still some times Raku catches my perl-accustomed-brain off guard. 13:15
lizmat Zero_Dogg: please keep asking these questions :-)
Zero_Dogg no doubt I will :). I'm quite enjoying writing in raku, so it's slowly replacing perl as my default language to write stuff in. 13:18
13:20 Altai-man joined 13:22 sena_kun left 13:40 wamba joined 13:49 aborazmeh left 13:54 chloekek joined 13:55 aborazmeh joined, aborazmeh left, aborazmeh joined 13:57 Skarsnik joined 14:05 aborazmeh left 14:19 sxmx left 14:37 molaf joined
El_Che I have no idea of raku devvs use annocpan, but we warned that the domain was hijacked or sold or whatever 15:07
15:18 skids joined 15:26 skids left, Passionate left 15:40 aluaces joined 15:41 cpan-raku left 15:43 cpan-raku joined, cpan-raku left, cpan-raku joined 15:50 maettu joined 16:04 wbn left 16:05 wbn joined 16:12 maettu left 16:19 skids joined 16:21 aluaces left
Skarsnik timotimo, are you around? I am trying to use Moarperf with the appimage, but it does not work x) 16:27
sqlite3 file path is /home/skarsnik/raku/test/gumbo.sqlite3
when trying to set up getting the routine overview:
Nil
The spawned command 'sqlite3' exited unsuccessfully (exit code: 1, signal: 0)
timotimo oh dang 16:31
did you make the sqlite3 file yourself?
Skarsnik: ping? 16:36
Skarsnik hm no 16:37
do you want the full ouput?
16:38 maggotbrain left
Skarsnik pastebin.com/NVMnsixt 16:39
timotimo ah, it doesn't output whatever sqlite3 said about the file 16:40
does the sql flie look sane?
oh, hm, i wonder if the sqlite3 binary is not in the appimage and might need to be on the system? 16:41
16:43 xinming_ left
Skarsnik let's try 16:43
16:43 xinming_ joined
Skarsnik yep, I installed the binary and it work fine 16:45
timotimo could you file an issue for that please? 16:46
Skarsnik ok done 16:49
now let's try to make sense of the output ^^
timotimo good luck!
Skarsnik I am trying to find why transforming C struct to raku take so much time in my gumbo module 16:52
like the C parsing of a 'big' html 5 file take 0.04 sec and the the rest 0.3-0.4 sec, it should be faster probably xD 16:53
16:53 chloekek left
timotimo ah 16:54
16:55 Manifest0 left, Manifest0 joined
timotimo there's lots of places to look for answers, like does it spend an unreasonable amount of time GCing? does it allocate a lot of stuff that gets dropped very soon after? 16:55
Skarsnik I am really not sure what to search for actually, want me to stream this ? xD 16:59
timotimo ha, sure, why not
Skarsnik twitch.tv/skarsnikus 17:00
timotimo that doesn't look like world of warcraft 17:02
"why is a domain", indeed 17:03
no speaking? 17:05
17:06 perryprog left 17:07 perryprog_ joined
timotimo show the allocations tab? 17:07
that's entries per entry
17:08 perryprog_ is now known as perryprog 17:10 perryprog left 17:11 perryprog joined
timotimo is whispering ok for chat? 17:17
17:18 RobRaku joined 17:21 sena_kun joined 17:23 Altai-man left
Geth_ ¦ problem-solving: JJ assigned to AlexDaniel Issue Taking care of repos in the "perl6" organization github.com/Raku/problem-solving/issues/239 17:33
17:42 skids left
timotimo Skarsnik: i guess looking at the code that moar is executing could be helpful, like with the spesh log 17:42
and see if there's some obviously bad overhead there
Skarsnik I could run the code on a smaller html file also 17:43
but I not sure it show enought ^^
timotimo dunno, bigger could mean more precise measurements just by way of having more measurement
18:06 mowcat joined 18:08 maettu joined 18:12 xinming_ left 18:13 xinming_ joined 18:27 cooper left 18:29 cooper joined 18:38 xkr47 left, xkr47 joined 18:41 Sgeo joined 19:15 lucasb joined 19:21 RobRaku left 19:24 BenGoldberg joined 19:27 molaf left 19:46 aborazmeh joined, aborazmeh left, aborazmeh joined 19:54 Black_Ribbon joined 19:58 rindolf left 20:01 aluaces joined
Geth_ doc: ed4a49533f | Coke++ | doc/Language/nativecall.pod6
fix typo.

lowercase pointer as it's not obvious C<Pointer> was intended here.
20:08
linkable6 Link: docs.raku.org/language/nativecall
doc: f8e17acbd0 | Coke++ | doc/Language/nativecall.pod6
fix example compilation
20:13 wamba left 20:30 RobRaku joined 20:42 maettu left 20:49 Xliff left 20:53 sena_kun left 21:05 aborazmeh left 21:10 RobRaku left 21:30 patrickb joined 21:38 patrickb left 21:54 Skarsnik left 22:18 molaf joined 22:22 clarjon1 joined 22:56 __jrjsmrtn__ left 22:57 __jrjsmrtn__ joined 23:00 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg 23:39 pecastro left 23:58 BenGoldberg left, Ben_Goldberg joined, Ben_Goldberg is now known as BenGoldberg