<< 19-10-2014 >>

00:06:23*darkf joined #nimrod
00:07:23*quasinoxen quit (Quit: No Ping reply in 180 seconds.)
00:07:47*quasinoxen joined #nimrod
00:12:00*FreezerburnV quit (Quit: FreezerburnV)
00:17:34*quasinoxen quit (Quit: No Ping reply in 180 seconds.)
00:18:06*quasinoxen joined #nimrod
00:20:13*noam quit (Ping timeout: 260 seconds)
00:25:45*quasinoxen quit (Quit: No Ping reply in 180 seconds.)
00:26:09*quasinoxen joined #nimrod
00:41:25*quasinoxen quit (Quit: No Ping reply in 180 seconds.)
00:41:49*quasinoxen joined #nimrod
00:42:27*brson quit (Ping timeout: 246 seconds)
00:44:36*brson joined #nimrod
00:45:23*johnsoft quit (Ping timeout: 258 seconds)
00:46:10*johnsoft joined #nimrod
00:55:21*quasinoxen quit (Ping timeout: 258 seconds)
01:01:06*brson quit (Ping timeout: 240 seconds)
01:03:02*brson joined #nimrod
01:11:44*FreezerburnV joined #nimrod
01:12:20FreezerburnVIs there a way to have empty object variants?
01:18:08EXetoCFreezerburnV: as in no fields?
01:18:25FreezerburnVEXetoC: Yeah. Trying to create an Option type that can have Some or None
01:18:49FreezerburnV(couldn’t find any mention of something like tha tin the standard library so far, so I figured I’d try to make one)
01:21:47EXetoCjust add nil to the body
01:22:00EXetoCit should be discard but it doesn't work
01:22:55FreezerburnVAwesome, thanks!
01:23:38superfunc_yeah
01:24:04superfunc_FreezerburnV: http://github.com/superfunc/monad
01:24:11EXetoCthis doesn't rely on variants: https://github.com/fowlmouth/nimlibs/blob/master/fowltek/maybe_t.nim
01:25:52FreezerburnVsuperfunc_, EXetoC: Thanks a ton for the links. I’ll take a look at them (though I don’t know if my head is ready to be exploded by trying to comprehend monads again)
01:26:54superfunc_That's ok, the maybe type doesn't really require understanding monads to find it useful. The example code I wrote under examples/ may help clear things up a bit too
01:27:51FreezerburnVsuperfunc_: Will definitely take a look at it. Maybe I’ll get it a bit more with this attempt. I seem to get closer every time I try
01:28:36superfunc_Right on, be sure to hit me up if anything in there is confusing
01:28:48FreezerburnVThanks, will do!
02:09:27FreezerburnVIs there a way to copy/clone something into a new instance? Such as a TTable or TSet
02:09:47FreezerburnVI don’t see any methods in their modules that specifically do this
02:12:49VarriountFreezerburnV: Well, there's always memcpy
02:13:03FreezerburnVVarriount: Fair enough
02:13:07VarriountBut that would probably screw up GC
02:13:27VarriountAraq would know, but he's probably asleep
02:14:31FreezerburnVVarriount: Actually, looks like system might have an answer: shallowCopy
02:14:47FreezerburnVJust found it while looking for a wrapped memcpy in the system library
02:14:53EXetoCnot the same thing is it?
02:15:05EXetoCI think Table is a value type
02:15:56*elnerdo joined #nimrod
02:16:23superfunc_Why not just write a clone that iterates through the keys and copies? (Besides being slower)
02:16:45FreezerburnVI can, was just hoping there was something built in
02:17:28EXetoCwhat is the type in question?
02:17:49VarriountIf the type you want to copy is an object, and not a reference, simply assigning it to another variable will copy it.
02:18:01FreezerburnVTTable[someEnum, someStructRef]
02:18:17FreezerburnVGotcha
02:18:44VarriountWhich reminds me, I need to post an issue concerning string optimization
02:19:02EXetoCthere could be a standard way I guess, but it gets hairy with complex types
02:19:52EXetoCbut type reflection is indeed possible
02:20:36EXetoCsee the typeinfo module
02:20:46*saml_ joined #nimrod
02:27:28*flaviu quit (Remote host closed the connection)
02:38:00*brson quit (Quit: leaving)
02:42:33*rpag quit (Ping timeout: 260 seconds)
02:45:10VarriountHm. I wonder if typeinfo.fields iterates through private fields...
02:46:22VarriountFreezerburnV: If typeinfo.fields iterates through private fields, you should be able to put together a simple generic 'copy' procedure.
02:46:53VarriountOf course, it gets a bit complex if you want to do deep copying.
02:47:01FreezerburnVVarriount: By using the default = copy I assume. That could be useful
02:49:49FreezerburnVParallel for loop using `||` operation. That’s pretty darn cool.
02:50:32VarriountFreezerburnV: That's an untested & rarely used feature.
02:50:42VarriountI think it was more of a proof of concept.
02:51:05FreezerburnVVarriount: Gotcha. I found an article that compares nimrod to a few other languages in speed, and they used it in their code
02:51:12VarriountOr rather, not too tested. I know it's been used.
02:52:08VarriountFreezerburnV: I *think* (though I'm not sure) that the || operation is only meant to be used with numerical stuff.
02:52:12FreezerburnVI’m guessing it’s more idiomatic to manually spin up threads and use actors or something? (considering the homepage mentions thread local stuff and message passing)
02:52:50VarriountFreezerburnV: The latest nimrod versions have a new threading library that makes parallelizing simple tasks easy.
02:53:04VarriountAgain, it's not bee tested too much - it's relatively new.
02:53:11Varriount*been
02:53:41FreezerburnVFair enough
02:54:58VarriountFreezerburnV: Unfortunately, the dev team primarily consists of Araq. I try to help when I can, but I tend to either have my time taken up by classes, or get too distracted to be useful.
02:55:27FreezerburnVI have to say: Araq is a beast of a coder to have done most of this
02:56:04FreezerburnVIf I actually get good enough with nim, maybe I’ll try to contribute to the thread support. Actors, threading, etc. is something I’m generally pretty interested in
03:08:37FreezerburnVTime for bed. Night all
03:08:42VarriountGoodnight.
03:09:33*FreezerburnV quit (Quit: FreezerburnV)
03:27:57*kemet joined #nimrod
03:57:15*fowl joined #nimrod
04:16:32*kemet quit (Quit: Instantbird 1.5 -- http://www.instantbird.com)
05:01:37*johnsoft quit (Ping timeout: 260 seconds)
05:02:22*johnsoft joined #nimrod
05:03:02*saml_ quit (Ping timeout: 265 seconds)
05:06:58*elnerdo quit (Quit: Leaving.)
05:16:31VarriountAraq: I made the installer add mingw and aporia to the path variable. I also enhanced the error handling mechanism when a download fails - the user can select whether to retry the download, ignore the error, or abort the installation.
05:19:44superfunc_hey fowl, long time no speak
05:19:56fowlhello
05:20:11superfunc_hows it going?
05:21:34fowlits going alright
05:21:38fowlwhats up
05:26:10*gokr_ joined #nimrod
05:27:21*gokr quit (Ping timeout: 246 seconds)
05:38:13superfunc_not much, just messing around with different nim stuff
05:42:17*xenagi quit (Read error: Connection reset by peer)
05:49:49*elnerdo joined #nimrod
05:58:32*gokr joined #nimrod
05:58:49*jpoirier joined #nimrod
06:00:55*gokr_ quit (Read error: Connection reset by peer)
06:01:08*gokr_ joined #nimrod
06:02:42*gokr quit (Ping timeout: 246 seconds)
06:36:41AraqVarriount: that's great but where is your PR?
06:39:33VarriountAraq: One moment, my RDP connection cut out just as I was going to push the 'submit pr' button
06:39:55VarriountAraq: https://github.com/Araq/Nimrod/pull/1578
06:41:42Araqbtw how did you install plugins?
06:41:50AraqI copied them around manually
06:41:57*elnerdo quit (Quit: Leaving.)
06:42:48VarriountWell, the only plugin I needed was that zip one. I just put the DLL in the 'Plugins' folder, and the header in the 'Includes' folder
06:43:57VarriountAraq: Don't look at the EnvVarUpdate.nsh file too much, it's like staring into the depths of insanity.
06:46:25Araqok thanks
06:46:28Araqgotta go
06:46:33Araqsee you later
06:47:59VarriountGoodnight.
07:37:30VarriountAraq: You'll need to add babel/nimble to nimrod.ini
07:37:54*gokr_ quit (Ping timeout: 246 seconds)
07:41:20VarriountAraq: I still think hardcoding more data into the install file would be better.
07:43:52*gokr_ joined #nimrod
07:44:33VarriountHi gokr1
07:44:39VarriountEr, gokr_
08:03:22*jpoirier quit (Quit: Leaving)
08:08:11fowlVarriount, is bigbreak the branch to use at the moment?
08:08:17fowlfor nimrod
08:13:30*gokr_ quit (Ping timeout: 258 seconds)
08:14:24*Pisuke quit (Read error: Connection reset by peer)
08:15:16NimBotAraq/Nimrod devel d73d752 Clay Sweetser [+0 ±1 -0]: Update and clarify the purpose of the nimrod.ini file
08:15:16NimBotAraq/Nimrod devel cdd5b50 Clay Sweetser [+1 ±1 -0]: Update the NSIS Installer Script
08:15:16NimBotAraq/Nimrod devel 3cf1939 Andreas Rumpf [+1 ±2 -0]: Merge pull request #1578 from Varriount/update-nsis-installer... 2 more lines
08:16:16*Pisuke joined #nimrod
08:46:23*Ven joined #nimrod
08:47:45*Ven quit (Client Quit)
08:49:01Araqfowl: yes use bigbreak if you can
08:49:23*BlaXpirit joined #nimrod
09:01:07*rpag joined #nimrod
10:03:26*gokr_ joined #nimrod
10:07:43*Matthias247 joined #nimrod
10:08:59*gokr_ quit (Read error: Connection reset by peer)
10:21:25*gokr_ joined #nimrod
10:27:54*vendethiel joined #nimrod
10:28:12*vendethiel- quit (Ping timeout: 245 seconds)
10:28:12*gokr_ quit (Read error: Connection reset by peer)
10:28:20*gokr_ joined #nimrod
10:35:59*kemet joined #nimrod
10:36:45*kemet quit (Remote host closed the connection)
11:07:32*Ven joined #nimrod
11:08:48*Ven quit (Client Quit)
11:46:48*Ven joined #nimrod
11:58:13*Trustable joined #nimrod
12:06:29*Francisco joined #nimrod
12:10:34*Fr4n quit (Ping timeout: 272 seconds)
12:12:19*FreezerburnV joined #nimrod
12:13:17Araqhi FreezerburnV
12:13:29Araqdon't use hash for enums, that's a waste
12:13:30FreezerburnVAraq: Morning! How’s it going?
12:13:41Araquse an array with an enum index type instead
12:13:51Araqthat's why 'hash' doesn't exist for enums
12:14:00FreezerburnVDuly noted. I did not know you could do that
12:14:17Araqand Table is a value type so '=' already performs a deep copy
12:15:35FreezerburnVI believe that was actually mentioned last night, so I’m using that now. I’m assuming that any ref types inside a Table will just have the pointer copied and not have a copy made of the contents?
12:16:15Araqyup
12:16:28Araqthere is system.deepCopy in bigbreak
12:16:44FreezerburnVWhen is that going to happen?
12:16:52FreezerburnVOr is that still undetermined?
12:17:09Araqwith some luck ... today
12:17:23FreezerburnVBest of luck to you then!
12:21:44*noam joined #nimrod
12:57:09*flaviu joined #nimrod
13:05:29*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:10:25*FreezerburnV quit (Quit: FreezerburnV)
13:21:17*FreezerburnV joined #nimrod
13:21:30*FreezerburnV quit (Client Quit)
13:23:17*q66[lap] quit (Quit: Textual IRC Client: www.textualapp.com)
13:31:31gokr1Hey guys!
13:31:39gokr1Working hard on the release?
13:32:13gokr1Been busy today - taking up the boat - and we also had a fire by the boats, so one house and 5 boats gone.
13:32:57*epsylon quit (Quit: ZNC - http://znc.in)
13:33:26*untitaker quit (Ping timeout: 240 seconds)
13:35:39gokr1Btw, if anyone wants to submit my bootstrapping article on Nimrod to reddit- feel free. I am not a member there. yet.
13:35:56gokr1That would be this one: http://goran.krampe.se/2014/10/15/bootstrapping-nim/
13:36:04gokr1Ok, time to put some Ikea stuff together.
13:36:10Araqhi gork1
13:36:15gokr1Hey! :)
13:36:35gokr1Pushing out 0.9.6 today?
13:36:35AraqI'm writing the release messages, yes
13:36:40gokr1Oh way nice!
13:36:54Araqwell I am thinking of how to structure it
13:36:57gokr1Sorry, didn't have much time this weekend to do any helping on install etc.
13:37:07Araqsince we release 0.9.6 and 0.10.0 today
13:37:14gokr1Ooohh, neat!
13:37:25Araqunless something unexpected happens of course
13:37:29gokr1Hehe.
13:37:39Araqwhat about that fire? sounds awful
13:37:44gokr1Yeah, it was.
13:38:00gokr1Thank god the wind wasn't that bad - in that case 20 boats could have gone up in smoke.
13:38:07Araqyou lost 1 house and 5 boats?
13:38:30gokr1Not me personally, but our local community's marina. It was the club house, and 5 boats next to it.
13:39:02gokr1So... yeah, we suspect one of the boats was the source.
13:39:08gokr1But not clear yet.
13:39:21*untitaker joined #nimrod
13:39:49gokr1So I went down there early in the morning to help take up my boat and 3 more. And well, fire department and police all over ;)
13:40:30gokr1Someone woke up when the ... LPG (?) tank in one of the boats went BOOOM. But it was of course way too late for them to do much.
13:41:00Araqbut your boat is fine?
13:41:06gokr1Yeha, sure, no prob.
13:41:43gokr1This is a pic of our boat, we love it: http://malmonsmarina.se/wp-content/uploads/1_340_Commander-570x263.jpg
13:42:44gokr1So, ok, gotta put together some Ikea stuff for my daughter - then I need to go play badminton :)
13:42:54gokr1But I will check in later tonight.
13:43:17gokr1cia
13:43:25Araqok bye
13:48:48*q66[lap] joined #nimrod
13:48:55*darkf quit (Quit: Leaving)
13:56:23*kemet joined #nimrod
14:07:35NimBotAraq/Nimrod devel 6f1b33e Araq [+0 ±2 -0]: readme.txt is not readme.md
14:07:35NimBotAraq/Nimrod devel a4dcebd Araq [+1 ±2 -0]: Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
14:07:35NimBotAraq/Nimrod devel dc8d8eb Araq [+0 ±7 -0]: website updates for 0.9.6
14:21:01*Matthias247 quit (Read error: Connection reset by peer)
14:31:06*rpag quit (Ping timeout: 245 seconds)
14:41:06NimBotAraq/Nimrod devel 4cca562 Araq [+0 ±1 -0]: minor updates to koch.nim
15:01:55*kemet quit (Ping timeout: 255 seconds)
15:17:48*vendethiel quit (Ping timeout: 246 seconds)
15:18:53*vendethiel joined #nimrod
15:19:49*Ven joined #nimrod
15:23:41*vendethiel quit (Ping timeout: 260 seconds)
15:25:01*Ven quit (Ping timeout: 244 seconds)
15:27:03*vendethiel joined #nimrod
15:29:23*Ven joined #nimrod
15:36:39*gokr joined #nimrod
15:39:09*gokr_ quit (Ping timeout: 246 seconds)
15:39:35*vendethiel quit (Ping timeout: 265 seconds)
15:39:55*vendethiel joined #nimrod
15:40:12*Ven quit (Ping timeout: 246 seconds)
15:41:14*gokr quit (Ping timeout: 258 seconds)
15:41:51*Ven joined #nimrod
15:48:19*xcombelle joined #nimrod
15:50:04*dom96_ quit (Remote host closed the connection)
15:53:30*dom96_ joined #nimrod
16:07:15*johnsoft quit (Read error: Connection reset by peer)
16:07:55flaviugokr1: IIRC the C compiler on windows isn't deterministic, the issue came up a couple months ago
16:20:02*dom96_ quit (Read error: No route to host)
16:22:43*kemet joined #nimrod
16:23:27*kemet quit (Client Quit)
16:24:25*brson joined #nimrod
16:29:33*mko joined #nimrod
16:38:49*johnsoft joined #nimrod
16:39:03*rpag joined #nimrod
16:40:16*Mat3 joined #nimrod
16:40:18Mat3hi all
16:44:27*brson quit (Quit: leaving)
16:44:41*brson joined #nimrod
17:03:26*brson quit (Quit: leaving)
17:04:52*rpag quit (Ping timeout: 245 seconds)
17:05:49*brson joined #nimrod
17:05:50Araqhi Mat3
17:06:32Mat3hi Araq
17:08:05Araqbrb
17:13:40*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
17:14:00*kostya joined #nimrod
17:16:43kostyahi, how can nimrod modify variable in for? `for a in aa: a.x += 1` this code gives error `Error: for a 'var' type a variable needs to be passed`
17:17:50*calde joined #nimrod
17:18:14caldeHi all. Does anyone know the best way to pass a TChannel into a spawned procedure?
17:18:37caldeBecause when I try just passing it I get this: Error: 'spawn'ed function cannot have a 'var' parameter
17:19:55Mat3brb
17:22:44EXetoCkostya: I think you need to make a var copy in most cases
17:23:23EXetoCcalde: simply remove 'var'
17:24:18Mat3kostya: Do not know but probably you can define the variable as 'var'iable
17:25:14*FreezerburnV joined #nimrod
17:25:32kostya`for var a in aa: a.x += 1` like this?
17:25:37kostyathis is not compiled
17:26:07kostyaaa is seq[A]
17:27:12caldeEXetoC: Remove 'var' from the function definition? Will it still be the same channel if I pass by value?
17:27:29calde*procedure definition :-)
17:30:41caldeOh never mind, 'var' is like Rust's mut / anti-C++-const. (Is that right?)
17:31:03EXetoCno. I think there's a good reason why 'var' is disallowed, so maybe you should take another approach
17:31:24caldeWhen I try to actually send to the channel inside the proc, I now get this: Error: for a 'var' type a variable needs to be passed
17:31:41caldeAh, what's the reason?
17:32:10caldeOr maybe I should ask, what's the better way of implementing a MPMC channel?
17:32:44EXetoCis the variable also a var?
17:33:01caldeYes. Should it not be?
17:33:25EXetoCvar for non-parameters means mutable, while it also mean by-reference for parameters
17:33:43EXetoCcalde: it ought to work if it is a var. I guess I need to see the code
17:33:58caldeOk, I'll put together a simplified example
17:35:49Araqcalde: 1. don't use channels if a FlowVar can do the same
17:36:02Araq2. you need to pass via 'ptr TChannel'
17:36:03*xcombelle quit (Ping timeout: 246 seconds)
17:36:42Araqit's this way to remind you to keep track of ownership for yourself
17:37:00Araq*to remind you that you need to track the ownership yourself
17:37:41AraqEXetoC: no, 'spawn' is a special case
17:37:42*kostya quit (*.net *.split)
17:37:42*flaviu quit (*.net *.split)
17:38:10*kostya joined #nimrod
17:38:11*flaviu joined #nimrod
17:39:24EXetoCAraq: what do you mean? I just recall not being able to use 'var' with it
17:40:04caldeLike this? https://gist.github.com/Calder/7713efed7b4d5669e3bd
17:40:22caldeBecause that gives me this:
17:40:23caldeError: type mismatch: got (ptr TChannel[int], int) but expected one of: system.send(c: var TChannel[TMsg], msg: TMsg)
17:41:57EXetoCit must be dereferenced (queue[].send..)
17:42:01*kostya quit (Client Quit)
17:42:10EXetoCit might not work, in which case you should introduce a temporary var
17:43:59*nullmove joined #nimrod
17:44:04VarriountAraq: So, did you find the installer modifications suitable?
17:44:04EXetoCyou could allocate the channel on the stack and then replace ptr with var in the parameter, if it makes sense in your code (var for parameters is kind of like & in c++)
17:44:30EXetoCI'm repeating that in case it wasn't clear
17:45:02AraqEXetoC: yes, you cannot use 'var' with spawn. didn't mean anything else
17:45:11AraqVarriount: as far as I tested it. yes
17:45:38EXetoCok
17:54:16caldeThanks so much! That worked perfectly.
17:59:04VarriountAraq: So what else needs to be done to release?
17:59:38Araqwell I finished everything
17:59:50Araqhowever I'm looking into nimble's createDir issue
17:59:59Araqwould be nice if we could fix that for 0.9.6
18:00:09Araqoh
18:00:27AraqVarriount: please build a 64 bit version; I can't be bothered :P
18:01:04VarriountAraq: Of what? Nimrod or Nimble?
18:01:24VarriountOr do you mean an installer for 64 bit machines?
18:02:46Araqthe latter
18:03:16*silven quit (Ping timeout: 272 seconds)
18:05:21NimBotAraq/Nimrod devel 2e4447c Araq [+0 ±3 -0]: documentation improvements
18:06:04VarriountAraq: I need the url for the 64 bit mingw binary.
18:06:32Araqset --var:mingw=mingw64
18:06:56Araqthe url is the obvious one: http://nim-lang.org/download/mingw64.zip
18:18:09*gokr joined #nimrod
18:19:45*Matthias247 joined #nimrod
18:22:11*xcombelle joined #nimrod
18:22:15fowlhrm why is glossolalia missing frmo packages.json
18:24:08flaviufowl: Git log says you never added it.
18:24:16fowlhaving looked at all my commits on nimrod-code/packages, i now believe i did not add it ._o
18:24:29flaviugit log --all -p | grep 'glossolalia' turns up nothing
18:24:36fowlthats a mindf*ck
18:24:45*xenagi joined #nimrod
18:28:37fowlAraq, I still get an error if I try to compile with --cs:none: lib/system.nim(2442) Error: redefinition of 'fileHandle'
18:29:08*dloss joined #nimrod
18:29:55Araqfowl: well bigbreak requires cs:partial
18:30:18Araqguys, I updated the website, that means the release is official
18:30:22fowloh
18:30:25*FreezerburnV quit (Quit: FreezerburnV)
18:30:26Araqso please test it out
18:31:06caldeWoo! :)
18:31:14nullmovecongrats on the release!
18:33:45*johnsoft quit (Ping timeout: 272 seconds)
18:33:58*FreezerburnV joined #nimrod
18:34:44*johnsoft joined #nimrod
18:35:06*dloss quit (Remote host closed the connection)
18:36:08*dloss joined #nimrod
18:36:15AraqFreezerburnV: if you want to help with 'spawn' be my guest. Most pressing is a new channel type that uses automatic memory management
18:37:41FreezerburnVAraq: I can certainly try at some point
18:39:43*dloss quit (Remote host closed the connection)
18:43:37*calde quit (Ping timeout: 246 seconds)
18:45:12*dloss joined #nimrod
18:48:04AraqVarriount: I just tested the installer again. Excellent work!
18:48:39*dloss quit (Remote host closed the connection)
18:51:30superfuncWill do
18:55:39NimBotAraq/Nimrod master 8b8a21c Reimer Behrends [+1 ±1 -0]: Fixed parsing of float literals.... 7 more lines
18:55:39NimBotAraq/Nimrod master cea2a90 katlogic [+0 ±3 -0]: More human readable `$`(float)... 3 more lines
18:55:39NimBotAraq/Nimrod master 9532951 katlogic [+1 ±2 -0]: Tests for `$`(float)
18:55:39NimBotAraq/Nimrod master bd8f5c8 Billingsly Wetherfordshire [+0 ±1 -0]: json.== handles nil now
18:55:39NimBot332 more commits.
18:55:52Araqso now we know
18:55:59Araq332 commits since 0.9.4
18:56:14Araqand that's not even with bigbreak merged
18:56:52*calder joined #nimrod
18:57:47TrustableAraq: Please pull my CSS fix.
18:58:22*brson quit (Ping timeout: 272 seconds)
18:58:24calderI'm back. :) Is there a simple example of a producer-consumer pattern with the new thread analysis enabled?
18:58:37*xcombelle quit (Remote host closed the connection)
18:58:55AraqTrustable: I did weeks ago?
18:59:33TrustableAraq: Yes, but it was in CSS code which is not used, therefore it had no affect.
18:59:33*gokr quit (Read error: Connection reset by peer)
18:59:42*gokr joined #nimrod
18:59:50*brson joined #nimrod
19:00:01TrustableMy new PR ist tested
19:00:11*rpag joined #nimrod
19:00:28*FreezerburnV quit (Quit: FreezerburnV)
19:00:34VarriountAraq: Hello rpag
19:01:42VarriountAraq: So... bigbreak is being merged back into devel
19:02:09rpaghello Varriount
19:11:53AraqVarriount: yes
19:14:08AraqVarriount: but I won't do it today
19:15:07*calder quit (Ping timeout: 246 seconds)
19:17:04NimBotAraq/Nimrod bigbreak 753733e Clay Sweetser [+1 ±1 -0]: Improve the trimcc tool's batching algorithm.
19:17:04NimBotAraq/Nimrod bigbreak 99b36cb Clay Sweetser [+0 ±1 -0]: Allow koch.nim to be run without a failure if given no arguments.
19:17:04NimBotAraq/Nimrod bigbreak e0bdf4f Andreas Rumpf [+1 ±2 -0]: Merge pull request #1575 from Varriount/enhance-trimcc... 2 more lines
19:17:43AraqTrustable: where is your PR? https://github.com/Araq/Nimrod/pulls?q=is%3Aopen+is%3Apr
19:17:59NimBotAraq/Nimrod devel 6043194 Simon Krauter [+0 ±1 -0]: Fixed missing color definion in docs CSS
19:17:59NimBotAraq/Nimrod devel f09af72 Andreas Rumpf [+0 ±1 -0]: Merge pull request #1573 from trustable-code/PR1... 2 more lines
19:18:04Araqnever mind, I'm blind
19:18:48Trustablethx for merging
19:20:27Araqwill re-generate the docs soon
19:21:09*calder joined #nimrod
19:21:11calderIs there a simple example of a producer-consumer pattern with the new thread analysis enabled?
19:21:29flaviuAraq: Will https://github.com/Araq/Nimrod/pull/1497 and https://github.com/Araq/Nimrod/issues/1479 be merged?
19:21:51flaviuThe last link should have been https://github.com/Araq/Nimrod/pull/1364 sorry
19:22:07Araqflaviu: yes otherwise I would have them closed already
19:22:32Araqbut I didn't want it to merge for 0.9.6
19:22:59flaviuOk. Should I rebase them onto bigbreak?
19:23:10flaviuerr, just #1364
19:23:30Araqthat would be nice
19:23:41Araqcalder: no.
19:23:57Araqit is not hard but we have no good examples for multithreading yet
19:24:34Araqand the new thread analysis is not as strict as you may think
19:25:30gokr1Any trivial testing needed to be done? I got a mac, win7, Ubuntu.
19:25:42gokr1Just back from badminton and my brain is in slo-mo.
19:26:00calderOk. Would it help for me to write one once I figure it out?
19:26:11Araqgokr1: read the download page and test it
19:26:12reactormonkAraq, I could see if I still have my simple NLP example with multiple processes, it's a simple map/reduce, would that be relevant?
19:26:31reactormonkor rather map/collect, doesn't do any reducing
19:26:32gokr1Ohh, already out! :)
19:26:44gokr1yumyum...
19:26:46Araqreactormonk: multiple processes don't cut it, I'm afraid
19:27:50AraqI need to write and finish my parallel processing example
19:29:28calderAny advice for debugging "'foo' is not GC-safe errors?
19:29:52Araq--warn[gcSafety]:on
19:30:10Araq--warning[...]:on
19:30:23calderThanks!
19:32:58gokr1Sidenote: No archive of older releases or?
19:33:53Araqgokr1: if you manage to guess the old name. it's still on the server
19:34:27reactormonkAraq, sorry, better specification: rewrite that example to use threading
19:35:07calderCan I throw out two possible feature requests?
19:35:31Araqreactormonk: ok, sounds good
19:35:44Araqcalder: sure.
19:36:34gokr1One good thing for tar balls/zips - include the version in the directory name that will be unzipped.
19:37:06gokr1I think that is "customary" in unix country at least.
19:37:37Araqgokr1: yeah we should do that. eventually.
19:37:47calder1. When you get a 'foo' is not GC-safe error, it would be awesome to tell you why it's not rather than making you comment out the whole function and slowly start commenting things back in to find out what non gc-safe function you're calling.
19:38:07calder2. It would be great to have a GC-safe logging mechanism
19:38:21calder3. And a pony :)
19:38:50Araq(2) is provided via the warning
19:38:56calder?
19:39:14Araqshould have made it the default ...
19:40:07EXetoC(3) will be the highest reward on kickstarter
19:40:15calderYou mean 1?
19:40:24calderHaha
19:41:10calderI'm compiling with "nim c -w:on --threads:on foo.nim". Is that the wrong way to enable warnings?
19:41:33reactormonkAraq, but can't guarantee anything, any coding time is currently going to my thesis :-/
19:42:00Araqcalder: no idea what that does. warnings are in general activated on a case by case basis
19:42:17Araq"turn on all warnings" is rather meaningless
19:43:43Araqcan somebody check that I tagged 0.9.6 on master properly? I tag so rarely that I never can remember how it's done
19:43:50calderAh, in that case, what am I doing wrong here?
19:43:51flaviugit tag -a
19:43:51calderbash-3.2$ nim c --warning[gcSafety]:on --threads:on test.nim command line(1, 1) Error: invalid command line option: '--gcSafety]:on'
19:44:15calderOops, newlines
19:44:19calderbash-3.2$ nim c --warning[gcSafety]:on --threads:on test.nim
19:44:22reactormonkcalder, yeah, [ ] is bash.
19:44:22caldercommand line(1, 1) Error: invalid command line option: '--gcSafety]:on'
19:44:31reactormonk"--warning[gcSafety]:on"
19:44:40calderAh, derp. X-)
19:44:41calderThanks!
19:44:42gokr1Araq: Looks properly tagged from here.
19:44:47reactormonk[ ] in command line options is bad manners imo.
19:45:00reactormonkcalder, trips everyone, don't worry
19:45:06Araqit's --warning[gcUnsafe]:on, calder
19:45:09Araqmy bad
19:45:50calderAh, thanks!
19:47:32calderOk, that's pretty helpful. It would be great if that were the default behavior (possibly with a traceback going back to the root unsafe operation).
19:49:23VarriountAraq: Have you noticed that Aporia is larger than MingW?
19:49:35AraqVarriount: yes
19:49:58gokr1Btw, the testsuite you can run via koch - is it meant to be green or so?
19:50:17Varriountgokr: It's never 100% green
19:50:46Araqit's 100% for version 1.0
19:51:08gokr1I haven't looked into the test mechanisms you guys use.
19:51:36Araqthe test suite is lots of awful constructs and hard corner cases
19:52:06gokr1One idea is of course to make the "expected" result known - like, ok, if all goes well you should have 189/250 green or whatever.
19:52:33flaviugokr1: Track regressions?
19:52:36Araqnimbuild tells us the diff instead
19:52:47Araqthat's good enough for now
19:53:12flaviugokr1: FWI, tests are here: http://build.nimrod-lang.org/
19:53:23gokr1ok
19:55:08flaviudom96: Will https://github.com/nimrod-code/nimbuild/pull/16 be merged?
19:57:34Araqgokr1: in fact, your suggestion doesn't work any better than simply to keep all tests green or disabled
19:58:20gokr1Araq: Given the build result I can see where it "should" be, just didn't notice it had that info before.
19:58:51Araqgokr1: depends. the results are different for different OSes
19:58:59gokr1right
19:59:19Araqand often a test simply fails because some shared object is not around
19:59:24superfunc_Araq: It looks like the compiler in the tagged release still marks itself as 0.9.5
20:00:24Araqsuperfunc_: how so?
20:00:44Araqmy master version has 0.9.6 in compiler/nversion.nim
20:00:47superfunc_I checked out the tag and built, when I run ./bin/nimrod -v it says 0.9.5
20:01:16Araqworks for me (TM)
20:01:59gokr1I just built the zip, and my nimrod says 0.9.6.
20:02:01superfunc_nvm, I was checking only after building csources
20:02:05superfunc_my bad
20:02:21Araqoh yeah I need to update csources too
20:03:29*Trustable quit (Quit: Leaving)
20:04:05gokr1Ah, right, the zip doesn't include the tests, reasonably.
20:04:21gokr1(consider me a blabbering n00b)
20:04:24*brson quit (Quit: leaving)
20:07:25gokr1Hmmm, wondering... is koch.nim even useful in the zip?
20:08:00gokr1It may be, just looks like most things it can do is meant for the git clone.
20:08:12AraqIMO koch.nim and compiler/*.nim shouldn't be in the zip, but people expect it to be
20:10:53*johnsoft quit (Ping timeout: 240 seconds)
20:11:02*johnsoft joined #nimrod
20:18:30superfunc_is the process for building on bigbreak different from building on devel?
20:18:49Varriountsuperfunc: Nope. You just need to use the 'bigbreak' branch of csources
20:19:36superfunc_that must be it
20:19:38superfunc_thanks
20:20:09*dom96_ joined #nimrod
20:27:52*nullmove quit (Quit: Page closed)
20:31:48VarriountAraq: https://drive.google.com/file/d/0B077nrrf63xtS1EtVlFOZzdMZVk/view?usp=sharing
20:31:56VarriountThere's the 64 bit installer
20:32:15VarriountDo you need the 32 bit one as well?
20:33:51*vendethiel- joined #nimrod
20:34:05AraqVarriount: look at the website
20:34:10AraqI have the 32 bit version
20:35:44AraqVarriount: thanks. you'll get server access once we moved over to our new host
20:35:52*vendethiel quit (Ping timeout: 265 seconds)
20:35:58*calder quit (Ping timeout: 246 seconds)
20:49:12superfunc_dom96_: is nimble able to build on bigbreak for you?
20:50:12dom96_superfunc_: yeah
20:52:11Onionhammerso is bigbreak merged into devel?
20:52:34superfunc_dom96_: I'm getting undeclared identifier for FD_SET
20:52:38superfunc_(http://lpaste.net/112898)
20:52:44Onionhammerwhat's the main development branch now?
20:53:30dom96_superfunc_: You using latest bigbreak?
20:53:39superfunc_yeah
20:54:45dom96_superfunc_: Linux?
20:54:56superfunc_osx
20:57:06*johnsoft quit (Ping timeout: 240 seconds)
20:57:21*johnsoft joined #nimrod
20:57:50dom96_superfunc_: I see.
20:58:09dom96_I think there is a PR which fixes that.
21:00:27Araqyup
21:03:32*dloss joined #nimrod
21:04:30*FreezerburnV joined #nimrod
21:05:43AraqOnionhammer: still bigbreak
21:06:53*dloss quit (Remote host closed the connection)
21:06:59*Varriount|Pool joined #nimrod
21:07:38AraqVarriount|Pool: er why is this installer even smaller?
21:07:57Varriount|PoolAnd before anyone asks, I'm *at* the pool, not *in* the pool
21:08:04Araqover a megabyte smaller, in fact
21:08:24Araqand yeah I was about to ask what "pool" means :-)
21:08:44Varriount|PoolAraq: I dunno. Are you comparing the old installer generated with the old script to the one I just put up a link for?
21:09:02Araqwell no, I used your script for the 32 bit build, obviously
21:09:43Varriount|PoolAraq: I don't know why. I generated with a clean download of Nimrod, into a new directory.
21:10:07Araqnimrod_debug.exe missing?
21:10:13Varriount|PoolOh, that might be it.
21:10:20Varriount|PoolOne moment, I'll fix that.
21:10:31Araqkoch.nim produces one for you
21:10:43Varriount|PoolAraq: Under what command?
21:10:59Araqbut defaults to mingw32 and I'm not sure you can override it without touching the code
21:11:05Araq"koch nsis"
21:11:13Varriount-_-
21:11:37Araqwell come on, it's dead simple to edit it
21:11:38VarriountOr I could just bootstrap nimrod with -d:release --stacktrace:on --linetrace:on
21:11:48Varriountand then rename it.
21:12:05Araqthat is not a debug version then
21:12:08Araqthat's a hybrid
21:16:20Varriount|PoolMeh, it's what I use.
21:17:02Varriount|PoolAraq: Here's the fixed version. https://drive.google.com/file/d/0B077nrrf63xtNkE1V293bHRibk0/view?usp=sharing
21:18:16Varriount|PoolI wonder how fast a nimrod compiler compiled in debug mode with -O3 turned on for the C compiler.
21:24:06Varriount|PoolAraq: http://michaeltunnell.com/blog/15-miscellaneous/53-14-potential-alternatives-to-sourceforge-for-binary-downloads
21:25:58AraqVarriount|Pool: what's the point? we have servers
21:26:58superfuncdom96_: which pr?
21:29:17fowlc2nim fails to compile, missing llstream
21:30:08dom96_superfunc: https://github.com/Araq/Nimrod/pull/1566
21:30:45Araqfowl: it needs the compiler's source which are not a babel package yet
21:31:21gokr1fowl: I wrote an article on c2nim where I described that. Just add a path option and it works.
21:31:28fowlAraq, i thought this was done with path=$compiler or something similar
21:32:06gokr1I did this: nimrod -p:../Nimrod.devel/compiler/ c c2nim
21:32:26Araqfowl: yes, but $nimrod/compiler can expand to /usr/compiler ...
21:32:36fowlgokr1, how can i pass that to nimble install though
21:33:15gokr1And that problem only happens if you run from an installed compiler, otherwise it finds compiler.
21:33:36Onionhammerhm, csources bigbreak isnt making a bin/nim, it's making a bin/nimrod?
21:34:38Onionhammerwhy 'deduplicate' instead of unique?
21:34:39Onionhammer:|
21:35:12AraqOnionhammer: unique is not a verb
21:35:30OnionhammergetUnique
21:36:19Araqthat's uglier. also we may want to use 'unique' for pointers
21:36:59Onionhammerdeduplicate is uglier..
21:37:03Onionhammerugliest probably
21:37:32fowlso c2nim is a package but its not installable because..why?
21:38:31AraqOnionhammer: well this is what happens when you're not around all the time!
21:38:51Araqwe make the wrong decisions!
21:38:55gokr1In Smalltalk one often use a distinction of destructive imperative operations, and operations that return a new object - so "deduplicate" would make me think of a destructive operation, and "deduplicated" would be to get another seq as a result. Or "sort" vs "sorted" etc. Any similar naming in Nim?
21:39:28Varriount|PoolOnionhammer: Where's 'deduplicate'?
21:39:31Araqgokr1: no, we got a type system instead. If it returns void, it's destructive.
21:39:50gokr1True, point taken ;)
21:39:59Araqbut no, you're right
21:40:12Araqthere is no overloading of return types
21:40:18Araqso the problem exists
21:40:38Araqsort vs sorted sounds good, but we got no sorted.
21:40:57*skyfex quit (Read error: Network is unreachable)
21:41:12Onionhammer@Varriount http://nimrod-lang.org/news.html#Z2014-04-21-version-0-9-4-released
21:41:22Onionhammerseq[T].deduplicate
21:41:27fowler path:"$nimrod/compiler" is in c2nims cfg but it doesnt seem to work
21:41:51gokr1fowl: It seems to resolve to "../compiler" relative to the location of nimrod.
21:41:58gokr1See "nimrod dump"
21:42:08Onionhammeralso Araq, the front page doesnt have the news
21:42:11Onionhammerhttp://nimrod-lang.org/
21:42:12gokr1Like... /usr/local/compiler on my box.
21:42:30Onionhammerls
21:42:32AraqOnionhammer: browser cache
21:42:33Onionhammeroops
21:42:38gokr1fowl: As I describe here: http://goran.krampe.se/2014/10/16/nim-wrapping-c/
21:42:43Onionhammerah doh
21:45:27fowlgokr1, my paths shown by nim dump are correct
21:45:40fowl(/home/x/src/Nimrod/lib/...)
21:46:00gokr1So you are not using an "installed" nim?
21:46:16fowlgokr1, no, thats a huge hassle
21:46:25gokr1Ok, and it still doesn't find compiler?
21:46:30Araqfowl: does it work when you pass -p:$nimrod/compiler manually via the command line?
21:46:35Varriount|PoolHm.Overloading by return type sounds complex. What happens when I have two procedures 'foo' with the same argument types, but different return types, and do something like 'let x = foo(...)'?
21:46:51AraqVarriount|Pool: ambiguity error
21:47:06Araqbut yeah we're not gonna get it for 1.0
21:47:47fowlAraq, no it still doesnt work
21:48:20fowlalso it looks like nim is looking for packages in ~/.babel/pkg still
21:48:48Araqfowl: well I guess you need to escape the $ like so \$ because of shell
21:49:23fowlAraq, that works
21:50:08Araqmost interesting
21:50:08fowlaha
21:50:16fowlnimrod.cfg needs to be nim.cfg
21:50:55AraqI thought nim still reads nimrod.cfg
21:52:23gokr1It may be due to "flux" or whatever, but clicking on source links in the docs on nimrod-lang.org gives me 404s on github.
21:52:45Varriount|PoolI guess overloading via return type is just one of those language features you have to be careful not to abuse, like macros and templates.
21:53:36Varriount|Poolgokr1: Well the docs are being updated at the moment. Something might have glitched.
21:53:40AraqVarriount|Pool: not really. once IDEs can expand code, it's no big deal.
21:54:06Araqgokr1: thank. I'm looking into it
21:55:02gokr1Feeling silly pointing out stuff - but you know - just trying to help. Really great work btw! Exploring nimrod is fun.
21:55:42fowlAraq, on my fresh install from bigbreak, nim.cfg is required
21:56:07Varriount|PoolBe back in a bit.
21:56:17*Varriount|Pool quit (Quit: Page closed)
21:56:32fowlalso config/nim.cfg needs to be updated for ~/.nimble/pkgs
21:56:58Araqwell there is some discussion about .nimble vs .babel
21:58:35fowli'll just make a symlink for now
22:03:24Araqugh
22:03:39Araqthank god I merged this "see source" PR
22:04:01Araqnow I need to figure out how it is supposed to work
22:04:10Araqgosh why gradha is not in irc anymore
22:11:12*Matthias247 quit (Read error: Connection reset by peer)
22:13:55gokr1Hmm, did I stumble over a new homepage of nim? http://reign-studios.net/philipwitte/nim/
22:14:39Araqthat's the design we're trying to merge for 0.10.0, or perhaps 1.0
22:17:16gokr1Perhaps a tad darkish - but hey, it looks quite good.
22:17:33Araqtell that Onionhammer
22:18:35Araq(iirc he is a professional web designer and doesn't like it)
22:19:43gokr1I am trying to ... figure out what kind of "feeling" it has. Too darkish gives me personally feelings of ... A bit of naive, gaming, "cool kids with light grey fonts on black in vim"-kinda feeling. :)
22:20:32Araqhey, gaming is the ultimate purpose of computers
22:20:40gokr1But I sure can't do anything remotely as good - so whoever puts in the effort :)
22:20:45gokr1Hehe
22:22:04Araq"Der Mensch ist nur da ganz Mensch, wo er spielt."
22:22:39gokr1Hehe
22:25:10Mat3ciao
22:25:19*Mat3 quit (Quit: Verlassend)
22:25:37OnionhammerAraq not a designer, developer
22:25:46Onionhammerthat link isnt loadig
22:26:16gokr1The reign-studios link?
22:26:19Onionhammeryeah
22:26:49gokr1he... you are right. Something broke.
22:27:13EXetoCno #ffffff bg then? good :>
22:27:20gokr1Oh, perhaps this one: http://reign-studios.net/philipwitte/nim/home.htm
22:27:39gokr1no, still "broken".
22:28:20gokr1I broke Jester! ;)
22:28:55AraqI don't think that runs jester
22:29:05gokr1Oh, it did say Jester at the bottom though.
22:29:06FreezerburnVHm. So I’m declaring a var TChannel, and then calling open on it. I then cast it to a ptr type by using addr and using that as an argument to a function in two separate threads. I send a message over the channel in one thread, while another thread is sitting on a recv, but the other thread never actually gets the message from recv and just blocks forever. I am the confus
22:31:18Araqgokr1: that's part of the design
22:31:25gokr1ah :)
22:32:25AraqFreezerburnV: gist it please
22:32:31FreezerburnVAraq: Sure
22:34:14FreezerburnVAraq: https://gist.github.com/Freezerburn/87c8ec9d5c984ee3d36c
22:34:33*BlaXpirit quit (Quit: Quit Konversation)
22:35:40*superfunc_ quit (Ping timeout: 246 seconds)
22:36:17AraqFreezerburnV: var tickIn = tickInP[] # creates a copy of the channel with undetermined consequences
22:36:47FreezerburnVAraq: Right, crap, forgot about the copying.
22:37:21EXetoCyolo
22:37:49FreezerburnVAraq: Is there a way I can avoid the copy and use the channel?
22:38:34Araqtemplate tickIn: expr = tickInP[]
22:38:59Araqor simply write tickInP[]
22:39:10Araqthat deref won't kill you
22:40:26FreezerburnVAraq: Got it. I just wasn’t sure of how that would interact with other things, or if I could even do something like tickInP[].send or something along that line
22:41:53Araqbtw your code should use createThread instead of spawn. because the 2nd spawn is not really guaranteed to be run before the first returns. I think.
22:42:37AraqThat's one difference between concurrency and parallelism.
22:42:56FreezerburnVAraq: Duly noted. Though in this case, I’m not sure it matters. One deals with input from the user, and other just sits on recv, so I don’t think it matters
22:43:46FreezerburnVParallelism is… “fun” to deal with, sometimes. (though I enjoy it, in some masochistic way)
22:44:34AraqFreezerburnV: the point is: the compiler is allowed to translate spawn foo() to foo().
22:44:35FreezerburnV(one of the most interesting things I had to debug dealt with was a multithreaded message queue I wrote intereacting with the Python GIL, and finding out how the GIL was causing a deadlock across 3 threads)
22:44:58FreezerburnVAraq: Oh!
22:45:07Araqit doesn't do that for now ;-)
22:45:22FreezerburnVWell then. I certainly do not want that to happen under me
22:54:36*superfun[c] joined #nimrod
22:58:31Araqso ... no more broken "view source" feature
22:58:39Araqdisabled that feature completely
22:59:26Araqand I knew that would happen when I merged that PR
22:59:45Araqdom96_: see? I'm always right.
22:59:46FreezerburnVAraq: So apparently tryRecv returns a tuple with “dataAvaliable” rather than “dataAvailable” ;)
23:00:09AraqFreezerburnV: tryRecv is broken
23:00:16FreezerburnVAraq: :(
23:00:17Araqit does block
23:00:27Araqlet me fix it
23:00:39FreezerburnVIs there a way to deal with multiple channels in a select-ish fashion then?
23:00:48*vendethiel joined #nimrod
23:01:03dom96_Araq: What are you right about now?
23:01:52Araqread the logs
23:02:22FreezerburnVIs there some kind of sleep function? Didn’t see anything in threads or system
23:02:26AraqFreezerburnV: flow vars support that via awaitAny
23:02:31Araqos.sleep()
23:02:35FreezerburnVBah
23:02:43FreezerburnVI should check os module more oftn
23:03:00Araqas I said, the channels need to be updated
23:03:10Araqwe can support much better ones
23:03:13*vendethiel- quit (Ping timeout: 258 seconds)
23:03:39FreezerburnVI thought i heard something about a new threading system or something? Are channels not being updated yet?
23:03:56FreezerburnVWhere’s awaitAny? And what’s a flow var?
23:03:58Araqexactly
23:05:29dom96_Araq: Just tell me. I don't know where to start reading.
23:05:50Araqdom96_: "view source" feature is broken
23:06:15dom96_In a web browser? how so?
23:06:25Araqgithub doesn't like the links
23:06:50Araqand the implementation always was fragile, relying on things that are not guaranteed in any way
23:07:39dom96_what links?
23:08:32Araqthe "view source" links
23:08:40dom96_oh
23:10:22NimBotAraq/Nimrod devel 1ddc42f Araq [+0 ±1 -0]: default to warnGcUnsafe for threads:on
23:10:22NimBotAraq/Nimrod devel 4aab018 Araq [+0 ±4 -0]: disable 'view source' feature
23:10:22NimBotAraq/Nimrod devel 60a7532 Araq [+0 ±1 -0]: fixes tryRecv
23:10:41AraqFreezerburnV: there you go. tryRecv should work now
23:10:53FreezerburnVAraq: Sweet, thanks
23:11:14Araquse the devel branch to get it
23:13:12FreezerburnVNow I just have to actually build Nim for the first time ever. Exciting!
23:15:28Araqhrm this new win installer already paid off
23:15:58AraqI can easily update packages without rebuilding everything and uploading hundreds of megabytes
23:16:57*noam quit (Ping timeout: 245 seconds)
23:20:40NimBotAraq/Nimrod devel 849484f Simon Krauter [+0 ±1 -0]: Do not allow self import
23:20:40NimBotAraq/Nimrod devel 27585ee Simon Krauter [+0 ±1 -0]: Compare fileIndexes instead of file names
23:20:40NimBotAraq/Nimrod devel 8b70e2c Simon Krauter [+1 ±0 -0]: Added test case
23:20:40NimBotAraq/Nimrod devel b29c0da Andreas Rumpf [+1 ±1 -0]: Merge pull request #1574 from trustable-code/PR3... 2 more lines
23:21:17VarriountFreezerburnV: I have a batch script that downloads and builds nimrod for you.
23:21:33VarriountFreezerburnV: All it needs is git and gcc in your path
23:21:45FreezerburnVVarriount: Don’t worry, I followed the instructions in the repo. They’re pretty simple
23:22:03FreezerburnVVarriount: At least, I’m assuming that the few steps listed were all I needed
23:22:44VarriountDownload Nimrod Repo -> Download CSources Repo -> Compile CSources -> Compile Koch -> Run Koch Bootstrap
23:23:02Araqno need for csources when you use 0.9.6
23:23:17superfun[c]Can I ask, what is koch?
23:23:25Araqgerman for "cook"
23:24:06FreezerburnVAraq: koch install seems to be a little broken on OS X. “Error: unhandled exception: format string: key not found: mingw [EInvalidValue]”
23:25:20FreezerburnVThis was after a succesful boot
23:25:36Araqer where do we tell you to run fucking "koch install"?
23:26:01FreezerburnVreadme.md
23:26:11fowlis TObject still TObject?
23:26:17FreezerburnVRight after the block telling you to run koch boot
23:26:37Araqfowl: TObject still works, but it's RootObj now
23:26:46fowlty
23:26:54FreezerburnVI can add the compiled binary to my path, but i figured I would try to use that
23:27:38Araqoh well I think somebody knows about that one
23:28:02gokr1FreezerburnV: readme.md hasn't been updated it seems. The current instructions are probably install.txt
23:28:51gokr1FreezerburnV: The idea being that doing a "install by spreading it out in various Unixy-places" is actually more hassle than good.
23:29:42FreezerburnVgokr1: I agree with that. I thought it was going to just dump the necessary stuff (such as the nimrod binary) into the folder I specified rather than spreading all over the system. I’ll just modify the path a bit
23:30:14gokr1or symlink it into some place you have a path to.
23:34:12Araqdom96_: btw is Nimble still dependent on git?
23:35:37fowliirc symlinking nim doesnt work on bsd (or osx)
23:36:11NimBotAraq/Nimrod devel 2495ceb Araq [+0 ±1 -0]: much better quote for the frontpage
23:36:11NimBotAraq/Nimrod devel 1a36a42 Araq [+0 ±2 -0]: 'koch install' works again
23:36:11NimBotAraq/Nimrod devel 59c6433 Araq [+1 ±1 -0]: Merge branch 'devel' of https://github.com/Araq/Nimrod into devel
23:44:02gokr1Would be interesting to port the micro-benchmark that Julia uses to compare with C/Python/Fortran/js/Go and a few more. Its not that long.
23:44:53*vendethiel quit (Ping timeout: 260 seconds)
23:44:54Araqnah. micro-benchmarks by definition are not interesting at all. ;-)
23:45:12gokr1Well, if it turns out favorably - it can be for marketing :)
23:45:22Araqthat's true
23:46:57gokr1Was there any useful stuff to borrow from Julia? It too has a bit of meta programming.
23:48:13Araqlast time I looked at it its meta programming indeed was very good, but I didn't see anything novel.
23:48:39FreezerburnVAraq: channels.nim line 237 still have the dataAvaliable typo
23:48:49gokr1Gotta get to bed, gnite all
23:48:50FreezerburnVI’d submit a pull request if I could figure out how to do so in the github UI
23:48:56FreezerburnVNight gokr1 !
23:50:11NimBotAraq/Nimrod devel b0179f9 Araq [+0 ±1 -0]: 2nd attempt to fix tryRecv
23:50:23superfun[c]later
23:51:33AraqFreezerburnV: there you go
23:51:37Araqgood night guys
23:51:50FreezerburnVAraq: Night!
23:52:41*vendethiel joined #nimrod
23:54:36*FreezerburnV quit (Quit: FreezerburnV)
23:56:22superfun[c]night Araq