Juan Carlos
Juan Carlos
So I am kinda using `webgui` as a Mine Field for cool new ideas, and I think people like them, so maybe in the future stuff from `webgui` can be...
Use a Template instead of a Route :grey_question: See my implementation here for similar (but not same) kinda thing: https://github.com/ThomasTJdev/nim_websitecreator/pull/80#issue-261868873
Loco generates 1 `proc` for every string multiplied by every language, on namespace on runtime. :thinking: This code: ```nim import loco, macros expandMacros: loco en: hello: "hello" ``` Produces this...
I agree. :+1:
Solution https://stackoverflow.com/a/2844617 :grey_question: More of a CodeMirror bug than our bug, but still. 🤷♀️
So using `--threads:off` is recommended?. 🤔
Then maybe `--threads:on` should be reconsidered as default. 🤔
@ringabout The bug is a codegen bug, is generating: ```cpp error: cannot declare pointer to ‘struct tyObject_DerivedcolonObjectType___QicCB7GN6dWokpZFgUI4JA*&’ 183 | printSpace__qGJls9cgdB4kneGWilyN1tg((*((tyObject_DerivedcolonObjectType___QicCB7GN6dWokpZFgUI4JA*&*) (&(c))))); | ^ Error: execution of an external compiler program...
@ringabout This commit introduced the bug: https://github.com/nim-lang/Nim/commit/d6e1b5c07#diff-4509107d295d7d32b1887c8993cd0f56113ae60f36113e7d8778646dabd92ebcR2475
I think that calling `js -d:nodejs -d:release` should be relatively easy. The rest might need more research or someone with experience on NPM.