mathstodon.xyz is one of the many independent Mastodon servers you can use to participate in the fediverse.
A Mastodon instance for maths people. We have LaTeX rendering in the web interface!

Server stats:

2.7K
active users

#adventofcode2023

0 posts0 participants0 posts today
Eugen<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@monkey1" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>monkey1</span></a></span> yeah, I found out about <a href="https://mas.to/tags/guile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>guile</span></a> and got curios about <a href="https://mas.to/tags/scheme" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scheme</span></a> when I researched <a href="https://mas.to/tags/guix" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>guix</span></a> .<br>I appreciate <a href="https://mas.to/tags/clojure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>clojure</span></a> more after the small amount of time I spent on scheme. Especially tooling. <a href="https://mas.to/tags/Calva" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Calva</span></a> is awesome for Clojure! So far I failed to replicate even a small part with <a href="https://mas.to/tags/Emacs" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Emacs</span></a> (which I am also learning as I go)</p><p>Doing <a href="https://mas.to/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> in scheme and learning as I go. Did not reach continuations yet. Heard a lot about them.</p>
Eugen<p><span class="h-card" translate="no"><a href="https://fosstodon.org/@abcdw" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>abcdw</span></a></span> I'm doing <a href="https://mas.to/tags/adventofcode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode2023</span></a> in <a href="https://mas.to/tags/guile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>guile</span></a> and I miss (comment ) blocks and rich-comment-test <a href="https://github.com/matthewdowney/rich-comment-tests" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/matthewdowney/rich-</span><span class="invisible">comment-tests</span></a> </p><p>That would be great to have in <a href="https://mas.to/tags/guile" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>guile</span></a> <a href="https://mas.to/tags/scheme" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>scheme</span></a> . I don't know how people develop without them :)</p>
Jeremy List<p>A few weeks ago I decided to start doing the <a href="https://hachyderm.io/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> exercises in <a href="https://hachyderm.io/tags/CommonLisp" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>CommonLisp</span></a>. Despite barely knowing anything about Lisp I managed the first star without too much trouble beyond having to look a lot of things up. Then for the second star I almost immediately figured out how to do it but spent several days finding out how to express that solution in Lisp without making it too confusing.</p>
franciscoyira<p>I'm super stuck with part 2 of Day 10 of <a href="https://techhub.social/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> but at least I created this cool visualisation of the pipes loop/labyrinth I got in Part 1</p>
Andy F<p>Crazy how much difference the right data structure / <a href="https://toot.community/tags/algorithm" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>algorithm</span></a> for a task makes.</p><p>This week I learned about <a href="https://toot.community/tags/Deterministic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Deterministic</span></a> <a href="https://toot.community/tags/Finite" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Finite</span></a> <a href="https://toot.community/tags/Automata" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Automata</span></a> and <a href="https://toot.community/tags/Nondeterministic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nondeterministic</span></a> Finite Automata just to redo my clunky <a href="https://toot.community/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> day 12 challenge, written in <a href="https://toot.community/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a> <a href="https://toot.community/tags/RustLang" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>RustLang</span></a> </p><p>Runtime for part 1 dropped from 1-2secs to milliseconds. Part 2 also milliseconds 😮 </p><p>Are there any good Rust crates for DFAs/NFAs?</p><p>Many people solved that problem with <a href="https://toot.community/tags/Dynamic" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Dynamic</span></a> <a href="https://toot.community/tags/Programming" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Programming</span></a> - something else for the learn list 😉</p>
ericburden<p>Advent of Code 2023, Day 25</p><p><a href="https://techhub.social/tags/adventofcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode</span></a> <a href="https://techhub.social/tags/adventofcode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode2023</span></a></p>
Juhis<p>Time to wrap up last year's <a href="https://mastodon.world/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a>. It was a lot of fun, I learned a lot of new thing and finished with 36/50 stars.</p><p>I solved puzzles with <a href="https://mastodon.world/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a>, writing explanations and educational tidbits along the way while discussing them and reading solutions from a wide variety of people using different programming languages.</p><p>This retrospective includes a couple of spoilers but is mostly conversational and not about the solutions directly.</p><p><a href="https://hamatti.org/posts/advent-of-code-2023-retrospective/" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">hamatti.org/posts/advent-of-co</span><span class="invisible">de-2023-retrospective/</span></a></p><p><a href="https://mastodon.world/tags/blogging" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>blogging</span></a> <a href="https://mastodon.world/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a></p>
ericburden<p>Advent of Code 2023, Day 24</p><p>Yes, I'm a bit late. Holiday travels put a pause on my <a href="https://techhub.social/tags/adventofcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode</span></a> activities for the year, but here's my AI image for Day 24.</p><p><a href="https://techhub.social/tags/adventofcode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode2023</span></a></p>
Venkatesh-Prasad Ranganath<p>After regularly switching between <a href="https://mastodon.social/tags/Clojure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Clojure</span></a>, <a href="https://mastodon.social/tags/Ocaml" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Ocaml</span></a>, <a href="https://mastodon.social/tags/Rust" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Rust</span></a>, <a href="https://mastodon.social/tags/Elixir" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Elixir</span></a>, and <a href="https://mastodon.social/tags/Scala" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Scala</span></a> to solve <a href="https://mastodon.social/tags/adventofcode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode2023</span></a> puzzles, my head is mush about syntax. Could it have been more worse if I had used more languages, e.g., <a href="https://mastodon.social/tags/Zig" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Zig</span></a>, <a href="https://mastodon.social/tags/Crystal" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Crystal</span></a>, <a href="https://mastodon.social/tags/Nim" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Nim</span></a>? 🤷‍♂️</p>
Alessandra Sierra<p>Day 10 didn't interest me as a puzzle, so I decided to have some fun generating visualizations of the input<br><a href="https://github.com/lambdasierra/adventofcode2023/blob/dc2e1b589fb663eb6be838383f8da3f8b706c874/clojure/src/advent/day10/visualize.org" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/lambdasierra/advent</span><span class="invisible">ofcode2023/blob/dc2e1b589fb663eb6be838383f8da3f8b706c874/clojure/src/advent/day10/visualize.org</span></a></p><p><a href="https://hachyderm.io/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a><br><a href="https://hachyderm.io/tags/Clojure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Clojure</span></a><br><a href="https://hachyderm.io/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a></p>
Jen Costillo :verified:<p>So the follow up on <a href="https://infosec.exchange/tags/adventofcode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode2023</span></a> </p><p>I did finish but with about 20ish stars with of “cheating”. Why? From an earlier post, I was using C and that is a huge disadvantage by the time you get your day 15.</p><p>So I went to c++ to gain maps and other libs to get it done. But at some point with the holiday upon me, I started slacking off and found my checking using a great python programmers repo (@johnathanpaulson on GitHub) I learned a few more libraries to solve things. Particularly day 24, where z3 solver was introduced once I could bloody get it installed. Geeze. </p><p>As I am coding less day to day and driving vision for my team, this was a nice reminder of how to break down problems into something solvable. It’s an important skill even if you are a shit programmer.</p><p>Also the language you use matters. Python clearly is powerful in expediency and clarity. It would take 50-100lines for me to just take in the input file! </p><p>Side note, some of the days I simply could not understand the sample or the goal but a vast majority of the days the story and explanations were great.</p><p>Like many programmers, I’m shy about sharing code until it’s ready. But it will be under @rebelbot on GitHub AdventofCod2023 repo… just need to switch to public. But aren’t we all hear to learn?</p>
Alessandra Sierra<p>back at it with day 9. Kind of neat how part 2 is basically the same as part 1 by using lists instead of vectors</p><p><a href="https://hachyderm.io/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a><br><a href="https://hachyderm.io/tags/Clojure" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Clojure</span></a><br><a href="https://hachyderm.io/tags/AdventOfCodeSpoilers" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCodeSpoilers</span></a><br><a href="https://hachyderm.io/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a></p>
Ryan<p>And the rest is silence. </p><p><a href="https://mograph.social/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a> <br><a href="https://mograph.social/tags/AdventOfCode23" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode23</span></a> <br><a href="https://mograph.social/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a></p>
Catelyn :therian: :boosts_ok_gay: :v_cat: :verifiedplural:<p>Day 25! There we <strong>FUCKING</strong> <em>GO</em></p><p><a href="https://tech.lgbt/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> <a href="https://tech.lgbt/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a></p>
Catelyn :therian: :boosts_ok_gay: :v_cat: :verifiedplural:<p>Day 24! Had to catch up today, took me 3 submission attempts, I hate floating point numbers</p><p><a href="https://tech.lgbt/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> <a href="https://tech.lgbt/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a></p>
RasterInterrupt<p><a href="https://oldbytes.space/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a> 2023 Day 25: Snowverload</p><p>Done. Done! DONE! All 50 stars.</p><p>This is the first year I have completed all the puzzles. I am very happy and a bit exhausted. Many, many thanks to the creator, <span class="h-card" translate="no"><a href="https://hachyderm.io/@ericwastl" class="u-url mention" rel="nofollow noopener noreferrer" target="_blank">@<span>ericwastl</span></a></span>, for giving us this wonderful gift.</p><p><a href="https://adventofcode.com/2023/day/25" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">adventofcode.com/2023/day/25</span><span class="invisible"></span></a></p><p>Code is here:<br><a href="https://github.com/nharrer/AdventOfCode/blob/main/2023/day25/solve_day25.py" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/nharrer/AdventOfCod</span><span class="invisible">e/blob/main/2023/day25/solve_day25.py</span></a></p><p><a href="https://oldbytes.space/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> <a href="https://oldbytes.space/tags/AoC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AoC</span></a> <a href="https://oldbytes.space/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
ericburden<p>Advent of Code 2023, Day 23</p><p><a href="https://techhub.social/tags/adventofcode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode</span></a> <a href="https://techhub.social/tags/adventofcode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>adventofcode2023</span></a></p>
Catelyn :therian: :boosts_ok_gay: :v_cat: :verifiedplural:<p>Day 23! I caused a problem for myself and then got confused :)</p><p><a href="https://tech.lgbt/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> <a href="https://tech.lgbt/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a></p>
RasterInterrupt<p><a href="https://oldbytes.space/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a> 2023 Day 23: A Long Walk</p><p><a href="https://adventofcode.com/2023/day/23" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="">adventofcode.com/2023/day/23</span><span class="invisible"></span></a></p><p>Almost there... Almost there...</p><p>Today, something weird happened. My search algorithm for part 2 found the solution within 3 seconds but wasn't nearly done going through the solution space. In fact, it's still running.</p><p>I don't know what to make of that. Maybe I was just lucky. At this point, I'll just take it. I am a bit tired of improving my O(heat death of the universe) algorithms. It's not my strong suit.</p><p>Code is here:<br><a href="https://github.com/nharrer/AdventOfCode/blob/main/2023/day23/solve_day23.py" rel="nofollow noopener noreferrer" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">github.com/nharrer/AdventOfCod</span><span class="invisible">e/blob/main/2023/day23/solve_day23.py</span></a></p><p><a href="https://oldbytes.space/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> <a href="https://oldbytes.space/tags/AoC" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AoC</span></a> <a href="https://oldbytes.space/tags/Python" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>Python</span></a></p>
Catelyn :therian: :boosts_ok_gay: :v_cat: :verifiedplural:<p>Day 22! My code contains a quintuply nested loop, making it (probably) theoretically O( n5 ) worst case</p><p>I am way past the point of giving a fuck tho, as it takes less than 5 seconds</p><p><a href="https://tech.lgbt/tags/AdventOfCode2023" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode2023</span></a> <a href="https://tech.lgbt/tags/AdventOfCode" class="mention hashtag" rel="nofollow noopener noreferrer" target="_blank">#<span>AdventOfCode</span></a></p>