This channel is intended for people just starting with the Raku Programming Language (raku.org). Logs are available at irclogs.raku.org/raku-beginner/live.html
Set by lizmat on 8 June 2022.
02:06 human-blip left 02:08 human-blip joined 02:18 human-blip left 02:20 human-blip joined 08:33 Manifest0 joined 09:19 lizmat left
Manifest0 hi! I'm trying to upload my little utility to raku.land website. I'm using fez: paste.opensuse.org/pastes/b341ee7258c5 10:00
however i'm getting email saying "Error reading META from your last upload" 10:01
There's no other information. i checked and the META6.json is a valid json. How do i know what's wrong with it?
ab5tract Hi Manifest0 o/ 13:17
have you tried running `fez review` prior to upload?
Manifest0 ab5tract: yes. It says resources OK 13:49
ab5tract hmm..
And fez is the latet version? 13:50
I'm wondering if `fez meta` might provide at least an actionable detail, as well 13:51
Manifest0 i installed fez yesterday, so i believe it's the latest one 13:52
Just tried again. Got: >>= Hey! You did it! Your dist will be indexed shortly. 13:54
but got again the email with error 13:55
ab5tract hmm, well let's see which one is true :D 13:56
Manifest0 it would be nice to have more info in the email. 13:59
ab5tract Might be worth creating a ticket for that 14:17
Manifest0 Which project? Fez?
ab5tract yeah
or ping tony-o :) 14:19
er, tonyo (do I always just imagine a dash in there?) 14:41
15:42 librasteve_ joined
disbot3 <rikashore> when depending on libraries/modules, does the installation always lead to a global install, or is there a way to locally install dependencies to a raku project? 16:08
<librasteve> @rika - hello 16:25
<librasteve> the rakubrew.org tool is like pyenv - easy to have multiple switchable versions 16:26
<librasteve> with the zef package manager you have 16:28
<librasteve> # Install to a custom locations --install-to=<id> # site/home/vendor/perl, or -to=<id> # inst#/home/some/path/custom
<librasteve> raku.land/github:ugexe/zef
<librasteve> btw the default ofr both zef and rakubrew is to install in the user local folders ... so you have to explicitly setup shared dirs if you want a systemwide install 16:30
tonyo it is most likely you have v55 installed, with the current `main` you will get feedback immediately. Manifest0 are you able to email me the file it is uploading (send me a pm)? if you are good with git then i can send you instructions on how to install fez from latest main and maybe those errors will be a little more helpful (or avoid whatever bug the lambdas have) 17:00
18:25 habere-et-disper joined
habere-et-disper is it intentional that... 18:26
m: say so ' ' + 1 == 1 18:27
camelia True
habere-et-disper while...
m: say so ' '.succ == 1
camelia False
habere-et-disper it seems they should both operate in numeric context, yet we get different results in these two cases 18:29
disbot3 <librasteve> habere-et-disper: what is the intention of ''.succ ... is that to make the successor to a '' Str? 18:33
habere-et-disper according to the docs, i think it means the same as `.Numeric.succ` in which case i thought they may be required to be consistent ? 18:35
docs.raku.org/routine/succ
i think i'm reading the docs wrong. that was for the allmorph case. 18:37
disbot3 <librasteve> docs.raku.org/routine/succ#(Str)_method_succ says Returns the string incremented by one. so I wonder what you think the right result is when you increment '' by one?
<librasteve> (hint: it's gonna be a Str)
habere-et-disper space doesn't fall into a natural range and so is not being incremented i guess 18:39
it seems the same holds true for a lot of ascii characters that don't have an obvious range, eg... 18:41
m: say ('@'.succ).raku
camelia "\@"
disbot3 <librasteve> The actual increment step works by mapping the last alphanumeric character to a character range it belongs to, and choosing the next character in that range, carrying to the previous letter on overflow. 18:42
<librasteve> m: say 'α'.succ 18:43
<Raku eval> β
<librasteve> oh - I read '' as Str with no chars, same outcome I guess 18:44
<librasteve> m: say ' '.encode 18:47
<Raku eval> utf8:0x<20>
<librasteve> m: say ' '.succ.encode
<Raku eval> utf8:0x<20>
<librasteve> same
<librasteve> guess that if no applicable sequence is found then just get the original Str unchanged 18:48
habere-et-disper =b 18:49
disbot3 <librasteve> huh?
<librasteve> habere-et-disper: so now I wonder what you think ' ' == 1 does 18:51
habere-et-disper thumbs up / 👍 / =b 18:52
disbot3 <librasteve> lol 18:53
<librasteve> that's why I hang out here ... to learn stuff 18:54
19:10 Sussy joined 19:11 Sussy left 19:19 habere-et-disper left 19:25 habere-et-disper joined, Sussy joined 19:31 Sussy left 19:32 Sussy joined, Sussy left 20:57 habere-et-disper left 21:41 lizmat joined 22:22 habere-et-disper joined, librasteve_ left 23:26 habere-et-disper left 23:31 habere-et-disper joined