<< 07-05-2026 >>

00:12:09*beholders_eye quit (Ping timeout: 255 seconds)
02:40:46*rockcavera quit (Remote host closed the connection)
04:15:49*skippy8 joined #nim
04:22:23*deavmi quit (Quit: Eish, load shedding!)
04:30:45*oculux joined #nim
04:31:24*deavmi joined #nim
04:33:26*kick455 quit (Ping timeout: 265 seconds)
06:10:11*xet7 quit (Remote host closed the connection)
07:19:45*przmk quit (Ping timeout: 245 seconds)
07:20:44*przmk_ joined #nim
07:32:05FromDiscord<ayex> [bung87 (Bung)](https://matrix.to/#/%40bung87-59f2c890d73408ce4f7befee%3Agitter.im) saw your ide project drift πŸ™‚ - so I cloned and compiled it. unfortunately on both linux(debian) and win11 I get a "SIGSEGV\: Illegal storage access. (Attempt to read from nil?)" for drift/src/ui/icons.nim(110) loadIcons
07:32:22FromDiscord<ayex> [bung87 (Bung)](https://matrix.to/#/%40bung87-59f2c890d73408ce4f7befee%3Agitter.im) saw your ide project drift πŸ™‚ - so I cloned and compiled it. unfortunately on both linux(debian) and win11 I get a "SIGSEGV\: Illegal storage access. (Attempt to read from nil?)" for drift/src/ui/icons.nim(110) loadIcons .
07:32:45FromDiscord<ayex> [bung87 (Bung)](https://matrix.to/#/%40bung87-59f2c890d73408ce4f7befee%3Agitter.im) saw your ide project drift πŸ™‚ - so I cloned and compiled it. unfortunately on both linux(debian) and win11 I get a "SIGSEGV\: Illegal storage access. (Attempt to read from nil?)" for drift/src/ui/icons.nim(110) loadIcons . is this a known issue?
07:40:24FromDiscord<ayex> [Bung](https://matrix.to/#/%40bung87%3Amatrix.org) [bung87 (Bung)](https://matrix.to/#/%40bung87-59f2c890d73408ce4f7befee%3Agitter.im) saw your ide project drift πŸ™‚ - so I cloned and compiled it. unfortunately on both linux(debian) and win11 I get a "SIGSEGV\: Illegal storage access. (Attempt to read from nil?)" for drift/src/ui/icons.nim(110) loadIcons . is this a known issue? the last id I can echo out before the SIGSEGV is drift\_icons/
07:40:55FromDiscord<ayex> ah nvm it seems to be known in issue 2 already πŸ™‚
08:06:21*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
08:19:14*beholders_eye joined #nim
08:19:29*skippy8 quit (Quit: WeeChat 4.8.1)
08:52:57FromDiscord<bung8954> In reply to @ayex "[Bung](https://matrix.to/#/%40bung87%3Amatrix.org) ": yeah, known issue, I only added macos support
08:59:24FromDiscord<bung8954> https://github.com/nim-community/nsheep is stable now, use combinate with `slim` , deploy to your host, CI all green now.
08:59:33FromDiscord<ayex> thanks for the feedback. when using the proposed pr code for icons.nim it starts (and pretty fast too πŸ™‚ ) but of course without icons.
09:00:31FromDiscord<ayex> the first iiFile.png is created though and looks like a legit png icon πŸ€”
09:01:14FromDiscord<bung8954> In reply to @ayex "thanks for the feedback.": yeah, can just skip the image part, startup fast, low memory usage. well that's uirelays adventage.
09:02:47FromDiscord<bung8954> In reply to @ayex "the first iiFile.png is": I can't remenber clearly, possiblely my pr is about render image on edit area.
09:04:57FromDiscord<bung8954> ideally, agentic cli + drift for daily usage.
09:24:27*SchweinDeBurg joined #nim
10:06:47*syl quit (Quit: C-x C-c)
10:08:11FromDiscord<ayex> well, the llm-stuff is not for me, but having a native ide with quick startup time, editable in nim (for plugins and/or adjustments)↡↡does sound attractive πŸ™‚
10:08:23FromDiscord<ayex> well, the llm-stuff is not for me, but having a native ide with quick startup time, editable in nim (for plugins and/or adjustments) does sound attractive πŸ™‚
10:12:40FromDiscord<mratsim> In reply to @meyrakle "how can i use": params get a suffix p0, p1, p2
10:13:45FromDiscord<mratsim> In reply to @meyrakle "how can i use": {.emit: ["return new SeineToplevel(", params, ");"].}
10:13:49*syl joined #nim
10:13:51FromDiscord<mratsim> (edit) "{.emit:" => "`{.emit:" | "");"].}" => "");"].}`"
10:27:23*hygo quit (Quit: WeeChat 4.7.1)
10:28:16*hygo joined #nim
12:07:59*The_Camel left #nim (Leaving)
12:30:11*beholder1 joined #nim
12:33:53*beholders_eye quit (Ping timeout: 265 seconds)
13:59:54*beholder1 quit (Ping timeout: 265 seconds)
14:01:24*beholders_eye joined #nim
18:31:05*beholders_eye quit (Ping timeout: 272 seconds)
18:33:55*oculux quit (Ping timeout: 264 seconds)
19:12:19FromDiscord<crochubourbier> hey, does anybody know why case statement macros don't work on enum types ? is it because it would remove the exhaustiveness check ?
19:15:33FromDiscord<crochubourbier> because I dont see the problem if you accept only your custom enum type, you could handle the checking yourself for this specific type and the default behavior will still happen on any other enum
19:15:58FromDiscord<crochubourbier> (edit) "will" => "would" | "on" => "with" | "still happenwithany other enum ... " added "type"
19:43:55shanoaiceWhat will happen if a thread spawned by std/typedthreads throws an uncaught Error? Will joinThread(s) relay the error when it is called?
20:38:38*skippy8 joined #nim
20:53:30*lumidify quit (Quit: leaving)
20:54:36*lumidify joined #nim
21:20:03*rockcavera joined #nim
21:26:15FromDiscord<nasuray> In reply to @crochubourbier "hey, does anybody know": why would you need a case statement macro for an enum?
21:35:08FromDiscord<crochubourbier> I have a variant type with a distinct type associated with each branch, I wanted to create a case macro that takes a kind, checks if its an expression in the form sym.sym, then on each of branch, shadow the parent object variable with a new variable that has the same value but casted to the right distinct type
21:37:14FromDiscord<nasuray> In reply to @crochubourbier "I have a variant": Sounds like you've created a needlessly complex system lol
21:37:30FromDiscord<nasuray> Did you try making the enum distinct?
21:38:25FromDiscord<crochubourbier> sent a code paste, see https://play.nim-lang.org/#pasty=NkspgoWp
21:39:29FromDiscord<nasuray> In reply to @crochubourbier "example, the user would": Looks like a plain old enum to me
21:39:37FromDiscord<crochubourbier> In reply to @nasuray "Did you try making": yes, I tried, it doesnt work 😭
21:40:58FromDiscord<crochubourbier> it works only when wrapped into an object, so I also tried doing that and creating a converter, but the case macro doesnt handle implicit conversion
21:41:41FromDiscord<crochubourbier> (edit) removed "the" | "macro" => "macros"
21:41:56FromDiscord<crochubourbier> (edit) "doesnt" => "dont"
21:42:12FromDiscord<mratsim> In reply to @crochubourbier "example, the user would": ANode is a runtime type / inheritance?
21:42:29FromDiscord<crochubourbier> its just a distinct Node
21:42:48FromDiscord<crochubourbier> but the macro would match it to the enum variant by its name
21:43:03FromDiscord<mratsim> @planetis_m your jsonpak cannot extract values? Like getInt / getFloat, etc?
21:43:31*skippy8 quit (Quit: WeeChat 4.8.1)
21:44:29FromDiscord<mratsim> In reply to @crochubourbier "but the macro would": I'm not too sure what you're trying to do but if you want to see macros that create case objects here you go: https://github.com/mratsim/trace-of-radiance/blob/master/trace_of_radiance/support/emulate_classes_with_ADTs.nim#L123-L150↡↡Hope it helps
21:45:17FromDiscord<mratsim> In reply to @crochubourbier "but the macro would": and you have one that creates functions to dispatch on those objects: https://github.com/mratsim/trace-of-radiance/blob/master/trace_of_radiance/support/emulate_classes_with_ADTs.nim#L171-L196
21:45:25FromDiscord<crochubourbier> In reply to @mratsim "I'm not too sure": thanks, I'll check that out
21:46:00FromDiscord<mratsim> In reply to @crochubourbier "thanks, I'll check that": test at the bottom to see what it does
21:49:55*beholders_eye joined #nim
21:50:24*oculux joined #nim
22:39:42*ftajhii joined #nim
23:38:45*xet7 joined #nim
23:43:08*beholders_eye quit (Quit: WeeChat 4.9.0)