Is there a HTTPS enabled HTTP server in Nim?

2022-01-29 Thread leccine
This is interesting. I might try to do exactly this.

Is there a HTTPS enabled HTTP server in Nim?

2022-01-29 Thread leccine
I give a try to this as well. Thanks.

Is there a HTTPS enabled HTTP server in Nim?

2022-01-29 Thread leccine
> For embedded I would recommend just wrapping the C web Now I need to learn not only Nim but how to wrap C code in Nim. > AsyncHttpServer isn't suited for embedded What do you mean? This is an arm64 platform with Linux. > I wouldn't run it "bare" without a reverse proxy anyway. So, what is it

Possible bug with recursive types and Options

2022-01-29 Thread Hlaaftana

html2karax first release!

2022-01-29 Thread Cnerd
Nice 👍🏾. I also made a library like this a while back although mine is [htmltoVdom](https://github.com/C-NERD/htmlToVdom)

Love nim but at the same time starting to hate it...

2022-01-29 Thread mikebelanger
> I've had this project on the back burner ever since I discovered Nim. When > I've tried to do it in the past I've been foiled by poor jsondoc support, but > I think with my latest changes merged it should now be possible. Cool, I didn't even know about `jsondoc`. Lots of potential for differen

Love nim but at the same time starting to hate it...

2022-01-29 Thread PMunch
I've had this project on the back burner ever since I discovered Nim. When I've tried to do it in the past I've been foiled by poor `jsondoc` support, but I think with my latest changes merged it should now be possible. The idea is simple, run `nim jsondoc` on the entire standard library. Then

NimForum 2.2.0 - Fixes a big CVE!

2022-01-29 Thread moigagoo
Seems like this update broke Telegram integration somehow :-) The forum updater stopped updating after this post.

How to find bottlenecks?

2022-01-29 Thread severak
Thanks for looking into it. It looks like a benchy is the thing I was looking for. > You seem to be loading your sqlite db on every request I was not sure if was safe to to share SQLite instance between server processes. But will try it (it's read only after all). > In your tile code you are p

Possible bug with recursive types and Options

2022-01-29 Thread moigagoo
I think there's a bug but I want to make sure there's not something I'm missing. Consider this code: # foo.nim import std/options type Foo* = ref object of RootObj parent*: Option[Foo] func newFoo*(parent = none Foo): Foo = Foo(parent: parent

Love nim but at the same time starting to hate it...

2022-01-29 Thread enthus1ast
even the Nim name is obviously better, `walkFiles` `walkDirs` `walkPattern` is way more descriptive than glob. You only have zero stress because you know what a "glob" is. (Funny sidenote, glob sounds a little like a German dialect word in Hesse: Klobbe which means beating.)

Love nim but at the same time starting to hate it...

2022-01-29 Thread xigoi
> Over time it will make the code less readable if developers need to jump 50 > pages just to get to specific functions. Unless a person uses a IDE like > Intelli/Phpstorm that can fold all documentation by default ( fat chance as > there is no proper nim plugin ). Or even worse when your using