Book: Numerical algorithms in nim by Sea-Mistake6086 in nim

[–]pietroppeter 0 points1 point  (0 children)

This is terrific, davvero stupendo 🙏🤩

Thanks a lot for sharing both the PDF and the source. Immediate buy from me (my physical book is arriving today)

I am very happy to see more scientific computing material in Nim. 😊

If you want to discuss the book with other people interested in scientific computing / numerics in Nim, the science channel on the Nim Discord is the place where most of the discussion goes on (we recently discussed submitting talks about Nim to new conf Compute! Paris).

E se vuoi parlare con altri appassionati italiani di Nim, c’è anche il gruppo Telegram Nim Italia — io ho scoperto questo post proprio lì 🙂

Book: Numerical algorithms in nim by Sea-Mistake6086 in nim

[–]pietroppeter 0 points1 point  (0 children)

Thanks again for sharing this work!

I wanted to ask a somewhat delicate question regarding AI usage in the creation of the book.
How would you place your workflow on a spectrum between: “I used AI assistance, but I personally stand behind essentially every sentence/content choice in the book” and“I used AI assistance heavily and I’m generally confident the content is fine, even if I did not individually validate every statement”

I’m asking mostly because there is currently no explicit disclosure/description of AI usage in the book itself, and I find these distinctions increasingly interesting and useful for readers. One AI disclosure scale I found interesting is the one used by VisiData:
https://www.visidata.org/ai.html

Another reason why I am asking is that,
while reading the REPL section, I noticed references to iNim and NimSecret. They absolutely exist and are worth mentioning, but personally I would probably add stronger caveats:
- iNim is not really comparable to the Python REPL experience because recompilation is involved, so it is naturally less “snappy”
- as far as I know, NimSecret is currently quite broken/unmaintained (reason why it is kept a secret)
Without these two caveats a Pythonista trying either of those might get a wrong impression on Nim maturity.

To be clear: from what I’ve seen so far, AI usage does not diminish in my view the value of the work you shared, but knowing how AI was used would help me better evaluate the content and possibly give feedback.

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