00:03:36 | * | Matthias247 quit (Read error: Connection reset by peer) |
00:03:48 | * | Ven joined #nim |
00:22:06 | * | Ven quit (Ping timeout: 240 seconds) |
00:23:49 | * | Ven joined #nim |
00:37:49 | * | Ven quit (Read error: Connection reset by peer) |
00:38:04 | * | yglukhov quit (Remote host closed the connection) |
00:44:07 | * | Ven joined #nim |
00:46:05 | * | rusua quit (Quit: Connection closed for inactivity) |
00:50:50 | * | devted_ quit (Quit: Sleeping.) |
00:50:52 | * | Ven quit (Ping timeout: 258 seconds) |
01:14:37 | * | couven92 quit (Quit: Client disconnecting) |
01:18:12 | * | Kingsquee joined #nim |
01:19:51 | * | dmi0 joined #nim |
01:23:37 | * | Ven joined #nim |
01:25:38 | * | HoloIRCUser quit (Quit: HoloIRCUser) |
01:36:51 | * | Ven quit (Ping timeout: 252 seconds) |
01:44:10 | * | Ven joined #nim |
01:50:28 | * | dddddd quit (Remote host closed the connection) |
01:52:16 | * | Ven quit (Ping timeout: 260 seconds) |
02:23:08 | * | Ven joined #nim |
02:37:11 | * | Ven quit (Ping timeout: 260 seconds) |
02:42:59 | * | Ven joined #nim |
02:47:15 | * | chemist69 quit (Ping timeout: 252 seconds) |
02:51:03 | * | Ven quit (Ping timeout: 245 seconds) |
03:00:56 | * | chemist69 joined #nim |
03:03:05 | * | Ven joined #nim |
03:04:17 | * | Ven quit (Read error: Connection reset by peer) |
03:23:22 | * | Ven joined #nim |
03:36:05 | * | Ven quit (Ping timeout: 258 seconds) |
03:42:54 | * | Ven joined #nim |
03:44:48 | * | IdentService joined #nim |
03:44:52 | * | IdentService left #nim (#nim) |
03:51:16 | * | Ven quit (Ping timeout: 260 seconds) |
03:57:19 | * | devted joined #nim |
04:02:45 | * | Ven joined #nim |
04:04:23 | * | Ven quit (Read error: Connection reset by peer) |
04:22:06 | * | def- quit (Ping timeout: 240 seconds) |
04:22:38 | * | Ven joined #nim |
04:27:36 | * | def- joined #nim |
04:31:48 | def-pri-pub | It there a tutorial out there on how to use Macros? The one on "Nim By Example," looks a little complicated to me |
04:35:01 | * | def- quit (Ping timeout: 260 seconds) |
04:38:08 | * | Ven quit (Ping timeout: 255 seconds) |
04:43:04 | * | Ven joined #nim |
04:49:55 | * | rainrawr joined #nim |
04:49:59 | * | rainrawr left #nim (#nim) |
04:52:05 | * | Ven quit (Ping timeout: 255 seconds) |
04:58:36 | Araq | https://github.com/araq/nimatxored cannot upload the slides right now |
04:58:45 | Araq | so you need to build it on your own |
04:59:12 | Araq | has lots of macro examples though |
05:03:08 | * | Ven joined #nim |
05:04:10 | * | devted quit (Quit: Sleeping.) |
05:07:43 | * | Ven quit (Ping timeout: 245 seconds) |
05:07:47 | * | rainrawr joined #nim |
05:14:04 | * | def- joined #nim |
05:21:58 | def-pri-pub | Is there a link to the talk? |
05:22:20 | * | Ven joined #nim |
05:22:52 | * | def- quit (Ping timeout: 240 seconds) |
05:29:42 | def-pri-pub | night ugys |
05:29:43 | def-pri-pub | guys* |
05:29:44 | * | def-pri-pub quit (Quit: leaving) |
05:37:52 | * | Ven quit (Ping timeout: 248 seconds) |
05:42:57 | * | Ven joined #nim |
05:46:34 | * | def- joined #nim |
05:51:03 | * | def- quit (Ping timeout: 240 seconds) |
05:51:44 | * | Ven quit (Ping timeout: 248 seconds) |
06:02:32 | * | Ven joined #nim |
06:07:14 | * | Ven quit (Ping timeout: 255 seconds) |
06:09:13 | * | def- joined #nim |
06:15:56 | * | def- quit (Ping timeout: 260 seconds) |
06:22:08 | * | Ven joined #nim |
06:25:54 | * | Ven quit (Client Quit) |
06:26:13 | * | def- joined #nim |
06:29:43 | * | bjz joined #nim |
06:30:32 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
06:31:06 | * | def- quit (Ping timeout: 260 seconds) |
06:33:55 | * | nsf joined #nim |
06:44:26 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
06:44:34 | * | space-wizard joined #nim |
06:45:28 | * | def- joined #nim |
06:55:01 | * | def- quit (Ping timeout: 260 seconds) |
06:58:59 | * | bjz joined #nim |
07:00:03 | * | def- joined #nim |
07:03:45 | * | eizua joined #nim |
07:30:02 | * | gangstaguy quit (Ping timeout: 255 seconds) |
07:30:02 | * | tstm quit (Ping timeout: 255 seconds) |
07:30:03 | * | pigmej quit (Ping timeout: 255 seconds) |
07:30:29 | * | cyraxjoe quit (Ping timeout: 255 seconds) |
07:31:22 | * | cyraxjoe joined #nim |
07:33:53 | * | gangstaguy joined #nim |
07:35:29 | * | tstm joined #nim |
07:35:35 | * | pigmej joined #nim |
07:46:14 | * | yglukhov joined #nim |
07:47:44 | * | gokr joined #nim |
07:48:41 | * | yglukhov quit (Remote host closed the connection) |
07:48:56 | * | yglukhov joined #nim |
07:50:09 | * | Andris_zbx joined #nim |
07:50:13 | * | rokups joined #nim |
07:58:50 | * | tstm quit (Ping timeout: 255 seconds) |
07:58:50 | * | eizua quit (Ping timeout: 255 seconds) |
08:04:44 | * | tstm joined #nim |
08:12:14 | * | eizua joined #nim |
08:45:08 | * | bjz_ joined #nim |
08:46:06 | * | bjz quit (Ping timeout: 240 seconds) |
08:46:29 | * | yglukhov quit (Remote host closed the connection) |
08:47:41 | * | space-wizard quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
08:58:36 | * | yglukhov joined #nim |
09:02:44 | * | kulelu88 quit (Quit: Leaving) |
09:02:53 | * | yglukhov quit (Remote host closed the connection) |
09:03:07 | * | yglukhov joined #nim |
09:07:59 | * | Arrrr joined #nim |
09:08:44 | * | Vladar joined #nim |
09:16:50 | * | PMunch joined #nim |
09:24:10 | * | bjz joined #nim |
09:25:31 | * | bjz_ quit (Ping timeout: 260 seconds) |
09:26:06 | Arrrr | If you want to write macros, this can help you https://github.com/nim-lang/Nim/blob/devel/doc/astspec.txt |
09:32:45 | * | couven92 joined #nim |
09:33:06 | * | yeeve quit (Ping timeout: 260 seconds) |
09:37:34 | * | yglukhov quit (Remote host closed the connection) |
09:41:37 | * | yeeve joined #nim |
09:45:39 | * | zevlg quit (Remote host closed the connection) |
09:46:23 | * | madmalik joined #nim |
09:55:23 | * | yglukhov joined #nim |
10:00:20 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
10:11:45 | * | bjz joined #nim |
10:13:52 | * | yglukhov quit (Remote host closed the connection) |
10:15:31 | * | bjz quit (Read error: Connection reset by peer) |
10:15:46 | * | bjz_ joined #nim |
10:18:00 | * | yglukhov joined #nim |
10:44:10 | * | bjz joined #nim |
10:45:38 | * | bjz_ quit (Ping timeout: 245 seconds) |
10:51:39 | * | eizua quit (Quit: Leaving) |
10:53:49 | * | arnetheduck joined #nim |
10:57:38 | * | benoliver999 joined #nim |
11:01:13 | * | yglukhov quit (Remote host closed the connection) |
11:08:08 | * | Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif) |
11:52:18 | * | Ven joined #nim |
12:02:14 | * | Snircle joined #nim |
12:06:03 | * | jinshil joined #nim |
12:08:14 | * | Ven quit (Ping timeout: 240 seconds) |
12:11:54 | * | Ven joined #nim |
12:22:35 | * | byte512 joined #nim |
12:23:41 | * | Ven quit (Ping timeout: 240 seconds) |
12:27:00 | * | yglukhov joined #nim |
12:31:52 | * | Ven joined #nim |
12:37:43 | * | Ven quit (Ping timeout: 245 seconds) |
12:47:57 | * | devted joined #nim |
12:49:06 | * | yglukhov quit (Remote host closed the connection) |
12:49:39 | * | yglukhov joined #nim |
12:50:32 | * | Ven joined #nim |
12:51:15 | * | yglukhov quit (Remote host closed the connection) |
12:51:29 | * | yglukhov joined #nim |
12:57:46 | * | literal quit (Quit: Lost terminal) |
12:58:17 | * | literal joined #nim |
12:58:44 | * | yglukhov quit (Remote host closed the connection) |
13:09:44 | * | yglukhov joined #nim |
13:12:33 | * | vlad1777d joined #nim |
13:18:50 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
13:28:15 | * | rupil joined #nim |
13:42:02 | * | rokups quit (Quit: Connection closed for inactivity) |
13:48:05 | * | hendi quit (Quit: Connection closed for inactivity) |
14:03:52 | * | eizua joined #nim |
14:15:52 | * | rokups joined #nim |
14:20:52 | * | byte512 quit (Ping timeout: 255 seconds) |
14:21:19 | * | irrequietus quit () |
14:30:14 | * | jinshil quit (Quit: client terminated!) |
14:35:18 | * | dddddd joined #nim |
15:33:13 | * | yglukhov quit (Remote host closed the connection) |
15:36:14 | * | yglukhov joined #nim |
15:40:32 | * | yglukhov quit (Ping timeout: 240 seconds) |
15:51:13 | * | pie_ joined #nim |
15:54:51 | * | vendethiel joined #nim |
16:09:27 | * | PMunch quit (Quit: leaving) |
16:09:47 | * | couven92 quit (Quit: Client disconnecting) |
16:12:17 | cheatfate | does anybody has problem with github? |
16:12:23 | cheatfate | i mean access to site? |
16:15:34 | Vladar | yep |
16:16:06 | Vladar | "No server is currently available to service your request." |
16:16:40 | Calinou | yes, it's down: https://status.github.com/ |
16:25:08 | * | pregressive joined #nim |
16:36:45 | * | arnetheduck quit (Ping timeout: 256 seconds) |
16:42:33 | * | yglukhov joined #nim |
16:42:52 | * | couven92 joined #nim |
16:46:15 | * | space-wizard joined #nim |
16:46:53 | * | yglukhov quit (Ping timeout: 245 seconds) |
16:47:11 | * | Andris_zbx quit (Remote host closed the connection) |
16:48:12 | * | Arrrr quit (Ping timeout: 252 seconds) |
16:51:21 | * | Arrrr joined #nim |
17:01:32 | * | eizua quit (Remote host closed the connection) |
17:01:48 | * | Trustable joined #nim |
17:07:16 | * | hendi joined #nim |
17:09:20 | * | pregressive quit (Read error: Connection reset by peer) |
17:12:11 | * | pregressive joined #nim |
17:23:34 | * | kulelu88 joined #nim |
17:32:40 | * | krux02 joined #nim |
17:39:37 | * | yglukhov joined #nim |
17:42:12 | * | Sentreen quit (Ping timeout: 240 seconds) |
17:44:04 | * | pregress_ joined #nim |
17:44:04 | * | pregressive quit (Read error: Connection reset by peer) |
17:45:03 | * | brson joined #nim |
17:47:24 | * | Trustable quit (Quit: Leaving) |
17:53:30 | krux02 | Araq: thanks for fixing the bugs that I mentioned without creating even an issue |
17:53:45 | Araq | hmm? |
17:54:53 | Araq | must have been subconsciously while watching Bojack Horseman |
17:55:12 | * | Sentreen joined #nim |
17:57:58 | krux02 | I once complained that ref types on the NimVm don't work properly, my use case works now |
17:58:10 | krux02 | I don't know when that happened, but it did happen |
17:59:00 | krux02 | I don't know if it was you personally, but since you do so much on Nim I just assumed that |
17:59:59 | krux02 | same with 'threads' module not being findable from 'theindex.html' |
18:06:40 | * | nsf quit (Quit: WeeChat 1.6) |
18:12:02 | * | vendethiel- joined #nim |
18:12:03 | Araq | alright :-) |
18:13:16 | * | Matthias247 joined #nim |
18:15:06 | * | vendethiel quit (Ping timeout: 252 seconds) |
18:27:33 | * | pie_ quit (Ping timeout: 240 seconds) |
18:35:14 | * | vendethiel joined #nim |
18:36:06 | * | vendethiel- quit (Ping timeout: 240 seconds) |
19:00:58 | * | Arrrr quit (Quit: WeeChat 1.5) |
19:10:09 | * | nsf joined #nim |
19:14:36 | * | vendethiel quit (Ping timeout: 240 seconds) |
19:18:05 | * | hendi quit (Quit: Connection closed for inactivity) |
19:39:11 | dyce[m] | could someone help me out with concepts? https://glot.io/snippets/em5iow9yjz |
19:50:40 | * | vendethiel joined #nim |
19:52:11 | Araq | wait until I merged the new concept branch |
19:53:08 | Araq | but it looks like you're missing import strutils |
20:00:23 | dyce[m] | Araq: i added strutils and fixed isEmptyOrNil to isNilOrEmpty (even removed that line). in that snippet am i using concepts as intended? |
20:01:12 | Araq | not quite |
20:01:23 | Araq | concepts are generic constraints |
20:01:44 | Araq | you seem to want to enforce that name is not empty |
20:01:58 | Araq | that's a constraint for the value at runtime |
20:02:10 | dyce[m] | yeah that make sense |
20:07:06 | * | space-wizard quit (Remote host closed the connection) |
20:07:44 | * | space-wizard joined #nim |
20:10:42 | Araq | --reportConceptFailures:on helps to see the mistakes in concepts |
20:11:09 | * | vendethiel quit (Ping timeout: 258 seconds) |
20:17:50 | dyce[m] | Araq: would it be decent for checking Nil or just leave that for a pure functional languages (not sure if it makes sense to adopt ideas from Haskell for example since everything is immutable) |
20:17:54 | dyce[m] | https://gist.github.com/PhilipWitte/33819b40112a18c30b43 is this more fit? |
20:18:02 | * | vendethiel joined #nim |
20:18:45 | dyce[m] | which reminds me of a interface |
20:18:48 | dyce[m] | an* |
20:18:58 | Araq | yes, but it's different. very different. |
20:19:09 | Araq | but your example is perfectly fine. |
20:19:39 | * | Trustable joined #nim |
20:24:29 | * | bjz joined #nim |
20:25:15 | * | pie_ joined #nim |
20:26:11 | * | vlad1777d quit (Remote host closed the connection) |
20:40:55 | * | vendethiel quit (Ping timeout: 240 seconds) |
20:48:47 | * | Sentreen quit (Read error: Connection reset by peer) |
20:48:52 | krux02 | I have a weird bug, where depending on how I name my variables the executable overrides memory of other variables. |
20:49:44 | * | Sentreen joined #nim |
20:50:31 | * | vendethiel joined #nim |
20:50:38 | krux02 | that makes it incredibly hard to extract an example with just that bug |
20:51:25 | krux02 | because just a simple rename of a variable can make the bug disappear. |
20:58:50 | cheatfate | krux02, looks like you smashing stack |
20:59:08 | cheatfate | krux02, do you on windows? |
20:59:13 | krux02 | nope |
20:59:18 | krux02 | Manjaro Linux |
20:59:34 | cheatfate | hmm |
20:59:47 | cheatfate | stack smashing is happens with windows often |
21:00:02 | cheatfate | are you playing with `ptr`? |
21:00:10 | krux02 | I am trying to isolate the bug, but it is very hard |
21:00:20 | * | bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…) |
21:00:23 | krux02 | renaming the module file alone changes the outcome |
21:00:30 | krux02 | no ptr |
21:00:41 | krux02 | I use static a lot |
21:00:52 | Araq | "heap dump" feature has arrived |
21:01:13 | krux02 | I don't use help variables either |
21:01:18 | krux02 | currently everything is stack |
21:01:50 | krux02 | I implement an N dimensional Tensor library |
21:02:19 | krux02 | matrices are easy, they only have two dimensional ints |
21:02:23 | krux02 | N and M |
21:02:31 | krux02 | with tensors it is a bit more complicated |
21:02:45 | krux02 | they can be arbitrary dimensional |
21:02:55 | krux02 | meaning I have a seqence of ints |
21:03:22 | krux02 | I started with ``dims: static seq[int]`` |
21:03:32 | Araq | var names are not stored on the stack |
21:03:58 | krux02 | what do you mean by that? |
21:04:00 | Araq | you could write into the debug info of your exe |
21:04:37 | krux02 | Araq: I am sorry I cannot follow you |
21:04:54 | Araq | "renaming the module file alone changes the outcome" |
21:05:19 | Araq | that doesn't make sense or are you talking about compiler crashes? |
21:07:26 | krux02 | no I am not talking about compiler crashes, the compile process runs fine |
21:07:38 | krux02 | and the executable also runs, it just have a wrong result |
21:08:07 | krux02 | I implemented tensor operations, and the tensor operation wrote at the end of a previous tensor |
21:12:02 | Araq | ok |
21:12:16 | * | vendethiel quit (Ping timeout: 248 seconds) |
21:15:29 | krux02 | ok I did a test: ``diff tensormath.nim tensormatg.nim`` no output identical file |
21:16:07 | krux02 | tensor3: |
21:16:07 | krux02 | [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, -0.0, -1.0, -2.0] |
21:16:20 | krux02 | tensor3: |
21:16:20 | krux02 | [0.0, 1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, 10.0, 11.0, 12.0, 13.0, 14.0, 15.0, 16.0, 17.0, 18.0, 19.0, 20.0, 21.0, 22.0, 23.0, 24.0, 25.0, 26.0] |
21:16:57 | krux02 | -0 -1 -2 is where in tensor3 oviously got a write |
21:17:03 | krux02 | that is super weird |
21:17:23 | krux02 | all I changed was one character in the name of the module |
21:26:10 | Araq | the bug is most likely in both executables |
21:26:29 | Araq | but only triggers in one case, maybe because of stack address randomizations |
21:26:44 | Araq | I wouldn't spend time on the name differences |
21:26:55 | Araq | just debug it like any other corruption |
21:34:47 | krux02 | Araq: I try to isolate the bug, but somehow that is very hard with all this nondeterminism |
21:35:24 | * | cyraxjoe quit (Ping timeout: 256 seconds) |
21:35:48 | * | Amrykid quit (Changing host) |
21:35:48 | * | Amrykid joined #nim |
21:37:12 | * | cyraxjoe joined #nim |
21:43:15 | * | gokr quit (Remote host closed the connection) |
21:52:32 | * | sarlalian quit (Ping timeout: 240 seconds) |
22:05:32 | * | rupil quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
22:22:02 | * | rokups quit (Quit: Connection closed for inactivity) |
22:24:30 | * | Trustable quit (Remote host closed the connection) |
22:28:55 | * | pie_ quit (Ping timeout: 240 seconds) |
22:29:55 | * | Jesin quit (Ping timeout: 258 seconds) |
22:30:39 | * | sarlalian joined #nim |
22:37:36 | * | sarlalian quit (Ping timeout: 248 seconds) |
22:43:07 | krux02 | Araq: I made an issue about that bug and tried to reduce the file down as much as possible. |
22:43:16 | * | sarlalian joined #nim |
22:55:11 | * | sarlalian quit (Ping timeout: 240 seconds) |
23:04:13 | * | sarlalian joined #nim |
23:07:40 | * | def-pri-pub joined #nim |
23:07:53 | def-pri-pub | Araq: Do you have a link to your xored talk? |
23:20:53 | * | Jesin joined #nim |
23:41:07 | * | Vladar quit (Quit: Leaving) |
23:47:07 | * | jinshil joined #nim |
23:48:16 | * | kulelu88 quit (Quit: Leaving) |
23:49:07 | * | yglukhov quit (Remote host closed the connection) |
23:54:29 | * | madmalik quit (Quit: Connection closed for inactivity) |