00:12:18 | * | dvbst joined #nim |
00:16:28 | * | perro joined #nim |
00:30:26 | FromDiscord | <aryzen> I don’t think we have the new nim yet, but even though I have no idea what progress has even been made I feel like it’s rather close |
00:40:52 | * | perro quit (Ping timeout: 244 seconds) |
01:08:36 | * | perro joined #nim |
01:53:33 | * | rockcavera quit (Remote host closed the connection) |
01:56:21 | * | rockcavera joined #nim |
02:20:26 | * | dvbst quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
02:26:17 | FromDiscord | <aryzen> My stupid idea for a more comfortable editing experience: only update valid symbols on save and cache the result, making lookup faster when editing, even at the cost of not having an up to date list of symbols. Same with error checking, only check on save. (I thought it used to do that?) |
02:27:37 | FromDiscord | <aryzen> It’s annoying to have my whole file turn red when I’m typing because it can’t figure out my context, but then completely clearing up when I save because it realizes the file is included elsewhere |
02:42:57 | * | pbsds35 quit (Quit: The Lounge - https://thelounge.chat) |
03:38:37 | * | SchweinDeBurg quit (Quit: WeeChat 4.7.0-dev) |
03:42:55 | * | SchweinDeBurg joined #nim |
05:04:28 | FromDiscord | <Phil> In reply to @fabric.input_output "do we have the": Nope, afaik macro support isn't even in v3 yet |
05:04:37 | FromDiscord | <Phil> (edit) "In reply to @fabric.input_output "do we have the": Nope, afaik macro support isn't even ... in" added "implemented" |
05:15:30 | FromDiscord | <aryzen> ok, seriously, how do I stop the check-as-you-type feature? |
05:15:35 | FromDiscord | <aryzen> I just want it to check on save |
05:17:01 | FromDiscord | <ayex> micro does that by default for nim files |
05:17:13 | FromDiscord | <ayex> not sure what mechanism it uses, though |
05:17:16 | FromDiscord | <aryzen> because as-you-type only runs on the individual file, when it depends on being included elsewhere↵↵... What's micro? |
05:17:30 | FromDiscord | <aryzen> (edit) "elsewhere↵↵..." => "elsewhere; it's valid but it needs to check further out↵↵..." |
05:17:48 | FromDiscord | <aryzen> I tried using `##? std/check: ../character/character.nim` but it doesn't seem to work, I probably did it wrong |
05:17:49 | FromDiscord | <ayex> a cli text editor\: https://micro-editor.github.io/ |
05:18:13 | FromDiscord | <aryzen> ohh, like, nano -> micro? |
05:18:29 | FromDiscord | <ayex> exactly 🙂 |
05:18:38 | FromDiscord | <ayex> more features than nano |
05:18:48 | FromDiscord | <aryzen> I'm big stupid so I have to use vscode |
05:19:13 | FromDiscord | <aryzen> It'd be rad to rice out my setup using a nice terminal emulator etc but I just don't have the mental capacity for that these days |
05:19:13 | FromDiscord | <ayex> just wanted to confirm, that check on save is a nice mechanism |
05:19:36 | FromDiscord | <aryzen> yes, check on save is nice; check-as-you-type is just too frustrating right now |
05:58:07 | * | Lord_Nightmare quit (Quit: ZNC - http://znc.in) |
06:01:09 | * | Lord_Nightmare joined #nim |
07:03:53 | * | skippy8 joined #nim |
07:23:49 | * | jjido joined #nim |
08:36:37 | FromDiscord | <dusa2986> Is it possible to use Nim with Fortran? |
09:01:04 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
09:41:06 | * | beholders_eye joined #nim |
09:54:44 | * | beholders_eye quit (Ping timeout: 260 seconds) |
10:01:32 | FromDiscord | <0xfab_10> if you can use C with fortran yeah sure |
10:28:15 | * | beholders_eye joined #nim |
10:30:06 | FromDiscord | <dusa2986> Awesome. Just checking. I knew Fortran could interop with c and or c++ so that’s great. |
11:51:59 | * | beholders_eye quit (Ping timeout: 260 seconds) |
12:22:57 | * | beholders_eye joined #nim |
13:08:22 | * | jjido joined #nim |
13:17:33 | * | andy-turner joined #nim |
13:30:00 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
13:47:24 | * | jjido joined #nim |
14:24:03 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
14:36:23 | * | jjido joined #nim |
15:38:10 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
15:48:08 | * | beholders_eye quit (Ping timeout: 244 seconds) |
16:44:21 | * | beholders_eye joined #nim |
16:49:12 | * | andy-turner_ joined #nim |
16:49:16 | * | andy-turner quit (Read error: Connection reset by peer) |
17:03:05 | * | rockcavera quit (Remote host closed the connection) |
17:03:24 | * | rockcavera joined #nim |
17:11:04 | * | andy-turner_ quit (Ping timeout: 260 seconds) |
17:11:29 | * | andy-turner joined #nim |
18:06:14 | * | andy-turner__ joined #nim |
18:09:07 | * | andy-turner quit (Ping timeout: 276 seconds) |
18:14:14 | * | andy-turner_ joined #nim |
18:16:57 | * | andy-turner__ quit (Ping timeout: 252 seconds) |
18:22:36 | * | pmp-p quit (Read error: Connection reset by peer) |
18:22:39 | * | pmp-p joined #nim |
18:24:47 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
18:26:56 | * | Jjp137 quit (Ping timeout: 252 seconds) |
18:28:38 | FromDiscord | <aryzen> am I being stupid by trying to break up a module into files with includes? Like A includes B includes C, splitting up functionality? Or is that poor practice? |
18:29:30 | FromDiscord | <Robyn [She/Her]> using include is bad practice in general, imo↵(@aryzen) |
18:29:54 | FromDiscord | <Robyn [She/Her]> there's usecases where it is justified, but really, you should avoid it when you can |
18:29:55 | * | andy-turner__ joined #nim |
18:29:59 | FromDiscord | <leorize> it's fine, but just remember that tooling hates you |
18:30:28 | FromDiscord | <aryzen> I'm not using include to share code with other modules, I know that's what import/export is for; I actually managed to get the tooling to work correctly by chaining instead of making it traverse backwards |
18:30:51 | FromDiscord | <aryzen> aside from having to remember to keep the chain straight |
18:31:09 | FromDiscord | <leorize> that's about all you gotta remember |
18:31:16 | FromDiscord | <leorize> the compiler for example is a big user of include |
18:32:03 | FromDiscord | <aryzen> TIL, probably why its still a thing |
18:32:24 | FromDiscord | <aryzen> tbh a smart include is called for, in my opinion |
18:32:44 | * | andy-turner_ quit (Ping timeout: 260 seconds) |
18:34:00 | FromDiscord | <aryzen> (edit) "tbh a smart include is called for, in my opinion ... " added "(basically pragma once)" |
18:34:14 | FromDiscord | <aryzen> (edit) "once)" => "once/ifndef def)" |
18:35:19 | FromDiscord | <aintea> sent a code paste, see https://play.nim-lang.org/#pasty=rOznkFDN |
18:35:36 | FromDiscord | <aintea> That's how I would do it if I was forced to split a very VERY big file |
18:35:50 | FromDiscord | <aryzen> that is what I originally did; that is what kills nimsuggest |
18:36:17 | FromDiscord | <aintea> Nimsuggest is suicidal anyway it crashes every now and then if you wrongly look at it |
18:36:31 | FromDiscord | <aintea> It will (I hope) be fixed with Nim 3 |
18:36:39 | FromDiscord | <aryzen> I would much much rather do it that way but every letter I type marks everything as not found, until I save then it smartens up, and there's no way to just not have the as-you-type thing that I was hardcore raging about yesterday |
18:37:21 | FromDiscord | <aryzen> so I'm chaining my includes and having the importedFile.nim be the bottom, and including my way up |
18:37:23 | FromDiscord | <aintea> You can also try to roll your own LSP if you want |
18:37:41 | FromDiscord | <aryzen> I can't even rice my setup no way I can figure out how to modify the lsp |
18:37:47 | FromDiscord | <aryzen> (edit) "lsp" => "lsp, not righ tnow" |
18:37:50 | FromDiscord | <aryzen> (edit) "righ tnow" => "right now" |
18:38:11 | FromDiscord | <aintea> Everyone can rice it's literally modifying your config file, checking if it's what you want and if not modifying again but slightly different |
18:38:30 | FromDiscord | <aintea> And then after 3 hours of trying you read the documentation and see there is an option to do exactly what you want |
18:38:45 | FromDiscord | <aryzen> I mean, I can but I don't have the patience anymore |
18:38:49 | FromDiscord | <aintea> Understandable |
18:39:32 | FromDiscord | <aintea> However I did saw some improvements after tweaking my setup to launch the LSP in a certain way |
18:39:43 | FromDiscord | <aintea> Now it works every other day instead of every full moon |
18:40:00 | * | andy-turner__ quit (Read error: Connection reset by peer) |
18:40:13 | * | andy-turner joined #nim |
18:40:57 | FromDiscord | <aryzen> I switched my install from choosenim to grabnim and it's been pretty rock-stable for me, not even excess cpu useage↵↵I will say nimsaem plugin currently works better than nim-lang.org, the official one somehow still lets nimsuggest hang and it also still spams processes even beyond the max I set; it also doesn't timeout kill them despite the setting for it |
18:42:08 | FromDiscord | <aryzen> As long as I do things that are parsed in the correct order the server seems to be content |
18:44:01 | * | andy-turner_ joined #nim |
18:44:46 | * | andy-turner quit (Read error: Connection reset by peer) |
18:46:27 | * | andy-turner_ quit (Read error: Connection reset by peer) |
18:48:04 | * | andy-turner joined #nim |
19:07:44 | * | beholders_eye quit (Ping timeout: 260 seconds) |
19:35:09 | * | andy-turner quit (Ping timeout: 260 seconds) |
19:39:43 | * | andy-turner joined #nim |
19:40:20 | * | jjido joined #nim |
19:49:33 | * | andy-turner quit (Ping timeout: 245 seconds) |
19:55:16 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
20:04:54 | * | pmp-p quit (Ping timeout: 260 seconds) |
20:06:56 | * | pmp-p joined #nim |
20:09:40 | * | beholders_eye joined #nim |
20:40:03 | * | Jjp137 joined #nim |
21:24:12 | * | andy-turner joined #nim |
21:25:39 | * | andy-turner quit (Remote host closed the connection) |
21:25:54 | * | andy-turner joined #nim |
21:42:21 | * | jjido joined #nim |
21:45:39 | * | andy-turner quit (Quit: Leaving) |
22:44:12 | * | syl_ joined #nim |
22:44:20 | * | syl quit (Ping timeout: 252 seconds) |