2022-12-02 04:32:33 I rewrote, or rather eliminated the use of while loop (except in io) for day 1: https://gist.githubusercontent.com/neuro-sys/346a69c9c1df4ec6ed7d403aba42f0a7/raw/e56c8d84bd8217747ed54bd8197190c20de4a2bd/12.txt 2022-12-02 04:35:29 Data flow is like this. solve == readline > ["1\n" "2\n" "" "3\n" "4\n"] > maptonum > ["1" "2" "" "3" "4"] > group > [["1" "2"] ["3" "4"]] > map-sum > [3 7] > ... 2022-12-02 04:36:39 If you happen to wish to play with the language you can download it here: https://www.kevinalbrecht.com/code/joy-mirror/joy.tar.gz Remember to edit globals.h to increase the memory size. 2022-12-02 09:46:50 Day 2: https://gist.githubusercontent.com/neuro-sys/346a69c9c1df4ec6ed7d403aba42f0a7/raw/a22982694d529d26cb8d93a9e28d934d82f8f314/22.joy 2022-12-02 09:48:47 Day 2 of? 2022-12-02 09:49:00 Advent of code? 2022-12-02 09:49:18 neuro_sys_: which accent is this? 2022-12-02 09:50:11 olle: Yes, Advent of Code. It's Joy programming language: https://en.wikipedia.org/wiki/Joy_(programming_language) 2022-12-02 09:50:53 You can download it from here: https://www.kevinalbrecht.com/code/joy-mirror/joy.tar.gz But remember to edit globals.h to increase the heap memory if you run with AoC inputs. 2022-12-02 09:51:00 oki 2022-12-02 09:51:21 Is anyone doing it in forth? maybe I can check online? 2022-12-02 09:52:17 I'm considering defining the words of Joy into Forth, so it should be basically the same. 2022-12-02 09:53:14 I had done some of the AoC 2021 with Forth. 2022-12-02 09:53:48 kk 2022-12-02 11:13:32 olle: I did part 1 of day 1 in ANS Forth yesterday 2022-12-02 11:13:41 But honestly I think it's better to work on Bot Forth 2022-12-02 11:25:43 veltas: What is Bot Forth? 2022-12-02 11:27:42 used for bluebirding bots on the birdshite 2022-12-02 11:32:48 I like birds, but my bird brain still doesn't comprehend. 2022-12-02 11:54:51 Well, I'm marrying off a daughter tomorrow. :-) 2022-12-02 11:55:02 Headed out in a little while to do the rehearsal tonight and all the festivities. 2022-12-02 11:55:08 congrats! 2022-12-02 11:55:22 Thanks. I like the kid - seems like a nice guy. 2022-12-02 11:55:53 I've got another daughter that recently was married for about a year, and while I didn't "dislike" her fellow, I never had a strong positive feeling about him. 2022-12-02 11:56:13 Mostly he was just still a boy. I don't think he was really ready for a proper relationship yet. 2022-12-02 11:56:22 Neither was she, really, but you can't talk to kids in that mode. 2022-12-02 11:56:47 kids these days! they'll be the ruin of the Greek Empire 2022-12-02 11:56:53 Fortunately that all unwound smoothly, no kids involved, etc. 2022-12-02 11:57:36 uh, sounds like problems that will emerge for me in more than a decade, so carrying on :) 2022-12-02 11:58:06 Well, maybe not - I think there's a random factor involved. Maybe you'll have good times. 2022-12-02 11:58:38 I figure with five daughters I'll probably see a bit of everything along the way. 2022-12-02 11:58:38 well, I'm sure that the little one will cause a few headaches, she is rebelious already,p 2022-12-02 11:58:56 Oh, my youngest is the most strong-willed thing I've ever seen. 2022-12-02 11:59:10 And she is fully in that "always absolutely right" period at the moment. 2022-12-02 11:59:45 I'm almost there though - the other four are done with college and "launched." Youngest is a high school senior this year. 2022-12-02 12:26:24 KipIngram: No boys? 2022-12-02 12:26:38 Nope - only the girls. 2022-12-02 12:27:39 Wow, that's quite a family, full of women. I can't quite imagine. 2022-12-02 12:27:43 hope the marriage is fun! 2022-12-02 12:27:55 Although I grew up with 2 women only, my mother and sister. They didn't particularly get on well though. 2022-12-02 12:29:47 hell hath not the fury ... 2022-12-02 13:02:24 It is... "interesting" being the only guy around. There are definitely things about women I'll never understand. 2022-12-02 13:31:20 KipIngram: a statement of profound enlightenment 2022-12-02 13:50:03 Actually it's a tautology - something obviously true. :-) 2022-12-02 13:50:24 Of course I don't - I don't have the right genetic hardware. 2022-12-02 13:56:49 There's a nice spin on that in that urban fantasy series The Dresden Files. Our protagonist "thinks at us," Magnum PI style - whole series is from that first person perspective. In one of them he tells us how when a woman has a conversation, she's actually having about seven, at an assortment of different "levels" of significance, indirection, etc. Whereas we men... have a conversation. One. 2022-12-02 13:57:03 So we're kind of doomed to fail before we even start. 2022-12-02 14:12:59 Actually though I feel pretty lucky - my wife seems "less" like that than a lot of women I knew in the past. It's still there to some extent, but it's... not beyond handling. 2022-12-02 14:13:35 Right from the start, when I first met her, I felt like she was particularly mature and sensible for her age. 2022-12-02 14:14:15 I semi-robbed the cradle; I was a day or two shy of 33 when we met; she was 22, in her last semester of college. 2022-12-02 14:16:06 A female colleague of mine was a mentor for the Society of Women Engineers, and knew my wife quite well. She was *not* happy about me latching onto her. I'd been single for a year or so at the time and had a bit of a reputation among folks that knew me. 2022-12-02 14:16:24 Ok; heading out for the wedding - you guys have a great afternoon.