🦋 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:01 stoned75 left 00:03 Kaiepi left 00:04 atroxaper left 00:24 leont left 00:54 Altai-man_ joined 00:56 sena_kun left 01:17 caasih left 01:18 timeless left 01:20 mowcat left 01:21 Guest97 joined, Guest97 left 01:23 caasih joined, timeless joined 01:29 molaf left 01:34 oddp left 01:41 molaf joined 01:42 Maylay left 01:44 Maylay joined 01:58 xelxebar left, xelxebar joined 02:00 zacts joined 02:05 Manifest0 left 02:06 Manifest0 joined 02:08 Cabanossi left, Cabanossi joined 02:26 OpenZen left 02:55 sena_kun joined 02:56 Altai-man_ left 03:10 rbt left 03:11 rbt joined 03:26 Cabanossi left 03:27 mns joined 03:32 Cabanossi joined 03:36 softmoth joined 03:39 __jrjsmrtn__ joined, _jrjsmrtn left 04:39 evalable6 left, unicodable6 left, sourceable6 left, committable6 left, bisectable6 left, greppable6 left, statisfiable6 left, benchable6 left, releasable6 left, quotable6 left, linkable6 left, bloatable6 left, notable6 left, nativecallable6_ left, tellable6 left, shareable6_ left, coverable6 left, reportable6 left, squashable6 left, sourceable6 joined 04:40 bisectable6 joined, shareable6 joined 04:41 benchable6 joined, reportable6 joined, squashable6 joined, committable6 joined, unicodable6 joined, coverable6 joined, statisfiable6 joined, nativecallable6 joined 04:42 notable6 joined, evalable6 joined, bloatable6 joined, tellable6 joined, greppable6 joined, linkable6 joined, releasable6 joined, quotable6 joined 04:52 stoned75 joined 04:54 Altai-man_ joined 04:56 sena_kun left 04:57 brtastic joined 05:10 epony left 05:22 xinming left, xinming joined 05:26 wamba joined 05:27 erdic left 05:41 aborazmeh joined, aborazmeh left, aborazmeh joined 05:56 wamba left 06:03 rindolf joined 06:04 Kaiepi joined, brtastic left 06:05 rindolf left 06:10 molaf left 06:13 JJMerelo joined 06:19 sauvin joined 06:21 rindolf joined 06:30 wamba joined 06:34 softmoth left, wamba left, wamba joined 06:42 sjm_uk joined 06:46 zacts left 06:47 zacts joined 06:48 zacts left 06:55 sena_kun joined 06:56 Altai-man_ left 06:58 brtastic joined 07:11 zacts joined 07:15 JJMerelo left 07:28 aborazmeh left 07:30 patrickb joined 07:34 soursBot joined 07:42 soursBot left, soursBot joined
Geth ecosystem/kalkin-update-license-software: 4cad0d2c1b | (Bahtiar Gadimov)++ (committed using GitHub Web editor) | META.list
Update DDT and it's dependency License::Software

This fixes github.com/kalkin/Ddt/issues/10
07:49
ecosystem: kalkin++ created pull request #503:
Update DDT and it's dependency License::Software
07:50
08:07 patrickb left 08:10 mns_ joined 08:11 mns left 08:12 atroxaper joined 08:13 shlomif joined 08:14 shlomif left 08:19 vike1 left 08:26 aborazmeh joined, aborazmeh left, aborazmeh joined 08:29 vike1 joined 08:31 soursBot left 08:45 pecastro joined 08:47 soursBot joined 08:54 Altai-man_ joined 08:56 sena_kun left 09:13 oddp joined 09:19 chloekek joined 09:20 tejr left 09:22 leont joined, JJMerelo joined 09:28 tejr joined 09:32 andrzejku left 09:35 Sgeo left 09:36 andrzejku joined 09:37 cpan-raku left 09:38 cpan-raku joined, cpan-raku left, cpan-raku joined 09:41 andrzejku left 09:42 andrzejku joined 09:43 kensanata joined 09:45 tejr left 09:47 Black_Ribbon left 09:48 soursBot left 09:49 soursBot joined 09:53 MasterDuke left 09:54 kensanata left 09:59 JJMerelo left 10:03 aborazmeh left 10:06 stux|RC-only left 10:15 chloekek_ joined 10:17 sjm_uk left
Geth ecosystem/JJ-patch-12: 851ca7af73 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Adds cmark::Simple
10:32
ecosystem: JJ++ created pull request #504:
Adds cmark::Simple
10:34 soursBot left, soursBot joined
cpan-raku New module released to CPAN! Migration::RTtoGithub (0.0.2) by 03ELIZABETH 10:36
10:39 kensanata joined
Geth ecosystem: 851ca7af73 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Adds cmark::Simple
10:42
ecosystem: fb58190383 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | META.list
Merge pull request #504 from Raku/JJ-patch-12

