On multi nested macros (templates) in sparse argument pass

2022-03-30 Thread mardiyah
How do we do so many multi nested macros, preferably, or templates without passing arguments that are complained in the compilation echoing error so that we get cleaner, better readability of code lines ?

Fidgets: widgets using Fidget

2022-03-30 Thread elcritch
> As the creator of Fidget, this look really cool! I fully support this > development. Awesome! > My goal was to allow people to create any kind of widget from Figma, but its > cool that you are taking it in a different direction and providing ready made > widgets. It is a bit of a different

Fidgets: widgets using Fidget

2022-03-30 Thread elcritch
> However, this changes everything™. If there's a ready to use library of UI > components for Fidget, it becomes more or less a production ready solution. That's my thinking too! Fidget is really just missing widgets. There's been a bit of polishing needed in a couple of spots (like say input te

Tetronimia: a version of *that* game for your terminal

2022-03-30 Thread Zoom
I hope the bug is fixed now, I tagged the new release [v0.2.1](https://github.com/indiscipline/tetronimia/releases/tag/v0.2.1). The thread dealing with user input is waiting for it in a blocking call. We currently rely on the OS to clean up after ther program finishes and terminate all the thre

Newbie questions about Nim, Python, XCB

2022-03-30 Thread federico3
When it comes to GUI, gintro supports libadwaita which allows creating application that work equally well on desktops, tablets and smartphones.

Native GUI development for MacOS

2022-03-30 Thread krystonmu
I recently found out that anyone can do this if they have a computer and a lot of enthusiasm. I want to share my emotions. It's just wow. We live in an amazing world. I get out of bed every day, and I can't stop wondering how amazing this world is

Fidgets: widgets using Fidget

2022-03-30 Thread treeform
As the creator of Fidget, this look really cool! I fully support this development. My goal was to allow people to create any kind of widget from Figma, but its cool that you are taking it in a different direction and providing ready made widgets. Thank you! Fidget does have abandonware vibe a

Fidgets: widgets using Fidget

2022-03-30 Thread Araq
Can we get some screenshots please?

Newbie questions about Nim, Python, XCB

2022-03-30 Thread auxym
For wayland, someone hanging out on discord is working on this, though my understanding is that it's a very early WIP:

Newbie questions about Nim, Python, XCB

2022-03-30 Thread noxnivi
Good day, First of all, thanks all for your replies, I've been doing some homework based on them. I took a look at nimpy as @ynfle pointed out, and looks very interesting, and it seems to work both ways, so I'll certainly be giving it a try. Including Python inside a Nim program, if I understa

Any on the Nim alias identical to C++ & ?

2022-03-30 Thread Yardanico
The direct equivalent would be using which takes a raw pointer of the original. A safer alternative would be to go around this with `ref` I guess.

Any on the Nim alias identical to C++ & ?

2022-03-30 Thread PMunch
Or a template, depending on what you're doing

Any on the Nim alias identical to C++ & ?

2022-03-30 Thread mardiyah
How is the nim alias identical / equivalent to C++ e.g int bar ; int &foo = bar ; Run Thanks for sincere help

Fidgets: widgets using Fidget

2022-03-30 Thread moigagoo
I'm currently looking for the right tool to implement a desktop app with. Fidget looked like a great option but it has a certain abandonware vibe around it. However, this changes everything™. If there's a ready to use library of UI components for Fidget, it becomes more or less a production rea

Automatic dereferencing for procs

2022-03-30 Thread markus_gritsch
Thanks for all the replies. I should not have used `seq` in the explaining example code, as it diverted the responses in that direction. The actual concern was why implicit dereferencing of ref object _fields_ is performed, but not for _procs_ on that ref object. Instead of requiring `ptr T not

Fidgets: widgets using Fidget

2022-03-30 Thread elcritch
P.S. my next goal is to create a basic suite of widgets like check boxes, list combos, spinners, etc. If anyone wants to help feel free to ping me. =)

Automatic dereferencing for procs

2022-03-30 Thread elcritch
> So I thought aliases are also considered idiomatic Nim. Aliases and reference's are idiomatic in Nim but usually as defined on the object type. As @exelotl5h mentioned `ref seq` in regular code isn't idiomatic. Some stdlib containers provide both value and ref types like Table vs TableRef. `s