🦋 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.
tonyo looks like i got a line on a gzipper for fez so no more libz nonsense 00:27
00:55 buildable6 left 00:58 buildable6 joined 00:59 samcv left 01:00 samcv joined 01:02 buildable6 left, buildable6 joined 01:32 derpydoo left 01:42 ProperNoun joined 01:47 ProperNoun left, ProperNoun joined 01:58 buildable6 left 02:01 buildable6 joined 02:36 ProperNoun left 02:37 ProperNoun joined 02:42 ProperNoun left 03:01 buildable6 left 03:03 buildable6 joined 03:30 ProperNoun joined 03:32 ProperNoun left 03:33 ProperNoun joined 03:38 ProperNoun left 04:03 buildable6 left 04:06 buildable6 joined 04:09 cm left, cm joined 04:10 ProperNoun joined, ProperNoun left 04:12 ProperNoun joined 04:17 ProperNoun left 04:28 ProperNoun joined, ProperNoun left 04:29 ProperNoun joined 05:06 buildable6 left, buildable6 joined 05:41 CIAvash joined, chmod222 left 05:42 chmod222 joined 06:06 buildable6 left 06:10 buildable6 joined 07:10 buildable6 left 07:13 buildable6 joined 07:49 jpn joined 07:53 jpn left 07:54 CIAvash left 07:59 jpn joined 08:00 jpn left, jpn joined 08:03 jpn left, jpn joined 08:06 jpn left, jpn joined 08:13 buildable6 left 08:15 buildable6 joined 08:26 sena_kun joined 08:57 RakuIRCLogger__ joined, Geth left 08:58 RakuIRCLogger left 08:59 lizmat left 09:01 RakuIRCLogger__ left, RakuIRCLogger joined 09:15 buildable6 left 09:17 buildable6 joined 09:19 lizmat joined 09:54 derpydoo joined 09:59 Sgeo_ left 10:17 buildable6 left 10:20 buildable6 joined 11:13 jpn left
nemokosch asking mi6 users: is there no way to turn off README regeneration completely? 11:18
I'm confused
I'd like to just keep it as it is, neither disabling "readmefrompod", nor outright deleting that section seems to help, it will just empty the file 11:19
11:20 buildable6 left
lizmat add "enabled = false" to the [ReadmeFromPod] section? 11:20
11:22 buildable6 joined 11:26 buildable6 left, buildable6 joined
nemokosch yeah tried that, didn't help 11:36
11:40 tea3po joined 11:43 tea3po left, tea3po joined, teatwo left 11:47 tea3po left, tea3po joined
lizmat meh, that *should* do the trick :-( 11:49
12:02 Geth joined
nemokosch one really annoying thing about TAP is that it just reports "there were errors" when the test actually throws 12:10
12:22 buildable6 left 12:23 buildable6 joined
I'm getting the idea that snitch has special importance with Junctions 12:28
if you think about it, it's not really easy to perform inline operations on eigenvalues of Junctions
given? nope, binds to the Junction. .&{ ... } ? binds. andthen? also binds 12:29
map doesn't bind but it's kind of a hack relying that all individual values can be treated as a list, and the result of the operation won't be nice
m: use v6.e.PREVIEW; (1|2|3).snitch({ say $_**2 < 4 }) 12:32
evalable6 True
False
False
Raku eval Exit code: 1 No such method 'snitch' for invocant of type 'Int' in block <unit> at main.raku line 1
nemokosch okay, that bot is older, the other one produced it nicely
the problem is that snitch obviously won't allow for useful return values in the callback so I might still hack it with map... 12:33
12:36 jpn joined
hm, maybe given with a type constraint can help? 😼 12:36
m: say do given (1|2|3) -> Any $_ { $_ ** 2 < 4} 12:37
evalable6 any(True, False, False)
Raku eval any(True, False, False)
nemokosch ok .<min> <= (.<mean>&.<median>) <= .<max> given %result; - this felt clever 12:40
ok do given %result.all.value -> Any $_ { .<min> <= (.<mean>&.<median>) <= .<max> };
this feels a little crazy
I mean, not for the same thing
here, there are several tests "at once", all living in the values of the hash
12:41 jpn left
Geth ecosystem: 2colours++ created pull request #623:
Remove GlotIO
12:54
13:16 Xliff left 13:23 buildable6 left, buildable6 joined 13:59 jpn joined 14:04 jpn left 14:11 jpn joined
Geth ecosystem/main: 1a5f5967ec | (Márton Polgár)++ (committed using GitHub Web editor) | META.list
Remove GlotIO (#623)

It has been revived and is now living in zef's ecosystem
14:18
14:23 buildable6 left 14:27 buildable6 joined 14:31 buildable6 left, buildable6 joined 14:38 jpn_ joined 14:41 jpn left
jdv is there supposed to be a sidebar in the new docs site? 14:42
having to scroll/find a type is kinda annoying 14:43
i mean scroll/find on a type's page 14:44
nemokosch There is a sidebar 14:53
jdv do i have to do something to see it? 14:57
also, why are there 2 scrollbars. makes it awkward scrolling sometimes. 14:58
looks the same in ff and chrome... 14:59
15:01 jpn_ left
nemokosch You need to open the sidebar 15:01
jdv interesting. the old site had it there by default i think. the UI could be better. thanks. 15:03
nemokosch Well, it always could. I think it is already better than it used to be 15:04
15:04 jpn joined
There are situations where resolving an issue creates another one; the double scrollbar is such a case 15:06
jdv i don't think so, in that specific regard imho
one would think the majority case for people hitting the docs is to find something and the sidebar can be a big part of that
so its just slower and a bit hidden atm 15:07
nemokosch The sidebar is a bit useless on phone to begin with 15:12
Previously, the site was barely usable on phone, now that i think of it 15:13
jdv who's coding on their phone? 15:14
haha
nemokosch You wouldn't believe how many ridiculous complaints the doc team is facing 15:15
jdv its nice that the ui is responsive but prioritizing a minority use case seems LTA
cool 15:16
nemokosch Having said that, previously it was outright useless. That's a bit different
jdv i used to use the old site all the time and it was fine for me
nemokosch You'd have to scroll down the whole "sidebar" to see anything
jdv on a phone or a regular screen? 15:17
nemokosch The scrolling of the sidebar also wasn't fine, on PC either
It was somehow linked to the content, all scrolled or none 15:19
15:24 derpydoo left 15:25 jpn left 15:27 buildable6 left 15:29 nebuchadnezzar joined 15:30 buildable6 joined 15:48 jpn joined 15:53 jpn left, itaipu left 16:08 itaipu joined 16:28 jpn joined 16:30 buildable6 left 16:32 buildable6 joined 16:36 xinming left 16:38 xinming joined 16:42 jpn left 16:53 derpydoo joined 17:12 jpn joined 17:14 lizmat left 17:17 jpn left 17:25 jpn joined 17:29 jpn left 17:32 buildable6 left 17:35 buildable6 joined 17:40 buildable6 left, buildable6 joined 17:44 jpn joined 17:49 jpn left 18:35 buildable6 left 18:38 buildable6 joined 18:47 notna joined 18:58 Sgeo joined 19:10 notna left 19:14 jpn joined 19:19 jpn left 19:21 jpn joined 19:26 jpn left 19:38 buildable6 left 19:39 buildable6 joined 20:11 jpn joined 20:17 jpn left 20:39 buildable6 left 20:40 buildable6 joined 20:52 greaser|q is now known as GreaseMonkey 20:58 lizmat joined 21:06 jpn joined 21:11 jpn left 21:27 jpn joined 21:36 xinming left 21:38 xinming joined 21:40 buildable6 left 21:41 buildable6 joined 21:45 buildable6 left, buildable6 joined 21:49 jpn left 22:01 sena_kun left 22:03 jpn joined 22:09 jpn left 22:19 jpn joined 22:25 jpn left 22:30 ProperNoun left 22:32 ProperNoun joined 22:37 ProperNoun left 22:41 buildable6 left 22:44 buildable6 joined 23:15 jpn joined 23:19 jpn left 23:39 teatwo joined 23:40 teatwo left 23:42 teatime joined 23:43 tea3po left 23:44 buildable6 left 23:45 buildable6 joined