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
mbj has quit [Ping timeout: 245 seconds]
jfredett has joined #rom-rb
dkubb has joined #rom-rb
<postmodern> might be an interesting goal for ROM to achieve
<postmodern> profile ROM with memory profilers and reduce object creation
<dkubb> interesting
<dkubb> I actually do try to reduce object allocation, but this specific case is something I haven't considered
<dkubb> that code is computing column_names_with_alias.length every iteration, but it's a fixed number that could probably be computed once
<dkubb> I think
<dkubb> also Array#at is faster than Array#[] I think
<dkubb> also, I think in a Hash, when the column name is a mutable String ruby will copy and freeze it before using it in the Hash
<dkubb> so if the colum names were frozen, it might be faster too
<dkubb> I don't know if they are though, because I'm not familiar with this code in ARE
<dkubb> *AR
<dkubb> postmodern: are you aware of any tools that will give you a report of min/max/avg/etc object allocation counts per-method? or something where I can find out the top N memory hungry methods?
<postmodern> dkubb, im not sure about per-method
<postmodern> it definitely seems possible
dkubb has quit [Ping timeout: 245 seconds]
dkubb has joined #rom-rb
dkubb has quit [Client Quit]
dkubb has joined #rom-rb
jfredett has quit [Quit: Leaving.]
snusnu has joined #rom-rb
snusnu has quit [Quit: Leaving.]
dkubb has quit [Quit: Linkinus - http://linkinus.com]
Gibheer has quit [Read error: Connection reset by peer]
Gibheer has joined #rom-rb
travis-ci has joined #rom-rb
travis-ci has left #rom-rb [#rom-rb]
<travis-ci> [travis-ci] dkubb/axiom#233 (master - a272513 : Dan Kubb): The build was broken.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/dkubb/axiom/builds/11181173
solnic has quit [Ping timeout: 245 seconds]
kapowaz has quit [Ping timeout: 245 seconds]
solnic has joined #rom-rb
<elskwid> solnic: You around?
<solnic> elskwid: yes
<elskwid> solnic: Just wanted to say congrats on the running before I go to sleep.
<elskwid> Nice job!
<solnic> elskwid: hah :) thanks man
<solnic> fwiw knee stopped hurting yesterday
<solnic> I used some magical gel :D
<solnic> it happened to me for the second time over the course of one year, so it’s not that bad I suppose
<elskwid> solnic: That's good. Most of what I've studied says it's all about your stride. Is it a particular part of the knee?
<solnic> elskwid: left leg, right side of the knee
<solnic> don’t know how it’s called
<elskwid> solnic: Ah, just the inside of the knee. I had a period where the outside of my right knee was hurting - turned out to be the IT Band.
<solnic> I see
<elskwid> solnic: I thought perhaps we had the same issue so then I would have something to share that might help. Turns out all I can do is say "that sucks"
<elskwid> solnic: Well, that, and listen to your body. That pain is telling you *something*. :-)
<solnic> elskwid: I know :/ I probably shouldn’t run for that long
<elskwid> solnic: Anyway, I'm going to get some rest. I put a few thoughts on that latest Virtus issue and have been nosing around in the rom-rb gems. Such neat stuff in there!
<solnic> my previous record was ~7km
<solnic> so suddenly I did 2.5km more
<solnic> O_o
<elskwid> solnic: Yeah, the large jump will take its toll on your body.
<elskwid> I recall some guidelines like no more than a 10% jump at a time.
<elskwid> Can't remember the specifics.
<solnic> OK I’ll keep that in mind :)
<solnic> elskwid: re virtus, I’m refactoring it again :D
<solnic> see axiom-types-integration
<solnic> I’m simplifying internals going back to previous design
<elskwid> But one I do remember was this: "Don't run as long as you think you should. Don't run as fast as you think you should. Run more often than you think you should."
<solnic> yeah you told me this already, it’s a good one
<elskwid> solnic: Yeah, I saw some chatter about that.
<elskwid> solnic: Well, I'm old. I tend to repeat myself.
<solnic> :)
<elskwid> >_<
<solnic> hah
<elskwid> Let me know if there's anything I can do on Virtus. I will keep looking at what's happening around the other gems and pitching in where I can.
<elskwid> One place I can definitely help is docs.
<solnic> elskwid: cool!
<elskwid> solnic: I figured the best way for me to learn it would be to help doc it.
<solnic> I should finish axiom-types-integration within a week
<elskwid> Oh, nice!
<solnic> once that’s done it’ll be easy to contribute
<solnic> I will simplify specs A LOT
<solnic> I already did rm -r specs/unit :P
<solnic> literally
<elskwid> I've just been playing with some ideas on using Virtus to implement a FormObject type of things.
<elskwid> Whoa!
<elskwid> bold move
<solnic> yeah I know
<elskwid> later tests
<solnic> I want to rewrite specs using latest mutant
* elskwid waves
<solnic> and see how it goes
<elskwid> Riding the edge of everything.
<solnic> I’m pretty sure I won’t break much :)
<solnic> fwiw I’m leaving integration specs untouched
<solnic> so that’s something
<elskwid> A little sanity check
<solnic> I also know the library pretty well so I feel confident I will be able to write new specs, do the refactor and not break too much
<elskwid> We've discussed it before but the specs were a bit, um, tedious.
<solnic> elskwid: yeah I know, that’s why I’m rewriting them
<elskwid> Yeah. Just being the old repeating man.
<elskwid> ha ha
<elskwid> muttering about specs and walking down the street
<elskwid> And with that, I'm heading to bed. Have a great day!
<solnic> elskwid: thanks man, good night :)
kapowaz has joined #rom-rb
xargoon has quit [*.net *.split]
dbussink has quit [*.net *.split]
bf4 has quit [*.net *.split]
postmodern has quit [*.net *.split]
onewheelskyward has quit [*.net *.split]
kleech has joined #rom-rb
bf4 has joined #rom-rb
dbussink has joined #rom-rb
onewheelskyward has joined #rom-rb
xargoon has joined #rom-rb
postmodern has joined #rom-rb
knowtheo1y has quit [Ping timeout: 246 seconds]
jfredett has joined #rom-rb
jfredett has quit [Client Quit]
postmodern has quit [Quit: Leaving]
kleech has quit [Remote host closed the connection]
mbj has joined #rom-rb
kleech has joined #rom-rb
knowtheory has joined #rom-rb
snusnu has joined #rom-rb
breakingthings has joined #rom-rb
cored has joined #rom-rb
cored has joined #rom-rb
snusnu has quit [Quit: Leaving.]
kleech has quit [Remote host closed the connection]
snusnu has joined #rom-rb
kleech has joined #rom-rb
jfredett has joined #rom-rb
cored has quit [Ping timeout: 264 seconds]
cored has joined #rom-rb
<elskwid> Mornin' everyone.
<onewheelskyward> morning!
<mbj> morning
<solnic> morning
kleech has quit [Remote host closed the connection]
knowtheory has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
knowtheory has joined #rom-rb
kleech has joined #rom-rb
<snusnu> hey guys
<snusnu> that might be of interest to us: https://www.gittip.com/about/teams/
<snusnu> solnic, mbj ^^^^
<mbj> snusnu: go fo it!
<mbj> snusnu: *for
<mbj> snusnu: Team ROM
<snusnu> mbj: team rom-rb i'd say
<mbj> jo
<snusnu> mbj, solnic: after reading how it works, it seems like the one creating the team account, is considered the team owner, which has further implications that i'm not going to explain here, we should all read the page linked above carefully, and then decide who's going to be the team owner (my initial vote would be dkubb)
<snusnu> making dkubb the owner, would maybe, apart from other obvious reasons, have the advantage of having a team owner that might actually have a bank account that is able to cooperate with gittip "directly", as gittip currently works "best" for customers of certain US banks
dkubb has joined #rom-rb
<snusnu> for example, it's currently not possible for me, solnic and mbj to register our bank accounts with gittip, assuming we all have no bank account at one of the supported banks … i've no idea if dkubb has, but yeah
<mbj> snusnu: as you speak about dkubb :D
<snusnu> hey dkubb
<snusnu> dkubb: please read the last 3min of logs :)
<dkubb> heh, one sec
<mbj> dkubb: We once had the joke we have to talk about virtus to make solnic appear :D
<mbj> dkubb: And talk about substation to make snusnu appear, same for mutant with me.
<snusnu> mbj: fwiw, i tried to summon you recently by writing mutant mutant mutant .. didn't work :p
<mbj> Now we have to figure out the "word" that makes dkubb appear :D
<dkubb> well, worst case I can drive across the border and open up a bank account
<dkubb> I'm 15 minutes form the US/Canada border
<elskwid> dkubb: I know you guys don't really know me but I'd be happy to be the proxy for you. I'm in Reno, NV, USA.
<snusnu> dkubb: heh, that would be considerably easier than for anyone of the rest of us :)
<snusnu> elskwid: thx for the offer! fwiw, i'd trust you :)
<elskwid> And I'd be happy to sign papers or something that would ensure the money goes to the right place. I just got done setting up an LLC so I'm familiar with all that jazz.
<mbj> elskwid: np for me
<elskwid> snusnu: Thanks!
<dkubb> elskwid: sure, we'll keep your offer in mind
<elskwid> Excellent. It would be no problem whatsoever and would be another good way for me to help.
<dkubb> I can be at a US bank in 20 minutes anyway, so unless for some reason they deny me an account because I'm Canadian, then we should have no issues
<snusnu> dkubb: wdyt about that gittip feature, and how it works in general? i must say i like it, from what i understood so far, it's pretty much inline with (our) oss philosophy
<dkubb> snusnu: yeah, I like that idea the best of anything proposed. I prefer a small steady trickle than a one-time larger fund raiser
<snusnu> dkubb: yeah, a fundraiser is a completely different beast (which i'm not totally against, btw) .. but yeah, the gittip model is truly nice, and if it only ever stays complementary, that's fair enough still
<dkubb> I look at what happened to travis, they raised > $100k, but it still wasn't enough to replace ~4 people's contracting rates.. they probably only got 2-3 months FT out of it, and then the product has been on life support since
<snusnu> yeah, oss needs ongoing support
<dkubb> for me the donations are more a motivator like "hey someone is interested in this"
<dkubb> I don't see it ever replacing contracting
<snusnu> me neither, but i see bountysource as a model that can help finding contracts
<dkubb> what I'd rather do is get it to the point where it's production ready, and then subcontract for larger ruby shops converting apps to use ROM
<snusnu> tbh, while i like that too, it doesn't go far enough for me, i want social impact that changes things more fundamentally, even tho that might be an utopian thought right now, but hey :)
<snusnu> that model alone, building it till it's done, and then do "regular" contracting .. kinda is accepting the status quo, but, i don't like the status quo, i want to change it :)
<snusnu> but that's probably a completely different discussion ;)
<dkubb> they're not mutually exclusive though :P
<snusnu> absolutely not :)
<mbj> dkubb, snusnu: I ack all your decsions. Proactively.
<mbj> I have to run :D
<elskwid> snusnu: I like the utopian vision.
kleech has quit [Remote host closed the connection]
<snusnu> elskwid: heh cool, i really believe that there is a lot of innovation in business models and ways companies are structured still to come … it's one of the things that interest me most in fact, lots of software can be built to support such change … far too much software is being built, for businesses that actually make things worse, millions of dollars are wasted in order to make a few people even more rich ..
<snusnu> i'm not saying software alone will be able to change things, but surely software can help, if, and only if, its built to serve a more cooperative purpose, not emphasizing profits of the few
<dkubb> bbiab
dkubb has quit [Quit: Linkinus - http://linkinus.com]
jfredett has quit [Read error: Connection reset by peer]
jfredett has joined #rom-rb
jfredett has quit [Read error: Connection reset by peer]
jfredett has joined #rom-rb
snusnu has quit [Quit: Leaving.]
snusnu has joined #rom-rb
snusnu1 has joined #rom-rb
snusnu1 has quit [Client Quit]
<mbj> Back online in 15min
mbj has quit [Quit: leaving]
snusnu has quit [Ping timeout: 256 seconds]
jfredett has quit [Read error: Connection reset by peer]
jfredett has joined #rom-rb
kleech has joined #rom-rb
mbj has joined #rom-rb
kleech has quit [Remote host closed the connection]
cored has quit [Quit: leaving]
cored has joined #rom-rb
cored has quit [Changing host]
cored has joined #rom-rb
mbj has quit [Quit: Lost terminal]
mbj has joined #rom-rb
kleech has joined #rom-rb
mbj_ has joined #rom-rb
mbj_ has quit [Quit: leaving]
postmodern has joined #rom-rb
jfredett has quit [Quit: Leaving.]
kleech has quit [Remote host closed the connection]
breakingthings has quit []
kleech has joined #rom-rb
dkubb has joined #rom-rb
mbj has quit [Ping timeout: 260 seconds]
bf4 has quit [Ping timeout: 260 seconds]
snusnu has joined #rom-rb
bf4 has joined #rom-rb
kleech has quit [Remote host closed the connection]
cored has quit [Ping timeout: 245 seconds]