🦋 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.
00:14 librasteve joined 00:19 librasteve left 00:47 librasteve joined 00:52 librasteve left 01:20 librasteve joined 01:24 librasteve left 01:31 hulk joined 01:32 kylese left 01:52 librasteve joined 02:01 librasteve left 02:11 librasteve joined 02:15 hulk left, kylese joined 03:14 librasteve left 03:27 librasteve joined 03:45 kylese left 03:48 kylese joined 05:35 soverysour joined, soverysour left, soverysour joined 07:04 soverysour left 07:55 Aedil left 08:05 jjido joined 09:08 apac joined 09:11 abraxxa-home joined 09:12 abraxxa-home left 09:13 abraxxa-home joined 09:15 derpydoo joined 09:24 derpydoo left 09:49 lizmat left 09:53 jjido left 10:12 lichtkind joined 10:23 Sgeo left 10:28 librasteve left 10:32 lizmat joined 10:33 librasteve joined 11:15 lizmat left 11:28 lizmat joined 11:34 librasteve left 11:50 librasteve joined 11:54 librasteve left
tbrowder .seen vrurg 11:58
tellable6 tbrowder, I saw vrurg 2025-04-07T13:25:48Z in #raku-dev: <vrurg> nine: wow, that's quite an achievement!
12:02 apac left 12:08 librasteve joined
tbrowder has anyone used vrurg's JSON::Class module? i have fiddled with it but the documentation is overwhelming for a mere mortal rakunaut. my simple question is, can i feed it a json file and get back the classes needed to extract the data automagically from any json file with the same format? if much manual intervention is needed, then i can do it myself with not too much pain. 12:11
ah, ask ChatGPT to do it for me... 12:32
12:42 apac joined
Voldenet in most languages I use a tool like quicktype.io, but obviously there's no renderer for raku 12:47
s/like// 12:49
tbrowder that's ok, ChatGPT has given me the answer! may need some tweaking, but i know why other rakunauts are using it. as my late brother used to say: "cool beans!" (very cool indeed) 12:55
i will use that in my FinanceAPI module 12:56
Voldenet btw, if you're using free chatgpt, then consider other models
qwen coder if you want to run it locally, deepseek has better accuracy too 12:57
tbrowder it's doing raku quite nicely for my current needs, but i'll take a look sometime when i get a chance. i assume they all need accounts and passwords... 12:59
Voldenet yep, sadly
well, local doesn't, just needs 24GB of vram :>
tbrowder i'm comfy with ChatGPT for now 13:00
Voldenet sure, just a suggestion if you hit the wall with chatgpt 13:01
tbrowder actually, my main local box has about 95 Gb ram
Voldenet it's vram you need though, not ram
tbrowder oh...
Voldenet because models run on large number of cuda cores
tbrowder of course...i forgot...haven't been there since the early days 13:02
yes, i stopped paying for expensive graphics cards a long time ago 13:05
that seemed to be an exponential cost factor, not to speak of the cooling issue 13:06
13:13 apac left 13:15 librasteve left
tbrowder ah, i did look into the models you suggested some time ago when they were mentioned here...too much trouble for me. but then someone here mentioned chatgpt and i tried it, free account is fine for now, and it'comfy like having a quiet conversation with one's patient and kind college prof 13:16
13:23 librasteve joined 13:26 apac joined 13:27 librasteve left
Voldenet aye, it works fairly well outside of coding 13:30
13:35 librasteve joined 13:39 soverysour joined, soverysour left, soverysour joined 13:40 librasteve left 13:45 soverysour left 13:47 stanrifkin joined 13:56 apac left 14:02 librasteve joined 14:28 rba left 14:29 rba_ joined, rba_ is now known as rba
disbot2 <librasteve> I use JSON::Class in the Contact module (raku.land/?q=Contact) 15:19
<librasteve> github.com/librasteve/raku-Contact...ct.rakumod 15:21
<librasteve> tbrowder: ^^ 15:22
15:28 jjido joined 15:48 librasteve left
Voldenet >has Str $.country is required where * eq <USA UK>.any; 15:49
Can't Json::Class use enums?
erm, JSON::Class 15:50
15:55 apac joined 16:00 librasteve joined
Voldenet it can, it could be plain enum probably 16:09
disbot2 <librasteve> github.com/librasteve/raku-Contact/issues/3 16:16
<librasteve> Voldenet: thanks for your review - I have raised an issue and will fix shortly 16:17
<librasteve> always happy to take a PR ! 16:18
Voldenet np, I was actually looking at it to maybe get some tricks for JSON::Class, one can never have too many :) 16:31
and with how many features that lib has, I'm sure I know nothing
like for example, if I made an `enum Foo <Bar>`, how would I force it to serialize as lowercase/uppercase 16:33
16:49 apac left 16:57 librasteve left 16:58 soverysour joined, soverysour left, soverysour joined 16:59 jjido left
tbrowder Voldenet: have you ever tried the paid tiers of chatgpt? 17:14
Voldenet Yes, o1 is amazing 17:16
17:17 librasteve joined
Voldenet but it goes through all the tokens so fast, that it isn't reasonably priced atm 17:17
17:22 librasteve left 17:23 librasteve joined
Voldenet free tier of deepseek is not a lot worse, but it's 100% cheaper, so it's fair comparison imo ;) 17:23
17:37 Aedil joined
tbrowder hm, deepseek i think produces better code, and its faster 17:44
*it's 17:45
and i'm getting better at entering my requests... 17:46
18:11 soverysour left 18:20 librasteve left 18:22 jjido joined 18:33 Sgeo joined 18:52 librasteve joined 19:36 soverysour joined 19:38 apac joined 19:46 soverysour left 20:01 apac left 20:04 melezhik joined
melezhik .tell [Coke]: rakudo head on alpine went fine - since this commit - sparky.sparrowhub.io/report/rakudo-head/24900 20:05
tellable6 melezhik, I'll pass your message to [Coke]
20:08 melezhik left 20:09 jjido left 20:19 abraxxa-home left 20:30 jjido joined 20:47 melezhik joined
melezhik . 20:47
21:38 ACfromTX left 21:47 jjido left 21:49 stanrifkin left 22:02 ACfromTX joined 22:07 kst joined 22:15 librasteve left 22:30 librasteve joined 22:34 librasteve left 22:38 lichtkind left 22:41 librasteve joined 22:45 librasteve left 22:51 lichtkind joined 22:55 ACfromTX left 22:57 melezhik left 23:01 librasteve joined 23:05 librasteve left 23:13 lichtkind left 23:16 ACfromTX joined 23:24 Aedil left 23:27 librasteve joined 23:31 librasteve left 23:52 ulipink joined 23:56 librasteve joined