00:17 [Coke] joined 00:42 ds7832 left 00:44 itaipu joined 00:51 itaipu left 00:56 arkiuat left 01:01 arkiuat joined 01:06 arkiuat left
aruniecrisps I'm running into a weird bizare issue with Red @SmokeMachine , it looks like for some reason that whenever I try and read a record, it's not able to fetch the record from the database in time for me to pass it into the next call 01:10
01:11 itaipu joined
I think it had something to do with me trying to mixin a role Base with $.id, $.created-at, and $.updated-at into a model, but I would imagine it should work 01:14
01:35 arkiuat joined 01:40 arkiuat left
SmokeMachine aruniecrisps: can I see your code, or some simplification reproducing the problem? 01:54
aruniecrisps let me do one thing, i'll make the repo visible on gitlab so you can check it out yourself 01:55
actually here's a simplification. Dictionary::Models::Base (lib/Dictionary/Models/Base.rakumod) unit role Base; has $.id is serial; has $.created-at is column; has $.updated-at is column; Dictionary::Models::Word (lib/Dictionary/Models/Word.rakumod) use Red:api<2>; use Dictionary::Models::Base; unit model Word is table<words> does Base; also is rw; also is export; has Str $.raw-text is column; has Bool 02:00
$.is-root is column = True; method get-by-raw-text(Str $raw-text) { self.^all.grep({ $_.raw-text eq $raw-text && $_.is-root }).head } place of invocation: my Word:D $word .= get-by-raw-test: "hello" # this does return a Word:D say $word.id # this breaks for some bizarre reason, but it used to work earlier
here is the source code for it 02:01
gitlab.com/pikaachu/himal_dictionary
02:04 arkiuat joined 02:09 arkiuat left
SmokeMachine What can you share how you run it and what happens if you add my $*RED-DEBUG = True? 02:12
aruniecrisps I run it using cro run 02:17
This is the error that I'm getting ⚠ himal_dictionary Cannot resolve caller id(Word:D: ); none of these signatures matches: ⚠ himal_dictionary (Mu:U $:: *%_) ⚠ himal_dictionary in block at /Users/arun/Documents/Projects/himal_dictionary/lib/Himal/Dictionary/Controllers/WordController.rakumod (Himal::Dictionary::Controllers::WordController) line 16 ⚠ himal_dictionary in block at 02:18
/Users/arun/.rakubrew/versions/moar-2025.10/install/share/perl6/site/sources/08DFB760AE86E2105218582ABE7C68E786031553 (Cro::HTTP::Router) line 201 ⚠ himal_dictionary in block at /Users/arun/.rakubrew/versions/moar-2025.10/install/share/perl6/site/sources/08DFB760AE86E2105218582ABE7C68E786031553 (Cro::HTTP::Router) line 197 ⚠ himal_dictionary ⚠ himal_dictionary [ERROR] 500 /word/%D9%BE%D8%A7%D9%86%DB%8C - ::1
SmokeMachine I’ll have to take a look at it tomorrow after day job, sorry… 02:20
aruniecrisps No worries, take your time, this is a side project for me as well so I'll probably have a look at it tomorrow
02:21 simcop2387 joined 02:27 hulk joined 02:28 kylese left 02:35 arkiuat joined 02:42 arkiuat left 03:07 arkiuat joined 03:12 arkiuat left 03:15 hulk left, kylese joined 03:25 arkiuat joined 03:30 arkiuat left 03:32 Aedil joined 03:56 arkiuat joined 04:01 lichtkind_ joined 04:02 arkiuat left 04:04 lichtkind left 04:30 arkiuat joined 04:35 arkiuat left 04:57 oodani left 04:58 arkiuat joined, oodani joined 05:00 lichtkind__ joined 05:02 lichtkind_ left 05:03 arkiuat left 05:31 arkiuat joined 05:36 arkiuat left 05:48 lizmat_ joined 05:50 arkiuat joined, oodani_ joined 05:51 sorenson_ joined, hulk joined 05:52 justache- joined, coverable6__ joined 05:53 vrurg_ joined 05:55 arkiuat left 05:56 nativecallable6_ joined, evalable6 left, notable6 left, sorenson left, kylese left, bisectable6 left, shareable6 left, coverable6 left, greppable6 left, justache left, committable6 left, benchable6 left, tellable6 left, oodani left, lizmat left, vrurg left, evalable6 joined, shareable6 joined, notable6 joined, benchable6 joined, committable6 joined, nativecallable6 left, tellable6 joined, sorenson_ is now known as sorenson 05:58 bisectable6 joined 05:59 greppable6 joined 06:22 arkiuat joined 06:28 arkiuat left 06:43 arkiuat joined 06:47 arkiuat left 06:52 abraxxa joined 06:59 abraxxa1 joined, abraxxa left 07:16 arkiuat joined 07:21 arkiuat left 07:33 arkiuat joined 07:37 arkiuat left 07:44 arkiuat joined 07:48 arkiuat left 08:00 arkiuat joined 08:06 arkiuat left 08:19 arkiuat joined 08:24 arkiuat left, silug joined 08:25 silug5 left 08:26 Sgeo left 08:35 arkiuat joined 08:39 arkiuat left 08:45 arkiuat joined, melezhik joined 08:50 arkiuat left 08:57 dakkar joined 09:13 lizmat_ left, lizmat joined 09:20 arkiuat joined 09:25 arkiuat left
ab5tract aruniecrisps please use pastes when if possible. The distbot can’t do your code justice 09:41
09:45 arkiuat joined 09:50 arkiuat left 10:18 arkiuat joined 10:24 arkiuat left 10:41 justache- is now known as justache 10:46 arkiuat joined 10:51 arkiuat left 11:18 arkiuat joined 11:28 arkiuat left 11:40 arkiuat joined 11:44 arkiuat left 11:47 arkiuat joined 11:55 arkiuat left 12:20 arkiuat joined 12:25 arkiuat left 12:28 arkiuat joined 12:33 arkiuat left 12:40 hulk left 12:42 kylese joined 12:48 arkiuat joined
Geth advent: antononcube++ created pull request #127:
docs:Added proposed titles for 2025 advent articles.
12:52
12:54 arkiuat left
antononcube @librasteve I assume after posting the drafts in Advent's WordPress account, I can not just edit them, but also significantly change them. Right? 12:54
13:20 arkiuat joined 13:47 arkiuat left 13:48 arkiuat joined
Geth advent: tbrowder++ created pull request #128:
add my info
13:54
advent/main: 69bb8865a7 | (Tom Browder)++ | raku-advent-2025/authors.md
add my info
13:55
advent/main: b846f7a203 | (Tom Browder)++ (committed using GitHub Web editor) | raku-advent-2025/authors.md
Merge pull request #128 from tbrowder/main

