<< 02-08-2025 >>

01:09:11*amadaluzia_ joined #nim
01:12:49*amadaluzia quit (Ping timeout: 260 seconds)
01:23:22*amadaluzia_ quit (Quit: ZNC 1.10.1 - https://znc.in)
01:27:08*amadaluzia joined #nim
02:13:18*amadaluzia quit (Ping timeout: 276 seconds)
02:17:30*amadaluzia joined #nim
03:22:23*xet7 joined #nim
04:14:48*xet7 quit (Remote host closed the connection)
04:16:13*xet7 joined #nim
04:50:40*amadaluzia quit (Quit: ZNC 1.10.1 - https://znc.in)
05:06:06*nils` quit (Ping timeout: 252 seconds)
05:26:40*amadaluzia joined #nim
05:48:14*andy-turner joined #nim
06:02:05*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
07:15:52*derpydoo joined #nim
07:37:15*SchweinDeBurg joined #nim
08:11:31*skippy8 joined #nim
08:41:55*derpydoo quit (Ping timeout: 276 seconds)
08:53:38*derpydoo joined #nim
10:26:00*nils` joined #nim
10:32:30*derpydoo quit (Ping timeout: 276 seconds)
10:46:13*nils` quit (Ping timeout: 248 seconds)
11:27:34*nils` joined #nim
12:27:23*xet7 quit (Remote host closed the connection)
13:25:28*amadaluzia quit (Ping timeout: 240 seconds)
13:25:30*amadaluzia_ joined #nim
13:45:23*amadaluzia_ quit (Quit: ZNC 1.10.1 - https://znc.in)
14:52:55*beholders_eye joined #nim
16:25:58*beholders_eye quit (Ping timeout: 240 seconds)
16:51:42*lucerne quit (Quit: Bye)
16:54:07*lucerne joined #nim
17:29:29*amadaluzia joined #nim
17:35:39*beholders_eye joined #nim
17:49:02*nils` quit (Ping timeout: 252 seconds)
18:09:16FromDiscord<blashyrk> Does Nim support custom key-value defines? `-d:myKey=myValue`?
18:09:56FromDiscord<leorize> yes
18:10:04*nils` joined #nim
18:11:13FromDiscord<blashyrk> In reply to @leorize "yes": What's the syntax? And how can I use the value in `when defined(mykey): ...myvalue`?
18:11:39FromDiscord<leorize> define a variable/const in code with the pragma `{.strdefine.}` or `{.booldefine.}` or `{.intdefine.}`, then you can change their value by specifying `-d:varname=value`
18:14:03FromDiscord<blashyrk> Thanks!
18:19:52FromDiscord<Phil> In reply to @blashyrk "Thanks!": For your reference, the docs on it: https://nim-lang.org/docs/manual.html#implementation-specific-pragmas-compileminustime-define-pragmas
19:34:06*CypherCat quit (Ping timeout: 272 seconds)
20:19:33*CypherCat joined #nim
20:51:05*beholders_eye quit (Quit: WeeChat 4.6.3)
21:15:54FromDiscord<luteva> sent a code paste, see https://play.nim-lang.org/#pasty=sEAvstHT
21:17:04*andy-turner quit (Quit: Leaving)
21:19:54FromDiscord<Elegantbeef> Read the manual on `when statements`
21:34:37FromDiscord<albassort> me when i read about when
21:38:08*skippy8 quit (Quit: WeeChat 4.6.3)
21:50:40FromDiscord<Elegantbeef> It's really getting seeing LLM generated code
21:50:40FromDiscord<Elegantbeef> getting old
22:21:40FromDiscord<0xfab_10> it's giving getting
22:23:45FromDiscord<Elegantbeef> Indeed
22:24:55FromDiscord<albassort> In reply to @Elegantbeef "It's really getting seeing": people bring LLM generated code here and ask us to fix the hallucinations?
22:25:17FromDiscord<albassort> man not being #main serves me well
22:26:23FromDiscord<Elegantbeef> It indeed does serve you well
22:26:41FromDiscord<albassort> i want to help people but I'm not patient I feel
22:26:52FromDiscord<Elegantbeef> I'm quickly loosing mine 😄
22:26:54FromDiscord<Elegantbeef> losing even
22:27:03FromDiscord<Elegantbeef> Come join the skull matrix and be merry
23:14:24FromDiscord<aintea> In reply to @albassort "i want to help": it's normal you get used to it
23:14:39FromDiscord<aintea> you're proably more patient than you think