🦋 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 mowcat left 00:24 pecastro left 00:49 JRaspass joined 00:51 JRaspass left 01:07 seanrobert joined 01:38 seanrobert left, seanrobert joined 01:53 seanrobert left 02:50 jmchael left 03:37 xelxebar_ left, xelxebar joined 03:38 tejr left, tejr joined 04:17 __jrjsmrtn__ joined 04:18 _jrjsmrtn left
xinming_ I have 2 promises, both will take a while, just not sure which one will be finished first. Is there an api to monitor a list of promises, and pull one finished one after another? `wait @promises` will wait for all promises to be finished. 05:10
05:16 Doc_Holliwood joined
raku-bridge <frost> m:for 1..10 {} 05:33
raku-bridge <frost> m:for 1..10 {}
05:51 wamba joined 06:05 kjpye joined 06:15 benjif left 06:16 sjm_uk joined 06:17 parabolize left 06:22 brtastic joined 06:39 rindolf joined 06:53 seanrobert joined 06:56 seanrobert left 07:19 Doc_Holliwood left 07:23 wamba left 07:25 brtastic left 07:34 wamba joined 07:45 sena_kun joined 07:56 brtastic joined 07:57 Altai-man joined 07:59 sena_kun left 08:09 Xliff joined
Xliff Happy New Year, everyone! 08:10
Can someone help me with this slang?
I'm trying to figure out why it looks like the 'xpath' keyword isn't getting picked up.
I know I can use a function, but I wanted to see if I could eliminate the need for quotes. 08:11
09:09 linkable6 left, evalable6 left 09:10 evalable6 joined 09:11 linkable6 joined 09:15 brtastic left 09:18 Sgeo left
gfldex m: my @ps = my ($p1, $p2, $p3) = (1..3).map({ Promise.start({ sleep $_; say "promise $_ done" }) }); sub watcher($_) { .say }; for @ps { .Supply.tap: &watcher; }; await @ps; 09:26
camelia promise 1 done
promise 2 done
promise 3 done
gfldex xinming_: ^^^
09:27 natrys joined 09:48 Voldenet left 09:54 Voldenet joined, Voldenet left, Voldenet joined 10:06 stoned75 joined 10:34 Doc_Holliwood joined
Geth doc: 3293842507 | (Stoned Elipot)++ | doc/Type/Promise.pod6
Tweak example output style
linkable6 Link: docs.raku.org/type/Promise
10:49 Voldenet left 10:55 Voldenet joined, Voldenet left, Voldenet joined 11:16 sjm_uk left
Geth doc/output-style: 03945eeb9e | (Stoned Elipot)++ | 15 files
Uniformize example output style

And sync styleguide with this commonly adopted style
doc: stoned++ created pull request #3761:
Uniformize example output style
11:29 Doc_Holliwood left 11:32 v_m_v joined
v_m_v Hello. Does anyone have some issues with zef on chromebooks (debian)? I can not fetch some packages...and to be honest I don't know why. 11:33
11:37 Black_Ribbon left 11:39 synthmeat left 11:49 synthmeat joined 11:51 stoned75 left 11:58 sena_kun joined 11:59 Altai-man left 12:00 Manifest0 left 12:03 sjm_uk joined 12:07 v_m_v left, v_m_v joined 12:12 v_m_v left 12:15 v_m_v joined 12:18 pecastro joined 12:19 stoned75 joined
Geth doc: 03945eeb9e | (Stoned Elipot)++ | 15 files
Uniformize example output style

And sync styleguide with this commonly adopted style
doc: 9481b586d8 | stoned++ (committed using GitHub Web editor) | 15 files
Merge pull request #3761 from Raku/output-style

