🦋 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:06 lucasb left 00:28 shan left, patrickb left 00:35 oddp left 00:55 wamba left 00:57 MasterDuke left 01:04 pecastro left 01:07 mowcat left 01:16 xelxebar left 01:18 xelxebar joined 01:31 tejr left, tejr joined
pilne raku isn't really a bit-fiddling language (yet), not sure how "good" of a feature it would be honestly for a language like raku? 01:33
a bitarray/matrix module might be a fun thing to take a stab at
nevermind... nativecall makes it silly easy.... 01:35
bless this language
01:54 hythm joined
hythm m: multi trait_mod:<is>( Variable:D \v, :$what ) { say v.var }; my @a is what; my @b[1] is what; 02:03
evalable6 []
hythm Can someone explain why .var for the shaped array is a type object (Array) ? 02:09
02:09 gnufr33dom joined 02:19 kvw_5 joined 02:22 kvw_5_ left 02:32 raku-bridge left 02:33 raku-bridge joined, raku-bridge left, raku-bridge joined 03:04 shan joined 03:08 sortiz left 03:21 hythm left 03:22 rindolf joined 03:34 squashable6 left 03:35 squashable6 joined 03:58 neshpion left 04:16 Possum left 04:27 brtastic joined
SmokeMachine vrurg: merged! Thanks! 05:10
05:14 agentzh joined, agentzh left, agentzh joined
summerisle I'm looking at modifying the raku-mode SMIE rules - is there a complete grammar for raku that's readily available? I could swear I saw one at some point 05:16
(for emacs)
not a grammar _for_ emacs, but just the language
ah github.com/rakudo/rakudo/blob/mast...rammar.nqp 05:17
05:47 parabolize left 05:57 pilne left 06:02 maggotbrain left 06:03 maggotbrain joined 06:13 maggotbrain left 06:14 maggotbrain joined 06:29 RaycatWhoDat left 06:45 kaiwulf left 07:06 aluaces joined 07:26 wamba joined 07:28 jmerelo joined
jmerelo releasable6: status 07:28
releasable6 jmerelo, Next release will happen when it's ready. 1 blocker. 22 out of 101 commits logged
jmerelo, Details: gist.github.com/96f1696881922e92fb...5d469d6b59
07:56 brtastic left 08:52 patrickb joined 09:10 sjm_uk joined, domidumont joined
patrickb o/ 09:18
El_Che patrickb: if you have the time can you have a look at these build fails: github.com/nxadm/rakudo-pkg/runs/1...focus=true and github.com/nxadm/rakudo-pkg/runs/1...step:5:308 09:20
patrickb: in short: rakud builds fine everywhere except on alpine edge and fedora rawhide 09:21
patrickb: I suspect some binutils bug
patrickb those are strange errors indeed... 09:22
did you try contacting upstream? 09:23
El_Che patrickb: all the other dev OSes like debian testing. unstable, experimental and ubunt dev build fine
patrickb: not yet, trying to figure out where it breaks
I posted the links on #moarvm
09:32 wamba left 09:56 Garbanzo left
El_Che patrickb: documented as github.com/MoarVM/MoarVM/issues/1424 and github.com/MoarVM/MoarVM/issues/1425 10:03
patrickb El_Che++ 10:05
10:07 oddp joined 10:13 Sgeo left 10:21 aborazmeh joined 10:27 Black_Ribbon left
jmerelo El_Che: it's a missing file. Is that compiled only in Alpine? 10:49
El_Che jmerelo: the file is there
jmerelo: it's werid as hell. The same tar compiles fine on other alpine releases
with the same pkgs 10:50
jmerelo El_Che: it's literally missing, because it cannot find it. It's difficult to argue with an error message.
El_Che I'll add an ls to the podman cmds so it's clear the file is there 10:51
10:52 cydf joined
El_Che I habe been bitten by binutils with similar errors 10:52
that a good thing of containers, easy to reproduce :)
jmerelo El_Che: you can try and convince me, but it's difficult to convince that command. I'd rather try and find why it's not finding it, and why it happens only there.
10:53 aborazmeh left
El_Che jmerelo: you're saying the same as I do :) 10:53
I believe the build scripts think the file is not there
10:53 wamba joined
El_Che I looked at the obvious and the binutils in rawhide and fedora 33 are the same version 10:54
jmerelo El_Che: maybe you could create a workflow that tests github.com/MoarVM/libatomic_ops before packaging it? That library has not changed for almost 3 years... 10:55
El_Che jmerelo: that's not very different from what I do? The builds of moarvm/nqp/rakudo on fedora 31, 32 and 33 are fine. Do you mean to debug libatomic in isolation? 10:57
10:58 pecastro joined
jmerelo El_Che: That's what I meant, yes. The thing is I'm not sure it's using _that_ version of the library. Looking at Configure.pl, it looks like it's checking for the library and using that one if it's not present. 10:58
El_Che: It's also doing a lot of copying...
El_Che I am pretty sure it's not the library itself, but something in the moarvm build process or OS tool chain 10:59
jmerelo El_Che: that's what I'm saying.
El_Che: Fedora has a libatomic_ops all by itself src.fedoraproject.org/rpms/libatomic_ops It shouldn't need to compile it, I think... 11:00
El_Che I can build the lib in isolation to be sure
but idd
jmerelo El_Che:it does need headers, anyway 11:02
El_Che the fedora fails happens later but is similarily weird 11:04
jmerelo El_Che: my money would be on debugging Configure.pl.
El_Che: Also, there's this PR github.com/MoarVM/MoarVM/pull/1254 that I created precisely for test-compiling Alpine
El_Che I am working on something to compile and package on all supported distros/versions 11:05
as a refactoring of rakudo-pkg
with the addition that you can specify commits of all components, next to releases
jmerelo El_Che: great
El_Che fork the repo, change a version file if necessary and see the results 11:06
11:27 |oLa| left, |oLa| joined 11:31 aindilis left 11:32 |oLa| left 11:45 gnufr33dom left 11:46 |oLa| joined 11:49 sjm_uk left 11:50 |oLa| left
El_Che it looks like github actions will kil travis 12:01
lizmat agree, although it feels like mostly suicide to me 12:02
Travis made it harder and harder to use for open source
El_Che yeah, I missed that because I had a pro account 12:03
but it became very slow
lizmat yeah, unusably so
lizmat spent an hour or so yesterday to remove Travis from all raku-community-modules 12:04
El_Che I think I will be able to buid packages for 25 distro/version under the 10 minutes where it tooks hours in travs
lizmat is a hero 12:05
12:06 sjm_uk joined 12:29 |oLa| joined 12:31 jmerelo left 12:32 natrys joined
tbrowder hi, gang 12:34
lizmat tbrowder o/
tbrowder speaking of testing, is there a way to set an env var for the workflow tests? 12:35
lizmat: howdy! \o/
i guess you're in a shell so you could just "export METRICS=/usr/share/afm" 12:38
lizmat yup
12:39 MasterDuke joined
tbrowder thnx, off to the races... 12:40
12:46 Kaeipi left 12:47 Kaeipi joined 12:48 Some-body_ joined 12:50 Kaeipi left, Kaeipi joined 12:51 Some-body_ is now known as DarthGandalf, Kaeipi left 12:52 Kaeipi joined 12:53 Kaeipi left 12:54 Kaeipi joined 12:55 Kaeipi left 13:06 MasterDuke left, MasterDuke joined 13:17 sjm_uk left 13:22 sjm_uk joined 13:30 Some-body_ joined 13:31 kaiwulf joined 13:32 DarthGandalf left, Some-body_ is now known as DarthGandalf 13:58 b2gills left 14:07 squashable6 left, squashable6 joined 14:23 kaiwulf left, Raycat|Home left 14:39 aindilis joined, wamba left 14:53 sjm_uk left 15:09 domidumont left 15:19 parabolize joined 15:21 guifa2 joined
guifa2 m: my int \foo = 8; 15:22
evalable6 (exit code 1) Type check failed in binding; expected int but got Int (8)
in block <unit> at /tmp/1gr4VouIPP line 1
guifa2 m: my int \foo = my int $ = 8;
evalable6 (exit code 1) Type check failed in binding; expected int but got Int (8)
in block <unit> at /tmp/hH4mjgo6Rb line 1
guifa2 Any way to get a sigil-less to work with natives? 15:23
[Coke] yawns 16:06
16:07 perigrin joined 16:10 gordonfish left, tbrowder left, ChoppedBacon left, lizmat left 16:11 lizmat joined, ChoppedBacon joined, gordonfish joined 16:12 tbrowder joined 16:26 Xliff joined, sjm_uk joined 16:30 __jrjsmrtn__ left 16:32 __jrjsmrtn__ joined 16:41 maggotbrain left 16:42 maggotbrain joined
Xliff \o 16:48
Is Str.comb the recommended way for getting the occurrences of a substring in string?
[Coke] or tr check the count, maybe? 16:49
16:56 maggotbrain left
timotimo i recommend comb 17:01
17:03 maggotbrain joined 17:04 maggotbrain left 17:05 maggotbrain joined
Xliff timotimo: 17:09
I was using a regex and using prefix + on them resulting match object.
raku-bridge <ionsolo> there is an anchor for search inside a word also 17:10
moritz Xliff: comb already looks for all non-overlapping occurrences 17:12
Xliff moritz: Got it. Glad I asked! :) 17:14
17:15 MasterDuke left 17:18 brtastic joined 17:19 MasterDuke joined 17:20 maggotbrain left 17:21 maggotbrain joined 17:23 mowcat joined 17:24 maggotbrain left 17:26 guifa2 left 17:28 monkey__ joined 17:31 monkey__ left 17:34 Garbanzo joined 17:41 shan left 17:43 shan joined 17:45 maggotbrain joined 17:47 tejr left 17:48 tejr joined 17:57 kent\n left, gfldex joined 18:21 brtastic left 18:28 Sgeo joined
ens i use raku btw 18:38
[Coke] anyone using rakubrew on OS X ? (the OS won't let you run it.) 18:39
ens: glad to hear it!
configure.pl completes, make dies immediately with: src/moar.h:31:10: fatal error: 'atomic_ops.h' file not found 18:42
ww 18:43
18:48 brtastic joined 18:49 gnufr33dom joined
ens i am still a newbie but i would like to consider the possibility of doing something with raku and FUSE but i am having trouble finding what to do in order to use fuse things from raku 19:02
perhaps someone has a suggestion?
19:02 xelxebar left 19:03 xelxebar joined 19:09 neshpion joined
moritz ens: I'm not aware of any FUSE bindings for raku, so you'd likely need use the C API through Nativecall 19:10
docs.raku.org/language/nativecall 19:11
neshpion is there a CLI repl for raku? alike to `irb` for ruby
19:12 wamba joined, lucasb joined
moritz if you start raku without arguments, you're dropped into the REPL 19:14
Xliff ens: What are you trying to do?
moritz not as fancy as iypthon, but usable
neshpion oh
i didn't even try
19:19 Black_Ribbon joined
ens moritz: thanks for the nativecall suggestion. i will read up on it 19:26
19:39 wamba left 19:46 pnu__ left 19:47 pnu__ joined 19:48 oddp left 19:55 pilne joined 20:01 wamba joined 20:12 sjm_uk left 20:28 natrys left 20:38 aborazmeh joined 20:47 aborazmeh left 21:09 aborazmeh joined 21:27 seanrobert joined 21:28 seanrobert left 21:34 aborazmeh left 21:37 aborazmeh joined 21:45 MasterDuke left, MasterDuke joined 21:51 aborazmeh left 22:08 vrurg joined 22:20 neshpion left 22:22 neshpion joined 22:33 brtastic left 22:40 rindolf left 23:01 Grauwolf joined 23:08 Manifest0 left 23:13 patrickb left, Kaeipi joined 23:17 neshpion left, neshpion joined 23:32 kaiwulf joined 23:42 lucasb left