Aetherus
Don’t know why the regex ~r/[\W && [^\.]]/x does not work in Elixir. It works pretty well in Ruby.
Anyway, here is my solution:
https://github.com/Aetherus/advent-of-code/blob/master/2023/day-03.livemd
Trending in Challenges
Other Trending Topics
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
New
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Hi everyone!
The first release candidate for the Expert language server project is now available!
We’ve published a press release detai...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #metaprogramming
- #hex
- #security











Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
lud
I like it, it’s very concise.
Mine is quite long, and this does not even contains the code for the Grid helper
But hey, it works
Part 2 is solved in 5ms which I am not very satisfied with.
Aetherus
I’m not satisfied with my Part 2, either. It costs 300ms to run on my computer
code-shoily
Wow this one. Not a dataset I’d like to traverse at midnight. But I love LiveBook. I really do.
seeplusplus
This one took me two hours continuously to get working.
mexicat
I’m not proud of this code, but hey, it works and it’s fast.
https://github.com/mexicat/aoc-2023/blob/main/lib/aoc/day_03.ex
midouest
I got tripped up on an off-by-one error with my ranges in part 1. That’s what I get for staying up late to do this one.
https://github.com/midouest/advent-of-code-2023/blob/main/notebooks/day03.livemd
hq1
Not super happy about that one, I guess the parser emission could’ve been more elegant
https://github.com/aerosol/aoc/blob/main/lib/advent_of_code/day_03.ex
pehbehbeh
Performance of
list_adjecent_numbersis bad but it works…https://github.com/pehbehbeh/adventofcode/blob/main/2023/03.livemd
trnasistor
My beginner’s solution, Day 3 part 1.
My focus was on readability. How I did?
hauleth
Preprocessing:
Part 1:
Part 2: