awesome-advent-of-code
icecream
Our great sponsors
awesome-advent-of-code | icecream | |
---|---|---|
9 | 41 | |
2,808 | 8,459 | |
- | - | |
9.9 | 5.6 | |
15 days ago | about 1 month ago | |
JavaScript | Python | |
- | MIT License |
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.
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?
icecream
-
Show HN: Dbg.h: C macro for quick and dirty print debugging
Hey, very useful. Thanks! Similar to ic() for python, but with the nice ability to be used inline.
https://github.com/gruns/icecream
- When you are looking at someone else's code base and you want to make a copy of it to put in a million print statements to understand it, what is good practice in terms of version control and naming the copy?
-
Pythoneers here, what are some of the best python tricks you guys use when progrmming with python
Icecream is great for this. Just calling ic(foo) gives you the same thing on stderr.
- What's you fav ice cream??
-
What Python debugger do you use?
I get around this by using loguru (a wrapper around python's logger), so I get information like the calling function and line number with my debugging statements. I don't use it these days (and actually built something extremely similar around the same time), but icecream is another alternative that facilitates debugging-by-print
- Top 3 hardest things with debugging as a beginner?
-
Does anyone use python debugger?
Most of the time I simply use icecream (a much better version of print()), and sometimes, I use pudb (a visual debugger) for tougher/trickier bugs.
-
Let's do a war
We also have ice cream
-
What is your favorite ,most underrated 3rd party python module that made your programming 10 times more easier and less code ? so we can also try that out :-) .as a beginner , mine is pyinputplus
I found icecream in a post on this subreddit and still use it as an alternative to print for debugging.
-
A script for print debugging python code
In the future using something like icecream might be interesting as well.
What are some alternatives?
livebook - Automate code & data workflows with interactive Elixir notebooks
pdb++
advent-of-code-2019 - Advent of Code 2019 Solutions (Spoilers!)
Loguru - Python logging made (stupidly) simple
aoc-2020 - Advent of Code 2020 in 25 Different Languages
py-spy - Sampling profiler for Python programs
ice_cream
Laboratory - Achieving confident refactoring through experimentation with Python 2.7 & 3.3+
advent_of_code_2022 - Advent of Code solutions for 2022, in Rust!
remote-pdb - Remote vanilla PDB (over TCP sockets).
advent - Advent of Code solutions for Node
PySnooper - Never use print for debugging again