00:04:54 | * | onionhammer quit (Read error: Connection reset by peer) |
00:05:41 | * | onionhammer joined #nim |
00:19:09 | * | PMunch joined #nim |
00:27:12 | * | pie_ quit (Ping timeout: 240 seconds) |
00:30:24 | * | jsgrant_om quit (Ping timeout: 240 seconds) |
00:35:11 | * | ftsf_ joined #nim |
00:50:00 | * | Serenit0r joined #nim |
00:53:27 | * | Serenitor quit (Ping timeout: 246 seconds) |
00:54:15 | * | Trioxin joined #nim |
00:57:54 | * | Trioxin2 quit (Ping timeout: 264 seconds) |
01:01:45 | * | Jesin joined #nim |
01:29:25 | * | Serenit0r quit (Ping timeout: 245 seconds) |
01:32:44 | * | PMunch quit (Quit: leaving) |
01:51:49 | * | BennyElg_ joined #nim |
01:54:03 | * | BennyElg quit (Ping timeout: 272 seconds) |
02:00:41 | * | chemist69 quit (Ping timeout: 255 seconds) |
02:03:27 | * | rb66 quit (Quit: rb66) |
02:09:24 | * | jsgrant_om joined #nim |
02:13:39 | * | jsgrant_om left #nim (#nim) |
02:14:10 | * | chemist69 joined #nim |
02:18:18 | * | jsgrant_om joined #nim |
02:29:05 | * | brson quit (Quit: leaving) |
02:45:56 | * | yglukhov quit (Remote host closed the connection) |
02:55:11 | * | dddddd quit (Remote host closed the connection) |
03:03:05 | * | BennyElg_ quit (Remote host closed the connection) |
03:18:53 | * | def-pri-pub quit (Quit: leaving) |
03:39:00 | FromGitter | <sptorin_twitter> Hello to all. Lib nimx - will be official GUI for nim? |
04:01:11 | * | chemist69 quit (Ping timeout: 240 seconds) |
04:04:05 | * | chemist69 joined #nim |
04:25:57 | * | libman quit (Quit: Connection closed for inactivity) |
04:29:55 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
04:31:50 | * | kunev joined #nim |
04:46:30 | * | yglukhov joined #nim |
04:50:56 | * | yglukhov quit (Ping timeout: 268 seconds) |
05:04:07 | * | ftsf_ quit (Ping timeout: 240 seconds) |
05:18:27 | bozaloshtsh | how to use the return statement in an async proc that has no return value? |
05:18:42 | bozaloshtsh | here is what I'm trying to do: https://glot.io/snippets/eps2actig8 |
05:19:16 | bozaloshtsh | I could just not use early returns and go 12 levels deep with if-elses but I'd rather not |
05:21:09 | bozaloshtsh | it seems this error only happens when I have nested async procs |
05:24:30 | * | Vladar joined #nim |
06:08:42 | * | chemist69 quit (Ping timeout: 264 seconds) |
06:11:04 | * | chemist69 joined #nim |
06:32:56 | FromGitter | <Varriount> @sptorin_twitter I don't believe so. |
06:53:46 | * | gokr joined #nim |
06:54:19 | * | nsf joined #nim |
07:26:47 | * | Arrrr joined #nim |
07:38:07 | * | pie_ joined #nim |
07:38:27 | FromGitter | <almynic> Hi does nim have a equivalent to java's super? |
07:39:05 | ftsf | almynic, procCall functioname(SuperClass(self), args...) |
07:40:59 | FromGitter | <almynic> and does this work for constructors too? |
07:41:17 | ftsf | constructors? don't think nim has those |
07:43:20 | FromGitter | <almynic> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=5915679c33e9ee771c9b88aa] |
07:44:12 | FromGitter | <almynic> a student should have a name, age und a studentId |
07:46:01 | * | yglukhov joined #nim |
07:46:48 | FromGitter | <almynic> ok figured it out that already does happen if I ref object of Person. |
07:54:17 | * | adeohluwa joined #nim |
07:58:09 | FromGitter | <andreaferretti> @Araq @zah I know I am being a little insistent, but any chance https://github.com/nim-lang/Nim/pull/5677 will be merged soon? |
08:13:52 | * | yglukhov quit (Remote host closed the connection) |
08:33:57 | * | Ven joined #nim |
08:34:21 | * | Ven is now known as Guest33797 |
08:38:35 | Araq | yes. ;-) |
08:39:07 | Araq | it's a worst case, breaks a critical piece of infrastructure that relies on a broken compiler |
08:39:56 | Araq | so the correct compiler needs to implement co-variance that the old compiler happened to allow. OOP sucks. |
08:56:50 | * | yglukhov joined #nim |
08:57:30 | * | yglukhov quit (Remote host closed the connection) |
08:57:45 | * | yglukhov joined #nim |
09:01:28 | * | Tiberium joined #nim |
09:18:57 | * | aedigix quit (Remote host closed the connection) |
09:20:43 | * | aedigix joined #nim |
09:22:23 | * | aedigix quit (Remote host closed the connection) |
09:22:56 | * | aedigix joined #nim |
09:42:59 | * | EastByte_ quit (Quit: WeeChat 1.7.1) |
09:43:33 | * | EastByte joined #nim |
09:43:47 | * | EastByte quit (Client Quit) |
09:44:47 | * | EastByte joined #nim |
09:53:43 | * | pie_ quit (Ping timeout: 268 seconds) |
09:56:58 | * | BennyElg joined #nim |
09:56:59 | * | pie_ joined #nim |
10:02:53 | * | vlad1777d joined #nim |
10:05:26 | * | Guest33797 quit (Ping timeout: 268 seconds) |
10:07:24 | * | Ven joined #nim |
10:07:48 | * | Ven is now known as Guest5904 |
10:09:28 | yglukhov | Araq, hi, mind merging my syslocks fix? |
10:09:46 | Araq | ok, one sec |
10:12:16 | yglukhov | thank you |
10:13:56 | * | adeohluwa quit (Quit: Connection closed for inactivity) |
10:18:18 | * | vlad1777d quit (Remote host closed the connection) |
10:36:55 | * | chemist69 quit (Ping timeout: 255 seconds) |
10:38:42 | * | Guest5904 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
10:39:34 | * | chemist69 joined #nim |
10:39:35 | * | BennyElg quit (Read error: Connection reset by peer) |
10:40:04 | * | BennyElg joined #nim |
10:45:19 | * | Ven_ joined #nim |
10:47:29 | * | PMunch joined #nim |
10:58:13 | yglukhov | how do i get forum email notifications. that used to work, but now it doesnt. |
11:00:52 | * | couven92 joined #nim |
11:02:33 | * | Snircle joined #nim |
11:15:09 | FromGitter | <stisa> yglukhov: never got a forum notification, are you sure you aren't thinking about the mailing list? |
11:20:10 | FromGitter | <AjBreidenbach> hey if anybody can help, I've got kind of a specific question about anonymous functions |
11:22:46 | * | arnetheduck joined #nim |
11:25:35 | FromGitter | <AjBreidenbach> ```code paste, see link``` [https://gitter.im/nim-lang/Nim?at=59159bb2e4cfd50062a6138b] |
11:26:15 | FromGitter | <AjBreidenbach> logging field only shows the last field in the iterator |
11:29:27 | yglukhov | stisa: yes, mailing list is what i mean. |
11:30:12 | yglukhov | AjBreidenbach: closureScope? |
11:31:32 | Tiberium | can I create an array and fill it with entries in for loop? |
11:32:12 | Tiberium | array length is known at compile-time |
11:32:28 | FromGitter | <AjBreidenbach> I don't know if I follow you, but I'm trying to assign a closure to a jQuery event and it's assigning the same closure to all of the events |
11:33:07 | euantor | @Tiberium Sure |
11:33:18 | Tiberium | euantor, how? |
11:34:07 | euantor | https://glot.io/snippets/epscmxrhyf |
11:34:19 | Tiberium | euantor, thanks |
11:35:41 | * | Ven_ quit (Read error: Connection reset by peer) |
11:36:08 | yglukhov | AjBreidenbach: use closureScope |
11:36:08 | * | BennyElg quit (Ping timeout: 240 seconds) |
11:36:12 | yglukhov | from system.nim |
11:37:03 | yglukhov | https://nim-lang.org/docs/system.html#closureScope.t,untyped |
11:42:06 | FromGitter | <AjBreidenbach> @yglukhov great! thanks I didn't know this existed |
11:42:15 | FromGitter | <AjBreidenbach> exactly what I was looking for |
11:42:23 | yglukhov | AjBreidenbach: anytime :) |
11:47:05 | * | Trioxin quit (Read error: Connection reset by peer) |
11:47:52 | * | Trioxin joined #nim |
11:48:17 | * | Trioxin quit (Client Quit) |
12:19:25 | * | BennyElg joined #nim |
12:25:18 | * | zachcarter quit (Quit: zachcarter) |
12:34:17 | * | Ven joined #nim |
12:34:40 | * | Ven is now known as Guest28231 |
12:51:02 | * | Guest28231 quit (Ping timeout: 240 seconds) |
12:53:29 | * | Ven_ joined #nim |
12:56:39 | * | Tiberium quit (Remote host closed the connection) |
12:57:59 | * | Tiberium joined #nim |
13:01:32 | * | Tiberium quit (Remote host closed the connection) |
13:04:46 | * | Tiberium joined #nim |
13:06:30 | * | Ven_ quit (Ping timeout: 245 seconds) |
13:07:55 | * | zachcarter joined #nim |
13:08:27 | * | Ven_ joined #nim |
13:24:20 | * | Ven_ quit (Ping timeout: 260 seconds) |
13:24:54 | * | Vladar quit (Ping timeout: 246 seconds) |
13:26:01 | * | Ven_ joined #nim |
14:06:31 | * | NimBot joined #nim |
14:06:53 | * | Guest30672 quit (Ping timeout: 260 seconds) |
14:09:08 | * | Ven_ joined #nim |
14:19:45 | * | Ven__ joined #nim |
14:19:52 | * | Ven_ quit (Read error: Connection reset by peer) |
14:20:50 | FromGitter | <Varriount> @AjBreidenbach Closures in Nim are similar to those in Javascript, including hoisting behavior |
14:22:28 | FromGitter | <Varriount> @AjBreidenbach https://nim-lang.org/docs/manual.html#closures-creating-closures-in-loops |
14:26:14 | * | NimBot joined #nim |
14:28:13 | * | NimBot joined #nim |
14:28:38 | * | pie_ quit (Ping timeout: 255 seconds) |
15:15:46 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
15:20:37 | ftsf | dom96, should a task with exec work in nimble at the moment? following along the docs and it doesn't seem to run the command when i run `nimble taskname` just prints out the task name and desc |
15:21:04 | dom96 | it should, yeah. |
15:21:10 | couven92 | How do I specify a generic constraint that restricts T to be one of a list of types? like: `proc foo[T: {int8, int16, int32}](x: T)` where T can only be an 8-,16-, or 32-bit int? |
15:21:18 | couven92 | Do I need to do a concept for that? |
15:21:29 | ftsf | T: int8 | int32 i think... |
15:21:33 | ftsf | dom96, hmm =\ |
15:21:46 | FromGitter | <andreaferretti> @ftsf it works for me |
15:21:55 | ftsf | ahh good to know |
15:21:56 | FromGitter | <andreaferretti> for instance, here https://github.com/unicredit/cello/blob/master/cello.nimble |
15:21:58 | ftsf | wonder what it's doing for me |
15:22:10 | FromGitter | <andreaferretti> see al the tasks like benchmarkRRR |
15:22:18 | couven92 | ftsf, Ah! Nice! :) |
15:22:56 | FromGitter | <andreaferretti> you can try to clone the above project and run `nimble benchmarkRRR` |
15:23:18 | FromGitter | <andreaferretti> to check whether it is a problem with your project or with your nimble installation |
15:23:28 | ftsf | i suspect I must be doing something wrong but no idea what |
15:24:01 | FromGitter | <andreaferretti> do you have an up to date version of nimble? |
15:24:27 | ftsf | 0.8.4 |
15:24:59 | ftsf | hmm two new patches since then |
15:25:03 | FromGitter | <andreaferretti> did you try the command I suggested? |
15:25:30 | ftsf | will try now |
15:25:47 | FromGitter | <andreaferretti> there was this bug that may be relevant https://github.com/nim-lang/nimble/issues/305 |
15:25:52 | ftsf | nope just lists the tasks |
15:25:59 | FromGitter | <andreaferretti> fixed here https://github.com/nim-lang/nimble/pull/343 |
15:26:23 | FromGitter | <andreaferretti> basically, nimble used to capture the standard output on tasks |
15:26:27 | FromGitter | <andreaferretti> it doesn't anymore |
15:27:11 | ftsf | https://gist.github.com/ftsf/50aa3d41586a1676f7ace041d2028f5b |
15:27:15 | ftsf | is the output i get |
15:27:34 | ftsf | i assume that's not what you get? |
15:27:51 | FromGitter | <andreaferretti> no, it actually runs a benchmark :-) |
15:28:02 | ftsf | thought so =p |
15:28:05 | ftsf | wonder what's going on... |
15:28:05 | * | CcxWrk quit (Ping timeout: 240 seconds) |
15:28:19 | FromGitter | <andreaferretti> it looks like the output from `nimble tasks` |
15:28:30 | ftsf | yep |
15:28:50 | ftsf | trying to install newer nimble with nimble but it fails =( home/ftsf/git/nimble/nimble.nimble(9, 19) Error: cannot open 'nimblepkg/common'. |
15:29:12 | FromGitter | <andreaferretti> how did you install nim? |
15:29:50 | ftsf | via my package manager (archlinux) |
15:30:04 | FromGitter | <andreaferretti> if you installed it manually, you can remove all nimble versions installed via nimble itself (which can create conflicts) and then run `./koch nimble` from the Nim directory |
15:30:14 | FromGitter | <andreaferretti> I don't know about arch, sorry |
15:31:09 | FromGitter | <andreaferretti> you can try https://github.com/dom96/choosenim which is a little wrapper over manual installation |
15:31:46 | ftsf | will try building it via koch |
15:32:48 | FromGitter | <andreaferretti> other than that, I don't know ¯\_(ツ)_/¯ |
15:33:51 | ftsf | hmm same thing now when running nimble benchmarkRRR with nimble v0.8.6 =\ |
15:34:46 | dom96 | ftsf: what output are you getting? |
15:34:52 | ftsf | https://gist.github.com/ftsf/50aa3d41586a1676f7ace041d2028f5b |
15:35:10 | ftsf | says it executes it but just prints the task list |
15:36:42 | FromGitter | <andreaferretti> in c2nim, is there a way to ignore sections starting with `#if defined(__cplusplus)`? |
15:36:52 | FromGitter | <andreaferretti> like ```#if defined(__cplusplus) ⏎ extern "C" { ⏎ ⏎ ===endif /* __cplusplus */=== [https://gitter.im/nim-lang/Nim?at=5915d6940a783b6c0a8f8365] |
15:36:54 | FromGitter | <andreaferretti> ops |
15:37:19 | FromGitter | <andreaferretti> like ⏎ ⏎ ```#if defined(__cplusplus) ⏎ extern "C" { ⏎ #endif /* __cplusplus */``` [https://gitter.im/nim-lang/Nim?at=5915d6af9f4f4ab05bb9ae4f] |
15:37:39 | FromGitter | <andreaferretti> these are common throughout the CUDA API |
15:38:05 | FromGitter | <andreaferretti> and c2nim breaks when trying to parse the incomplete line `extern "C" {` |
15:38:19 | FromGitter | <andreaferretti> now, I could comment them |
15:38:31 | FromGitter | <andreaferretti> and call it a day |
15:39:30 | FromGitter | <andreaferretti> but I'd rather add c2nim specific info in a `#ifdef C2NIM` section so that it will be easier to upgrade to new CUDA versions |
15:41:25 | * | Tiberium quit (Remote host closed the connection) |
15:47:07 | dom96 | ftsf: That's really strange, my guess Nimble is being compiled with an old Nim |
15:47:17 | dom96 | (it imports Nim sources) |
15:47:18 | ftsf | i just compiled it with 0.16 |
15:49:40 | ftsf | very confused =\ |
15:50:55 | dom96 | You can try installing it with choosenim if you'd like. |
15:50:58 | ftsf | looking at the nimble source it seems impossible too |
15:51:24 | ftsf | i'll try |
15:51:37 | FromGitter | <Araq> @andreaferretti c2nim has special support for this construct, but iirc it only detects #ifdef __cplusplus ... |
15:52:09 | Araq | fix c2nim, can't be hard, can it :-) |
15:52:48 | ftsf | dom96, heh choosenim requires 0.16.1 but installs 0.16.0 |
15:57:24 | FromGitter | <andreaferretti> I will try to fix c2nim |
15:57:37 | FromGitter | <andreaferretti> or write a .nims task to clean up the headers :-) |
15:58:27 | * | Ven__ quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
15:59:44 | * | Kingsquee joined #nim |
16:00:57 | * | ftsf_ joined #nim |
16:05:50 | * | Trustable joined #nim |
16:05:57 | * | Ven joined #nim |
16:06:21 | * | Ven is now known as Guest41391 |
16:11:00 | * | Guest41391 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
16:13:15 | * | literal quit (Ping timeout: 240 seconds) |
16:23:20 | * | gokr joined #nim |
16:25:12 | FromGitter | <andreaferretti> by the way, shouldn't c2nim be among `koch tools`? |
16:26:59 | Araq | koch doesn't clone external projects with the exception of nimble |
16:28:05 | FromGitter | <andreaferretti> I see - but still c2nim cannot be easily installed via nimble on devel, because of some changes in compiler |
16:29:00 | FromGitter | <andreaferretti> I though that koch would be useful to bundle such tools (like nimsuggest or c2nim) that are brittle as nimble packages and are part of the "core package" anyway |
16:35:07 | * | Tiberium joined #nim |
16:42:59 | * | Tiberium quit (Remote host closed the connection) |
16:43:02 | * | yglukhov quit (Remote host closed the connection) |
16:44:56 | * | Tiberium joined #nim |
16:56:05 | Sentreen | Are there any known issues with large-ish tables keys that become corrupted? |
16:57:40 | * | arnetheduck quit (Ping timeout: 260 seconds) |
16:57:48 | Sentreen | I have a piece of associative memory that I model as a table, the key, value pairs normally look something like this: D["link"] : D[L{A{8}.P{0}}], but when I run my test programs with large numbers the memory becomes "corrupted" and I ended up with something like: D["Ð"] : D[L{A{8}.P{1}}]. D[" "] : D[L{A{8}.P{1}}], or other weird nonesense strings |
16:58:00 | Sentreen | I have also confirmed that I never add anything like this to the table myself |
16:59:51 | Sentreen | I'm probably doing something wrong on my end, but I just wanted to be sure there were no bugs that somebody was aware off :) |
16:59:52 | * | kunev quit (Ping timeout: 246 seconds) |
17:02:02 | * | kunev joined #nim |
17:07:41 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
17:09:26 | * | brson joined #nim |
17:11:41 | * | Ven joined #nim |
17:12:04 | * | Ven is now known as Guest70548 |
17:21:05 | * | Guest70548 quit (Ping timeout: 240 seconds) |
17:23:51 | * | Ven_ joined #nim |
17:30:46 | * | literal joined #nim |
17:36:53 | * | Ven_ quit (Ping timeout: 268 seconds) |
17:39:36 | * | Ven_ joined #nim |
17:40:51 | FromGitter | <maiermic> @all has anyone tried to static link SDL2? I get several errors: conflicting types (https://github.com/nim-lang/sdl2/issues/87) and incompatible type (https://github.com/nim-lang/sdl2/issues/88) |
17:41:10 | Araq | Sentreen: no known issues with tables |
17:41:22 | FromGitter | <ftsf> @dom96 after installing from choosenim, nimble seems more broken =\ Error: cannot open ~/.nimble/lib/system.nim |
17:41:24 | FromGitter | <Varriount> Sentreen: I'm assuming you're using repr? |
17:42:20 | FromGitter | <Varriount> repr might not be able to always give an accurate representation of the table. |
17:48:27 | * | ftsf_ quit (Ping timeout: 240 seconds) |
17:52:59 | * | Ven_ quit (Ping timeout: 272 seconds) |
17:53:35 | * | Ven_ joined #nim |
18:08:20 | * | Ven_ quit (Ping timeout: 268 seconds) |
18:11:09 | * | Ven joined #nim |
18:11:32 | * | Ven is now known as Guest27981 |
18:15:26 | * | couven92 quit (Ping timeout: 255 seconds) |
18:20:40 | * | Guest27981 quit (Ping timeout: 240 seconds) |
18:21:28 | * | Ven_ joined #nim |
18:25:57 | * | Ven_ quit (Ping timeout: 240 seconds) |
18:28:33 | * | Ven_ joined #nim |
18:31:16 | * | PMunch quit (Quit: leaving) |
18:31:17 | FromGitter | <dom96> @ftsf tried "choosenim devel"? |
18:33:20 | * | Ven_ quit (Ping timeout: 260 seconds) |
18:34:52 | * | chemist69 quit (Ping timeout: 255 seconds) |
18:36:03 | * | Ven_ joined #nim |
18:37:42 | * | chemist69 joined #nim |
18:48:33 | * | yglukhov joined #nim |
18:50:36 | * | rauss quit (Ping timeout: 272 seconds) |
18:52:30 | * | rauss joined #nim |
18:52:45 | * | yglukhov quit (Ping timeout: 240 seconds) |
18:56:47 | * | yglukhov joined #nim |
18:59:13 | * | pie_ joined #nim |
19:00:39 | * | rauss quit (Quit: WeeChat 1.7.1) |
19:05:37 | * | yglukhov quit (Remote host closed the connection) |
19:07:11 | * | zachcarter quit (Ping timeout: 255 seconds) |
19:07:25 | * | yglukhov joined #nim |
19:08:05 | * | Ven_ quit (Ping timeout: 240 seconds) |
19:09:12 | * | Ven joined #nim |
19:09:36 | * | Ven is now known as Guest69228 |
19:09:53 | * | yglukhov quit (Remote host closed the connection) |
19:11:41 | * | yglukhov joined #nim |
19:20:33 | * | Arrrr quit (Quit: Leaving.) |
19:21:07 | * | GustavoLapasta joined #nim |
19:22:57 | * | pie_ quit (Ping timeout: 240 seconds) |
19:24:55 | * | yglukhov quit (Remote host closed the connection) |
19:31:35 | * | nsf quit (Quit: WeeChat 1.7.1) |
19:34:35 | * | yglukhov joined #nim |
19:34:43 | * | Guest69228 quit (Read error: Connection reset by peer) |
19:35:07 | * | Ven_ joined #nim |
19:35:58 | * | brson quit (Quit: leaving) |
19:36:17 | * | brson joined #nim |
19:40:08 | * | jsgrant_om left #nim (#nim) |
19:43:23 | * | Matthias247 joined #nim |
19:44:26 | * | GustavoLapasta quit (Quit: Leaving) |
19:53:05 | * | Ven_ quit (Ping timeout: 255 seconds) |
19:53:55 | * | Ven_ joined #nim |
19:54:45 | * | zachcarter joined #nim |
19:55:17 | * | Tiberium quit (Remote host closed the connection) |
19:56:14 | * | Jesin quit (Quit: Leaving) |
20:00:21 | * | Jesin joined #nim |
20:01:04 | * | Vladar quit (Quit: Leaving) |
20:26:03 | * | yglukhov quit (Remote host closed the connection) |
20:28:41 | * | yglukhov joined #nim |
20:33:13 | * | yglukhov quit (Ping timeout: 255 seconds) |
20:34:42 | * | rupil joined #nim |
20:38:15 | * | Ven_ quit (Ping timeout: 240 seconds) |
20:38:57 | rupil | type A = concept c |
20:38:57 | rupil | name(c) is string |
20:38:57 | rupil | var aa: seq[A] |
20:39:13 | rupil | anyone can compile this? |
20:39:22 | * | Ven joined #nim |
20:39:46 | * | Ven is now known as Guest17904 |
20:39:58 | * | chemist69 quit (Ping timeout: 255 seconds) |
20:40:16 | * | yglukhov joined #nim |
20:40:25 | Araq | rupil: no, because it's invalid code. |
20:40:39 | Araq | concepts are not interfaces. |
20:40:50 | * | yglukhov quit (Remote host closed the connection) |
20:41:18 | * | Guest17904 quit (Client Quit) |
20:41:24 | rupil | So tuple of procs is still the best way? |
20:42:16 | * | gokr quit (Quit: Leaving.) |
20:44:42 | Araq | an entity system is still the best way ;-) |
20:44:42 | * | chemist69 joined #nim |
20:45:24 | Araq | unfortunately we don't have one in the stdlib, but sooner or later I'm gonna write one because everybody gets it wrong ;-) |
20:46:48 | rupil | Gotcha. Thanks. |
20:49:13 | * | gokr joined #nim |
21:04:10 | * | user0 joined #nim |
21:05:22 | * | Serenitor joined #nim |
21:06:12 | * | rupil left #nim (#nim) |
21:10:23 | Serenitor | how would I go about incrementing an address? the + operator isn't overloaded with pointer types |
21:11:17 | * | user0 quit (Quit: user0) |
21:16:32 | dom96 | Serenitor: this might help https://forum.nim-lang.org/t/2569 |
21:16:45 | * | gokr quit (Ping timeout: 240 seconds) |
21:17:25 | * | dddddd joined #nim |
21:17:58 | * | couven92 joined #nim |
21:19:47 | * | Ven joined #nim |
21:19:51 | FromGitter | <Varriount> Serenitor: Just remember not to cast to signed integers |
21:19:52 | FromGitter | <ephja> pointer indexing: castptr array[length, T (p) |
21:20:10 | * | Ven is now known as Guest63789 |
21:20:38 | * | yglukhov joined #nim |
21:21:08 | FromGitter | <ephja> I messed up the markdown syntax there |
21:21:56 | * | user0 joined #nim |
21:25:39 | Serenitor | got it working :) thanks dom96, Varriount, ephja |
21:34:41 | * | yglukhov quit (Remote host closed the connection) |
21:34:56 | * | Guest63789 quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
21:48:06 | * | user0 quit (Quit: user0) |
21:51:25 | * | Trustable quit (Remote host closed the connection) |
21:53:10 | * | dexterk__ quit (Ping timeout: 240 seconds) |
21:53:30 | * | dexterk__ joined #nim |
21:58:31 | * | dexterk__ quit (Remote host closed the connection) |
21:59:01 | * | dexterk__ joined #nim |
21:59:02 | * | user0 joined #nim |
22:01:21 | * | couven92 quit (Quit: Client Disconnecting) |
22:04:10 | * | PMunch joined #nim |
22:07:58 | * | dexterk__ quit (Remote host closed the connection) |
22:08:20 | * | dexterk__ joined #nim |
22:17:34 | Araq | varriount: why? casting to signed integers is fine, I do it all the time |
22:17:46 | * | user0 quit (Quit: user0) |
22:27:02 | enthus1ast | a little (maybe noobic) question, my progamm is getting bigger and bigger on usage, what is your strategy to identify these kind of ?memory leaks/programming errors? How would you start to investigate? |
22:29:04 | enthus1ast | I've tried to make shure that i do not store something (obviously) multiple times, but something strange is going on |
22:35:17 | zachcarter | anyone know how to use AddressSanitizer with Nim? |
22:35:26 | zachcarter | I tried —passC:-fsanitize=address |
22:35:28 | zachcarter | didn’t work |
22:38:13 | Araq | enthus1ast: -d:nimTypeNames and call dumpNumberOfInstances() at strategic places |
22:39:33 | enthus1ast | i will try that |
22:43:07 | enthus1ast | wow very kuhl |
22:58:41 | * | jsgrant_om joined #nim |
23:18:02 | enthus1ast | ty Araq, zachcarter i think my weekend will be to short |
23:18:19 | zachcarter | I didn’t do anything but np :P |
23:22:12 | * | def-pri-pub joined #nim |
23:24:13 | * | jsgrant_om quit (Ping timeout: 272 seconds) |
23:35:16 | * | yglukhov joined #nim |
23:39:28 | * | yglukhov quit (Ping timeout: 240 seconds) |
23:47:59 | * | jsgrant_om joined #nim |
23:50:58 | PMunch | What's the difference between a "ref object" and a "ref object of RootObj"? |
23:53:07 | * | Matthias247 quit (Read error: Connection reset by peer) |