nimiSlides 🛷 Create beautiful slideshows in Nim 👑

2022-09-26 Thread hugogranstrom
Before going to bed now, I've thrown together something that you could use to get colors working: template nimConfTheme*() = setSlidesTheme(Black) nb.addStyle: """ :root { --r-heading-color: #ffe220; --r-link-color: #ffe220; --r-selection-color: #ffe

nimiSlides 🛷 Create beautiful slideshows in Nim 👑

2022-09-26 Thread hugogranstrom
I haven't thought about that tbh. Do you have any ideas in mind? Black background, yellow text and the Nim-logo somewhere on the page?

Battling with copies & a silly question

2022-09-26 Thread drkameleon
Thanks for this `addr table[key]`. I guess I needed some confirmation to make 100% sure I won't mess with the GC. Awesome :)

nimiSlides 🛷 Create beautiful slideshows in Nim 👑

2022-09-26 Thread planetis
I don't suppose someone made a branded theme for NimConf?

Battling with copies & a silly question

2022-09-26 Thread Araq
Just use more `ref` in your code. For tables `mgetOrPut` also works wonders but others already told you about it. There is also this idiom: let x = addr table[key] use x[] useAgain x[] Run It's not really all that hard...

codeGenDecl expressions and monomorphization

2022-09-26 Thread CircArgs
Thanks for the concise answer :)

Battling with copies & a silly question

2022-09-26 Thread drkameleon
OK, so, first of all let me tell you that I have spent countless hours analyzing what the Nim compiler is doing and how Nim code gets converted to C. Let's take this naive example: * we have a table (string keys, some user ref object values) * I'm looking up a key, get the value back * The

Cross-Compiling gintro/GTK4

2022-09-26 Thread popal159
It’s worth the money. You won’t be disappointed ดูหนังออนไลน์ 2022

Cross-Compiling gintro/GTK4

2022-09-26 Thread popal159
It’s worth the money. You won’t be disappointed ดูหนังออนไลน์ 2022