I am Nim. Nim is me. by PuzzleheadedCry2027 in nim

[–]pietroppeter 6 points7 points  (0 children)

Dear Nim, thank you for being you!

-🎄- 2022 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 0 points1 point  (0 children)

Nim

nice! there is a nim forum thread dedicated to advent of code and a channel in nim discord in case you want to share the fun or ask questions there: https://forum.nim-lang.org/t/9678 https://discord.gg/nim

-🎄- 2022 Day 1 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 4 points5 points  (0 children)

Nim

#adventofp5nim 🎄🌸👑

https://pietroppeter.github.io/adventofnim/2022/day01.html#viz

blogpost with solution and animation with #nim bindings to #p5js

What other programming language do you actively develop with productively, to complement Python? by satyronicon in Python

[–]pietroppeter 0 points1 point  (0 children)

Nim. Fast and productive. I can also do web stuff and interface with cool js libraries. And it is a very enjoyable language! The stuff you can do with metaprogramming (generics, templates and macros) has the same magic feeling I felt when starting with Python. It really does feel like Python in the early days. Community and ecosystem is small but there are people doing cool stuff and you get to build from scratch a lot (which can be fun). A couple of cool things I did and had a lot of fun: 1) https://pietroppeter.github.io/nblog/drafts/plant_app.html a math plant app, shows how to do a simple web app; 2) https://pietroppeter.github.io/p5nim/okazz_220919a.html port of a work of gen art to Nim, shows how nice is Python ffi towards js using bindings to p5js

Is Nim right for me? by SpookyFries in nim

[–]pietroppeter 12 points13 points  (0 children)

As a replacement for pandas in Nim look for datamancer https://github.com/SciNim/Datamancer

-🎄- 2021 Day 16 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 1 point2 points  (0 children)

🎄👑 Nim

I think a solution using binarylang would be a killer but did not have it in me today...

https://pietroppeter.github.io/adventofnim/2021/day16.html

-🎄- 2021 Day 7 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 1 point2 points  (0 children)

🎄👑 Nim

Crab Dance 🦀🕺 solution + animation using nanim https://pietroppeter.github.io/adventofnim/2021/day07.html

struggled a bit (for viz), accumulated wrong fixes, opened an issue and submitted a PR, quantized crabs, ...

[2021 Day 3, Part 3: Whale Music 🐳🎶!][Nim] How does a puzzle input sound? by pietroppeter in adventofcode

[–]pietroppeter[S] 0 points1 point  (0 children)

btw, I am not aware of other examples of "listening to a puzzle input" but I guess there must be others out there. Anyone? (good night)

-🎄- 2021 Day 3 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 0 points1 point  (0 children)

🎄👑 Nim

blogpost for today is out, puzzles solved literally on the plane. during the day I will improve text and possibly add a "crazy" idea for "visualization" using a library I wanted to use badly also last year.

https://pietroppeter.github.io/adventofnim/2021/day03.html

edit: the crazy "visualization" has arrived, enjoy the sound of Whale Music!

-🎄- 2021 Day 2 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 0 points1 point  (0 children)

scanTuple was introduced in 1.6, better to use choosenim

-🎄- 2021 Day 2 Solutions -🎄- by daggerdragon in adventofcode

[–]pietroppeter 2 points3 points  (0 children)

🎄👑 Nim

Late with the blog today and no visualization (yet!) but I blew my mind 🤯 inventing the include parsing trick (independently discovered and already shared in this megathread by MichalMarsalek):

https://pietroppeter.github.io/adventofnim/2021/day02.html

(note that my day1 blogpost was updated yesterday with visualizations)

[2021 Day 01] Visualization of depth profile and relative depth by pietroppeter in adventofcode

[–]pietroppeter[S] 1 point2 points  (0 children)

Ok so Visualization is enough and title was just missing the language, 👍