adambeynon changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at http://irclog.whitequark.org/opal
Kilo`Byte has quit [Quit: kilobyte22.de]
Kilo`Byte has joined #opal
Liothen has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
meh` has quit [Ping timeout: 272 seconds]
e_dub has joined #opal
ryanstout has joined #opal
ryanstout has quit [Quit: ryanstout]
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
schappim has joined #opal
schappim has quit [Client Quit]
e_dub has quit [Ping timeout: 264 seconds]
e_dub has joined #opal
e_dub has quit [Ping timeout: 240 seconds]
e_dub has joined #opal
schappim has joined #opal
marcandre has quit [Remote host closed the connection]
DouweM has quit [Quit: Leaving...]
elia has joined #opal
schappim has quit [Quit: Leaving...]
DouweM has joined #opal
Kilo`Byte has quit [Ping timeout: 245 seconds]
Kilo`Byte has joined #opal
brixen has quit [Ping timeout: 272 seconds]
brixen has joined #opal
meh` has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
_elia has joined #opal
elia has quit [Ping timeout: 272 seconds]
<meh`> brixen, ping
<meh`> adambeynon, ping
_elia has quit [Ping timeout: 246 seconds]
elia has joined #opal
GitHub39 has joined #opal
<GitHub39> [opal] meh pushed 7 new commits to master: http://git.io/IyAvBw
<GitHub39> opal/master 234e817 meh: Simplify TypeError creation in helpers
GitHub39 has left #opal [#opal]
<GitHub39> opal/master 5801610 meh: Enable core/math specs
<GitHub39> opal/master 69ace90 meh: Add dummy Complex and Rational classes
travis-ci has joined #opal
<travis-ci> [travis-ci] opal/opal#1647 (master - f5b1f91 : meh): The build has errored.
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16141769
elia has quit [Ping timeout: 260 seconds]
elia has joined #opal
GitHub134 has joined #opal
<GitHub134> [opal] meh pushed 2 new commits to master: http://git.io/nXnfQQ
<GitHub134> opal/master e34b5d8 meh: Compliancy fixes for Math.asin
<GitHub134> opal/master 226d95c meh: Compliancy fixes for Math.sin
GitHub134 has left #opal [#opal]
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
GitHub18 has joined #opal
<GitHub18> [opal] meh pushed 3 new commits to master: http://git.io/RJzmig
GitHub18 has left #opal [#opal]
<GitHub18> opal/master 0591e42 meh: Compliancy fixes for Math.log
<GitHub18> opal/master 425b762 meh: Compliancy fixes for Math.log2
<GitHub18> opal/master 0c9d326 meh: Compliancy fixes for Math.log10
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16144069
<travis-ci> [travis-ci] opal/opal#1649 (master - 425b762 : meh): The build has errored.
travis-ci has left #opal [#opal]
ryanstout has joined #opal
<adambeynon> Doesnt look like travis is liking ruby-1.8 today...
<meh`> yeah
<meh`> adambeynon, can you comment the discussion issue I opened when you have time please?
GitHub66 has joined #opal
GitHub66 has left #opal [#opal]
<GitHub66> opal/master 790cf9b meh: Compliancy fixes for Math.cos
<GitHub66> [opal] meh pushed 5 new commits to master: http://git.io/yZgZWw
<GitHub66> opal/master 848d375 meh: Fix Float.=== to treat all numbers as float
<GitHub66> opal/master 5eca00a meh: Compliancy fixes for Math.sqrt
<adambeynon> Bridged class have to inherit from Object unfortunately :/
<meh`> adambeynon, as I sadly suspected
<meh`> we have to find another solution
<meh`> maybe do the superclass trick in Number
<meh`> it's irrelevant that Number inherits from Numeric as far as methods go
<meh`> it's only important it has Number as superclass
<meh`> derp
<meh`> meant Numeric as superclass
<meh`> adambeynon, I'll start a number branch and do what's needed to do for complex/rational working properly
<meh`> then you can step in and do the superclass fix
<meh`> if that's fine by you
<adambeynon> meh`: do we need to? we aren't going to have Integer/Float, so is it worth it just for Rational/Complex?
<adambeynon> considering they override any inherited methods anyway
<adambeynon> they will need to*
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16146129
<travis-ci> [travis-ci] opal/opal#1650 (master - f7dfcb1 : meh): The build has errored.
travis-ci has left #opal [#opal]
<meh`> adambeynon, I need it for opal-browser as well
<meh`> and we get a lot of breaking specs without it
<meh`> and I don't see it as much of a problem
<meh`> it's just a minor superclass hack
<meh`> the upsides for compliancy are much more
<meh`> adambeynon, also need them for Vetta
<meh`> adambeynon, basically anything graphical would benefit from it
<adambeynon> Vetta?
<meh`> yeah, raphaeljs clone for opal
<adambeynon> ah right, look forward to it ;)
<meh`> adambeynon, anyway, I'm getting 5 failures in time specs
<meh`> adambeynon, http://sprunge.us/PHHI
<adambeynon> meh`: I think we need to move Time to become a wrapper
<adambeynon> makes it easier to handle timezones
<adambeynon> not really any big benefit of bridging it either
<meh`> adambeynon, agree
<meh`> we have #to_n for a reaason :)
GitHub27 has joined #opal
GitHub27 has left #opal [#opal]
<GitHub27> opal/master c66f44f meh: Also hack Numeric#instance_of?
<GitHub27> opal/master d963479 meh: Compliancy and polyfill fixes for Math.acosh
<GitHub27> opal/master f11bb02 meh: Compliancy fixes for Math.exp
<GitHub27> [opal] meh pushed 5 new commits to master: http://git.io/qhOj0A
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16147862
<travis-ci> [travis-ci] opal/opal#1651 (master - 5f9c5e0 : meh): The build has errored.
travis-ci has left #opal [#opal]
marcandre has joined #opal
<meh`> adambeynon, how long till we drop 1.8?
<meh`> it's getting on my nerves
ylluminate has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
DouweM has quit [Quit: Leaving...]
diamondus has joined #opal
diamondus has quit [Remote host closed the connection]
<meh`> adambeynon, what does "Sepcs timed out" mean?
<meh`> adambeynon, disregard that
<brixen> meh`: sup?
<meh`> brixen, nothing, fixed it, I was trying to understand why the Errno::EDOM specs were running
<meh`> turrned out we didn't have Complex or Rational classes
<brixen> ahh ok
<meh`> when are the Math::DomainError specs going to be added?
elia has quit [Quit: Computer has gone to sleep.]
barry has joined #opal
Liothen has quit [Quit: System of a down……]
Liothen has joined #opal
marcandre has quit [Remote host closed the connection]
marcandre has joined #opal
marcandre has quit [Remote host closed the connection]
marcandre has joined #opal
barry has quit [Remote host closed the connection]
barry has joined #opal
DouweM has joined #opal
<ryanstout> meh`: any ideas on this one: https://github.com/opal/opal/issues/475
<meh`> not that bug again
<meh`> adambeynon, ^
<meh`> this is a regression
<meh`> ryanstout, what opal version?
<ryanstout> master
<ryanstout> from a few days ago
<meh`> yeah, regression
<ryanstout> want me to pull master again?
<meh`> ryanstout, no
<meh`> it hasn't been fixed recently
<meh`> ryanstout, a temporary workaround is to use a temporary variable
<adambeynon> ryanstout: what does it give you? Instead of 0
<ryanstout> ok
<ryanstout> using the temp var
<ryanstout> thanks
<ryanstout> that one really threw me for a loop
elia has joined #opal
<ryanstout> adambeynon: it gives me 2
elia has quit [Read error: Connection reset by peer]
<ryanstout> its doing + I think
DouweM has quit [Read error: Connection reset by peer]
DouweM_ has joined #opal
barry_ has joined #opal
<meh`> adambeynon, ping
<meh`> if (x == 0 && 1 / x == -Infinity
elia has joined #opal
<meh`> nope
<meh`> >> 1 / -0
<meh`> => Infinity
<meh`> >> 1 / `-0`
<meh`> => -Infinity
<meh`> adambeynon, ^
<meh`> fix asap plz
<meh`> it's fucking up all the Math.atan2 specs
<adambeynon> does it compile the wrong code? must be
barry has quit [Ping timeout: 252 seconds]
<meh`> adambeynon, I don't know
<meh`> yes
<meh`> it does
<meh`> there's also an issue with tabs at the end of the line
<meh`> any ETA on these two fixes?
<adambeynon> meh`: not soon. Really tied up until next Monday, so wont be able to do anything until then
<meh`> adambeynon, no worries, just wanted to know if you were going to fix the -0 bug now
<meh`> I'll give it a shot myself
<meh`> after I'm done with the math specs
<adambeynon> wait, -0 ?
<meh`> yes, -0 is compiled to 0
<meh`> that's the issue
<meh`> it should be compiled to -0
<adambeynon> js: -0 === 0
<adambeynon> at the js level it shouldnt matter
<meh`> yes, they're equal, but they aren't :)
<meh`> it does
<meh`> 1 / 0
<meh`> 1 / -0
<meh`> one returns Infinity, the other -Infinity
<meh`> it matter infinitely :P
<meh`> *matters
elia has quit [Ping timeout: 240 seconds]
<adambeynon> lol, yeh. Does ruby treat -0 and 0 differently?
<meh`> yes
<meh`> when they're float
<adambeynon> I guess in the parser we convert any integers into ruby ints, which makes -0 loose the minus, and becomes 0
<meh`> but now that I think of it
<meh`> give me some time
<adambeynon> not sure how thats going to be fixed without storing all ints as strings
<meh`> -0.0 is compiled to -0.0
<adambeynon> (or floats?)
<meh`> give me a sec
<adambeynon> or even special case -0
<adambeynon> (and make it -0.0)
<meh`> wait wait
<meh`> something else must be going on
DouweM_ has quit [Ping timeout: 272 seconds]
<meh`> adambeynon, yeah
elia has joined #opal
<meh`> it's not a bug in opal
<meh`> I mean, it's not what I thought it was
<meh`> which means I have to start from scratch with the debugging
<meh`> oh and
<meh`> happy new year
<meh`> we have over 3100 passing specs
<elia> merry Christmas too :)
<meh`> promises were for grav-mass
<meh`> hitting the 3k specs is for the new year
<meh`> and found it
<elia> kthen, unrelated: merry Christmas!
<elia> :D
marcandre has quit [Remote host closed the connection]
GitHub15 has joined #opal
<GitHub15> [opal] meh pushed 11 new commits to master: http://git.io/LLOIyw
<GitHub15> opal/master faa2329 meh: Add domain check in Math.sqrt
GitHub15 has left #opal [#opal]
<GitHub15> opal/master 5abb300 meh: Bunch of style fixes in Math
<GitHub15> opal/master 6716ef7 meh: Compliancy fixes for Math.tanh
marcandre has joined #opal
travis-ci has joined #opal
<travis-ci> [travis-ci] Build details : http://travis-ci.org/opal/opal/builds/16161868
travis-ci has left #opal [#opal]
<travis-ci> [travis-ci] opal/opal#1652 (master - a773819 : meh): The build has errored.
<meh`> travis-ci, fuck you too
marcandre has quit [Remote host closed the connection]
<elia> meh`, moving temporarily 1.8.7 to allow_failure is fine to me
<meh`> why don't we just drop it entirely? :D
<meh`> we're in 2013
<meh`> almost 2014
<elia> partially agree, I think we should keep it untill it becomes a too big effort
<ryanstout> is anyone using 1.8.7 opal in production?
<elia> yes
* meh` glares at adambeynon
<ryanstout> just curious, what's the reason?
<elia> legacy stuff mostly, a classic is rails 2 on ree
<ryanstout> are you sharing backend/frontend code?
<elia> no, I moved stuff from one another but no sharing
DouweM has joined #opal
GitHub77 has left #opal [#opal]
<GitHub77> [vienna] stevebooks opened pull request #18: fixed issue where block was not being called (master...master) http://git.io/hx8WbQ
GitHub77 has joined #opal
barry_ has quit [Remote host closed the connection]
barry has joined #opal