00:04 hvxgr_ left 00:05 hvxgr_ joined 00:09 hvxgr_ left 00:10 hvxgr_ joined 00:12 vlad_ joined 00:13 Geth left 00:15 vlad left 00:16 hvxgr_ left 00:17 hvxgr_ joined 00:25 hvxgr_ left, committable6 left, leifgunnar left, hvxgr_ joined, japhb left, avuserow left, committable6 joined, eseyman left, avuserow joined, eseyman joined, leifgunnar joined 00:26 japhb joined 00:28 hvxgr_ left 00:44 hvxgr_ joined 00:49 hvxgr_ left 00:55 hvxgr_ joined 01:01 hvxgr_ left, hvxgr_ joined 01:06 hvxgr_ left, hvxgr_ joined 01:11 hvxgr_ left 01:17 hvxgr_ joined 01:38 hulk joined 01:39 kylese left
wayland Question: if I'm in a "start" block, how do I keep the promise halfway through (like return, but return doesn't work in a start block)? 02:02
ugexe could use a vow 02:13
02:15 hulk left, kylese joined
ugexe m: my $p = Promise.new; start { $p.keep(42); sleep 60; }; say $p.result 02:22
camelia 42
japhb For extra points, actually make it a true vow: 02:33
m: my $p = Promise.new; my $v = $p.vow; start { $v.keep(42); sleep 60; }; say $p.result
camelia 42
japhb (Taking a .vow on a Promise ensures that no other holder of that Promise is allowed to mutate it.) 02:34
02:53 avuserow left 02:56 avuserow joined 03:41 nine left, nine joined 05:07 wayland left, wayland76 joined
wayland76 Oh! Those look good. I was getting errors saying I couldn't keep the promise inside the start block, but those examples make it obvious what I was doing wrong. 05:34
06:37 Sgeo left 06:44 wayland76 left, wayland76 joined
Voldenet you can always make it a sub 07:37
m: sub x { return 42; }; say await start x;
camelia 42
07:56 dakkar joined 08:21 belluzj joined 08:27 belluzj left 09:22 hvxgr_ left 09:23 hvxgr_ joined
wayland76 Oh, good idea :) 09:42
apogee_ntv Pushed updates to LLM::Chat, LLM::Data::Inference & LLM::Data::Pipelines, agentic pipelines are closer than ever. 11:25
12:09 acidsys left, acidsys joined 12:14 wayland76 left, wayland76 joined 13:23 simcop2387 left 13:25 simcop2387 joined 14:40 johnjay left 14:41 elcaro left 15:02 elcaro joined 15:35 human-blip left 15:37 human-blip joined 16:11 vlad__ joined 16:12 vlad_ left 16:13 gabiruh left, gabiruh joined 16:18 merpp joined 16:20 sorenson left, sorenson joined, inspork left, inspork joined 16:21 Voldenet_ joined, merp left 16:22 Voldenet left, Voldenet_ is now known as Voldenet 16:31 dakkar left 19:02 notna joined 19:03 human-blip left 19:05 human-blip joined 19:38 notna left 19:47 hwj joined 20:19 jjido joined 20:22 hwj left 20:29 hurufu joined 22:16 Sgeo joined
wayland76 Do we have anything that's at all like n8n / node-red? 22:45
jjido o_o 22:46
wayland76 (I'm planning to make one, but current estimates say it'll be 1-2 years before I start) 22:58
jjido wayland76 and Raku is where you want to start? 23:00
23:14 jjido29 joined 23:16 jjido left, jjido29 is now known as jjido
wayland76 jjido: I'm currently working on adding "Data-Oriented Programming" to Raku as a Slang (ie. Tree manipulation inspired by XPath/XSLT, and Table manipulation inspired by SQL/Spreadsheets/xHarbour/dBase). My schedule says that's going to take me a year. Once that's doing, I'm going to discover how to hook it to user interfaces. The very next thing after that will be a n8n/node-red alike. 23:17
Of course, I could end up getting distracted from that. 23:18
jjido I like the ambition :-)
wayland76 I don't :p . I just want the tools I've been waiting for since about the year 2000. :) 23:19
23:45 hurufu left