00:16:51 | * | xet7 quit (Ping timeout: 272 seconds) |
00:52:33 | * | arkanoid joined #nim |
00:56:07 | arkanoid | mh, I'm using "chronos" lib in my project. It compiles and works correctly, but nimsuggest/nimlangserver keeps complaining that "cannot evaluate at compile time: result" in "error "Error", host = server.host, error = result.error". How can I convince nimsuggest that that line is ok? |
00:56:25 | arkanoid | sorry, not chronos, but chronicles |
00:56:33 | arkanoid | (the logging one) |
00:56:58 | FromDiscord | <Robyn [She/Her]> In reply to @arkanoid "mh, I'm using "chronos"": Restart VSC and kill any Nimsuggest processed |
00:57:39 | FromDiscord | <Robyn [She/Her]> Unfortunately it's a known bug, should probably report it in case though |
00:58:11 | arkanoid | no, it is repeatable. I keep receiving it even after nimlangserver/nimsuggest/vscode restart |
01:03:28 | FromDiscord | <Robyn [She/Her]> Hm... Odd then |
01:06:57 | * | SchweinD1 quit (Quit: WeeChat 4.3.0-dev) |
01:07:23 | * | SchweinDeBurg joined #nim |
01:23:25 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=ABOCaPrNkvPJ |
01:24:16 | FromDiscord | <awesome3434> In reply to @Elegantbeef "Probably best to do": I'm not sure about this, but I think it will lead to the same issue? |
01:24:49 | FromDiscord | <Elegantbeef> I don't even know what you're trying to solve |
01:25:03 | FromDiscord | <Elegantbeef> I don't use C++ so don't know why it requires an attribute for interop |
01:26:14 | FromDiscord | <Elegantbeef> Though with the closure macro you could use `emit` or `codegendecl` to emit your own type |
01:28:31 | FromDiscord | <awesome3434> In reply to @Elegantbeef "I don't use C++": Basically I can't put any object that doesn't have the attribute within the function that requires it (which is required for any object that isn't primitive) |
01:29:24 | FromDiscord | <Elegantbeef> And you cannot just wrap a Nim object with a C++ object? |
01:29:30 | FromDiscord | <awesome3434> Also it's not really much of a library but a custom compiler with own attributes |
01:30:05 | FromDiscord | <awesome3434> In reply to @Elegantbeef "And you cannot just": But Nim will still put it's own object within the C++ code, right? |
01:30:09 | FromDiscord | <Elegantbeef> Sounds like a CGPU compiler ๐ |
01:30:12 | FromDiscord | <Elegantbeef> Right |
01:30:33 | FromDiscord | <awesome3434> In reply to @Elegantbeef "Sounds like a CGPU": To be more precise Cheerp |
01:30:38 | FromDiscord | <Elegantbeef> You cannot control the Nim code generation for everything that requires forking the compiler |
01:31:20 | FromDiscord | <Elegantbeef> Why do you even need to send closures across a bridge |
01:31:34 | FromDiscord | <Elegantbeef> Atleast I assume these attributes generate interop code |
01:33:05 | FromDiscord | <Elegantbeef> If this is for JS interop you should just send all your ref objects as `ptr object` and not send closures to the JS side |
01:34:49 | arkanoid | is switch("stackTrace", "on") compatible with release mode? |
01:35:15 | arkanoid | I'm trying to use https://nim-lang.org/docs/estp.html but all I get is "Entry: 1/1 Calls: 3544/3544 = 100.00% [sum: 3544; 3544/3544 = 100.00%]" |
01:36:04 | FromDiscord | <Elegantbeef> Using nimprof is sorta meme as a lot of software ๐ |
01:36:30 | arkanoid | mh, ok, I'll switch to something else then |
01:36:39 | FromDiscord | <Elegantbeef> I suggest using hotspot |
01:36:53 | FromDiscord | <Elegantbeef> It's a nice gui program built ontop of linux's perf |
01:37:27 | FromDiscord | <Elegantbeef> But to use the nim profiler I believe you need `stackTrace` `lineTrace` and `profiler` |
01:38:22 | arkanoid | I'm compiling with switch("profiler", "on") and switch("stackTrace", "on") |
01:38:47 | arkanoid | this page https://nim-lang.org/docs/estp.html does not reference lineTrace |
01:39:24 | FromDiscord | <Elegantbeef> Yea I played with the profiler briefly to generate a flamegraph |
01:39:28 | FromDiscord | <Elegantbeef> So I think you need all three |
01:40:44 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=FvAHfvPrYbMx |
01:40:56 | arkanoid | well, I'm installing hotspot, now I need to recap how to run perf |
01:41:09 | FromDiscord | <Elegantbeef> hotspot runs perf ๐ |
01:41:43 | FromDiscord | <.bobbbob> sent a code paste, see https://play.nim-lang.org/#pasty=PuhbmdveJoti |
01:42:47 | arkanoid | can't run perf as ubuntu makes a mess with kernels |
01:43:25 | FromDiscord | <awesome3434> In reply to @Elegantbeef "If this is for": I'm not really sure what you meant by that |
01:44:14 | arkanoid | ok, recording |
01:44:45 | FromDiscord | <Elegantbeef> Why do you need to have the attribute if you don't generate JS code? |
01:44:47 | arkanoid | but I guess I sould compile release but with debug symbols |
01:46:36 | FromDiscord | <awesome3434> In reply to @Elegantbeef "Why do you need": Though I have to use DOM API later which makes it inevitable to have it |
01:48:17 | FromDiscord | <Elegantbeef> Don't call the dom API ๐ |
01:49:28 | FromDiscord | <awesome3434> In reply to @Elegantbeef "Don't call the dom": Nice tip, thanks |
01:49:39 | FromDiscord | <Elegantbeef> Jokes aside we have nim -\> js |
01:50:17 | FromDiscord | <awesome3434> Although It doesn't seem to provide any WASM support |
01:51:38 | FromDiscord | <awesome3434> (which in my case both are needed) |
01:52:09 | FromDiscord | <Elegantbeef> So write frontend in Nim then call that from wasm |
01:52:26 | FromDiscord | <Elegantbeef> Maybe speak to @jmgomez though given his UE work he might help |
02:02:04 | FromDiscord | <awesome3434> In reply to @Elegantbeef "So write frontend in": Uhh, Cheerp handles everything on it's own, including bridging, so now it'd be quite a nonsense having set-up everything from the bottom in JS, I really thought it could be easily solved with a few lines of code considering Nim is quite a powerful language with lots of comp-time reflections |
02:02:25 | FromDiscord | <awesome3434> to set-up |
02:06:34 | arkanoid | do you know how can I compile release but with debug symbols? |
02:07:02 | FromDiscord | <Elegantbeef> `--debugger:native` |
02:07:27 | arkanoid | thanks |
02:12:53 | arkanoid | mh, perf.data generated with --debugger:native is "not readable" according to hotspot |
02:15:40 | arkanoid | my fault, it was a permission problem |
02:23:57 | NimEventer | New thread by sls1005: What will happen if allocation fails?, see https://forum.nim-lang.org/t/11106 |
02:37:57 | * | Jjp137 quit (Ping timeout: 255 seconds) |
02:42:31 | NimEventer | New Nimble package! rmq_statsd - Pure nim rabbitmq to statsd metrics pusher, see https://github.com/Q-Master/rmq-statsd.nim |
02:48:13 | * | Jjp137 joined #nim |
02:57:12 | * | jmdaemon joined #nim |
04:14:09 | FromDiscord | <dysrakescence> sent a code paste, see https://play.nim-lang.org/#pasty=bMUtswDhCRxt |
04:14:31 | FromDiscord | <dysrakescence> right now the content that gets scraped looks like this https://media.discordapp.net/attachments/371759389889003532/1212251461954576384/image.png?ex=65f12827&is=65deb327&hm=fcf6e9c93362953336caaf59421a28950c6d97ef7acc9e0a45b3f8b9010ca827& |
04:14:54 | FromDiscord | <leorize> looks like that site requires JS to render |
04:15:03 | FromDiscord | <leorize> which means you can't scrape using a simple http client |
04:15:55 | FromDiscord | <dysrakescence> I'm new to web scraping but I heard that I would probably need something like a browser header or something? |
04:16:10 | FromDiscord | <leorize> for this you don't need headers |
04:16:13 | FromDiscord | <leorize> you need a browser |
04:17:38 | FromDiscord | <dysrakescence> is there a std library that I can use to scrape the site? |
04:17:44 | FromDiscord | <leorize> no |
04:18:30 | FromDiscord | <leorize> this is not really a website, it's an application |
04:18:58 | FromDiscord | <leorize> there are two paths to this\: either you figure out their API endpoints and use it to obtain the raw data that they use to render their pages |
04:21:21 | FromDiscord | <leorize> or just use a headless browser to render the page then download the result |
04:31:47 | FromDiscord | <saint._._.> In reply to @dysrakescence "is there a std": use playwright |
04:32:13 | FromDiscord | <saint._._.> Oh also you could try readability.js |
04:32:31 | FromDiscord | <saint._._.> https://github.com/mozilla/readability |
04:32:33 | FromDiscord | <saint._._.> With node |
05:02:52 | NimEventer | New thread by enaaab460: Sending to a channel before opening it doesn't create an error, see https://forum.nim-lang.org/t/11107 |
05:16:14 | * | azimut quit (Ping timeout: 260 seconds) |
05:27:12 | FromDiscord | <dysrakescence> In reply to @leorize "there are two paths": I ended up finding all the information that I needed through browsing the files that the website was hosting and got the json content :) |
05:36:45 | * | ntat joined #nim |
05:47:35 | * | rockcavera quit (Remote host closed the connection) |
06:01:33 | FromDiscord | <Phil (he/him)> Imagine going to sleep and thus doing an avatar - when the world needed him he was nowhere to be found |
06:19:22 | * | advesperacit joined #nim |
07:09:03 | * | disso-peach joined #nim |
07:09:23 | * | m5zs7k quit (Ping timeout: 256 seconds) |
07:22:17 | * | m5zs7k joined #nim |
07:24:43 | NimEventer | New thread by dwhall256: ANN: minisvd2nim generates a Nim lib to access ARM CortexM device and registers, see https://forum.nim-lang.org/t/11113 |
07:27:50 | * | disso-peach quit (Quit: Leaving) |
08:08:36 | * | ntat quit (Quit: Leaving) |
08:30:56 | FromDiscord | <fosster> folks, is there someone familiar with bittorrent protocol? |
08:33:02 | FromDiscord | <fosster> is it the only way btw? because I've seen a kind of tutorial online about it, but nothing elseโต(@Robyn [She/Her]) |
08:33:34 | FromDiscord | <fosster> I know that there is someone working with wasm backend, something called nimwasm or something |
08:33:48 | FromDiscord | <fosster> I know that there is someone building a wasm backend, something called nimwasm or something |
08:36:48 | FromDiscord | <fosster> I remember a few years ago when wasm was the new hot thing, people were like "finally JS is dead, get ready for the revolution"... |
08:45:57 | FromDiscord | <whisperecean> Is Prologue dead? |
10:03:49 | * | ntat joined #nim |
10:39:20 | FromDiscord | <nnsee> "dead"? |
10:40:31 | * | jmdaemon quit (Ping timeout: 268 seconds) |
11:15:31 | * | ntat quit (Quit: Leaving) |
11:35:27 | FromDiscord | <whisperecean> I dont see any more commits and there were some issues with it crashing pre nim 2.0 |
11:59:05 | * | krux02 quit (Quit: Leaving) |
12:29:48 | FromDiscord | <ezquerra> sent a code paste, see https://play.nim-lang.org/#pasty=ZhABOUJlWsMc |
12:34:28 | FromDiscord | <odexine> yes |
12:37:00 | * | ntat joined #nim |
12:42:04 | FromDiscord | <im__cynical> Any way I can make the executable smaller than with this? I dont care about preformance loss.โตnim c -d:danger -d:release -d:strip -d:mingw --opt:size --passc=-flto --passl:-s main.nim |
12:42:35 | FromDiscord | <ezquerra> sent a code paste, see https://play.nim-lang.org/#pasty=YRSeYZLUXvYW |
12:44:10 | FromDiscord | <ezquerra> In reply to @im__cynical "Any way I can": Not an answer to your question, but I believe that when you use `-d:danger` you don't need `-d:release` |
12:45:23 | FromDiscord | <im__cynical> In reply to @ezquerra "Not an answer to": Yes, it doenst nag about needing release for better preformance when I use danger |
12:55:43 | FromDiscord | <odexine> In reply to @ezquerra "Umm, when I do": seems like in your case specifically it isnt allowed, i was thinking about another case |
12:55:57 | * | azimut joined #nim |
12:57:21 | FromDiscord | <odexine> well in this case id say use overloading instead... |
12:59:00 | FromDiscord | <ezquerra> OK, thank you |
13:51:13 | * | rockcavera joined #nim |
14:11:45 | FromDiscord | <niggergooner69> hello |
14:11:46 | FromDiscord | <niggergooner69> does anyone want to try my library |
14:11:49 | FromDiscord | <niggergooner69> its called fuckNiggers |
14:11:57 | FromDiscord | <niggergooner69> does anyone want to try my fuckNiggers library for nim |
14:12:44 | * | FromDiscord quit (Remote host closed the connection) |
14:13:22 | * | FromDiscord joined #nim |
14:39:28 | NimEventer | New thread by MauroG: Using NiGUI, open a second window from main window, see https://forum.nim-lang.org/t/11118 |
15:15:51 | * | ntat quit (Remote host closed the connection) |
15:19:01 | * | ntat joined #nim |
17:01:03 | * | advesperacit quit (Ping timeout: 255 seconds) |
17:17:40 | * | ntat quit (Quit: Leaving) |
17:21:19 | * | ntat joined #nim |
17:43:39 | * | advesperacit joined #nim |
17:44:08 | Zevv | at least no one here is feeding the trolls |
17:53:14 | * | junaid_ joined #nim |
18:12:14 | * | disso-peach joined #nim |
18:29:40 | * | FromDiscord quit (Remote host closed the connection) |
18:29:53 | * | FromDiscord joined #nim |
19:06:45 | * | Jhonny2x4 joined #nim |
19:55:52 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=YNoWWnljkOob |
19:57:55 | * | ntat quit (Quit: Leaving) |
20:01:56 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=DqzGLtoBxUNl |
20:03:01 | FromDiscord | <awesome3434> Which produces the same error, though the good news is that the macro has somewhat control of it and doesn't spew anything unwanted out of it |
20:06:00 | FromDiscord | <demotomohiro> Adding if that `nimZeroMem` causes compile error, adding `{.noinit.}` pragma to `p` might remove `nimZeroMem`. |
20:06:19 | FromDiscord | <demotomohiro> (edit) "Adding if" => "If" |
20:08:11 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=rRYKjvciHvex |
20:12:23 | FromDiscord | <djazz> {.push genericjs.} before? what does your macro do? |
20:13:08 | FromDiscord | <djazz> push maybe only work for internal pragmas tho |
20:13:10 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=ULPHBxhrQxLY |
20:13:15 | FromDiscord | <awesome3434> In reply to @djazz "push maybe only work": Yeahh ik |
20:14:08 | FromDiscord | <djazz> that macro needs to be recursive |
20:14:14 | FromDiscord | <djazz> try loop child nodes? |
20:14:21 | FromDiscord | <djazz> maybe |
20:14:38 | FromDiscord | <djazz> i just coming up with random ideas |
20:17:07 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=CocqsuuNftTF |
20:17:45 | FromDiscord | <awesome3434> It's just the code isn't there when the macro tries to reach it |
20:17:53 | FromDiscord | <awesome3434> (edit) "It's just the code isn't there ... when" added "yet" |
20:17:58 | FromDiscord | <djazz> i wonder if you can generate a c++ macro that does the same thing but after nim's output |
20:20:31 | FromDiscord | <djazz> with some {.emit.} magic haha |
20:21:07 | FromDiscord | <djazz> can you modify the generated C code manually and add the attributes, does it work then? |
20:21:16 | FromDiscord | <djazz> to see if its actually possible |
20:25:39 | FromDiscord | <djazz> It would also be interesting to look at decompiled wasm module how its calling across and generating code |
20:25:53 | FromDiscord | <djazz> Or the post-attribute output |
20:26:12 | * | gst joined #nim |
20:31:30 | * | junaid_ quit (Remote host closed the connection) |
20:32:01 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=FgcNFBGqDGBh |
20:32:12 | FromDiscord | <awesome3434> (edit) "https://play.nim-lang.org/#pasty=HYijYmeYEtNj" => "https://play.nim-lang.org/#pasty=HdyWROKURLbm" |
20:33:00 | FromDiscord | <djazz> hmm |
20:33:48 | FromDiscord | <djazz> isnt memset wrapped when it gets compiled to js? like emscripten? |
20:34:05 | FromDiscord | <awesome3434> Emscripten is WASM only though |
20:34:22 | FromDiscord | <awesome3434> It has no access to JS env |
20:34:50 | FromDiscord | <awesome3434> At least not in the way that Cheerp has |
20:35:03 | * | def- quit (Quit: -) |
20:35:14 | * | def- joined #nim |
20:36:49 | FromDiscord | <awesome3434> In reply to @djazz "isnt memset wrapped when": It might be supported by JS side too, but I don't think it's safe enough to be used by Nim |
20:37:15 | FromDiscord | <awesome3434> Haven't tested that yet tho |
20:38:43 | termer | How do people compile Nim to wasm these days |
20:39:39 | FromDiscord | <Elegantbeef> emcc or wasi-sdk |
20:39:44 | FromDiscord | <Elegantbeef> Though you can also use clang directly |
20:40:31 | termer | I mean how do you set it up to use that |
20:40:39 | termer | I know of emscripten |
20:40:54 | FromDiscord | <Elegantbeef> https://github.com/beef331/wasm3/blob/master/wasmsources/config.nims |
20:41:47 | FromDiscord | <Elegantbeef> If you use clang directly you need to set the linker to wasm-ld or w/e it's called |
20:41:49 | termer | This could probably be made an official build target fairly easily |
20:42:00 | FromDiscord | <Elegantbeef> It's all just fiddling with configs so yea |
20:42:39 | FromDiscord | <Elegantbeef> Should just be forking the default compiler config for `defined(emscripten)` |
20:42:46 | FromDiscord | <Elegantbeef> then you should be able to do the same as `-d:mingw` on linux |
20:42:59 | termer | That would be really beneficial to do |
20:43:07 | termer | I don't think Araq likes wasm for some reason though |
20:43:29 | FromDiscord | <Elegantbeef> Would also be nice to get a `-d:clangwasm` ๐ |
20:43:34 | termer | Yeah |
20:43:39 | termer | I think using the JS target when you're building something for modern browsers when you could just use wasm |
20:43:39 | FromDiscord | <Elegantbeef> Since most people have clang in their path |
20:44:35 | termer | what the fuck is "quirky" for --exceptions |
20:44:41 | termer | reading the compiler user guide right now |
20:44:51 | termer | I thought goto exceptions were made the default for some reason |
20:45:51 | * | def- quit (Quit: -) |
20:46:57 | FromDiscord | <Elegantbeef> It does seem like cheerp support makes some sense in that regard but meh webdev is silly |
20:46:57 | FromDiscord | <Elegantbeef> goto is default with arc/orc |
20:46:57 | FromDiscord | <Elegantbeef> quirky is "we don't handle exceptions" |
20:48:01 | * | def- joined #nim |
20:49:41 | termer | LOL why is it an option |
20:49:43 | FromDiscord | <Elegantbeef> iirc the way it works is only blocks with try excepts actually generate exception checks in code |
20:49:49 | termer | and why is it named quirky instead of none or noop |
20:50:01 | termer | oh, so it's manual |
20:50:08 | termer | How do you know that |
20:50:40 | FromDiscord | <Elegantbeef> https://play.nim-lang.org/#pasty=IcduaMrGooOG can confirm it's only explicit blocks |
20:50:47 | FromDiscord | <Elegantbeef> I know cause uhhh |
20:51:26 | FromDiscord | <Elegantbeef> You can also apply it to specific procs if you wish with the quirky pragma |
20:51:45 | * | krux02 joined #nim |
20:51:47 | termer | "I know cause uhhh" I actually wanna know how you know about this undocumented feature lol |
20:52:05 | FromDiscord | <Elegantbeef> I read it somewhere in the year 1993 |
20:52:20 | termer | dude |
20:52:27 | termer | what's up with your insane esoteric Nim knowledge |
20:52:55 | FromDiscord | <Elegantbeef> I have a great skill for retaining knowledge |
20:53:00 | FromDiscord | <Elegantbeef> Whether it's useful is another thing |
20:53:44 | FromDiscord | <Elegantbeef> https://github.com/nim-lang/Nim/pull/22691 think I first seen quirky here really |
20:54:33 | FromDiscord | <grumblygibson> Anyone use `nimporter`? The `setup.py` as in the README specifies variables and functions that don't exist in `nimporter.py` anymore. Even just a link to a working project would be great. |
21:05:13 | * | xet7 joined #nim |
21:09:09 | FromDiscord | <v_e_c_k> sent a long message, see https://pasty.ee/yhpBBbjliAKE |
21:09:53 | FromDiscord | <v_e_c_k> (edit) "https://pasty.ee/nTdjviiGzGoN" => "https://pasty.ee/DhcyusbPfojF" |
21:09:54 | FromDiscord | <Elegantbeef> Referring to chatgpt is where you went wrong |
21:10:01 | FromDiscord | <Elegantbeef> What's the glibc of your system vs. target |
21:10:12 | FromDiscord | <Elegantbeef> Ah you're on mac |
21:10:39 | FromDiscord | <Elegantbeef> Best way to cross compile Nim is to use zigcc |
21:12:30 | FromDiscord | <v_e_c_k> zig? i've experimented with that, too -- it and Go seem to cross-compile effortlessly (experimenting with Rust -- the CentOS trick worked, IIRC) -- so zigcc -- I can look for info, but have any favorite links? |
21:13:02 | FromDiscord | <Elegantbeef> `nim c -d:release --cc:clang --clang.exe:zigcc --clang.linkerexe:zigcc --passC="-target x86_64-linux-gnu.2.19" --passL="-target x86_64-linux-gnu.2.19"` should work |
21:13:39 | FromDiscord | <Elegantbeef> there is a nimble package named `zigcc` you can install and then also install the zig compiler |
21:13:40 | * | def- quit (Quit: -) |
21:14:00 | FromDiscord | <v_e_c_k> thx so much for the tip! |
21:14:18 | FromDiscord | <Elegantbeef> Then that should work to compile to a linux build that depends on 2.19 glibc |
21:14:31 | FromDiscord | <Elegantbeef> If you want to target musl you can do that aswell swapping `gnu....` with `musl` |
21:14:53 | * | def- joined #nim |
21:15:16 | FromDiscord | <Elegantbeef> If you want to see valid targets you can do `zig targets` |
21:15:24 | FromDiscord | <Elegantbeef> There are a lot |
21:15:51 | FromDiscord | <Elegantbeef> I suppose you should also have `--os:linux` given you're on mac |
21:18:11 | FromDiscord | <Elegantbeef> If you don't want to use zig you could follow something like https://mcilloni.ovh/2021/02/09/cxx-cross-clang/ |
21:22:44 | * | jmdaemon joined #nim |
21:24:45 | * | gst quit (Ping timeout: 250 seconds) |
21:27:54 | FromDiscord | <awesome3434> sent a code paste, see https://play.nim-lang.org/#pasty=FUpyQhCwTsCL |
21:32:04 | FromDiscord | <djazz> hmm |
21:32:46 | FromDiscord | <v_e_c_k> In reply to @Elegantbeef "Then that should work": The zig suggesion worked! Thank you _so_ much! โตโต(keywords here for anyone searching: #cross-compilation #mac-to-linux) |
21:33:16 | FromDiscord | <djazz> using zig for cross compile is really cool |
21:33:59 | FromDiscord | <djazz> it comes with all the headers needed |
21:35:21 | FromDiscord | <awesome3434> In reply to @djazz "i wonder if you": However this is still a thing, nothing that I'm aware of worked on it |
21:36:50 | * | gst joined #nim |
21:56:54 | FromDiscord | <Elegantbeef> @v_e_c_k just remember that the `2.19` is the glibc version so older OS require older glibc |
22:10:33 | * | disso-peach quit (Quit: Leaving) |
22:21:05 | * | gst quit (Ping timeout: 250 seconds) |
22:21:17 | * | rockcavera quit (Read error: Connection reset by peer) |
22:21:37 | * | rockcavera joined #nim |
22:21:37 | * | rockcavera quit (Changing host) |
22:21:37 | * | rockcavera joined #nim |
22:32:08 | * | gst joined #nim |
23:01:45 | * | advesperacit quit () |
23:43:31 | arkanoid | user nickysn on github just found the root of the problem that has been haunting nim+nimsuggest+nimlangserver for YEARS. And the cause seems to be choosenim + shims. https://github.com/nim-lang/langserver/issues/184#issuecomment-1969415140 |
23:44:13 | arkanoid | I see the light! |
23:44:13 | FromDiscord | <saint.___.> That seems promising |
23:44:57 | FromDiscord | <Elegantbeef> lol |
23:45:30 | FromDiscord | <Elegantbeef> That's crazy silly that it's the culprit |
23:48:24 | arkanoid | my initial tests seems to prove that |
23:48:44 | arkanoid | and I know this problem so well that I have a global keyboard shortcut that calls "kill nimlangserver" |
23:51:12 | * | gst quit (Quit: Client closed) |
23:53:30 | arkanoid | how many people use choosenim for running nim+nimsuggest? How is possible that this issue went unseen for so long time? |
23:54:19 | FromDiscord | <Elegantbeef> Many people use choosenim |
23:54:26 | FromDiscord | <Elegantbeef> Infact I use choosenim and nimlangserver(with kate) |
23:56:17 | arkanoid | maybe the issue is due to how vscode nim extension deals with choosenim shims |