<< 22-02-2014 >>

00:01:35Araqoh lol it still generates a superfluous AsgnInt to a dead register
00:03:09EXetoCthe word superfluous is trending right now
00:03:22Araqyeah but I started the trend
00:03:49EXetoCok you win
00:03:59AraqI looked it up once and not knowing how common it is in english I started a new trend
00:05:11OrionPKi feel like it's not uncommon
00:05:19OrionPKit's not archaic or anything
00:12:10*Matthias247 quit (Read error: Connection reset by peer)
00:13:48vbttsuperfluous is superfluous
00:14:04vbttyou can use redundant
00:14:09vbttbut that too, is redundant
00:14:19vbttbecause, they're all unnecessary
00:14:53renesacare you sure they aren't needed?
00:15:22vbttjoking, trying to play on words - superfluous, redundant and unnecessary are close in meaning.
00:15:47renesacyep, I added a third: "unneeded" (well, I meant to )
00:16:09renesac(I would spell it wrong..)
00:16:21vbttlooks correct
00:16:34renesacyeah, but it was not my first hunch
00:16:37vbttthere are subtle differences perhaps
00:17:05renesacto many redundant letters
00:17:13renesac*too
00:17:31vbttsuperfluous implies unnecessary because of a certain reason - it is excessive.
00:18:24vbttbtw, what is the purpose of CAAS? for editors/ides?
00:18:58OrionPKyep
00:19:05OrionPKwell
00:19:15vbttor something else?
00:19:16OrionPKi shouldnt answer so quickly
00:19:44Araqvbtt: how would you implement a go-like 'select' statement?
00:19:45vbtti imagined the compiler compiling stuff i save to disk and auto-updating a web dashboard with 'current' compilation errors
00:20:37Araqeach channel supports "listeners" and the select statement registers as a listener?
00:20:54vbttAraq: are you asking the implementation or the semantics exposed by it?
00:21:17Araqimplementation when all you have is condition variables
00:21:49vbtthmm interesting question - never thought about it.
00:22:01vbttcos you want to wait on multiple condition variables simultaneously.
00:22:43Araqyeah well you give the channel a pointer to your condvar
00:22:57Araqand then 'send' signals that
00:23:00vbttperhaps - when select(a, b) is called, it attaches an additional shared condition variable to both channels?
00:23:18Araqyup
00:24:22vbttwell the channel should have a list of condvars. initially it will be empty but if you make any call that waits on that channel, it will inject a condvar (associated with this call) into the channel.
00:24:52vbttand send() fires all condvars in the channel's list.
00:24:56vbttanyway, i g2g now.
00:25:00Araqyup
00:25:02Varriountrenesac: Are you making a BigInt implementation for Nimrod?
00:25:05Araqok, same here
00:25:08Araqgood night
00:25:10renesacVarriount, yes
00:25:11vbttgood night.
00:25:16*vbtt quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
00:27:26*Varriount does a jig around renesac
00:27:38renesacand I really need an toHex for things other than 'int'
00:27:40renesac:P
00:27:47renesacgoing implement it now
00:28:15renesachum, though I may cast around
00:29:27*ics quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
00:32:42Varriountrenesac: Are you using gmp as a base? Or a pure nimrod implementation?
00:32:48renesacpure nimrod
00:32:53VarriountOoo
00:33:15renesacit's not very dificult to do the base algorithms
00:33:37renesacI may implement katsuraba multiplication and a fast factorial algorithm latter though
00:34:09Araqhell ya, kamasutra multiplication
00:35:05renesacAraq, in math.nim there is already a fac(), should I "C-namespace" BigNum's fac()?
00:35:24Araqno
00:36:04renesacwon't it clash with normal nimrod import?
00:36:24Araqdo we have overloading resolution or what?
00:36:34renesacfor return type?
00:36:56Araqno but we have lots of other ways too
00:37:01Araqmodule.fac(x)
00:37:08Araqimport module except fac
00:37:16renesacok
00:37:56NimBotAraq/Nimrod vm2_2 8036483 Araq [+0 ±8 -0]: renamed noStackFrame to asmNoStackFrame
00:37:56NimBotAraq/Nimrod vm2_2 ef8a298 Araq [+0 ±9 -0]: vm2: new representation of registers
00:37:56NimBotAraq/Nimrod vm2_2 2f64955 Araq [+0 ±4 -0]: fixed opcConv
00:37:56NimBotAraq/Nimrod vm2_2 3918bc5 Araq [+0 ±1 -0]: simple macros work again
00:37:59*xenagi joined #nimrod
00:38:07Araqgood night
00:38:11Araq(this time for real)
00:38:19dom96vm2_2?
00:38:29dom96Why don't you just reuse the vm2 branch?
00:43:56Varriountvm2-2 ... Sounds like worlds 2-2 in Mario
00:46:57*io2 quit ()
00:51:47*carum quit (Remote host closed the connection)
00:51:57*carum joined #nimrod
00:53:27dom96'night
00:58:23*carum quit (Remote host closed the connection)
00:59:45*ddl_smurf quit (Quit: ddl_smurf)
01:13:36*carum joined #nimrod
01:20:04*skyfex joined #nimrod
01:24:05renesacError: type mismatch: got (BResult, string, BResult)
01:24:06renesacbut expected one of:
01:24:06renesacbignum.value=(x: var BResult, val: BDigit)
01:24:14renesacthis line: tmp.value = not tmp.value
01:24:28renesacif I remove the 'not' operator, the error goes away
01:24:33*skyfex quit (Ping timeout: 252 seconds)
01:25:33renesacok, I should have converted to BDigit anyway, but still, the 'string' out of nowhere was bizarre
01:26:06renesacproblem solved
01:41:24*DAddYE quit (Remote host closed the connection)
01:41:59*DAddYE joined #nimrod
01:46:17*DAddYE quit (Ping timeout: 252 seconds)
01:46:31*carum quit (Remote host closed the connection)
01:47:43*nequitans_ joined #nimrod
01:54:16*nequitans_ quit (Ping timeout: 252 seconds)
02:17:00*carum joined #nimrod
02:22:19*carum quit (Ping timeout: 252 seconds)
02:26:21*xenagi quit (Quit: Leaving)
02:38:09skrylarAraq: is the specialness of 'debugEcho' usable by other code?
02:38:42skrylarI was wondering if it was possible to put the same tag on a logging framework so one could use it in noSideEffect functions
02:46:29*carum joined #nimrod
02:50:57renesacskrylar, http://forum.nimrod-lang.org/t/329/3
02:51:26renesacops
02:52:17renesac*it was right
02:53:21skrylari'll have to test that some time later
02:53:53skrylari have to think about the best way to handle multiple threads trying to log at once
03:01:19skrylarrenesac: i also wondered about attaching effects to already defined functions
03:01:44skrylarlike if you introduce the tag 'realtime' for realtime-safe methods, being able to stuff that on other functions you've analyzed
03:01:51skrylari don't think that can be done without jinkery though
03:04:41*cark quit (Ping timeout: 240 seconds)
03:04:41*cark joined #nimrod
03:08:33*Trixar_za quit (Ping timeout: 245 seconds)
03:09:12*nequitans_ joined #nimrod
03:09:46*DAddYE joined #nimrod
03:17:44*Trixar_za joined #nimrod
03:20:52*skyfex joined #nimrod
03:21:36*q66 quit (Quit: Leaving)
03:25:02*skyfex quit (Ping timeout: 252 seconds)
03:27:33*psquid quit (Ping timeout: 272 seconds)
03:27:49*psquid joined #nimrod
04:25:25*ninjin joined #nimrod
04:27:51*DAddYE quit (Remote host closed the connection)
04:27:53*ninjin quit (Client Quit)
04:28:17*DAddYE joined #nimrod
04:28:28*ninjin joined #nimrod
04:30:05*brson quit (Quit: leaving)
04:30:31*brson joined #nimrod
04:32:43*DAddYE quit (Ping timeout: 252 seconds)
04:35:54*DAddYE joined #nimrod
04:38:19ninjinAm I correct in that as-of-yet, there is no linear algebra library for Nimrod that links to say BLAS routines?
04:38:50ninjinThe closest thing I have found so far to a linear algebra library is: https://bitbucket.org/BitPuffin/linagl
05:07:30*BitPuffi1 joined #nimrod
05:10:03*BitPuffin quit (Ping timeout: 252 seconds)
05:21:47*skyfex joined #nimrod
05:26:38*skyfex quit (Ping timeout: 264 seconds)
05:56:49*aftersha_ joined #nimrod
06:12:05*DAddYE quit (Remote host closed the connection)
06:12:32*DAddYE joined #nimrod
06:13:29*nequitans_ quit (Ping timeout: 272 seconds)
06:17:15*DAddYE quit (Ping timeout: 253 seconds)
06:18:42*DAddYE joined #nimrod
06:18:57*xtagon quit (Quit: Leaving)
06:39:50*[1]Endy joined #nimrod
06:48:15*[2]Endy joined #nimrod
06:50:38*[1]Endy quit (Ping timeout: 264 seconds)
06:57:43*ics joined #nimrod
07:02:52*nande quit (Remote host closed the connection)
07:13:28*DAddYE quit (Remote host closed the connection)
07:13:57*DAddYE joined #nimrod
07:17:00Araqhi ninjin, I think that's correct but just ask babel
07:18:37*DAddYE quit (Ping timeout: 265 seconds)
07:19:39*Mordecai joined #nimrod
07:19:58*Mordecai is now known as Guest30473
07:19:58*psquid quit (Ping timeout: 252 seconds)
07:22:36*skyfex joined #nimrod
07:24:07Araqhi skyfex
07:27:19*skyfex quit (Ping timeout: 265 seconds)
07:32:47*runvnc quit (Ping timeout: 252 seconds)
07:42:53*aftersha_ quit (Quit: Computer has gone to sleep.)
07:50:30skrylaroh piss. lineinfo() returns a string, i thought it returned a tuple
07:51:35Araqyeah a tuple would make much more sense ...
07:56:34skrylarhrm. lineinfo() returns ???:-1,-1 anyway, and then emitting any code from a macro crashes the compiler regardless
08:05:38skrylarso I designed a logger for nimrod apps
08:05:59skrylarncurses consuming the screen made it painfully apparent that i can't debugEcho my way to victory
08:08:01Araqproc log(x: varargs[string, `$`]) = myfile.writeln(x)
08:08:32skrylarbut i have this fancy shit with customizable log pipelines and filtering now :S
08:08:38skrylarits too late to use cheap oneline hacks!
08:08:48*Araq just designed his own logging framework
08:12:58Araqyou know ... you can also override where stack traces are produced
08:13:48*aftersha_ joined #nimrod
08:24:09*runvnc joined #nimrod
08:37:55*[2]Endy quit (Ping timeout: 260 seconds)
08:46:53*BitPuffi1 quit (Ping timeout: 252 seconds)
08:53:48*aftersha_ quit (Quit: Computer has gone to sleep.)
09:02:04*carum quit (Remote host closed the connection)
09:09:51skrylarAraq: i had some other things i was wanting to put in; all though the line numbers one will be pending on that macro working
09:10:35skrylarAraq: i was also entertaining the idea of a macro one could pragma in to functions so they would print their parameters and return values (occasionally useful lisp thing), and one for partial profiling
09:20:31*skyfex joined #nimrod
09:39:03*askatasuna quit (Ping timeout: 260 seconds)
09:45:27NimBotAraq/Nimrod devel 2caafe5 Fabio Cevasco [+0 ±1 -0]: pegs.findAll iterator fix... 2 more lines
09:45:27NimBotAraq/Nimrod devel 3985f89 Fabio Cevasco [+0 ±1 -0]: Rewrote the changes to findAll using if/else
09:45:27NimBotAraq/Nimrod devel e4d4d92 Andreas Rumpf [+0 ±1 -0]: Merge pull request #948 from h3rald/patch-1... 2 more lines
09:50:23NimBotAraq/Nimrod devel b0bcf05 Grzegorz Adam Hankiewicz [+0 ±2 -0]: Checks that exported symbols are valid C identifiers. Refs #800.
09:50:23NimBotAraq/Nimrod devel 1272044 Grzegorz Adam Hankiewicz [+0 ±2 -0]: Addresses issues raised on #947. Refs #800.... 4 more lines
09:50:23NimBotAraq/Nimrod devel 24f5700 Andreas Rumpf [+0 ±1 -0]: Merge pull request #947 from gradha/pr_checks_bad_exported_symbols_800... 2 more lines
10:05:36Araqskyfex: so your solution is to disallow 'return' in 'finally'?
10:07:07skyfexAraq: No, not really, just thought it could be discussed. I'm going to try to solve it regardless.
10:07:43skyfexAnd the C code generator should handle it even if there were a check, or an option for a check in the semantic pass ;)
10:10:54Araqno I disagree. It's more important to fix the bug so that you can go on with more important bugs :P
10:11:16Araqso if disabling 'return' in 'finally' solves it, that is a fine solution to me
10:11:48Araqperfection is the enemy of the good
10:13:35Araqalternatively we could make 'return' in a finally consume the potential exception
10:13:57Araqwhich is what the programmer wrote anyway
10:16:31*Matthias247 joined #nimrod
10:18:08*aftersha_ joined #nimrod
10:20:39skyfexInteresting, that's actually what javascript does
10:20:54skyfexOr.. in chrome.. I don't know if it's defined by the standard or not
10:21:11skyfexBut it makes sense in an interpreted language at least
10:22:46*askatasuna joined #nimrod
10:25:14*aftersha_ quit (Quit: Computer has gone to sleep.)
10:27:54skyfexOhhh.. I actually think we can't solve it with the current approach in the C generator.. to get the code to execute in the right order, we need to emit the code for the inner finally first, then the outer.. but to get the right return to execute, the return statements for the outer finally has to come first.. so it's a contradiction
10:28:34skyfexTo handle it right, maybe return would have to throw some kind of dummy exception that could be handled by potential finally statements
10:28:58skyfexThat might be a way to avoid code-duplication too
10:36:11Araqyes and modula 3 defines the semantics of 'break' and 'return' via 'raise' iirc to nail down their interactions
10:36:39Araqhowever, raising a dummy exception is a desaster for perforrmance
10:36:58Araqso don't fix it this way please, keep things fast
10:37:02*aftersha_ joined #nimrod
10:37:15Araqif the edge case is then not supported "properly", so be it
10:38:34*ddl_smurf joined #nimrod
10:50:52*ddl_smurf quit (Quit: ddl_smurf)
10:59:52Matthias247zahary: can you tell me something about linker errors for a missing main function when I try to use the CAAS functionality?
11:06:59*aftersha_ quit (Quit: Computer has gone to sleep.)
11:09:36*ddl_smurf joined #nimrod
11:17:48*io2 joined #nimrod
11:24:16*ddl_smurf quit (Quit: ddl_smurf)
11:27:50*brson quit (Ping timeout: 264 seconds)
11:36:26*[1]Endy joined #nimrod
11:46:15zaharyMatthias247: I assume you tried to recompile the project? probably the main function was indeed missing from the regenerated source code
11:46:36zaharyI would look into the nimcache directory to see what's going on
11:47:29Matthias247zahary: it looks like this: https://gist.github.com/Matthias247/9152671
11:47:54Matthias247i start caas and then ask for suggestions
11:49:13Matthias247oh, typo there (min.nim), but fixing it doesn't change anything
11:53:20zaharysuggest shouldn't really try to link the program, so that's unexpected
11:53:46Matthias247yep, didn't expect that it calls gcc at all
11:54:40Matthias247and the files in nimcache don't contain a main(argc, argv) )
11:56:16Matthias247if I call "compile" it will crash the server process due to the linker error. And that should not invoke gcc either beccause the nimrod code contains errors
12:06:02*q66 joined #nimrod
12:17:11Matthias247zahary: and somehow the error does no longer show up from my pyhton subprocess connection to the idetools server. But it shows up when i use it from the shell
12:17:13*BitPuffi1 joined #nimrod
12:21:02NimBotVarriount/NimLime caas d4a15d1 Matthias Einwag [+1 ±0 -0]: first caas code
12:21:02NimBotVarriount/NimLime caas 25b7731 Matthias Einwag [+0 ±2 -0]: Further Caas work
12:21:02NimBotVarriount/NimLime caas 3fd5892 Matthias Einwag [+0 ±2 -0]: Fixed bugs in the Caas branch. Now works basically - until it hangs :)
12:23:15*ddl_smurf joined #nimrod
12:38:59*cark quit (Ping timeout: 240 seconds)
12:40:05*foodoo joined #nimrod
12:48:05*darkf quit (Quit: Leaving)
12:50:38*BitPuffi1 quit (Ping timeout: 264 seconds)
12:51:06*aftersha_ joined #nimrod
12:52:20*Guest30473 quit (Quit: work)
12:55:27dom96hello
12:56:31foodoohello
13:00:47*ddl_smurf quit (Quit: ddl_smurf)
13:03:04EXetoChello
13:10:19rixxhello
13:11:06foodooI am foodoo and I greet my fellow Nimrodholics anonymous
13:13:55*ddl_smurf joined #nimrod
13:20:01*dom96 stands up
13:20:19dom96My name is Dom and I am a Nimrodholic.
13:22:37*ddl_smurf quit (Quit: ddl_smurf)
13:23:54*zahary1 joined #nimrod
13:24:17*noam__ joined #nimrod
13:24:21*Matthias247_ joined #nimrod
13:26:56*Matthias247 quit (Ping timeout: 265 seconds)
13:27:32*zahary1 quit (Client Quit)
13:27:54*noam_ quit (Ping timeout: 265 seconds)
13:29:41reloc0i just wrote my first (non-tutorial) program in nimrod, it's a cool language. thanks :)
13:31:08dom96reloc0: Awesome :D
13:32:13reloc0i really like that it feels better than most other statically typed languages
13:41:19*shano joined #nimrod
13:47:11dom96hello shano
13:53:49*nequitans_ joined #nimrod
13:56:28*aftersha_ quit (Quit: Computer has gone to sleep.)
13:56:36*zielmicha-cloud_ quit (Quit: Connection closed for inactivity)
13:56:51*Clinteger\c quit (Quit: Connection closed for inactivity)
13:57:44*Clinteger\c joined #nimrod
13:57:44*Clinteger\c quit (Changing host)
13:57:44*Clinteger\c joined #nimrod
13:58:21*askatasuna quit (Ping timeout: 272 seconds)
14:07:56*zahary1 joined #nimrod
14:08:57*zahary1 quit (Client Quit)
14:09:31*Clinteger\c quit ()
14:09:48*Clinteger\c joined #nimrod
14:10:12*Clinteger\c is now known as Guest25815
14:11:42*Guest25815 quit (Client Quit)
14:12:10*Clinteger\c_ joined #nimrod
14:12:10*Clinteger\c_ quit (Client Quit)
14:15:20*Clinteger\c joined #nimrod
14:15:26*Clinteger\c quit (Changing host)
14:15:26*Clinteger\c joined #nimrod
15:02:22*NimBot joined #nimrod
15:02:57*vendethiel joined #nimrod
15:10:45*ub1k joined #nimrod
15:13:24*vendethiel quit (*.net *.split)
15:13:24*Varriount_ quit (*.net *.split)
15:13:24*betawaffle quit (*.net *.split)
15:13:24*iNode001 quit (*.net *.split)
15:13:25*ninjin quit (*.net *.split)
15:13:25*Discoloda quit (*.net *.split)
15:13:25*bstrie_ quit (*.net *.split)
15:13:26*eigenlicht quit (*.net *.split)
15:13:26*Endy quit (*.net *.split)
15:13:27*Varriount quit (*.net *.split)
15:13:27*EXetoC quit (*.net *.split)
15:13:28*zahary quit (*.net *.split)
15:13:28*dom96 quit (*.net *.split)
15:13:29*Arcanum_za quit (*.net *.split)
15:13:29*Amrykid quit (*.net *.split)
15:13:29*profmakx quit (*.net *.split)
15:13:29*Kooda quit (*.net *.split)
15:13:29*oal quit (*.net *.split)
15:13:29*reactormonk quit (*.net *.split)
15:13:29*reloc0 quit (*.net *.split)
15:13:30*epsylon quit (*.net *.split)
15:13:30*Raynes quit (*.net *.split)
15:13:30*phI||Ip quit (*.net *.split)
15:13:30*silven quit (*.net *.split)
15:13:31*zahary__ quit (*.net *.split)
15:13:31*noam__ quit (*.net *.split)
15:13:31*skyfex quit (*.net *.split)
15:13:31*Araq quit (*.net *.split)
15:13:32*OrionPK quit (*.net *.split)
15:13:32*comex quit (*.net *.split)
15:13:32*tumak quit (*.net *.split)
15:13:33*ics_ quit (*.net *.split)
15:13:33*Matthias247_ quit (*.net *.split)
15:13:33*q66 quit (*.net *.split)
15:13:33*runvnc quit (*.net *.split)
15:13:33*fowl quit (*.net *.split)
15:13:33*skrylar quit (*.net *.split)
15:13:33*aftershave_ quit (*.net *.split)
15:13:34*Roin_ quit (*.net *.split)
15:13:34*nequitans quit (*.net *.split)
15:13:34*rixx quit (*.net *.split)
15:13:34*Sorcy quit (*.net *.split)
15:13:35*rndbit quit (*.net *.split)
15:13:35*krusipo quit (*.net *.split)
15:13:35*mal`` quit (*.net *.split)
15:18:24*brihat quit (Ping timeout: 245 seconds)
15:24:12*Zuchto joined #nimrod
15:38:06*NimBot joined #nimrod
15:38:34*OrionPK quit (Ping timeout: 264 seconds)
15:39:13*zahary__ quit (Read error: Connection reset by peer)
15:39:45*zahary__ joined #nimrod
15:44:23*noam__ quit (Ping timeout: 264 seconds)
15:45:57*Endy quit (Ping timeout: 260 seconds)
16:00:47*NimBot joined #nimrod
16:50:48*NimBot joined #nimrod
16:51:31*mal`` joined #nimrod
17:07:05*NimBot joined #nimrod
17:07:34*Zuchto joined #nimrod
17:07:53*[1]Endy joined #nimrod
17:19:43*NimBot joined #nimrod
17:21:15NimBotAraq/Nimrod devel 8588d83 Dominik Picheta [+0 ±7 -0]: Implemented selector support for asyncio2.
20:08:34*NimBot joined #nimrod
20:08:50Varriount_Hi guys
20:08:57*Varriount_ is now known as Varriount
20:09:07*Varriount hugs NimBot
20:09:12dom96hi Varriount
20:09:44EXetoCNimBot: while true: discard alloc(10)
20:10:04foodooEXetoC: He doesn't execute code. He only logs the IRC channel
20:11:14dom96EXetoC: You think that the sophisticated AI that is NimBot can be tricked this easily? You better not anger it with your foolishness.
20:11:46Demoswell XMPP is a chat protocol and IRC also a chat protocol. Looking at the XMPP spec it seems to want to do everything reguarding chat and yet IRC is still around. I do not have a scientific paper or anything.
20:11:50foodooEXetoC: yes, or the confusion of languages will be brought over you
20:12:11foodooDemos: okay. Was just wondering :)
20:13:28foodooDemos: But just look how crappy ICQ is. It's also still around
20:14:05foodooAnd IRC used to be much bigger. Nowadays it's just Freenode. All the other networks are pretty much irrelevant
20:14:17foodooyou might still consider irc.mozilla.org relevant
20:14:24Demosnever used ICQ. My point was that IRC is pretty good for what people use it for (big chatrooms)
20:14:33foodooyeah, I like IRC
20:14:38foodooBut I also like Jabber
20:15:02foodooIf I have enough time, I actually want to try and build a Jabber client in Nimrod
20:17:44foodooI think MUC in Jabber hasn't really taken off yet. That's why IRC ist still around
20:18:09VarriountMUC?
20:18:15foodoomulti user chat
20:18:21Demosmulti-user-chat according to google
20:18:26foodoo(XMPP terminology)
20:18:51*shano quit (Read error: Operation timed out)
20:18:55Varriountdom96: What environment variable controls the babel path?
20:19:14dom96Varriount: None do.
20:19:27*Varriount stares at dom96
20:20:07Matthias247_however I wonder even more why maililng lists are still used. I find them terrible :)
20:20:18VarriountMatthias247_: Who knows
20:20:36dom96oh god I hate mailing lists.
20:20:51*foodoo doesn't like mailing lists either
20:21:12dom96They make sense when you're only using email I guess
20:21:22Varriountdom96: I need a way to dictate what paths babel uses to download and install
20:21:50VarriountIf I am to add babel support to testament
20:22:26dom96Why not just do the stuff manually?
20:22:41dom96Read packages.json, clone the git repos, and build the nimrod files.
20:23:06dom96Well. I guess babel makes things a lot easier...
20:23:35VarriountBecause aside from it being conveniant for testament, *I* need it for my dual-32/64 bit setup
20:24:45dom96You just want to tell it where to install the packages right?
20:24:58VarriountAnd binaries.
20:25:23dom96Yes, packages includes binaries.
20:25:48dom96Add a switch to babel then to do that.
20:28:11foodooVarriount: What is testament? (Besides another nice pun)
20:34:57dom96foodoo: It's Nimrod's tester
20:35:08*Clinteger\c quit (*.net *.split)
20:35:09*JStoker quit (*.net *.split)
20:35:13foodooUnit testing?
20:35:43dom96It compiles and runs some of the .nim files in the tests/ dir
20:35:51dom96And then generates a report.
20:39:36*aftersha_ quit (Quit: Computer has gone to sleep.)
20:42:50*Demos quit (*.net *.split)
20:42:51*mal`` quit (*.net *.split)
20:42:54*bstrie_ quit (*.net *.split)
20:42:56*ninjin quit (*.net *.split)
20:44:44*DAddYE joined #nimrod
20:53:32*DAddYE_ joined #nimrod
20:53:54*Demos joined #nimrod
20:53:55*mal`` joined #nimrod
20:53:55*bstrie_ joined #nimrod
20:53:55*ninjin joined #nimrod
20:55:25*DAddYE quit (*.net *.split)
20:56:59*noam_ is now known as noam
21:00:18skrylardom96: i should have a basic logging library up on github later
21:00:40dom96skrylar: I hope you realise that the stdlib already has one.
21:00:49skrylardom96: i didn't see one
21:00:57skrylardoes it log to databases and such
21:01:16dom96https://github.com/Araq/Nimrod/blob/devel/lib/pure/logging.nim
21:01:17dom96nope
21:01:44skrylar"if this library does not fulfill your needs, write your own" :P
21:04:27dom96:)
21:04:36fowldom96, wont the debug template interfere with when defined(debug)
21:06:08dom96yes
21:06:33dom96We need two separate versions of defined() IMO
21:13:01*carum joined #nimrod
21:13:54profmakxisit possible to make nimrod use a compiler other than gcc?
21:14:03profmakxor, gcc, but under a different name
21:14:07profmakxlike gcc46
21:16:59*mal`` quit (*.net *.split)
21:17:02*bstrie_ quit (*.net *.split)
21:17:04*ninjin quit (*.net *.split)
21:17:29Demosprofmakx, yes, use the --cc option when compileing
21:17:58DemosI think --cc:ucc will use the value of the CC env var, probably assuming gcc-like command line syntax
21:18:47*profmakx made a symlink gcc46 -> gcc for bootstrapping
21:19:03dom96I think you may also be able to change it in the nimrod.cfg file by writing 'gcc.exe = "gcc46"'
21:20:06profmakxmhmpfh
21:22:06profmakxyeh
21:22:08profmakxthat world
21:22:11profmakxworked
21:22:17profmakxfeels less hacky
21:29:24*ics_ quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
21:34:33renesacwhere nimrod.cfg is on linux?
21:34:50Varriountprofmakx: Symlinks ftw
21:36:20Araqrenesac: /usr/lib/etc/whyTheFuckIsUnixStillALive
21:36:44Matthias247_because there's no AraqOs? :)
21:37:10renesacnothing here, I did't install nimrod globally though
21:37:35renesacit is running from the local github clone bin path
21:37:52AraqI think the compiler even tells you whenever it compiles something
21:38:22EXetoC/usr/lib/goodalternatives?lolwut
21:38:26renesacoh, indeed
21:39:03renesacit is in /config/nimrod.cfg
21:39:21renesac*from the github clone dir
21:39:50dom96which reminds me, the nimrod config files need to go into /etc/nimrod/
21:39:52dom96not /etc/
21:40:09EXetoCoes it matter?
21:41:46dom96yes. It matters for package guidelines.
21:42:09Araqdom96: actually I think it should go into /etc/nimrod$version
21:42:17dom96Araq: no
21:42:31dom96Araq: Package managers deal with versions
21:43:07Araqok w/e
21:43:16dom96And if you are upgrading Nimrod and the config file is different the package manager will ask you what you want to do.
21:44:04Araqyeah I've seen that working once or twice
21:44:15Araqmakes no sense for a server OS bug *shrug*
21:44:56dom96Araq: I pushed the code which crashes on linux.
21:45:03dom96Just compile and run asyncio2
21:46:48Araqperhaps later
21:47:13dom96sure
22:05:48*Clinteger\c joined #nimrod
22:05:49*JStoker joined #nimrod
22:07:13*Matthias247_ quit (Read error: Connection reset by peer)
22:10:12skyfexAraq: What happens if raised exceptions are not popped off? Just memory leak? Is there some way I could detect that in a test for testament
22:10:47*xenagi joined #nimrod
22:11:08Araqskyfex: sorry, I dunno. Yes that's a memory leak then
22:14:56*brson joined #nimrod
22:15:10skyfexok, we'll just have to go without a test for that then.. I think I've finally got this try-finally thing nailed. Test suites passes, but I know there's that memory leak, just need to generate that popCurrentException in the right spots
22:15:54skyfexWasn't much change.. just had to do some acid to wrap my head around it ;P
22:16:32*Clinteger\c quit (*.net *.split)
22:16:33*JStoker quit (*.net *.split)
22:17:20*carum quit (Remote host closed the connection)
22:17:35skyfexDijkstra is rolling in his grave
22:19:36*zahary__ joined #nimrod
22:25:16*ninjin joined #nimrod
22:28:19*mal`` joined #nimrod
22:31:46*DAddYE_ quit (Remote host closed the connection)
22:32:21*DAddYE joined #nimrod
22:32:34*bstrie joined #nimrod
22:36:59*DAddYE quit (Ping timeout: 252 seconds)
22:46:53*q66 quit (Ping timeout: 252 seconds)
22:47:59*foodoo quit (Ping timeout: 252 seconds)
22:55:00*brihat joined #nimrod
23:01:15*xenagi quit (Read error: Connection reset by peer)
23:05:52*psquid joined #nimrod
23:05:58*psquid quit (Changing host)
23:05:58*psquid joined #nimrod
23:07:11*q66 joined #nimrod
23:14:33*tinAndi joined #nimrod
23:18:12*brihat quit (Read error: Connection reset by peer)
23:21:21*brihat joined #nimrod
23:36:45*q66 quit (Quit: Leaving)
23:46:44*Clinteger\c joined #nimrod
23:46:44*JStoker joined #nimrod
23:52:37*io2 quit ()
23:58:32*Clinteger\c quit (*.net *.split)
23:58:32*JStoker quit (*.net *.split)