Show Nim: CSS Grid layout engine!

2022-09-01 Thread pietroppeter
> Oddly, I haven't found any other non-browser engine implementations of CSS > grid Will McGugan (author of rich Python library for rich terminal output) is currently building a CSS parser and render for his work-in-progress TUI library Textual. Not sure if he got to CSS grid yet but I guess at

Hot reload & Alternatives - Mac Support (ARM and x86)

2022-09-01 Thread Araq
You can try std/dynlib but if you happen to write server software you can also use a load balancer for updates without a downtime.

Error when cross-compiling Nim with mingw

2022-09-01 Thread cyraxjoe
This is a problem that apparently is caused by a local [patch](https://github.com/NixOS/nixpkgs/blob/master/pkgs/development/compilers/nim/nixbuild.patch) that the NixOS devs are applying to nim. >From a high-level view, it seems that the patch is trying to call `getEnv` >while trying to resolv

Show Nim: CSS Grid layout engine!

2022-09-01 Thread elcritch
Thanks for the kind words! Hopefully css-grid turns out to be useful for others too. > Don't be intimidated, advance with a courageous heart :-) haha, that's great. Yes I've been plodding along in little bits. I'm partly using this to reinforce in myself that consistent small efforts do add up

Hot reload & Alternatives - Mac Support (ARM and x86)

2022-09-01 Thread turmoil
Hot code reloading simply doesn't work on either of my Macbook Pros (ARM and x86). Does anyone know why? It seems there's quite a few issues discussing this. Since I'm not expecting hot reloading to be patched anytime soon. Can I just use std/dynlib on a dynamic library built with nim for the fu

nimiSlides 🛷 Create beautiful slideshows in Nim 👑

2022-09-01 Thread kobi
wow, really awesome!!

Error when cross-compiling Nim with mingw

2022-09-01 Thread Nlits
I get this error: /nix/store/ap7nr6hb3q9zhphcy2s2bmxvvv g1yzcq-nim-unwrapped-1.4.8/nim/lib/pu re/dynlib.nim(110, 25) Error: undecla red identifier: "getEnv' This might be caused by a recursive m odule dependency: /nix/store/ap7nr6hb3q9zhphcy2s2bmxvvV g1

c2nim - working with arrays

2022-09-01 Thread alexgustafson
Thanks, that worked! I should have figured that myself, I was so busy trying to get rid of UncheckedArray in other bits of code that c2nim had created that I didnt realize it might be usefull here. For future nim forum users needing a solution: c2nim was converting float **data;

"else" after loop

2022-09-01 Thread hamidrb80
[Python's creator wishes this feature never existed](https://www.youtube.com/watch?v=6Im38sF-sjo)

Nim packages dependencies visualizations

2022-09-01 Thread hugosenario
Maybe in this case would be better, request a feature of dot file generator in nimble, then link would be only a encoding process import zlib import base64 import string plantuml_alphabet = string.digits + string.ascii_uppercase + string.ascii_lowercase + '-_' b

Discreet Command Execution

2022-09-01 Thread sls1005
Consider using `staticExec`.