Proc inheritance for distinct type in Nim 2.0.0

2024-05-26 Thread Cnerd
Pls can you give code examples of overrides for the move semantics procs for a `distinct string` type

Nim YT video about writing "Nim-less Nim"

2024-05-26 Thread m4ul3r
Thanks for sharing that, I was the one who gave the talk about this.

Proc inheritance for distinct type in Nim 2.0.0

2024-05-26 Thread ElegantBeef
Well it does not "inherit" but yes the base types hooks are implicitly called, but you can override them if you want.

Nim Killer Fullstack App

2024-05-26 Thread throwaway567843
Totally fair question about the throwaway account: I'm hoping that the discussion focuses on the idea presented and the merits therein. People could comment in agreement/disagreement, or let me know about something I've potentially missed. This post isn't a request for anyone to do anything.

Upcoming "Nim for Pythonistas" talk at PyCon Italy

2024-05-26 Thread thegraynode
Great talk

Proc inheritance for distinct type in Nim 2.0.0

2024-05-26 Thread Cnerd
If a type of `distinct string` is created, does it automatically inherits the move semantics procs of string like `=destroy`, `=sink` and the likes, or does it have to be explicitly declared. Also is there any consequences to memory safety if these procs are not inherited

Nim Killer Fullstack App

2024-05-26 Thread throwaway567843
I'm familiar with Jester and Karax - I built a few internal tools at $DAY_JOB using Jester. Karax never really clicked for me sadly, but the DOM manipulation sublibrary it has is nice. But honestly I've been trying to move stuff over to mummy () which I think is c

Issue with some C++ code that; maybe a bug?

2024-05-26 Thread jmgomez
I think it worked before because it wasnt generating the right codegen. I recall fixing a bug related to mixing globals and `constructor`. Please, fix an issue with a small repro and I will try to take a look at it soon.

HappyX web framework got a new sponsor

2024-05-26 Thread matkuki
Hey @Qtless, How stable is `HappyX`'s develpment? Stable enough to make a end-product with it?

Code correction in Visual Studio Code.

2024-05-26 Thread AntonioFS
Hello. I understand. Sorry for how I added the image, but I'm not used to do it with this kind of forum editor. Thank you very much. Antonio F.S.

Nim Killer Fullstack App

2024-05-26 Thread 3-2-1
On topic: Checkout HappyX As an aside out of curiosity, how do you hope people receive your message when you present yourself as "throwaway567843"?

Code correction in Visual Studio Code.

2024-05-26 Thread AntonioFS
Hello. Whenever I can, I continue to study Nim. :-) I have an issue that I don't understand: when I write a Nim code in Visual Studio Code, I get a series of recommendations between the same code in grey colour. If it is an 'int' for example, I double click on it and it includes it in the code

Code correction in Visual Studio Code.

2024-05-26 Thread namisboss
What you are seeing is called an inlay hint. When gray, it is simply a piece of ghost text showing you what type your variable is. This can change as you update your code. Personally I would not double click and insert them as I don't specify the data type a variable holds unless there is an out

Pixie and NiGui

2024-05-26 Thread chrisecker
Simple reason: Because I need native look & feel! The plan is to use as much standard widgets as possible and only implement what can't be achieved otherwise. Thanks for your high quality libraries anyway.

Pixie and NiGui

2024-05-26 Thread chrisecker
Nice! This is just what I was hoping for. Many thanks.

Upcoming "Nim for Pythonistas" talk at PyCon Italy

2024-05-26 Thread moigagoo
The slides are fire though 🤘

Nim YT video about writing "Nim-less Nim"

2024-05-26 Thread demotomohiro
I wrote an article about making small Nim executable for 4k intro long time ago:

Issue with some C++ code that; maybe a bug?

2024-05-26 Thread mantielero
I was checking my repo [occt.nim](https://github.com/mantielero/occt.nim) and some examples that used to work (or that is what I believe), now they stopped working. For instance: [gp_06_ax1.nim](https://github.com/mantielero/occt.nim/blob/main/examples/01%20Foundation/gp_06_ax1.nim) when compi

Nexalyn Gennemgået – er det lovligt eller åbenlyst påstande?

2024-05-26 Thread nexalynerfaringer
Konklusion? Nexalyn er et banebrydende supplement, der understøtter mænds seksuelle ydeevne. Nexalyn Det giver langvarige erektioner, virilitet, energi og maksimal nydelse ved at bruge eksotiske næringsstoffer. Formlen revolutionerer dit sexliv og booster din selvtillid. Den mandlige forstærkni