NimConf 2022 - registrations

2022-09-18 Thread kobi
I am interested also, in seeing the fuzzers at work, the new drchaos, and drnim. Also state of IC and how to use it, if possible.

NimConf 2022 - registrations

2022-09-18 Thread kobi
cool. more examples: xml and json files, serializing or changing a value, xpath style perhaps. downloading a file over the internet, sending an email, connecting to nntp, receiving a feed. creating a small gui app. connecting to sqlite, and storing state or records in it. stuff like that, simple

Fidgetty Widget System: Rewrite

2022-09-18 Thread elcritch
P.S. I pushed some tweaks to the nimble file. Doing a `nimble install fidgetty` should update it now. If you've clone the repo you can do `git pull && nimble develop` or `git pull && nimble install -d` to update deps. Let me know if that works! I'd appreciate the help.

Fidgetty Widget System: Rewrite

2022-09-18 Thread elcritch
No I appreciate the feedback! No sense in making a library that's not useable for others. The examples above aren't really complete and/or correct. I modified them on the fly for the post. :) But I found some issues with trying the actual countButton from the Readme when I tried compiling it ou

Fidgetty Widget System: Rewrite

2022-09-18 Thread catswhiskers
I should have said I commented out the offending export statements, first. Then I got the boxSizeOf error whilst trying to compile demo. I got the same error trying to compile the countButton example (above). Also fidgetty nimble doesn't know where cdecl package is. I manually installed that. Bu

Fidgetty Widget System: Rewrite

2022-09-18 Thread elcritch
No worries! What files were you trying to run? I'll get it fixed up.

Enum union type and "Kind" pattern in recursive types

2022-09-18 Thread dlesnoff2
In general, we rather use distinct types to constrain existing types (forcing us to reimplement all the "object's methods"). To my knowledge's extent, constraints are only a specification for procedures on the kind of types they can accept as arguments but does not constrain object instances the

Fidgetty Widget System: Rewrite

2022-09-18 Thread catswhiskers
Hi. I kept getting "cannot export fidget" ( your version). And now "Error: undeclared identifier: 'boxSizeOf'". I guess I'm too impatient and should wait till you have finished twiddling.

Show Nim: TheArtButton.ai, a new web Stable Diffusion runner

2022-09-18 Thread dlesnoff2
Here are some funny results I got with the website (exact prompts in the website): Russian building Di Caprio, art by Jeff Koons Fireworks above Lake, black and wh

Turns Nim into a build once run anywhere language

2022-09-18 Thread oyster
since I am a windows user, I can't compile Cosmopolitan which needs Linux

Turns Nim into a build once run anywhere language

2022-09-18 Thread oyster
I found which lives upon Then when the nim source code is compiled as a `.com` binary, it can runs natively on Linux + Mac + Windows + FreeBSD + OpenBSD + NetBSD + BIOS

Fidgetty Widget System: Rewrite

2022-09-18 Thread elcritch
And proof that it works (as requested by @ElegantBeef ;)). Here's just the testGridLayout showing debugging lines when using CSS grid: Also with this re-write done I plan to start writing more widgets again! The previous design just made binding data or using events difficult and fragile.

Fidgetty Widget System: Rewrite

2022-09-18 Thread elcritch
I just merged a re-write of how widgets were implemented in [Fidgetty](https://github.com/elcritch/fidgetty). All of the tests have been updated, though I'm still working on the example apps. The re-write was based on feedback from initial testing, both my own and others. It is a breaking chang