ryanstewart has quit [Read error: Connection reset by peer]
ryanstewart has joined #opal
dimaursu16 has quit [Ping timeout: 240 seconds]
RoxasShadowRS has joined #opal
dimaursu16 has joined #opal
elia has joined #opal
kludge` has quit [Ping timeout: 272 seconds]
kludge` has joined #opal
dimaursu16 has quit [Ping timeout: 265 seconds]
dimaursu16 has joined #opal
Liothen has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
dimaursu16 has quit [Ping timeout: 240 seconds]
meh` has joined #opal
dimaursu16 has joined #opal
dimaursu16 has quit [Ping timeout: 248 seconds]
e_dub has quit [Quit: It's a hard knock life]
fkchang has joined #opal
Liothen has joined #opal
ryanstout has joined #opal
dimaursu16 has joined #opal
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
DrShoggoth has joined #opal
ylluminate has joined #opal
e_dub has quit [Quit: ZZZzzz…]
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
ryanstout has quit [Quit: ryanstout]
e_dub has joined #opal
elia has joined #opal
DrShoggoth has quit [Ping timeout: 245 seconds]
DrShoggoth has joined #opal
ryanstout has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
<ryanstout>
adambeynon: how's it going? have you had time to work on that experimental branch much?
<ryanstout>
adambeynon: the one where method names were the same in JS and opal
<adambeynon>
hi ryanstout: not played with it too much for a week or so. The problem of method clashing it too much. We would have to special case about 12 arrays methods, same on string and numeric as well. then there is the problem of not being able to call methods on nil
<adambeynon>
I think it has potential as a coffeescript style language, but not so much as a opal style with a ruby corelib
<ryanstout>
yea
<ryanstout>
oh well, it was an interesting idea
<ryanstout>
probably better to prefer ruby compatibility
<adambeynon>
ryanstout: yeah. maybe come back to it when I have some more time
<adambeynon>
ryanstout: how do you handle formatting in voltrb
<adambeynon>
say, a model attr into a currency
<adambeynon>
or does the reactor stuff do that in itself
<ryanstout>
in most cases the reactive stuff will handle it
<ryanstout>
so if you had a method like this:
<ryanstout>
def dollars(number) ; return '$' + number.to_s ; end
<ryanstout>
that would work fine
<ryanstout>
but things like string interpolation don't return another reactive
<ryanstout>
so there's a few gotchya's
<ryanstout>
usually though anything interacting with a reactive value produces a new reactive value with the dependencies tracked
<ryanstout>
and from bindings, all method calls go to the controllers, so you could just include a "helpers" module in the controller
<ryanstout>
I'm planning on doing some of those number formatting, time, etc.. out of the box
<adambeynon>
yeah, would be nice to have a default set in there
<ryanstout>
yea
<adambeynon>
also good to know the reactive stuff should be able to handle the helper things
<ryanstout>
I really think there's some cool stuff you could do with reactive time values
<ryanstout>
like having it where you can make a reactive time, then say .live_minutes or something, and have it issue a changed value every minute, to automatically create a countdown timer or something