🦋 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:00 konvertex left 00:12 dustinm` joined, clarkema left 00:15 abraxxa left 00:33 aborazmeh left 00:46 Doc_Holliwood left 01:09 stoned75 joined 01:18 mowotter left 01:22 dogbert17 left 01:38 molaf left 01:39 aborazmeh joined, aborazmeh left, aborazmeh joined, melezhik left 01:48 oneeggeach joined 01:49 CandiceSwan joined 01:51 molaf joined 01:52 CandiceSwan left 01:55 Redfoxmoon left, Redfoxmoon joined 02:09 NODE left, pilne left 02:10 squashable6 left, NODE joined 02:11 squashable6 joined, squashable6 left
cpan-raku New module released to CPAN! Test::Async (0.0.11) by 03VRURG 02:12
02:13 squashable6 joined 02:24 oneeggeach left, oneeggeach joined 02:25 oneeggeach left, oneeggeach joined 02:26 oneeggeach left, oneeggeach joined, oneeggeach left, oneeggeach joined 02:27 oneeggeach left, oneeggeach joined 02:28 oneeggeach left 03:01 epony left 03:02 plicease left 03:05 epony joined 03:23 vike1 left 03:40 ensamvarg_g6 joined 03:47 londoed joined 03:55 aborazmeh left 04:12 donaldh_ joined, donaldh left 04:15 brtastic joined 04:20 Redfoxmoon left, Redfoxmoon joined 04:52 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined 05:03 xinming_ left, xinming_ joined 05:07 stoned75 left 05:15 stoned75 joined 05:17 vike1 joined 05:23 sauvin joined 05:37 stoned75 left 06:04 zacts joined 06:06 sjm_uk joined 06:07 zacts left 06:16 brtastic left 06:17 squashable6 left 06:19 squashable6 joined
Geth doc/style-subscripts: 03a0a56cfc | (Stoned Elipot)++ | doc/Language/subscripts.pod6
Remove parenthesis

Emphasize advice on how to implement AT-KEY and AT-PO methods by removing parentheses
06:23
doc: stoned++ created pull request #3403:
Remove parenthesis
06:28 stoned75 joined 06:39 patrickb joined 06:41 holyghost left 06:42 rindolf joined 06:44 brtastic joined
Geth doc: 03a0a56cfc | (Stoned Elipot)++ | doc/Language/subscripts.pod6
Remove parenthesis

Emphasize advice on how to implement AT-KEY and AT-PO methods by removing parentheses
06:45
doc: 879347e670 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Language/subscripts.pod6
Merge pull request #3403 from Raku/style-subscripts

Remove parenthesis
linkable6 Link: docs.raku.org/language/subscripts
06:47 stoned75 left 06:52 abraxxa joined 06:55 patrickb left 06:58 abraxxa left 06:59 abraxxa joined 07:08 londoed left 07:17 zacts joined 07:26 pecastro joined 07:36 dakkar joined, xinming_ left, xinming_ joined 07:38 Marcool joined 07:42 Marcool left 07:44 rindolf left 07:45 Geth left 07:47 rindolf joined 07:49 Geth joined 07:51 Doc_Holliwood joined 08:01 Marcool joined
rindolf Hi all! bash rakudo-git.bash on github.com/shlomif/rakudo-git-master-install fails with a test failure: «t/05-messages/02-errors.t (Wstat: 256 Tests: 37 Failed: 1) Failed test: 19» 08:03
08:08 poohman joined
poohman hello 08:08
rindolf poohman: hi, sup? 08:09
poohman can I define a grammar inside a class? If yes, if there anything I need to worry about?
other than not being to able to use it outside the class
rindolf poohman: did you try and get an error? 08:11
perlbot: tias
perlbot rindolf: Try It And See: the best way to learn whether something works, or what it does. (Alternatively: Touch Ignition And Sprint)
poohman no 08:12
rindolf: no
ill give it shot
rindolf poohman: ok
poohman: thanks
08:14 jjmerelo joined
rindolf p6: class Foo { grammar Pooh { token num { \d+ } } } 08:14
camelia ( no output )
rindolf p6: class Foo { grammar Pooh { token num { \d+ } } method mymatch($s) { return Pooh.parse($s); } } ; say Foo.new.mymatch('24'); 08:16
camelia 5===SORRY!5=== Error while compiling <tmp>
Strange text after block (missing semicolon or comma?)
at <tmp>:1
------> 3Foo { grammar Pooh { token num { \d+ } }7⏏5 method mymatch($s) { return Pooh.parse(
expecting any of:
rindolf p6: class Foo { grammar Pooh { token num { \d+ } }; method mymatch($s) { return Pooh.parse($s); }; } ; say Foo.new.mymatch('24');
camelia No such method 'TOP' for invocant of type 'Foo::Pooh'
in method mymatch at <tmp> line 1
in block <unit> at <tmp> line 1
rindolf p6: class Foo { grammar Pooh { token TOP { \d+ } }; method mymatch($s) { return Pooh.parse($s); }; } ; say Foo.new.mymatch('24');
camelia 「24」
rindolf poohman: ^^^
MasterDuke grammars are just classes, so can be lexically scoped and nested 08:23
poohman cool
thanks rindolf, MasterDuke
rindolf poohman: you're welcome 08:24
MasterDuke m: grammar A {}; say A.HOW.^mro
camelia ((GrammarHOW) (ClassHOW) (Any) (Mu))
08:35 stoned75 joined 08:37 holyghost joined 08:43 Altai-man_ joined
gfldex lolibloggedalittle: gfldex.wordpress.com/2020/05/14/au...ting-logs/ 08:57
Also I had to rename my blog for which I blame lizmat. 08:58
lizmat blame taken 08:59
weekly: gfldex.wordpress.com/2020/05/14/au...ting-logs/
notable6 lizmat, Noted! (weekly)
gfldex It took me 10 minutes to shoehorn a "6" into the vim command. :) 09:00
lizmat gfldex: s/convicing/convincing/ 09:01
like the @siblings».Str.sort.skip.head($max-backlog - 1).reverse 09:03
gfldex Without that it was more then 60 lines. So from a productivity standpoint it might not be the best solution. 09:04
MasterDuke gfldex: have you any experience with zstd? i've completely switched away from gzip to it. faster compression, faster decompression, better ratio 09:05
lizmat well, @siblings.map(*.Str) may be faster
gfldex MasterDuke: I use zstd to compress the images of my windows box. But for logfiles .gz is better because of zless. 09:06
MasterDuke ah 09:07
what about @siblings.sort(*.Str)?
gfldex lizmat: I leave the optimisations to the compiler. It will always be better at that job then me. 09:08
MasterDuke gfldex: i wasn't aware of it before, but i just checked and i have a zstdless on my system
lizmat MasterDuke: good point about sort(*.Str) 09:09
gfldex given that you can and should put /var/log into it's own partition you could leave the compression to the filesystem.
MasterDuke yeah, a couple now support zstd natively
09:13 jjmerelo left
Marcool Hi all, I'm running into an issue trying to get %?RESOURCES to work. I have my META6.json set up ok, a resources/folder/file.txt in the package, zef install . puts them into the site folder ok, but then from the package %?RESOURCES<folder/file.txt>.slurp just returns Nil... 09:24
I've tried poking and prodding it every way I know and no luck 09:25
%?DISTRIBUTION.meta<resources> also shown nothing O_o
s/shown/shows/
is there any kind of catch I should check here? 09:26
09:26 konvertex joined
moritz Marcool: are you actually using the installed module? 'cause if you still use the local one with perl6 -Ilib or so, %?RESOURCES won't work 09:28
rindolf moritz: lizmat : hi! do you have any idea about my test failure? 09:30
moritz hasn't even seen it, and thus has no idea 09:34
lizmat neither 09:37
09:41 jjmerelo joined
Marcool moritz: yeah definitely, I'm calling the script with a full path in the vein of /usr/local/Cellar/rakudo-star/2020.01/share/perl6/site/bin/test.p6 09:41
09:48 Doc_Holliwood left 09:50 Doc_Holliwood joined
moritz then I don't know 09:51
rindolf "not ok 19 - sprintf %d directive with one directive and no corresponding argument throws"
09:52 Black_Ribbon left
rindolf «Your printf-style directives specify 1 argument, but no argument was supplied. Are you using an interpolated '$'? in block <unit> at t/05-messages/02-errors.t line 135» - this isthe message that sprintf throw 09:54
10:00 jjmerelo left
lizmat runs a spectest 10:01
rindolf++ # fixed with github.com/rakudo/rakudo/commit/2aac854fc4 10:10
10:13 MasterDuke left
rindolf lizmat: thanks. :) lizmat++ 10:14
10:14 stoned75 left
rindolf lizmat: i'm trying again now 10:15
Marcool ok figured out the %?RESOURCES thing… 10:18
10:21 chloekek joined
rindolf lizmat: tests pass now - thanks 10:22
10:26 sena_kun joined 10:27 Altai-man_ left 10:29 MasterDuke joined 10:37 jjmerelo joined
rindolf p6: sub rsum($x) { return $x + Int(Str($x).reverse()); }; say rsum(13); 10:40
camelia 14
rindolf why?
p6: sub rsum($x) { return Int(Str($x).reverse()); }; say rsum(13);
camelia 1
rindolf p6: sub rsum($x) { return Str($x).reverse(); }; say rsum(13);
camelia (13)
10:41 MasterDuke left
rindolf p6: sub rsum($x) { return Str($x); }; say rsum(13); 10:41
camelia 13
rindolf p6: sub rsum($x) { return Str($x).chars().reverse(); }; say rsum(13);
camelia (2)
rindolf p6: sub rsum($x) { return Str($x).flip(); }; say rsum(13); 10:42
camelia 31
rindolf docs.raku.org/language/5to6-perlfunc#reverse - ah ha 10:45
11:00 jjmerelo left
lizmat news.ycombinator.com/item?id=23176529#23176658 Ask HN: Is Perl 6 / Raku worth learning? 11:21
11:23 oneeggeach joined 11:24 chloekek left
El_Che again? 11:26
mmm 11:29
I don't have a hn account it seems
or lost it :)
I wanted to mention relocatable rakudo-pkg you can install in your home as answer for the "need to ask the admin to install stuff" 11:30
lizmat but that's what many other languages also have, no ? 11:33
11:40 jjmerelo joined 11:46 mahafyi joined, oneeggeach left 11:55 AlexDaniel joined 11:56 AlexDaniel left, AlexDaniel joined 11:59 AlexDaniel left
mahafyi moritz : Thanks for the book 'Parsing with Perl 6 Regexes and Grammars', really good. Though I finished only 3 chapters so far heh. 12:03
moritz mahafyi: I'm glade you like it. Personally, I'm more proud of some of the later chapters :-) 12:04
mahafyi: also, a (very short) review and rating and amazon would help immensely to sell more copies 12:05
mahafyi I purchased in apress...
El_Che lizmat: yes, of course, but it's a good answer about the "the admin needs to install it" argument
12:05 MasterDuke joined
El_Che lizmat: and it's about the compiled runtime, not a virtual env like setup that compiles it in your home 12:06
moritz mahafyi: I think you can still write an amazon review, it just won't be labeled as "verified purchase" 12:07
mahafyi Oh i see, very well, definitely deserves great reviews. 12:08
Geth problem-solving: 375ac6c116 | (Aleks-Daniel Jakimenko-Aleksejev)++ | 2 files
Change default assignees
12:09
12:11 stoned75 joined
mahafyi moritz : done, i have a descriptive review and 5 starts, i only have an account on amazon.IN ... says it will be processed and may take several days. 12:13
moritz mahafyi: thank you very much! 12:14
mahafyi no, thank you, since i am actually able to read the regex examples of others also, you can be sure the book works, lol.
Many amazon kindle books are readable only on my android phone, which i don't, some are not supported in cloud ready no idea why. 12:17
no linux kindle app...
example is the brian d foy book, i can read it only on my phone and not laptop. 12:18
12:18 Marcool left
moritz that kinda sucks 12:18
12:18 Doc_Holliwood left
tadzik weird 12:23
probably amazon's DRM at work
abraxxa you can remove that with Calibre and a plugin 12:24
at least the Adobe DRM
not sure if Amazon uses that or something else
we don't but Kindles and their books for this reason
12:24 rindolf left
tadzik has a kindle but doesn't buy anything from amazon for exactly this reason 12:24
12:25 Altai-man_ joined
El_Che I have used Calibre with Amazon books 12:25
tadzik it sucks that most books aren't even legally buyable outside of DRM stores :/
El_Che not for the DRM, but for having epub that can be read everywhere 12:26
moritz the apress books are at least available as watermarked PDF
El_Che I used to buy O'reilly pdfs directly from them
moritz DRM free
El_Che DRM free
moritz (if you buy them from the apress website; no idea bout buying through amazon)
tadzik that's nice 12:27
12:27 sena_kun left
abraxxa Thalia here has removed DRM some times last year 12:30
12:35 mowcat joined
mahafyi Your latest customer review is live on Amazon. We and millions of shoppers on Amazon appreciate the time you took to share your experience with this item. 12:36
12:37 Doc_Holliwood joined 12:49 jjmerelo left 12:57 mowcat left 13:07 uselessperson joined
uselessperson Hello 13:07
13:10 aborazmeh joined, aborazmeh left, aborazmeh joined
uselessperson Anyone here? 13:14
13:14 uselessperson left
lizmat apparently too short an attention span :-( 13:15
13:17 sour joined
lizmat weekly: perlconference.us/tpc-2020-cloud/schedule/ 13:19
notable6 lizmat, Noted! (weekly)
sour isn't it a bit weird that on a perl conference there is a 'learn go' spot? D: 13:22
lizmat yes 13:23
abraxxa my kids learned to go with about two years...
lizmat especially on an online one
sjn wonders what timezone those talks are in 13:24
vrurg sjn: EST 13:25
sjn ah, there's also some timezone info on the front page 13:26
13:31 Doc_Holliwood left 13:33 holyghost left
[Coke] AlexDaniel`: I get a bad DNS response from repo.westus.cloudapp.azure.com 13:37
(255.255.255.255) 13:38
AlexDaniel` [Coke]: yeah, melezhik said that they ran out of credits so it'll be down for now 13:40
[Coke]: I told them to contact rba to find a machine to host it
moritz wonders why azure returns a broadcast address instead of NXDOMAIN 13:41
[Coke] thanks. wasn't sure if it was my dns provider, as I know they block folks sometimes. :|
AlexDaniel` weekly: ↑ actually, rakudist is currently down, so don't mention it if it doesn't go back up
notable6 AlexDaniel`, Noted! (weekly)
[Coke] I use 9.9.9.9 13:42
moritz nah, I also get 255.255.255.255 for the same query 13:43
AlexDaniel` it's a cool concept I think, just write your module name and see if it works on a variety of rakudo releases
13:44 aborazmeh left
AlexDaniel` you can do the same with travis I guess, but I don't think people make use of that 13:45
I've seen it in some modules, I think, but it's not popular enough :)
I mean, it's a cool concept as long as we want to do better to support older rakudo releases 13:48
which I thought was useful for linux distros and such
13:56 chloekek joined 13:58 aborazmeh joined, aborazmeh left, aborazmeh joined 14:00 poohman left 14:07 molaf left 14:15 melezhik joined 14:16 rmmm left 14:17 poohman joined 14:18 Doc_Holliwood joined
melezhik AlexDaniel` I've made changes you asked , but as I said RakuDist is now shutdown 14:19
rba Alex told me to talk to you about possible resources to host RakuDist ... 14:20
rba melezhik: What are the needed resources? 14:23
AlexDaniel` .tell rba colabti.org/irclogger/irclogger_lo...05-14#l324
tellable6 AlexDaniel`, I'll pass your message to rba
melezhik VM basically, 4-6 CPU cores , 6-8 GB memory -in average 14:24
sorry 4 cores
just because it would run docker with 2-4 docker instances 14:25
14:25 sour left
melezhik but for the start we could reduce configuration 14:25
rba melezhik: So, is all docker based?
melezhik yeah technically I need just a VM/server with docker running inside
14:26 sena_kun joined
AlexDaniel` rba: the same machine that is used for Blin is perhaps a good candidate, it's for the very similar purpose 14:26
rba I have a small setup with DigitalOcean. Need to check if this sponsoring can be expanded.$
Then we have some sponsored credits from Amazon we can have a look. 14:27
melezhik @rb
rba thanks a lot
rba Where is RakuDist running atm?
melezhik but like I said, I am flexible, and we could simplify configuration
14:28 Altai-man_ left, zacts left
melezhik it runs just yesterday on my azure subscription but I've run out of credits now :-( 14:28
14:29 Kaiepi joined
AlexDaniel` rba++ 14:29
rba melezhik: Please send me your email adress as pm. I will invite you to AWS. 14:34
melezhik: Please, PLEASE, be careful, as I had to add my personal credit card, which will be credited after the 600$ is used. 14:35
melezhik: Put only SMALL instances first.
melezhik: So we're able to calculate the costs.
melezhik sure, thanks. as I set things up I'll let you know
rba Invite emails should be sent. 14:36
melezhik rba - ok!
14:38 aborazmeh left 14:41 brtastic left 14:45 melezhik5 joined, melezhik5 is now known as melezhik2, rindolf joined
melezhik2 rba I successfully logged, thanks, I'll try to start small instance and do further setup latter. I promise not to ruin your budget :] 14:46
rba melezhik2: Keep in mind I have two kids and both are hungry too :-) 14:47
melezhik2 yeah, in the same boat 14:48
14:48 melezhik left
vrurg hopes nobody is gonna sell kids for the sake of the budget here.... :D 14:51
14:52 poohman left
Geth doc: 37c378253f | (Tom Browder)++ | doc/Type/independent-routines.pod6
Add more details of sprintf and its format and *@args

