Aurélien Trotier
atrotier.bsky.social
Aurélien Trotier
@atrotier.bsky.social
MRI engineer at the CRMSB in Bordeaux, France 🇫🇷

Quantitative MRI | MR sequence development | #JuliaLang enthusiast | https://github.com/aTrotier
and for the final version add :

% final version
\renewcommand{\replaced}[3]{%
{#2}
}
December 20, 2024 at 12:55 PM
I was not able to make it works and use the command :

\renewcommand{\replaced}[3]{%
\st{#1} \textcolor{red}{#2 \textsuperscript{#3}}% Strikethrough the first argument and insert the second argument
}
December 20, 2024 at 12:54 PM
Nice, that's really concise !
December 5, 2024 at 3:38 PM
Day 5-part 2 of #AdventOfCode with #JuliaLang
Thanks @incidentalfindings.org for the hint about custom function for sort!()
December 5, 2024 at 2:22 PM
And Day 4 - part 2 #AdventOfCode with #JuliaLang

I wanted to use some kind of convolution/patch package but it was faster to just write a little function.
December 4, 2024 at 1:17 PM
Nice. For part2, does the regex work if the string does not finish by a do() status ?
December 3, 2024 at 8:59 PM
my regex expression generated with ReadableRegex looks awful but works :
RegexString("(?:(?<=(?:mul\\(){1})(?:(?:\\d)+,{1}(?:\\d)+))(?=(?:\\)){1})")
December 3, 2024 at 3:56 PM
Nice use of Regex for part2. I should try to understand it now 😅
December 3, 2024 at 3:47 PM
Finally figure out the part2.
The missing information about keeping or not the status between line was a problem. Thanks @incidentalfindings.org for the help
December 3, 2024 at 3:43 PM
Ahah my bad it works
I guess I made a mistake in my previous code 👍
December 3, 2024 at 3:40 PM
Thanks for the tipis status between line. However even if I join the lines my code fails :/

Any idea ? I can find another way but, seems clever that way.
December 3, 2024 at 3:38 PM
Still having issue with part 2 :/
December 3, 2024 at 3:18 PM