Forum crashes when search term includes "(" or ")"

2022-02-16 Thread krakengore
) AND DROP DATABASE nim 🤣

Need to move all Nim required compilation stuffs to ram disk

2022-02-16 Thread mardiyah
How to move all Nim required compilation data to RAM disk temporarily in some time, so at the end can be copied back to storage?

Stumped! Extending futures with addition context info

2022-02-16 Thread ynfle
This should work. Extending `Future` are more straightforward # Background: # - Test harness to check out how to extend a httpclient future to include # additional context information (in this case the source url which could be # usefull in reporting failures)

Stumped! Extending futures with addition context info

2022-02-16 Thread DMisener
I need a little help with extending _futures_ with additional context for error reporting. I can't even get my current effort to compile without commenting out a couple lines :-(. Any pointers would certainly be appreciated. # Background: # - Test harness to check out how to ex

[asyncnet] Difference between a natural socket close and close(AsyncSocket)

2022-02-16 Thread termer
Probably, but the part that confuses me here is when using an async proc instead of my timer implementation, there's another type of error, which doesn't make any sense to me.

Questions about UFCS and generics

2022-02-16 Thread ynfle
The issue here is `$` binds the whole expression nothing to do with UFCS

Nim sounds better (Catchy sounds and intros for Youtube Videos / Podcast)

2022-02-16 Thread georgelemon
This is my way to say thanks for this language. So, I will be happy to create these kind of videos. Coming soon with video concepts and more sounds.

Questions about UFCS and generics

2022-02-16 Thread xigoi
You can disambiguate with a colon, analogous to Rust's turbofish: echo 1.0.foo[:int]() Run

Forum crashes when search term includes "(" or ")"

2022-02-16 Thread adokitkat
This is like critical bug... jeez.

Nim sounds better (Catchy sounds and intros for Youtube Videos / Podcast)

2022-02-16 Thread adokitkat
Is someone assigned/paid/volunteering to do these videos? I agree on Nim needing more exposure via video tutorials but not a lot of people are making them.

Forum crashes when search term includes "(" or ")"

2022-02-16 Thread Clonk
What a great Nim showcase that can't handle parenthesis in 2022 ;)

Questions about UFCS and generics

2022-02-16 Thread jdf
Something vaguely related is `type $(1)` is `string` but `$(1).type` is `int`, which is a bit surprising.

To do boolean check on regex returned as object member

2022-02-16 Thread PMunch
Please try to search the documentation before posting your questions here. I believe what you're looking for is [contains](https://nim-lang.org/docs/nre.html#contains%2CCaptures%2Cint)

A better looking Nimble (web, design, feedback, ideas)

2022-02-16 Thread georgelemon
Yes! I would recommend prodigi.com for print on demand and delivery. They have good products (like Stanley/Stella), eco-friendly. Also, API for custom-based shops and labs in Europe and US.

To do boolean check on regex returned as object member

2022-02-16 Thread mardiyah
How if we need to boolean check one of `nre` object member with captured group such: > ` if m.get.captures[1] == "" : echo "group 1 is empty"` fails, results in `nre.nim(342) Error: unhandled exception: Group '1' was not captured [IndexDefect]` ` m` is nre type returned of find( )

A better looking Nimble (web, design, feedback, ideas)

2022-02-16 Thread dom96
This is epic! I wouldn't change a thing. Just perfection :) I've been wanting art work for Nim t-shirts that looks as amazing as this, maybe these art works could be a great thing to put on a t-shirt with similar text like "Build amazing things with Nim". Maybe you'd be interested in designing

[asyncnet] Difference between a natural socket close and close(AsyncSocket)

2022-02-16 Thread dom96
You can have a look at the implementation of asyncnet.close. It's pretty simple so I think it's more likely your locking code is causing dead locks.

Forum crashes when search term includes "(" or ")"

2022-02-16 Thread dom96
Please report these kinds of things on GitHub

Nim FAQ

2022-02-16 Thread kobi
FWIW, reliable vscode support worked for me only by adding the (junknet) nimlsp extension.

To have nre regex usage

2022-02-16 Thread setvejohnson
thanks for the information

Trouble interfacing with C/C++ single-header library

2022-02-16 Thread drkameleon
Great work there. I wish I had found it before I started my own take on the subject - funny thing is we ended up with something very similar haha. Have a great day! :)

static in templates not really static?

2022-02-16 Thread PMunch
By the way you don't need `static` here, anything that goes into a `const` has to be static anyways, so as long as Nim can call the procedure statically, it will.

A better looking Nimble (web, design, feedback, ideas)

2022-02-16 Thread PMunch
Oh damn, I thought they where just something you nicked off-of a site. They're super cool!

A better looking Nimble (web, design, feedback, ideas)

2022-02-16 Thread georgelemon
Thanks! Artworks are handcrafted, sources mostly from Unsplash and brushes. We need to create more, for both light and dark theme.

Using Nim for system libraries?

2022-02-16 Thread Araq
> Basically anything that would not be allowed in the top level of a C file > either. Correct.

A better looking Nimble (web, design, feedback, ideas)

2022-02-16 Thread georgelemon
Light theme is WIP too. Here is a screenshot. Of course, the flow is different in webview.

A better looking Nimble (web, design, feedback, ideas)

2022-02-16 Thread georgelemon
Of course. 1. Logo will not be animated. 2. Most probably the Spotlight autocomplete won't be supported, since is based on IndexedDB storage. 3. The SVG icons, so better will stay with a @2x.png for icons