Adds cmark::Simple
gfldex lolibloggedalittle: gfldex.wordpress.com/2020/06/12/th...the-topic/ 10:49
10:52 andrzejku left 10:55 sena_kun joined 10:56 Altai-man_ left 10:57 andrzejku joined, chloekek_ left 10:59 wamba left 11:03 stux|RC-only joined
lizmat weekly: gfldex.wordpress.com/2020/06/12/th...the-topic/ 11:05
notable6 lizmat, Noted! (weekly)
11:07 soursBot left 11:08 tejr joined 11:10 epony joined, kensanata left 11:27 xinming left, [Sno] left, xinming joined
moritz Scalars leaked: -2 11:40
Inline::Perl5 continues to amaze :D
[Coke] indeed! 11:41
moritz sadly, this puts me in kind of a in a tight spot regarding the "Raku Fundamentals" book 11:45
one chapter of Perl 6 Fundamentals was based on an example with Inline::Python
... which uses Python 2, which I cannot use in a new book. My attempts to port it to Python 3 are stalled
now I tried to change from python + matplotlib to Perl 5 + Chart::Clicker, but I keep running into problems with that as well 11:46
El_Che moritz: what's the state of inline go? it may ne more trendy 11:47
be
moritz I could try GD::Graph + Inline::Perl5, though that produces super ugly charts
El_Che: my Go knowledge is at ~ zero, so that's not something I want to present in a book :D
El_Che ah ok :)
[Coke] Old Man Coke remembers when Tcl was the integration language of choice, yes.
El_Che keeping pyhton2 out of the book makes sensem though 11:48
lizmat moritz: perhaps report the issues with the Inline::Perl5 queue ?
11:48 kensanata joined
moritz lizmat: have already started with that 11:50
but I'm kinda on a deadline :(
[Coke] wonders if martinfowler.com is the same MF from CPAN. 11:51
moritz: are you using HEAD? (can you for a book?) 11:52
11:52 jjatria left, soursBot joined
moritz [Coke]: no, I'm using the version that `zef install` gives me 11:53
[Coke] I was thinking "of rakudo", but I think you answered the right question. 11:56
11:57 jjatria joined
[Coke] Might it be worth crowd sourcing your issues with chart clicker here? 11:57
If you're anything like me, that deadline is looming pretty close at this point. :) 11:58
moritz perlpunks.de/paste/show/5ee36dda.529a.3ae that's one of my attempts
I've tried a pretty direct translation (without the perl 5 block, just method calls from raku) and ran into github.com/niner/Inline-Perl5/issues/153 12:00
12:00 rbt left 12:01 rbt joined
moritz oh, I've also tried Chart::Gnuplot, and it uses imagemagick to convert some stuff, which fails with an obscure error message about not having permissions. Googling for that suggestions you need to edit some XML in some file in /etc/ to give imagemagick permission to do its thing 12:04
this is a big cluster of WTFs and yak shaving, and I'm really frustrated
I think I'll ask the publisher about dropping that chapter entirely, and instead do something with a Cro webservice or so
[Coke] You have my vote! 12:07
moritz and my axe! 12:08
El_Che moritz: I think itś aa great idea amd more "fundamental" 12:09
moritz ok, then I need an idea for a somwhat practical-ish web service that can be implemented in one to two pages 12:13
I'm open to suggestions :D
mail to publisher sent 12:16
El_Che api with apikeys? 12:20
[Coke] moritz: A mini data wrangling service that can take a CSV file and parse a recipe to delete columns or combine them. 12:22
small grammar, exposure to Text::CSV... can extend later with more recipe verbs... 12:23
moritz [Coke]: that's a nice idea
[Coke] \o/
If you're really bored, use the power query language spec. :) 12:24
moritz at $work we have a tool called `csv-filter` which I can also use as inspiration 12:25
[Coke] this reminds me: does raku have parquet support yet?
looks like no. That sounds like a fun project I could work on that might help at $dayjob some day 12:26
12:32 stoned75 left 12:33 stoned75 joined 12:42 atroxaper left 12:53 skids joined 12:54 Altai-man_ joined
El_Che moritz: kudos with the book update! 12:56
12:56 sena_kun left 12:57 finanalyst joined
jnthn
.oO( I dunno what parquet is, but it sounds pretty floored... )
12:57
[Coke] it's a columnar based file format for tabular data. 12:59
nice for big data applications where you might be doing things to a whole column at once, rather than a single row. 13:00
jnthn Ah, interesting
13:03 brtastic1 joined 13:04 zacts left 13:06 zacts joined 13:07 zacts left 13:10 rbt left 13:11 rbt joined 13:13 tejr left
[Coke] one of the things it can do then is have very compact columns when it's like a Y/N flag. 13:15
13:20 soursBot left, tejr joined 13:21 soursBot joined 13:31 kensanata left 13:34 chloekek left 13:35 kensanata joined 13:44 poga joined 13:45 lichtkind joined
raku-bridge <Vendethiel> AlexDaniel: I was looking at unbitrotting my modules, and started with raku/ecosystem-unbitrot#520, but I can't reproduce the failure on my machine. Seems like it was a VM bug that got fixed. What's the best course of action here? 13:47
<Vendethiel> (also, Hi!) 13:49
13:53 kensanata left
Altai-man_ If it works on latest, can close the ticket with stating that. 13:54
Another nice thing to do is to set up a travis config with latest and also add a hook to re-run it maybe once in a month even without new commits, but efforts and that's on it, I guess. :) 13:55
14:05 atroxaper joined
raku-bridge <Vendethiel> ty 14:06
14:35 sno joined 14:36 brtastic left, brtastic1 is now known as brtastic 14:37 soursBot left 14:40 soursBot joined 14:43 brtastic left 14:44 brtastic joined 14:47 armin_ left 14:48 OpenZen joined 14:53 genevino joined 14:54 sena_kun joined 14:57 Altai-man_ left, soursBot left 14:59 softmoth joined 15:06 soursBot joined, andrzejku left 15:15 soursBot left 15:16 finanalyst left, genevino left
El_Che lists.freebsd.org/pipermail/freebs...01959.html 15:17
15:17 JJMerelo joined
JJMerelo releasable6: status 15:17
releasable6 JJMerelo, Next release in ≈8 days and ≈3 hours. There are no known blockers. 143 out of 280 commits logged (⚠ 4 warnings)
JJMerelo, Details: gist.github.com/e6c5890753627954a3...a3e12860b9
JJMerelo Yay!
15:19 leah2 left 15:22 soursBot joined 15:29 andrzejku joined
softmoth JJMerelo, congrats :-) 15:29
tellable6 2020-06-11T11:58:22Z #raku-dev <JJMerelo> softmoth no problem. 15:30
JJMerelo softmoth always happy to see new versions are coming up :-)
15:35 sno left 15:37 leah2 joined 15:40 sno joined, dogbert11 left 15:56 maggotbrain left 16:00 soursBot left 16:03 JJMerelo left 16:04 atroxaper left 16:06 soursBot joined 16:12 brtastic left 16:35 orinthe3 joined 16:37 orinthe left, orinthe3 is now known as orinthe 16:42 soursBot left 16:51 xinming_ joined 16:54 Altai-man_ joined, soursBot joined, xinming left 16:56 sena_kun left 17:02 sjm_uk joined 17:09 chloekek_ joined, soursBot left 17:10 patrickb joined 17:11 soursBot joined 17:14 patrickz joined 17:16 soursBot left 17:17 patrickb left, soursBot joined 17:26 sno left, soursBot left, gordonfish joined 17:29 soursBot joined 17:37 finanalyst joined 17:40 patrickz left 17:48 kensanata joined 18:04 soursBot left 18:06 soursBot joined 18:10 rbt left, rbt joined 18:12 sno joined 18:22 sjm_uk left 18:24 sauvin left, Woodi left, MasterDuke joined 18:27 kensanata left 18:28 soursBot left 18:30 sjm_uk joined, soursBot joined 18:31 Woodi_ joined, suman joined
suman I have a C++ function with this signature int count(std::string String) 18:32
int count(std::string String)
18:32 Woodi_ left
suman sub count(Str String) returns int64 is native('libtest') { * }; 18:32
This is in raku
18:32 BigBear joined
suman Is it right? 18:32
Can anybody figure out why this is not working 18:36
pastebin.com/icS4SsQU
18:37 mowcat joined, Woodi joined 18:41 suman left 18:43 finanalyst left 18:47 ctilmes joined
ctilmes suman: In C try printing sizeof(int) -- It is likely int32, not int64 18:48
tellable6 ctilmes, I'll pass your message to suman
18:49 soursBot left 18:51 ctilmes left 18:52 soursBot joined 18:54 suman joined 18:55 sena_kun joined 18:57 Altai-man_ left
suman ctilmes tried with int32 but still not working 18:57
tellable6 2020-06-12T18:48:43Z #raku <ctilmes> suman: In C try printing sizeof(int) -- It is likely int32, not int64
18:59 Sgeo joined 19:03 cpage joined
suman modified pastebin.com/5VP34GYY 19:09
Still not working 19:10
19:18 __jrjsmrtn__ left
suman int count(string s, char c) 19:19
what is the mapping of char in raku nativecall?
19:19 thundergnat joined
suman if int count(string s, char c) is the C function 19:19
what is the mapping of char in raku nativecall?
thundergnat suman: Is the library named 'libtest' or 'liblibtest'? Try just using a library name of 'test'. The default library loader prepends lib to the name. 19:20
19:21 finanalyst joined
suman @thundergnat I am on windows and synamic library is named libtest.dll 19:22
*dynamic
thundergnat Hmm. may not be an issue then.
suman @thundergnat Did you get it working? 19:23
19:24 suman left
thundergnat suman: no, I just am somewhat familiar with native calling external libraries. 19:24
tellable6 thundergnat, I'll pass your message to suman
19:25 suman joined
thundergnat but not on Windows though. 19:25
19:27 soursBot left 19:28 BigBear left 19:30 ctilmes joined
ctilmes suman: std::string is not compatible with Raku Str marshaling 19:30
You need to pass it in as a C String like 'const char *' 19:31
suman @ctilmes So that means I cannot use C++11
tellable6 2020-06-12T19:24:58Z #raku <thundergnat> suman: no, I just am somewhat familiar with native calling external libraries.
ctilmes Just write a little function to convert it 19:32
19:33 Black_Ribbon joined
ctilmes If you are writing the function using the string, just call str(). If you are using some other routine, create a wrapper function that converts it then calls the other routine 19:35
suman ctilmes OK I will have a look at that. In function "int count(string s, char c)" signature what is corresponding raku type for char
Any idea?
ctilmes you can probably use int8 for char
or uint8 19:36
Yeah: stackoverflow.com/questions/248269...on-libstdc If you want to manually create a string on the Raku side you probably could, but I wouldn't recommend it 19:38
It's possible that a future Raku could support that type, but you need to find someone with both the need and ability to implement it 19:39
However you try to make a std::string in Raku will likely be non-standard shaharmike.com/cpp/std-string/ 19:42
19:42 AlexDani` joined
ctilmes Better to embed a wrapper routine in your library 19:43
19:44 AlexDaniel left 19:47 suman left, ctilmes left
cpan-raku New module released to CPAN! Tuple (0.0.6) by 03ELIZABETH 20:07
20:13 molaf joined, rindolf left 20:17 aborazmeh joined, aborazmeh left, aborazmeh joined
cj okay. 2006 OSCON videos transcoded and published. 20:21
web.c9h.org/~cjac/raku/videos/
20:28 wamba joined
lizmat weekly web.c9h.org/~cjac/raku/videos/ 20:30
weekly: web.c9h.org/~cjac/raku/videos/
notable6 lizmat, Noted! (weekly)
20:32 Olorin37 joined, Olorin37 left
Geth doc: gfldex++ created pull request #3474:
sometimes one needs an empty block
20:38
20:38 stoned75 left 20:48 MasterDuke left, rbtca joined 20:49 rbt left 20:54 Altai-man_ joined, kensanata joined 20:56 sena_kun left 21:17 MasterDuke joined 21:38 mns_ left 21:39 mns joined 21:41 skids left 22:22 wamba left 22:34 aborazmeh left
oddp Might be blind, but looking through the range docs, one example mentions `Range.new(3, 5)`. Where exactly in the docs do I find more information about the actual paramaters I can pass? 22:41
Example here: docs.raku.org/type/Range#method_ACCEPTS
m: Range.new("...") 22:46
camelia Cannot resolve caller new(Range:U: Str:D); none of these signatures match:
(Range: Range $min, \max, :$excludes-min, :$excludes-max, *%_)
(Range: \min, Range $max, :$excludes-min, :$excludes-max, *%_)
(Range: Seq \min, \max, :$exclud…
oddp Looking for the docs for all these options.
22:55 sena_kun joined 22:57 Altai-man_ left
MasterDuke oddp: i don't see it in the docs, but here's the source github.com/rakudo/rakudo/blob/raku...m6#L23-L78 22:58
oddp Thank you! Alright, didn't overlook anything, after all, just wanted to make sure. 23:03
Is there a specific reason for not including them? 23:04
Not just in ranges.
MasterDuke not that i know of. i'd suggest creating an issue in the docs repo 23:05
23:48 leont left 23:51 finanalyst left, kensanata left