• AdventOfCode 2022

    From Ralf Fassel@21:1/5 to All on Wed Dec 7 11:48:55 2022
    The event has already started at December 1st (obviously :-),
    but I'd nevertheless like to draw your attention to it:

    https://adventofcode.com/2022/about

    The first 6 days were easily solvable by using TCL.

    Have fun!
    R'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Dean@21:1/5 to Ralf Fassel on Wed Nov 8 13:25:11 2023
    On 7/12/22 20:48, Ralf Fassel wrote:
    The event has already started at December 1st (obviously :-),
    but I'd nevertheless like to draw your attention to it:

    https://adventofcode.com/2022/about

    The first 6 days were easily solvable by using TCL.

    Have fun!
    R'
    Can anybody help me with day 7? Just practising with last year's,
    thought I might try this year's when it comes out. Hence necropost. I
    didn't have much trouble with the first 6 either. And managed 16 in
    2020. Too old to learn functional language nonsense if I can solve it
    in tcl.

    The solution certainly involves nested dictionaries but I'm stumped on
    the best design

    peter

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Peter Dean@21:1/5 to Peter Dean on Thu Nov 9 01:49:20 2023
    On 8/11/23 13:25, Peter Dean wrote:
    On 7/12/22 20:48, Ralf Fassel wrote:
    The event has already started at December 1st (obviously :-),
    but I'd nevertheless like to draw your attention to it:

       https://adventofcode.com/2022/about

    The first 6 days were easily solvable by using TCL.

    Have fun!
    R'
    Can anybody help me with day 7?  Just practising with last year's,
    thought I might try this year's when it comes out. Hence necropost. I
    didn't have much trouble with the first 6 either. And managed 16 in
    2020.  Too old to learn functional language nonsense if I can solve it
    in tcl.

    The solution certainly involves nested dictionaries but I'm stumped on
    the best design

    peter
    Forget about it. Turns out the trick is using glob patterns in dict key, something I'd forgotten about.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Ralf Fassel@21:1/5 to All on Thu Nov 9 11:59:02 2023
    * Peter Dean <peter@invalid.org>
    | On 8/11/23 13:25, Peter Dean wrote:
    --<snip-snip>--
    | > Can anybody help me with day 7?  Just practising with last year's,
    | > thought I might try this year's when it comes out. Hence
    | > necropost.
    --<snip-snip>--
    | Forget about it. Turns out the trick is using glob patterns in dict
    | key, something I'd forgotten about.

    Hmm, I hadn't used dict glob, but regexps to scan the lines.
    If you're interested -> mail me, then I would share my solution...

    R'

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)