<< 13-09-2013 >>

00:29:08*mac01021 quit (Ping timeout: 260 seconds)
01:34:09*ltbarcly_ joined #nimrod
01:38:59*ltbarcly_ quit (Ping timeout: 260 seconds)
01:39:40*ltbarcly_ joined #nimrod
01:40:00*ltbarcly_ quit (Client Quit)
01:50:01*ltbarcly_ joined #nimrod
01:53:58*ltbarcly_ quit (Client Quit)
02:03:52*BitPuffin joined #nimrod
02:04:19*q66 quit (Quit: Leaving)
02:06:58*BitPuffin_ joined #nimrod
02:12:54*XAMPP joined #nimrod
03:25:16*brson quit (Ping timeout: 240 seconds)
03:52:23*ltbarcly_ joined #nimrod
03:59:36*ltbarcly_ quit (Ping timeout: 260 seconds)
04:00:52*ltbarcly_ joined #nimrod
04:02:28*BitPuffin quit (Remote host closed the connection)
04:05:46*ltbarcly_ quit (Ping timeout: 256 seconds)
04:06:29*ltbarcly_ joined #nimrod
04:15:28*ltbarcly_ quit (Quit: Computer has gone to sleep.)
04:29:56*ltbarcly_ joined #nimrod
04:38:49*ltbarcly_ quit (Quit: Computer has gone to sleep.)
04:48:29*ltbarcly_ joined #nimrod
04:50:34*ltbarcly_ quit (Client Quit)
04:59:40*DAddYE joined #nimrod
05:00:52*brson joined #nimrod
05:04:11*ltbarcly_ joined #nimrod
05:09:17*ltbarcly_ quit (Ping timeout: 256 seconds)
05:11:47*ltbarcly_ joined #nimrod
05:18:55*ltbarcly_ quit (Ping timeout: 260 seconds)
05:20:16*ltbarcly_ joined #nimrod
05:25:09*ltbarcly_ quit (Ping timeout: 257 seconds)
05:26:46*ltbarcly_ joined #nimrod
05:31:23*ltbarcly_ quit (Ping timeout: 256 seconds)
05:32:17*ltbarcly_ joined #nimrod
05:37:08*ltbarcly_ quit (Ping timeout: 260 seconds)
05:38:16*ltbarcly_ joined #nimrod
05:48:23*ltbarcly_ quit (Ping timeout: 256 seconds)
05:50:17*ltbarcly_ joined #nimrod
06:00:56*ltbarcly_ quit (Ping timeout: 260 seconds)
06:31:40*noam_ quit (Ping timeout: 264 seconds)
06:52:07*DAddYE quit (Remote host closed the connection)
06:52:37*DAddYE joined #nimrod
06:53:05*brson quit (Quit: leaving)
06:56:54*DAddYE quit (Ping timeout: 256 seconds)
07:07:11*EXetoC joined #nimrod
07:07:57*DAddYE joined #nimrod
07:18:19*Araq_ joined #nimrod
07:37:56Associat0rdom96: http://www.youtube.com/watch?v=VE8B4KptyVI
07:49:05*Associat0r quit (Quit: Associat0r)
07:49:25*Associat0r joined #nimrod
07:49:25*Associat0r quit (Changing host)
07:49:26*Associat0r joined #nimrod
08:15:58*DAddYE quit (Remote host closed the connection)
08:16:25*DAddYE joined #nimrod
08:20:38*DAddYE quit (Ping timeout: 240 seconds)
09:26:08*ltbarcly_ joined #nimrod
09:30:31*ltbarcly_ quit (Ping timeout: 256 seconds)
09:36:28*ltbarcly_ joined #nimrod
09:36:43*q66 joined #nimrod
09:40:55*ltbarcly_ quit (Ping timeout: 246 seconds)
10:25:51*BitPuffin_ quit (Ping timeout: 260 seconds)
11:11:12*shafire joined #nimrod
11:11:13shafirehi
11:13:00EXetoChi
11:15:43shafireIs someone using ada in productive?
11:18:37EXetoCI don't know
11:18:39*EXetoC quit (Quit: WeeChat 0.4.1)
11:28:48Araq_shafire: wrong channel :P
11:30:26shafirelol
11:30:34shafireI someone using nimrod in productive
11:32:38shafireIs someone using nimrod in productive? :) so...
11:32:59Araq_yeah, http://forum.nimrod-code.org/t/189
11:33:44shafire:)
11:56:47shafireSo, nimrod was written original in Object Pascal?
12:34:44*Associ8or joined #nimrod
12:34:44*Associ8or quit (Changing host)
12:34:44*Associ8or joined #nimrod
12:35:26*Associat0r quit (Ping timeout: 240 seconds)
13:30:37Araq_shafire: yes
13:36:12*OrionPK joined #nimrod
13:36:47*Araq_ quit (Quit: ChatZilla 0.9.90.1 [Firefox 23.0.1/20130814063812])
13:48:12*ltbarcly_ joined #nimrod
13:52:50*ltbarcly_ quit (Ping timeout: 256 seconds)
13:58:31*ltbarcly_ joined #nimrod
14:03:19*ltbarcly_ quit (Ping timeout: 260 seconds)
14:16:26*mal`` quit (Ping timeout: 264 seconds)
14:19:43*mal`` joined #nimrod
14:56:39*EXetoC joined #nimrod
15:01:48*comex quit (Read error: Operation timed out)
15:09:13*comex joined #nimrod
16:30:31*Trixar_za quit (Quit: ZNC - http://znc.in)
17:03:51*BitPuffin joined #nimrod
17:04:11BitPuffindom96: Does jester have dynamic code reloading?
17:04:26BitPuffinIt would be awesome to have that
17:04:46BitPuffinand have a means to set up directories where you can write nimrod that compiles to js that also reloads dynamically
17:05:31OrionPKwhy not make u a coffee too
17:05:51BitPuffinthat would also be nice
17:05:51OrionPK:)
17:07:31*MFlamer joined #nimrod
17:09:21*DAddYE joined #nimrod
17:11:31*DAddYE quit (Remote host closed the connection)
17:12:11*DAddYE joined #nimrod
17:24:11*Mat2 joined #nimrod
17:24:11Mat2hi all
17:26:51BitPuffinhey Mat2
17:27:11BitPuffinAraq: Other than calling it via shell, is there a way to compile stuff from code?
17:27:31BitPuffinLike calling procs to compile nimrod to js or c or whatever or binary
17:29:11*io2 joined #nimrod
17:29:31Mat2hi BitPuffin
17:32:32Mat2hi io2
17:32:47io2hello Mat2, how are you doing :)
17:36:42Mat2fine, weekend time :D
17:41:52dom96BitPuffin: yeah, it would also be nice if I didn't have to go to school and "learn" how to use MS Word.
17:42:12Mat2hi dom96
17:42:12dom96hi ma
17:42:12dom96*Mat2
17:42:27Mat2hmm, Word96 ?
17:42:27Araqhey guys
17:42:37Mat2hi Araq
17:42:52AraqBitPuffin: you can import compiler/jsgen and see how to do that ;-)
18:03:12*ltbarcly_ joined #nimrod
18:04:12*MFlamer quit (Quit: Page closed)
18:18:12shevyshould I get latest git source of nimrod or use the tarball? (Note: I'd also want to make use of aporia)
18:20:42*brson joined #nimrod
18:21:42Araqlatest git version
18:35:52*ltbarcly_ quit (Quit: Computer has gone to sleep.)
18:52:12*mac01021 joined #nimrod
18:56:48*mac01021 quit (Ping timeout: 264 seconds)
19:03:53BitPuffinAraq: Cool, just what I was looking for. I just didn't see any compiler part in the docs
19:07:43*ltbarcly_ joined #nimrod
19:08:23BitPuffinAraq: so there isn't just one proc I can call to compile a nimrod text to js?
19:08:23BitPuffingen?
19:13:23BitPuffinAh
19:13:23BitPuffinAraq: Is it JSgenPass?
19:24:08BitPuffinhmm yeah if I am gonna make an ORM I am probably gonna use Sequel as reference. But I wonder how to make a good one in nimrod
19:26:53BitPuffinmaybe I should just write to a db I wanna use
19:28:28*ltbarcly_ quit (Ping timeout: 256 seconds)
19:32:08*ltbarcly_ joined #nimrod
19:33:13AraqBitPuffin: it's not that simple but main.nim should be easy enough to figure out
20:05:53BitPuffinAraq: in compiler?
20:05:53Araqyeah
20:06:03BitPuffinAlright
20:06:13BitPuffinwoot
20:06:23BitPuffinllvmgen?
20:06:53BitPuffinI was hoping that we could bring say Jester (or something that builds on Jester) so that you can write as much as possible in nimrod
20:07:13BitPuffinlike the javascript, possibly html, probably not CSS
20:09:23BitPuffinHmm
20:09:33BitPuffinyeah that was a bit different than what I expected
20:09:53BitPuffinthis uses command line params
20:10:23BitPuffinwould be neat if there was a version of these things that was intended to be called from code
20:10:33BitPuffinI mean it has huge potential
20:10:53BitPuffinYou could practically use nimrod as a scripting engine by compiling to a dynamic lib that you reload
20:11:03BitPuffinand track for file changes etc
20:13:53Araqsure but I don't get why you need a dynamic lib for that
20:14:23Araqjust make some nice build script that runs the compiler when a file changes
20:37:53*io2 quit ()
21:10:23*silven_ joined #nimrod
21:14:14*silven quit (Ping timeout: 246 seconds)
21:23:34BitPuffinAraq: Well I mean so that you can modify scripts while for example the game is running
21:23:44BitPuffintweaking variable values etc
21:23:44BitPuffinlike jump velocity or whatever
21:23:54BitPuffinand then in the final build you build it properly
21:24:09BitPuffinbut it's useful when making
21:24:44Araqoh I thougth you were talking about web apps
21:27:04BitPuffinWell that was just an example of something cool you could do if you could call the compiler easily from code
21:27:29BitPuffinmaking webapps you just have it generate the java script and refresh in the browser haha
21:32:54Araqwell it is quite easy to call the compiler from code :P
21:36:04shafireAraq: is there a technical paper for nimrod?
21:37:29*EXetoC quit (Read error: Operation timed out)
21:41:44Araqno
21:42:49BitPuffinAraq: Well I mean like other than executing via shell :P
21:43:09BitPuffinBecause otherwise you probably have to do when defined(windows) etc for .exe
21:44:14BitPuffinsuch a hell xD
21:51:09shafiregood night guys
21:51:09Mat2ciao
21:51:24*shafire quit (Quit: Page closed)
21:51:24*Mat2 quit (Quit: Verlassend)
21:51:44AraqBitPuffin: no I mean importing the compiler's modules
21:51:54Araqand fyi we have os.exeExt etc. to deal with these things
21:52:04BitPuffinAraq: Ah!
21:52:04BitPuffinOh
21:52:04BitPuffincourse ):
21:52:04BitPuffin:)*
21:52:29*ltbarcl__ joined #nimrod
21:53:24BitPuffinAraq: Well like how do I invoke the compiler modules, looks like it is using command line parameters
21:55:09*ltbarcly_ quit (Ping timeout: 256 seconds)
21:55:24Araq of "js", "compiletojs":
21:55:24Araq gCmd = cmdCompileToJS
21:55:24Araq wantMainModule()
21:55:24Araq CommandCompileToJS()
21:55:44BitPuffinYes I did read that
21:55:54Araqso ... you need to set the global gProjectFull and perform the above steps
21:56:04Araqyeah not pretty
21:56:14Araqbut you can easily wrap it in a proc and make a pull request
21:57:09BitPuffinWhere did gProjectFull come in?
22:01:29Araqthat's what the command line parsing sets
22:06:14BitPuffinoh I see!
22:06:24BitPuffinwell yeah it shouldn't be too hard I suppose
22:06:44BitPuffinyou just copy the value of gProjectFull for backup
22:06:44BitPuffinthen set it
22:06:44BitPuffinrun
22:06:44BitPuffinand set it back
22:06:54BitPuffinor whatever
22:15:14*ltbarcl__ quit (Quit: Computer has gone to sleep.)
22:19:54*ltbarcly_ joined #nimrod
22:28:04*brson quit (Ping timeout: 256 seconds)
22:45:03*brson joined #nimrod
22:50:35*ltbarcly_ quit (Quit: Computer has gone to sleep.)
22:52:10*ltbarcly_ joined #nimrod
23:08:41*MFlamer joined #nimrod
23:10:14MFlameris there a "newShared[T](): ptr T" proc, or do I need to create one?
23:10:54Araqthe latter
23:12:29MFlamerok, is there any difference between allocated memory that is just not GC'd and what we call "shared memory"?
23:13:11Araqnot if you're talking about the type system
23:13:24Araq'alloc' is thread local, 'allocShared' global
23:15:56MFlamerOK, I dont totally understand what the difference is, other than neither is managed. But thats ok for now, Everything in my table needs to be shared
23:16:37Araqwell it's a ptr either way, so wrt the type system there is no difference
23:16:58Araqit's just that alloc is faster if you don't need the sharing
23:18:00MFlamerok, that makes sense. Need to make sure shared alloc is in a place thats safe from each thread
23:18:47Araqwell allocShared acquires a lock if that's what you're talking about
23:18:54Araqit is thread safe
23:19:10MFlamergot it
23:24:45*shevy left #nimrod ("I'll be back ... maybe")
23:29:34BitPuffinAraq: Does allocShared make use of TLS if available?
23:29:39BitPuffinI mean alloc
23:29:40BitPuffin*
23:29:54Araqyes
23:29:59BitPuffinwell
23:30:12BitPuffinthen that's another thing to be aware of for MFlamer I guess
23:31:05Araqwhy?
23:31:42BitPuffindunno, good to know I think
23:32:14Araqit's irrelevant
23:32:25BitPuffinI don't think so
23:32:32BitPuffinI mean it doesn't change the code
23:32:40BitPuffinbut it's nice to know that it will do the right thing
23:34:43Araqwell I need to sleep now. good night guys
23:35:04BitPuffingood night!
23:35:33MFlamerWhats TLS?
23:35:43BitPuffinMFlamer: thread local storage
23:35:54MFlamerok, got it
23:36:15MFlamerso it could be cached on a core or something?
23:37:10MFlamerI guess all I need to know is that it's not appropriate for shared use for the moment.
23:37:42BitPuffinMFlamer: Well no, for shared you should use allocShared
23:38:19BitPuffinMFlamer: http://en.wikipedia.org/wiki/Thread-local_storage
23:38:35MFlamerYes, I get that. allocShared vs. alloc
23:40:11MFlamerOK, thanks that's pretty straight forward.