<< 24-05-2025 >>

00:12:47*PMunch__ joined #nim
00:16:12*PMunch_ quit (Ping timeout: 268 seconds)
00:27:01FromDiscord<Elegantbeef> @aintea Something tells me if the users will suffer you won't have any users to worry about
00:27:24FromDiscord<Elegantbeef> But let's be honest it's Nim code, no one is going to use it
00:52:25FromDiscord<DetermiedNim1> Crazy statement
00:55:22*thunder quit (Remote host closed the connection)
00:56:19*thunder joined #nim
01:50:58*xet7 joined #nim
02:10:10*PMunch_ joined #nim
02:12:53*PMunch__ quit (Ping timeout: 245 seconds)
02:40:19*thunder quit (Killed (NickServ (GHOST command used by metasintactic)))
02:40:19*metasintactic joined #nim
02:58:05*rockcavera joined #nim
03:16:15*metasintactic quit (Remote host closed the connection)
03:16:56*thunder joined #nim
04:24:57*thunder quit (Remote host closed the connection)
04:25:24*thunder joined #nim
04:32:41*thunder quit (Killed (NickServ (GHOST command used by metasintactic)))
04:32:45*metasintactic joined #nim
04:33:16*thunder joined #nim
04:37:24*metasintactic quit (Ping timeout: 264 seconds)
04:41:13*thunder quit (Quit: Leaving)
06:15:57*rockcavera is now known as Guest1855
06:15:57*tiorock joined #nim
06:15:57*Guest1855 quit (Killed (silver.libera.chat (Nickname regained by services)))
06:15:57*tiorock is now known as rockcavera
06:18:03*tiorock joined #nim
06:18:03*tiorock quit (Changing host)
06:18:03*tiorock joined #nim
06:18:03*rockcavera quit (Killed (lead.libera.chat (Nickname regained by services)))
06:18:03*tiorock is now known as rockcavera
06:30:30*ntat joined #nim
06:42:39*ntat quit (Ping timeout: 272 seconds)
06:44:19*ntat joined #nim
08:36:55FromDiscord<aintea> In reply to @Elegantbeef "But let's be honest": You're ultimately right
08:39:11*tiorock joined #nim
08:39:11*tiorock quit (Changing host)
08:39:11*tiorock joined #nim
08:39:11*rockcavera quit (Killed (osmium.libera.chat (Nickname regained by services)))
08:39:11*tiorock is now known as rockcavera
08:41:18*tiorock joined #nim
08:41:18*tiorock quit (Changing host)
08:41:18*tiorock joined #nim
08:41:18*rockcavera is now known as Guest6898
08:41:18*Guest6898 quit (Killed (iridium.libera.chat (Nickname regained by services)))
08:41:18*tiorock is now known as rockcavera
08:54:34*andy-turner joined #nim
10:48:24FromDiscord<janakali> I wouldn't say no one - one user is still a user.
10:48:44FromDiscord<janakali> (edit) "no one" => ""no one""
10:50:16*ntat quit (Quit: leaving)
10:50:59*ntat joined #nim
11:31:01FromDiscord<.tokyovigilante> sent a code paste, see https://play.nim-lang.org/#pasty=FNqUkwAI
11:31:10FromDiscord<.tokyovigilante> Is there any way to overcome this?
11:32:33FromDiscord<heysokam> In reply to @.tokyovigilante "Is there any way": I've never used compile pragmas like that with (), I always use`{.passC: "-I/the/path".}` instead
11:33:04FromDiscord<heysokam> also, you can add `--verbosity:3` to see what the compilation commands are
11:33:37FromDiscord<heysokam> maybe `2` would be enough, can't remember
11:34:21FromDiscord<heysokam> since you are compiling `.cpp`, also make sure that the cpp backend is selected for the entire project
11:38:06FromDiscord<.tokyovigilante> Thanks, that adds the include, although the documentation would suggest adding it to the `compile` line directly should work too
11:38:37FromDiscord<.tokyovigilante> it does dump out the compile command on error without increasing verbosity on my machine
11:39:56*andy-turner quit (Quit: Leaving)
11:40:17*andy-turner joined #nim
11:40:31*andy-turner quit (Client Quit)
11:55:47*andy-turner joined #nim
12:10:31*andy-turner quit (Quit: Leaving)
12:11:30*andy-turner joined #nim
12:20:33FromDiscord<lainlaylie> I too have never used compile like that but the documented syntax is `{.compile("myfile.cpp", "--custom flags here").}` i.e. no colon, does that make any difference?
12:55:22*_________ quit (Ping timeout: 252 seconds)
13:03:57*_________ joined #nim
13:04:49FromDiscord<griffith1deadly> In reply to @lainlaylie "I too have never": yep it's two different ways ↵e.x. compile(file.cpp, --args) will apply that args only to that file
13:05:15FromDiscord<griffith1deadly> when you don't want your project to be forced with some flags it's best way
13:06:19FromDiscord<griffith1deadly> e.x. in that way you can compile c++ files with c backend, only need override linker to c++ and all will be fine as far as i tested that with tracy profiler
13:12:52FromDiscord<heysokam> didn't know that was possible. great to know, ty griffith
13:14:59*fabricio joined #nim
13:22:07FromDiscord<lainlaylie> my "does that make any difference" was more of a prompt for tokyo to try and see if it works for what theyre doing, the manual explains the two different syntaxes
14:14:38*kenran joined #nim
14:30:16FromDiscord<aintea> In reply to @janakali "I wouldn't say "no": I don't even use my own library
14:30:34FromDiscord<aintea> Because I spend all my time developing it and not making cli tools
14:34:13FromDiscord<aintea> I'm stuck having a seizure trying to make macros for the non existent users to have better experience
14:52:24FromDiscord<heysokam> @aintea Always write what you need or will need, and only when you truly need it to move forward↵The best tools are written to solve a real need, and you are the best user↵In the case that nobody else uses your code ever... who cares if you use it yourself everyday?
14:53:55FromDiscord<heysokam> If you don't use it, but have expectations of doing so one day,↵then prototype what you need right now, and leave the might-need things for future you to deal with
15:20:06FromDiscord<kapendev> Create a new version of your library and try to make a project with it. This is the best way to check what things are needed and what needs to be removed.
16:24:26*skippy8 joined #nim
16:54:02*PMunch__ joined #nim
16:57:15*PMunch_ quit (Ping timeout: 276 seconds)
17:35:11*tiorock joined #nim
17:35:12*tiorock quit (Changing host)
17:35:12*tiorock joined #nim
17:35:12*rockcavera quit (Killed (erbium.libera.chat (Nickname regained by services)))
17:35:12*tiorock is now known as rockcavera
17:37:17*rockcavera is now known as Guest6511
17:37:17*tiorock joined #nim
17:37:17*Guest6511 quit (Killed (platinum.libera.chat (Nickname regained by services)))
17:37:17*tiorock is now known as rockcavera
18:51:12*fabricio quit (Read error: Connection reset by peer)
18:53:08*kenran quit (Remote host closed the connection)
19:06:37*fabricio joined #nim
19:58:00*ntat quit (Quit: leaving)
20:52:30FromDiscord<.tokyovigilante> Ah thanks, that does work addng the flag to `compile()` without the colon
20:53:44FromDiscord<.tokyovigilante> I prefer that rather than putting flags everywhere, and as suggested works for building C++ with the C backend
21:31:56*tiorock joined #nim
21:31:56*rockcavera is now known as Guest1439
21:31:56*Guest1439 quit (Killed (tungsten.libera.chat (Nickname regained by services)))
21:31:56*tiorock is now known as rockcavera
21:34:03*tiorock joined #nim
21:34:03*tiorock quit (Changing host)
21:34:03*tiorock joined #nim
21:34:03*rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services)))
21:34:03*tiorock is now known as rockcavera
21:35:43FromDiscord<aintea> In reply to @heysokam "<@680384230227836970> Always write what": I just need a runtime case statement
21:35:46FromDiscord<aintea> that's all I need
21:36:06FromDiscord<aintea> and a macro to instantiate the parser because I hate the builder pattern like I'm doing
21:37:09FromDiscord<aintea> In reply to @kapendev "Create a new version": That's what I already do
21:37:30FromDiscord<aintea> I made the library in the first place because I was making a todo list app
21:37:42FromDiscord<aintea> and now I'm making a library 7x the size of the todo list app
21:45:43*andy-turner quit (Quit: Leaving)
21:52:33*xet7 quit (Remote host closed the connection)
22:32:21*fabricio quit (Quit: WeeChat 3.5)
23:01:13*tiorock joined #nim
23:01:13*tiorock quit (Changing host)
23:01:13*tiorock joined #nim
23:01:13*rockcavera is now known as Guest7195
23:01:14*Guest7195 quit (Killed (zinc.libera.chat (Nickname regained by services)))
23:01:14*tiorock is now known as rockcavera
23:03:17*tiorock joined #nim
23:03:17*tiorock quit (Changing host)
23:03:17*tiorock joined #nim
23:03:17*rockcavera is now known as Guest7152
23:03:17*tiorock is now known as rockcavera
23:06:26*Guest7152 quit (Ping timeout: 268 seconds)