<< 16-11-2024 >>

01:06:00*krux02_ quit (Quit: Leaving)
01:07:54FromDiscord<luteva> sent a code paste, see https://paste.rs/jRiVv
01:13:59FromDiscord<luteva> are there any helper functions to easily add/remove/manipulate an object (using macros)? Like adding or removing fields, change the type signature etc. of a field? I think this maybe be a common goal when working macros and it would be really nice to have an easy way to do this, without having to deal with nnkRecList, nnk etc. when doing "standard object manipulation things"....
01:14:58FromDiscord<luteva> (edit) "object" => "type"
01:15:40FromDiscord<Elegantbeef> https://github.com/beef331/micros/blob/master/src/micros/definitions/objectdefs.nim I was starting on it, but yea it's a lot of work
01:29:05*krux02_ joined #nim
01:32:32*deeo9 quit (Quit: The Lounge - https://thelounge.chat)
01:32:57*deeo9 joined #nim
01:33:36*krux02_ quit (Remote host closed the connection)
01:33:57*krux02_ joined #nim
02:09:11*krux02_ quit (Remote host closed the connection)
02:14:54*krux02_ joined #nim
05:22:02*krux02_ quit (Remote host closed the connection)
05:31:33*xet7 quit (Ping timeout: 248 seconds)
05:44:44*xet7 joined #nim
06:05:26*redj_ quit (Quit: No Ping reply in 180 seconds.)
06:05:49*redj joined #nim
06:33:22FromDiscord<ravinder387> sent a code paste, see https://paste.rs/EblKR
06:35:21FromDiscord<ravinder387> sent a code paste, see https://paste.rs/K8vc8
07:00:57FromDiscord<Elegantbeef> @ravinder387 we're waiting in suspense for the error message
07:08:40*redj quit (Read error: Connection reset by peer)
07:09:02*redj joined #nim
07:25:40*ntat joined #nim
08:23:42*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
08:26:19*SchweinDeBurg joined #nim
15:38:41Amun-Ra:D
15:38:52Amun-Raouch, we'll never kno
15:38:54Amun-Raw
16:09:38*xet7 quit (*.net *.split)
16:09:40*strogon14 quit (*.net *.split)
16:09:41*attah quit (*.net *.split)
16:09:41*GreaseMonkey quit (*.net *.split)
16:09:42*blackbeard420 quit (*.net *.split)
16:09:42*ChanServ quit (*.net *.split)
16:15:56*xet7 joined #nim
16:15:57*strogon14 joined #nim
16:15:57*blackbeard420 joined #nim
16:15:57*GreaseMonkey joined #nim
16:15:57*attah joined #nim
16:20:55*xet7 quit (*.net *.split)
16:20:57*strogon14 quit (*.net *.split)
16:20:58*attah quit (*.net *.split)
16:20:58*GreaseMonkey quit (*.net *.split)
16:20:58*blackbeard420 quit (*.net *.split)
16:20:58*ChanServ quit (*.net *.split)
16:20:59*SchweinDeBurg quit (*.net *.split)
16:21:00*xaltsc quit (*.net *.split)
16:21:02*Deadm0th quit (*.net *.split)
16:21:03*oisota quit (*.net *.split)
16:21:03*ttkap quit (*.net *.split)
16:21:03*hovsater quit (*.net *.split)
16:21:04*anddam quit (*.net *.split)
16:21:04*oz quit (*.net *.split)
16:21:05*tanami_ quit (*.net *.split)
16:21:06*nisstyre quit (*.net *.split)
16:21:06*mahlon quit (*.net *.split)
16:21:06*bcksl quit (*.net *.split)
16:21:06*via_ quit (*.net *.split)
16:21:07*notchris quit (*.net *.split)
16:21:09*m5zs7k quit (*.net *.split)
16:21:09*zgasma quit (*.net *.split)
16:21:10*pbsds3 quit (*.net *.split)
16:21:11*jkl quit (*.net *.split)
16:21:12*Ekho quit (*.net *.split)
16:21:12*end quit (*.net *.split)
16:21:13*Onionhammer quit (*.net *.split)
16:21:17*dza quit (*.net *.split)
16:21:18*ursa-major quit (*.net *.split)
16:21:20*alice quit (*.net *.split)
16:21:20*Jjp137 quit (*.net *.split)
16:21:20*fallback quit (*.net *.split)
16:21:21*flynn quit (*.net *.split)
16:21:21*cnx quit (*.net *.split)
16:21:22*acidsys quit (*.net *.split)
16:21:22*casaca quit (*.net *.split)
16:21:23*_________ quit (*.net *.split)
16:21:23*pmp-p quit (*.net *.split)
16:21:25*johuck quit (*.net *.split)
16:21:26*Amun-Ra quit (*.net *.split)
16:21:26*bgupta quit (*.net *.split)
16:21:27*redj quit (*.net *.split)
16:21:29*Lord_Nightmare quit (*.net *.split)
16:21:31*ormiret quit (*.net *.split)
16:21:34*gshumway quit (*.net *.split)
16:21:34*mal`` quit (*.net *.split)
16:21:35*HER quit (*.net *.split)
16:21:36*maytha8 quit (*.net *.split)
16:21:36*syl quit (*.net *.split)
16:21:39*om3ga quit (*.net *.split)
16:21:40*termer quit (*.net *.split)
16:21:40*lumidify quit (*.net *.split)
16:21:40*ehmry quit (*.net *.split)
16:21:40*Batzy quit (*.net *.split)
16:21:41*computerquip quit (*.net *.split)
16:21:41*tk quit (*.net *.split)
16:21:43*Jhonny2x4 quit (*.net *.split)
16:21:43*robertmeta quit (*.net *.split)
16:21:45*dv^_^ quit (*.net *.split)
16:21:46*oddish quit (*.net *.split)
16:21:48*def- quit (*.net *.split)
16:21:49*noeontheend quit (*.net *.split)
16:21:49*tmpod quit (*.net *.split)
16:21:50*mronetwo quit (*.net *.split)
16:23:31*oddish joined #nim
16:23:31*ormiret joined #nim
16:23:31*tk joined #nim
16:23:31*computerquip joined #nim
16:23:31*Batzy joined #nim
16:23:31*end joined #nim
16:23:31*dv^_^ joined #nim
16:23:31*Amun-Ra joined #nim
16:23:31*ehmry joined #nim
16:23:31*bgupta joined #nim
16:23:31*lumidify joined #nim
16:23:31*termer joined #nim
16:23:31*Ekho joined #nim
16:23:31*pmp-p joined #nim
16:23:31*_________ joined #nim
16:23:31*mronetwo joined #nim
16:23:31*casaca joined #nim
16:23:31*noeontheend joined #nim
16:23:31*ursa-major joined #nim
16:23:31*johuck joined #nim
16:23:31*robertmeta joined #nim
16:23:31*Jhonny2x4 joined #nim
16:23:31*dza joined #nim
16:23:31*acidsys joined #nim
16:23:31*Lord_Nightmare joined #nim
16:23:31*jkl joined #nim
16:23:31*tanami_ joined #nim
16:23:31*nisstyre joined #nim
16:23:31*mahlon joined #nim
16:23:31*bcksl joined #nim
16:23:31*via_ joined #nim
16:23:31*notchris joined #nim
16:23:31*cnx joined #nim
16:23:31*om3ga joined #nim
16:23:31*flynn joined #nim
16:23:31*def- joined #nim
16:23:31*tmpod joined #nim
16:23:31*pbsds3 joined #nim
16:23:31*fallback joined #nim
16:23:31*Jjp137 joined #nim
16:23:31*oz joined #nim
16:23:31*alice joined #nim
16:23:31*zgasma joined #nim
16:23:31*m5zs7k joined #nim
16:23:31*Onionhammer joined #nim
16:23:31*redj joined #nim
16:23:31*xet7 joined #nim
16:23:31*strogon14 joined #nim
16:23:31*blackbeard420 joined #nim
16:23:31*GreaseMonkey joined #nim
16:23:31*attah joined #nim
16:24:24*alice quit (*.net *.split)
16:24:24*Jjp137 quit (*.net *.split)
16:24:24*fallback quit (*.net *.split)
16:24:25*flynn quit (*.net *.split)
16:24:25*cnx quit (*.net *.split)
16:24:25*acidsys quit (*.net *.split)
16:24:26*casaca quit (*.net *.split)
16:24:26*_________ quit (*.net *.split)
16:24:27*pmp-p quit (*.net *.split)
16:24:37*Jjp137 joined #nim
16:24:38*fallback joined #nim
16:24:38*flynn joined #nim
16:24:38*cnx joined #nim
16:24:38*acidsys joined #nim
16:24:38*casaca joined #nim
16:24:38*_________ joined #nim
16:24:38*pmp-p joined #nim
16:26:06*SchweinDeBurg joined #nim
16:26:06*xaltsc joined #nim
16:26:06*Deadm0th joined #nim
16:26:06*oisota joined #nim
16:26:06*ttkap joined #nim
16:26:06*hovsater joined #nim
16:26:06*anddam joined #nim
16:26:23*gshumway joined #nim
16:26:23*mal`` joined #nim
16:26:23*HER joined #nim
16:26:23*maytha8 joined #nim
16:26:23*syl joined #nim
16:26:40*om3ga quit (*.net *.split)
16:26:41*termer quit (*.net *.split)
16:26:41*lumidify quit (*.net *.split)
16:26:41*ehmry quit (*.net *.split)
16:26:41*Batzy quit (*.net *.split)
16:26:42*computerquip quit (*.net *.split)
16:26:42*tk quit (*.net *.split)
16:27:03*HER_ joined #nim
16:27:21*om3ga joined #nim
16:27:21*termer joined #nim
16:27:21*lumidify joined #nim
16:27:21*ehmry joined #nim
16:27:21*Batzy joined #nim
16:27:21*computerquip joined #nim
16:27:21*tk joined #nim
16:27:35*HER quit (Max SendQ exceeded)
16:27:35*syl quit (Max SendQ exceeded)
16:27:35*gshumway quit (Max SendQ exceeded)
16:27:37*Jhonny2x4 quit (*.net *.split)
16:27:37*robertmeta quit (*.net *.split)
16:27:38*dv^_^ quit (*.net *.split)
16:27:40*oddish quit (*.net *.split)
16:28:06*Jhonny2x4 joined #nim
16:28:06*robertmeta joined #nim
16:28:06*dv^_^ joined #nim
16:28:06*oddish joined #nim
16:28:24*alice joined #nim
16:28:34*syl joined #nim
16:29:02FromDiscord<TFed> sent a code paste, see https://play.nim-lang.org/#pasty=nJWHcaJs
16:29:05*syl quit (*.net *.split)
16:29:05*redj quit (*.net *.split)
16:29:07*Lord_Nightmare quit (*.net *.split)
16:29:09*ormiret quit (*.net *.split)
16:29:29*gshumway joined #nim
16:29:48*syl joined #nim
16:29:48*redj joined #nim
16:29:48*ormiret joined #nim
16:29:50FromDiscord<TFed> i broke my application, when tried to include OOP, but something gone wrong and lib is still broken😐️
16:30:15*Lord_Nightmare joined #nim
16:30:22*johuck quit (*.net *.split)
16:30:23*Amun-Ra quit (*.net *.split)
16:30:23*bgupta quit (*.net *.split)
16:32:24*johuck joined #nim
16:32:24*bgupta joined #nim
16:32:24*Amun-Ra joined #nim
16:44:35*syl quit (Ping timeout: 260 seconds)
16:47:08*syl joined #nim
16:48:03*oz quit (*.net *.split)
16:48:04*tanami_ quit (*.net *.split)
16:48:06*nisstyre quit (*.net *.split)
16:48:06*mahlon quit (*.net *.split)
16:48:06*bcksl quit (*.net *.split)
16:48:06*via_ quit (*.net *.split)
16:48:06*notchris quit (*.net *.split)
16:49:23*oz joined #nim
16:49:23*tanami_ joined #nim
16:49:23*nisstyre joined #nim
16:49:23*mahlon joined #nim
16:49:23*bcksl joined #nim
16:49:23*via_ joined #nim
16:49:23*notchris joined #nim
16:52:01*Lord_Nightmare quit (*.net *.split)
16:52:03*def- quit (*.net *.split)
16:52:03*noeontheend quit (*.net *.split)
16:52:03*tmpod quit (*.net *.split)
16:52:04*mronetwo quit (*.net *.split)
16:52:42FromDiscord<TFed> i think the issue is how i initialise an objects with `new`, or how i put them in function args
16:52:55*tmpod joined #nim
16:52:55*def- joined #nim
16:52:55*noeontheend joined #nim
16:52:55*mronetwo joined #nim
16:53:09*Lord_Nightmare joined #nim
16:55:41*Onionhammer quit (*.net *.split)
16:55:43*dza quit (*.net *.split)
16:55:43*ursa-major quit (*.net *.split)
16:56:54*Onionhammer joined #nim
16:56:54*dza joined #nim
16:56:54*ursa-major joined #nim
16:57:53*gshumway quit (*.net *.split)
16:57:54*m5zs7k quit (*.net *.split)
16:57:54*zgasma quit (*.net *.split)
16:57:55*pbsds3 quit (*.net *.split)
16:57:56*jkl quit (*.net *.split)
16:57:57*Ekho quit (*.net *.split)
16:57:57*end quit (*.net *.split)
16:59:05*gshumway joined #nim
16:59:05*m5zs7k joined #nim
16:59:05*zgasma joined #nim
16:59:05*pbsds3 joined #nim
16:59:05*jkl joined #nim
16:59:05*Ekho joined #nim
16:59:05*end joined #nim
17:13:34FromDiscord<TFed> yay😄, i tried use objects, before `new` them
17:13:41FromDiscord<TFed> yay😄, i tried use objects, before I had `new` them
17:13:53FromDiscord<TFed> yay😄, i tried to use objects, before I had `new` them
17:17:49FromDiscord<rakgew> what would be the canonical way to upgrade nimble?↵it does not seem to have a self-update? (or did I just miss it?)
17:30:08FromDiscord<nasuray> `nimble install nimble`
17:31:06FromDiscord<rakgew> ah ok - makes sense. @nasuray \: thank you!
17:43:00FromDiscord<treeform> In reply to @omareladly "are there any resources": There is no way to just write for raw GPU and not using one of the libraries you mention. You would have to learn graphics libs like Vulkan/OpenGL or DX/Metal. Or GPUGP libs like Cuda or OpenCL. There is just no way around that. Unless you want to be writing Linux drivers for GPUs but that is an extra level of hard. GPU companies don't make raw GPU access easy.
17:48:26FromDiscord<fabric.input_output> how can I reference by index the arguments of the function in the `importx` pragma's argument?
17:51:25*coldfeet joined #nim
18:20:48FromDiscord<fabric.input_output> damn the `cast[int](someEnumSet)` doesn't turn it into an int
18:20:59FromDiscord<fabric.input_output> so it is unsafe
18:22:03FromDiscord<odexine> what?
18:23:53FromDiscord<fabric.input_output> I asked some time ago if doing `cast[int](someEnumSet)` with js backend would act similarly to what usually happens when you do that in C
18:24:01FromDiscord<fabric.input_output> and I was told yes
18:24:30FromDiscord<fabric.input_output> I tried now and realized that it's not true
18:26:45FromDiscord<solitudesf> why would anyone store bitflags in js numbers?
18:27:01FromDiscord<fabric.input_output> idk, ask the webgpu interface
18:28:09FromDiscord<solitudesf> can you link that part?
18:30:30FromDiscord<fabric.input_output> In reply to @solitudesf "can you link that": https://developer.mozilla.org/en-US/docs/Web/API/GPUDevice/createBuffer the `usage` option
18:32:33FromDiscord<solitudesf> yeah, you're gonna have to manually bitshift your set components for js. idk how cast even works for js.
18:34:02FromDiscord<fabric.input_output> I got back an object with number keys and `true` values
18:34:17FromDiscord<fabric.input_output> the js backend lowkey sucks tbh
20:34:54FromDiscord<fabric.input_output> sent a code paste, see https://play.nim-lang.org/#pasty=YTofwISO
20:35:08FromDiscord<fabric.input_output> (edit) "https://play.nim-lang.org/#pasty=pYtBDLcZ" => "https://play.nim-lang.org/#pasty=oiDmrHap"
20:35:24FromDiscord<fabric.input_output> (edit) "https://play.nim-lang.org/#pasty=pSLJLjUC" => "https://play.nim-lang.org/#pasty=bTuJkBSy"
21:06:32*coldfeet quit (Remote host closed the connection)
21:07:40*ntat quit (Quit: Leaving)
23:13:18*krux02 joined #nim