error: could not load:(libcrypto-1_1-x64|libeay64).dll

2023-06-18 Thread JeysonFlores
> Is it possible to use your library to download files and show download > progress in the terminal? Like [this?](https://nim-lang.org/docs/httpclient.html#progress-reporting)

play nim - not working?

2023-06-18 Thread PMunch
The VM it runs on is quite underpowered, and it could do with a bit of cleanup. Rebooted it now, that seems to sort it out for a couple of days at least.

Discounted rates for "Nim in Action" and "Mastering Nim"?

2023-06-18 Thread basilajith
Sorry for confusing you. What I meant was purchasing the book from Amazon.com (in India we primarily use Amazon.in) and getting it shipped to India (or asking a friend or relative to courier it to me or bring it along with them).

Discounted rates for "Nim in Action" and "Mastering Nim"?

2023-06-18 Thread jasonfi
AbeBooks is an excellent source for 2nd hand books: I found Nim in Action for $27, free shipping within the USA: [https://www.abebooks.com/servlet/BookDetailsPL?bi=31457277182&searchurl=ds%3D20%26kn%3Dnim%2Bin%2Baction%26sortby%3D17&cm_sp=snippet-_-srp1-_-title5](https://ww

play nim - not working?

2023-06-18 Thread dlesnoff
It happens on a regular basis. I often compile locally, so I do not notice it, but I admit it is a good way to share code. See older forum posts about it:

Discounted rates for "Nim in Action" and "Mastering Nim"?

2023-06-18 Thread dlesnoff
To give you price references, in France: 1. _Nim in Action_ is currently at 39.99$ (3 275,80 Indian Rupees at current stock market change). I got it at a discount price at Amazon for half the price two years ago, 19.99$ (1637,49 Indian Rupees). 2. I got _Mastering Nim_ for 61.81€ (about 555

macro - global var behaviour

2023-06-18 Thread Yardanico
>From : The global pragma can be applied to a variable within a proc to instruct the compiler to store it in a global location and initialize it once at program startup. Run So it's just a way to have a vari

play nim - not working?

2023-06-18 Thread moigagoo
Same for me.

macro - global var behaviour

2023-06-18 Thread mantielero
So I misunderstood is purpose. Thanks for the clarification.

macro - global var behaviour

2023-06-18 Thread mantielero
I think I might be missing a point with the following macro. It aims to create a proc and I want it to create a variable in the global scope: import macros macro testing(name:static[string]; value:int): untyped = var tmp = newIdentNode(name) result = quote do:

Malebolgia & Pixy problem: expression has no address

2023-06-18 Thread ingo
I tried your suggestions, they with: `Error: 'toTask' takes a GC safe call expression` @guzba so the thing to do would be to store the data in an 2d array (as I did with the 3d one above) and then loop these into an image?

play nim - not working?

2023-06-18 Thread mantielero
While I was posting the prior message, I saw that reports a `Gateway time-out` error. Is it just me or it is the same for you?

Malebolgia & Pixy problem: expression has no address

2023-06-18 Thread guzba
Image is a `ref` type so this sharing of non-atomic references to it across threads is suspicious.

Why json hooks doesn't work for CountTable[int]

2023-06-18 Thread z_____________
Looks like it's because std/jsonutils.toJsonHook for tables only accepts those with strings for keys. Converting the keys to strings when building the table should work: proc toJsonHook*[K](t: CountTable[K]): JsonNode = var t2: Table[string, int] for k, v in t: t

Why json hooks doesn't work for CountTable[int]

2023-06-18 Thread alexeypetrushin
The JSON serialisation hooks work for `CountTable[string]` but not for `CountTable[int]`, why?

Clearer copyright license for Nim logos and assets

2023-06-18 Thread konradmb
Could you share this Polish tutorial? I'd like to see it (Polak here) :D