bjorng

bjorng

Erlang Core Team

Note: This topic is to talk about Day 1 of the Advent of Code 2019.

Showing Posts 1 to 10

bjorng

bjorng OP

Erlang Core Team

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

NobbZ

There is room for improvement, eg by using Enum instead of Stream, 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

egze

That‘s a cool Boilerplate you got there. Gonna borrow it next time :nerd_face:

lakret

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 :slight_smile: 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 :wink: Next stream will be on Tuesday at 7pm CET.

sasajuric

sasajuric

Author of Elixir In Action

Here’s my take.

alvises

alvises

Hey guys,

here’s mine github repo for this aoc2019: alvises/aoc2019

And day1.ex

https://github.com/alvises/aoc2019/blob/master/lib/aoc2019/day1.ex

simon

simon

I’m possibly going to have to refactor my repository structure but in any event my solution is here.

The aoc package 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

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. :grin:

keathley

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.

Where Next? Top

Trending in Challenges Top

Other Trending Topics Top

JesseHerrick
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
mudasobwa
I am happy to introduce the very α version of the new programming language compiled to BEAM. Welcome Cure. It has literally three kille...
New
marciok
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
mhanberg
Hi everyone! The first release candidate for the Expert language server project is now available! We’ve published a press release detai...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Dmk
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

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews