19 Nov 2024 | |||
botato | but I think it affects everyone else including external library code using IO::Path? not just you when you use IO::Barename? on the github I posted an example with 3 separate files, and the monkey patch affecting the third that doesn't use IO::Barename | 15:36 | |
timo | yeah, i thought that's the point of augment | 15:37 | |
i have never used a time travelling debugger apart from rr, which is obviously C-focused; I would be interested to talk about higher-level-language time traveling debugging | 15:38 | ||
for situations where you don't want to use "augment", you can apply a role to an existing object with does or but | 15:40 | ||
botato | I think flowstorm for clojure is especially interesting compared to what'd be possible for most languages, cause you're dealing with 99% immutable data structures, which makes it cheaper to hold onto past copies of data, so it actually works in practice recording a full trace of real programs on a normal laptop | 15:42 | |
timo | right | 15:43 | |
rr does the thing where it only records stuff that makes execution nondeterministic, which i imagine is very common for time travelling debugging implementations. it's in a way "easier" for them to do since they are already at the level of individual assembly instructions and of course syscalls | 15:44 | ||
botato | or I guess for languages with mutable classes, a time travel debugger could store an immutable map that it updates when fields of the class are changed, so it acheives the same effect of recording all the modifications without having to fully copy the class each time it's modified, I'm not sure how time travel debuggers for mutable languages work, I think it's just snapshotting the program at various | ||
points, and when you want to rewind, it actually just goes back to the last snapshot and then replays inputs to go forward until where you wanted to go? | |||
timo | yeah, this "go back to most recent snapshot, then play forward" thing is definitely in RR | 15:45 | |
if your code is purely computation, it can make reverse stepping very slow if you haven't had a syscall in a long while for rr to automatically create a snapshot, but you can also create snapshots manually? | |||
something i'm missing in rr when all i have is the terminal ui of gdb is something akin to a timeline. pernosco has something nice for that | 15:47 | ||
librasteve | botato: I have replicated your example and, yes you are right - thank you for clarifying - I have updated the docs issue to just remove the whole idea of a better and safer augment | 15:49 | |
on the advent thing - I am hoping to pen a couple of items on Cro and HTMX | 15:50 | ||
antononcube | @librasteve Are these, like, five posts? | 15:53 | |
TESTFORTM | Test | 16:32 | |
timo | oh is todd coming over again? | 16:45 | |
[Coke] | I was checking to see if the web chat worked - he reported an issue a few days ago | 16:52 | |
timo | oh you were checking *for* todd, that's what the name is about, | 16:57 | |
ok | |||
librasteve | @antononcube I think a couple means one or, at most, two - I would be happy to see 24 authors and 24 posts ;-) | 17:06 | |
20 Nov 2024 | |||
antononcube | .seen vushu | 01:36 | |
tellable6 | antononcube, I saw vushu 2024-02-05T13:15:31Z in #raku: <.vushu> ab5tract yes from time to time 🙂 | ||
librasteve_ | ab5tract: beta 29 works for me - will keep an eye for regressions | 08:45 | |
appreciate the keepy uppy | |||
ab5tract | Cheers! The REPL got broken so upgrade to beta 30 if that matters to you :) | 08:48 | |
librasteve_ | yep beta-30 also fine | 09:02 | |
antononcube | I used comma-2.0 beta-30 to do debugging of “FEN::Grammar”. I only had minor syntax highlighting issues . | 09:27 | |
ab5tract | Highlighting is mostly beyond my control I’m afraid | 09:49 | |
Geth | advent/main: c3fa6297a2 | (Nigel Hamilton)++ (committed using GitHub Web editor) | raku-advent-2024/authors.md Update authors.md |
11:43 | |
antononcube | There are two Raku packages dealing with chess notations: “Chess” and “FEN::Grammar”. I am considering having a separate package “Chess::Plot” for SVG and other formats plots of chess positions. | 12:18 | |
But maybe those plotting functions should be in “Chess”? | |||
I am not sure how actively developed “Chess” is… | 12:19 | ||
lizmat | I guess you should contact the author Lucien Grondin by issue ? | 12:20 | |
antononcube | Sure. I have not used “c | 12:38 | |
“Chess” yet. I found a bug in “FEN::Grammar” and contacted vushu. | 12:39 | ||
@lizmat Made using "paths" and "Graph" : | 13:49 | ||
cdn.discordapp.com/attachments/633...38ef2& | |||
lizmat | nice | 14:17 | |
antononcube | @vushu I reported a bug in "FEN::Grammar" yesterday and submitted a PR with a fix today. (Sorry, if I a seem too pushy -- I am featuring that package in a blog post and a presentation.) | 16:06 | |
[Coke] | patrickb: are the rakubrew instructions for adding to your powershell profile online or able to be re-printed from a fresh powershell? | 18:55 | |
(I have multiple powershells on this windows box, and only one of them has been setup to run rakubrew, apparently) | |||
found it - full path to installed rakubrew, "init" | 18:57 | ||
(sadly, this newer version of powershell also doesn't do utf8 cleanly | 18:59 | ||
Aha. need to run this instead of chcp 65001 - $OutputEncoding = [Console]::InputEncoding = [Console]::OutputEncoding = New-Object System.Text.UTF8Encoding | 19:23 | ||
What a PITA. | |||
(from stackoverflow.com/questions/494763...owershell) | 19:24 | ||
(also a PITA: trying to quote arguments to raku while in powershell. eep | 19:27 | ||
21 Nov 2024 | |||
Geth | advent/main: edad83e4e2 | (Haytham Elganiny)++ (committed using GitHub Web editor) | raku-advent-2024/authors.md Update authors.md |
04:49 |