00:13:18 | FromDiscord | <aryzen> So I wanna use godot gdext but I cannot run these commands, gdextwiz isn't in my path I guess? Is it supposed to automatically populate there? https://media.discordapp.net/attachments/371759389889003532/1364393660241809468/image.png?ex=6809821d&is=6808309d&hm=4976d103b3d86e55fe915daaa6d892575ac90ce26e89dcaa9a954225ebc61e91& |
00:14:52 | * | skippy8 quit (Quit: WeeChat 4.4.2) |
00:23:48 | FromDiscord | <Robyn [She/Her]> In reply to @aryzen "So I wanna use": Have you added `$HOME/.nimble/bin` to path? |
00:26:27 | FromDiscord | <aryzen> I’ll have to check. I remember having difficulties with that before |
00:26:33 | FromDiscord | <Robyn [She/Her]> Fair |
00:26:47 | FromDiscord | <Robyn [She/Her]> Could add just add a line to append if in ya bashrc |
00:27:17 | FromDiscord | <Robyn [She/Her]> sent a code paste, see https://play.nim-lang.org/#pasty=CJrGiRzL |
00:27:25 | * | xtr00 quit (Ping timeout: 268 seconds) |
00:32:13 | FromDiscord | <aryzen> Would that also help with my difficulties updating nimlangserver or is that something else? |
00:33:49 | FromDiscord | <Robyn [She/Her]> In reply to @aryzen "Would that also help": Adding the nimble dir to bashrc? wouldn't change anything |
00:34:03 | FromDiscord | <Robyn [She/Her]> In reply to @aryzen "Would that also help": tho what issues? where it redownloads the compiler? |
00:58:50 | Amun-Ra | let's say I have a custom nimble build task, how to get defines passed to the nimble in a task? |
01:04:05 | FromDiscord | <Robyn [She/Her]> Does `define` not work?↵(<@709044657232936960_=41mun-=52a=5b=49=52=43=5d>) |
01:05:29 | Amun-Ra | I have no method to get the list of defines passed or there's something I'm missing |
01:06:01 | Amun-Ra | let's say the task contains: exec "nim c -b=somebackend -d=mytaskdefine src/app.nim" |
01:06:43 | Amun-Ra | I don't know (yet) how to append -d=release (or anything custom) to this if it's set |
01:07:57 | Amun-Ra | I'm building mac fat binary and I can't use default build task for that |
01:09:45 | Amun-Ra | I'm wondering whether I can move building process from Makefile for the .nimble |
01:13:05 | FromDiscord | <aryzen> In reply to @battery.acid.bubblegum "tho what issues? where": It’s the one I posted in #tooling |
01:17:07 | Amun-Ra | Robyn: one way is to use paramcount and paramstr |
01:31:04 | FromDiscord | <janakali> In reply to @Amun-Ra "I'm wondering whether I": custom build task: https://paste.c-net.org/DotingClash |
01:31:10 | FromDiscord | <Robyn [She/Her]> In reply to @aryzen "It’s the one I": Aah |
01:31:32 | FromDiscord | <Robyn [She/Her]> Not too sure how to fix that tbh sorry |
01:32:17 | Amun-Ra | janakali: I want to pass release define to the nimble |
01:32:42 | FromDiscord | <janakali> where do you define it? |
01:34:38 | Amun-Ra | in the cli / makefile |
01:34:51 | Amun-Ra | via: nimble task / nimble task -d=release |
01:34:56 | Amun-Ra | janakali: https://play.nim-lang.org/#pasty=fzKFsDuc |
01:39:22 | FromDiscord | <aryzen> oh boy I have issues now https://media.discordapp.net/attachments/371759389889003532/1364415321414565959/image.png?ex=6809964a&is=680844ca&hm=78f6bc2c10caad1914d996f6f1223f2e06f69f15ed2b2dbd24fa08d3ca6b94bc& |
01:39:36 | FromDiscord | <aryzen> I may need to wipe nimble and try again |
01:39:53 | FromDiscord | <aryzen> do I just delete ~/.nimble? |
01:48:16 | FromDiscord | <aryzen> yeah that looks like it, and I brew reinstalled nim just to be sure |
01:53:20 | FromDiscord | <aryzen> aargh, nimlangserver still refuses to install |
01:55:48 | FromDiscord | <Robyn [She/Her]> Try `--useSystemNim` when installing langserver?↵(@aryzen) |
01:57:01 | FromDiscord | <aryzen> In reply to @Robyn "Try `--useSystemNim` when installing": Got further but there's a lot of warnings, starting with this: Warning: Package requires nim 2.0.8 but 2.2.4. Attempting to compile with the current nim version. |
01:57:58 | FromDiscord | <Robyn [She/Her]> That should be fine |
02:03:34 | FromDiscord | <aryzen> Alright. I’ll give it a go in a bit then thanks!! |
02:19:26 | FromDiscord | <spotlightkid> Try to make `lib` a `const`, like here\: https://github.com/SpotlightKid/nim-sndfile/blob/master/src/sndfile/api.nim#L1↵(@devlop_gaming) |
02:23:35 | FromDiscord | <devlop_gaming> In reply to @spotlightkid "Try to make `lib`": Someone actually seen that wow🤔 |
02:54:11 | FromDiscord | <Laylie> is that what this means?↵> Note\: Passing variables to the dynlib pragma will fail at runtime because of order of initialization problems.↵> ↵> https://nim-lang.org/docs/manual.html#foreign-function-interface-dynlib-pragma-for-import |
02:57:09 | FromDiscord | <spotlightkid> yes |
02:57:41 | * | xtr00 joined #nim |
03:14:00 | * | strogon14_ quit (Ping timeout: 252 seconds) |
03:14:57 | * | strogon14 joined #nim |
03:25:22 | * | GnuYawk5 joined #nim |
03:26:50 | * | GnuYawk quit (Ping timeout: 252 seconds) |
03:26:50 | * | GnuYawk5 is now known as GnuYawk |
03:49:06 | * | dza7 joined #nim |
03:49:56 | * | dza quit (Ping timeout: 252 seconds) |
06:27:14 | * | xtr00 quit (Ping timeout: 252 seconds) |
06:41:20 | * | skippy8 joined #nim |
06:59:18 | Amun-Ra | devlop_gaming: you miss stdcall |
07:37:54 | * | tokyovigilante_ joined #nim |
07:38:12 | * | tokyovigilante quit (Ping timeout: 276 seconds) |
07:38:13 | * | tokyovigilante_ is now known as tokyovigilante |
07:39:55 | FromDiscord | <enthus1ast.> In reply to @treeform "What changes did you": I patch debby to accept inherited objects, I need this for my CMS |
07:41:26 | FromDiscord | <enthus1ast.> But it's just partial done, so I want to write unit tests first to see what I've missed |
08:12:32 | Amun-Ra | devlop_gaming: there's no ".dll" in your lib path |
08:15:34 | * | xtr00 joined #nim |
08:44:02 | * | beholders_eye joined #nim |
08:46:55 | * | mahlon quit (Ping timeout: 252 seconds) |
08:52:46 | * | void09 quit () |
08:53:24 | * | void09 joined #nim |
08:57:07 | * | mahlon joined #nim |
09:03:26 | * | beholders_eye quit (Ping timeout: 252 seconds) |
09:19:09 | FromDiscord | <amjadhd> sent a code paste, see https://play.nim-lang.org/#pasty=AuJTtVlO |
09:22:17 | FromDiscord | <nnsee> In reply to @amjadhd "How do you translate": would an enum work? |
09:28:02 | FromDiscord | <amjadhd> In reply to @nnsee "would an enum work?": The proc expecting this type should receive a string value from the options provided and refuse all else. |
09:35:56 | FromDiscord | <amjadhd> Yeah I think an enum would work. |
09:58:58 | * | amadaluzia joined #nim |
09:59:54 | * | xtr00 quit (Ping timeout: 252 seconds) |
10:01:44 | * | xtr00 joined #nim |
10:15:06 | * | amadaluzia quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
11:34:32 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "<@769926604872613899>: there's no ".dll"": Yea there is. Making it a constant and removing the definition worked. |
12:07:29 | * | zgasma quit (Ping timeout: 252 seconds) |
12:17:28 | * | skippy8 quit (Quit: WeeChat 4.4.2) |
12:18:57 | Amun-Ra | devlop_gaming: it wasn't in the paste |
12:31:25 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "<@769926604872613899>: it wasn't in": Maybe bc it's deleted for a reason |
12:32:22 | FromDiscord | <devlop_gaming> Also is there a application i can use that can detect memory issues within an application? |
12:33:38 | FromDiscord | <devlop_gaming> I can't use valgrind bc it needs to be built and i require binaries atm |
12:34:04 | FromDiscord | <nnsee> In reply to @devlop_gaming "Also is there a": define "memory issues", but valgrind is the go-to |
12:34:19 | FromDiscord | <nnsee> In reply to @devlop_gaming "I can't use valgrind": i don't understand what you mean by this |
12:34:44 | FromDiscord | <nnsee> "it needs to be built" - you can get valgrind binaries↵"i require binaries" - why? |
12:35:06 | FromDiscord | <devlop_gaming> In reply to @nnsee "define "memory issues", but": I don't have time for valgrind. Stuff like memory leaks or maybe something to help me see what is there. |
12:35:25 | FromDiscord | <devlop_gaming> In reply to @nnsee ""it needs to be": Where |
12:36:10 | FromDiscord | <nnsee> In reply to @devlop_gaming "I don't have time": valgrind is pretty much the only thing worth using. "i don't have time for valgrind" - ??? |
12:36:42 | FromDiscord | <devlop_gaming> In reply to @devlop_gaming "Where": So are you gonnd show me orr |
12:36:48 | FromDiscord | <nnsee> do i look like google to you? |
12:36:49 | FromDiscord | <devlop_gaming> (edit) "gonnd" => "gonna" |
12:37:07 | FromDiscord | <nnsee> i don't even know what distro you're using |
12:37:16 | FromDiscord | <devlop_gaming> I'm not on linux |
12:37:30 | FromDiscord | <devlop_gaming> I'm on windows |
12:38:52 | FromDiscord | <nnsee> valgrind doesn't run on windows |
12:40:39 | FromDiscord | <devlop_gaming> What apps can i use for windows then? |
12:41:00 | FromDiscord | <nnsee> WSL + valgrind :p |
12:41:22 | FromDiscord | <devlop_gaming> I need windows apps not linux |
12:41:30 | FromDiscord | <nnsee> WSL is a windows app |
12:41:47 | FromDiscord | <devlop_gaming> I meant for detecting memory leaks and yk it |
12:43:10 | FromDiscord | <nnsee> a quick google says there's something called "dr memory". i have no clue how good it is or if it will work for your purpose |
12:43:18 | FromDiscord | <nnsee> i strongly recommend setting up WSL and using valgrind instead |
12:43:27 | FromDiscord | <nnsee> for some reason, you don't like this answer, but it's objectively the correct answer |
12:43:58 | FromDiscord | <devlop_gaming> I don't want to use linux please stop suggesting wsl |
12:44:23 | FromDiscord | <devlop_gaming> And it's slow. I only use it for compiling linux programs and that's it. |
12:45:01 | FromDiscord | <nnsee> you're using it for checking memory leaks, which is already slow. why would you care how fast your program runs in valgrind |
12:45:47 | FromDiscord | <devlop_gaming> Maybe bc my program would freeze |
12:46:00 | FromDiscord | <devlop_gaming> It's literally laggy af |
12:46:18 | FromDiscord | <nnsee> ??? this isn't for regular usage |
12:46:22 | FromDiscord | <nnsee> this is for checking memory leaks |
12:47:09 | FromDiscord | <devlop_gaming> It..is..laggy |
12:47:50 | FromDiscord | <nnsee> are you ignoring what i'm saying on purpose or what |
12:48:43 | FromDiscord | <nnsee> >"how do I do X"↵>you need to do Y↵>"no i don't want to do Y" |
12:48:44 | FromDiscord | <nnsee> ??? |
12:48:45 | FromDiscord | <devlop_gaming> Just forget it |
12:52:01 | FromDiscord | <nnsee> In reply to @nnsee "a quick google says": @devlop_gaming are you not satisfied with this answer? a windows tool with binaries available... |
12:53:28 | FromDiscord | <devlop_gaming> In reply to @nnsee "<@769926604872613899> are you not": I am. Was installing it right after you suggested it. |
12:58:03 | FromDiscord | <devlop_gaming> I don't get how to run my application with it |
12:59:21 | FromDiscord | <devlop_gaming> How am i supposed to use this |
12:59:45 | FromDiscord | <nnsee> did you try reading the manual? https://drmemory.org/page_running.html#sec_invocation |
13:06:30 | FromDiscord | <devlop_gaming> I'm almost out of time. Can you answer my question that I have? I tried to search it up the other day and came up empty. So I have this sequence I'm adding objects into and am setting it's value to @[] every time a proc is called. I think this is the reason for spikes in memory bc when i restart the app memory goes back to normal🤔 |
13:08:23 | FromDiscord | <nnsee> In reply to @devlop_gaming "I'm almost out of": what's your question? |
13:09:11 | FromDiscord | <devlop_gaming> In reply to @nnsee "what's your question?": Ok so I explained the problem in that paragraph. Is this the cause of the spikes I been seeing in my apps memory? |
13:09:38 | FromDiscord | <nnsee> hard to tell without actually seeing your code, but it shouldn't be |
13:09:49 | FromDiscord | <nnsee> it's worth testing `--mm:refc` as well |
13:10:13 | FromDiscord | <devlop_gaming> https://1drv.ms/u/c/d68ce0573038b832/EWhvBF_2t6dHuqquKv8O79kB2xsOcmKn5cng4qoPnnYLKg |
13:10:26 | FromDiscord | <devlop_gaming> In reply to @nnsee "hard to tell without": I went to go grab it |
13:10:26 | FromDiscord | <nnsee> and `-d:useMalloc` |
13:11:25 | FromDiscord | <nnsee> In reply to @devlop_gaming "https://1drv.ms/u/c/d68ce0573038b832/EWhvBF_2t6dHuq": oh god |
13:11:38 | FromDiscord | <nnsee> next time, please use the playground's paste feature or something |
13:12:07 | FromDiscord | <devlop_gaming> Whoops😅 |
13:12:32 | FromDiscord | <nnsee> what is a ProjectDisplay? |
13:12:38 | FromDiscord | <nnsee> is this from C side? |
13:12:43 | FromDiscord | <devlop_gaming> An object i made |
13:14:02 | FromDiscord | <spotlightkid> @nnsee\: I admire your patience. Though it borders on masochism 😉 |
13:14:38 | FromDiscord | <devlop_gaming> 😑 |
13:18:00 | FromDiscord | <nnsee> sent a code paste, see https://play.nim-lang.org/#pasty=mjkGKnpv |
13:18:43 | FromDiscord | <nnsee> if that's not the issue, then `init(ProjectDisplay)` is a bit suspect. what does it do exactly? does it call into C code which might allocate? |
13:59:37 | Amun-Ra | devlop_gaming: for tracking memory related issues I'd recommend libasan and libubsan |
14:00:39 | Amun-Ra | and valgrind requires a few rules to rule out false positives |
14:01:03 | Amun-Ra | and if you dlopen almost anything there will be leaks |
14:02:05 | Amun-Ra | I had a few cases removing dlclose before exit fixed all the leaks reported so ymmv ;) |
14:03:44 | Amun-Ra | this is my old suppression list, untested on current nim versions: https://dpaste.com/9KS7FYFVA |
14:05:09 | Amun-Ra | the last time I used that was ca. 1.6.x |
14:09:58 | FromDiscord | <heysokam> compiling with ziccc makes ubsan usage trivial, if wondering how that's one way to do it |
14:14:11 | Amun-Ra | --passc='-fsanitize=address,undefined' |
14:14:25 | Amun-Ra | that should automagically include all the required libs |
14:14:33 | Amun-Ra | at least in case of gcc and clang |
14:56:34 | * | amadaluzia joined #nim |
15:00:41 | * | zgasma joined #nim |
16:50:54 | * | ntat joined #nim |
16:57:41 | * | amadaluzia quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
16:58:07 | * | amadaluzia joined #nim |
17:45:24 | * | ntat quit (Quit: leaving) |
17:56:03 | FromDiscord | <devlop_gaming> In reply to @nnsee "if that's not the": Code i written |
17:56:09 | FromDiscord | <devlop_gaming> I am back |
17:56:47 | FromDiscord | <devlop_gaming> In reply to @nnsee "an easy way to": The problem only happens during runtime |
18:03:03 | Amun-Ra | what kind of problem? |
18:05:08 | * | ntat joined #nim |
18:06:07 | FromDiscord | <devlop_gaming> I have a cretae project button which creates a ProjectDisplay object and stores is inside a sequence. This sequence is overwritten every proc call like this projects = @[]. Which i notice causes memory to quickly rise. When I restart the application memory goes back to normal with the same objects being stored into the sequence. |
18:08:17 | Amun-Ra | is it a local variable of a part of single context? |
18:21:23 | FromDiscord | <devlop_gaming> Single. It's created in the main file and a proc in a separate file modifies it. |
18:34:03 | * | redj quit (Ping timeout: 276 seconds) |
18:45:21 | Amun-Ra | will .setlen 0 instead of = @[] change that behavior? |
18:47:23 | FromDiscord | <devlop_gaming> Let me see |
18:47:47 | Amun-Ra | just thinking outloud |
18:48:42 | * | dza7 is now known as dza |
18:49:50 | FromDiscord | <devlop_gaming> Weird it's still doing it |
18:50:33 | FromDiscord | <devlop_gaming> So i created more projects which resulted in 39mb of memory then when I restarted task manager showed 12.6 |
18:50:59 | FromDiscord | <devlop_gaming> And that's for 16 objects |
19:11:47 | FromDiscord | <devlop_gaming> Something is wrong. Memory never shrinks. |
19:16:17 | Amun-Ra | as expected |
19:16:26 | Amun-Ra | does it grow ad infinitum? |
19:16:46 | Amun-Ra | free memory returns to GC controlled pool and is not freed to the system |
19:17:11 | Amun-Ra | as a general rule, I guess it depends on specific memory model |
19:20:24 | FromDiscord | <lainlaylie> did you try usemalloc as suggested earlier |
19:20:30 | FromDiscord | <devlop_gaming> In reply to @Amun-Ra "does it grow ad": Yea just continously grow as objects are added. Is this bc sequences doesn't shrink? |
19:21:19 | FromDiscord | <devlop_gaming> In reply to @lainlaylie "did you try usemalloc": 🤷♂️ |
19:21:25 | FromDiscord | <lainlaylie> nice |
19:23:29 | FromDiscord | <devlop_gaming> What was the flag? |
19:37:23 | * | amadaluzia quit (Quit: Hi, this is Paul Allen. I'm being called away to London for a few days. Meredith, I'll call you when I get back. Hasta la vista, baby.) |
19:39:28 | FromDiscord | <devlop_gaming> In reply to @lainlaylie "nice": I just tried it same results |
19:43:19 | Amun-Ra | devlop_gaming: I'm not that well versed in nim internals |
19:50:49 | FromDiscord | <devlop_gaming> It's definitely that projects sequence but I'm not sure what to do about it |
19:51:13 | * | skippy8 joined #nim |
19:51:38 | FromDiscord | <devlop_gaming> I can't continue either bc game objects will rely on sequences. Which would result in the user quickly running out of memory potentially crashing their pc. |
19:53:41 | FromDiscord | <lainlaylie> does the call to init lead to any allocations in C world that you don't clean up properly? |
19:54:22 | FromDiscord | <devlop_gaming> It's not related to c |
19:54:30 | FromDiscord | <lainlaylie> does ProjectDisplay contain any C stuff that needs freeing? |
19:54:36 | FromDiscord | <devlop_gaming> Nope |
19:54:43 | FromDiscord | <lainlaylie> In reply to @devlop_gaming "It's not related to": but you pass sdl renderer and font into it? |
19:54:55 | FromDiscord | <devlop_gaming> I told you it's the projects sequence |
19:55:02 | FromDiscord | <lainlaylie> ok, sorry |
19:55:20 | FromDiscord | <devlop_gaming> That's the only thing that grows on runtime as of now |
19:55:29 | FromDiscord | <lainlaylie> maybe someone else can divine what your problem is from a twenty line snippet with no context or type definitions |
19:56:02 | FromDiscord | <devlop_gaming> I gave the whole fileHandle.nim file |
19:58:20 | FromDiscord | <devlop_gaming> In reply to @lainlaylie "maybe someone else can": Do you need the projectDisplay file too? |
19:59:38 | FromDiscord | <nnsee> In reply to @devlop_gaming "The problem only happens": I'm aware. what I said applies to runtime |
20:00:16 | FromDiscord | <nnsee> did you try `-d:useMalloc` and `--mm:refc` like i asked you to? |
20:00:35 | FromDiscord | <nnsee> In reply to @devlop_gaming "So i created more": that doesn't sound abnormal |
20:03:04 | FromDiscord | <nnsee> In reply to @nnsee "I'm aware. what I": like I said, my code will allow you to check if objects are being properly destroyed at runtime when you set a new seq. it's for debugging |
20:03:17 | FromDiscord | <nnsee> so... are they? |
20:03:35 | FromDiscord | <devlop_gaming> In reply to @nnsee "that doesn't sound abnormal": Wym? |
20:03:59 | FromDiscord | <devlop_gaming> In reply to @nnsee "so... are they?": I'll go check rn |
20:05:06 | FromDiscord | <devlop_gaming> Do i need to remove hints and verbosity? |
20:05:16 | FromDiscord | <devlop_gaming> I have those off rn |
20:05:53 | FromDiscord | <nnsee> In reply to @devlop_gaming "Do i need to": remove? |
20:06:01 | FromDiscord | <nnsee> and off how? or why |
20:06:14 | * | beholders_eye joined #nim |
20:06:49 | FromDiscord | <devlop_gaming> Idk that depends if it reports stuff to the console? |
20:07:13 | FromDiscord | <devlop_gaming> What am I looking for? I added the flags. |
20:27:09 | * | ntat quit (Quit: leaving) |
20:52:56 | * | andy-turner joined #nim |
20:58:25 | FromDiscord | <nnsee> In reply to @devlop_gaming "What am I looking": to see if that changes anything in the behaviour |
20:58:28 | * | xet7 quit (Remote host closed the connection) |
20:59:45 | * | xet7 joined #nim |
21:08:52 | * | beholders_eye quit (Quit: WeeChat 4.5.1) |
21:09:53 | * | andy-turner quit (Quit: Leaving) |
21:45:31 | FromDiscord | <devlop_gaming> In reply to @nnsee "to see if that": Same thing happens |
21:48:28 | FromDiscord | <nnsee> and the destroy proc? |
21:49:47 | FromDiscord | <nnsee> imho unless you have definitive proof that it'll keep growing indefinitely, i don't think this is something you should be worried about right now |
21:50:54 | FromDiscord | <devlop_gaming> Bruh the task manager is proof |
21:51:37 | FromDiscord | <devlop_gaming> Memory literally doesn't decrease when the sequence is "cleared" |
21:52:06 | FromDiscord | <nnsee> what makes you think it should? |
21:52:51 | FromDiscord | <devlop_gaming> Why tf would a small application be using more than a gb of memory for? |
21:53:36 | FromDiscord | <nnsee> In reply to @devlop_gaming "So i created more": more than a gigabyte? here you're talking about 40 megabytes |
21:53:51 | FromDiscord | <devlop_gaming> In reply to @nnsee "more than a gigabyte?": That's where I stopped at |
21:54:14 | FromDiscord | <devlop_gaming> It will get past that point if I continue with development which is why I stopped to try and fix this problem |
21:54:22 | FromDiscord | <nnsee> so... what gigabyte are you talking about? |
21:54:35 | FromDiscord | <nnsee> In reply to @devlop_gaming "It will get past": you don't even know if there is a problem |
21:54:49 | FromDiscord | <devlop_gaming> In reply to @nnsee "you don't even know": It is a problem how you gonna tell me |
21:55:04 | FromDiscord | <nnsee> what? |
21:55:40 | FromDiscord | <nnsee> listen buddy, if you're unwilling to listen to the people you're asking help from, then frankly, i'm unwilling to help you |
21:55:54 | FromDiscord | <devlop_gaming> How am I showing unwillingness??? |
21:56:28 | FromDiscord | <nnsee> by arguing with me and not going through the debugging steps i'm telling you to go through which would definitively prove if you actually have a problem or not |
21:56:55 | FromDiscord | <devlop_gaming> I literally went through most of them like you just talking atp |
21:57:32 | FromDiscord | <nnsee> i've asked you to implement the debugging `=destroy` proc like four times now friend |
21:58:29 | FromDiscord | <devlop_gaming> Once |
22:00:51 | FromDiscord | <nnsee> are you really arguing with me about this? https://discord.com/channels/371759389889003530/371759389889003532/1364719600016818239 https://discord.com/channels/371759389889003530/371759389889003532/1364693130758328351 https://discord.com/channels/371759389889003530/371759389889003532/1364591132474085386 |
22:01:08 | FromDiscord | <nnsee> that's three, and the last one was the fourth |
22:01:51 | FromDiscord | <devlop_gaming> You're right I'm not here to argue I'm here to fix a serious issue |
22:02:23 | FromDiscord | <nnsee> for someone here to "fix a serious issue", you sure don't seem to be interested in actually debugging the issue |
22:02:36 | FromDiscord | <nnsee> to the point where i'm beginning to think you're just trolling to annoy people |
22:03:04 | FromDiscord | <devlop_gaming> I tried to fix it myself already but I'm not very experienced in sequences I know some things about them |
22:03:21 | FromDiscord | <devlop_gaming> In reply to @nnsee "to the point where": Don't get it fucking twisted I don't "troll" |
22:04:29 | FromDiscord | <nnsee> sure seems like it. maybe put some effort into not looking like a troll, then? could start with doing what i asked you to do to help debug your issue |
22:04:35 | FromDiscord | <nnsee> fifth time, btw |
22:05:22 | FromDiscord | <devlop_gaming> How bout you stop your accusations😑 |
22:06:16 | FromDiscord | <devlop_gaming> In reply to @nnsee "an easy way to": Also this is throwing an error |
22:06:20 | FromDiscord | <devlop_gaming> C:\Users\Dreca\OneDrive\SparkEngine\src\projectManagers\projectDisplay.nim(47, 1) Error: signature for '=destroy' must be proc[T: object](x: var T) |
22:08:16 | FromDiscord | <devlop_gaming> sent a code paste, see https://play.nim-lang.org/#pasty=oQUISJUg |
22:10:12 | FromDiscord | <nnsee> sorry yes, missed a var there |
22:10:30 | FromDiscord | <nnsee> it should be `var ProjectDisplay` |
22:12:04 | FromDiscord | <devlop_gaming> In the fileHandle file or the file with the object in it? |
22:12:48 | FromDiscord | <devlop_gaming> I wasn't sure which file i am supposed to put it in |
22:13:36 | FromDiscord | <nnsee> in the file with the object definition is fine |
22:18:29 | FromDiscord | <devlop_gaming> And it's supposed to be called during runtime if the object is destroyed right? |
22:18:48 | FromDiscord | <nnsee> ideally yes |
22:19:25 | FromDiscord | <nnsee> more specifically, if you're using arc/orc, it should be called when all referecnes to it go out of scope |
22:19:37 | FromDiscord | <nnsee> (edit) "referecnes" => "references" |
22:20:33 | FromDiscord | <devlop_gaming> Nothing in console. Did i type something wrong? |
22:20:45 | FromDiscord | <devlop_gaming> sent a code paste, see https://play.nim-lang.org/#pasty=tIreYssP |
22:20:57 | FromDiscord | <nnsee> should be correct |
22:21:16 | FromDiscord | <nnsee> can you post your code again? I can't remember what you did off the top of my head |
22:27:19 | FromDiscord | <devlop_gaming> Got the link to a site where i can paste my code? |
22:28:49 | * | tokyovigilante quit (Remote host closed the connection) |
22:29:04 | * | tokyovigilante joined #nim |
22:29:21 | FromDiscord | <nnsee> https://play.nim-lang.org |
22:29:39 | FromDiscord | <nnsee> share button is on the bottom left |
22:30:57 | FromDiscord | <devlop_gaming> https://play.nim-lang.org/#pasty=ChVhRQjw |
22:31:04 | * | skippy8 quit (Quit: WeeChat 4.4.2) |
22:31:36 | FromDiscord | <devlop_gaming> https://play.nim-lang.org/#pasty=yDlmUcco |
22:31:43 | FromDiscord | <devlop_gaming> 2nd link is the object |
23:46:40 | * | derpydoo joined #nim |