🦋 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 getting closer to beta. If you're a beginner, you can also check out the #raku-beginner channel! Set by lizmat on 25 August 2021. |
|||
00:06
reportable6 left
00:09
reportable6 joined
00:27
mtj joined
00:36
linkable6 joined
01:07
slowtype- left
01:55
slowtyper joined
02:53
epony left
03:53
squashable6 left,
bisectable6 left,
quotable6 left,
releasable6 left,
coverable6 left,
statisfiable6 left,
sourceable6 left,
shareable6 left,
greppable6 left,
nativecallable6 left,
unicodable6 left,
tellable6 left,
committable6 left,
linkable6 left,
benchable6 left,
notable6 left,
evalable6 left,
reportable6 left,
bloatable6 left,
releasable6 joined
03:54
coverable6 joined,
shareable6 joined,
reportable6 joined
03:55
committable6 joined,
linkable6 joined,
statisfiable6 joined
03:56
bisectable6 joined
04:52
ssujen joined,
ssujen left
04:54
evalable6 joined,
greppable6 joined,
unicodable6 joined,
squashable6 joined
04:56
tellable6 joined,
bloatable6 joined,
quotable6 joined
05:52
mexen joined
05:53
notable6 joined
05:55
benchable6 joined,
sourceable6 joined
06:06
reportable6 left
06:07
reportable6 joined
06:46
Darkcoal joined
06:54
nativecallable6 joined
07:15
Darkcoal left,
Darkcoal joined
07:52
Sgeo left
08:13
abraxxa joined,
abraxxa-home joined
08:19
abraxxa left
08:20
abraxxa joined
08:34
nine left,
m_athias left,
nine joined
08:35
m_athias joined
08:45
Darkcoal left
08:48
Darkcoal joined
09:10
Darkcoal left
09:13
Darkcoal joined
09:58
Darkcoal left
10:00
Darkcoal joined
10:13
Arathorn left,
anight[m] left,
Zgredu[m] left,
andrea[m] left,
CIAvash left,
unclechu left,
AlexDaniel left
10:18
CIAvash joined,
Darkcoal left
10:21
Darkcoal joined
10:48
AlexDaniel joined,
Arathorn joined,
andrea[m] joined,
unclechu joined,
Zgredu[m] joined,
anight[m] joined
11:06
Kaipi left
11:07
Kaiepi joined
11:46
sena_kun joined
12:07
reportable6 left
|
|||
Geth | ecosystem: 2471c5384a | (Elizabeth Mattijsen)++ | META.list Freeze Time::DurationParser While it is being moved to the zef ecosystem |
12:38 | |
ecosystem: 771fd3e897 | (Elizabeth Mattijsen)++ | META.list The Form module now lives in the zef ecosystem |
|||
12:50
epony joined,
MasterDuke left
12:51
Darkcoal left
12:53
Darkcoal joined
13:30
frost joined
13:38
curiosa joined
14:01
curiosa left
14:10
reportable6 joined
14:12
abraxxa left
|
|||
Geth | ecosystem: 2002a0b174 | (Elizabeth Mattijsen)++ | META.list Freeze Marpa While we're moving it to the zef ecosystem |
14:18 | |
14:22
frost left
|
|||
japhb | lizmat++ # Ecosystem movement | 14:23 | |
kawaii_ | Any ideas why this type check fails and complains about being fed a UUID when well... That's exactly what it's supposed to be? `Type check failed in assignment to $!uuid; expected UUID but got UUID (UUID.new(bytes => Bu...)` / `my $user = User.^load(uuid => %request<auth>);`, in this case `%request<auth>` is technically a string I guess but it should validate as a UUID... I also tried `my $user = User.^load(uuid => UUID.new(%request<auth>));` | 14:40 | |
but for some reason UUID complains about being passed multiple arguments when I clearly have only passed it one. | |||
lizmat | does running with --ll-exception provide any pointers? | 14:46 | |
kawaii_ | hmm the error output looks no different with that flag added | 14:49 | |
I'll make a paste with more complete code in a moment | |||
lizmat | you should have more :-) | ||
ok | |||
kawaii_ | I stripped out anything irrelevant www.irccloud.com/pastebin/eXJq1i1B/ | 14:51 | |
%request<auth> contains a string which in this case is a UUID-like object, and my database does indeed contain a single entry in the User model with a valid UUID in the uuid column | 14:52 | ||
lizmat | kawaii_: perhaps better asked on #cro :-) | 14:54 | |
kawaii_ | I had a slight suspicion Cro might be responsible for my issue, I'll go bother them soon if I don't make any progress myself :) | 14:55 | |
lizmat | kawaii_: also, make sure you have the latest versions of IO::Socket::Async::SSL and HTTP:HPACK | 14:56 | |
if you're using 2022.02 | |||
japhb | kawaii_: Actually, on #red might be good too. Does Red know how to inflate/deflate a UUID from the DB? | ||
guifa | Is it possible there are two separate UUID classes? (maybe one from Red and one from Cro?) | 14:57 | |
kawaii_ | ugh, that's a good point | ||
guifa | i haven't yet jumped into either yet, but UUID is one of those things that's so simple I can see many people making one to avoid dependency hell. Maybe if you use UUID(Str()) ? | 14:59 | |
Clunky but I'd assume any UUID package could coerce to-from strings | 15:00 | ||
15:00
Geth left,
Geth joined
15:01
abraxxa-home left
|
|||
kawaii_ | guifa: interesting, `Impossible coercion from 'Str' into 'UUID': no acceptable coercion method found` | 15:02 | |
guifa | lol someone needs to update their UUID to add a COERCE method hahaha | ||
(sorry, that's not helpful for you though righ tnow) | |||
guifa pokes SmokeMachine | 15:03 | ||
15:05
Geth left,
Geth joined
|
|||
Altreus | Maybe Raku should try new as one of its coercion methods :) | 15:11 | |
lizmat | it is! it coerces a type object into an instance! :-) | 15:12 | |
Altreus | gosh | ||
:D | |||
15:29
curiosa joined
|
|||
Geth | ecosystem: 5f662900d2 | (Elizabeth Mattijsen)++ | META.list Freeze XML::Query While it is being moved to the zef ecosystem |
15:30 | |
15:30
tbrowder left,
tbrowder joined
15:33
Sgeo joined
15:40
curiosa left
15:49
sena_kun_ joined
15:50
sena_kun left
16:45
mexen left
|
|||
Geth | ecosystem: 62a0f71d89 | (Elizabeth Mattijsen)++ | META.list Freeze IO::Notification::Recursive While it is being moved to the zef ecosystem |
17:11 | |
17:14
jjido joined
|
|||
[Coke] | I have lost my instructions on how to get a raku run in devenv on windows. anyone have a sample command ? | 17:15 | |
17:15
mexen joined
17:19
mexen left
17:20
mexen joined
|
|||
[Coke] | figured it out in the gui. "raku.exe has triggered a breakpoint" | 17:23 | |
17:39
euandreh joined
17:45
jjido left
17:47
[Coke] left
17:49
jjido joined
17:50
[Coke] joined
17:57
Geth left,
Geth joined
18:05
sena_kun_ left
18:08
reportable6 left
18:09
reportable6 joined
|
|||
[Coke] | m: say (-2³¹+1).chr | 18:26 | |
camelia | Codepoint -2147483647 (0x-7FFFFFFF) is out of bounds in 'chr' in block <unit> at <tmp> line 1 |
||
[Coke] | m: say (-2³¹).chr | ||
camelia | Codepoint -2147483648 (0x-80000000) is out of bounds in 'chr' in block <unit> at <tmp> line 1 |
||
SmokeMachine | japhb: yes, Red does know how to handle UUID | 18:50 | |
18:51
sjn left
|
|||
SmokeMachine | github.com/FCO/Red/blob/ba22ca8b90...ver/Pg.pm6 | 18:55 | |
19:20
sjn joined
19:25
mexen left
19:33
MasterDuke joined
|
|||
Geth | ecosystem: 5a68db66e3 | (Elizabeth Mattijsen)++ | META.list Freeze XML::Canonical While we're moving it to the zef ecosystem |
19:57 | |
19:58
djerius left
19:59
djerius joined
20:11
stanrifkin joined
|
|||
stanrifkin | is there something like symbolic references in raku? | 20:11 | |
ugexe | m: my $foo = 42; say $::("foo") | 20:16 | |
camelia | 42 | ||
ugexe | m: class Foo { method bar { 42 } }; say ::("Foo").bar | ||
camelia | 42 | ||
stanrifkin | ok. i just have to qualify it. thank you. | 20:18 | |
20:31
stanrifkin left
20:40
euandreh left
21:08
Darkcoal left
22:08
evalable6 left,
linkable6 left
22:27
MasterDuke left
22:44
MasterDuke joined
23:07
jjido left
23:09
linkable6 joined
23:11
evalable6 joined
23:22
euandreh joined
|