Uniformize example output style
tbrowder g'day fellow rakoons! 13:14
has anyone been getting mail sent to their @cpan.org account? i tried back in nov an again just a couple of days ago and nothing. i have been trying to reach another cpan author and he hasn't been seeing anything either. i do get auto email from cpan about my module, though. 13:17
it may be gmail throttling me somehow. can someone please send a test mail to me at <mailto:tbrowder@cpan.org>? many thanks 13:19
13:19 evalable6 left, linkable6 left 13:20 linkable6 joined 13:21 evalable6 joined
tib mail sent 13:26
I have a question about zef
If I do
13:27 Tirifto joined
tib zef install --/test github.com/melezhik/Sparrow6.git 13:27
zef install --/test github.com/melezhik/sparrowdo.git
zef install --/test github.com/melezhik/sparky.git
All installs fine
zef install --/test github.com/melezhik/Sparrow6.git github.com/melezhik/sparrowdo.git github.com/melezhik/sparky.git
reports a resolving issue 13:28
"Failed to resolve some missing dependencies"
Because sparky requires Data::Dump:ver<2.0.0+> when Sparrow6 require Data::Dump:ver<1.0.0> 13:29
but I thought that zef was able to handle this (threat each git repo as independent) 13:30
What do you think
v_m_v it is funny becouse I also have issues with zef but with IO::Path::ChildSecure. I can not fetch it and to be hones I don't understand why. 13:36
tib v_m_v fetching and install OK for me 13:37
what says verbose 13:38
recent zef ? recent raku ?
v_m_v yes. It is funny becouse it is happening only on chromebook (on the virtualized debian) and only with that lib. Cro::HTTP has been fetched fine. 13:39
tbrowder tib: got it, thanks! 13:40
v_m_v When I am running zef install with --force-fetch then I am getting: "No such method 'parent' for invocant of type 'Any'. Did you mean 'print'?" 13:44
13:48 jmchael joined
tbrowder is the new module bot working? 13:56
13:58 sjm_uk left 14:56 Doc_Holliwood joined 14:59 wamba left 15:18 Manifest0 joined 15:21 parabolize joined 15:35 sena_kun left 15:37 sena_kun joined 15:39 sena_kun left 15:41 sena_kun joined 15:44 notagoodidea joined 15:57 Altai-man joined 15:59 sena_kun left 16:02 aluaces left, aluaces joined 16:21 Altai-man left 16:24 sena_kun joined 16:26 stoned75 left 16:28 wamba joined, stoned75 joined 16:45 patrickb joined 16:51 patrickb left 16:57 notagoodidea left
xinming_ gfldex: Thanks for the idea, I don't know that we can have Supply :-) 17:06
SmokeMachine: in Red, .grep({ (.col > $min) and (.col <= $max) }) behaves differently from .grep({ ($min < $.col) and ($max >= .col) }); The former works fine, the latter will be optimized to False always. 17:08
SmokeMachine xinming_: it’s probably a Optimization bug... would you mind to open a issue for that, please? 17:14
17:23 notagoodidea joined
SmokeMachine xinming_: it seems I’m not testing the side the variable is here: github.com/FCO/Red/blob/master/lib...ND.pm6#L25 17:24
17:25 patrickb joined
SmokeMachine xinming_: would you like to fix that? I’m away from keyboard for some time... (I’m on vacation my girls don’t let me to use the computer) 17:27
notagoodidea Does someone have experience with KDE XML syntax highlighting files of raku? It seems to fail to be integrate with the skylighting library (github.com/jgm/skylighting/issues/114) 17:33
I will look at it, asking in case of someone is more knowledgeable or one of the authors is around. 17:34
17:36 aindilis` joined 17:38 aindilis left 17:45 sjm_uk joined 17:48 patrickb left 17:49 patrickb joined 18:06 webstrand left 18:09 aindilis` left 18:23 Sgeo joined 18:34 kano joined, kano is now known as Guest28650
Guest28650 Hi, maybe someone answer a question regarding the Red module? 18:36
moritz pro tip: nobody can answer a question that hasn't been asked 18:37
Guest28650 I have tried create a model with a Floating Point column and the sqlite backend.
Unfortunatly it doesn't work with the types Num, Numeric and Rat. Maybe it is not implemented? 18:38
18:39 Doc_Holliwood left
moritz how did it not work? 18:41
Guest28650 All the created columns Num, Numeric and Rat in the resulting table are varchar(255) columns. 18:44
18:44 sena_kun left
moritz you could also try num 18:44
though that wouldn't map onto the "REAL" storage class either 18:45
18:48 Doc_Holliwood joined
Guest28650 Hmm same result. I will open an issue on Github / Red and ask there. Thx 18:49
moritz +1 18:50
18:51 Guest28650 left 18:54 thowe left, stoned75 left 18:58 mowcat joined 19:00 webstrand joined 19:05 xelxebar left 19:08 xelxebar joined 19:12 faisal joined 19:13 faisal left, faisal_javed joined 19:22 faisal_javed left 19:38 leont joined
tyil lizmat: poke 20:01
20:06 sjm_uk left
SmokeMachine Guest28650: it seems to be a bug, until it’s fixed, you can try using something like: `has $.col is column{ :type<any-type-you-want>}` 20:17
20:27 aindilis joined 20:30 b2gills left, brtastic joined 20:31 b2gills joined 20:39 v_m_v left, v_m_v joined 20:43 sena_kun joined
Xliff Can someone help me with this slang? 20:51
I'm trying to figure out why it looks like the 'xpath' keyword isn't getting picked up.
I know I can use a function, but I wanted to see if I could eliminate the need for quotes.
20:56 stoned75 joined
Xliff moritz ^^^ 20:58
21:08 v_m_v left 21:11 andrzejku joined
andrzejku hello 21:11
21:21 cpan-raku left 21:22 cpan-raku joined, cpan-raku left, cpan-raku joined 21:26 rindolf left 21:40 v_m_v joined
v_m_v Hello. I have generated my project with InteliJ plugin for Cro. I would like to add a new dependiency into my project. For that I have to add it into META6.json file in depends? 21:41
sena_kun v_m_v, to install the dependency, you need to use an actual package manager (zef), something like `zef install My::Nice::Dependency`. Adding it to META6.json just specifies the dependency, but there is no machinery in Comma to automagically install it or something. 21:50
21:53 v_m_v left, v_m_v joined
v_m_v sena_kun: I see. I am trying to install XML::XPath and I am getting error: pastebin.com/xSCbVQmr he can not find "Test" 21:53
sena_kun v_m_v, cannot reproduce it. :/ It is very odd to not find the Test module, it is shipped with Rakudo. 21:57
21:58 stoned75 left
v_m_v I know. I have installed a bunch of Cro packages without any problems. 21:58
sena_kun v_m_v, what if you try `zef install github.com/ufobat/p6-XML-XPath.git`? 21:59
v_m_v the same issue 22:00
sena_kun v_m_v, hmm. Ok, what if you explicitly `git clone` the repo, cd inside and `zef install .`? 22:01
v_m_v sena_kun: you mean `zef install ./META6.json` ? 22:02
sena_kun no
In the directory where META6.json of the clonned XML::XPath is, where dot at the end states "the path of the current directory". 22:03
v_m_v I see. Ok, I have the same issue. 22:04
sena_kun v_m_v, can you just `raku` into REPL and type `use Test` there?
It should respond with `Nil`
v_m_v wow...no I cannot....
sena_kun Ok, so the module is innocent. I wonder if your Rakudo distribution somehow got corrupted. 22:05
Anything comes to mind? Also, which way did you use to install it?
v_m_v I have installed it by rakudobrew
sena_kun has to go afk, but an attempt to re-install may help, plus check `which zef` and `which raku` (if they are pointing to a sane place?). 22:07
v_m_v both of them are pointing into:/home/michmajchrzak/.rakubrew/shims/
22:08 andrzejku left
sena_kun v_m_v, mine points to /home/koto/.rakubrew/versions/moar-2020.10/install/bin/raku and /home/koto/.rakubrew/versions/moar-2020.10/install/share/perl6/site/bin/zef, I wonder if you need to do a `rakubrew switch $version` after you did `rakubrew build $foo; rakubrew build zef`? Though if you did install cro packages, this looks like a mystery. 22:09
v_m_v So, remove rakudobrew? with .rakudobrew folder and install it once again? 22:11
sena_kun v_m_v, I would firstly try to recover just the rakudo version rakudobrew installed. First, check `rakubrew list` to check what version has an asterisk, then do `rakubrew nuke $that-line-without-asterisk`, then `rakubrew build $version; rakubrew switch $version; rakubrew build zef`. 22:12
If it does not help...
22:14 sena_kun left, sena_kun joined
v_m_v sena_kun: ok, now my rakubrew/bin folder is empty. I think that I will remove everything and install it once again. Tomorrow. Maybe I have missed one step somewhere. 22:16
Thx for help. If it will not help then I will go back here :) 22:17
sena_kun v_m_v, sure! Good luck.
22:17 v_m_v left 22:21 sena_kun left 22:22 sena_kun joined, brtastic left 22:28 sena_kun left 22:33 Tirifto left 22:51 notagoodidea left 22:52 notagoodidea joined 23:04 xelxebar_ joined, xelxebar left 23:05 notagoodidea left 23:09 natrys left 23:12 Black_Ribbon joined
tony-o Xliff: what exactly do you suppose is to happen with that slang? 23:27
23:27 Doc_Holliwood left
tony-o Xliff: you most likely want $<xpathS>=[.*?] rather than [.*]? .. the way you have it will eat until EOF 23:37
this also looks like something that should just be a method, i don't know what your further plans are for what's in <<< >>> 23:39
23:41 aluaces left 23:52 notagoodidea joined
Xliff tony-o: One sec. 23:55
I want to make a new literal constructor. 23:56
So something like: xpath{val} where <val> will be taken as a string and passed to a sub to construct the actual object. 23:58
tony-o: The only problem is that if I do something like "xpath{String with spaces}" I still get stick with the "Two operators in a row" error. 23:59
23:59 benjif joined