🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). Log available at irclogs.raku.org/raku/live.html . If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 6 September 2022. |
|||
00:07
reportable6 left
00:10
reportable6 joined
00:20
derpydoo joined
00:55
haxxelotto left
01:02
haxxelotto joined
01:06
haxxelotto left
01:11
haxxelotto joined
01:17
grymzu is now known as VladTheImpeller
01:18
haxxelotto left
01:23
haxxelotto joined
01:30
reportable6 left,
japhb left,
japhb joined
01:45
haxxelotto left
01:54
Kaiepi left
02:13
deoac left
02:23
reportable6 joined
02:24
frost91 joined
02:57
frost91 left
03:12
derpydoo left
03:31
haxxelotto joined
04:03
cm left,
cm joined
04:40
[Coke]_ joined
04:42
[Coke]__ left
05:19
VladTheImpeller is now known as grymzu
05:39
razetime joined
06:00
djerius left
06:02
djerius joined
06:07
reportable6 left
06:08
reportable6 joined
06:17
haxxelotto left
06:27
frost53 joined
06:31
Sgeo left
06:42
kjp left
06:43
kjp joined
06:59
razetime left
07:20
lichtkind joined
07:21
labster joined
07:59
habere-et-disper joined
08:00
squashable6 left
08:02
squashable6 joined,
Kaiepi joined
08:04
MoC joined
08:09
Xliff joined
|
|||
Xliff | Hi. I'm getting a lot of seg faults with g4d43bbf95 | 08:09 | |
Also getting a lot of these: [DOM::Tiny] No such method 'protect' for invocant of type 'NQPArray' | 08:10 | ||
This should trigger it: 'zef install DOM::Tiny' | |||
08:19
sena_kun joined
08:38
zups left
08:40
zups joined
|
|||
patrickb | o/ | 08:42 | |
08:43
Matthew|m left,
tadzik left,
AlexDaniel left,
crystalfrost[m] left,
CIAvash left,
andrea[m] left,
MitarashiDango[m left
|
|||
lizmat | Xliff: but that's a revert? of basically the commit before that? | 08:44 | |
patrickb | nine: I'm a bit puzzled by failures in my OBS build setup. The builds now routinely fail with a compile error in the rakudo build. (But I did see them succeed.) My OBS setup is basically clone of yours. | ||
nine: If you can spare a minute, could you have a look if something rings a bell? build.opensuse.org/package/show/ho...udo-moarvm | 08:46 | ||
lizmat | Xliff: DOM::Tiny installs for me without issue with g4d43bbf95 | ||
nine | patrickb: [ 42s] ===/usr/bin/nqp-m version 2022.06 is outdated, 2022.07-9-gd397598a1 expected. | 08:47 | |
patrickb | nine: Thanks! | 08:48 | |
08:48
sena_kun left
08:49
sena_kun joined
08:51
CIAvash joined
09:16
perlbot left
09:19
perlbot joined
09:28
labster left
09:31
sena_kun left
09:33
labster joined
09:45
AlexDaniel joined,
crystalfrost[m] joined,
Matthew|m joined,
tadzik joined,
MitarashiDango[m joined,
andrea[m] joined
09:54
haxxelotto joined
09:59
abraxxa joined
10:04
abraxxa left
10:05
abraxxa joined
10:06
haxxelotto left
10:10
polettix joined
|
|||
Xliff | lizmat: I'm puzzled myself. I am trying to find the root cause. | 10:17 | |
I think I might need to nuke my rakudo dir. | 10:18 | ||
But I am in the middle of $dayJob, atm. Might be a while. | |||
lizmat | ok | ||
Xliff | How can I trigger case insensitive mode inside a regex? | ||
i:? | |||
lizmat | :i rather | 10:19 | |
m: say "FOO".match( / :i foo / ) | |||
camelia | ï½¢FOOï½£ | ||
lizmat | m: say "FOO".match( rx:i/ foo / ) | 10:20 | |
Xliff | Ah, thankee. | ||
camelia | ï½¢FOOï½£ | ||
lizmat | inside or outside :-) | ||
think of it as an adverb | |||
10:24
haxxelotto joined
10:36
massa joined
|
|||
moritz | fun fact: there are adverbs that change how a regex is used (like :g/:global, :pos etc) and others that affect how a regex is compiled (:i, :ignoremark, :ratchet come to mind) | 10:38 | |
if you call a .match method with an existing regex, you cannot modify it with :i, you can only pass things like :global in | 10:39 | ||
10:41
xinming left
10:42
labster left
10:46
sena_kun joined
|
|||
lizmat | TIL :-) | 10:50 | |
10:54
bdju left
10:56
abraxxa left
11:00
equinox joined
11:08
equinox left
11:15
Xliff left
11:27
habere-et-disper left
11:59
thundergnat joined
12:06
reportable6 left
12:07
epony left
12:09
equinox joined,
reportable6 joined
|
|||
thundergnat | I had to find unique values from a large list of numeric and string values loaded from a file (as strings), with the constraints that numerics were unique by magnitude and strings case insensitive. Took a while fiddling with it, but Raku came through \o/. | 12:12 | |
m: say '2 7 5 -7 2 3 3 3 A9 a9 A4 b1 5 7 7 7.0 +7 0.7e1 -7 B1'.words.unique: :as({ .Numeric ?? (+$_).narrow !! .lc }); | 12:13 | ||
camelia | (2 7 5 -7 3 A9 A4 b1) | ||
thundergnat | Fist time I ever used the :as parameter to unique in the real world. | 12:14 | |
equinox | guifa: thank you very much. | ||
thundergnat | err... First | 12:15 | |
12:20
thundergnat left
12:32
frost53 left
12:42
equinox left
12:43
xinming joined
12:45
Kaiepi left
12:50
archenoth joined
12:53
Kaiepi joined
12:54
haxxelotto left
13:08
haxxelotto joined
13:11
haxxelotto left
|
|||
El_Che | building and uploading rakudo-pkg for newly released ubuntu 22.10 | 13:14 | |
lizmat | El_Che++ | 13:15 | |
13:32
jgaz joined
13:34
jetchisel left
13:44
derpydoo joined
|
|||
El_Che | the update also bundles the latest zef | 13:54 | |
for all distros | |||
13:56
epony joined
14:02
Newbie21 joined
|
|||
Newbie21 | I was able to get Raku to running using the Linux / MacOS instructions. | 14:04 | |
I still think the WSL instructions on rakudo.org/star/source look out of date wrt directory structure. The step "cd nqp" fails (no such directory), but I was able to find another nqp directory. | 14:05 | ||
The step "git checkout $(cat ../tools/build/MOAR_REVISION)" also failed, and I couldn't find a MOAR_REVISION file anywhere. | 14:06 | ||
14:06
Sgeo joined
|
|||
Newbie21 | I was working with rakudo-star-2022.07-01.tar.gz | 14:07 | |
14:07
haxxelotto joined
14:08
haxxelotto left
|
|||
El_Che | Newbie21: you can install rakudo-pkg on the WSL | 14:10 | |
14:15
haxxelotto joined
14:19
haxxelotto left
14:20
haxxelotto joined
14:26
bdju joined
14:34
haxxelotto left
14:36
haxxelotto joined
|
|||
patrickb | nine: Thanks for your hint. Just like that the tests start to succeed: cibot.rakudo.org/testset/72 | 14:59 | |
Nemokosch | what is the purpose of this? | 15:02 | |
15:05
gurmyz joined
15:06
gurmyz left
15:14
synthmeat left
|
|||
Rog | Bringing this over from raku-beginner: is it a bug or undocumented intentional behavior that `*{*}` does not parse the same as `{ $^a{$^b} }` | 15:35 | |
The Whatever-currying docs entry does not mention hash indexing as a special case | |||
Nemokosch | if I were to propose an answer to my own(-ish) question: maybe it all boils down to what handles Whatever as a distinct case and what does not? | 15:39 | |
15:40
sauvin joined
15:41
sauvin left,
sauvin joined
|
|||
if that's true, it would be hard to argue against (other than "maybe providing two distinct functionalities under the same symbol wasn't a good idea in the first place") | 15:47 | ||
15:50
Kernspin left
|
|||
leont | IME whatever star DWIMs if you think of it in context of operator overloading | 15:50 | |
15:56
Kernspin joined
16:00
Abhoerschutz left
|
|||
Rog | I think it does actually come down to what the signature is on the hash access operator, but I think if it’s behaving the way it’s meant to that ought to get a mention in the docs | 16:00 | |
16:01
Abhoerschutz joined
|
|||
Associative indexing operator, rather, just to be pedantic:^) | 16:02 | ||
16:07
grymzu left
16:15
sauvin is now known as Sauvin
16:16
synthmeat joined
16:17
synthmeat left
16:23
synthmeat joined
16:40
jetchisel joined
16:54
epony left
|
|||
tbrowder | hi, has anyone here ever use 'zef fetch Some::Module" | 17:04 | |
i just tried it on an ininstalled module and the same module after it was installed and don't the module contents in my working dir. should i see it there? | 17:06 | ||
s/ininstalled/uninstalled/ | 17:07 | ||
i got no msgs from zef either way | 17:08 | ||
17:08
sena_kun left
|
|||
tbrowder | *don't see the module contents... | 17:08 | |
oops, trying "zef look" now... | 17:10 | ||
17:20
equinox joined
17:38
euandreh joined
17:44
sena_kun joined
18:06
reportable6 left
18:09
reportable6 joined
|
|||
ugexe | `zef fetch Some::Module` just downloads the module to zefs cache | 18:13 | |
mostly pointless now that the cache itself isn't the most preferred ecosystem anymore | 18:14 | ||
18:14
jgaz left
18:39
nebuchadnezzar left
19:24
equinox left
19:33
TieUpYourCamel left
19:35
johnjaye joined
19:36
TieUpYourCamel joined
|
|||
johnjaye | i don't know if what i'm doing is moral. but i am making a cloud debian image just to run raku on my tablet. | 19:36 | |
we'll see if it works! | |||
19:41
MoC left
20:12
equinox joined
20:13
derpydoo left
20:22
nebuchadnezzar joined
20:46
equinox left
21:23
Newbie21 left
21:46
sena_kun left
21:53
epony joined
22:06
Xliff joined
23:01
lichtkind left
|