solnic changed the topic of #rom-rb to: Ruby Object Mapper | Mailing List: https://groups.google.com/forum/?fromgroups#!forum/rom-rb | Logs: http://irclog.whitequark.org/rom-rb
<snusnu> mbj: alfred listed aggregated contributors along with commit count, no fancy graph tho
<mbj> snusnu: heh, yeah
<mbj> I have to go to sleep, cu tomorrow
mbj has quit [Quit: leaving]
cobbr2 has quit [Quit: Leaving.]
<snusnu> dkubb: i was thinking, wwyt of yard @examples simply linking to integration specs?
<snusnu> dkubb: i realize it's kinda dirty and lazy, and still means maintenance
<snusnu> dkubb: but while something is in flux, it's really hard to keep @example up to date
<snusnu> dkubb: so i'm wondering, if something is under heavy dev, we could either ignore @example completely, or link to integration specs … i somehow think of out of data @examples as no examples, probably even worse
<snusnu> dkubb: also, fwiw, i'm not necessarily talking about what we should do in rom, but i'm considering that for substation atm
machuga has joined #rom-rb
<xybre> You guys have some really great tools for development. Just discovered Coveralls because of Substation.
machuga has left #rom-rb ["Textual IRC Client: www.textualapp.com"]
<snusnu> xybre: heh thx, coveralls is neat and a cool tool to have, but for the sort of gems we do, it's almost only to show off until we wrote the service that provides mutation coverage badges ;)
<xybre> Its a badge, its all for showing off ;)
<snusnu> heh, trudat
<snusnu> dkubb: can you explain to me why mutant thinks the following kills all mutations? http://pastie.org/8201766
<snusnu> dkubb: imo that's a bug
<snusnu> dkubb: clearly it should need 2 contexts, one passing no new_input, the other passing a new_input
<snusnu> dkubb: updated the pastie to reflect what i think should be needed: http://pastie.org/8201786
theCrab has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
<dkubb> snusnu: what if we make it so if there is no config file we don't run the metrics for that thing
<dkubb> snusnu: then if people want to spike things out they can without worrying about fulfilling all the normal requirements
<dkubb> snusnu: also yeah, I'm not sure why mutant considers that covered. it would be nice to have a debug mode to see all the mutations it tried
<dkubb> snusnu: in general I have a 1:1 correspondence between context blocks and logic branches
<dkubb> snusnu: and I consider a default option like this to be a logic branch
<dkubb> at least a 1:1 correspondence I mean.. sometimes you have more, but you shouldn't have less. the ideal would be exect correspondence, no more contexts than you possible need to cover each branch
snusnu has quit [Quit: Leaving.]
cobbr2 has joined #rom-rb
cobbr2 has quit [Quit: Leaving.]
cobbr2 has joined #rom-rb
solnic has joined #rom-rb
solnic has quit [Quit: Leaving...]
solnic has joined #rom-rb
solnic has quit [Read error: Connection reset by peer]
travis-ci has joined #rom-rb
<travis-ci> [travis-ci] rom-rb/rom-relation#146 (master - 7d44be6 : Piotr Solnica): The build was broken.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/rom-rb/rom-relation/builds/9802524
travis-ci has left #rom-rb [#rom-rb]
postmodern has joined #rom-rb
snusnu has joined #rom-rb
solnic has joined #rom-rb
solnic has quit [Quit: Leaving...]
mbj has joined #rom-rb
<mbj> .
<snusnu> yo mbj
<snusnu> i fixed the bug you found for substation
<snusnu> and i left a lengthy comment on GH about how i think we should handle docs and yardstick
cored has joined #rom-rb
cored has joined #rom-rb
<snusnu> mbj: ok, to make you respond, i'm gonna link you to what i think is a bug in mutant: https://gist.github.com/snusnu/6144875
<snusnu> :p
<snusnu> mbj: and the corresponding issue: https://github.com/mbj/mutant/issues/95
mbj has quit [Quit: leaving]
cored has quit [Ping timeout: 264 seconds]
postmodern has quit [Quit: Leaving]
dbussink has quit [Read error: Operation timed out]
cobbr2 has quit [Quit: Leaving.]
dbussink has joined #rom-rb
mbj has joined #rom-rb
<snusnu> mbj: does adamantium::flat freeze ivars of a class, but not deep freeze them? or does it only freeze the class itself
<mbj> snusnu: It only freezes the instance of object, does not recurse
<mbj> so ivars dont get frozen
<snusnu> mbj: hm, i thought so, but i just can't find any inclusion of Adamantium proper, yet still objects get frozen, that i *definitely* do not freeze myself
<snusnu> mbj: i'm currently refactoring away Substation::Action, making all processors accept an array of observers instead
<mbj> snusnu: I debug this via def freeze; raise; end in affected class
<snusnu> mbj: and the observers get frozen
<snusnu> mbj: ah good point, i was about to ask
<snusnu> mbj: lemme try that
<snusnu> mbj: lol, the affected "class" is a lambda in my case
<mbj> snusnu: extend it
<snusnu> yeah, i might do that for debugging purposes
<snusnu> mbj: stack trace tells me nothing … i looked through the complete call stack and i have no single include Adamantium .. only flat
<snusnu> mbj: if that helps you anything: http://pastie.org/pastes/8203134/text … i swear i never do "include Adamantium"
<snusnu> dkubb: do you have any idea what could be happening in the above pastie?
<snusnu> grepping my code shows me that i *never* do include Adamantium, only Adamantium::Flat
<snusnu> dkubb, mbj: if i remove that line the error goes away https://github.com/snusnu/substation/blob/master/lib/substation/processor.rb#L9
<snusnu> which is very weird
<dkubb> snusnu: one way to debug that is to redefine freeze to raise and then check the callstack
<dkubb> so on the object you don't want frozen, do def freeze; raise; end
<dkubb> oh wait, I guess you did that
<snusnu> dkubb: yeah, i did that already, the stacktrace is from doing exactly that
<snusnu> dkubb: it all works fine if i remove that one include Adamantium::Flat .. which is weird i guess
<snusnu> dkubb: also note how the stacktrace shows that #deep_freeze is involved
<snusnu> dkubb: i grepped my codebase, and i don't do any include Adamantium, nor IceNine.deep_freeze
<snusnu> ok, have to go .. ttyl
snusnu has quit [Quit: Leaving.]
mbj has quit [Ping timeout: 245 seconds]
cored has joined #rom-rb
solnic has joined #rom-rb
mbj has joined #rom-rb
solnic has quit [Quit: Leaving...]
cored has quit [Ping timeout: 264 seconds]
cored has joined #rom-rb
cored has joined #rom-rb
cored has quit [Ping timeout: 245 seconds]
cored has joined #rom-rb
cored has joined #rom-rb
cored has quit [Ping timeout: 276 seconds]
mbj has quit [Ping timeout: 240 seconds]