00:00:02 | krux02 | I am so far at the moment that the getType2 returs AST that look almost identical to the type decalations in source |
00:03:22 | krux02 | generally very similar to the typeToString |
00:03:29 | krux02 | just as an ast |
00:04:25 | krux02 | I even think, that typeToString could one day be implemented as node.opMapTypeToAst2.repr |
00:06:35 | * | jaco60 quit (Ping timeout: 240 seconds) |
00:08:14 | Araq_ | perhaps. |
00:56:19 | * | brson joined #nim |
00:59:29 | * | zepolen joined #nim |
01:04:29 | * | zepolen quit (Ping timeout: 265 seconds) |
01:07:17 | * | desophos quit (Read error: Connection reset by peer) |
01:48:52 | * | boo joined #nim |
01:49:16 | * | boo is now known as Guest88610 |
01:50:44 | * | Guest88610 quit (Client Quit) |
02:51:14 | * | bigfondue quit (Ping timeout: 276 seconds) |
02:51:48 | * | bigfondue joined #nim |
02:52:52 | * | Trustable quit (Remote host closed the connection) |
03:17:57 | * | pregressive joined #nim |
03:23:44 | * | brson quit (Ping timeout: 276 seconds) |
03:30:03 | * | desophos joined #nim |
04:32:27 | * | zepolen joined #nim |
04:49:20 | * | def- quit (Quit: -) |
04:50:23 | * | def- joined #nim |
05:16:06 | * | Demon_Fox joined #nim |
05:18:43 | * | Demos quit (Quit: Leaving) |
05:23:27 | * | krux02 quit (Remote host closed the connection) |
05:24:31 | * | darkf joined #nim |
05:30:39 | * | pregressive quit () |
05:32:30 | * | vendethiel joined #nim |
05:55:26 | * | vendethiel quit (Ping timeout: 240 seconds) |
06:07:49 | * | darkf_ joined #nim |
06:08:05 | * | darkf quit (Disconnected by services) |
06:08:06 | * | darkf_ is now known as darkf |
06:45:18 | * | yglukhov joined #nim |
06:49:59 | * | yglukhov quit (Ping timeout: 260 seconds) |
07:46:00 | * | zepolen quit () |
07:46:22 | * | zepolen joined #nim |
07:46:58 | * | zepolen quit (Client Quit) |
07:47:15 | * | zepolen joined #nim |
07:47:30 | * | Trustable joined #nim |
07:50:05 | * | awsteele quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
08:04:18 | * | zepolen quit (Remote host closed the connection) |
08:10:50 | * | zepolen joined #nim |
08:20:07 | * | desophos quit (Read error: Connection reset by peer) |
08:32:06 | * | yglukhov joined #nim |
08:51:02 | * | Demon_Fox quit (Ping timeout: 246 seconds) |
08:56:19 | * | Demon_Fox joined #nim |
08:59:39 | * | ephja joined #nim |
09:18:52 | * | Demon_Fox quit (Quit: Leaving) |
09:27:14 | * | coffeepot joined #nim |
09:28:08 | yglukhov | does nim have ciclic bit shift ops? |
09:32:22 | Araq_ | no |
09:49:23 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
09:49:44 | * | coffeepot joined #nim |
10:08:31 | * | lyro` joined #nim |
10:11:09 | * | MyMind joined #nim |
10:11:17 | * | lyro` quit (Client Quit) |
10:13:57 | * | xet7 quit (Quit: Leaving) |
10:14:02 | * | Sembei quit (Ping timeout: 265 seconds) |
10:23:30 | * | zepolen quit (Read error: Connection reset by peer) |
10:24:21 | * | zepolen joined #nim |
10:26:44 | * | xet7 joined #nim |
10:39:04 | * | lyro` joined #nim |
10:48:26 | * | lyro left #nim ("ERC (IRC client for Emacs 24.5.1)") |
10:52:12 | * | lyro joined #nim |
10:53:44 | * | lyro left #nim ("ERC (IRC client for Emacs 24.5.1)") |
10:54:13 | * | lyro joined #nim |
10:56:45 | * | awsteele joined #nim |
11:00:58 | * | zepolen quit (Remote host closed the connection) |
11:02:28 | * | irrequietus joined #nim |
11:04:10 | * | lyro left #nim ("ERC (IRC client for Emacs 24.5.1)") |
11:04:52 | * | lyro joined #nim |
11:08:12 | * | lyro` quit (Quit: ERC (IRC client for Emacs 24.5.1)) |
11:26:39 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
11:27:15 | * | zepolen joined #nim |
11:29:23 | * | coffeepot joined #nim |
11:33:57 | * | saml_ joined #nim |
11:46:01 | ldlework | hmm all the csfml examples crash for me |
11:46:06 | ldlework | BlaXpirit: ^ |
11:46:15 | BlaXpirit | hi |
11:46:21 | BlaXpirit | what can i do for you today |
11:46:51 | ldlework | I installed libsfml-dev and libcsfml-dev from apt-get, csfml from nimble, then tried to compile and run snakes.nim and it crashes |
11:47:01 | ldlework | a number of the examples from csfml's repo does |
11:47:18 | BlaXpirit | ldlework, probably some ancient distro, huh |
11:47:25 | ldlework | might be |
11:48:04 | BlaXpirit | k |
11:48:19 | BlaXpirit | the information is all there, read it |
11:52:29 | * | ^aurora^ joined #nim |
11:56:20 | ldlework | BlaXpirit: I untarred SFML and CSFML linked in your README to /usr and they still seem to crash. |
11:56:44 | BlaXpirit | just untarred source? wut |
11:56:58 | ldlework | BlaXpirit: no the compiled releases |
11:57:49 | ldlework | Is that the wrong thing to do? |
11:57:59 | BlaXpirit | probably |
11:58:15 | BlaXpirit | I have no idea what you're doing |
11:59:00 | BlaXpirit | ldlework, https://github.com/BlaXpirit/nim-csfml/wiki/Installing-CSFML + other pages on wiki |
11:59:48 | ldlework | I don't know how I'm being confusing. You alluded that everything is in your README. It says to use 2.3 of CSFML and SFML. So I clicked the links in the README, which brought me to the release pages including compiled releases for linux. Those tars were extracted to /usr |
12:00:09 | ldlework | But if you want me to compile them instead just say so :( |
12:00:11 | BlaXpirit | I don't think that's how installing stuff works on linux |
12:00:29 | BlaXpirit | ldlework, try to run a C program first, as described on wiki |
12:02:04 | ldlework | BlaXpirit: why would they provide tarfiles with lib/, include/, and share/. I can't think of any other way you're supposed to install that. |
12:02:24 | BlaXpirit | i have no idea why they provide that. hopefully nobody uses those |
12:02:52 | * | xet7 quit (Quit: Leaving) |
12:04:07 | * | zepolen quit (Remote host closed the connection) |
12:07:55 | * | xet7 joined #nim |
12:09:09 | ldlework | BlaXpirit: I followed the instructions on your blog for compiling SFML and CSFML, and installed them both globally. snakes doesn't crash but its just a blank window that never paints then prints out a complaint about getting the wrong opengl context or something |
12:09:12 | ldlework | but flippy bird works |
12:09:14 | ldlework | thanks |
12:09:53 | BlaXpirit | ldlework, now it must be an old graphiscs card |
12:10:03 | BlaXpirit | try context_settings(24, |
12:10:27 | BlaXpirit | i shouldve changed the examples to 24.. |
12:10:29 | Araq_ | guys, please test the new-ll branch of the compiler, I want to merge it into devel |
12:10:37 | ldlework | BlaXpirit: that gets rid of the complaining message, but still no paints |
12:10:43 | Araq_ | fixes a ton of bugs |
12:11:23 | ldlework | BlaXpirit: removing the context thing makes it work |
12:11:31 | BlaXpirit | but then no antialiasing |
12:11:39 | BlaXpirit | is your graphics card really that bad |
12:12:18 | ldlework | BlaXpirit: Dell XPS 15 so maybe no card at all |
12:12:26 | ldlework | or wrong drivers or something |
12:12:39 | * | awsteele quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
12:12:47 | BlaXpirit | it sucks that such a basic feature is not reliable :/ |
12:13:31 | ldlework | well linux laptops suck in general for multimedia |
12:13:35 | ldlework | so I don't think you're asking too much |
12:13:47 | ldlework | anyone else is likely to run it with out issue |
12:13:50 | ldlework | thanks though |
12:14:53 | def- | Araq_: This stops working with new-ll: https://github.com/def-/nim-unsorted/blob/master/closures.nim |
12:15:27 | Araq_ | def-: yeah I need to document this, I changed the semantics |
12:15:48 | Araq_ | you need a dummy proc () now, look at |
12:16:39 | BlaXpirit | i wish there was an easy way to run travis on that branch |
12:16:56 | BlaXpirit | my projects often break :| |
12:17:10 | Araq_ | https://github.com/nim-lang/Nim/blob/new-ll/tests/closure/tclosure3.nim |
12:17:31 | def- | Araq_: this one as well, might be a related semantics change? https://github.com/def-/nim-unsorted/blob/master/harshad.nim |
12:17:36 | Araq_ | BlaXpirit: I noticed but I blamed destructors for all of it |
12:17:48 | BlaXpirit | nah that's just in 1 lib |
12:21:51 | Araq_ | def-: hmmm |
12:21:58 | BlaXpirit | well if anyone wants to try my projects, they're here https://github.com/blaxpirit/docopt.nim/blob/devel/.travis.yml https://github.com/blaxpirit/nim-random/blob/master/.travis.yml |
12:22:25 | BlaXpirit | otherwise i can only rerun in travis when it's merged to devel :| |
12:22:40 | Araq_ | def-: what's the expected result? |
12:23:02 | def- | Araq_: https://github.com/def-/nim-unsorted/blob/master/harshad.out |
12:24:36 | def- | Araq_: Two more that fail in nim-unsorted: iban (Error: current routine cannot return an expression), matrixarithmeticseq (GCC error) |
12:25:56 | def- | Araq_: and pascalstriangle (Error: '.closure' calling convention for top level routines is invalid) |
12:26:32 | Araq_ | well the last one triggered a deprecation warning in 0.12 :P |
12:27:28 | def- | but I'm not even using .closure there |
12:29:38 | Araq_ | the slice example corrupts memory, yay |
12:39:06 | * | irrequietus quit () |
12:42:43 | Araq_ | ah fuck, seems to be a fundamentally wrong to switch the order between these two compiler passes -.- |
12:43:29 | Araq_ | hmmm |
12:50:03 | Araq_ | BlaXpirit: any idea what causes the other regressions? concepts? |
12:57:30 | * | nastavnic joined #nim |
13:14:33 | yglukhov | oh is new-ll ready for testing already? |
13:18:12 | Araq_ | yglukhov: yes and it's supposed to become 0.13.0 |
13:18:33 | yglukhov | cool, i'll give it a spin |
13:22:13 | yglukhov | compiler crash! =) |
13:22:47 | yglukhov | how do i koch boot with debug info, stacktraces etc? |
13:24:57 | Araq_ | 'koch boot' ? |
13:25:15 | Araq_ | only -d:release generates a release compiler |
13:26:03 | yglukhov | oh ok |
13:26:08 | yglukhov | here's the trace: https://gist.github.com/yglukhov/7873327f846c5ca0d6ae |
13:26:40 | * | def- quit (Ping timeout: 260 seconds) |
13:26:48 | yglukhov | does it tell anything to you? |
13:31:14 | Araq_ | tparsecomb in the test suite produces the same stack trace |
13:31:23 | Araq_ | I'm looking into it |
13:31:30 | yglukhov | ok cool |
13:37:20 | Araq_ | ah found it. |
13:37:26 | Araq_ | it's a very recent regression |
13:41:07 | * | def- joined #nim |
13:50:56 | * | def- quit (Ping timeout: 272 seconds) |
13:51:58 | * | saml_ quit (Quit: Leaving) |
14:11:38 | * | def- joined #nim |
14:19:23 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
14:22:44 | * | wicast joined #nim |
14:34:14 | * | wicast quit (Quit: Page closed) |
14:39:45 | * | avsej quit (Quit: Quit) |
14:41:15 | * | avsej joined #nim |
14:41:15 | * | avsej quit (Changing host) |
14:41:15 | * | avsej joined #nim |
15:03:11 | * | vqrs quit (Ping timeout: 264 seconds) |
15:06:10 | * | vqrs joined #nim |
15:33:15 | * | nastavnic quit (Ping timeout: 260 seconds) |
15:37:39 | * | vqrs quit (Ping timeout: 245 seconds) |
15:42:50 | * | vqrs joined #nim |
15:51:13 | * | ^aurora^ joined #nim |
16:05:46 | * | vqrs quit (Ping timeout: 240 seconds) |
16:06:45 | * | vqrs joined #nim |
16:13:06 | * | def- quit (Ping timeout: 240 seconds) |
16:15:48 | * | def- joined #nim |
17:15:09 | * | coffeepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client) |
17:16:06 | * | def- quit (Ping timeout: 240 seconds) |
17:19:14 | * | def- joined #nim |
17:26:41 | * | brson joined #nim |
17:29:23 | * | yglukhov quit (Ping timeout: 276 seconds) |
18:15:15 | * | yglukhov joined #nim |
18:20:05 | * | yglukhov quit (Ping timeout: 260 seconds) |
18:21:30 | * | shodan45 joined #nim |
18:41:50 | * | zepolen joined #nim |
18:44:37 | * | nastavnic joined #nim |
18:49:38 | * | yglukhov joined #nim |
18:58:35 | * | zepolen quit (Remote host closed the connection) |
18:59:12 | * | zepolen joined #nim |
19:02:16 | * | desophos joined #nim |
19:07:38 | * | shodan45 quit (Remote host closed the connection) |
19:07:49 | * | shodan45 joined #nim |
19:08:06 | * | CcxCZ quit (Ping timeout: 240 seconds) |
19:13:49 | * | irrequietus joined #nim |
19:18:07 | * | CcxCZ joined #nim |
19:22:10 | * | nastavnic quit (Ping timeout: 272 seconds) |
19:28:55 | * | darkf quit (Quit: Leaving) |
19:31:26 | * | ola2caref joined #nim |
19:33:53 | ola2caref | Hi all |
19:38:46 | * | nastavnic joined #nim |
19:40:54 | * | ola2caref left #nim (#nim) |
19:51:38 | * | zepolen quit (Remote host closed the connection) |
19:56:52 | * | zepolen joined #nim |
20:05:23 | * | xet7 quit (Ping timeout: 276 seconds) |
20:20:09 | * | xet7 joined #nim |
20:24:19 | * | nastavni1 joined #nim |
20:25:30 | * | nastavnic quit (Ping timeout: 260 seconds) |
20:42:03 | * | vendethiel joined #nim |
20:52:02 | * | nastavni1 quit (Ping timeout: 255 seconds) |
20:52:21 | * | nastavni1 joined #nim |
21:09:05 | * | irrequietus quit () |
21:17:40 | ldlework | The perlin module doesn't compile anymore, simplex.nim(47, 16) Error: no tuple type for constructor |
21:19:00 | ldlework | ah its a community lib, dang |
21:19:32 | ldlework | How do I install nimble packages from source? |
21:20:16 | Araq_ | is there a way to not install from source? |
21:21:02 | dom96 | nope |
21:21:15 | ldlework | Nimble? |
21:21:16 | dom96 | You can only install packages from source. |
21:21:21 | ldlework | What I mean is |
21:21:32 | ldlework | How do I take a git repo and install the package threin so I can use it as a library |
21:21:38 | ldlework | VS, installing that same package from nimble |
21:21:54 | ldlework | I'm assuming this author fixed the bug in git but hasn't released to nimble or something |
21:22:00 | ldlework | (s/assuming/hoping) |
21:22:14 | dom96 | A nimble package is stored in a git repo |
21:22:17 | dom96 | there is no central repo |
21:22:25 | dom96 | the package list is just a list of git urls |
21:22:30 | ldlework | Okay great |
21:22:33 | dom96 | just execute: nimble install pkg@#head |
21:22:48 | ldlework | using a git link? a github link? |
21:23:00 | dom96 | that works too |
21:23:07 | ldlework | what? |
21:23:42 | dom96 | `pkg` can either be a package name (as long as its in https://github.com/nim-lang/packages/blob/master/packages.json) or a Git/Hg url. |
21:23:55 | ldlework | Got it, thanks |
21:24:06 | ldlework | So nimble is probably already installing this git revision |
21:24:14 | ldlework | bleh guess I'll send the author an email - thanks |
21:24:20 | dom96 | well |
21:24:27 | dom96 | it might not be installing the latest commit |
21:24:52 | dom96 | `nimble install pkg` will install the latest *tagged* version (if a tag exists) |
21:25:02 | dom96 | `nimble install pkg@#head` will install the HEAD |
21:25:13 | ldlework | hmm |
21:25:25 | * | ldlework tries |
21:26:42 | * | BitPuffin|osx joined #nim |
21:31:37 | * | nastavnic joined #nim |
21:31:50 | * | nastavnic quit (Client Quit) |
21:33:24 | * | nastavni1 quit (Ping timeout: 250 seconds) |
21:33:37 | ldlework | dom96: that worked I think |
21:33:54 | dom96 | cool |
21:34:09 | ldlework | But now I'm confused about something else. I have an example in Bla's csfml examples directory. It compiles fine and runs. When I copy this file to a new directory and try to compile it, I get errors. |
21:34:18 | ldlework | I dunno how to reason about that. |
21:35:32 | ldlework | the first file is the example from Bla, and the second is the same text content in a new folder: https://gist.github.com/dustinlacewell/007987e39156025c01da |
21:35:43 | ldlework | I'm just doing "nim c -r filename.nim" on both |
21:35:56 | ldlework | they have the same text content |
21:37:02 | ldlework | dom96: does that make any sense? |
21:38:54 | dom96 | the csfml package you have installed is slightly different than the one in /home/dlacewell/nim/nim-csfml/ perhaps? |
21:39:25 | ldlework | installed? installed where? |
21:39:31 | ldlework | I don't understand what you mean |
21:39:43 | ldlework | I thought packages are installed to ~/.nimble |
21:40:07 | ldlework | Why would either program be using something from /home/dlacewell/nim/nim-csfml ? That's just where the examples are. |
21:44:04 | * | krux02 joined #nim |
22:02:47 | * | vendethiel- joined #nim |
22:03:58 | * | Guest4360_ joined #nim |
22:04:34 | * | AckZ quit (Ping timeout: 240 seconds) |
22:04:34 | * | vendethiel quit (Ping timeout: 240 seconds) |
22:04:35 | * | Guest4360 quit (Ping timeout: 240 seconds) |
22:04:42 | * | Guest4360_ is now known as Guest4360 |
22:04:56 | * | dv- quit (Ping timeout: 240 seconds) |
22:06:14 | * | dv- joined #nim |
22:07:31 | * | zepolen quit (Remote host closed the connection) |
22:08:44 | * | zepolen joined #nim |
22:09:51 | * | AckZ joined #nim |
22:16:41 | * | ephja quit (Ping timeout: 276 seconds) |
22:18:14 | * | ^aurora^ quit (Quit: My Mac has gone to sleep. ZZZzzz…) |
22:21:46 | * | Demon_Fox joined #nim |
22:22:11 | ldlework | dom96: how can I have different versions of csfml installed? |
22:24:07 | ldlework | I'm completely lost |
22:24:48 | dom96 | because of this https://github.com/BlaXpirit/nim-csfml/blob/master/examples/nim.cfg#L1 |
22:24:55 | ldlework | oh I see |
22:25:11 | dom96 | You can have different versions installed |
22:25:16 | dom96 | they get installed as pkgname-version |
22:25:20 | dom96 | in ~/.nimble/pkgs/ |
22:25:48 | * | zepolen quit (Remote host closed the connection) |
22:26:41 | ldlework | dom96: I did "nimble install csfml@#head" and said 'yes' to overwrite. Then I renamed nim.cfg to .nim.cfg. Now compiling the example fails the same way as the other file. Shouldn't nimble have installed the same version as the one I have checked out in git, to which the examples were previously compiling against (because nim.cfg) ? |
22:28:52 | dom96 | ldlework: I'm not sure, which version did you check out? |
22:29:04 | ldlework | dom96: head |
22:29:06 | ldlework | I just cloned |
22:29:08 | ldlework | so master |
22:29:16 | dom96 | Nimble should install the same thing |
22:29:21 | ldlework | that's my point |
22:30:38 | ldlework | hmm |
22:30:47 | ldlework | deleting it from pkgs/ and reinstalling seems to have done the trick |
22:32:48 | dom96 | you sure you didn't have any other versions installed in there? |
22:33:37 | ldlework | no matter, thanks for paying attention to me while I flailed about |
22:36:23 | ldlework | welp, time to actually refresh how to write Nim |
22:52:28 | dom96 | no problem, highlight me if you have any more questions. |
22:52:57 | dom96 | It's worth investigating if you've got more time, it's possible that Nimble failed to uninstall the package properly before reinstalling. |
22:58:41 | BlaXpirit | Araq_, this broke https://github.com/BlaXpirit/nim-random/blob/master/src/random/private/testutil.nim#L38-L61 |
22:58:43 | BlaXpirit | Error: ambiguous call; both testutil.chiSquare(rand: proc (): T{.closure.}, bucketCount: int, experiments: int) and testutil.chiSquare(rand: proc (): int{.closure.}, bucketCount: int, experiments: int) match for: (proc (): int{.gcsafe, locks: 0.}, int literal(100), int literal(1000000)) |
23:01:12 | Araq_ | oh my |
23:02:04 | BlaXpirit | (new-ll) |
23:05:02 | Araq_ | and it works with devel? |
23:06:00 | BlaXpirit | yes, Araq_ |
23:06:28 | BlaXpirit | https://travis-ci.org/BlaXpirit/nim-random |
23:07:16 | BlaXpirit | when i worked around this problem by naming 1 method differently, nothing else was broken. other 2 of my major projects didnt break (well this one didnt really break either, just the testing part) |
23:14:19 | * | zepolen joined #nim |
23:14:40 | * | jaco60 joined #nim |
23:14:45 | dom96 | Araq_: Tested jester with the wrk http benchmarker and it seems to be holding up fine. |
23:15:14 | dom96 | (With new-ll) |
23:15:44 | * | zepolen quit (Remote host closed the connection) |
23:16:42 | * | zepolen joined #nim |
23:22:26 | Araq_ | cool. :-) |
23:22:27 | * | yglukhov quit (Remote host closed the connection) |
23:25:02 | * | vendethiel- quit (Ping timeout: 255 seconds) |
23:31:11 | ldlework | Well, I just tried to sell Nim and an entire channel chose to focus on how with Nim 'everything is implicit' because the last statement is a return value. |
23:31:35 | ldlework | a total 'hurr durr' situation |
23:35:01 | * | Trustable quit (Remote host closed the connection) |
23:39:11 | dom96 | hah |
23:39:15 | dom96 | which channel is this? |
23:39:19 | * | shodan45 quit (Quit: Konversation terminated!) |