add my info
tbrowder ok, gang, who's next 13:56
13:57 arkiuat left 14:02 arkiuat joined 14:05 jgaz joined 14:11 arkiuat left 14:35 arkiuat joined 14:45 arkiuat left 14:51 arkiuat joined 14:52 orangebot joined 14:56 arkiuat left
tbrowder ping 15:06
librasteve pong 15:09
i have an advent up the sleeve
or two
tbrowder i’m sorry i messed up the advent pr merge and the overlap between antononcube needs fixing. he was first but i didn’t notice it. been having internet problems here 15:10
librasteve @antononcube all authors should have DRAFT edit rights on the advent wordpress, I guess that means you have full control until the post is scheduled for publish 15:11
15:25 arkiuat joined 15:32 abraxxa1 is now known as abraxxa
tbrowder librasteve: can you (or someone else) fix the merge jam on github/raku/advent/raku-advent-2025/authors.md? antononcube was first. 15:32
with 3 entries
i only had 1 15:33
thanks 🙏🏻
15:33 arkiuat left 16:00 arkiuat joined
Geth advent/main: 44be8e8c15 | antononcube++ | raku-advent-2025/authors.md
docs:Added proposed titles for 2025 advent articles.
16:03
advent/main: aa98e6f6c9 | (Will Coleda)++ (committed using GitHub Web editor) | raku-advent-2025/authors.md
Merge branch 'main' into master
advent/main: 19003d765a | (Will Coleda)++ (committed using GitHub Web editor) | raku-advent-2025/authors.md
Merge pull request #127 from antononcube/master

