I wrote this blog post about my #AdventOfCode2022 foray into #FunctionalProgramming using the #Elm π³ language and then completely forgot to share it! It was an interesting experience, with the main conclusion that I won't continue using Elm but that I want to keep investigating functional programming patterns and design.
Thoughts welcome π
https://bielsnohr.github.io/2023/02/18/elm-advent-of-code-2022.html
#AdventOfCode2022 #functionalprogramming #elm
I decided to visualize the rope simulation from Advent of Code, day 9 on CodePen: https://codepen.io/DonKarlssonSan/full/wvxXVjp
It's movement is a bit weird in a fun way and the elasticity is very cool. Try it! (mouse or touch)
#creativecoding #AdventOfCode2022 #adventofcode
During #adventofcode2022, I became aware of Stable Diffusion [https://lnkd.in/eMZ-JzDD], despite not being at all interested in #generativeai #ai. After tinkering, the following are 2 images it generated in response to a concept I gave it from a particular song.
If you can tell me which song is behind the seed I gave Stable Diffusion, you win ... err... something.
#ai #generativeAI #AdventOfCode2022
#AdventOfCode2022 #day16 made me fall into a rabbit hole of #dynamicprogramming
I have still not really grokked it but having much fun learning about it.
#AdventOfCode2022 #day16 #dynamicprogramming
After having spent #AdventOfCode2022 solving problems in C, I definitely feel like I have a much better understanding of the language. It was definitely interesting coding while trying to avoid unsafe functions so as not to pick up bad habits. I still can't believe I implemented a hash table for the first time without too much trouble. Still need to finish the last 9 remaining, but definitely have noticed an improvement since day 1!
Lol #AdventOfCode2022 day 7 has been kicking my butt. Figured out how to do tree recursion in a #Scheme though (apparently you still need to use a loop in your recursive function)
Having basically bailed out at day 14, I decided to try and get 1st part of Day 25 and have done it in @SnapCloud - I'm finished now for the year :) https://snap.berkeley.edu/snap/snap.html#present:Username=cymplecy&ProjectName=aoc22Day25&editMode
#adventofcode #AdventOfCode2022 #snapcloud
I may have lost the battle, but the war rages on! #AdventOfCode #AdventOfCode2022
#adventofcode #AdventOfCode2022
My adventures in writing my own #Scheme #Lisp interpreter has actually succeeded in teaching me something about how to use the language. Since discovering my original mental model of the language didn't include improper lists, I've had to figure out how they work in order to implement them and I wound up realizing they were an appropriate data structure for a couple of the #AdventOfCode2022 problems I've solved so far.
#scheme #lisp #AdventOfCode2022
Up to day five of #AdventOfCode2022 in #Guile #Scheme. I might get a week or 10 days done before the holiday is over and I'm too busy to keep doing them again :ms_sweat_smile:
So far this is a lot more fun that when I started doing these in #Rust at the beginning of the month, though I think that's partly bc I was trying to over-engineer a CLI for choosing which day, part, and data set to run.
#AdventOfCode2022 #guile #scheme #rust
Writing an #introduction too;
I'm a hobbyist #surfer, warm #homecook and interested in #degrowth. I live in the Netherlands.
I work as #softwarearchitect who likes learning more about #gcp, #teamtopologies, #dataengineering, #softwarearchitecture and #sociotechnicalsystems and many others. I'm now trying #AdventOfCode2022
follow what I'm reading on https://app.thestorygraph.com/profile/baklava_daddy π
#introduction #Surfer #homecook #degrowth #softwarearchitect #gcp #teamtopologies #dataengineering #softwarearchitecture #sociotechnicalsystems #AdventOfCode2022
Did anyone else just add 2 to every base-5 digit before doing the conversion? Then after calculating the sum, just subtract a value equal to a base-5 number that's "222...2" from the decimal value, and then do a normal conversion of the result to base 5. That avoids the issue of negative digits entirely.
#AdventOfCode #AdventOfCode2022
#adventofcode #AdventOfCode2022
Only got around to the final day's (easy) problem today...but now wrapped up #AdventOfCode2022. And proud to once again regain standing as one of the #AdventOfCode completionists. Thanks for another great year, @ericwastl@twitter.com!
#adventofcode #AdventOfCode2022
So, say I used #AdventOfCode2022 to get better at #Rust. It worked great, but now I want to go further. What's something I can do with Rust to get to the next step?
Not super proud of some days where brute force was used (there is one day that takes 15 minutes or so to run), but, anyway, my #AdventOfCode2022 is here: https://github.com/Sfera-IT/adventofcode2022/tree/main/xanathar
This is what my Advent of Code for this year looks like!
This was my first year doing it and I ended up speedrunning days 1-8 entirely within the past 2 days which is definitely how its meant to be done π.
Overall I enjoyed trying out a new language feature in Python (dataclasses) which I had never used before and experimenting with Github Copilot for the first time.
#adventofcode #AdventOfCode2022 #python
Part 1: easy.
Part 2: not easy. Used {igraph} again, building on learning from Day 12.
Day 18: Boiling Boulders
https://inductivestep.github.io/aoc2022/aoc18.nb.html
#adventofcode #AdventOfCode2022 #rstats
The final day of #AdventOfCode2022 is here, and we are trying to feed some SNAFU to Bob.
Solution: https://gist.github.com/HappyCerberus/1fe81ac6bb7949b9e29e041e8e2b021b
For a commented solution check, my mailing list https://simontoth.substack.com
#AdventOfCode2022 #cpp #coding #learnprogramming #cpp20
#AdventOfCode2022 It's over. Who has solved all puzzels by yourself?
My personal capabilities ended on Day_11. With great problems on Day_9.
:language_python:
#coding
#AdventOfCode2022 is done! It was a fun ride, learnt some things, challenged myself with some fun puzzles, definitely recomend!
Merry Christmas! :D