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
sferik has joined #rom-rb
sferik has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
judofyr has joined #rom-rb
judofyr has quit [Ping timeout: 252 seconds]
snusnu has quit [Quit: Leaving.]
judofyr has joined #rom-rb
judofyr has quit [Ping timeout: 245 seconds]
judofyr has joined #rom-rb
judofyr has quit [Ping timeout: 253 seconds]
sferik has joined #rom-rb
judofyr has joined #rom-rb
judofyr has quit [Ping timeout: 264 seconds]
lfox has joined #rom-rb
judofyr has joined #rom-rb
judofyr has quit [Ping timeout: 245 seconds]
lfox has quit [Quit: ZZZzzz…]
judofyr has joined #rom-rb
judofyr has quit [Ping timeout: 248 seconds]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judofyr has joined #rom-rb
judofyr has quit [Read error: Operation timed out]
dkubb has joined #rom-rb
travis-ci has joined #rom-rb
<travis-ci> [travis-ci] dkubb/adamantium#140 (master - 5390e7b : Dan Kubb): The build was broken.
travis-ci has left #rom-rb [#rom-rb]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/dkubb/adamantium/builds/15511019
travis-ci has joined #rom-rb
travis-ci has left #rom-rb [#rom-rb]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/dkubb/adamantium/builds/15511019
<travis-ci> [travis-ci] dkubb/adamantium#140 (master - 5390e7b : Dan Kubb): The build was broken.
travis-ci has joined #rom-rb
travis-ci has left #rom-rb [#rom-rb]
<travis-ci> [travis-ci] dkubb/adamantium#140 (master - 5390e7b : Dan Kubb): The build was broken.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/dkubb/adamantium/builds/15511019
<dkubb> hmm
<dkubb> that's kind of spammy
judofyr has joined #rom-rb
travis-ci has joined #rom-rb
<travis-ci> [travis-ci] dkubb/adamantium#140 (master - 5390e7b : Dan Kubb): The build was broken.
<travis-ci> [travis-ci] Build details : http://travis-ci.org/dkubb/adamantium/builds/15511019
travis-ci has left #rom-rb [#rom-rb]
judofyr has quit [Ping timeout: 252 seconds]
skade has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
judofyr has joined #rom-rb
judofyr has quit [Read error: Operation timed out]
judofyr has joined #rom-rb
dkubb has quit [Quit: Linkinus - http://linkinus.com]
judofyr has quit [Ping timeout: 245 seconds]
skade has joined #rom-rb
rolfb has joined #rom-rb
judofyr has joined #rom-rb
mbj has joined #rom-rb
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #rom-rb
rolfb has quit [Quit: Linkinus - http://linkinus.com]
cored has joined #rom-rb
cored has quit [Changing host]
cored has joined #rom-rb
judofyr has quit [Remote host closed the connection]
breakingthings has joined #rom-rb
sferik has joined #rom-rb
lfox has joined #rom-rb
snusnu has joined #rom-rb
snusnu has quit [Quit: Leaving.]
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
avdi has joined #rom-rb
skade_ has joined #rom-rb
CraigBuchek has joined #rom-rb
36DABYJCU has joined #rom-rb
lfox has quit [*.net *.split]
skade has quit [*.net *.split]
mbj has quit [*.net *.split]
avdi_ has quit [*.net *.split]
avdi is now known as avdi_
snusnu has joined #rom-rb
skade_ has quit [Ping timeout: 245 seconds]
36DABYJCU has quit [Ping timeout: 248 seconds]
mbj has joined #rom-rb
skade has joined #rom-rb
cored has quit [Ping timeout: 245 seconds]
bf4 has joined #rom-rb
snusnu1 has joined #rom-rb
avdi has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
cored has joined #rom-rb
cored has quit [Changing host]
cored has joined #rom-rb
skade has joined #rom-rb
avdi_ has quit [Ping timeout: 264 seconds]
snusnu has quit [Ping timeout: 264 seconds]
jgaskins has joined #rom-rb
avdi is now known as avdi_
skade has quit [Client Quit]
skade has joined #rom-rb
skade has quit [Client Quit]
skade has joined #rom-rb
avdi_ has quit []
avdi has joined #rom-rb
breaking_ has joined #rom-rb
_br_- has joined #rom-rb
breakingthings has quit [Ping timeout: 248 seconds]
_br_ has quit [Ping timeout: 248 seconds]
snusnu1 has quit [Quit: Leaving.]
breakingthings has joined #rom-rb
judofyr has joined #rom-rb
_br_- has quit [*.net *.split]
breaking_ has quit [*.net *.split]
joakimk has quit [*.net *.split]
Gibheer has quit [*.net *.split]
elskwid has quit [*.net *.split]
indrek has quit [*.net *.split]
skade has quit [Quit: Computer has gone to sleep.]
_br_ has joined #rom-rb
elskwid has joined #rom-rb
Gibheer has joined #rom-rb
indrek has joined #rom-rb
snusnu has joined #rom-rb
_br_ has quit [Max SendQ exceeded]
joakimk has joined #rom-rb
_br_ has joined #rom-rb
_br_ has quit [Ping timeout: 240 seconds]
_br_ has joined #rom-rb
skade has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
judofyr has quit [Remote host closed the connection]
skade has joined #rom-rb
judofyr has joined #rom-rb
sentimel has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
sentimel has quit [Remote host closed the connection]
skade has joined #rom-rb
mbj has quit [Ping timeout: 252 seconds]
dkubb has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
judofyr has quit [Remote host closed the connection]
judofyr has joined #rom-rb
skade has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
CraigBuchek has quit [Quit: Leaving.]
CraigBuchek has joined #rom-rb
skade has joined #rom-rb
<elskwid> Morning all.
<dkubb> elskwid: good morning
<elskwid> Hi dkubb
skade has quit [Read error: Connection reset by peer]
judofyr has quit [Remote host closed the connection]
judofyr has joined #rom-rb
mbj has joined #rom-rb
judofyr has quit [Ping timeout: 264 seconds]
bf4 has quit [Ping timeout: 252 seconds]
fazenda has joined #rom-rb
snusnu has quit [Quit: Leaving.]
snusnu has joined #rom-rb
<cored> hi all
fazenda has quit [Remote host closed the connection]
bf4 has joined #rom-rb
uralgold has joined #rom-rb
uralgold has quit [Remote host closed the connection]
skade has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
ecotred has joined #rom-rb
skade has joined #rom-rb
ecotred has quit [Remote host closed the connection]
maximfree has joined #rom-rb
maximfree has quit [Ping timeout: 272 seconds]
skade has quit [Read error: Connection reset by peer]
<mbj> cored: hi
skade has joined #rom-rb
snusnu has quit [Quit: Leaving.]
skade has quit [Read error: Connection reset by peer]
skade has joined #rom-rb
snusnu1 has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
skade has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
skade has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
floriankraft has joined #rom-rb
floriankraft has left #rom-rb [#rom-rb]
skade has joined #rom-rb
florian_k has joined #rom-rb
skade has quit [Read error: Connection reset by peer]
florian_k is now known as floriank
floriank has quit []
mbj has quit [Read error: Connection reset by peer]
sferik has joined #rom-rb
mbj has joined #rom-rb
postmodern has joined #rom-rb
skade has joined #rom-rb
<mbj> dkubb: hola
CraigBuchek has quit [Quit: Leaving.]
lfox has joined #rom-rb
lgierth has joined #rom-rb
skade has quit [Quit: Computer has gone to sleep.]
<dkubb> mbj: hey man, how's it going
<dkubb> I'm going to have Thursday and Friday off this week to do oss
<mbj> dkubb: Nice.
<mbj> dkubb: Your focus will be on axiom?
<dkubb> mbj: I'm still considering the next step
bf4 has quit [Ping timeout: 240 seconds]
bf4 has joined #rom-rb
skade has joined #rom-rb
skade has quit [Client Quit]
<postmodern> http://mwerner.github.io/spigot/ have you seen this?
<dkubb> postmodern: I hadn't seen that, very interesting
<mbj> postmodern: Looks like ducktrap. But with a more friendly api!
<mbj> postmodern: But its implementation does not allow composable stuff.
<mbj> postmodern: I think ducktrap/morpher are stronger from concept, spigot from usability ;)
<mbj> I'm a bottom up person ;)
<postmodern> mbj, still waiting to see morpher morph into shape ;)
<mbj> postmodern: spigot does not seem to have strong type guards :(
<mbj> postmodern: Need to set it up and target my fuzzer on it.
<mbj> postmodern: Its a more ad-hoc implementation, (just reading the source).
<mbj> I'd not prefer it over ducktrap, at least from my current POV.
<mbj> postmodern: Thx for link!
<postmodern> mbj, yeah i guess they are assuming the ORM will handle that
<postmodern> mbj, just is a rough params -> model mapper
<dkubb> the interface reminds me of roar
<mbj> postmodern: An orm thatt does coercions is IMHO wrong ;) But thats another topic :D
<dkubb> I've often wondered if I could define a roar view, and then use it to do the reverse mapping
breakingthings has quit []
<dkubb> I need to build a status page for rom gems
<dkubb> something that includes build state, coverage, open issues
<mbj> dkubb: I had such a thing once.
<mbj> dkubb: Called rom status, it was only badges.
<dkubb> yeah I know
<mbj> But it was a start.
<mbj> And it was an unusual stack ;)
<mbj> I'm totally okay if we use a stupid rails / sinatra app.
<dkubb> I just need one place to look at in order to know the state of things
<mbj> To enable potential contribs contribute.
<dkubb> yeah, me too
<mbj> I can aways replace it with a rom style web app framework later ;)
<mbj> dkubb: We should call for help here.
<dkubb> yeah, I could do a simple html mock-up of what I want the page to be
<mbj> dkubb: do it, pls!
<dkubb> it'll basically be a table, with sortable columns (because I sometimes like to use different things to rank the projects)
<dkubb> I might be in the mood to close some issues, so I'll start with the project that has the most open issues
<mbj> Remember that table will grow BIG.
<dkubb> or maybe I want to fix a failing build
<dkubb> yeah
<dkubb> it'll probably have 20-30 gems at least
<mbj> If you place all badges next ot each other.
<mbj> Maybe the columns should be selectable.
<dkubb> I don't know if I would have badges or just simply color codes
<dkubb> badges would be simplest
<mbj> dkubb: Badges. Because its less work.
<dkubb> hah
<mbj> dkubb: And we should include ALL our downstream gems.
<mbj> All gems that our toolchain is made of.
<mbj> flay / flog / reek / mutant / unparser / parser
<mbj> So it must have sections.
<dkubb> runtime dependencies or dev?
<dkubb> I don't care if flay's build is failing though
<mbj> runtime, and tools we use explicitly.
<mbj> okay, I have to find another reason to include mutant ;)
<dkubb> I'm not going to fix a failing build in flay. I might in mutant
<mbj> Just lets include mutant :D
<dkubb> yup
<mbj> Reason: because mbj wants it.
<dkubb> I might include rubocop though
<dkubb> I would include the next generation metrics tools
<mbj> and unparser / parser!
<mbj> than its enough.
<dkubb> yeah, I would probably have a development and runtime section
<dkubb> runtime includes axiom*, rom*, etc
<dkubb> development would include devtools, unparser, mutant, rubocop, ast, parser
<mbj> +1
<mbj> fits.
<dkubb> I want to be able to look at a grid and spot the bad parts in one glance
<mbj> It should aggregate issue/pr/stare/watcher - count
<dkubb> I don't care about watchers :P
<mbj> And it should have a commit stream!
<dkubb> issues
<mbj> yeah
<mbj> issues/pr
<dkubb> I don't care about commit stream either :P
<dkubb> just a summary
<mbj> I want to show people we are far from dead.
<mbj> Aggregated commit stream of ALL related projects.
<dkubb> oh, there is one thing we could use
<mbj> Just omit parser here.
<mbj> If you combine all comits going to rom* dkubb/snusnu/solnic/mbj *rom_related* well have lots of activity ;)
<dkubb> we could display the project pulse (eg https://github.com/dkubb/memoizable/pulse) using a sparkline
<mbj> yeah
<mbj> But I'm talking about an aggregated commit/pulse whatever.
<mbj> So people see "this week 30 commits to rom gems".
<mbj> Where 30 is the sum of all related repos.
<dkubb> there's almost always some activity daily on some part of the ecosystem
<dkubb> yeah, once you have the data aggregating it is easy
<mbj> dkubb: So we need to setup axiom with fixed-base-relation adapters reading the web APIs of github ;)
<mbj> +some caching.
<mbj> dkubb: BTW will adamnatium backed by memoizable allow def foo; end; idempotent :foo syntax ?
<mbj> memoize is probably the wrong name IMHO.
<dkubb> mbj: not yet, but I would consider adding an alias
<dkubb> mbj: you think adamantium should add the "idempotent" method?
<mbj> dkubb: IMHO yes.
<dkubb> I'd do that
<mbj> I'd love to have a language allowing this:
<mbj> idempotent foo # alternative to def
<mbj> "bar"
<mbj> end
<mbj> command bar(baz) # alternative to def
<mbj> @baz = baz
<mbj> end
<dkubb> in ruby 2.1 you'll be able to do: idempotent def foo
<mbj> yeah, but the compiler does not know :(
<mbj> The compiler does not know about what is a command method and what not.
<dkubb> it would be nice to classify each method as command or query methods
<mbj> yeah, thats my point
<mbj> We talked about this already.
<dkubb> a query method could disallow mutation
<dkubb> even if the object was otherwise mutable
<mbj> If the compiler would now a value expression was generated by an idempotent method call
<mbj> dd
<mbj> If the compiler would know a value is the result of an idempotent method call:
<mbj> Cool optimizations could happen!
<dkubb> my definition of a command method is a tiny bit looser though.. it must return self *or* a new instance of the same class that represents a state change
<mbj> dkubb: yeah
<mbj> dkubb: Fine with me.
<dkubb> *represents a new state
<mbj> big_array.map do |item|
<mbj> item + foo.idempotent_method_call_without_args
<mbj> end
<mbj> if the compiler would *know* foo.idempotent_method_call_without_args IS idempotent, he could introduce an lvar, executing the idempotent call once and use lvar as rhs of addition.
<mbj> dkubb: In ruby the compiler would not know in advance
<mbj> dkubb: But after the first item gets processed it could be known the rhs of addtion is idempotent.
floriankraft has joined #rom-rb
floriankraft is now known as florian_k
sferik has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sferik has joined #rom-rb
<sferik> hi all
<dkubb> sferik: hi
<sferik> just reading over the discussion about idem def foo
<sferik> also: "I can aways replace it with a rom style web app framework later ;)"
<dkubb> heh
<sferik> are you guys planning to do a web framework once ROM is done?
<dkubb> some of the guys are working on one for their own side projects
<sferik> !
<sferik> really?
<dkubb> I don't know too much about it
<sferik> is it OSS yet?
<sferik> I really liked Merb, back in the day
<sferik> something half-way between Sinatra and Rails
<sferik> Rails is too heavy, Sinatra too weak
<sferik> Merb felt just right to me
<dkubb> I still feel like there's some improvement to be made in the way we do things
<sferik> I know there’s Padrino or whatever, but I am slightly discouraged by that project
<sferik> mostly because it didn’t seem to learn from any of Merb's mistakes
<sferik> I saw them making the same mistakes
<dkubb> it's basically rebuilding rails on top of a sinatra core, isn't it?
* sferik nods
<dkubb> as an outsider observer that's been my understanding, whether it's correct or not
<sferik> Yeah, I’m also outside
<sferik> never built a Padrino app
<sferik> I still have a couple old merb apps that I maintain
<sferik> they start up in a fraction of a second
<sferik> and the code is really nice
<sferik> Not perfect but nicer than most Rails apps I’ve worked on
<sferik> it was really ahead of it’s time for building API servers
<sferik> that was really the sweet spot for Merb
<florian_k> i recently took a look at padrino... quite nice, in contrast to rails
<sferik> florian_k, yeah? say more
<mbj> sferik: What we started is FAR from padrino / merb.
<mbj> sferik: You are a native german speaker? Just catch me an snusnu explaining it.
<mbj> sferik: Its "differend".
<mbj> sferik: Also its obviousely far from rails.
<florian_k> as far as i could tell, it's basically sinatra with some sugar on the outside
<sferik> mbj: Definitely not a German speaker yet
<sferik> mbj: I am learning, slowly
<mbj> sferik: Heh, so lets do it in english, once snusnu is back.
<mbj> sferik: The idea is to plug lots of small unit tested parts into a chain. Resulting in a request processing pipeline.
<mbj> sferik: Rather than inheriting controllers you instantiate them..
<sferik> Seems good.
<mbj> sferik: It is.
<mbj> sferik: It enforces layering.
<dkubb> I'm willing to try something new as an experiment
<mbj> sferik: In the core you get https free domain.
<mbj> sferik: s/https/http/
<sferik> Is it built on Rack?
<mbj> sferik: it abstracts away rack as fast as possible.
<dkubb> mbj: some parts of the http protocol are quite nice. I wonder if it'll be ideal to completely insulate people from it
<mbj> sferik: Rack is IMHO not a good representation for an http request / response cycle.
<mbj> Its okay for the outer boundary.
<sferik> Yeah, I agree
<dkubb> its surprising to me how many app developers don't understand http caching or validation (like conditional GET, etc)
<dkubb> yeah, I agree with that though ;)
<mbj> dkubb: Yeah. But for most crud + notifications stuff you dont actually need http to leak deep.
<mbj> sferik: Yeah
<mbj> sferik: I wrote two thiny libs abstracting away rack.
<dkubb> I often leverage caching, but I suppose if I could define some caching rules I might be able to abstract it
<mbj> sferik: *tiny
<sferik> I like "thiny"
<sferik> that's an awesome word
<mbj> sferik: But unlike Rack::{Request,Response} I dont modify the rack_env hash.
<mbj> And I dont give access to it again.
<mbj> The rack request env hash is misused as a request global.
<mbj> Each layer just tries to communicate with another layer using the request env hash as payload storage.
<mbj> *in a traditional rack env
<mbj> I dislike this.
<mbj> sferik: if you are interested look into mbj/request and mbj/response
<mbj> sferik: Also snusnu/cookie
<mbj> sferik: And finally snusnu/substation (this one is the chain assembler, and executor).
<mbj> sferik: But as always, we did this stuff for internal consumption.
<mbj> sferik: So we are laking good documentations and howtos. But its build ROM-style.
<mbj> Lots of small units, and full mutation coverage.
<dkubb> what I would like is to work with resources and representations. something that understands caching, validation, and content negotiation. something optimized for building apis.
<mbj> dkubb: Yeah, but you probably wanna do this on top of an real OO api, and NOT rack primitive hash ;)
<dkubb> something that doesn't buffer requests and responses, but insteads allows me to process and emit them as streams.
<dkubb> well yeah, I don't like the rack api too much
<mbj> Just realize I need to write reades.
<mbj> dkubb: Its IMHO okay for an outer boundary, but you should NOT leak its primitive details into your app.
<mbj> sferik: just forge the stuff under mbj/request and mbj/response
<mbj> sferik: Its lacking a readme. sorry.
<mbj> sferik: Open an issue pls, I'll create one.
<mbj> gotta go to sleep, cu
mbj has quit [Quit: leaving]
<sferik> later
lgierth has quit [Ping timeout: 245 seconds]
lgierth has joined #rom-rb
<florian_k> could it be that the currently released version for rom rb is a little bit broken? i started playing aroud with it this evening and the example did not relly run :/
<florian_k> +a
<florian_k> addendum: the errors i got came from an older version of axiom, to be exact
<dkubb> ahh ok, I'll check it out
<dkubb> one thing I wish travis had is a way to specify project dependencies
<dkubb> so when I commit a change to one project, anything dependent on it could run it's own tests with the change
<florian_k> mmmh, that'd be nice indeed
<dkubb> I know we can do this with jenkins, but I don't really want to maintain a CI system right now