livebook
awesome-advent-of-code
Our great sponsors
livebook | awesome-advent-of-code | |
---|---|---|
80 | 9 | |
4,410 | 2,808 | |
3.1% | - | |
9.8 | 9.9 | |
about 8 hours ago | 10 days ago | |
Elixir | JavaScript | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
livebook
-
Super simple validated structs in Elixir
To get started you need a running instance of Livebook
- Arraymancer – Deep Learning Nim Library
-
Setup Nx lib and EXLA to run NX/AXON with CUDA
LiveBook site
-
Interactive Code Cells
I prefer functional programming with Livebook[1] for this type of thing. Once you run a cell, it can be published right into a web component as well.
[1] - https://livebook.dev
-
What software should I use as an alternative to Microsoft OneNote?
If you're a coder, Livebook might be worth a look too. I certainly have my eyes on it.
-
Advent of Code Day 5
Would highly recommend looking at Jose's use of livebook to answer these. It makes testing easier. It's old but still relevant. Video link inside
- Advent of Code 2023 is nigh
-
Racket branch of Chez Scheme merging with mainline Chez Scheme
That's hard to say. Racket is a rather complete language, as is F# and Elixir. And F# and Racket are extremely capable multi-paradigm languages, supporting basically any paradigm. Elixir is a bit more restricted in terms of its paradigms, but that's a feature oftentimes, and it also makes up for it with its process framework and deep VM support from the BEAM.
I would say that the key difference is that F# and Elixir are backed by industry whereas Racket is primarily backed via academia. Thus, the incentives and goals are more aligned for F# and Elixir to be used in industrial settings.
Also, both F# and Elixir gain a lot from their host VMs in the CLR and BEAM. Overall, F# is the cleanest language of the three, as it is easy to write concise imperative, functional, or OOP code and has easy asynchronous facilities. Elixir supports macros, and although Racket's macro system is far more advanced, I don't think it really provides any measurable utility over Elixir's. I would also say that F# and Elixir's documentation is better than Racket's. Racket has a lot of documentation, but it can be a little terse at times. And Elixir definitely has the most active, vibrant, and complete ecosystem of all three languages, as well as job market.
The last thing is that F# and Elixir have extremely good notebook implementations in Polyglot Notebooks (https://marketplace.visualstudio.com/items?itemName=ms-dotne...) and Livebook (https://livebook.dev/), respectively. I would say both of these exceed the standard Python Jupyter notebook, and Racket doesn't have anything like Polyglot Notebooks or Livebook. (As an aside, it's possible for someone to implement a Racket kernel for Polyglot Notebooks, so maybe that's a good side project for me.)
So for me, over time, it has slowly whittled down to F# and Elixir being my two languages that I reach for to handle effectively any project. Racket just doesn't pull me in that direction, and I would say that Racket is a bit too locked to DrRacket. I tried doing some GUI stuff in Racket, and despite it having an already built framework, I have actually found it easier to write my own due to bugs found and the poor performance of Racket Draw.
-
Runme – Interactive Runbooks Built with Markdown
This looks very similar to LiveBook¹. It is purely Elixir/BEAM based, but is quite polished and seems like a perfect workflow tool that is also able to expose these workflows (simply called livebooks) as web apps that some functional, non-technical person can execute on his/her own.
1: https://livebook.dev/
- Livebook: Automate code and data workflows with interactive notebooks
awesome-advent-of-code
- [2023] A list of solutions for this year and years past
- Advent of Code 2022, Solutions in Common Lisp
-
Looking for good python and rust solutions repos
Also worth checking out this repo for solutions in any language: https://github.com/Bogdanp/awesome-advent-of-code
-
[2022] AoC Awesome List on Github
This is a good idea, but we already have (at least 1) established list that people are using: https://github.com/Bogdanp/awesome-advent-of-code
-
Sea Cucumber
What was the most eloquent solution I found on Github and Youtube?
- Can you find the optimal route for the trolly?
-
[C#] Repo for solutions in C#
https://github.com/Bogdanp/awesome-advent-of-code Check out this repo for solutions for various languages. Consider adding yours to the C# part of the README
-
Three Ways to Debug Code in Elixir
```
I find the above really elegant. It's correct, the special case for "0" is very explicit, and if you try a negative number, Elixir will simply be unable to match the given problem to a function definition (n < 0), which makes more sense than throwing "BadArgument" errors/exceptions.
If you really want to just solve problems, I advise sticking with Python, there's nothing wrong with it. Most languages also provide a lot of functional concepts, I'm sure Python is no exception (with some libraries). Be prepared that functional languages require you to think differently, but it is really fun to do things in a functional way!
Good luck!
[1]: https://github.com/Bogdanp/awesome-advent-of-code
-
2020 Day 15 Solutions
I added my repo to Awesome AoC because the other two Dart solutions were not for all days. I'm not sure my code is the best example of Dart code! Is your code available? Maybe you could share it?
What are some alternatives?
kino - Client-driven interactive widgets for Livebook
advent-of-code-2019 - Advent of Code 2019 Solutions (Spoilers!)
interactive - .NET Interactive combines the power of .NET with many other languages to create notebooks, REPLs, and embedded coding experiences. Share code, explore data, write, and learn across your apps in ways you couldn't before.
aoc-2020 - Advent of Code 2020 in 25 Different Languages
Genie.jl - 🧞The highly productive Julia web framework
ice_cream
Elixir - Elixir is a dynamic, functional language for building scalable and maintainable applications
advent-of-code-2021 - An Elixir learner's solution for the Advent of Code 2021 event.
axon - Nx-powered Neural Networks
advent_of_code_2022 - Advent of Code solutions for 2022, in Rust!
desktop - Building native-like Elixir apps for Windows, MacOS, Linux, iOS and Android using Phoenix LiveView!
Advent-of-Code-2021 - Solutions for Advent of Code 2021