Addresses Raku doc GH issue #3394
The '$' symbol has a special meaning in the sprintf format string and must be escaped in a double-quoted format string if intended to be used as a literal character. That fact is very briefly described in an ... (16 more lines)
15:02
linkable6 Link: docs.raku.org/type/independent-routines
linkable6 DOC#3394 [open]: github.com/Raku/doc/issues/3394 [docs][easy to resolve][good first issue] Better document use of '$' in sprintf format string
Geth doc: 697d2d3ecc | (Tom Browder)++ | doc/Type/independent-routines.pod6
recommended changes, plus some more tweaks
doc: 9b5c7b6604 | (Juan Julián Merelo Guervós)++ (committed using GitHub Web editor) | doc/Type/independent-routines.pod6
Merge pull request #3402 from tbrowder/sprintf

Add more details of routine sprintf and its format string and *@args
15:09 stoned75 left
rba melezhik2: What is the difference of Blin and RakuDist? 15:10
15:10 stoned75 joined
melezhik2 cc AlexDaniel` 15:10
15:11 brtastic joined
rba Might make sence you use the same host as we run Blin? 15:11
15:11 mowcat joined 15:12 jjmerelo joined
melezhik2 it's hard to say. but blin and rakudist are different . rakudist would run tests for Raku Modules on docker containers. 15:13
AlexDaniel` rba: well, Blin was designed for Rakudo release prep, and it works perfectly for that 15:16
15:16 poohman joined
rba When does it run on RakuDist? What is the trigger? 15:16
AlexDaniel` I guess melezhik2 can tell more about possible uses for RakuDist, but it is far from being a replacement for Blin 15:17
melezhik2 +1 15:18
AlexDaniel` so both projects are kinda similar but completely different :)
melezhik2 here is documentation - github.com/melezhik/RakuDist , but it'd make more sense when I spin up a web UI and you could play with that
rba melezhik2: let me know when you spinned up the UI. Like to have a look. 15:22
AlexDaniel` rba: my understanding is that module authors, users, devs, etc. can trigger builds on specific configurations (different containers, different rakudo versions)
rba: like Travis but not Travis! :)
melezhik2 AlexDaniel` that is correct 15:23
but for the nearest future the "killer" feature is users can run _simultaneously_ in one click tests for their shiny modules on variety of Rakudo versions 15:24
AlexDaniel` in some way it's a bit weird that different people are working on all these somewhat different (but too similar) solutions, maybe it'd be nice to have some coordination 15:25
15:26 hacktor left
AlexDaniel` Zoffix made Toaster, I reimagined it with Blin, nine is doing something with open build service, melezhik is working on RakuDist 15:26
15:27 __jrjsmrtn__ joined
AlexDaniel` then there's also robertle with shelve6 and chloekek with CRAI. These are different, but maybe they should be integrated somewhat 15:28
15:28 _jrjsmrtn left
AlexDaniel` I didn't make it any nicer also, Blin and Bisectable are almost exactly the same, but at least they share a lot of code via Whateverable so that makes me feel a bit better about it x) 15:30
chloekek I haven’t been doing any Raku lately. 15:32
tellable6 2020-05-08T11:32:45Z #raku-dev <AlexDaniel> chloekek: colabti.org/irclogger/irclogger_lo...05-08#l111
chloekek But CRAI is still running. :) 15:34
AlexDaniel` chloekek: what are you up to nowadays? 15:39
chloekek Playing with OpenSCAD
Want to make a case for my home theatre (RPi + HDD).
AlexDaniel` oh, it's maintained again 15:40
[Coke] can someone run 'cro stub' for me and make a gist with the created files?
AlexDaniel` nice
rba melezhik2: Let's go ahead and let me know if you're able to use AWS. In case resource (cost) is getting high we move to the Blin box. 15:41
[Coke] (when I run cro, I get an "Abort Trap" - going to use docker going forward, but will be helpful to have a stub app to start with
15:43 k-man left, patrickb joined
AlexDaniel` [Coke]: Usage: cro stub <service-type> <id> <path> [<options>] 15:43
chloekek: fwiw, openscad is fun to play with but I had more joy making actual designs in FreeCAD 15:44
chloekek Also been doing more with Rust and Haskell
AlexDaniel` chloekek: the learning curve was a bit steeper for me compared to openscad, but once you get the basics it's pretty cool 15:45
melezhik2 rba sure, thing 15:46
chloekek And been learning biology
AlexDaniel` oh and IIRC there is a workbench for openscad too, so you can probably use both at the same time 🙂
chloekek AlexDaniel`: Cool! I’ll chcck it ou.
15:50 k-man joined
[Coke] AlexDaniel`: ok. It dies here, so I hadn't gotten to the point where I was invoking it wrong. :) 15:52
15:56 poohman left 15:57 sour joined
AlexDaniel` chloekek: If you want to try FreeCAD, I do recommend to start with tutorials first, it never clicked for me otherwise. It's different from openscad. You can still use just boolean operations, but you'd be missing out on some cool things 16:00
chloekek: I think these videos were the ones that helped me a lot: www.youtube.com/watch?v=_HEvhclR4-...26cn9idJrj 16:01
chloekek Solvespace is also pretty nice.
[Coke] AlexDaniel`: maybe just "cro stub" works. 16:02
AlexDaniel` [Coke]: that was the output when I used `cro stub` 16:03
[Coke] I had been trying 'cro stub app app' 16:04
16:07 Doc_Holliwood left 16:18 xinming joined 16:20 poohman joined 16:21 xinming_ left 16:25 Altai-man_ joined 16:27 sena_kun left 16:28 cpan-raku left, cpan-raku joined, cpan-raku left, cpan-raku joined
Geth doc: 76930c92ab | Coke++ | doc/Type/independent-routines.pod6
fix typo
16:35
linkable6 Link: docs.raku.org/type/independent-routines
16:37 Doc_Holliwood joined 16:39 stoned75 left 16:41 dakkar left
AlexDaniel` [Coke]: that is still not right x) 16:41
ok `cro stub http bar baz` 16:42
rindolf Hi all! Tests here fail, and it is likely not my fault: travis-ci.com/github/Raku/examples.../333776351 16:43
AlexDaniel` [Coke]: gist.github.com/AlexDaniel/0eb7e8c...a5d376f941
16:44 melezhik2 left 16:48 jjmerelo left
[Coke] AlexDaniel`++ 16:51
16:52 Altai-man_ left
[Coke] Thank you! 16:53
16:56 MasterDuke left 17:08 MasterDuke joined 17:09 sjm_uk left 17:12 Manifest0 left 17:16 sena_kun joined 17:27 japhb joined
colomon_ What’s Ralu’s current state-of-the-art in a debugger? I’m going nuts trying to sort out my current (non-Grammar) bug… 17:34
should I be using Comma for it? 17:35
moritz yes 17:42
17:49 mahafyi left
[Coke] Comma++ 17:51
colomon_ now instead of trying to figure out my impossible bug, I’m trying to figure out Comma. 17:55
[Coke] :)
17:58 jjmerelo joined
colomon_ “Raku SDK is not set for the project” 17:58
okay, have that sorted 18:02
now it’s complaining it cannot find the lib files I’m trying to debug.
Does -Ilib still work?
moritz yes 18:04
colomon_ moritz++ 18:09
How do I set a breakpoint?
18:14 melezhik joined
moritz not much of an IDE user myself, but usually you can right-click a bar next to the code 18:17
colomon_: maybe www.jetbrains.com/help/rider/Using...ints.html# might help? 18:18
iirc Comma is built on the jetbrains IDE stuff, so I hope their documentation applies 18:19
colomon_ oh 18:21
I guess I can’t set a breakpoint in a library?
the things I’ve been trying for the last ten minutes work great in the main script
[Coke] ... this shouldn't matter, but does adding a "no precompilation;" in your module make the problem go away?\ 18:22
colomon_ where in module?
[Coke] first line 18:23
(precomp is one of the big differences between a script and a module, so just wanted to rule it out) 18:24
18:25 Altai-man_ joined
colomon_ first line after use v6? comma complains otherwise 18:25
doesn’t seem to work 18:26
oh, wait
18:27 jjmerelo left, sena_kun left
colomon_ okay, have breakpoint working in main script 18:28
18:28 sauvin left 18:33 Manifest0 joined
colomon_ as far as I can tell, calling into lib function breaks the debugger almost entirely? 18:33
like with the call stack here, it’s showing me functions in ToLilypond.pm, but listing them as being in bin/abc2ly, and doesn’t bring up the right file when you click on it. 18:35
[Coke] tries to figure out how to change the font in Comma.
18:39 KindTwo joined 18:40 Kaiepi left, Kaiepi joined 18:41 KindOne left, Kaiepi left 18:43 KindTwo is now known as KindOne
colomon_ [Coke]: Preferences > Editor > Font 18:44
[Coke] colomon_: where is preferenes? 18:45
colomon_ On Mac, under Comma menu 18:46
but that’s a standard location
[Coke] nope
Under Comma on mac, I see About Comma, Services, Hide Comma, Hide Others, Show All, Quit Comma 18:47
18:47 KindTwo joined
colomon_ Bizarre. Did OS X change it in the latest release? 18:48
try command-, ? THat’s the keyboard shortcut on my copy
18:49 KindOne left
[Coke] doesn't seem to do anything. weird. 18:50
thanks for trying. :) 18:51
colomon_ bad sign when the IDE is so frustrating I decide to pay my taxes instead
18:51 KindTwo is now known as KindOne, flyingtiger joined 18:52 abraxxa left
[Coke] ^_^ 18:53
colomon_ to be fair, I’ve never found a GUI debugger on OS X that didn’t frustrate me to the point I gave up using it.
18:54 abraxxa joined 18:55 ensamvarg_g6 left
cpan-raku New module released to CPAN! Test::Async (0.0.12) by 03VRURG 18:55
18:59 Kaiepi joined 19:03 girafe2 left
[Coke] was able to find "preferences for new projects" which doesn't include fonts. can import/export settings, use a settings server... don't see preferences anywhere. weird. 19:08
I'm assuming i"m just not familiar enough with intellij.
poohman hi 19:09
m:grammar A { regex TOP {}; regex text {\v 19:10
evalable6 (exit code 1) 04===SORRY!04===
Nu…
poohman, Full output: gist.github.com/3a10fe9cf64d1b3d57...01df71b5a7
poohman m:grammar A { regex TOP {<text>}; regex separators {\h||\,}; regex allowed {\V-<separators}; regex text {<allowed>*}; 19:12
evalable6 (exit code 1) 04===SORRY!04===
Un…
poohman, Full output: gist.github.com/d0d93f224910670c09...e669e049f9
poohman Hello everybody 19:13
19:13 finsternis left
poohman how can I negate the separators in the above example?? 19:13
19:13 Black_Ribbon joined
poohman I know I can put the negative sign inside <> for character classes 19:14
19:14 donaldh joined
poohman but for regexes, I remember something with! 19:14
but cant make it work
m:grammar A { regex TOP {<text>}; regex separators {\h||\,}; regex allowed {\V!<separators}; regex text {<allowed>*};
evalable6 (exit code 1) 04===SORRY!04===
Un…
poohman, Full output: gist.github.com/221035bfe48dafb25e...b05982b0ac
19:15 donaldh_ left
poohman m:grammar A { regex TOP {<text>}; regex separators {\h||\,}; regex allowed {\V-<separators>}; regex text {<allowed>*}; 19:15
evalable6 (exit code 1) 04===SORRY!04===
Un…
poohman, Full output: gist.github.com/471e29699d76dca9b5...6655f2a4e1
poohman m:grammar A { regex TOP {<text>}; regex separators {\h||\,}; regex allowed {\V<separators>}; regex text {<allowed>*};
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/Q4O7VDVX7h
Missing block
at /tmp/Q4O7VDVX7h:1
------> 03V<separators>}; regex text {<allowed>*};08⏏04<EOL>
poohman m:grammar A { regex TOP {<text>}; regex separators {\h||\,}; regex allowed {\V!<separators>}; regex text {<allowed>*};
evalable6 (exit code 1) 04===SORRY!04===
Un…
poohman, Full output: gist.github.com/12c2ac991977fa5517...d8240b91b5
19:17 girafe joined
poohman m:grammar A { regex TOP {<text>*}; regex separators {\h||\,}; regex allowed {\V!<separators>}; regex text {<allowed>*<separator>*}; 19:17
evalable6 (exit code 1) 04===SORRY!04===
Un…
poohman, Full output: gist.github.com/1a4ee05a64825b3101...b685fb3878 19:18
poohman I need the negation so the \V* doesnt become too greedy
m:grammar A { regex TOP {<text>*}; regex separators {\h||\,}; regex allowed {\V <-{\h||\,}>}; regex text {<allowed>*<separator>*}; 19:20
evalable6 (exit code 1) 04===SORRY!04===
Un…
poohman, Full output: gist.github.com/5f18d067ed7e822fe4...3db3538ff4
poohman m:grammar A { regex TOP {<text>*}; regex separators {\h||\,}; regex allowed {\V <-[\h||\,]>}; regex text {<allowed>*<separator>*}; 19:22
evalable6 (exit code 1) 04===SORRY!04===
Mi…
poohman, Full output: gist.github.com/3adee0ae44fb6c989b...6b1488580b
Manifest0 [Coke]: Still looking for the fonts in comma? Go to "File -> Settings -> Editor -> Font" 19:23
poohman m:grammar A { regex TOP {<text>*}; regex separators {\h||\,}; regex allowed {\V <-[\h \,]>}; regex text {<allowed>*<separator>*};
evalable6 (exit code 1) 04===SORRY!04=== Error while compiling /tmp/DrGMKZ7ylb
Missing block
at /tmp/DrGMKZ7ylb:1
------> 03>}; regex text {<allowed>*<separator>*};08⏏04<EOL>
poohman m:grammar A { regex TOP {<text>*}; regex separators {\h||\,}; regex allowed {\V <-[\h \,]>}; regex text {<allowed>*<separator>*};}
evalable6
lizmat [Coke] : if I stub with no/yes/no/no, localhost:20000 works 19:25
MasterDuke m: my regex a { \d+ }; say "abc" ~~ /<a>/; say "abc" ~~ /<!a>/; say "123" ~~ /<a>/; say "123" ~~ /<!a>/ 19:27
camelia Nil
「」
「123」
a => 「123」
「」
lizmat [Coke]: if I stub with yes/yes/no/no , http:// doesn't work (server dropped connection) 19:28
https:// provides an unsecured connection
poohman Ah - ! inside 19:31
thanks MasterDuke
MasterDuke don't know if it does exactly what you want, but it does something 19:32
[Coke] Manifest0: there is no "settings" under "File" 19:36
Manifest0: there are "Other settings" , import... export... ...repository 19:41
MasterDuke and no ability so search in the settings? 19:42
heh. "appearance" is actually the section that it starts in when i open settings, and font is the first option 19:44
(in linux) 19:45
[Coke] there is an "appearance" top level menu under view, but that's not it. 19:47
Manifest0 [Coke]: You don't see this? imgur.com/a/wBehXzY
[Coke] there is an appearance section in "preferences for new projects", but font is not listed there. 19:48
Manifest0: I'm on a mac, but no - I have the *other* setting menu items I mentioned, but not just "settings"
colomon, also on a mac, *did* have it. 19:49
I have Comma Version 2020.04 (CP-193.SNAPSHOT)
Manifest0 I'm on linux but i also have that version (2020.04). Maybe you can delete the folder ~/.CommaCT2020.04 (backup it first). And check if that helps. Otherwise i have no clue 19:53
lizmat is glad her working machine is not upgraded to Catalina yet 19:54
[Coke] that folder doesn't exist, Manifest0
Manifest0 unfortunately comma on Mac seems to be very different from the linux one. Unfortunately i cannot help you more :-( 19:56
[Coke] opened a ticket. 19:57
Thanks, everyone.
El_Che Manifest0: I use Intellij mostly on Linux, and sometimes on the mac, and I see no difference whatsoever besides the shotcuts (can be changed though) 19:59
It's probably the only desktop java app that does the "run anywhere" acceptably :) 20:01
20:05 donaldh left, donaldh_ joined
poohman Hi MasterDuke - I just came to know that I was trying to invent the wheel by writing a grammar for the split method 20:11
just for curiosity - where is the source code for the split function?
I was having trouble at the beginning and end of the string - so would like to have a look 20:12
20:12 sour left 20:17 rindolf left
MasterDuke poohman: you could start here github.com/rakudo/rakudo/blob/mast...2116-L2533 20:23
20:23 [Sno] left 20:25 [Sno] joined, sena_kun joined
poohman thnks 20:26
20:27 Itaipu left, Altai-man_ left 20:43 [Sno] left 20:45 [Sno] joined, mowcat left 20:48 mowcat joined 20:57 pilne joined
tigerpaws Hi, everyone. I was wondering how I could be of some use to the raku community. I've taken a lot of data science courses lately, and wondered if there is any interest in implementing a raku api to tensorflow, for example? Or maybe something else. 21:04
lizmat tigerpaws: an interface to tensorflow would be brilliant :-) 21:05
++tigerpaws
tigerpaws From what I can see, and please correct me if I'm wrong, we don't have any interfaces to data science/ML stuff, or and DevOps stuff either, for that matter. 21:06
lizmat what projects are you thinking about ?
tigerpaws I'm not really sure what's already there, but I was thinking about getting something like the numpy/pandas/seaborn stuff, maybe, even if it's an interface into the python library, or some devops stuff, like kubernetes api, docker/podman api, stuff like that. 21:08
lizmat well, there's Inline::Python, maybe that could be helpful 21:09
tigerpaws Unless I'm mistaken, we're a little short on the scientific stuff, so that might be an area that needs some beefing up. And yes, going through Inline::Python might be a solution, at least for a first cut. 21:11
What do you see that needs beefing up?
But I'm willing to try tensorflow, that would be a big project, but I'm retired, so I'm free, unless somebody comes calling. 21:12
lizmat was thinking about doing a tensorflow interface, but is too busy with too many other things, even though retired :-) 21:14
tigerpaws lizmat: in that case, I think I'll try tensorflow and see how far I can get. If I get stuck, maybe I can ask for some advice.... 21:15
lizmat sure... there'll be people here willing to help you with such a nice project! 21:16
I know I will :-)
tigerpaws Ok, Unless something drastic happens, I'm starting on that. Where do I do to start writing public modules for raku? 21:17
El_Che is it possible to use GENERATE-USAGE and the like from an other file than where the MAIN is situated? my tests say no :) is PROCESS:: something an option? 21:23
guifa2_ timotimo lizmat poohman: I'm late to the party but … Intl::Numbers has / will have (can't remember if it's been in oen of the released versions) a token that handles numbers like poohman wanted. <local-number> and optionally takes an argument for the language (so that 10,3 in French == 10.3 in English == ١٠٫٣ in Arabic 21:24
lizmat tigerpaws: personally I use App::Mi6, installable with zef 21:25
tigerpaws: do you have a PAUSE account ?
21:25 lichtkind joined, aborazmeh joined, aborazmeh left, aborazmeh joined
tigerpaws Ok, I'll have a look at that. What is a PAUSE account? 21:25
I have github, gitlab and bitbucket accounts... 21:26
El_Che lizmat: doesn't it work with github?
lizmat App::Mi6 ? 21:27
not sure
tigerpaws: a PAUSE account is an account to upload to CPAN
tigerpaws no, i don't have that. I'll have to see about that. Then I'll check out APP::Mi6 21:29
lizmat modules.raku.org/dist/App::Mi6:cpan:SKAJI 21:31
21:38 molaf joined 21:42 hoelzro joined 21:44 Kaiepi left 21:47 Kaiepi joined 21:48 Kaiepi left, Kaiepi joined 21:50 melezhik left 21:51 poohman left 21:52 ufobat_ joined 21:56 brtastic left, ufobat__ left 22:00 mowcat left, dogbert17 joined 22:03 aborazmeh left 22:08 Itaipu joined 22:12 lichtkind left 22:25 Altai-man_ joined 22:27 sena_kun left 22:36 kst joined 22:44 Altai-man_ left 22:49 vike1 left 22:55 vike1 joined
Geth doc: tbrowder++ created pull request #3405:
Replace 'RESUME:' with 'OUTPUT:' for consistency
23:08
tbrowder that's been changed from RESUME: to RESULT: 23:09
23:12 squashable6 left 23:14 squashable6 joined 23:16 chloekek left 23:30 pecastro left 23:43 syntaxman joined 23:47 melezhik joined 23:48 patrickz joined 23:52 patrickb left