šŸ¦‹ Welcome to the former MAIN() IRC channel of the Raku Programming Language (raku.org). This channel has moved to Libera (irc.libera.chat #raku)
Set by lizmat on 23 May 2021.
00:02 reportable6 left 00:05 reportable6 joined 00:28 Doc_Holliwood left 01:28 notable6 left, evalable6 left, greppable6 left, squashable6 left, committable6 left, quotable6 left, bisectable6 left, releasable6 left, coverable6 left, shareable6 left, bloatable6 left, reportable6 left, tellable6 left, sourceable6 left, benchable6 left, nativecallable6 left, unicodable6 left, statisfiable6 left, squashable6 joined 01:29 sourceable6 joined, releasable6 joined, evalable6 joined 01:30 bisectable6 joined, notable6 joined, unicodable6 joined 01:31 benchable6 joined 02:29 gugod left 02:30 reportable6 joined, quotable6 joined, nativecallable6 joined, shareable6 joined, coverable6 joined, greppable6 joined
[Coke] can someone explain to me what this C is doing: github.com/MoarVM/MoarVM/blob/new-...L326-L334? (Not the specifics, the syntax) 02:31
ah, that's a struct. (windows is unhappy with several instances of that syntax in that file) 02:35
02:38 perlbot left 02:39 simcop2387 left
moon-child I think that '.expected_kinds = { }' is not standard 02:41
(supported by gcc but not msvc, I assume) 02:43
should be .expected_kinds = {0}. (Or just leave it out; it will be zero-initialized by default)
02:53 monkey_ left
[Coke] Yup, that seems to avoid the issue. Thanks. 02:54
moon-child++ 03:01
03:03 jess joined 03:05 simcop2387 joined, linkable6 joined 03:06 perlbot joined 03:12 monkey_ joined 03:27 monkey_ left 04:27 releasable6 left, coverable6 left, quotable6 left, reportable6 left, notable6 left, shareable6 left, sourceable6 left, evalable6 left, greppable6 left, nativecallable6 left, linkable6 left, bisectable6 left, squashable6 left, benchable6 left, unicodable6 left, quotable6 joined 04:28 unicodable6 joined 04:29 tellable6 joined, coverable6 joined, committable6 joined, nativecallable6 joined, linkable6 joined, sourceable6 joined, notable6 joined 04:30 reportable6 joined, shareable6 joined 04:45 stoned75_ left 04:46 stoned75 joined 05:27 releasable6 joined 05:28 greppable6 joined 05:29 statisfiable6 joined 05:30 bisectable6 joined, benchable6 joined 06:02 reportable6 left 06:04 reportable6 joined 06:18 Sgeo left 06:25 ufobat joined 06:28 evalable6 joined 06:50 Manifest0 joined 07:28 squashable6 joined 07:48 dakkar joined 09:17 tejr left 09:30 bloatable6 joined 09:31 tejr joined 10:03 lizmat left
vasko > '/media-pv/linksr/movies'.IO.dir.map: *.e 10:22
(False False False False False False False False False False False False False ...
I'm finding that symlinks, mounted over NFS return false when testing them with the method `.e` 10:23
Seems to work fine with the same version of raku (2021.04) directly on the NFS host (sans nfs).
Checking for a file directory fails as well: > '/media-pv/linksr/movies'.IO.dir.map: *.f 10:27
Failed to find '/media-pv/linksr/movies/My.Movie.mkv'
10:37 ufobat left 10:43 sena_kun joined 10:50 lizmat joined 10:59 ufobat joined
gfldex lolibloggedalittlejustbeforeirantowork: gfldex.wordpress.com/2021/08/02/on...-elements/ 11:06
11:59 linkable6 left, evalable6 left, evalable6 joined 12:03 reportable6 left 12:21 frost joined 12:22 Doc_Holliwood joined
elcaro gfldex: No love for toggle? ie. (1..6).roll(*).toggle(* > 2) 12:31
tho `* ā‰„ 3` might convey intent better 12:37
frost hello, everyone =D 12:57
13:04 reportable6 joined
elcaro hi frost 13:15
13:20 frost left 13:23 Sgeo joined
Altreus > If no more tester Callables are available, the switch will remain in its current state until the end of iteration. -- is toggle therefore smart enough to terminate an infinite list when it runs out of testers in an off state? 13:23
lizmat toggle runs on an iterator: if the iterator produces IterationEnd, it's done 13:26
if it doesn't, it will run forever indeed?
elcaro Altreus: I think... it does? 13:27
m: (1..Inf).toggle(:off)
camelia ( no output )
elcaro m: say (1..Inf).toggle(:off)
camelia ()
Altreus But if it knows that it will not produce any more values (because it's off) why would it continue to iterate?
aha, a test
empiricism ftw
elcaro I replied to the Reddit post. I've always had a soft spot of toggle because of how it generalised the (drop|take)(until|while) functions into one 13:29
but unfortunately not well known, because it's not a common name for this feature (though it's a fine name) 13:30
maybe there is some way docs could point to it when someone searches `takewhile`... that might help a little
13:36 frost joined 13:40 frost left 14:40 evalable6 left 15:00 linkable6 joined 15:13 justsomeguy left 15:41 Doc_Holliwood left 15:43 evalable6 joined 16:21 ufobat left 16:39 LarryNB joined
LarryNB I've downloaded the source and the .asc file; however, I don't know how to verify the downloaded source. 16:40
More specifically, I've downloaded rakudo.org/dl/rakudo/rakudo-2021.07.tar.gz.asc and run Kleopatra to verify the corresponding file; however, the Kleopatra response included "could not be verified". 16:43
16:52 dakkar left
sena_kun LarryNB, you can use the gpg tool to verify it. assuming the both files are in the same directory, run `gpg --verify rakudo-2021.07.tar.gz.asc`. 16:52
LarryNB, I see Kleopatra is a GUI for Gpg4Win, am I correct you are on Windows? 16:54
LarryNB Yes, I'm on Windows10. But the response from Kleopatra says "could not be verified". 16:55
sena_kun LarryNB, can you please show a screenshot, for example? 16:56
LarryNB Let me see if I can figure how to create one. 16:57
sena_kun I just downloaded both files and gpg says:
gpg: assuming signed data in 'rakudo-2021.07.tar.gz'
gpg: Good signature from "Alexander Kiryuhin [email@hidden.address] [ultimate]
gpg: Good signature from "Alexander Kiryuhin <alexander.kiryuhin@gmail.com>" [ultimate]
So something is apparently insufficient.
Altreus LarryNB: super+shift+s 16:58
LarryNB Uploaded file: uploads.kiwiirc.com/files/e9940938...apture.PNG 16:59
I must have Kleopatra misconfigured somehow. I'll just have to remember to use gpg. 17:00
Sorry for bother, and thanks for the help. 17:01
MasterDuke no, i think you just need to add that key
LarryNB OK, I'll need to study how gpg and kleo work more closely. I'd assumed it would add any key it found on any keyserver. 17:03
It seems like an obvious thing the app should do. 17:04
Altreus like gpg does? :D 17:05
where "any keyserver" is "next to the file"
MasterDuke LarryNB: colabti.org/irclogger/irclogger_lo...07-24#l137 for reference
LarryNB OK, thanks MasterDuke, for the reference. I'll add the key. Thanks again for the help. 17:09
Bye now.
17:09 LarryNB left 17:25 sena_kun left
lizmat moritz: care to comment on twitter.com/juliawritescode/status...5172925444 ? 17:27
17:44 melezhik joined
melezhik what is a Raku replacement for perl's ` /a/ ... /b/ ` diapason operator? 17:45
[Coke] ff ? 17:49
fff? 17:50
just looked up "diapason" and only found musical references.
docs.raku.org/language/5to6-perlop..._operators 17:51
moritz lizmat: thank, I#ve answered
melezhik [Coke] thanks, I just forgot where to find in the docs 17:52
18:00 stoned75 left 18:01 stoned75 joined 18:02 reportable6 left 18:03 MoC joined 18:06 sono joined 18:13 jess left 18:31 Doc_Holliwood joined
lizmat and yet another Rakudo Weekly News hits the Net: rakudoweekly.blog/2021/08/02/2021-...ting-down/ 18:37
El_Che not again! 18:52
(jk)
19:05 reportable6 joined 19:08 MoC left
nine It's....like this happens every week :D 19:18
19:29 MoC joined 19:40 MoC left
lizmat almost like magic! 19:49
.oO( I wish )
m: say "\c[femal sign]" # wonder if we could get a levenshtein feedback on this one 19:53
camelia 5===SORRY!5=== Error while compiling <tmp>
Unrecognized character name [femal sign]
at <tmp>:1
------> 3say "\c[femal sign7ā5]" # wonder if we could get a levenshte
[Coke] Seems a reasonable ask 19:55
moon-child there are quite a lot of unicode characters, it might take a while 19:57
MasterDuke hm. does rakudo know all the valid names?
moon-child I wonder if there's some kind of precomputation you can do on a set of names (like some kind of hashing) that lets you quickly identify close levenshtein matches?
MasterDuke yep
levenshtein automata 19:58
lizmat could be a nice project for someone :-)
moon-child MasterDuke: hmm, that looks like clearly an improvement but not an escape from pathological performance 19:59
you're still linear in the number of unicode character names, which is quite large
[Coke] yah, but it's on error, so it's OK if its a little slow. 20:00
MasterDuke yeah. you might be able to do something with a trie
20:40 linkable6 left, linkable6 joined 21:02 melezhik left
El_Che lizmat: Wendy is mentioned dev.to/smonff/why-am-i-giving-up-on-perl-4ni6/ 21:03
(or even addressed) 21:04
21:04 melezhik joined
melezhik if someone is into linux server state verification, I've recently resumed one of my old project which is called Bird - github.com/melezhik/bird 21:05
it allows one to write dsl based rules to check servers states, an alternative to existing tools like chef inspec and goss 21:06
written on Raku
21:16 melezhik left 21:31 Altai-man left 21:36 neshpion joined 21:55 Altai-man joined
lizmat weekly: dev.to/smonff/why-am-i-giving-up-on-perl-4ni6/ 22:41
notable6 lizmat, Noted! (weekly)
23:22 tobs left 23:32 tobs joined