00:00:01 | * | marcus quit (Read error: Connection reset by peer) |
00:00:37 | * | marcus joined #nim |
01:01:47 | FromDiscord | <Clonkk> Happy new year, excited for the Nim v3 road map |
01:39:29 | * | xet7 quit (Quit: Leaving) |
02:02:32 | FromDiscord | <demotomohiro> Happy Nim year! |
02:10:41 | FromDiscord | <fabric.input_output> happy new year |
02:30:17 | FromDiscord | <.tokyovigilante> Happy New Year team! |
02:31:03 | FromDiscord | <.tokyovigilante> If I want to compile a C++ file, and set a #define in that file, is there something like this that will work (this doesn't): `{.compile: "./cimgui/cimgui.cpp", "-DCIMGUI_DEFINE_ENUMS_AND_STRUCTS"}` |
02:43:36 | FromDiscord | <bostonboston> I think you want passC |
02:44:00 | FromDiscord | <bostonboston> Separate from the compile |
03:01:12 | FromDiscord | <.tokyovigilante> Thanks |
03:14:43 | * | rockcavera joined #nim |
03:27:15 | FromDiscord | <djazz> In reply to @.tokyovigilante "If I want to": localPassC pragma |
03:28:05 | FromDiscord | <Elegantbeef> There is a variation of compile that is in cal lform |
03:28:06 | FromDiscord | <Elegantbeef> callform\ |
03:28:23 | FromDiscord | <djazz> passC also works but if you want to focus the arg to current object fike |
03:28:26 | FromDiscord | <Elegantbeef> `{.compile("./cimgui/cimgui.cpp", "-DCIMGUI_DEFINE_ENUMS_AND_STRUCTS").}` should work |
03:28:43 | FromDiscord | <djazz> Yeah |
03:37:33 | FromDiscord | <.tokyovigilante> Turns out I had a PEBKAC elsewhere and didn’t actually need that defined after all, but good to know. On the plus side, now have the C ImGUI API working without any manual wrappers, using Futhark |
10:07:39 | * | ntat joined #nim |
11:36:36 | FromDiscord | <djazz> The nimgl wrapper generator works quite well though https://github.com/daniel-j/nimgl-imgui |
11:37:35 | FromDiscord | <djazz> In reply to @.tokyovigilante "Turns out I had": What renderer are you using? Glfw, sdl, raylib? |
12:44:49 | * | thunder quit (Quit: Leaving) |
12:46:45 | * | thunder joined #nim |
13:59:00 | * | nc0 joined #nim |
14:13:34 | * | ntat quit (Quit: Leaving) |
16:03:48 | * | nc0 quit (Remote host closed the connection) |
16:36:15 | * | ntat joined #nim |
16:46:09 | * | beholders_eye joined #nim |
16:50:08 | FromDiscord | <System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=NfMFbNNv |
16:51:15 | * | beholders_eye quit (Ping timeout: 246 seconds) |
16:52:10 | FromDiscord | <System64 ~ Flandre Scarlet> Oh, staticRead stores as binary data |
16:52:49 | FromDiscord | <fabric.input_output> I think the `AddFontFromFileTTF` expects a path to a ttf file |
16:53:45 | FromDiscord | <System64 ~ Flandre Scarlet> In reply to @fabric.input_output "I think the `AddFontFromFileTTF`": I use fromMemoryTTF now↵But I did this↵fontAwesome[0].addr↵The compiler : expression has no address |
16:54:20 | FromDiscord | <fabric.input_output> because it's a const |
16:54:26 | FromDiscord | <fabric.input_output> you need to make it a `let` |
16:54:36 | FromDiscord | <fabric.input_output> `const` is at compile time |
17:11:53 | FromDiscord | <System64 ~ Flandre Scarlet> Oh alright, thanks |
18:54:53 | * | beholders_eye joined #nim |
19:08:11 | FromDiscord | <Robyn [She/Her]> how do TUI libs control the terminal when it comes to drawing UIs, like in nano |
19:09:07 | FromDiscord | <Robyn [She/Her]> i wanna write to the terminal and restore the previous content on program exit |
19:10:24 | FromDiscord | <that_dude.> I think they uses curses |
19:10:41 | FromDiscord | <that_dude.> https://en.wikipedia.org/wiki/Curses_(programming_library) |
19:10:55 | FromDiscord | <that_dude.> I know python and probably most languages has bindings |
19:11:31 | FromDiscord | <Robyn [She/Her]> In reply to @that_dude. "I think they uses": I'm trying to implement my own lib for this just as a way to pass time |
19:12:35 | FromDiscord | <that_dude.> sent a code paste, see https://play.nim-lang.org/#pasty=CKFHxVCQ |
19:13:01 | FromDiscord | <Robyn [She/Her]> In reply to @that_dude. "Just a head up": got it |
20:02:39 | Amun-Ra | either (n)curses or libslang |
20:07:01 | * | krux02 joined #nim |
20:16:48 | FromDiscord | <.tokyovigilante> In reply to @djazz "What renderer are you": Vulkan and SDL for now, and am in the process of porting those two backends for now. I’m only targeting Linux so will probably swap out the SDL backend for direct use of Wayland at some point. |
20:17:46 | FromDiscord | <solitudesf> In reply to @.tokyovigilante "Vulkan and SDL for": x11 is forgotten... |
20:18:18 | FromDiscord | <.tokyovigilante> In reply to @solitudesf "x11 is forgotten...": Just unneeded 😉 |
20:25:50 | FromDiscord | <.tokyovigilante> In reply to @battery.acid.bubblegum "I'm trying to implement": Maybe see how Termbox does it - https://github.com/termbox/termbox2/blob/master/termbox2.h. Also, illwill- https://github.com/johnnovak/illwill |
20:37:54 | FromDiscord | <.tokyovigilante> sent a long message, see https://pasty.ee/hYtnbAQJ |
20:40:18 | * | beholders_eye quit (Ping timeout: 252 seconds) |
20:42:17 | * | beholders_eye joined #nim |
20:50:29 | * | beholders_eye quit (Ping timeout: 248 seconds) |
20:52:46 | * | beholders_eye joined #nim |
21:30:12 | FromDiscord | <Robyn [She/Her]> In reply to @.tokyovigilante "Maybe see how Termbox": thank you :) |
21:36:28 | FromDiscord | <Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=UCCaqhFX |
21:38:15 | * | ntat quit (Quit: Leaving) |
21:38:53 | * | tiorock joined #nim |
21:38:53 | * | rockcavera is now known as Guest5092 |
21:38:53 | * | Guest5092 quit (Killed (zinc.libera.chat (Nickname regained by services))) |
21:38:53 | * | tiorock is now known as rockcavera |
21:39:34 | FromDiscord | <fabric.input_output> sent a code paste, see https://play.nim-lang.org/#pasty=lmxMXfxv |
21:40:09 | FromDiscord | <fabric.input_output> sent a code paste, see https://play.nim-lang.org/#pasty=dlasPmvI |
21:40:57 | * | tiorock joined #nim |
21:40:58 | * | tiorock quit (Changing host) |
21:40:58 | * | tiorock joined #nim |
21:40:58 | * | rockcavera quit (Killed (calcium.libera.chat (Nickname regained by services))) |
21:40:58 | * | tiorock is now known as rockcavera |
21:58:40 | FromDiscord | <Robyn [She/Her]> `tput` is my saviour |
22:02:58 | FromDiscord | <Elegantbeef> @Robyn [She/Her] for my UI I just used `anchor: set[Location]` where location was `Left, Right, Top, Bottom, Centre` |
22:03:39 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "<@524288464422830095> for my UI": I'm a dumbass- Thank you |
22:04:02 | FromDiscord | <Elegantbeef> It does mean you need to have some assertions in your code for anchoring logic |
22:04:27 | FromDiscord | <Elegantbeef> Also `x, y: T` \` is less redundant 😛 |
22:04:41 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "It does mean you": Yeah to rule out contradictions |
22:04:55 | FromDiscord | <Robyn [She/Her]> In reply to @Elegantbeef "Also `x*, y*: T`": Perhaps |
22:54:45 | * | beholders_eye quit (Ping timeout: 248 seconds) |
23:28:39 | * | tiorock joined #nim |
23:28:39 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
23:28:39 | * | tiorock is now known as rockcavera |
23:30:42 | * | tiorock joined #nim |
23:30:42 | * | rockcavera is now known as Guest7201 |
23:30:42 | * | Guest7201 quit (Killed (iridium.libera.chat (Nickname regained by services))) |
23:30:42 | * | tiorock is now known as rockcavera |
23:31:53 | * | thunder quit (Killed (NickServ (GHOST command used by metasintactic))) |
23:31:53 | * | metasintactic joined #nim |
23:59:25 | FromDiscord | <Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=CzdTGtOF |