Nim rose to the top of median salary leaderboard in 2024 Stack Overflow Developer Survey

2024-07-30 Thread amkrajewski
That was my first thought! :P Based on the language popularity list, though, there were closer to 250ish responders using `nim`.

Nim rose to the top of median salary leaderboard in 2024 Stack Overflow Developer Survey

2024-07-30 Thread amkrajewski
Fun fact! In the recently released [2024 Stack Overflow Developer Survey](https://survey.stackoverflow.co/2024/technology#top-paying-technologies-programming-scripting-and-markup-languages), `nim` rose to fourth place in terms of median developer salary. It had the highest year-to-year growth on

Including a binary data file as a Nim array

2024-04-19 Thread amkrajewski
If you would like to process a binary file and assign it to an array without embedding the binary file itself, you can utilize the `static` block which will execute at compile time and return just what you need.

NailIt — a literate programming tool

2024-03-30 Thread amkrajewski
It looks great! I was recently searching for a neat example written in Nim. Thanks for sharing!

Having trouble with the Testament tool

2024-03-23 Thread amkrajewski
As @thindil suggested, you may want to use _std/unittest_. It generally works great for small projects where you may not need any of Testament's cool features like multiple targets or report generation. [Here is an example](https://github.com/amkrajewski/nimCSO/blob/main/

issues trying to install nim

2024-02-19 Thread amkrajewski
You can give [Windows Subsystem for Linux (WSL)](https://learn.microsoft.com/en-us/windows/wsl/install) a try if you are not developing your tool specifically for Windows. You can connect to WSL, e.g., with VSCode, and get a very smooth experience. In the case of several Nim codes I tried, it i

linking on Mac M1

2024-02-02 Thread amkrajewski
How did you install Nim? Homebrew, choosenim, or built it yourself? At some point I’ve had some similar flavor (x86_64 vs ARM64) of problems on my Mac M2 when I installed Nim with choosenim. They all went away when I cloned repo and compiled Nim on my own.

Package-Rot as growth hindrance

2023-12-10 Thread amkrajewski
It seems that having a simple „Verified to work with Nim: 1.4.8, 1.6.16, and 2.0.0” in README and updating it every once in a while may be very helpful at a near-zero cost.

Nim in university context?

2023-11-20 Thread amkrajewski
In my research group specializing in computational materials science and thermodynamics, I've been advocating for using Nim roughly once every two weeks with some success, as we have already reimplemented two Python packages we use internally. Some of my colleagues who almost exclusively use Py

Customizable Nimble-badge with latest tag

2023-10-01 Thread amkrajewski
That's a good catch, though the off-centering is by design. I offset both text fields by 5% of the height because (to my taste) it looked much better for the "v1.2.34" version tag (by far the most common pattern in Nimble) because of the little "v" being inherently offset towards the bottom. It

Customizable Nimble-badge with latest tag

2023-10-01 Thread amkrajewski
Adjusted and should propagate soon 🙂 Versions longer than 9 total symbols are now resized and centered to neatly fill the available space. It should work pretty well, even with very long ones. or

Customizable Nimble-badge with latest tag

2023-10-01 Thread amkrajewski
Thanks for pointing that out! I tested for up to 3 "." and 7 digits/characters, but DateVers can reach 9. I will make some adjustments and let you know.

Customizable Nimble-badge with latest tag

2023-09-30 Thread amkrajewski
When working with PyPI etc., I like to use version badges, especially for indexing tools, but I didn't see any suitable option for that with Nimble, [so I created mine](https://github.com/amkrajewski/nimble-badge). It has been stable for about a week now, updating every 12

[newbie] go to definition is not working on vscodium on EndeavourOS(Arch based distro)

2023-09-26 Thread amkrajewski
Not an answer really, but I hope an extra data point helps. I'm using Nim 2.0.0 in VS Code (1.82.2) with Nim extension (the one by nimsaem) on MacOS (Darwin 22.5) and the "Go to Definition" works as intended.