<< 22-07-2025 >>

00:00:24*tiorock joined #nim
00:00:24*rockcavera is now known as Guest621
00:00:24*Guest621 quit (Killed (copper.libera.chat (Nickname regained by services)))
00:00:24*tiorock is now known as rockcavera
00:02:34*Guest4594 quit (Ping timeout: 260 seconds)
02:58:30*SchweinDeBurg quit (Quit: WeeChat 4.8.0-dev)
02:58:58*SchweinDeBurg joined #nim
03:06:06*xet7 quit (Remote host closed the connection)
03:28:44*rockcavera quit (Remote host closed the connection)
06:26:58*skippy8 joined #nim
06:39:14*nils` quit (Ping timeout: 248 seconds)
06:48:18*xet7 joined #nim
06:49:27*amadaluzia joined #nim
07:55:32*nils` joined #nim
08:09:00*lx12ucy quit (Ping timeout: 276 seconds)
09:02:35*robertmeta quit (Remote host closed the connection)
09:02:36*ursa-major quit (Remote host closed the connection)
09:02:36*johuck quit (Remote host closed the connection)
09:02:36*casaca quit (Remote host closed the connection)
09:02:36*Freneticks quit (Remote host closed the connection)
09:02:36*tmpod quit (Remote host closed the connection)
09:02:36*mronetwo quit (Remote host closed the connection)
09:02:36*adigitoleo quit (Remote host closed the connection)
09:02:36*noeontheend quit (Remote host closed the connection)
09:23:28*pmp-p quit (Ping timeout: 240 seconds)
09:25:08*pmp-p joined #nim
10:10:44*mronetwo joined #nim
10:10:45*Freneticks joined #nim
10:10:46*casaca joined #nim
10:10:47*ursa-major joined #nim
10:10:51*noeontheend joined #nim
10:10:51*adigitoleo joined #nim
10:10:51*robertmeta joined #nim
10:10:52*tmpod joined #nim
10:10:52*johuck joined #nim
10:18:08*beholders_eye joined #nim
10:36:29*beholders_eye quit (Ping timeout: 260 seconds)
11:08:07*beholders_eye joined #nim
12:00:49*xutaxkamay quit (Read error: Connection reset by peer)
12:00:54*xutaxkamay_ joined #nim
12:01:48*xutaxkamay_ is now known as xutaxkamay
12:34:39*xutaxkamay quit (Read error: Connection reset by peer)
12:34:44*xutaxkamay_ joined #nim
12:35:38*xutaxkamay_ is now known as xutaxkamay
12:42:28*beholders_eye quit (Ping timeout: 240 seconds)
12:47:47*xutaxkamay_ joined #nim
12:47:49*xutaxkamay quit (Read error: Connection reset by peer)
12:48:43*xutaxkamay_ is now known as xutaxkamay
12:56:32*xet7 quit (Remote host closed the connection)
13:04:51*andy-turner joined #nim
13:05:32*xutaxkamay_ joined #nim
13:05:53*xutaxkamay quit (Read error: Connection reset by peer)
13:06:26*xutaxkamay_ is now known as xutaxkamay
13:28:40*beholders_eye joined #nim
14:25:58*beholders_eye quit (Ping timeout: 240 seconds)
14:45:49*beholders_eye joined #nim
14:56:28FromDiscord<blashyrk> Generic methods, while deprecated, seem to _kinda sometimes_ work? Does Nim have any sort of compile time method overriding check? One of my derived methods works (even though it's generic) and another silently fails dispatch at runtime, the base method gets called instead. Is there some flag that tells the compiler to check whether methods are properly defined to override something at compilation time?
15:09:29*beholders_eye quit (Ping timeout: 260 seconds)
15:09:38FromDiscord<griffith1deadly> In reply to @blashyrk "Generic methods, while deprecated,": i recommend using https://github.com/beef331/traitor
15:15:21FromDiscord<blashyrk> In reply to @griffith1deadly "i recommend using https://github.com/beef331/traito": Thanks, I'll give it a spin!
15:49:39FromDiscord<blashyrk> In reply to @griffith1deadly "i recommend using https://github.com/beef331/traito": It seems pretty cool, although generic procs seem to only be supported if the entire "trait" is generic (and the objects too)
15:52:47FromDiscord<griffith1deadly> In reply to @blashyrk "It seems pretty cool,": beeeef, fix itttt
15:54:00FromDiscord<blashyrk> Does nim even support generic first class func/proc? Other than the entire type being generic over some params
15:54:36*pmp-p quit (Quit: No Ping reply in 180 seconds.)
15:55:15FromDiscord<ollicron_53732> What's a good way to learn functional programming in Nim?
15:55:57*pmp-p joined #nim
16:03:26*jkl quit (Excess Flood)
16:05:53*jkl joined #nim
16:12:30*beholders_eye joined #nim
16:34:38*andy-turner quit (Remote host closed the connection)
16:34:55*andy-turner joined #nim
16:44:34FromDiscord<lainlaylie> In reply to @blashyrk "Does nim even support": procs can be generic. Can you give us an example of what kind of functionality you mean?
17:26:42*jjido joined #nim
17:33:50*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
18:00:50*beholders_eye quit (Ping timeout: 248 seconds)
19:01:00FromDiscord<blashyrk> In reply to @lainlaylie "procs can be generic.": I meant storing generic procs as object fields. That only works if the object itself is generic. Although I can kinda see why that'd be difficult to implement (and also why generic methods are deprecated)
19:01:09FromDiscord<blashyrk> (edit) "deprecated)" => "deprecated and broken)"
19:10:15FromDiscord<lainlaylie> yes, if you want to store a generic proc you need to instantiate it
19:42:37*beholders_eye joined #nim
19:47:14*xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
20:06:50*xutaxkamay joined #nim
20:13:34*amadaluzia quit (Quit: ZNC 1.10.0 - https://znc.in)
20:15:58*jjido joined #nim
20:17:53*xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
20:20:17*xutaxkamay joined #nim
20:30:12*xutaxkamay quit (Quit: ZNC 1.8.2+deb3.1+deb12u1 - https://znc.in)
20:35:29*xutaxkamay joined #nim
21:09:47*jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…)
21:20:52*xet7 joined #nim
21:22:35*rockcavera joined #nim
21:31:14*andy-turner quit (Quit: Leaving)
21:31:44*andy-turner joined #nim
21:31:46*andy-turner quit (Remote host closed the connection)
21:49:30*skippy8 quit (Quit: WeeChat 4.6.3)
22:07:47*tiorock joined #nim
22:07:47*rockcavera is now known as Guest9489
22:07:47*Guest9489 quit (Killed (molybdenum.libera.chat (Nickname regained by services)))
22:07:47*tiorock is now known as rockcavera
22:13:46*beholders_eye quit (Ping timeout: 252 seconds)
22:25:44*xet7 quit (Remote host closed the connection)
22:41:24FromDiscord<death.kills> i wrote a pandas-like library for data science in nim
22:41:25FromDiscord<death.kills> https://github.com/navid-m/razor
22:41:27FromDiscord<death.kills> check it out
22:46:01*_________ quit (Ping timeout: 244 seconds)
22:48:00*_________ joined #nim
22:57:21FromDiscord<albassort> sent a code paste, see https://play.nim-lang.org/#pasty=GEoIUTmB
23:08:33FromDiscord<albassort> sent a code paste, see https://play.nim-lang.org/#pasty=oXpPUObw
23:16:07FromDiscord<leorize> why do you need includes even
23:38:45FromDiscord<albassort> i thought i needed them
23:38:47FromDiscord<albassort> i guess i dont
23:38:49FromDiscord<albassort> i removed them
23:40:03FromDiscord<albassort> leo why dont i need them lol
23:52:59FromDiscord<leorize> if you have a file called `discord.c` in the same folder as `concord/`, you can just `#include "concord/whatever/you/want"` directly
23:53:17FromDiscord<leorize> the bigger question would obviously be why are you writing C
23:54:05FromDiscord<albassort> i do need it im working on it
23:54:09FromDiscord<albassort> In reply to @leorize "if you have a": yes i had that
23:54:12FromDiscord<albassort> In reply to @leorize "the bigger question would": i am