00:12
ryanstout has joined #opal
00:46
ryanstout has quit [Quit: ryanstout]
00:50
ryanstout has joined #opal
01:29
fkchang has quit [Ping timeout: 268 seconds]
01:48
DrShoggoth has joined #opal
01:51
fkchang has joined #opal
04:02
DrShoggoth has quit [Quit: Leaving]
05:02
ryanstout has quit [Quit: ryanstout]
05:07
ryanstout has joined #opal
05:25
e_dub has quit [Remote host closed the connection]
05:31
ryanstout has quit [Quit: ryanstout]
07:56
ryanstewart has joined #opal
08:15
adambeynon has joined #opal
08:16
elia has joined #opal
08:25
elia has quit [Ping timeout: 245 seconds]
08:28
elia has joined #opal
08:58
GitHub140 has joined #opal
08:58
GitHub140 has left #opal [#opal]
08:58
<
GitHub140 >
opal/master 92bb9b2 Adam Beynon: Make sure operators parse correctly when used as method names (fixes
09:01
travis-ci has joined #opal
09:01
<
travis-ci >
[travis-ci] opal/opal#1111 (master - 92bb9b2 : Adam Beynon): The build was broken.
09:01
travis-ci has left #opal [#opal]
09:06
travis-ci has joined #opal
09:06
<
travis-ci >
[travis-ci] opal/opal#1111 (master - 92bb9b2 : Adam Beynon): The build was broken.
09:06
travis-ci has left #opal [#opal]
09:06
<
adambeynon >
hmmmmmmmmmmmmmm
09:10
<
elia >
adambeynon, variable shading?
09:11
<
elia >
adambeynon, I catched a potential varible shading issue while working on #defined…
09:31
kludge` has quit [Ping timeout: 256 seconds]
09:37
kludge` has joined #opal
09:54
<
adambeynon >
elia: I will check on that one
09:54
<
adambeynon >
Im struggling to get 1.8.7 installed to even test it :/
09:55
<
elia >
adambeynon, rvm system # as the last resource ;)
09:57
<
adambeynon >
elia: Im running mavericks which bundles 2.0.0 :(
09:57
<
adambeynon >
should have read the warning before upgrading ;)
09:57
<
elia >
you son of a gun!
09:58
<
elia >
ill give it a whirl
09:59
<
adambeynon >
elia: from the stacktrace on travis, it looks like a racc error possibly
09:59
<
adambeynon >
.. /home/travis/.rvm/rubies/ruby-1.8.7-p374/bin/ruby: symbol lookup error: /home/travis/.rvm/gems/ruby-1.8.7-p374/gems/racc-1.4.10/lib/racc/cparse.so: undefined symbol: rb_ary_subseq
09:59
<
adambeynon >
rb_ary_subseq <- now sure how its affecting only 1.8.7 though..
10:05
<
elia >
adambeynon, ok reproduced with ree-2010.02
10:16
<
adambeynon >
"undefined method `find_by_name' for Gem::Specification:Class"
10:16
<
adambeynon >
this is going to be a long day :'(
10:25
<
elia >
adambeynon, it's racc, uses a c function not exposed in any (1.8) header
10:29
<
adambeynon >
elia: what version of racc is being installed for you? I have 1.4.9 here on ruby-1.8.7 working fine, but the error on travis seems to be from racc-1.4.10
10:30
<
elia >
ok, we can notify them that racc-1.4.10 isn't ok with 1.8
10:31
<
elia >
adambeynon, maybe they'll yank and rerelease with ruby version constraint…
10:33
<
adambeynon >
elia: confirmed. just updated to 1.4.10 and got the error
10:33
<
adambeynon >
yeah, best to notify them
10:34
<
elia >
lunch time, cy
10:40
<
adambeynon >
okies, I'll keep a lookout on that one
11:40
fkchang has quit [Ping timeout: 272 seconds]
12:09
GitHub2 has joined #opal
12:09
GitHub2 has left #opal [#opal]
12:09
<
GitHub2 >
opal/master 27c9eed Adam Beynon: Use Opal::Builder to simpify opal-parser.js
12:12
travis-ci has joined #opal
12:12
<
travis-ci >
[travis-ci] opal/opal#1112 (master - 27c9eed : Adam Beynon): The build is still failing.
12:12
travis-ci has left #opal [#opal]
12:15
<
meh` >
adambeynon, ping
12:19
<
adambeynon >
lunch: back in 10
12:20
GitHub15 has joined #opal
12:20
GitHub15 has left #opal [#opal]
12:20
<
GitHub15 >
opal/master 9677ea3 meh: Fix Struct inheritance
12:23
travis-ci has joined #opal
12:23
<
travis-ci >
[travis-ci] opal/opal#1113 (master - 9677ea3 : meh): The build is still failing.
12:23
travis-ci has left #opal [#opal]
12:39
GitHub36 has joined #opal
12:39
GitHub36 has left #opal [#opal]
12:39
<
GitHub36 >
opal/master 9a84bfa Elia Schito: Temporarily fix 1.8.7 builds...
12:42
travis-ci has joined #opal
12:42
<
travis-ci >
[travis-ci] opal/opal#1114 (master - 9a84bfa : Elia Schito): The build was fixed.
12:42
travis-ci has left #opal [#opal]
13:07
<
adambeynon >
meh`: do you have a use case for Enumerable#detect not working?
13:07
<
adambeynon >
Its passing all the rubyspecs for multiple values
13:07
<
adambeynon >
so I cant find a place where its breaking
13:07
<
meh` >
adambeynon, gimme a sec
13:08
<
meh` >
adambeynon, >> { a: 3, b: 4 }.find {|a, b| b == 4 }
13:08
<
meh` >
>> { a: 3, b: 4 }.find {|a, b| b == 4 }
13:08
<
meh` >
the first is opal
13:08
<
meh` >
that's because a is [:b, :4]
13:08
<
meh` >
instead of just being :b and b being 4
13:22
<
adambeynon >
ah, I see
13:36
fkchang has joined #opal
13:41
fkchang has quit [Ping timeout: 268 seconds]
13:44
[spoiler] has joined #opal
14:40
DouweM has joined #opal
15:03
GitHub67 has joined #opal
15:03
GitHub67 has left #opal [#opal]
15:03
<
GitHub67 >
opal-rspec/master 78dffb9 Adam Beynon: Add rake task to automatically pre-build rspec for production
16:22
ryanstout has joined #opal
16:24
<
lectrick >
hey adambeynon and whoever else is working on Opal: I submitted a bug a while back with a test case and it got handled super fast. I'm a multi year Ruby dev with a strong testing interest looking to experiment with this nifty new tool. Just wanted to say thanks for all your hard work on this project. :)
16:25
<
lectrick >
(Devs seem to have thankless jobs so I often step into that role. ;) )
16:25
<
ryanstout >
seconded!
16:25
<
lectrick >
Also, if you knew an equally fantastic way to run Javascript from Ruby, we could more easily incorporate our JS code into our Ruby test suite lol
16:26
<
lectrick >
Between this project and Rubinius, I think Ruby has a nice future
16:27
<
lectrick >
ryanstout: Yeah, the problem is it depends on a JS runtime like V8
16:36
elia has quit [Ping timeout: 268 seconds]
16:36
<
meh` >
adambeynon, ping
16:36
<
meh` >
lectrick, you're welcome ◕ ◡ ◔
16:37
<
meh` >
adambeynon, source maps are broken with the latest changes
18:29
ryanstewart has quit [Read error: Connection reset by peer]
18:42
ryanstewart has joined #opal
19:04
elia has joined #opal
19:15
[spoiler] has quit [Quit: Leaving]
19:32
<
adambeynon >
meh`: broken as in the lines are wrong? or..?
19:35
elia has quit [Quit: Computer has gone to sleep.]
19:56
<
meh` >
adambeynon, broken as in it doesn't run at all
19:56
<
meh` >
whines about Array missing #lines
19:56
<
meh` >
it crashes the request
20:00
<
adambeynon >
meh`: right, found the bug
20:00
<
adambeynon >
fixing
20:01
GitHub9 has joined #opal
20:01
<
GitHub9 >
opal/master e7d9f16 Adam Beynon: Fix bug where colon2 was being processed as an array, not sexp
20:01
GitHub9 has left #opal [#opal]
20:01
<
adambeynon >
meh`: ^^ that should fix it
20:02
GitHub167 has joined #opal
20:02
<
GitHub167 >
vienna/master d36482b Adam Beynon: Some slight code cleanup
20:02
GitHub167 has left #opal [#opal]
20:07
travis-ci has joined #opal
20:07
<
travis-ci >
[travis-ci] opal/vienna#112 (master - d36482b : Adam Beynon): The build passed.
20:07
travis-ci has left #opal [#opal]
20:08
<
adambeynon >
meh`: hopefully in the next few days I will be pushing opal-rspec 0.1.0 as well
20:08
<
adambeynon >
once its released I wont be working on opal-spec anymore, but I will leave it up for legacy support etc
20:08
<
meh` >
adambeynon, will you help me transition to opal-rspec for opal-browser?
20:09
<
adambeynon >
meh`: sure thing. hopefully it should be as simple as changing the name of the rake task in Rakefile and using opal-rspec in the Gemfile
20:09
<
meh` >
let's hope so
20:09
<
adambeynon >
lol, famous last words ^_^
20:09
<
meh` >
also I just started getting a bunch of superclass mismatches
20:09
<
meh` >
did something change/break?
20:09
<
meh` >
all the event stuff is broken now
20:09
<
meh` >
what the hell
20:10
<
adambeynon >
nothing has changed recently... how long are we talking?
20:10
<
meh` >
I don't know
20:10
<
meh` >
two days maybe
20:10
<
meh` >
it worked before
20:10
<
meh` >
I think it has to do with constant scoping
20:10
ryanstout has quit [Quit: ryanstout]
20:10
<
meh` >
some edgecase
20:11
<
meh` >
yeah, tests don't even run
20:11
<
meh` >
they ran few days ago
20:11
<
adambeynon >
meh`: well, constant scoping got changed about 5 days ago, but the changes should be making it more compliant if anything
20:11
<
adambeynon >
classes now inherit constants from their superclass
20:12
<
meh` >
yes, it's a bug with constant inheritance, I think
20:13
<
meh` >
adambeynon, yeah
20:13
<
meh` >
adambeynon, basically
20:13
<
meh` >
if you are defining a class with the same name of an inherited constant
20:13
<
meh` >
the class shouldn't refer to the inherited one
20:13
<
meh` >
but create a new one
20:14
<
meh` >
>> class LOL; class WUT; end; end; class OMG < LOL; puts WUT.inspect; class WUT; end; puts WUT.inspect; end
20:15
<
meh` >
^ that's ruby
20:15
<
meh` >
>> class LOL; class WUT; end; end; class OMG < LOL; puts WUT.inspect; class WUT; end; puts WUT.inspect; end
20:15
<
meh` >
^ this is opal
20:16
<
meh` >
this one really
*really* fix ASAP
20:16
<
adambeynon >
damn :( I knew the solution was too simple
20:16
<
meh` >
or opal-browser doesn't work
20:16
<
meh` >
and I really need it to work
20:16
<
meh` >
and I think I depend on other fixes
20:16
<
meh` >
that are on master
20:16
<
meh` >
and I was just getting on the demo app for rubyconf
20:17
<
meh` >
adambeynon, don't feel bad, I hit a similar bug on Rubinius too once
20:17
<
adambeynon >
lol :D
20:17
<
adambeynon >
meh`: I need time to think up a fix for this. I think im going to revert those 2 changes
20:18
<
adambeynon >
meh`: a solution could be that each class/module stores the scope in which it was actually defined, so we know when it is being referred to as a inherited constant or not
20:20
<
meh` >
2 years ago, damn time passes fast
20:20
elia has joined #opal
20:33
<
meh` >
adambeynon, ping me when you revert the constant stuff, or magically fixed it instead of reverting
20:33
<
meh` >
I'm gonna chill a bit and implement coercion
20:33
<
meh` >
because I feel like it
20:41
<
meh` >
adambeynon, I have a proposal
20:42
<
meh` >
adambeynon, can we have `param = undefined` support in method definitions?
20:42
<
meh` >
like Rubinius does
20:46
fkchang has joined #opal
20:48
<
adambeynon >
meh`: we already do, dont we?
20:48
<
adambeynon >
imac% bundle exec bin/opal-repl
20:48
<
adambeynon >
>> class LOL; class WUT; end; end; class OMG < LOL; puts WUT.inspect; class WUT; end; puts WUT.inspect; end
20:48
<
adambeynon >
LOL::WUT
20:48
<
adambeynon >
OMG::WUT
20:48
<
meh` >
is that with revert?
20:48
<
meh` >
or did you fix it?
20:48
<
meh` >
adambeynon, I don't know if we do
20:49
<
adambeynon >
meh`: fixed it
20:49
<
meh` >
adambeynon, awesome :D
20:49
<
adambeynon >
meh`: is this what you have in mind?
20:49
<
meh` >
adambeynon, yes
20:50
<
adambeynon >
meh`: ah, so yeah it does work. and it also works fine when you have arity checking on
20:50
<
meh` >
adambeynon, awesome
20:51
GitHub173 has joined #opal
20:51
<
GitHub173 >
opal/master 48f622d Adam Beynon: Inherited constants are ignored when defining a new class
20:51
GitHub173 has left #opal [#opal]
20:53
<
adambeynon >
rspec by itself makes a pretty decent spec runner. If rspec can load and work, then its a safe bet that your ruby impl is pretty solid
20:53
<
adambeynon >
it uses so many quirks
20:53
<
meh` >
until you get meh using your implementation
20:53
<
adambeynon >
there is always that small print ;)
20:54
<
adambeynon >
back in 2 mins
20:55
GitHub2 has joined #opal
20:55
<
GitHub2 >
opal/master cae238d meh: Add Kernel#Float
20:55
<
GitHub2 >
opal/master 24e3e62 meh: Make Kernel#Integer compliant
20:55
GitHub2 has left #opal [#opal]
20:59
travis-ci has joined #opal
20:59
<
travis-ci >
[travis-ci] opal/opal#1116 (master - 48f622d : Adam Beynon): The build passed.
20:59
travis-ci has left #opal [#opal]
21:05
adambeynon has joined #opal
21:06
travis-ci has joined #opal
21:06
<
travis-ci >
[travis-ci] opal/opal#1117 (master - cae238d : meh): The build was broken.
21:06
travis-ci has left #opal [#opal]
21:06
<
meh` >
travis-ci, u wot m8
21:06
<
meh` >
I forgot to check the specs ◕ ◡ ◔
21:07
<
meh` >
adambeynon, how can I have broken those specs?
21:08
<
adambeynon >
meh`: mspec might be using Integer() internally for something
21:09
<
meh` >
most don't make any sense :|
21:09
<
meh` >
Kernel#Float exists
21:10
<
adambeynon >
meh`: they do seem quite strange examples to fail with those changes though...
21:10
<
adambeynon >
meh`: did the constants fix work?
21:10
<
meh` >
didn't test yet
21:12
<
meh` >
adambeynon, yeah, it werks
21:13
<
meh` >
it's the Integer one
21:15
<
meh` >
I'm confused
21:18
<
adambeynon >
I dont understand it either..
21:19
<
adambeynon >
its not getting as far as the `else` part
21:19
<
adambeynon >
otherwise that would be the errror on each exampl
21:19
<
meh` >
and there are some that just have nothing to do with it :|
21:19
<
meh` >
like the Hash one
21:21
<
meh` >
and that undefined out of nowhere
21:28
ryanstout has joined #opal
21:30
<
meh` >
well, I can't leave it like that
21:30
<
meh` >
but I need Integer to work
21:33
<
meh` >
adambeynon, something's extremely fishy here
21:33
<
adambeynon >
meh`: try inserting a `console.log(value)` just inside a method to get an overview of everything going through it
21:34
<
meh` >
adambeynon, that's what I've been doing
21:34
<
meh` >
I'm getting weird values
21:34
<
adambeynon >
such as?
21:34
<
meh` >
it looks like mspec passes the version to Integer
21:34
<
meh` >
Ruby versions
21:34
<
meh` >
what's the point
21:34
<
adambeynon >
what class are those?
21:34
<
meh` >
and why would it fail with that check
21:34
<
meh` >
I don't know yet
21:35
<
meh` >
I don't get it
21:35
<
adambeynon >
yeh, something in that breaking somewhere I guess
21:36
<
adambeynon >
although...
21:36
<
adambeynon >
nothing overly complex there..
21:36
<
meh` >
so the bug ain't in Integer
21:36
<
meh` >
it's something in SpecVersion#to_i exploding
21:36
<
adambeynon >
String#% possibly
21:36
<
meh` >
do we even have it?
21:38
<
meh` >
it calls a format out of nowhere
21:38
<
meh` >
I really don't feel like implementing format =_=
21:38
<
meh` >
but at least it ain't a bug in Integer
21:38
<
adambeynon >
meh`: we have Kernel#format
21:38
<
adambeynon >
as well
21:39
<
meh` >
guess it's broken
22:06
GitHub140 has joined #opal
22:06
GitHub140 has left #opal [#opal]
22:06
<
GitHub140 >
opal/master c9138f4 meh: Add Numeric#nan?, Numeric#finite? and Numeric#infinite?
22:08
<
meh` >
let the fun begin
22:10
travis-ci has joined #opal
22:10
<
travis-ci >
[travis-ci] opal/opal#1118 (master - c9138f4 : meh): The build is still failing.
22:10
travis-ci has left #opal [#opal]
22:17
GitHub156 has joined #opal
22:17
GitHub156 has left #opal [#opal]
22:17
<
GitHub156 >
opal/master e3c2c1e meh: More Kernel#Integer compliancy
22:22
travis-ci has joined #opal
22:22
<
travis-ci >
[travis-ci] opal/opal#1119 (master - e3c2c1e : meh): The build is still failing.
22:22
travis-ci has left #opal [#opal]
23:10
meh` has quit [Quit: fucking dell]
23:20
elia has quit [Read error: Connection reset by peer]
23:25
elia has joined #opal
23:38
ryanstout has quit [Quit: ryanstout]
23:40
ryanstout has joined #opal
23:42
ryanstout has quit [Client Quit]