docs:Added proposed titles for 2025 advent articles.
[Coke] I think i fixed it. no idea why its referring to master there 16:04
16:05 arkiuat left 16:18 arkiuat joined 16:20 abraxxa left 16:24 arkiuat left
aruniecrisps @ab5tract oooh got it I'll keep that in mind thanks for the heads up 16:26
tbrowder that’s my fault. i should have made the input via the online editor. i need to fix my source git repo 16:32
[Coke] anyway, looks like main now has both sets of changes. 16:34
tbrowder thanks so much! 16:36
16:50 arkiuat joined 16:56 arkiuat left 17:00 arkiuat joined 17:05 arkiuat left 17:30 arkiuat joined 17:35 arkiuat left
SmokeMachine aruniecrisps: Reproduced... I'll try to fix it... usercontent.irccloud-cdn.com/file/.../image.png 17:35
17:37 dakkar left
aruniecrisps @SmokeMachine awesome, thanks! 17:47
17:48 arkiuat joined 17:53 orangebot left 17:54 arkiuat left 18:09 arkiuat joined 18:17 arkiuat left 18:32 arkiuat joined 18:40 arkiuat left 18:44 arkiuat joined 18:49 arkiuat left 18:53 arkiuat joined 19:05 arkiuat left 19:21 librasteve_ joined
librasteve_ rakudoweekly.blog/2025/11/17/2025-...lease-187/ 19:24
19:26 arkiuat joined
librasteve tbrowder: I hereby nominate you as (joint) shepherd of the advent calendar - please make a PR to space out any boring repeats ;-) 19:27
lizmat librasteve_ ++ 19:29
19:30 arkiuat left 19:41 arkiuat joined 19:46 arkiuat left 19:58 arkiuat joined 20:04 arkiuat left 20:22 arkiuat joined 20:45 melezhik left
tbrowder thnx but i’m too ancient to hndl the action (too many ffs [finger fumbles]) 21:18
21:31 librasteve_ left, Aedil left 22:01 arkiuat left 22:02 arkiuat joined 22:35 arkiuat left 22:36 arkiuat joined 22:40 arkiuat left 22:53 arkiuat joined
patrickb I have a module that should conditionally use the new var-arg feature of rakudo 2025.12 onwards. The code will fail to compile on older rakudos though. How can I guard that code? 22:57
I guess something with BEGIN...
22:57 arkiuat left
patrickb git.sr.ht/~patrickb/Terminal-API/t...akumod#L91 <-- this line should read `sub ioctl(int32, uint64, **@varargs --> int32) is native {*}` and be guarded to be invisible on older rakudos. 23:00
23:00 arkiuat joined 23:05 arkiuat left
patrickb Maybe something like this?: EVAL BEGIN { if $*RAKU.compiler ~~ /rakudo/ && $*RAKU.compiler.version < v2025.12 { 'sub ioctl(int32, uint64, **@varargs --> int32) is native {*}' } 23:05
23:22 arkiuat joined 23:27 arkiuat left 23:30 Sgeo joined 23:40 arkiuat joined
lizmat m: my $iotcl = try "sub ioctl(int32, uint64, **@varargs --> int32) is native {*}".EVAL 23:49
camelia ( no output )
lizmat m: my $iotcl = try "sub ioctl(int32, uint64, **@varargs --> int32) is native {*}".EVAL; say $iotcl
camelia (Any)
lizmat so that failed 23:50
m: use NativeCall; my $iotcl = try "sub ioctl(int32, uint64, **@varargs --> int32) is native {*}".EVAL; say $iotcl 23:51
camelia (Any)
lizmat hmmm
patrickb: ^^ something like that ?