6 Aug 2022
SmokeMachine I plan to make it even more powerful with RakuAST once it’s done… 03:26
And here is the grep it uses: github.com/FCO/Red/blob/master/lib...q.pm6#L131 03:27
leont That sounds cool, but I'm not understanding it quite yet 11:30
PrepareCode.pm6#L62 looks like where the magic happens, but just calling func with a type object shouldn't do much, right? 11:31
And $try-again should be False at that point, so the next line should always return?? 11:50
lizmat pretty much looks like that, yes :-) 12:08
SmokeMachine Red::AST have a special Bool method… github.com/FCO/Red/blob/master/lib...ST.pm6#L28 13:24
leont: 👆 13:26
leont I didn't see that one coming 13:29
lizmat hmmm me neither 13:30
SmokeMachine (I hope that become much better with RakuAST) 13:32
leont Yeah, I don't think this can be done in a sane way without RakuAST. I'm surprised you got this far
SmokeMachine I hope it become as simple as a RakuAST —> Red::AST translator 13:35
lizmat: ant that’s why I wanted a easy way of getting the ast of a block… 👆 13:40
lizmat gotcha 13:41
SmokeMachine Would that make sense? 13:44
leont It makes sense on your side, but would it make sense to keep those ASTs around everywhere? 14:02
It's easy to imagine an «ast { ... }» block though 14:07
SmokeMachine I think that could be a way to do that optionally 14:57
leont Also, SQLite supports RETURNING nowadays (since 3.35), I think your docs would be a lot more readable if you used that 16:55
SmokeMachine leont: would mind to create an issue for that? 18:11
I'm preparing a presentation for The Raku Conference about Red and I'm wondering... to run an update for several rows, one could just run a map doing the changes on a ResultSeq and call .save on the returned ResultSeq, like this: `Post.^all.grep(not *.title.ends-with: "!!!").map({ .title ~= "!!!" }).save`... and now I'm wondering... should ResultSeq.sink call .save? 22:55
what do you all think? 22:56
7 Aug 2022
japhb That feels like a level too much of magic. 03:45
SmokeMachine Yes… maybe… 04:08
leont Yeah 10:50
lizmat a .sink could warn the resuls are lost ? 11:08
and/or have an autosave option ? 11:09
SmokeMachine I was thinking on autosaveing… but the warn is a great idea! 11:20
2 Jan 2023
Hi! does anyone have an opinion about this? github.com/FCO/Red/issues/417#issu...1368977147 14:10
1 Apr 2023
SmokeMac` How cool is that?! ChatGPT knows about Red! Look this generated code: gist.github.com/FCO/def7e030c05d72...c4b8fce0e4 13:20
1 Nov 2023
balr0g hello, does anyone know a channel for the Red programming languaje? www.red-lang.org/ 16:47
lizmat this is not it 16:50
SmokeMachine Me neither… 17:14
9 Nov 2023
Uriel_J_Chan Bendiciones2023 07:58
7 Mar 2024
SmokeMachine Wat do you all think about this? github.com/FCO/Red/issues/15#issue...1984646787 22:31
4 Nov 2024
Freezer hello (: 15:26
SmokeMachine Hi!
Freezer I'm gonna be so fr right now I have no clue what this website is :p I found it on wiby.org perchance can you explain it to me! 15:27
SmokeMachine This channel is about Red ORM, a ORM for Raku language… raku.land/zef:FCO/Red 15:29
Freezer wow cool! thanks for the explanation!!! sorry to interrupt 15:32
8 Aug 2025
Blueeee HOLAAAAAAA 01:45
COMO ESTAS
arista ^^ 01:46
11 Aug 2025
SmokeMachine Hi. A new version of Red was just released. On this new version, you can make relationship blocks receive 2 arguments (the model/object it self and the related model) to build more complex joins… as an example, the 2nd example on `Source and Source-id` on the cookbook: fco.github.io/Red/tutorials/cookbook.html 08:57
japhb SmokeMachine++ 16:36
13 Aug 2025
leont That sounds really useful 15:40
SmokeMachine :)
11 Apr 2026
psc Yo men 00:01
and girls
and women
I've got a red now ! 00:02
(well, frankly, I am a red) 00:03