connorlay

connorlay

Advent Of Code 2018

Note by the Moderators: This topic is for general discussion about the Advent of Code 2018.

To prevent people from being spoiled about specific challenges if they don’t want to, each day has been given its own topic. Please post information about a specific challenge there:


Happy December! :christmas_tree:

Is anyone here using Elixir for the 2018 Advent Of Code? I just finished the day 1 challenge and found using a functional language to be a great fit for the problem. You can see my solutions here: https://github.com/connorlay/advent_of_code_2018

Cheers!

Most Liked

sasajuric

sasajuric

Author of Elixir In Action

Even though I didn’t plan on doing AoC this year, after solving one task I got hooked :slight_smile:
Based on the experience from the past year, I decided to consolidate my solutions into a single mix project. This allowed me to extract some common helper (e.g. Enum helpers), which helped me clean up the code of the actual solutions, and make it a bit more expressive (e.g. see my take on day 1)

sneako

sneako

Looks like the streams will start tomorrow
Check out @josevalim’s Tweet:
https://twitter.com/josevalim/status/1068770108124712960?s=09

JEG2

JEG2

Author of Designing Elixir Systems with OTP

I’m working the problems in Elixir as well: https://github.com/JEG2/advent_of_code_2018

NobbZ

NobbZ

I started as well with elixir, but this year it is only my secondary language, primary is rust, I might need it for my job next year.

Its a bit sad though, that I can’t find todays livestream on twitch… @josevalim’s last activity seems to be from a week ago :frowning:

Where Next?

Popular in Challenges Top

ehayun
I have 2 arrays: a1 can be any combination of value or nil like that a1 = [1,nil,3] and array 2 the same a2 = [4,2, nil] How do I com...
New
gangstead
This is my second year doing AoC in Elixir and my first year doing it with Livebook. When I was doing just plain Elixir I usually set up...
New
sasajuric
Note by the Moderators: This topic is to talk about Day 5 of the Advent of Code. For general discussion about the Advent of Code 2018 an...
New
NobbZ
Note by the Moderators: This topic is to talk about the Day 2 of the Advent of Code. For general discussion about the Advent of Code 201...
New
bjorng
This topic is about Day 9 of the Advent of Code 2021 . We have a private leaderboard (shared with users of Erlang Forums): https://adve...
New
Aetherus
This topic is about Day 7 of the Advent of Code 2020 . Thanks to @egze, we have a private leaderboard: https://adventofcode.com/2020/le...
New
bjorng
Note: This topic is to talk about Day 13 of the Advent of Code 2019. There is a private leaderboard for elixirforum members. You can joi...
New
rugyoga
Fairly straightforward Dijkstra’s algorithm import AOC aoc 2023, 17 do def compute(input, candidates) do {{max_row, max_col}, ite...
New
stevensonmt
Reasonably pleased with my solution. The bitstring packet problems are so well suited to Erlang/Elixir it’s almost not fair. defmodule D...
New
igorb
Today is a brute-force day: advent-of-code-2024/lib/advent_of_code2024/day6.ex at main · ibarakaiev/advent-of-code-2024 · GitHub Takes a...
New

Other popular topics Top

yurko
Here are few pieces of (common) Linux knowledge that we use for reasonably small one server apps. We use Ubuntu but this should work for ...
New
srinivasu
How to handle excepions in elixir? Suppose i have A, B, C ,D, E modules. and each module has get() function. A.get() method will call th...
New
lk-geimfari
What is most correct way to open, read and parse JSON file with poison? For example if we have example.json file in root of some projec...
New
stefanchrobot
What’s the safe way to decode a JSON string into a struct? I want to avoid calling String.to_atom. Jason.decode can give me a map with st...
New
mcarvalho
What is the difference between System.get_env and Application.get_env? For example, what are best practices to use one versus another.
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
shahryarjb
Hello, I have map which I want to convert it to string like this: the map: %{last_name: "tavakkoli", name: "shahryar"} the string I ne...
New
vonH
When I run the Plug and I recompile I wind up having to use Ctrl C to quit iex and start again. Witht the help of rlwrap I can use the cu...
New
msaraiva
Surface is an experimental library built on top of Phoenix LiveView and its new LiveComponent API that aims to provide a more declarative...
564 42633 214
New
johnnyicon
Hi all, I've just started learning Elixir and Phoenix Framework, so please pardon my n00bness at this stage. I'm trying to use Postg...
New

We're in Beta

About us Mission Statement