🦋 Welcome to the MAIN() IRC channel of the Raku Programming Language (raku.org). This channel is logged for the purpose of keeping a history about its development | evalbot usage: 'm: say 3;' or /msg camelia m: ... | Log inspection is still being worked out. If you're a beginner, check out the #raku-beginner channel! Set by lizmat on 16 August 2021. |
|||
00:02
reportable6 left
00:46
lichtkind left
01:46
nativecallable6 left,
quotable6 left,
greppable6 left,
bisectable6 left,
committable6 left,
evalable6 left,
benchable6 left,
releasable6 left,
statisfiable6 left,
notable6 left,
coverable6 left,
unicodable6 left,
bloatable6 left,
shareable6 left,
sourceable6 left,
tellable6 left,
squashable6 left,
committable6 joined,
quotable6 joined
01:47
unicodable6 joined
01:48
releasable6 joined,
squashable6 joined,
statisfiable6 joined
01:49
sourceable6 joined,
bisectable6 joined,
coverable6 joined,
evalable6 joined
02:06
ingy left,
elcaro left
02:07
lucerne left,
elcaro joined,
ingy joined,
lucerne joined
02:21
linkable6 joined
02:32
keutoi joined
02:47
notable6 joined
02:49
bloatable6 joined
03:22
swaggboi left
03:33
swaggboi joined
03:47
tellable6 joined,
benchable6 joined
03:48
nativecallable6 joined
04:08
oodani left
04:09
oodani joined
04:10
oodani left
04:11
oodani joined
04:48
shareable6 joined
05:05
reportable6 joined
05:07
jrjsmrtn left,
jrjsmrtn joined
05:44
Altai-man left
05:49
greppable6 joined
05:50
Altai-man joined
|
|||
keutoi | Is there a way to get a list of modules currently loaded in the repl? | 05:59 | |
06:02
reportable6 left
06:05
reportable6 joined
06:24
neither joined
06:58
jjido joined
07:00
neither17 joined,
neither17 left
07:02
neither left
07:19
jjido left
07:39
jjido joined
07:49
jjido left
|
|||
Geth | doc: 11338f8871 | (JJ Merelo)++ | lib/Test-Files.rakumod Minor doc edits refs #1751 |
08:07 | |
doc: 135f00e57d | (JJ Merelo)++ | doc/Type/Mu.pod6 Merging Mu stuff |
|||
08:08
linkable6 left
|
|||
CIAvash | keutoi: `$*REPO.repo-chain.map(|*.loaded).grep(&so)` | 08:27 | |
08:46
MoC joined
08:50
jjido joined
09:01
jjido left
|
|||
khatar | hello people | 09:21 | |
09:22
khatar is now known as Od1n
|
|||
Od1n | <<. raku|xxd -i | 09:23 | |
print "{'A' x 2}\x80\x50\x0e\x08" | |||
evalable6 | AA␦P␎␈ | ||
Od1n | when doing so, i have an extra \xc2 after 'AA'. raku command doesn't seems to have a binary flag so i wonder what is the shorest way to just write bytes to $*OUT | 09:25 | |
10:11
linkable6 joined
|
|||
CIAvash | Od1n: I'm not sure what is supposed to happen, but you can write binary like this: `$*OUT.write: blob8.new: 65, 65, 80, 50, 14, 8` | 10:23 | |
10:24
lichtkind joined
10:37
solitario left
|
|||
Od1n | CIAvash: thanks! definitely works. | 10:43 | |
any idea to get this shorter? raku -e '$*OUT.write: blob8.new: ("A" x 400).comb>>.ord' | |||
"A".comb just to get 'the byte 'A' is probably overkill | 10:44 | ||
lizmat | "A".ord xx 400 | 10:45 | |
? | |||
Od1n | *that* simple! thank you lizmat | 10:52 | |
Geth | doc: 599c9f0053 | (JJ Merelo)++ | doc/Type/Set.pod6 Revising the `is "Type"` trait examples #2673 |
10:56 | |
doc: e3b95ad82c | (JJ Merelo)++ | doc/Type/Array.pod6 Revising the `is "Type"` trait examples And adding one for `Array` as requested by #2673 |
|||
linkable6 | Link: docs.raku.org/type/Set | ||
10:57
linkable6 left
|
|||
keutoi | CIAvash: Thank you | 11:07 | |
repo-chain is not documented in CompUnit::Repository where it is defined. Is this deliberate? | 11:26 | ||
lizmat | keutoi: not sure, actually, ugexe nine might know | 11:32 | |
keutoi | lizmat: Since unstable API's might not be documented, is there a way to differentiate b/w unstable API and undocumented API? | 11:50 | |
lizmat | well, if a method is marked with the "is implementation-detail" trait, then you're sure that you have an unstable API | 11:51 | |
keutoi | Then is it acceptable to create the documentation(in raku) for methods that do not have this trait(in rakudo)? | 11:53 | |
lizmat | m: dd CompUnit::Repository::FileSystem.can("repo-chain") # looks like repo-chain isn't marked as such | ||
camelia | (method repo-chain (CompUnit::Repository::FileSystem: *%_) { #`(Method|62853008) ... },) | ||
lizmat | keutoi: ideally yes | ||
thing is, that area of Raku is still a bit handwavy | 11:54 | ||
so, when there is a PR for a documentation fix, it might mean that people suddenly realize something should be marked as "implementation-detail" | |||
keutoi: but if you would like to put in the work on that, it *will* be appreciated and may wind up as internals documentation anyway :-) | 11:55 | ||
keutoi | So It is better to report it. It either ends up updated as implementaion-detail or the documentation gets added. | 11:56 | |
lizmat: Thank you | |||
lizmat | ++keutoi | ||
11:57
evalable6 left,
silug left
11:58
linkable6 joined
12:01
jrjsmrtn left
12:02
reportable6 left
12:25
donaldh joined
12:26
Sgeo left
12:44
sena_kun joined
12:56
jrjsmrtn joined
13:42
keutoi left
13:44
keutoi joined
13:51
mattil joined
13:52
jess joined
14:04
reportable6 joined
14:08
jjido joined
14:20
keutoi left
14:21
jjido left
14:27
MoC left,
masak joined
14:32
keutoi joined
14:41
sena_kun left
14:55
jjido joined
14:59
evalable6 joined
15:14
donaldh left
16:14
evalable6 left,
linkable6 left
16:15
linkable6 joined
16:22
keutoi left
16:25
keutoi joined
|
|||
Geth | doc: k3ut0i++ created pull request #3936: fix file truncate and extrapolation errors in stub doc generation, #3906 |
16:36 | |
16:37
linkable6 left
17:11
jjido left
17:13
b2gills left,
b2gills joined
17:34
monkey_ joined
17:38
linkable6 joined
18:02
reportable6 left
18:04
monkey_ left
18:10
keutoi left
18:21
jjido joined
18:39
monkey_ joined
|
|||
casaca | hey rakuns, just wanted to showoff my wip modules. any kind of opinion or comment welcomed. git.sr.ht/~nut/raku-otp | 18:40 | |
git.sr.ht/~nut/raku-poly1305 | |||
19:05
reportable6 joined
19:13
monkey_ left,
monkey_ joined
|
|||
El_Che | new rakudo? | 19:29 | |
that means new rakudo-pkgs | |||
moon-child | casaca: 'has $.secret where Str|Blob; # required' can be 'has $.secret is required where Str|Blob' | 19:42 | |
19:43
mattil left
|
|||
moon-child | casaca: use of ternary in OTP.rakumod seems weird. I definitely would either turn that into a straight if/else or factor out the 'current-time ='. But you can also do $current-time = $!posix-time || now.to-posix.head.Int - T0 | 19:44 | |
casaca: Generate.rakumod: '$secret = $secret.encode('ascii')' can be '$secret .= encode('ascii')' | 19:46 | ||
19:50
Sgeo joined
20:15
monkey_ left
20:17
evalable6 joined
21:11
jjido left
|
|||
El_Che | weekly: linux packages for 2021.08: github.com/nxadm/rakudo-pkg | 21:16 | |
notable6 | El_Che, Noted! (weekly) | ||
22:11
notable6 left,
evalable6 left,
linkable6 left
22:12
evalable6 joined
22:14
linkable6 joined,
notable6 joined
23:09
monkey_ joined
|