<< 02-03-2014 >>

00:04:25*r0b1 quit (Ping timeout: 264 seconds)
00:21:35*darkf joined #nimrod
00:23:12*brson quit (Quit: leaving)
00:27:20*nequitans_ joined #nimrod
00:31:41*nequitans_ quit (Ping timeout: 252 seconds)
00:43:11*Matthias247 quit (Read error: Connection reset by peer)
00:55:03*zahary joined #nimrod
00:57:37*io2 quit (Ping timeout: 240 seconds)
01:04:42*EXetoC quit (Quit: WeeChat 0.4.3)
01:22:57*r0b1 joined #nimrod
01:24:46*ddl_smurf quit (Quit: ddl_smurf)
01:29:28*brson joined #nimrod
01:38:41*askatasuna quit (Quit: WeeChat 0.4.2)
01:59:27skrylarrenesac: Rust is supposed to get a form of compiler extensions that allow modifying the AST too, but thats 1) in the mythical "someday after forever" todo bin and 2) a separate plugin thing
01:59:44fowlrust has macros doesnt it
01:59:55skrylarfowl: crippled macros
02:00:04fowlthey looked ghastly
02:00:05skrylarthey're second class citizens and they have loads of restrictions
02:00:31*BitPuffin joined #nimrod
02:01:13*xenagi joined #nimrod
02:01:29skrylaranyhow time to disappear under a shoebox, OS reinstalling and all that
02:01:33*skrylar quit (Quit: leaving)
02:21:39*Raynes quit (Excess Flood)
02:22:28*Raynes joined #nimrod
02:55:59*cark quit (Ping timeout: 240 seconds)
02:57:16*cark joined #nimrod
03:01:29*cark quit (Ping timeout: 240 seconds)
03:01:59*cark joined #nimrod
03:07:23*zahary quit (Ping timeout: 252 seconds)
03:26:21*Fr4n joined #nimrod
03:58:52*xtagon joined #nimrod
04:24:31*Raynes quit (*.net *.split)
04:26:09*Raynes joined #nimrod
05:17:14*fowl quit (Ping timeout: 252 seconds)
05:31:00*fowl joined #nimrod
05:36:07*Fr4n left #nimrod ("Leaving")
06:00:15*xtagon_ joined #nimrod
06:03:26*xtagon quit (Ping timeout: 252 seconds)
06:07:38*brson quit (Quit: leaving)
06:07:51*brson joined #nimrod
06:07:58*brson quit (Client Quit)
06:08:11*brson joined #nimrod
06:08:51*brson quit (Client Quit)
06:09:08*brson joined #nimrod
06:26:30*xtagon_ is now known as xtagon
06:46:11*brson quit (Quit: leaving)
06:46:28*brson joined #nimrod
06:47:30*brson quit (Client Quit)
06:47:45*brson joined #nimrod
06:51:30*brson quit (Client Quit)
06:51:46*brson joined #nimrod
06:58:00*brson quit (Ping timeout: 240 seconds)
07:11:53*xtagon quit (Read error: Connection reset by peer)
07:16:25*xenagi quit (Ping timeout: 240 seconds)
07:23:37*r0b1 quit (Ping timeout: 264 seconds)
07:38:06*Endy joined #nimrod
07:39:36*carum joined #nimrod
07:47:12*Demos quit (Read error: Connection reset by peer)
07:50:11*[1]Endy joined #nimrod
07:53:37*Endy quit (Ping timeout: 264 seconds)
07:53:37*[1]Endy is now known as Endy
07:55:42*zahary joined #nimrod
08:32:25*Endy quit (Ping timeout: 240 seconds)
08:39:35*zahary quit (Read error: Connection reset by peer)
08:39:37*zahary2 joined #nimrod
08:59:16*vendethiel quit (Quit: q+)
08:59:45*Mordecai joined #nimrod
09:00:05*Mordecai is now known as Guest84608
09:00:35*psquid quit (Ping timeout: 252 seconds)
09:04:12*r0b1 joined #nimrod
09:47:23*vendethiel joined #nimrod
10:32:11*io2 joined #nimrod
10:33:06*Matthias247 joined #nimrod
10:38:25*r0b1 quit (Ping timeout: 240 seconds)
10:42:50*carum quit (Remote host closed the connection)
10:58:25*q66 joined #nimrod
11:01:06*EXetoC joined #nimrod
11:09:49*BitPuffin quit (Ping timeout: 264 seconds)
11:11:38*Endy joined #nimrod
11:14:21*ddl_smurf joined #nimrod
11:17:29*q66 quit (Ping timeout: 252 seconds)
12:39:22*zahary joined #nimrod
12:40:54*zahary2 quit (Read error: Connection reset by peer)
12:53:55*ddl_smurf quit (Quit: ddl_smurf)
12:54:00*zahary2 joined #nimrod
12:54:13*zahary quit (Ping timeout: 264 seconds)
13:07:54*zahary joined #nimrod
13:08:49*zahary2 quit (Ping timeout: 240 seconds)
13:37:52*zahary quit (Ping timeout: 252 seconds)
13:40:40*ddl_smurf joined #nimrod
13:52:02*darkf quit (Quit: Leaving)
14:21:37*Guest84608 quit (Ping timeout: 240 seconds)
14:22:37*Guest84608 joined #nimrod
14:58:18*ddl_smurf quit (Quit: ddl_smurf)
16:00:33*zahary joined #nimrod
16:26:39*Kelet joined #nimrod
16:27:02KeletHi, I was wondering if anyone knew about something like messagepack, protobuf, capnproto, etc. for nimrod?
16:27:16KeletBasically I need to serialize/deserialize structures to send over a UDP socket
16:27:41KeletAnd I typically use one of the aforementioned (new to nimrod btw, looks nice!)
16:29:16dom96hello Kelet
16:29:34dom96There is an enet wrapper somewhere on github IIRC. Maybe you could use that?
16:30:01dom96https://github.com/fowlmouth/nimrod-enet/
16:32:36*BitPuffin joined #nimrod
16:39:16Keletdom96: Kind of. For example nimrod-enet expects data as a 'cstring'. I'm looking for something that can convert an object or an array to a cstring (or something like that) and converted back into the object so I can easily send it over a socket.
16:39:36dom96You can use the marshal module for that.
16:40:23*q66 joined #nimrod
16:42:55KeletYeah I saw that, but I'm not convinced by JSON serialization compared with compact binary serialization (http://msgpack.org/) as saving bandwidth is important in this scenario
16:43:08KeletMost of the other ones mentioned do something similar
16:44:36dom96You would need to write something yourself then or wrap one of those libraries.
16:45:02KeletYeah I was mostly just probing to see if something like that existed and I was possibly missing it
17:11:37*zahary quit (Ping timeout: 264 seconds)
17:19:51*shodan45 joined #nimrod
17:22:55shodan45anyone know if such a thing as methods that work on 2(+?) classes at once exists?
17:23:25shodan45(I know that's not really nimrod-related, but I figured this might be a good place to ask)
17:24:03renesacyou mean 'proc foo(x: type1|type2)' ?
17:25:26shodan45renesac: hmm, no - more like proc foo(x: xtype, y: ytype) - but would get called for either foo(x,y) or foo(y,x)
17:26:31renesachum, I think you need to overload
17:27:06shodan45like how other languages have an automatic "this" variable in method (java, etc) - is there such a thing as automatic "this1" and "this2"?
17:27:40renesacwell, nimrod don't have a class block (yet?)
17:28:27shodan45I coded something like this in python years ago for a game - say I wanted a function to run when 2 kinds of things intersected
17:28:29renesac'this' is normally the first argument
17:28:43EXetoC"proc p(x: T|U, y: T|U)"?
17:29:01renesacbut I don't understand what automatic 'this' have to do with that
17:29:26EXetoCso runtime then? well you can use a variant for example
17:29:40renesacEXetoC, but then it could be called with "p(T , T)"
17:30:36renesacshodan45, what is wrong with the overload method?
17:31:11shodan45iirc, I used a frozenset (an unordered tuple) of 2 things that intersected, and had functions "mapped" to each combination that could intersect
17:31:36renesacwell, python don't have overloading
17:31:51shodan45renesac: nothing - I'm just thinking theoretically :)
17:32:26renesacwell, this mapping is already done by nimrod, when you overload
17:33:13shodan45renesac: ok, interesting...
17:35:00*zielmicha joined #nimrod
17:35:35shodan45I suppose I could use some macro magic to also define the same function but with argument order swapped?
17:35:44shodan45err proc ;)
17:36:31shodan45I really should find that old python code....
17:36:36renesacmaybe even a template might suffice, I'm not sure
17:36:57EXetoCsounds like something that should be evaluated at runtime though, but maybe I'm wrong
17:37:30renesacthis would be something worthy of being in the stdlib/language, as I also needed it
17:38:16shodan45EXetoC: quite possible, I haven't thought this through... just woke up with it in my head ;)
17:38:58shodan45renesac: that would be cool... I guess what I want is a proc with "orderless" parameters
17:44:09*vbtt joined #nimrod
17:49:41*zahary joined #nimrod
17:50:39*r0b1 joined #nimrod
17:52:24vbtthello, what happened with gsoc?
17:53:24EXetoCwe weren't accepted. see the forum for an explanation
17:53:41vbttok
17:53:44vbttbummer
17:53:51EXetoCbut basically there were plenty of other good candidates
17:55:54vbttin programming languages? i'd really like to see them.
17:56:04vbttwhat's 'vouch' anyway?
17:58:31*r0b2 joined #nimrod
17:58:39*r0b1 quit (Ping timeout: 252 seconds)
18:01:59fowlvbtt, someone to speak for how cool we are
18:02:25vbttright, but who counts?
18:02:35vbttI mean, everyone on irc here can 'vouch' for us.
18:02:52fowloh
18:03:08fowlprobably someone with clout in the tech community, or a large twitter following or something
18:03:44vbttreading their faq 'googler or other organization'
18:03:54vbttanyway, g2g
18:04:00vbttlater, guys
18:04:00r0b2fowl: i can vouch for you
18:04:05*vbtt quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
18:04:15fowlr0b2, you already have, you're on my resume
18:04:37r0b2good
18:08:09*Mat3 joined #nimrod
18:08:18Mat3hi all
18:24:12*Demos joined #nimrod
18:25:49Demosshodan45, sounds like you want names parameters
18:26:37Demosindeed nimrod has named parameters
19:01:01Araqshodan45: you're looking for multi methods which nimrod supports via the 'method' keyword
19:05:53Mat3Araq: Have you take a look at the Julia language (specially there macro system) ?
19:06:38AraqMat3: not sure, I think so
19:13:46Mat3uno momento
19:29:30EXetoC".*" as a nimgrep pattern matches nothing. bug, right?
19:29:40Mat3Araq: http://docs.julialang.org/en/release-0.2/manual/metaprogramming/
19:30:23AraqEXetoC: you need to enable regexes
19:30:26fowlEXetoC, what should it match, hidden folders?
19:32:51EXetoCAraq: it's the default apparently
19:33:02EXetoCfowl: no it's the content pattern
19:33:23fowloh
19:33:59dom96EXetoC: Maybe your shell is doing something weird. Try escaping the characters.
19:34:36EXetoCdom96: no it's escaped
19:41:23EXetoCand has anyone been able to evaluate sub-patterns when replacing?
19:47:37*r0b2 quit (Ping timeout: 264 seconds)
19:50:59*Varriount_ joined #nimrod
19:52:50*Varriount quit (Ping timeout: 252 seconds)
20:45:13*Endy quit (Ping timeout: 264 seconds)
21:01:52*skyfex joined #nimrod
21:09:09*Varriount_ is now known as Varriount
21:10:00VarriountAraq: What do you want the tester to do when it can't find babel, or when babel errors?
21:10:43AraqVarriount: quit "babel failure"
21:14:04*BitPuffi1 joined #nimrod
21:14:11*BitPuffin quit (Read error: Operation timed out)
21:18:03Mat3ciao
21:18:10*Mat3 quit (Quit: Verlassend)
22:01:42*vendethiel quit (Quit: q+)
22:28:11VarriountAraq: Sent a PR for babel integration with testament. I would be grateful if you looked over it and made sure that I'm giving the right test information and so on.
22:28:58*filwit joined #nimrod
22:31:15AraqVarriount: will do it tomorrow
22:31:18Araqthanks
23:05:17NimBotAraq/Nimrod devel 6f6cf97 Araq [+0 ±1 -0]: bugfix: walkFiles on windows shouldn't yield directories
23:05:17NimBotAraq/Nimrod devel 44f5bd9 Araq [+2 ±2 -0]: better handling of packages, still incomplete
23:05:17NimBotAraq/Nimrod devel 414883e Araq [+0 ±5 -0]: the compiler is now aware of packages
23:05:17NimBotAraq/Nimrod devel cd2711d Araq [+0 ±3 -0]: Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
23:09:21VarriountAraq: I think my next goal will be to finally get a stat() like procedure, so we can have a flexible way of retrieving file information and so on.
23:09:58VarriountThat is, if my Composition 2 professor's scatterbrained assignments don't drown me in confusion first.
23:11:18profmakxthat sounds like music
23:13:49Matthias247Varriount: can't be worse than my work assignments ;)
23:14:48AraqVarriount: we really have much more pressing stuff to od
23:15:12Araqwhat about your libcef wrapper, for instance?
23:18:20*Amrykid quit (Changing host)
23:18:20*Amrykid joined #nimrod
23:19:10AraqVarriount: oh well 'stat' is a fine project, go on
23:20:46*Skrylar joined #nimrod
23:21:07Skrylarmeep
23:23:19*Skrylar scratches head at this beta program that has an expiration date. I kinda think its silly to have an expiration date on something you have to buy to use anyway
23:30:39NimBotAraq/Nimrod devel 4c3323c Grzegorz Adam Hankiewicz [+0 ±1 -0]: Avoids crash parsing unknown rst raw directive. Fixes #761.
23:30:39NimBotAraq/Nimrod devel a11ce3c Andreas Rumpf [+0 ±1 -0]: Merge pull request #969 from gradha/pr_avoids_crash_on_unknown_rst_directive... 2 more lines
23:31:57*Varriount meeps along with Skrylar
23:37:39AraqVarriount: if you add "babel" to the list of additionalCategories it will by run with 'tester all'
23:37:45Araqwhich it shouldn't do
23:41:51fowlbabel included with nimrod now??
23:45:51VarriountAraq: Oh. I thought that's what you wanted.
23:46:15Araqfowl: almost
23:50:20shodan45Araq: hah... indeed "method" is very close to what I want, and the manual even uses "collide" as an example
23:50:43*psquid joined #nimrod
23:51:37*Guest84608 quit (Ping timeout: 240 seconds)
23:52:09dom96Varriount: Why did you define a waitForExitEx?
23:53:44shodan45although really what I did in python let you define a single method for colliding 2 things in arbitrary order... hmm
23:54:01Varriountdom96: Because waitForExit doesn't work if the process has output
23:57:40*io2 quit ()