00:26:02 | FromDiscord | <janakali> In reply to @death.kills "strange, for me every": > nimsuggest hangs↵in my experience, nimsuggest mostly crashes on incomplete code and then restarts in a couple seconds. If you find small piece of code that is guaranteed to crash - please report it on github.↵↵Also, do you by chance use choosenim? There's a new release that fixes some lsp problems. Or try out [grabnim](https://codeberg.org/janakali/grabnim). |
01:49:19 | * | disso-peach quit (Quit: Leaving) |
01:54:13 | strogon14 | Alas, the fix that was supposed to migigate hanging nimsuggest instances when using choosenim had to be reverted on Window, since it caused unforseen problems. So, afaics, choosenim proxy binaries on Windows still can cause dead processes accumulating. |
01:54:23 | strogon14 | *mitigate |
01:59:46 | * | xet7 joined #nim |
02:27:34 | * | xet7 quit (Remote host closed the connection) |
02:38:52 | FromDiscord | <drunkenalcoholic> just noob question, is atlas package manager included with Nim like Nimble? because on the github site it said it comes with Nim by default from version 2.0, but using choosenim script to install Nim on Linux doesn't seemt o include atlas, I was thinking of just testing for the first time |
02:42:51 | FromDiscord | <Elegantbeef> @drunkenalcoholic Choosenim was not updated to include it, you can manually install it using nimble |
02:49:22 | FromDiscord | <janakali> just saying, grabnim installs has by default |
02:49:31 | FromDiscord | <janakali> (edit) removed "installs" | "has ... by" added "atlas" |
02:49:46 | FromDiscord | <drunkenalcoholic> "nimble install atlas" package atlas@any not found, which is fine i'll install it from github manually instead |
02:51:50 | strogon14 | https://github.com/nim-lang/choosenim/pull/94 |
02:52:57 | FromDiscord | <drunkenalcoholic> @janakali Thanks for the heads up with grabnim, will probably test this out |
03:32:01 | * | skippy8 joined #nim |
03:48:00 | FromDiscord | <nasuray> Besides saving disk space what are the proxy executables choosenim uses really giving us? |
03:55:25 | FromDiscord | <Elegantbeef> Bug |
03:57:21 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
03:59:55 | * | skippy8 joined #nim |
06:31:34 | * | nils` quit (Ping timeout: 260 seconds) |
07:01:38 | * | jjido joined #nim |
07:10:34 | FromDiscord | <elykpha> is there a way to auto input compiler preferences without making a shell script |
07:10:49 | FromDiscord | <Elegantbeef> Make a config.nims |
07:11:05 | FromDiscord | <elykpha> thanks let me check it out |
07:12:23 | FromDiscord | <elykpha> worked!! thanks!! |
07:29:28 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
07:37:16 | FromDiscord | <spotlightkid> @nasuray\: they work around the problem, that symbolic links on Windows require admin rights to create (or developer mode, but then you apparently get security warnings).↵choosenim could still have used symbolic links on posix systems and imo it should have. the proxy executables indeed cause more problems than they solve. |
08:58:25 | * | nils` joined #nim |
09:13:41 | FromDiscord | <Laylie> that then raises the question "why not just junction the whole nim\\bin directory" |
09:20:13 | * | tiorock joined #nim |
09:20:14 | * | rockcavera quit (Killed (copper.libera.chat (Nickname regained by services))) |
09:20:14 | * | tiorock is now known as rockcavera |
09:22:20 | * | tiorock joined #nim |
09:22:20 | * | tiorock quit (Changing host) |
09:22:21 | * | tiorock joined #nim |
09:22:21 | * | rockcavera is now known as Guest3837 |
09:22:21 | * | tiorock is now known as rockcavera |
09:24:45 | * | jjido joined #nim |
09:24:58 | * | Guest3837 quit (Ping timeout: 240 seconds) |
09:42:01 | * | tokyovigilante_ joined #nim |
09:42:27 | * | tokyovigilante quit (Ping timeout: 276 seconds) |
09:42:28 | * | tokyovigilante_ is now known as tokyovigilante |
10:24:53 | * | alexdaguy joined #nim |
10:39:36 | * | tiorock joined #nim |
10:39:36 | * | tiorock quit (Changing host) |
10:39:36 | * | tiorock joined #nim |
10:39:36 | * | rockcavera is now known as Guest5471 |
10:39:36 | * | Guest5471 quit (Killed (calcium.libera.chat (Nickname regained by services))) |
10:39:36 | * | tiorock is now known as rockcavera |
10:41:40 | * | tiorock joined #nim |
10:41:40 | * | tiorock quit (Changing host) |
10:41:40 | * | tiorock joined #nim |
10:41:40 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
10:41:40 | * | tiorock is now known as rockcavera |
10:45:28 | * | nils` quit (Ping timeout: 240 seconds) |
11:46:04 | * | nils` joined #nim |
11:51:28 | * | nils` quit (Ping timeout: 240 seconds) |
12:07:48 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
12:22:18 | FromDiscord | <nasuray> Or better yet just copy the binary |
12:25:28 | FromDiscord | <TӨMΛ ☠> In reply to @Trayambak "Do you mean bits": Bytes, it's just that I was struck with the scope of having so many millions of bytes. The file parsed is 13.6MB of size, so it checks out too |
12:29:30 | * | jjido joined #nim |
12:55:25 | * | xutaxkamay_ joined #nim |
12:55:28 | * | xutaxkamay quit (Read error: Connection reset by peer) |
12:56:23 | * | xutaxkamay_ is now known as xutaxkamay |
12:58:14 | * | beholders_eye joined #nim |
13:10:37 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
13:13:11 | FromDiscord | <spotlightkid> Laylie\: because that#s where all the binaries from nimble packages get installed in / linked to.↵But the junction approach is what grabnim does. |
13:13:12 | FromDiscord | <spotlightkid> Laylie\: because that's where all the binaries from nimble packages get installed in / linked to.↵But the junction approach is what grabnim does. |
13:13:12 | FromDiscord | <spotlightkid> @nasuray\: copying the binary probably won't work, because many programs use their binary path to locate other files relative to it. |
13:15:15 | FromDiscord | <Laylie> I'm basically saying choosenim should have just done what grabnim is doing. i don't see why nimble's package installation directory should come into it |
13:17:00 | FromDiscord | <spotlightkid> well, the author of both nimble and choosenim is long gone from the Nim community, so it's hard to reason about why things were done the way were done. |
13:17:07 | * | nils` joined #nim |
13:17:30 | FromDiscord | <Laylie> yes... |
13:19:00 | FromDiscord | <spotlightkid> After working on the choosenim code for a bit, I'm all for a new, better tools written fro the ground up. |
13:20:00 | FromDiscord | <spotlightkid> But such an important part of the ecosystem, which has a big impact on the user (dev) experience, can't be replaced over night, imo. |
13:20:20 | FromDiscord | <spotlightkid> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1396481521132765296): After working on the choosenim code for a bit, I'm all for a new, better tool written from the ground up. |
13:31:12 | * | tiorock joined #nim |
13:31:12 | * | rockcavera is now known as Guest9588 |
13:31:12 | * | Guest9588 quit (Killed (copper.libera.chat (Nickname regained by services))) |
13:31:12 | * | tiorock is now known as rockcavera |
13:33:15 | * | tiorock joined #nim |
13:33:15 | * | tiorock quit (Changing host) |
13:33:15 | * | tiorock joined #nim |
13:33:15 | * | rockcavera is now known as Guest6551 |
13:33:15 | * | Guest6551 quit (Killed (tungsten.libera.chat (Nickname regained by services))) |
13:33:15 | * | tiorock is now known as rockcavera |
14:01:22 | * | beholders_eye quit (Ping timeout: 248 seconds) |
14:01:40 | FromDiscord | <janakali> > it's hard to reason about why things were done the way were done↵well, Dom did explain his reasons for choosing shims at least twice:↵1 - https://github.com/dom96/choosenim/issues/126#issuecomment-511141707↵2 - https://github.com/dom96/choosenim/issues/189#issuecomment-702417601 |
14:03:16 | FromDiscord | <janakali> > IIRC the main reason I chose to do it this way is simplicity, supporting both symlinks and this proxy exe would have been more complex.↵↵> Shims aren't ideal, but they work consistently across OS'. I want to reduce complexity |
14:31:19 | FromDiscord | <lainlaylie> consistently poorly it seems |
14:32:11 | strogon14 | Supporting Windows is hard. |
14:32:28 | strogon14 | thanks for diging thsi up. |
14:44:25 | * | nils` quit (Ping timeout: 252 seconds) |
15:25:42 | * | jjido joined #nim |
15:25:45 | * | nils` joined #nim |
15:33:56 | * | nils` quit (Ping timeout: 252 seconds) |
15:48:21 | * | xet7 joined #nim |
16:03:38 | * | nils` joined #nim |
16:18:53 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
16:25:20 | * | jjido joined #nim |
16:57:09 | * | alexdaguy quit (Ping timeout: 252 seconds) |
17:56:26 | * | nils` quit (Ping timeout: 268 seconds) |
18:05:42 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |
18:38:51 | * | nils` joined #nim |
19:25:06 | FromDiscord | <krisp0> is there a way to check templates in compile time? I dont want any pitfalls lingering around if they're used in run time |
19:44:45 | FromDiscord | <michaelb.eth> In reply to @krisp0 "is there a way": templates do code-substitution at compile time |
20:17:30 | FromDiscord | <g.chumeii> ⭐️GM Everyone!⭐️↵ $PUMP🪙 Airdrop is live↵ Take your $PUMP↵https://discord.solspin.me |
20:26:16 | FromDiscord | <demotomohiro> <@&371760044473319454> |
21:06:25 | * | beholders_eye joined #nim |
21:11:32 | * | jjido joined #nim |
21:14:24 | FromDiscord | <.bobbbob> if I set the next of a node in a singlylinkedlist to nil, will the rest of the nodes in the list be freed at some point using orc? arc? |
21:14:55 | FromDiscord | <leorize> yes |
21:14:56 | FromDiscord | <leorize> but be careful about it |
21:15:33 | FromDiscord | <leorize> if your linked-list is too long, you might get a stack overflow from that |
21:15:37 | * | xet7 quit (Ping timeout: 268 seconds) |
21:18:57 | FromDiscord | <.bobbbob> oh why? |
21:19:44 | FromDiscord | <Elegantbeef> Recursion is dangerous |
21:22:40 | FromDiscord | <.bobbbob> I mean does orc memory freeing use recursion? |
21:23:52 | FromDiscord | <Elegantbeef> It has to walk the graph at runtime, if the destructors are not written to do it iteratively it's done recursively |
21:26:15 | FromDiscord | <.bobbbob> hm so to do it right should I iterate through the rest of the list and free the nodes? how would I do that? |
21:26:32 | FromDiscord | <Elegantbeef> Make your own module and write your own destructor that does it 😄 |
21:26:49 | FromDiscord | <Elegantbeef> Or really fork the lists module and add destructors that do it iteratively |
21:27:17 | FromDiscord | <.bobbbob> 😑 |
21:28:02 | FromDiscord | <Elegantbeef> Hey you're using a dead data type |
21:42:16 | FromDiscord | <leorize> just set `next` to nil from bottom to top↵(@.bobbbob) |
21:42:51 | * | skippy8 quit (Quit: WeeChat 4.6.3) |
22:01:38 | * | beholders_eye quit (Ping timeout: 245 seconds) |
22:41:29 | * | tiorock joined #nim |
22:41:29 | * | tiorock quit (Changing host) |
22:41:29 | * | tiorock joined #nim |
22:41:29 | * | rockcavera is now known as Guest242 |
22:41:29 | * | Guest242 quit (Killed (silver.libera.chat (Nickname regained by services))) |
22:41:29 | * | tiorock is now known as rockcavera |
22:43:33 | * | tiorock joined #nim |
22:43:33 | * | tiorock quit (Changing host) |
22:43:33 | * | tiorock joined #nim |
22:43:33 | * | rockcavera quit (Killed (tantalum.libera.chat (Nickname regained by services))) |
22:43:33 | * | tiorock is now known as rockcavera |
23:41:41 | * | jjido quit (Quit: My laptop has gone to sleep. ZZZzzz…) |