<<04-01-2013>>

01:39:19reactormonkAraq, anywhere nice to announce? https://github.com/Tass/nimrod-mode it barely works.
01:57:10*shevy joined #nimrod
02:44:45*silven joined #nimrod
05:13:27*AlexLibman joined #nimrod
06:11:12*fowl joined #nimrod
06:19:24*nolan1 joined #nimrod
08:36:03*Araq_ joined #nimrod
08:36:23Araq_reactormonk: announce on the forum?
13:56:18*q66 joined #nimrod
14:23:09*Araq_ joined #nimrod
14:27:57reactormonkoke
14:36:26AlexLibmanLast night's BigBangTheory taught me that all the cereal product mascots are male. What about FLOSS mascots?
14:36:59*AlexLibman proposes Shimrod, the hot female Nimrod mascot.
14:46:25*Araq_ joined #nimrod
14:49:29reactormonkDoes anyone have a Mac in here?
14:50:08reactormonkwith homebrew
15:30:01*gradha joined #nimrod
15:30:51gradhareactormonk: mac here, no homebrow, only macports
15:33:01gradhashimrod sounds wrong for a female, I associate shim with "placeholder", and rod could be anything
15:33:42gradhaOTOH my mind has been perverted with rule 34, so you shouldn't take serious advice from me
15:34:43reactormonkgradha, considered writing a brew recipe so I can file a bug about autocomplete
15:43:49reactormonkgradha, is there a port for nimrod?
15:45:09gradhawhy would you want that? aren't ports only for software otherwise not available?
15:46:19gradha$ port search nimrod
15:46:19gradhaNo match for nimrod found
15:59:49reactormonkgradha, is nimrod otherwise available?
16:00:56gradhasure, you go to github and get it
16:01:12gradhaI guess it's convenient to have it as a port/homebrew
16:01:33gradhabut I only use ports for software which is a pain to compile or for which no direct binaries are offered, like gimp
16:03:11gradhadoes brew force you system upgrades when something is updated?
16:03:48gradhathat's what I hate from systems like apt-get or macports, you want a piece of new software and it forces a recompile of everything else
16:03:53reactormonkhttps://github.com/mxcl/homebrew/blob/master/Library/Formula/nimrod.rb hmm
16:04:07reactormonkgradha, well, apt-get doesn't force a recompile :>
16:04:31gradhatrue, apt-get is worse, can leave your system in a non working state!
16:04:40gradhaat least when source doesn't compile you still have the previous binary
16:05:13reactormonkI never had to compile anything with apt-get
16:05:23reactormonkin case of inconsistent state, go with the nix package manager.
16:06:04gradhahow come nimrod works for you under mac? The git version crashes randomly unless I tell it to compile with clang rather than gcc
16:06:36gradhanix sounds really nice
16:07:09reactormonkgradha, I don't
16:07:35reactormonkThat's why I was asking for someone to try out my recipe :-)
16:10:56dom96someone should update the url in https://github.com/mxcl/homebrew/blob/master/Library/Formula/nimrod.rb
16:11:33dom96also version 0.9.0 :)
16:12:27gradhaso apparently this brew thingy is for developers, what's so good about it?
16:13:36reactormonkno idea.
16:13:44reactormonkdom96, just sent a pull request
16:14:29dom96awesome
16:15:53gradha"Developers often understand C++ far better than they understand make syntax" well that's an interesting thought
16:16:39dom96That's so true.
16:20:49gradhalib/pure/encodings.nim uses dynlib to load libconv, doesn't that disqualify the module as pure?
16:21:31dom96yes, pretty much all modules in lib/pure are in fact not 'pure' in that sense
16:21:43dom96I had a talk with Araq about this a long time ago.
16:22:16dom96The distinction is somewhat vague currently.
16:22:44gradhaAFAICS pure means "it works out of the box on supported platforms"
16:22:58gradhathe impure modules requiring 3rd party libs
16:23:03dom96I see.
16:23:17dom96Yeah, that's what it means.
16:23:40dom96But isn't iconv standard POSIX?
16:24:21gradhano idea, have always used other libs for unicode stuff
16:24:45gradhaeither libc provided or frameworks which wrapped their own
16:26:45dom96hrm, perhaps you are correct.
16:27:43dom96but on windows it uses the Windows API. On linux it either uses libc or libiconv
16:28:08dom96What is the 'pure' way to do this on a Mac?
16:29:33gradhaI guess libiconv too
16:29:49dom96well then... :P
16:29:50gradhathough most mac people probably use Cocoa wrappers hidding the C interface
16:33:10*btbytes joined #nimrod
16:33:17dom96hello btbytes
16:33:23btbyteshi
16:33:54dom96welcome to #nimrod!
16:34:03btbytes i've been following nimrod for a while and wanted to check in ..
16:34:27dom96awesome.
16:35:12btbytesmostly happy reading nimrod tutorials and forum posts. haven't been using nimrod anything "real" yet.
16:35:28btbytesi really liked reading the source of your jester library
16:35:50dom96Thanks. I hope it's not too much of a mess heh.
16:37:19dom96Nice to hear that there are people we don't know about following Nimrod. Makes me think how many other people there are.
16:38:38dom96So are you planning on using nimrod for something real now, or are you just curious what's happening in the IRC channel?
16:39:11btbytesjust curious about the irc channel for now.
16:39:26btbytesi've been doing python for too long for a new language to take over easily :)
16:39:55btbytesbut attempting new things in a unfamiliar domain like 2d games might be a good way to explore nimrod
16:39:56dom96I actually switched from Python to Nimrod :)
16:40:10btbytesand i see quite a few libs about graphics in nimrod already.
16:40:32dom96indeed. There is nimgame, sfml bindings, sdl bindings and a graphics module in the stdlib.
16:40:40btbytesyeah, except the pascal-ish forward declarations, i feel quite at home.
16:41:10dom96IIRC work is being done to remove the need for those.
16:41:27dom96So hopefully you will feel even more at home :D
16:46:16reactormonkbtbytes, emacs?
16:46:34btbytesyeah, mostly.
16:50:05reactormonkbtbytes, https://github.com/Tass/nimrod-mode with completion.
16:53:18btbytesnice! i'll give it a try.
16:53:42dom96reactormonk: btw when you announce it on the forum, remember to add your screenshot in. It looks great.
16:54:40reactormonkdom96, just a bit buggy in my setup, works fine with emacs -q - I'll debug that first
16:54:55dom96alright
19:22:15*btbytes left #nimrod (#nimrod)
19:33:23*shevy joined #nimrod
19:52:28reactormonkAraq, how come stdin.a| proposes array?
20:43:12Araqreactormonk: I with I knew :P
20:43:16reactormonkdom96, ... and some other bugs
20:43:22reactormonkAraq, meh.
20:43:51*Araq really needs to work on bugfixes again ...
20:43:55reactormonkAraq, http://sprunge.us/BjZe + nimrod idetools --track:/tmp/foo.nim,2,20 --suggest /tmp/foo.nim
20:47:42AraqI think it suggests 'array' because you may want to convert 'stdin' to an array
20:47:56Araqwell not really but the type checking in 'suggest' is fuzzy for your own good :P
20:48:00Araqbrb
20:52:30reactormonkfixed one \o/
20:53:07dom96reactormonk: Are you fixing bugs in the compiler or just your emacs script?
20:53:12reactormonkdom96, elisp
20:53:21dom96ahh
20:53:43reactormonkwtf, this produces like 10 calls/s to nimrod ^^
20:54:01reactormonklet's see if it works with the aporia sources.
20:54:08dom96lol
20:54:36*dom96 guesses it will be a lot slower
20:54:47dom96Because the whole gtk is imported
20:55:23reactormonkit errors out ^^
20:59:39reactormonk-track:/tmp/nimrod-suggest13695gdP/aporia.nim,308,10 --include:/home/tass/dev/nimrod/Aporia/ --suggest /home/tass/dev/nimrod/Aporia/aporia.nimrod.nim)
20:59:42reactormonkprogn: End of buf
20:59:47reactormonk... find the error
21:00:22dom96aporia.nimrod.nim seems wrong :P
21:00:48reactormonkno shit sherlock
21:03:14Araqbtw reactormonk 'accumulateResult' doesn't do what you think it does
21:03:27AraqI think I told you before :P
21:03:35reactormonkAraq, that's likely
21:03:50Araqyou know, you could grep for it to see what it does
21:04:03reactormonkor ask my emacs once I'm there
21:04:17Araqoh yeah
21:04:22reactormonkidetools --stdout --track:/tmp/nimrod-suggest13695VOj/aporia.nim,308,6 --include:/home/tass/dev/nimrod/Aporia/ --suggest /home/tass/dev/nimrod/Aporia/aporia.nim
21:04:29reactormonkwhat's wrong here?
21:04:32AraqI was about to ask: HTML or Text for the documentation?
21:04:35reactormonkno suggestions at all
21:04:51reactormonkAraq, via flag, default text
21:05:11Araqso it's escaped text ... fine
21:05:46Araqreactormonk: sometimes 'suggest' doesn't suggest anything ... -.-
21:08:45reactormonkAraq, indeed
21:08:54reactormonkAraq, tried two places in the aporia sources, no response.
21:09:21Araqthat could also be a long operation
21:09:38Araqas it's likely it suggest everything in gtk to you ...
21:09:56reactormonkI call idetools sync, nothing.
21:11:40AraqI'll take a look later, bbl
21:12:32dom96hey, don't "no shit sherlock" me.
21:15:18reactormonkI really should take out the reverse question mark for rethoric questions, sorry buddy.
21:16:27dom96no prob.
21:16:46reactormonkdom96, let's see what else idetools can provide - did you do the fun with def too?
21:17:06dom96reactormonk: yep. def works very well I think.
21:18:30dom96Not fast enough for my tastes though.
21:18:47reactormonkdom96, ~0.1s
21:19:03dom96reactormonk: Have you tried it in aporia's sources?
21:20:30reactormonk0.72s
21:20:38reactormonk:-/
21:20:59reactormonkAraq, too slow!
21:54:37NimBotnimrod-code/nimbuild 62ade48 Dominik Picheta [+0 ±1 -0]: Added new deleteOutgoing config param.
21:54:37NimBotnimrod-code/nimbuild fd37bb2 Dominik Picheta [+0 ±1 -0]: Fixed C source generation.