lud

lud

Advent Of Code libraries and frameworks

Hello,

I just extracted the boilerplate management code that I used to work with in previous years:

It is yet another generic input downloader (with cache), solution module generator, test generator, and commands to work with any year/day combination, promoting TDD practices.

If you have your own boilerplate or helper code, post it below, people may be interested.

Happy coding!

Most Liked

Aetherus

Aetherus

lud

lud

If found this one too that looks pretty nice:

lud

lud

Hello everyone,

Since this year is a bit special, I made a quick update so the library will not accept days >12 in 2025. Nothing else seems to require a change :slight_smile:

lud

lud

Well a variable or two for path prefixes with sane defaults are not hard to setup.

But few people will use our tools, maybe nobody will ; there is no need for fully configurable stuff here, it’s not like a genral purpose application framework.

I do some of the days in Rust and I use a boilerplate, I don’t really care where the files are, I just do what the README tells me because I just want to solve the problems. The “app” does not need to be deployed somewhere, it just needs to compile and be called from the console.

lud

lud

Hello everyone,

I’ve added more helpers and documentation for my Advent Of Code library.

It’s still just a bunch of helpers to ease fetching and caching inputs, and generate boilerplate code and tests.

But I also updated the README file to be a comprehensive guide on how to use it and solve your first AoC puzzle. This is intended for Elixir beginners and/or AoC beginners.

For more seasoned alchemist elves, I still think the library adds value (I made it for myself after all). There is a TL;DR section in the README and a documentation for all the available commands.

Tell me if you find that useful, and if you have any idea to improve it!

Where Next?

Popular in Discussions Top

cjbottaro
I’ve been primarily doing Elixir development for the past 6 years or so, and during that time whole heartedly committed to functional par...
New
AstonJ
A recent chat with @leifericf inspired this thread - he’s worked in the gaming industry, and so it got me wondering what kind of industri...
New
marciol
Thinking about how Contexts on Phoenix 1.3 are beautiful in the simplicity, elegance and minimalism, coalesced in the smallest unity of E...
New
ivanminutillo
Bonfire is an open source framework for building modular federated digital spaces. It’s built entirely with Elixir, including LiveView (a...
New
billylanchantin
If you’re not familiar with this fun bit of math lore, Paul Erdős, the famously eccentric, peripatetic and prolific 20th-century mathem...
New
karlosmid
The |> operator appears in many languages, mostly in the functional world. F# has essentially the exact same operator, as does OCaml. ...
New
sergio
Laravel just announced their Series A round for $57 million. If Laravel wasn’t already the defacto PHP stack, it now most certainly is. T...
New
AstonJ
Inspired by Andrew’s post in another thread about types: If the main benefit of static typing is to catch errors, and most people think...
New
gushonorato
Hey everyone, I’ve been working with Elixir for over 5 years and I’m a big enthusiast of the language. However, when starting new projec...
New
AstonJ
There seems to be a lot of buzz around DeepSeek at the moment, with some saying it’s a ChatGPT killer. The most remarkable thing (if they...
New

Other popular topics Top

fireproofsocks
I’m working on defining a simple Ecto schema for a table (in PostGres), but I don’t see where I can define a column as NOT NULL. Conside...
New
JDanielMartinez
Hi! May someone helps me, please! I have two apps into an umbrella project: the first one is Database, which manages queries, and the se...
New
vrod
I am using the Starship cross-shell prompt – it seems pretty nice, but I get some errors: [WARN] - (starship::utils): Executing command ...
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
Jim
As a follow up to my earlier question: I have the code compiling and running but not getting a successful login from the rest server. ...
New
nsuchy
Hi. I’ve noticed that Windows Powershell has it’s own IEX command and you cannot access Elixir’s IEX due to the conflict. This isn’t a cr...
New
vac
Hi, I'm quite new in Elixir and I'm trying to format a string to a PEM format. I have the certificate value like MIIDBTCCAe2...... and ...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
baxterw3b
Hi guys, i’m new in the Elixir world, and i have to say, that i love it! i’m having some problem to understand anonymous functions with ...
New
Nvim
Elixir appears to be a superior language to Python. I don’t see any advantage of Python over Elixir. Are there any?
New

We're in Beta

About us Mission Statement