<< 15-06-2013 >>

00:01:04*XAMPP quit (Ping timeout: 252 seconds)
00:03:57*zz_fowl is now known as fowl
01:02:22*q66 quit (Remote host closed the connection)
01:07:57*EXetoC quit (Quit: WeeChat 0.4.1)
01:08:22*fowl is now known as zz_fowl
01:21:35*DAddYE quit (Remote host closed the connection)
01:29:44*zz_fowl is now known as fowl
02:22:51*DAddYE joined #nimrod
02:29:34*DAddYE quit (Ping timeout: 252 seconds)
03:03:20*DAddYE joined #nimrod
03:34:19*fowl is now known as zz_fowl
03:35:06*zz_fowl is now known as fowl
03:49:25*OrionPK quit (Quit: Leaving)
04:17:39*fowl is now known as zz_fowl
04:18:34*DAddYE quit (Remote host closed the connection)
04:39:29*DAddYE joined #nimrod
05:04:33*DAddYE quit (Remote host closed the connection)
05:05:06*DAddYE joined #nimrod
05:09:13*DAddYE quit (Ping timeout: 246 seconds)
05:24:29*durango quit (Quit: durango)
07:06:07*DAddYE joined #nimrod
07:10:29*DAddYE quit (Ping timeout: 256 seconds)
09:33:47*q66 joined #nimrod
11:05:29*gradha joined #nimrod
11:42:54*gradha quit (Quit: bbl, have youtube videos to watch)
13:00:57*EXetoC joined #nimrod
13:01:01*gradha joined #nimrod
13:23:30*ARCADIVS quit (Quit: WeeChat 0.3.8)
14:15:28*OrionPK joined #nimrod
14:56:13*Endy joined #nimrod
15:05:27*[1]Endy joined #nimrod
15:08:34*Endy quit (Ping timeout: 252 seconds)
15:08:34*[1]Endy is now known as Endy
15:22:46*gradha quit (Quit: bbl, have youtube videos to watch)
15:25:59EXetoCbig repository. think about all the dial-up users out there
15:26:28EXetoCI'm not saying I got dial-up. that's some ancient shit :>
15:29:32*durango joined #nimrod
15:33:47dom96EXetoC: clone with --depth 1
15:37:40EXetoCnah, it's no big deal
15:37:52EXetoCcool, examples just liek work n stuff
15:56:02dom96:)
16:01:08*DAddYE joined #nimrod
16:07:49*DAddYE quit (Remote host closed the connection)
16:20:08*durango quit (Quit: durango)
16:21:10*EXetoC quit (Read error: Connection reset by peer)
16:24:55*EXetoC joined #nimrod
16:52:56*dom96 quit (Quit: Bye.)
16:54:17*dom96 joined #nimrod
16:57:06*Endy quit (Ping timeout: 264 seconds)
17:00:48*Araq quit (Quit: Bye!)
17:01:04*Araq_bnc joined #nimrod
17:01:11*Araq_bnc is now known as Araq
17:03:25*Trix[a]r_za is now known as Trixar_za
17:08:57*DAddYE joined #nimrod
17:09:28*DAddYE quit (Remote host closed the connection)
17:09:35*DAddYE joined #nimrod
17:15:12*Endy joined #nimrod
17:19:02*Ricky_Ricardo joined #nimrod
17:19:13Araqhi Ricky_Ricardo, welcome
17:19:22Ricky_RicardoHi Araq
17:19:37EXetoCYO
17:19:46Ricky_RicardoJust read about Nimrod, thought I'd say hi. Seems like a cool project.
17:21:03Araqthanks; it's also *useful* ;-)
17:21:18dom96hello Ricky_Ricardo
17:21:43EXetoCcareful, he's biased :p
17:22:23EXetoChere's a less biased statement: it seems kinda epic
17:22:55Ricky_RicardoI'll say. So it can compile to ObC or C++? I read that somewhere but had trouble finding docs on it
17:23:18*Trixar_za is now known as Trix[a]r_za
17:23:28Ricky_Ricardops: Araq just followed you on Github
17:24:39dom96Ricky_Ricardo: http://build.nimrod-code.org/docs/nimrodc.html#importcpp-pragma
17:24:54dom96And http://build.nimrod-code.org/docs/nimrodc.html#importobjc-pragma
17:25:41dom96And you run 'nimrod cpp file.nim' (compile to C++) or 'nimrod objc file.nim' (compile to objective C)
17:25:53Ricky_Ricardomind = blown.
17:26:01EXetoCnot many languages have something like that, right
17:26:03Ricky_RicardoExperimental js support = more blown
17:27:23EXetoCC excluded of course. D for example has only basic C++ support
17:29:51dom96Yeah, nimrod has an advantage since it compiles to C. It doesn't take much to be able to compile to C++/ObjC (AFAIK)
17:30:39Ricky_RicardoI imagine static typed languages can be more flexible about compile targets than dynamically typed ones
17:30:51Ricky_RicardoAlthough, I don't know much about compilers
17:31:39*Trix[a]r_za is now known as Trixar_za
17:33:38Araqcompiling a dynamically typed language is much easier
17:33:47Araqthat's why we have so many of them
17:34:36Araqof course the creators are never honest about it and claim it's a feature that you have to do the type checking in your head ...
17:36:09Ricky_RicardoThat's actually how I found Nimrod in the first place. Got curious about looking into a static typed language (I'm a web developer, so most of my 9-5 work is js or Ruby)
17:36:11dom96Really? I can't think of many compiled dynamically typed languages. Aren't most interpreted?
17:36:13Ricky_Ricardothe list is pretty small
17:36:31Ricky_Ricardohttps://en.wikipedia.org/wiki/Category:Statically_typed_programming_languages where I found Nimrod
17:36:44Araqcompiling a dynamically typed language is very easy, dom96
17:37:02Araqcompiling it to machine that actually runs faster than an interpreter is not :-)
17:37:07Araq*machine code
17:37:33dom96oh cool. My wikipedia article is gaining users :D
17:38:07Ricky_RicardoWhat a small world
17:38:45dom96Araq: I see. I get what you meant now.
17:46:39reactormonk dom96 didn't see that
17:46:43AraqRicky_Ricardo: you also need to stargaze Araq/Nimrod
17:47:01Ricky_Ricardooh sure!
17:48:20Araqthank you
17:48:46Araqreactormonk: when do you want to merge your changes btw?
17:54:04reactormonkAraq, as soon as possible...
17:54:14reactormonkAraq, const InSystemModule = true
17:54:23reactormonk... to circumvent the hti hack
17:55:22Araqand then when defined(inSystemModule) ?
17:55:42reactormonkyup
17:56:34Araqalright looks good
17:57:11Araqyou know you can push your branch and nimbuild will run the test suite over it, right?
17:57:30Araqno need to merge into master for testing
17:57:39reactormonkcool
17:58:38reactormonkcan I allocate a global variable and store the exception there?
17:58:54Araqthat was my suggestion weeks ago :P
17:59:13reactormonkduh.
18:02:07reactormonkAraq, problem: what about exception objects that are too big?
18:03:12Araqthere are no big exception objects
18:04:17reactormonkobject Efoo of EBase: bar: int <- ?
18:05:22reactormonkdoes the compiler check that?
18:05:56Araqcheck what exactly?
18:06:25reactormonkif the data type is too big for the space allocated?
18:06:46Araqyeah I think so
18:07:18reactormonkhttp://sprunge.us/VUDA there we go.
18:07:36Araquh no way
18:07:40Araqthat doesn't work
18:07:42reactormonkaww
18:08:10Araqyou need to do: var invalidIndexEx: EInvalidIndex
18:08:48Araqand change the code quite a bit
18:10:05reactormonkEInvalidIndex?
18:10:57Araqwell you need to allocate 1 var per exception type
18:11:12Araqor hack it like this:
18:11:37Araqvar currentException: array [64, byte]
18:11:48Araq cast[exceptn](addr currentException)
18:12:00Araqin the newException template
18:12:26Araqwell the var is global, the cast is in the newException template
18:12:38reactormonkthat uses 64 byte every time you have a newException template?
18:12:43Araqno
18:12:47Araqonly once
18:12:51reactormonkoh
18:13:01Araqand you better have no exception that takes more than 64 bytes :P
18:13:08EXetoCno "return" needed? I didn't see that in the manual
18:13:10reactormonkI store the string somewhere else
18:13:16reactormonkEXetoC, special `result` variable
18:13:59reactormonkEXetoC, you can explicitly return if you dislike a bunch of if indenting
18:14:48EXetoCreactormonk: and in the code you posted?
18:15:46OrionPK"Cario" typo still on the homepage
18:16:01AraqOrionPK: I fixed it but didn't upload, sorry
18:16:06Araqwill do it later
18:16:13OrionPKit's okay, I'll let it slide this once
18:16:28OrionPK;P
18:16:44reactormonkEXetoC, that's a template
18:17:14*gradha joined #nimrod
18:17:52EXetoCright
18:18:28reactormonkAraq, but then I lose space check, don't I?
18:18:33EXetoCis there no constructor that does that already? or maybe base ctors can't be inherited
18:18:37Araqreactormonk: yes
18:19:00EXetoCthat's not what I meant. nevermind
18:19:02dom96gradha: I keep forgetting to tell you: I think your builder is failing. It hasn't built anything since may 19th.
18:20:07*Ricky_Ricardo quit (Quit: Ricky_Ricardo)
18:20:09gradhait's due to compiling without signal handlers
18:20:19dom96EXetoC: That is the constructor that does it for you. It's in the stdlib.
18:20:20gradhaat least it doesn't hang infinitely
18:20:35EXetoCright
18:21:29reactormonkAraq, does the exception contain runtime information?
18:25:54*DAddYE quit (Remote host closed the connection)
18:40:00*durango joined #nimrod
18:41:00gradhaAraq: what would be the usage scenario for idetools --eval? sort of "nimrod interactive" but inside an IDE and with a context?
18:53:14*durango left #nimrod (#nimrod)
18:58:36reactormonkAraq, trying to get the full exception into the PROGMEM... not so easy :-/
19:00:07gradhamaybe we need a yaml parser
19:09:13*Endy quit (Ping timeout: 246 seconds)
19:24:22Araqreactormonk: it contains type information
19:24:45Araqgradha: I didn't implement --eval, no idea what the use case is
19:25:02*Trixar_za is now known as Trix[a]r_za
19:27:04*DAddYE joined #nimrod
19:32:10*Trix[a]r_za is now known as Trixar_za
19:33:57*DAddYE quit (Ping timeout: 248 seconds)
19:50:17*Araq__ quit (Read error: Connection reset by peer)
19:50:47*Araq_ joined #nimrod
19:59:26reactormonkAraq, yup, but I plan on storing the exception created by newException somewhere else and return a ptr
20:07:56EXetoCmeep meep
20:08:14dom96meow meow
20:23:43EXetoCcat!
20:59:39*Trixar_za is now known as Trix[a]r_za
21:03:22*gradha quit (Quit: bbl, have youtube videos to watch)
22:13:53*DAddYE joined #nimrod
23:02:28*Araq__ joined #nimrod
23:04:23*Araq_ quit (Ping timeout: 240 seconds)
23:14:00*DAddYE quit (Remote host closed the connection)
23:14:32*DAddYE joined #nimrod
23:19:17*DAddYE quit (Ping timeout: 256 seconds)