Typography update - now it can render 99% the Google Fonts ttf.

2021-03-05 Thread DavidRobick
Most of the fonts were found by chance, when I was collecting mudboards, making reserch, or just finding interesting designs.

Channel / Actors based parallelism? Are there such Web Servers?

2021-03-05 Thread dom96
What's your reasoning for disliking the Async approach? Is it specifically Nim's implementation of it or do you dislike async I/O in general? If you're looking into performant web servers then take a look at httpbeast which combines Nim's threads and async. It doesn't support Windows though.

Channel / Actors based parallelism? Are there such Web Servers?

2021-03-05 Thread mratsim
Channels, Actors are more models of computation than parallelism. I'd say models of computation is a theoretical way of describing your programs. So to give you more info, here are examples models of computation * [Communicating Sequential Processes](https://en.wikipedia.org/wiki/Communicatin

Channel / Actors based parallelism? Are there such Web Servers?

2021-03-05 Thread alexeypetrushin
Wondering what's the current state of Channels (Go-like) or Actor (Erlang-like) parallelism in Nim? I know there are Async and Weave. But I don't like Async approach, and Weave seems to be nice solution, but it's more like specialised high throughput solution for numerical calculations. There'

Show Nim: Puppy - Easy HTTP(S) requests without DLLs, --d:ssl or cacerts.pem.

2021-03-05 Thread treeform
Maybe possible in node.js, but browser JS backend HTTP API is all callback based. It would have to be a different API.

Show Nim: Puppy - Easy HTTP(S) requests without DLLs, --d:ssl or cacerts.pem.

2021-03-05 Thread pietroppeter
What about the JS backend? It should be doable, right?

Show Nim: Puppy - Easy HTTP(S) requests without DLLs, --d:ssl or cacerts.pem.

2021-03-05 Thread treeform
In theory it has if you use polling, but that would not be very performent. There is no epoll like notifying system. They recommend threads.

Show Nim: Puppy - Easy HTTP(S) requests without DLLs, --d:ssl or cacerts.pem.

2021-03-05 Thread dom96
This is really awesome. It has been my dream to support this directly in the httpclient module in the stdlib, do you know whether the WinAPI you're using supports async?

array, seq : is there something in between?

2021-03-05 Thread cblake
There is at least one other common type of memory (not counting GPUs) - from `memfiles` (aka mmap, memory views, etc.). It is both more Wild West regulated than stack (in terms of limits - both number of mappings and total size), but also (typically) less Wild West in access rights since people

Comments and criticism,please: Nimplementation of Church Numerals

2021-03-05 Thread shirleyquirk
ugh ok fine you're right trick is to wrap the base type in a closure the below can work generically if `In` is defined as `In[T] = proc():T{.closure.}` but left the Ts out for clarity import sugar type In = proc(): int{.closure.} type Fn = proc(x: In): In{.closure.}

How to have the generated executables in a bin directory out of the way when using testament

2021-03-05 Thread halloleo
Good to know. Thanks.

Yeay! Finally I udnerstand how to write a "Makefile" in Nim!

2021-03-05 Thread halloleo
Will do. Next week.

array, seq : is there something in between?

2021-03-05 Thread HJarausch
I'd prefer if there won't be an additional container type. One can allow arrays the size of which is only known at run time. The compiler knows if the size has been fixed already at compile time and can do optimizations accordingly.

Comments and criticism,please: Nimplementation of Church Numerals

2021-03-05 Thread shirleyquirk
you're right, it's simple up to that point. you'll see if you try to take that farther it's exponentiation and subtraction etc that get complicated. for example exponentiation is `proc(base:ChurchNum,exponent:ChurchNum):ChurchNum = exponent(base)` which is beautiful, but requires somehow that (T

nimble refresh: Could not download: No SSL/TLS CA certificates found.

2021-03-05 Thread Clavismax
Thank you. It worked!

nimble refresh: Could not download: No SSL/TLS CA certificates found.

2021-03-05 Thread Clavismax
I installed Nim 1.4.4 today (WIN10) and ran the command: nimble refresh Run The error message was: "Could not download: No SSL/TLS CA certificates found." under the previous Nim version this worked without problems. How can I help myself?

nimble refresh: Could not download: No SSL/TLS CA certificates found.

2021-03-05 Thread moigagoo
https://forum.nim-lang.org/t/7551

array, seq : is there something in between?

2021-03-05 Thread Araq
> So, I'd like to ask the Delphic Oracle what the future of multi threading > will be in Nim. is one piece of the puzzle. is another.