invocation of external compiler program failed. The system cannot find the file specified

2023-03-25 Thread nimzwei
Hi, sorry for digging up the old post, but i have a similar problem. I have installed nim i wrong dictionary at first, so i moved it and launched finish.exe again. The problem is that the compiler seemed to be installed in the wrong/non existing place. How to change the source location so that i

Khonsu CBD Gummies

2023-03-25 Thread workmall
Did you had any concept approximately that the ordinary American grown-up has greater than 1.five kilos of waste of their colon? Khonsu CBD Gummies

Background tasks in jester

2023-03-25 Thread Cnerd
You can always make a pull request to the jester repo. Although I think you should discuss with @dom first

Do you miss these compact syntaxes?

2023-03-25 Thread Zoom
I have some objections to the idea of positional constructs, which I posed in . The [proposed solution](https://github.com/nim-lang/Nim/pull/21559) mentions that RFC, even though its scope is different. #418 only suggests allowing name-matched constr

bun.sh supports nimlang

2023-03-25 Thread Bosinski
Thats good news - i suppose they want the nim-stdlib, cos Zig cannot provide such, yet :) As i'm working on improving the QuickJS4Nim-project i'd say - lets have a nice competition here. class SomeClass: static: const someConst = 42 var counter: int #

Background tasks in jester

2023-03-25 Thread Hideki
This method works, but there are cases where returning the set headers to the client is not acceptable. So, it would be good to have a field in ResponseData to pass data internally.

Background tasks in jester

2023-03-25 Thread Hideki
Hi Cnerd, Thank you for your comment. It worked with the code like this: get "/roll-a-dice": let random_number = rand(1..6) if result.headers.isNone(): result.headers = some(RawHeaders(@[])) result.headers.get().add((key: "x-random", val: $random_numb

Iteration against a C-API

2023-03-25 Thread guibar
You could use a closure iterator that you iterate manually by "calling" it in your callback. For example import std/packedsets var data = toPackedSet([1,2,3,4]) # Instantiate an anonymous iterator that captures `data` var iterVar = iterator (): int = for

Make Nim docker images official?

2023-03-25 Thread moigagoo
Nonetheless, going official with the images is the right move.

Iteration against a C-API

2023-03-25 Thread Bosinski
Hi, i'm struggeling with the QuickJS-engine. The last thing to do is to make iteration on opaque-nim-types possible. The Iteration-API expects a C-function which delivers one element from a container per call. I need to use `{.cdecl.}` \- so a inline-iterator won't work. I'm somewhat mentally b