<< 12-09-2014 >>

00:03:18imjoe`I like $global and CONSTANT. i'm coming from ruby.
00:04:28Araqyeah yeah yeah ...
00:05:38imjoe`LOL
00:05:52*charlie__ joined #nimrod
00:06:01Araqhi charlie__ welcome
00:06:13charlie__I am demos
00:06:21charlie__network issues
00:07:33Araqoh 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:26imjoe`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:12boydgreenfieldWhoa… 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:09Araqimjoe`: 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:40dom96imjoe`: bigbreak (nim) + newasync (jester)
09:40:20imjoe`thanks. i tried: (bigbreak) $ bin/nimrod c koch
09:40:27imjoe`lib/system.nim(478, 12) Error: invalid pragma: deprecated: [TObject: RootObj, etc....
09:40:56imjoe`i'm gonna crash out. maybe it will work tomorrow. gnite all.
09:48:28dom96You need to use the 'nim' binary
09:48:38dom96bin/nim
09:49:38imjoe`there is no bin/nim
09:50:19dom96you need to rebuild the C sources
09:50:34dom96and you need to use the C sources on the bigbreak branch
09:51:23dom96actually, the C sources create a 'nimrod' binary
09:51:53dom96but you still need to switch to the bigbreak branch and build them
09:52:18dom96Varriount_: Where is this script I asked you to make?
09:52:22dom96bbl
09:53:00imjoe`ok. i did build them (build.sh was not executable btw if that matters so i did sh build.sh)
10:12:37EXetoCno 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:34dom96hello 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:02enderoutehow 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:28dom96enderoute: That's not currently possible.
16:56:43dom96enderoute: best you can do is parse it out of getStackTrace
16:57:13enderoutedom96: 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:58enderouteCan 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:30dom96I think expr/stmt are interchangeable with PNimrodNode.
17:28:36dom96templates are more limited
17:28:40dom96but they are also easier to use
17:29:13*gelumelu quit (Quit: Page closed)
17:29:23*gelumelu joined #nimrod
17:30:09enderoutedom96: 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:47dom96why do you want to use toStrLit in a template?
17:33:20*Jehan_ joined #nimrod
17:33:34enderoutei’m implementing an assertion, i want it to print out the clause if it isn’t true
17:34:06Jehan_templates and macros are fundamentally different.
17:35:05Jehan_templates are the rough equivalent of C #defines, minus their nasty issues.
17:35:31Jehan_macros contain code that will be executed at compile time and generate the code that will be inserted in their place.
17:36:19Jehan_Calling toStrLit in a template is pointless, because the code will NOT be executed at compile time.
17:36:43Jehan_templates simply substitute their content in place of the existing code.
17:37:08enderoute(defmacro foo (&body body) `(when (not ,body) (print ,(toString body))) i think that would be similar in common lisp
17:37:30enderoutehmm weird, since templates are getting expanded at compiletime, seems like they could do some calculations too at compile time
17:38:37enderouteok, 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:01dom96enderoute: We already have 'assert' and here is how it's implemented: https://github.com/Araq/Nimrod/blob/devel/lib/system.nim#L2910
17:39:22EXetoChe doesn't want just that though
17:39:27EXetoCbut see the unittest module
17:39:28Jehan_templates are basically common lisp macros restricted to the backquote version if that helps.
17:39:39EXetoCwhich might be buggy still, but the code should be relevant
17:40:02dom96EXetoC: I think that is precisely what he wants?
17:40:22Jehan_If you want to execute code at compile time, you'll need a macro definition.
17:41:00dom96Jehan_: not quite true. You can execute code at compile time in other contexts.
17:41:08dom96for example inside 'static'
17:41:55Jehan_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:30enderoutedom96: 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:43dom96enderoute: Awesome. Feel free to ask as many questions as you wish :)
17:57:36EXetoCnow I'm using macros again and I'm struggling with simply returning a string literal
17:58:25*jhc76 joined #nimrod
18:02:57AraqEXetoC: often a template + astToStr suffices
18:05:49*Fran__ quit (Ping timeout: 260 seconds)
18:08:02*adrusi quit (Quit: adrusi)
18:08:09enderoutehuzzah, here is what i wanted:
18:08:14enderoutemacro ntassert*(clause: expr) : stmt =
18:08:14enderoute result = newNimNode(nnkStmtList)
18:08:16enderoute var raiser = newNimNode(nnkRaiseStmt)
18:08:17enderoute raiser.add(newCall("newTestFail", toStrLit(clause)))
18:08:18enderoute var notClause = newCall("not", clause)
18:08:19enderoute result.add(newIfStmt((notClause, raiser)))
18:08:21enderouteoops sorry
18:08:41*Fran__ joined #nimrod
18:11:14*Demos joined #nimrod
18:11:28*Demos_ joined #nimrod
18:11:43EXetoCAraq: I forgot to return expr
18:12:20enderouteit 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:47Araqenderoute: some say that is what getAst was made for ...
18:12:53EXetoCenderoute: speaking of templates, you can get the AST node from a template/macro by calling getAst
18:12:58EXetoC:p
18:13:08enderoutecool i’ll check it out
18:14:12EXetoConce again the unittest modules has some examples, but it's not too difficult to figure out
18:19:47*boydgreenfield joined #nimrod
18:20:50Jehan_enderoute: You may also want to look at the quote operator.
18:21:14Araqno, don't use quote
18:21:19Araqit's still very broken
18:23:14Jehan_Oh, it is?
18:23:43Jehan_Granted, I've used it only a couple of times, but it did work for me.
18:23:51Jehan_Or at least didn't break in a visible way. :)
18:27:09Araqthere is some issue wrt symbol binding
18:27:16Araqit defaults to gensym iirc
18:27:23Araqwhich is most often very confusing
18:30:14Jehan_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:08Mat3hello
18:59:06*boydgreenfield quit (Quit: boydgreenfield)
19:01:00*io2 joined #nimrod
19:05:37dom96hey Mat3
19:07:03Mat3hello dom96
19:08:10dom96Mat3: Any progress on getting your code up on github?
19:08:25Mat3before you ask: I have now a working server again and prepare my sources for upload (adding licence and some comments)
19:08:40Mat3ok, to late
19:08:44dom96hehe.
19:08:59dom96Does that mean you will put it on github or just upload it to your server?
19:10:09Mat3I upload it to my server and sync with my githup repro (well, that's the plan)
19:12:30Mat3its 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:47Mat3sorrey github
19:17:00dom96As long as it's on github then i'll be happy :P
19:17:52*ehaliewicz quit (Ping timeout: 240 seconds)
19:20:10Mat3I 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:59Mat3hmm, just notice that I should backup my old code there before uploading the current
19:30:40*enderoute quit (Quit: enderoute)
19:31:54EXetoCbugs? long time ago was it?
19:34:31*enderoute joined #nimrod
19:35:04Mat3yes
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:34dom96Araq: Any ideas what's wrong with docgen on bigbreak?
20:25:18dom96oh, just an issue with CS.
20:25:33dom96'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:34imjoe`this is what happens when i try to make "bigbreak": https://gist.github.com/anonymous/f716693f0badf7d10471
20:32:01EXetoCdid you use the bigbreak branch of csources too?
20:32:18*vendethiel- quit (Ping timeout: 246 seconds)
20:33:15imjoe`no. is there one?: csources (master) $ git checkout bigbreak
20:33:15imjoe`error: pathspec 'bigbreak' did not match any file(s) known to git.
20:33:15imjoe`
20:33:27EXetoCyes
20:33:46EXetoCI just cloned with '-b bigbreak'
20:34:00EXetoCI don't know how to do it the other way
20:34:10EXetoCfetch maybe
20:36:36reactormonkEXetoC, you want a new branch? git checkout -b bigbreak origin/bigbreak
20:36:45imjoe`that did it EXetoC! thank you!
20:36:47reactormonk... maybe
20:37:15reactormonkworks.
20:37:28*def- joined #nimrod
20:37:29reactormonkgit checkout -b bigbreak origin/bigbreak
20:37:31reactormonkBranch bigbreak set up to track remote branch bigbreak from origin by rebasing.
20:38:16imjoe`i wonder why "git checkout bigbreak" doesn't work when in the csources directory?
20:38:40*demilichsd joined #nimrod
20:39:29dom96probably needed to pull
20:39:40dom96as in just 'git pull'
20:39:43dom96with no other params
20:41:46*vendethiel joined #nimrod
20:42:29*Matthias247 joined #nimrod
20:42:37imjoe`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:05Jehan_bigbreak is temporary and bleeding edge, so not really the best idea.
20:43:59*boydgreenfield joined #nimrod
20:44:28Jehan_Also, for what it's worth, "git checkout bigbreak" works for me.
20:44:41Jehan_With a freshly cloned repository, though.
20:45:24imjoe`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:50EXetoCno I think he's referring to the compiler
20:47:44imjoe`oh. yes, it works for me in Nimrod directory as well. not in csources.
20:48:17dom96Maybe the way Varriount introduced the branches means that you have to reclone
20:48:32dom96Can you clone and then git checkout bigbreak?
20:49:54EXetoCit must be possible without cloning again
20:50:21imjoe`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:05EXetoCapologize via email and it'll be fine
20:52:05enderoutei 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:33Jehan_imjoe`: if you do --depth 1 you get a shallow clone that only contains the HEAD of master.
20:52:46dom96oh yes. --depth 1 must be your problem
20:52:54Jehan_imjoe`: If you want to get bigbreak that way, do: git clone --depth 1 -b bigbreak
21:04:17imjoe`ah. yes, getting rid of --depth 1 does it. thanks Jehan_
21:06:21EXetoCI 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:39NimBotAraq/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:12imjoe`jester (new-async) $ nim c jester.nim
22:10:12imjoe`Hint: system [Processing]; lib/system.nim(2442, 21) Error: redefinition of 'fileHandle'
22:10:12imjoe`
22:10:17*kuzy000_ quit (Ping timeout: 245 seconds)
22:11:47*MyMind joined #nimrod
22:12:15*cyraxjoe joined #nimrod
22:12:58dom96hrm, I get a different error
22:13:48*vendethiel- joined #nimrod
22:14:45*phI||Ip joined #nimrod
22:14:53dom96imjoe`: 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:49NimBotdom96/jester new-async 4d1f1f5 Dominik Picheta [+0 ±3 -0]: bigbreak CS fixes.
22:17:10NimBotAraq/Nimrod bigbreak 37149dc Dominik Picheta [+0 ±1 -0]: Fixes fdSet CS problems in asyncio.
22:17:23dom96imjoe`: 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:16imjoe`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:09imjoe`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:32dom96imjoe`: well I compiled it with --os:linux and it compiled fine
22:26:43dom96you sure you're not using an old stdlib?
22:26:50*uber joined #nimrod
22:26:52dom96likely 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:05imjoe`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:02dom96imjoe`: hrm
22:53:26*uber joined #nimrod
22:53:32dom96imjoe`: you sure you've got both the latest jester and nim?
22:54:06*def- joined #nimrod
22:56:55dom96imjoe`: try doin -d:nimfix
22:57:01dom96*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:45imjoe`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:24dom96imjoe`: your nim is definitely using the wrong stdlib
23:09:34EXetoCum
23:09:54EXetoCI doubt I'm using the wrong one, and it's not here
23:10:13EXetoCno, wait
23:10:18EXetoCconfusing
23:11:19EXetoCwho knows where install.sh copied my asynchttpserver from
23:12:42dom96Don't use install.sh
23:14:03*phI||Ip quit (Ping timeout: 252 seconds)
23:14:13*vegai joined #nimrod
23:14:35imjoe`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:56dom96just add the bin dir to your PATH
23:15:50imjoe`and which nim returns /home/joe/nimbb/nim/bin/nim
23:16:44EXetoCeither way, I don't know why asynchttpserver isn't in the nimrod dir
23:16:48dom96i'm guessing koch install didn't install the cfg correctly or something
23:16:53*armin quit (Ping timeout: 252 seconds)
23:16:54dom96as well as the new modules
23:16:56dom96(asynchttpserver)
23:17:23dom96me and Araq don't use koch install
23:17:45EXetoCno in the dir where I invoked install.sh from
23:17:46dom96So it's more reliable to do what we do: add Nim to your PATH.
23:18:18dom96I can see it on github
23:18:34dom96and it's even in the devel branch
23:18:40dom96so I don't know what commit you're on
23:18:57EXetoCI'm not bigbreak
23:20:19EXetoCand 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:42imjoe`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:48imjoe`lib/pure/asyncnet.nim(157, 59) Warning: use Port instead; TPort is deprecated [Deprecated]
23:27:48imjoe`SIGSEGV: Illegal storage access. (Attempt to read from nil?)
23:27:48imjoe`
23:28:39dom96that's a compiler crash D:
23:28:57imjoe`trying with: nim -d:nimfix c jester.nim I get:
23:29:07imjoe`lib/pure/rawsockets.nim(255, 20) Error: expression 'Port(s.s_port)' cannot be called
23:29:07imjoe`
23:29:18dom96bootstrap without -d:release to get a stack trace
23:31:42*vendethiel joined #nimrod
23:33:00imjoe`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:41dom96imjoe`: 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:46dom96imjoe`: try increasing verbosity, --verbosity:4 IIRC
23:44:49dom96may tell you more
23:44:49*darkf joined #nimrod
23:44:59*darkf quit (Changing host)
23:44:59*darkf joined #nimrod
23:45:22dom96or 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:47imjoe`ok i'll try that. verbosity didn't show the file.
23:50:02imjoe`so the very last "pretty" line that prints is: pretty: lib/pure/asyncdispatch.nim(1313,0)
23:50:09imjoe`that file does exist.
23:54:15*armin joined #nimrod
23:56:23dom96permission 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:00imjoe`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