00:03:18 | imjoe` | I like $global and CONSTANT. i'm coming from ruby. |
00:04:28 | Araq | yeah yeah yeah ... |
00:05:38 | imjoe` | LOL |
00:05:52 | * | charlie__ joined #nimrod |
00:06:01 | Araq | hi charlie__ welcome |
00:06:13 | charlie__ | I am demos |
00:06:21 | charlie__ | network issues |
00:07:33 | Araq | oh ok |
00:09:00 | * | Demos_ quit (Ping timeout: 252 seconds) |
00:18:51 | * | charlie__ quit (Ping timeout: 246 seconds) |
00:24:27 | * | Francisco quit (Ping timeout: 245 seconds) |
00:26:13 | * | Francisco joined #nimrod |
00:28:45 | * | bogen joined #nimrod |
00:48:22 | * | mko quit (Ping timeout: 240 seconds) |
00:48:26 | imjoe` | dom96: what is the best branches of nim and jester to use for handling routes async? |
00:55:05 | * | Francisco quit (Ping timeout: 276 seconds) |
00:57:51 | * | Francisco joined #nimrod |
00:59:08 | * | Francisco quit (Client Quit) |
01:04:29 | * | q66 quit (Quit: Leaving) |
01:17:25 | * | xenagi joined #nimrod |
01:24:54 | * | francisl joined #nimrod |
01:32:05 | * | xenagi|2 joined #nimrod |
01:35:41 | * | xenagi quit (Ping timeout: 272 seconds) |
01:53:57 | * | willwillson quit (Ping timeout: 264 seconds) |
02:09:03 | * | zahary__ joined #nimrod |
02:11:57 | * | zahary_ quit (Ping timeout: 264 seconds) |
02:13:29 | * | saml_ joined #nimrod |
02:18:24 | * | zahary__ is now known as zahary_ |
03:38:22 | * | flaviu quit (Ping timeout: 240 seconds) |
03:40:53 | * | sergeygogolev joined #nimrod |
03:41:04 | * | sergeygogolev left #nimrod (#nimrod) |
03:44:01 | * | brson quit (Quit: leaving) |
03:44:34 | * | brson joined #nimrod |
04:18:02 | * | brson quit (Quit: leaving) |
04:37:12 | * | Boscop_ quit (Ping timeout: 268 seconds) |
04:38:58 | * | francisl quit (Quit: francisl) |
04:48:11 | * | fowl joined #nimrod |
04:55:20 | * | fowlmouth joined #nimrod |
04:56:56 | * | fowl quit (Ping timeout: 252 seconds) |
05:02:47 | * | xenagi|2 quit (Quit: Leaving) |
05:06:00 | * | francisl joined #nimrod |
05:07:11 | * | Fr4n joined #nimrod |
05:10:19 | * | Boscop joined #nimrod |
05:10:29 | * | francisl quit (Client Quit) |
05:13:43 | * | saml_ quit (Quit: Leaving) |
05:29:02 | * | boydgreenfield joined #nimrod |
05:29:12 | boydgreenfield | Whoa… when did the name change? |
05:42:06 | * | Francisco joined #nimrod |
05:44:02 | * | Fr4n quit (Ping timeout: 245 seconds) |
06:11:21 | * | Francisco quit (Ping timeout: 260 seconds) |
06:11:51 | * | boydgreenfield quit (Quit: boydgreenfield) |
06:18:49 | * | fowlmouth quit (Ping timeout: 260 seconds) |
06:38:46 | * | boydgreenfield joined #nimrod |
06:56:40 | * | nande quit (Remote host closed the connection) |
07:00:34 | * | BlaXpirit joined #nimrod |
07:00:44 | * | boydgreenfield quit (Quit: boydgreenfield) |
07:23:19 | * | kunev joined #nimrod |
07:24:09 | Araq | imjoe`: bigbreak (unfortunately) |
07:29:13 | * | mal`` quit (Quit: ERC Version 5.3 (IRC client for Emacs)) |
07:34:29 | * | mal`` joined #nimrod |
09:13:30 | * | untitaker quit (Ping timeout: 255 seconds) |
09:18:36 | * | untitaker joined #nimrod |
09:26:40 | dom96 | imjoe`: bigbreak (nim) + newasync (jester) |
09:40:20 | imjoe` | thanks. i tried: (bigbreak) $ bin/nimrod c koch |
09:40:27 | imjoe` | lib/system.nim(478, 12) Error: invalid pragma: deprecated: [TObject: RootObj, etc.... |
09:40:56 | imjoe` | i'm gonna crash out. maybe it will work tomorrow. gnite all. |
09:48:28 | dom96 | You need to use the 'nim' binary |
09:48:38 | dom96 | bin/nim |
09:49:38 | imjoe` | there is no bin/nim |
09:50:19 | dom96 | you need to rebuild the C sources |
09:50:34 | dom96 | and you need to use the C sources on the bigbreak branch |
09:51:23 | dom96 | actually, the C sources create a 'nimrod' binary |
09:51:53 | dom96 | but you still need to switch to the bigbreak branch and build them |
09:52:18 | dom96 | Varriount_: Where is this script I asked you to make? |
09:52:22 | dom96 | bbl |
09:53:00 | imjoe` | ok. i did build them (build.sh was not executable btw if that matters so i did sh build.sh) |
10:12:37 | EXetoC | no it's just a shortcut; for sh scripts anyway |
10:34:47 | * | [CBR]Unspoken quit (Quit: Leaving.) |
10:40:19 | * | bjz joined #nimrod |
10:51:47 | * | io2 joined #nimrod |
11:08:42 | * | Matthias247 joined #nimrod |
11:20:15 | * | Matthias247 quit (Read error: Connection reset by peer) |
11:36:07 | * | untitaker quit (Ping timeout: 245 seconds) |
11:41:46 | * | untitaker joined #nimrod |
11:46:12 | * | kuzy000_ joined #nimrod |
11:48:16 | * | bjz quit (Read error: Connection reset by peer) |
11:48:28 | * | bjz joined #nimrod |
12:03:35 | * | imran joined #nimrod |
12:03:58 | * | imran is now known as Guest97523 |
12:05:39 | * | willwillson joined #nimrod |
12:11:42 | * | Fr4n joined #nimrod |
12:23:26 | * | Fr4n quit (Ping timeout: 252 seconds) |
12:23:45 | * | Fr4n joined #nimrod |
12:24:47 | * | noam quit (Ping timeout: 245 seconds) |
12:55:08 | * | adrusi quit (Quit: adrusi) |
12:55:38 | * | darkf quit (Quit: Leaving) |
12:56:55 | * | Francisco joined #nimrod |
12:56:57 | * | Fr4n quit (Ping timeout: 264 seconds) |
13:06:11 | * | menscrem joined #nimrod |
13:09:29 | * | menscrem quit (Client Quit) |
13:19:02 | * | Francisco quit (Ping timeout: 245 seconds) |
13:21:00 | * | Fr4n joined #nimrod |
13:23:19 | * | [CBR]Unspoken joined #nimrod |
13:37:32 | * | Fr4n quit (Ping timeout: 276 seconds) |
13:38:12 | * | Fr4n joined #nimrod |
13:44:04 | * | adrusi joined #nimrod |
13:45:41 | * | adrusi quit (Client Quit) |
13:47:44 | * | adrusi joined #nimrod |
13:55:46 | * | bogen quit (Quit: Leaving.) |
14:03:33 | * | adrusi quit (Quit: adrusi) |
14:07:47 | * | BlameStross joined #nimrod |
14:07:48 | * | BlameStross left #nimrod (#nimrod) |
14:10:34 | * | saml joined #nimrod |
14:18:07 | * | Fr4n quit (Ping timeout: 245 seconds) |
14:18:36 | * | Fr4n joined #nimrod |
14:49:02 | * | adrusi joined #nimrod |
14:49:17 | * | Francisco joined #nimrod |
14:50:04 | * | adrusi quit (Client Quit) |
14:50:32 | * | Fr4n quit (Ping timeout: 255 seconds) |
15:02:12 | * | chrimori joined #nimrod |
15:04:04 | * | chrimori quit (Client Quit) |
15:04:30 | * | gelumelu joined #nimrod |
15:10:34 | dom96 | hello gelumelu |
15:37:47 | * | Francisco quit (Ping timeout: 245 seconds) |
15:38:29 | * | Francisco joined #nimrod |
15:45:10 | * | kunev quit (Quit: leaving) |
15:46:34 | * | [CBR]Unspoken quit (Ping timeout: 252 seconds) |
15:47:20 | * | [CBR]Unspoken joined #nimrod |
15:52:48 | * | adrusi joined #nimrod |
15:55:56 | * | nande joined #nimrod |
16:02:21 | * | Francisco quit (Ping timeout: 264 seconds) |
16:15:06 | * | Francisco joined #nimrod |
16:16:09 | * | willwillson quit (Ping timeout: 260 seconds) |
16:18:15 | * | brson joined #nimrod |
16:41:25 | * | q66 joined #nimrod |
16:43:02 | * | q66[lap] quit (Quit: Textual IRC Client: www.textualapp.com) |
16:43:39 | * | q66[lap] joined #nimrod |
16:46:29 | * | ehaliewicz joined #nimrod |
16:50:52 | * | ptz` joined #nimrod |
16:51:13 | * | enderoute joined #nimrod |
16:51:33 | * | ptz` left #nimrod ("rcirc on GNU Emacs 24.3.1") |
16:52:02 | enderoute | how do you get the current source code line number (ex __LINE__)? |
16:53:30 | * | ehaliewicz quit (Remote host closed the connection) |
16:55:05 | * | ehaliewicz joined #nimrod |
16:56:09 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
16:56:21 | * | Francisco quit (Ping timeout: 246 seconds) |
16:56:28 | dom96 | enderoute: That's not currently possible. |
16:56:43 | dom96 | enderoute: best you can do is parse it out of getStackTrace |
16:57:13 | enderoute | dom96: cool, thanks |
17:01:17 | * | Francisco joined #nimrod |
17:08:45 | * | Fran__ joined #nimrod |
17:11:41 | * | Francisco quit (Ping timeout: 260 seconds) |
17:15:20 | * | BlameStross1 joined #nimrod |
17:15:47 | * | milosn_ joined #nimrod |
17:18:38 | * | milosn quit (Write error: Broken pipe) |
17:26:58 | enderoute | Can all things accomplished with macros be accomplished with templates? The macros tutorial has a call to macros.toStrLit, could this be called in a template? The macros example also is calling macros.toStrLit with an expr, but the proc says it takes a PNimrodNode. I’m a bit confused. |
17:28:30 | dom96 | I think expr/stmt are interchangeable with PNimrodNode. |
17:28:36 | dom96 | templates are more limited |
17:28:40 | dom96 | but they are also easier to use |
17:29:13 | * | gelumelu quit (Quit: Page closed) |
17:29:23 | * | gelumelu joined #nimrod |
17:30:09 | enderoute | dom96: so i’m trying to call macros.toStrLit in a template, is that possible? It seems like its already evaluated my statement because it says i’m sending in type bool not type PNimrodNode |
17:31:47 | dom96 | why do you want to use toStrLit in a template? |
17:33:20 | * | Jehan_ joined #nimrod |
17:33:34 | enderoute | i’m implementing an assertion, i want it to print out the clause if it isn’t true |
17:34:06 | Jehan_ | templates and macros are fundamentally different. |
17:35:05 | Jehan_ | templates are the rough equivalent of C #defines, minus their nasty issues. |
17:35:31 | Jehan_ | macros contain code that will be executed at compile time and generate the code that will be inserted in their place. |
17:36:19 | Jehan_ | Calling toStrLit in a template is pointless, because the code will NOT be executed at compile time. |
17:36:43 | Jehan_ | templates simply substitute their content in place of the existing code. |
17:37:08 | enderoute | (defmacro foo (&body body) `(when (not ,body) (print ,(toString body))) i think that would be similar in common lisp |
17:37:30 | enderoute | hmm weird, since templates are getting expanded at compiletime, seems like they could do some calculations too at compile time |
17:38:37 | enderoute | ok, so I need to look into macros. I was just thinking templates was a nice way to avoid manipulating the AST, but functionally equivalent |
17:39:01 | dom96 | enderoute: We already have 'assert' and here is how it's implemented: https://github.com/Araq/Nimrod/blob/devel/lib/system.nim#L2910 |
17:39:22 | EXetoC | he doesn't want just that though |
17:39:27 | EXetoC | but see the unittest module |
17:39:28 | Jehan_ | templates are basically common lisp macros restricted to the backquote version if that helps. |
17:39:39 | EXetoC | which might be buggy still, but the code should be relevant |
17:40:02 | dom96 | EXetoC: I think that is precisely what he wants? |
17:40:22 | Jehan_ | If you want to execute code at compile time, you'll need a macro definition. |
17:41:00 | dom96 | Jehan_: not quite true. You can execute code at compile time in other contexts. |
17:41:08 | dom96 | for example inside 'static' |
17:41:55 | Jehan_ | dom96: I meant for purposes of creating a macro. |
17:41:59 | * | nande quit (Read error: Connection reset by peer) |
17:43:08 | * | def- quit (Quit: -) |
17:43:30 | enderoute | dom96: thanks, i’m implementing my own unittest library to learn nimrod and play with the macros. its my first time writing nimrod so thanks for your guys help |
17:44:43 | dom96 | enderoute: Awesome. Feel free to ask as many questions as you wish :) |
17:57:36 | EXetoC | now I'm using macros again and I'm struggling with simply returning a string literal |
17:58:25 | * | jhc76 joined #nimrod |
18:02:57 | Araq | EXetoC: often a template + astToStr suffices |
18:05:49 | * | Fran__ quit (Ping timeout: 260 seconds) |
18:08:02 | * | adrusi quit (Quit: adrusi) |
18:08:09 | enderoute | huzzah, here is what i wanted: |
18:08:14 | enderoute | macro ntassert*(clause: expr) : stmt = |
18:08:14 | enderoute | result = newNimNode(nnkStmtList) |
18:08:16 | enderoute | var raiser = newNimNode(nnkRaiseStmt) |
18:08:17 | enderoute | raiser.add(newCall("newTestFail", toStrLit(clause))) |
18:08:18 | enderoute | var notClause = newCall("not", clause) |
18:08:19 | enderoute | result.add(newIfStmt((notClause, raiser))) |
18:08:21 | enderoute | oops sorry |
18:08:41 | * | Fran__ joined #nimrod |
18:11:14 | * | Demos joined #nimrod |
18:11:28 | * | Demos_ joined #nimrod |
18:11:43 | EXetoC | Araq: I forgot to return expr |
18:12:20 | enderoute | it would be nice to be able to make this happen without trying to guess how nnkRaiseStmt works, if there was the ability weave templates with compiletime execution |
18:12:46 | * | adrusi joined #nimrod |
18:12:47 | Araq | enderoute: some say that is what getAst was made for ... |
18:12:53 | EXetoC | enderoute: speaking of templates, you can get the AST node from a template/macro by calling getAst |
18:12:58 | EXetoC | :p |
18:13:08 | enderoute | cool i’ll check it out |
18:14:12 | EXetoC | once again the unittest modules has some examples, but it's not too difficult to figure out |
18:19:47 | * | boydgreenfield joined #nimrod |
18:20:50 | Jehan_ | enderoute: You may also want to look at the quote operator. |
18:21:14 | Araq | no, don't use quote |
18:21:19 | Araq | it's still very broken |
18:23:14 | Jehan_ | Oh, it is? |
18:23:43 | Jehan_ | Granted, I've used it only a couple of times, but it did work for me. |
18:23:51 | Jehan_ | Or at least didn't break in a visible way. :) |
18:27:09 | Araq | there is some issue wrt symbol binding |
18:27:16 | Araq | it defaults to gensym iirc |
18:27:23 | Araq | which is most often very confusing |
18:30:14 | Jehan_ | Oh, I see. |
18:48:29 | * | willwillson joined #nimrod |
18:49:48 | * | jhc76 quit (Remote host closed the connection) |
18:53:36 | * | noam joined #nimrod |
18:55:04 | * | gelumelu quit (Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/) |
18:58:06 | * | Mat3 joined #nimrod |
18:58:08 | Mat3 | hello |
18:59:06 | * | boydgreenfield quit (Quit: boydgreenfield) |
19:01:00 | * | io2 joined #nimrod |
19:05:37 | dom96 | hey Mat3 |
19:07:03 | Mat3 | hello dom96 |
19:08:10 | dom96 | Mat3: Any progress on getting your code up on github? |
19:08:25 | Mat3 | before you ask: I have now a working server again and prepare my sources for upload (adding licence and some comments) |
19:08:40 | Mat3 | ok, to late |
19:08:44 | dom96 | hehe. |
19:08:59 | dom96 | Does that mean you will put it on github or just upload it to your server? |
19:10:09 | Mat3 | I upload it to my server and sync with my githup repro (well, that's the plan) |
19:12:30 | Mat3 | its an old repro from me, you can find the link here: https://groups.google.com/forum/#!topic/retro-10/pUKSYN4xSMQ |
19:13:21 | * | boydgreenfield joined #nimrod |
19:14:47 | Mat3 | sorrey github |
19:17:00 | dom96 | As long as it's on github then i'll be happy :P |
19:17:52 | * | ehaliewicz quit (Ping timeout: 240 seconds) |
19:20:10 | Mat3 | I had abandoned my github repro long time ago because of everlasting sync problems, bugs (which I hope are now fixed) and because I found Mercurial a better designed alternative |
19:21:59 | Mat3 | hmm, just notice that I should backup my old code there before uploading the current |
19:30:40 | * | enderoute quit (Quit: enderoute) |
19:31:54 | EXetoC | bugs? long time ago was it? |
19:34:31 | * | enderoute joined #nimrod |
19:35:04 | Mat3 | yes |
19:38:06 | * | noam_ joined #nimrod |
19:41:14 | * | noam quit (Ping timeout: 252 seconds) |
19:58:28 | * | Fran__ quit (Ping timeout: 252 seconds) |
20:00:45 | * | tillzy joined #nimrod |
20:23:34 | dom96 | Araq: Any ideas what's wrong with docgen on bigbreak? |
20:25:18 | dom96 | oh, just an issue with CS. |
20:25:33 | dom96 | 'doc' gives an odd error though |
20:26:23 | * | demilichsd quit (Ping timeout: 276 seconds) |
20:28:43 | * | tillzy quit (Ping timeout: 272 seconds) |
20:28:54 | * | boydgreenfield quit (Quit: boydgreenfield) |
20:31:34 | imjoe` | this is what happens when i try to make "bigbreak": https://gist.github.com/anonymous/f716693f0badf7d10471 |
20:32:01 | EXetoC | did you use the bigbreak branch of csources too? |
20:32:18 | * | vendethiel- quit (Ping timeout: 246 seconds) |
20:33:15 | imjoe` | no. is there one?: csources (master) $ git checkout bigbreak |
20:33:15 | imjoe` | error: pathspec 'bigbreak' did not match any file(s) known to git. |
20:33:15 | imjoe` | |
20:33:27 | EXetoC | yes |
20:33:46 | EXetoC | I just cloned with '-b bigbreak' |
20:34:00 | EXetoC | I don't know how to do it the other way |
20:34:10 | EXetoC | fetch maybe |
20:36:36 | reactormonk | EXetoC, you want a new branch? git checkout -b bigbreak origin/bigbreak |
20:36:45 | imjoe` | that did it EXetoC! thank you! |
20:36:47 | reactormonk | ... maybe |
20:37:15 | reactormonk | works. |
20:37:28 | * | def- joined #nimrod |
20:37:29 | reactormonk | git checkout -b bigbreak origin/bigbreak |
20:37:31 | reactormonk | Branch bigbreak set up to track remote branch bigbreak from origin by rebasing. |
20:38:16 | imjoe` | i wonder why "git checkout bigbreak" doesn't work when in the csources directory? |
20:38:40 | * | demilichsd joined #nimrod |
20:39:29 | dom96 | probably needed to pull |
20:39:40 | dom96 | as in just 'git pull' |
20:39:43 | dom96 | with no other params |
20:41:46 | * | vendethiel joined #nimrod |
20:42:29 | * | Matthias247 joined #nimrod |
20:42:37 | imjoe` | no, git pull doesn't do it. says "already up to date" cloning with -b bigbreak works though. someone should add it to the docs :-) |
20:43:05 | Jehan_ | bigbreak is temporary and bleeding edge, so not really the best idea. |
20:43:59 | * | boydgreenfield joined #nimrod |
20:44:28 | Jehan_ | Also, for what it's worth, "git checkout bigbreak" works for me. |
20:44:41 | Jehan_ | With a freshly cloned repository, though. |
20:45:24 | imjoe` | in the csources directory? after doing git clone --depth 1 git://github.com/nimrod-code/csources ? weird. maybe I have an old git |
20:46:50 | EXetoC | no I think he's referring to the compiler |
20:47:44 | imjoe` | oh. yes, it works for me in Nimrod directory as well. not in csources. |
20:48:17 | dom96 | Maybe the way Varriount introduced the branches means that you have to reclone |
20:48:32 | dom96 | Can you clone and then git checkout bigbreak? |
20:49:54 | EXetoC | it must be possible without cloning again |
20:50:21 | imjoe` | dom96: you mean for csources? no I can't. and i feel bad for github I have rm -rf Nimrod like 4 times today already :-P |
20:51:05 | EXetoC | apologize via email and it'll be fine |
20:52:05 | enderoute | i finally got what i wanted by combining macros, templates, and getAST, https://github.com/clarkeaa/nimrod-examples/blob/master/nimtests/nimtests.nim if you are interested. It looks like the re library is missing the ability to recall subpatterns, thats one more thing i ran into |
20:52:33 | Jehan_ | imjoe`: if you do --depth 1 you get a shallow clone that only contains the HEAD of master. |
20:52:46 | dom96 | oh yes. --depth 1 must be your problem |
20:52:54 | Jehan_ | imjoe`: If you want to get bigbreak that way, do: git clone --depth 1 -b bigbreak |
21:04:17 | imjoe` | ah. yes, getting rid of --depth 1 does it. thanks Jehan_ |
21:06:21 | EXetoC | I never cloned with depth though. oh well |
21:14:25 | * | io2 quit (Quit: ...take irc away, what are you? genius, billionaire, playboy, philanthropist) |
21:16:01 | * | nande joined #nimrod |
21:25:34 | * | io2 joined #nimrod |
21:26:00 | * | io2 quit (Client Quit) |
21:32:38 | * | Matthias247 quit (Read error: Connection reset by peer) |
21:38:26 | * | Mat3 quit (Quit: Verlassend) |
21:38:28 | * | enderoute_ joined #nimrod |
21:40:15 | * | Sembei quit (Max SendQ exceeded) |
21:41:38 | * | enderoute quit (Ping timeout: 276 seconds) |
21:42:23 | * | JStoker quit (Killed (sinisalo.freenode.net (Nickname regained by services))) |
21:42:26 | * | Sembei joined #nimrod |
21:42:45 | * | JStoker joined #nimrod |
21:43:11 | * | johnsoft quit (Ping timeout: 276 seconds) |
21:44:10 | * | johnsoft joined #nimrod |
21:45:48 | * | TylerE quit (Ping timeout: 268 seconds) |
21:45:50 | * | willwillson quit (Ping timeout: 276 seconds) |
21:46:00 | * | enderoute_ is now known as enderoute |
21:46:59 | * | demilichsd quit (Ping timeout: 276 seconds) |
21:47:14 | * | willwillson joined #nimrod |
21:47:25 | * | demilichsd joined #nimrod |
21:48:19 | * | TylerE joined #nimrod |
21:54:39 | NimBot | Araq/Nimrod bigbreak 6f155af Dominik Picheta [+0 ±7 -0]: Lots of documentation improvements for asyncdispatch.... 2 more lines |
21:55:17 | * | saml quit (Quit: Leaving) |
21:59:16 | * | brson quit (Quit: leaving) |
22:00:31 | * | Guest97523 quit (Ping timeout: 246 seconds) |
22:10:12 | imjoe` | jester (new-async) $ nim c jester.nim |
22:10:12 | imjoe` | Hint: system [Processing]; lib/system.nim(2442, 21) Error: redefinition of 'fileHandle' |
22:10:12 | imjoe` | |
22:10:17 | * | kuzy000_ quit (Ping timeout: 245 seconds) |
22:11:47 | * | MyMind joined #nimrod |
22:12:15 | * | cyraxjoe joined #nimrod |
22:12:58 | dom96 | hrm, I get a different error |
22:13:48 | * | vendethiel- joined #nimrod |
22:14:45 | * | phI||Ip joined #nimrod |
22:14:53 | dom96 | imjoe`: i'll fix it |
22:15:02 | * | Araq quit (Ping timeout: 240 seconds) |
22:15:22 | * | armin joined #nimrod |
22:15:57 | * | zling_____ quit (Ping timeout: 240 seconds) |
22:16:36 | * | zling_____ joined #nimrod |
22:16:49 | NimBot | dom96/jester new-async 4d1f1f5 Dominik Picheta [+0 ±3 -0]: bigbreak CS fixes. |
22:17:10 | NimBot | Araq/Nimrod bigbreak 37149dc Dominik Picheta [+0 ±1 -0]: Fixes fdSet CS problems in asyncio. |
22:17:23 | dom96 | imjoe`: try now |
22:18:50 | * | bjz quit (*.net *.split) |
22:18:51 | * | EastByte quit (*.net *.split) |
22:18:53 | * | MightyJoe quit (*.net *.split) |
22:18:53 | * | reloc0 quit (*.net *.split) |
22:18:54 | * | endou__ quit (*.net *.split) |
22:20:04 | * | endou___ joined #nimrod |
22:20:08 | * | untitaker_ joined #nimrod |
22:20:36 | * | bjz joined #nimrod |
22:21:09 | * | Varriount__ joined #nimrod |
22:21:16 | imjoe` | thanks. i'm on linux, maybe that's why different error? i git pulled on bigbreak and made a new nim and git pulled jester and same error is there |
22:22:09 | imjoe` | i wish it told us where fileHandle was first defined |
22:22:58 | * | icebattl1 joined #nimrod |
22:24:18 | * | EastByte joined #nimrod |
22:25:29 | * | uber quit (*.net *.split) |
22:26:09 | * | comex_ joined #nimrod |
22:26:32 | dom96 | imjoe`: well I compiled it with --os:linux and it compiled fine |
22:26:43 | dom96 | you sure you're not using an old stdlib? |
22:26:50 | * | uber joined #nimrod |
22:26:52 | dom96 | likely nim is confusing them |
22:27:13 | * | Araq_bnc joined #nimrod |
22:28:12 | * | phI||Ip quit (Ping timeout: 255 seconds) |
22:28:40 | * | Onionhammer quit (Ping timeout: 255 seconds) |
22:29:02 | * | Onionhammer joined #nimrod |
22:29:07 | * | def- quit (Ping timeout: 255 seconds) |
22:29:30 | * | def- joined #nimrod |
22:29:33 | * | MyMind quit (Ping timeout: 255 seconds) |
22:29:41 | * | milosn joined #nimrod |
22:30:42 | * | Varriount_ quit (*.net *.split) |
22:30:43 | * | lyro quit (*.net *.split) |
22:30:44 | * | reactormonk quit (*.net *.split) |
22:31:05 | imjoe` | how do i find out? nim dump shows: /home/joe/nimbb/nim/lib and /home/joe/nimbb/nim is where the new nim was installed |
22:32:50 | * | Sembei quit (*.net *.split) |
22:32:51 | * | vendethiel quit (*.net *.split) |
22:32:51 | * | adrusi quit (*.net *.split) |
22:32:51 | * | milosn_ quit (*.net *.split) |
22:32:52 | * | untitaker quit (*.net *.split) |
22:32:54 | * | icebattle quit (*.net *.split) |
22:32:55 | * | comex quit (*.net *.split) |
22:32:56 | * | Triplefox quit (*.net *.split) |
22:32:57 | * | phI||Ip_ quit (*.net *.split) |
22:32:59 | * | MyMind joined #nimrod |
22:34:17 | * | phI||Ip joined #nimrod |
22:36:58 | * | Fr4n joined #nimrod |
22:38:08 | * | EastByte quit (*.net *.split) |
22:38:11 | * | TylerE quit (*.net *.split) |
22:38:13 | * | BlameStross1 quit (*.net *.split) |
22:38:14 | * | zahary_ quit (*.net *.split) |
22:38:15 | * | Trixar_za quit (*.net *.split) |
22:38:16 | * | Skrylar quit (*.net *.split) |
22:38:47 | * | BlameStross joined #nimrod |
22:38:47 | * | Demos__ joined #nimrod |
22:39:48 | * | Skrylar joined #nimrod |
22:41:16 | * | bjz quit (Ping timeout: 252 seconds) |
22:42:10 | * | Demos_ quit (Ping timeout: 246 seconds) |
22:42:10 | * | vegai quit (Ping timeout: 246 seconds) |
22:42:30 | * | uber quit (Ping timeout: 246 seconds) |
22:42:51 | * | Varriount__ quit (Ping timeout: 246 seconds) |
22:42:53 | * | zahary_ joined #nimrod |
22:43:12 | * | vendethiel- quit (Ping timeout: 246 seconds) |
22:43:14 | * | skroll1 joined #nimrod |
22:43:29 | * | TylerE joined #nimrod |
22:44:15 | * | def- quit (Ping timeout: 246 seconds) |
22:44:27 | * | enderoute_ joined #nimrod |
22:44:30 | * | willw775 joined #nimrod |
22:44:57 | * | enderoute quit (Ping timeout: 246 seconds) |
22:44:58 | * | enderoute_ is now known as enderoute |
22:45:40 | * | Varriount__ joined #nimrod |
22:45:53 | * | bjz joined #nimrod |
22:46:04 | * | vendethiel joined #nimrod |
22:46:24 | * | Demos__ quit (Ping timeout: 252 seconds) |
22:47:11 | * | Demos quit (Ping timeout: 272 seconds) |
22:48:28 | * | willwillson quit (Ping timeout: 276 seconds) |
22:48:33 | * | skroll quit (Ping timeout: 276 seconds) |
22:49:08 | * | Triplefox joined #nimrod |
22:53:02 | dom96 | imjoe`: hrm |
22:53:26 | * | uber joined #nimrod |
22:53:32 | dom96 | imjoe`: you sure you've got both the latest jester and nim? |
22:54:06 | * | def- joined #nimrod |
22:56:55 | dom96 | imjoe`: try doin -d:nimfix |
22:57:01 | dom96 | *doing |
23:04:27 | * | uber_ joined #nimrod |
23:04:49 | * | uber quit (Max SendQ exceeded) |
23:06:04 | * | vendethiel quit (Ping timeout: 252 seconds) |
23:06:45 | imjoe` | nim -d:nimfix c jester.nim => jester.nim(3, 7) Error: cannot open 'asynchttpserver' |
23:08:28 | * | Varriount joined #nimrod |
23:08:49 | * | Varriount__ quit (Ping timeout: 252 seconds) |
23:09:24 | dom96 | imjoe`: your nim is definitely using the wrong stdlib |
23:09:34 | EXetoC | um |
23:09:54 | EXetoC | I doubt I'm using the wrong one, and it's not here |
23:10:13 | EXetoC | no, wait |
23:10:18 | EXetoC | confusing |
23:11:19 | EXetoC | who knows where install.sh copied my asynchttpserver from |
23:12:42 | dom96 | Don't use install.sh |
23:14:03 | * | phI||Ip quit (Ping timeout: 252 seconds) |
23:14:13 | * | vegai joined #nimrod |
23:14:35 | imjoe` | hmm. perhaps i installed it wrong. the last 2 steps i did was: ./koch boot -d:release -d:useGnuReadline; ./koch install /home/joe/nimbb |
23:14:56 | dom96 | just add the bin dir to your PATH |
23:15:50 | imjoe` | and which nim returns /home/joe/nimbb/nim/bin/nim |
23:16:44 | EXetoC | either way, I don't know why asynchttpserver isn't in the nimrod dir |
23:16:48 | dom96 | i'm guessing koch install didn't install the cfg correctly or something |
23:16:53 | * | armin quit (Ping timeout: 252 seconds) |
23:16:54 | dom96 | as well as the new modules |
23:16:56 | dom96 | (asynchttpserver) |
23:17:23 | dom96 | me and Araq don't use koch install |
23:17:45 | EXetoC | no in the dir where I invoked install.sh from |
23:17:46 | dom96 | So it's more reliable to do what we do: add Nim to your PATH. |
23:18:18 | dom96 | I can see it on github |
23:18:34 | dom96 | and it's even in the devel branch |
23:18:40 | dom96 | so I don't know what commit you're on |
23:18:57 | EXetoC | I'm not bigbreak |
23:20:19 | EXetoC | and it's there too apparently. odd |
23:22:50 | * | willw775 quit (Remote host closed the connection) |
23:23:48 | * | BlameStross quit (Ping timeout: 252 seconds) |
23:27:42 | imjoe` | ok. i changed my path to the git directory's bin. and now I'm getting further, a lot more depracated warnings but dying with: |
23:27:48 | imjoe` | lib/pure/asyncnet.nim(157, 59) Warning: use Port instead; TPort is deprecated [Deprecated] |
23:27:48 | imjoe` | SIGSEGV: Illegal storage access. (Attempt to read from nil?) |
23:27:48 | imjoe` | |
23:28:39 | dom96 | that's a compiler crash D: |
23:28:57 | imjoe` | trying with: nim -d:nimfix c jester.nim I get: |
23:29:07 | imjoe` | lib/pure/rawsockets.nim(255, 20) Error: expression 'Port(s.s_port)' cannot be called |
23:29:07 | imjoe` | |
23:29:18 | dom96 | bootstrap without -d:release to get a stack trace |
23:31:42 | * | vendethiel joined #nimrod |
23:33:00 | imjoe` | ok, created gist with backtrace: https://gist.github.com/anonymous/54d3050ebfa1de8f075c |
23:37:49 | * | BlaXpirit quit (Quit: Quit Konversation) |
23:38:22 | * | phI||Ip joined #nimrod |
23:38:23 | * | BlameStross joined #nimrod |
23:39:56 | * | BlameStross left #nimrod (#nimrod) |
23:40:38 | * | willwillson joined #nimrod |
23:41:41 | dom96 | imjoe`: looks like it can't open some file |
23:42:00 | * | Trixar_za joined #nimrod |
23:42:01 | * | EastByte joined #nimrod |
23:44:27 | * | lyro joined #nimrod |
23:44:27 | * | reactormonk joined #nimrod |
23:44:46 | dom96 | imjoe`: try increasing verbosity, --verbosity:4 IIRC |
23:44:49 | dom96 | may tell you more |
23:44:49 | * | darkf joined #nimrod |
23:44:59 | * | darkf quit (Changing host) |
23:44:59 | * | darkf joined #nimrod |
23:45:22 | dom96 | or you can edit pretty.nim to check what file it's trying to open |
23:47:45 | * | willwillson quit (Read error: Connection reset by peer) |
23:47:47 | imjoe` | ok i'll try that. verbosity didn't show the file. |
23:50:02 | imjoe` | so the very last "pretty" line that prints is: pretty: lib/pure/asyncdispatch.nim(1313,0) |
23:50:09 | imjoe` | that file does exist. |
23:54:15 | * | armin joined #nimrod |
23:56:23 | dom96 | permission problems? |
23:58:21 | * | zling_____ quit (Changing host) |
23:58:21 | * | zling_____ joined #nimrod |
23:58:26 | * | endou___ quit (Changing host) |
23:58:26 | * | endou___ joined #nimrod |
23:59:00 | imjoe` | everything looks good. but to be sure, i just tried as root. same prob. really weird. |
23:59:22 | * | TylerE quit (Changing host) |
23:59:22 | * | TylerE joined #nimrod |