bjorng
Erlang Core Team
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)
bjorng
I used Advent of Code last year to learn some Elixir. Since I haven’t used Elixir much this year, I am using AOC 2019 as an opportunity to refresh my Elixir skills.
Here is my solution for my solution for Day 1.
NobbZ
There is room for improvement, eg by using
Enuminstead ofStream, and probably even more by doing manual recursion, but as I’m in the area of 0.05ms for part 2, I’ll just leave it as is.egze
That‘s a cool Boilerplate you got there. Gonna borrow it next time
lakret
I will try something new this year, will live stream solving the challenges on Twitch. Today the stream starts at 2pm CET (in 1 hour 15 mins), here’s my channel
Will be using Elixir, and maybe Rust for some challenges.
Last year’s solutions are here.
P.S. First day solution is here. Forgot to switch on “save past broadcasts”, will not forget next time
Next stream will be on Tuesday at 7pm CET.
sasajuric
Here’s my take.
alvises
Hey guys,
here’s mine github repo for this aoc2019: alvises/aoc2019
And
day1.exhttps://github.com/alvises/aoc2019/blob/master/lib/aoc2019/day1.ex
simon
I’m possibly going to have to refactor my repository structure but in any event my solution is here.
The
aocpackage is going to hold common code such as functions to load data from files.Each day will be its own application and, compared to most I imagine, verbose. I like adding tests and some documentation.
simon
I am so pleased that Saša is doing this again this year. His code tends to be incredibly compact and contains some lovely approaches which I’d not have thought about. Today I’ll be learning more about streams from him.
keathley
I did mine in iex and translated to code after the fact: https://github.com/keathley/advent_of_code_2019/blob/master/day1.exs.
patrickcarver
My own stab at Day 1:
https://github.com/patrickcarver/advent-of-code-2019-elixir/blob/master/day01/lib/day01.ex