00:37
ryanstout has joined #opal
01:09
ryanstout has quit [Quit: ryanstout]
01:09
elia has quit [Quit: Computer has gone to sleep.]
01:10
e_dub has joined #opal
01:23
DrShoggoth has joined #opal
02:26
ryanstout has joined #opal
03:10
fkchang has quit [Ping timeout: 260 seconds]
05:09
ryanstout has quit [Quit: ryanstout]
05:27
DrShoggoth has quit [Ping timeout: 252 seconds]
05:34
fkchang has joined #opal
06:01
DrShoggoth has joined #opal
06:39
DouweM has quit [Ping timeout: 272 seconds]
06:56
adambeynon has joined #opal
08:05
elia has joined #opal
08:16
adambeynon has joined #opal
08:26
GitHub73 has joined #opal
08:26
GitHub73 has left #opal [#opal]
08:26
<
GitHub73 >
vienna/master 1fc9329 Adam Beynon: Model persistence is now set when first used
08:28
travis-ci has joined #opal
08:28
<
travis-ci >
[travis-ci] opal/vienna#113 (master - 1fc9329 : Adam Beynon): The build passed.
08:28
travis-ci has left #opal [#opal]
08:30
denysonique has quit [Ping timeout: 245 seconds]
09:21
[spoiler] has joined #opal
09:32
kludge` has quit [Ping timeout: 268 seconds]
09:36
kludge` has joined #opal
10:07
[spoiler] has quit [Quit: Leaving]
10:09
GitHub183 has joined #opal
10:09
<
GitHub183 >
opal-rspec/master acf1ac5 Adam Beynon: Add simple BrowserFormatter for nicer html results
10:09
GitHub183 has left #opal [#opal]
10:17
fkchang has quit [Ping timeout: 246 seconds]
10:32
denysonique has joined #opal
10:51
GitHub193 has joined #opal
10:51
<
GitHub193 >
opal-rspec/master 2429580 Adam Beynon: Add basic spec runner for sprockets and browser
10:51
GitHub193 has left #opal [#opal]
10:56
GitHub96 has joined #opal
10:56
GitHub96 has left #opal [#opal]
10:56
<
GitHub96 >
opal-rspec/master 57fcf2f Adam Beynon: Use more consistent naming
10:57
DouweM has joined #opal
11:01
GitHub54 has joined #opal
11:01
<
GitHub54 >
opal-rspec/master fef6177 Adam Beynon: Cleanup config.ru example spec runner
11:01
GitHub54 has left #opal [#opal]
11:03
GitHub100 has joined #opal
11:03
<
GitHub100 >
[opal-spec] yhara opened pull request #7: Add example project using opal-spec (master...add_example)
http://git.io/DeDX4w
11:03
GitHub100 has left #opal [#opal]
11:03
GitHub122 has joined #opal
11:03
GitHub122 has left #opal [#opal]
11:03
<
GitHub122 >
[opal-spec] yhara opened pull request #8: Add 'Supported notations' to README (master...add_notations_to_readme)
http://git.io/c_U9lA
11:06
e_dub has quit [Ping timeout: 272 seconds]
11:12
e_dub has joined #opal
11:55
meh` has joined #opal
11:56
elia has quit [Quit: Computer has gone to sleep.]
11:59
GitHub136 has joined #opal
11:59
GitHub136 has left #opal [#opal]
11:59
<
GitHub136 >
opal/master 56879e0 Adam Beynon: Classes created with Class.new should have their own scope
12:02
travis-ci has joined #opal
12:02
travis-ci has left #opal [#opal]
12:02
<
travis-ci >
[travis-ci] opal/opal#1120 (master - 56879e0 : Adam Beynon): The build has errored.
12:13
<
meh` >
adambeynon, I'd keep the change even if it breaks specs
12:14
<
meh` >
if you give me a few I'll fix the format bug
12:25
elia has joined #opal
12:34
<
meh` >
adambeynon, format doesn't seem to be broken
12:37
e_dub has quit [Ping timeout: 248 seconds]
12:38
e_dub has joined #opal
12:48
<
meh` >
adambeynon, yeah, the bug is nowhere near there
12:48
<
meh` >
adambeynon, can you mark as failing those specs please?
12:48
<
meh` >
I need the Integer now
13:00
GitHub163 has joined #opal
13:00
<
GitHub163 >
opal/master 3708a01 meh: Improve Numeric#is_a? with Integer.=== and Float.===
13:00
GitHub163 has left #opal [#opal]
13:04
travis-ci has joined #opal
13:04
<
travis-ci >
[travis-ci] opal/opal#1121 (master - 3708a01 : meh): The build failed.
13:04
travis-ci has left #opal [#opal]
13:28
GitHub192 has joined #opal
13:28
<
GitHub192 >
opal/master 3e55511 Adam Beynon: Add some filters for recent changes to Kernel#Integer()
13:28
GitHub192 has left #opal [#opal]
13:28
<
meh` >
adambeynon, thanks
13:30
GitHub12 has joined #opal
13:30
GitHub12 has left #opal [#opal]
13:30
<
GitHub12 >
opal-rspec/master 113f378 Adam Beynon: Some changes
13:30
<
adambeynon >
no worries, I will have a look another time at whats breaking them
13:30
GitHub27 has joined #opal
13:30
<
GitHub27 >
opal-spec/master 812a9bd Adam Beynon: Merge pull request #7 from yhara/add_example...
13:30
<
GitHub27 >
opal-spec/master b136dbc Yutaka HARA: Add example project using opal-spec
13:30
GitHub27 has left #opal [#opal]
13:30
GitHub185 has joined #opal
13:30
GitHub185 has left #opal [#opal]
13:30
<
GitHub185 >
[opal-spec] adambeynon closed pull request #7: Add example project using opal-spec (master...add_example)
http://git.io/DeDX4w
13:31
GitHub195 has joined #opal
13:31
<
GitHub195 >
[opal-spec] adambeynon closed pull request #8: Add 'Supported notations' to README (master...add_notations_to_readme)
http://git.io/c_U9lA
13:31
GitHub58 has joined #opal
13:31
GitHub195 has left #opal [#opal]
13:31
GitHub58 has left #opal [#opal]
13:31
<
GitHub58 >
opal-spec/master 926a54f Adam Beynon: Merge pull request #8 from yhara/add_notations_to_readme...
13:31
<
GitHub58 >
opal-spec/master 09853af Yutaka HARA: Add 'Supported notations' to README
13:32
travis-ci has joined #opal
13:32
travis-ci has left #opal [#opal]
13:32
<
travis-ci >
[travis-ci] opal/opal#1122 (master - 3e55511 : Adam Beynon): The build was fixed.
13:37
<
meh` >
adambeynon, is there a way to load a script from opal-repl?
13:37
<
adambeynon >
meh`: as in, once you are inside the repl, or to start the repl with a given script?
13:38
<
adambeynon >
meh`: nope. but it could be added
13:38
<
adambeynon >
opal-repl path/to/script.rb
13:38
<
meh` >
is there any way to do it?
13:38
<
meh` >
I need to load the Vector class from the issue to see if it works
13:39
<
meh` >
adambeynon, also the repl is broken with constants
13:39
<
meh` >
instead of raising a NameError
13:41
<
adambeynon >
meh`: ah, yeah, const_missing is disabled by default
13:42
<
adambeynon >
will fix that
13:42
<
meh` >
adambeynon, but yeah, any way to load a script in the repl in any way?
13:42
GitHub150 has joined #opal
13:42
GitHub150 has left #opal [#opal]
13:42
<
GitHub150 >
opal/master 66865e6 Elia Schito: Add rubinius to travis rubies
13:42
<
meh` >
elia, do you know?
13:43
GitHub199 has joined #opal
13:43
<
GitHub199 >
opal/master 6b71bae Adam Beynon: Enable const_missing in repl
13:43
GitHub199 has left #opal [#opal]
13:43
<
adambeynon >
meh`: I can add it
13:43
<
elia >
meh`, repl? …no
13:43
<
meh` >
adambeynon, yes please
13:47
GitHub120 has joined #opal
13:47
<
GitHub120 >
opal/master e3e1ccc Adam Beynon: Support opening repl with an existing ruby file
13:47
GitHub120 has left #opal [#opal]
13:47
<
adambeynon >
meh`: there we go ^^^ any require() inside your file will also be dealt with properly
13:47
travis-ci has joined #opal
13:47
travis-ci has left #opal [#opal]
13:47
<
travis-ci >
[travis-ci] opal/opal#1123 (master - 66865e6 : Elia Schito): The build has errored.
13:49
travis-ci has joined #opal
13:49
travis-ci has left #opal [#opal]
13:49
<
travis-ci >
[travis-ci] opal/opal#1124 (master - 6b71bae : Adam Beynon): The build has errored.
13:53
travis-ci has joined #opal
13:53
<
travis-ci >
[travis-ci] opal/opal#1125 (master - e3e1ccc : Adam Beynon): The build has errored.
13:53
travis-ci has left #opal [#opal]
13:59
<
meh` >
>> 5 * Vector.new(10)
14:04
e_dub has quit [Ping timeout: 248 seconds]
14:05
<
adambeynon >
meh`: woop
14:05
GitHub174 has joined #opal
14:05
GitHub174 has left #opal [#opal]
14:05
<
GitHub174 >
opal/master 2d28028 Adam Beynon: Opal now supports mspec mocks/stubs. Enable some specs.
14:07
<
meh` >
adambeynon, what was it?
14:08
e_dub has joined #opal
14:09
travis-ci has joined #opal
14:09
<
travis-ci >
[travis-ci] opal/opal#1126 (master - 2d28028 : Adam Beynon): The build has errored.
14:09
travis-ci has left #opal [#opal]
14:10
<
meh` >
DUN DUN DUUUUN
14:10
<
meh` >
oh, just rubinius being dicks
14:26
GitHub69 has joined #opal
14:26
<
GitHub69 >
opal/master 8158bfb Adam Beynon: Enable some more Class.new specs
14:26
GitHub69 has left #opal [#opal]
14:31
travis-ci has joined #opal
14:31
<
travis-ci >
[travis-ci] opal/opal#1127 (master - 8158bfb : Adam Beynon): The build has errored.
14:31
travis-ci has left #opal [#opal]
14:35
GitHub29 has joined #opal
14:35
GitHub29 has left #opal [#opal]
14:35
<
GitHub29 >
opal/master 43337c6 Elia Schito: Use rbx 19 mode in travis
14:36
<
DouweM >
adambeynon: shouldn't Module.new have `$opal.create_scope` too instead of `klass._scope = Module._scope;`?
14:36
<
DouweM >
adambeynon: not sure, but I saw Class.new just got that
14:38
e_dub has quit [Ping timeout: 272 seconds]
14:39
<
adambeynon >
DouweM: ah yes, It should indeed. missed that one.
14:39
GitHub120 has joined #opal
14:39
<
GitHub120 >
opal/master added4f Adam Beynon: Enable some array specs
14:39
GitHub120 has left #opal [#opal]
14:39
e_dub has joined #opal
14:39
<
DouweM >
adambeynon: that's why I'm here, reading through every new commit
14:40
travis-ci has joined #opal
14:40
<
travis-ci >
[travis-ci] opal/opal#1128 (master - 43337c6 : Elia Schito): The build has errored.
14:40
travis-ci has left #opal [#opal]
14:44
travis-ci has joined #opal
14:44
<
travis-ci >
[travis-ci] opal/opal#1129 (master - added4f : Adam Beynon): The build has errored.
14:44
travis-ci has left #opal [#opal]
14:52
GitHub92 has joined #opal
14:52
<
GitHub92 >
opal/master e0ad1b0 meh: Add some basic Numeric coercion
14:52
GitHub92 has left #opal [#opal]
14:53
<
meh` >
a broken spec
14:54
<
meh` >
adambeynon, I think we have a problem
14:54
GitHub69 has joined #opal
14:54
GitHub69 has left #opal [#opal]
14:54
<
GitHub69 >
opal/master f93e7bc Elia Schito: rbx 2.0 mode, allowing failures this time
14:55
<
meh` >
adambeynon, we have everything as Numeric
14:55
<
meh` >
and Numeric#<=> works differently from Fixnum#<=>
14:55
<
meh` >
in regard to coercion
14:56
<
adambeynon >
meh`: what does Float do? is it similar to Fixnum?
14:56
<
meh` >
but I'm confused, give me a sec
14:58
<
meh` >
crisis averted
14:58
GitHub64 has joined #opal
14:58
<
GitHub64 >
opal/master b73e1e7 meh: Numeric#<=> should return nil on failed coercion
14:58
GitHub64 has left #opal [#opal]
14:59
travis-ci has joined #opal
14:59
<
travis-ci >
[travis-ci] opal/opal#1130 (master - e0ad1b0 : meh): The build has errored.
14:59
travis-ci has left #opal [#opal]
14:59
<
elia >
rubinius works fine locally
15:00
<
meh` >
poor brixen, he must be getting a thousand alerts
15:04
GitHub185 has joined #opal
15:04
<
GitHub185 >
opal/master ce381f9 Adam Beynon: Define modules onto parent scope literal (Opal.A.B.C)
15:04
GitHub185 has left #opal [#opal]
15:04
<
meh` >
adambeynon, fucking finally
15:04
<
meh` >
I had to go $const_get all the way to get to classes in opal-browser
15:04
travis-ci has joined #opal
15:04
travis-ci has left #opal [#opal]
15:04
<
travis-ci >
[travis-ci] opal/opal#1131 (master - f93e7bc : Elia Schito): The build failed.
15:04
<
adambeynon >
it was getting a bit annoying..
15:14
travis-ci has joined #opal
15:14
<
travis-ci >
[travis-ci] opal/opal#1133 (master - ce381f9 : Adam Beynon): The build passed.
15:14
travis-ci has left #opal [#opal]
15:31
<
meh` >
no 2 + 3.px works properly :D
15:32
<
meh` >
adambeynon, did you fix Enumerable#detect yet?
15:39
<
adambeynon >
meh`: I didnt. I looked at it.. but didnt get very far
16:13
e_dub has quit [Quit: It's a hard knock life]
16:16
<
adambeynon >
meh`: it should do, yeah
16:16
<
adambeynon >
having issues with it?
16:16
<
meh` >
just wondering
16:29
GitHub184 has joined #opal
16:29
<
GitHub184 >
opal-jquery/native 03dbe5d Adam Beynon: Initial/experimental native support for element
16:29
GitHub184 has left #opal [#opal]
16:32
<
meh` >
adambeynon, why aren't you using Native::Base?
16:35
<
adambeynon >
meh`: Native.call doesnt wrap the results (yet/if)
16:35
<
meh` >
adambeynon, yes, but Native::Base is for the #initialize and #to_n
16:36
<
meh` >
so you can also check the ancestors
16:36
<
adambeynon >
meh`: Native::Base#initialize raises an error when you pass a non-native
16:37
<
adambeynon >
Element#new accepts strings as well
16:37
<
adambeynon >
meh`: that commit was a very quick hack at getting a wrapper to work
16:37
<
adambeynon >
just to see "what if"
16:37
<
meh` >
yeah, I was just wondering :)
16:39
<
adambeynon >
meh`: also, I just realised when doing that, that we have Element.find(), Element.[] and Element.parse() all doing the same thing
16:39
<
adambeynon >
which is a bit...... dumb.
16:46
<
adambeynon >
meh`: have you tried to see how big opal-browser is when compiled?
16:46
<
meh` >
adambeynon, nope
16:46
<
meh` >
how do I do that?
16:47
<
adambeynon >
easiest way in a rake task, is something like:
16:47
<
adambeynon >
Opal::Builder.build('browser').size
16:48
<
meh` >
adambeynon, can we have some Opal helpers?
16:48
<
adambeynon >
meh`: such as?
16:48
<
meh` >
to have raw size, minimized size and gzipped minimized size
16:48
<
meh` >
dunno, like rake opal:size
16:49
<
meh` >
or something
16:49
<
adambeynon >
meh`: could add a rake task to opal I guess
17:15
<
meh` >
adambeynon, by the way I could accept `o$` too, but I think we'd end up with the same clashes with libraries named o$ that think it's a good idea to base its checks on retarded constructs rather than using the proper ones
17:17
fkchang has joined #opal
17:26
GitHub66 has joined #opal
17:26
<
GitHub66 >
opal-jquery/native 89ef05f Adam Beynon: Cleanup some more element code
17:26
GitHub66 has left #opal [#opal]
17:28
ryanstout has joined #opal
17:54
ryanstout has quit [Quit: ryanstout]
18:05
ryanstout has joined #opal
18:05
ryanstout has quit [Client Quit]
18:09
ryanstout has joined #opal
18:21
ryanstout has quit [Quit: ryanstout]
18:28
ryanstout has joined #opal
18:37
ryanstout has quit [Quit: ryanstout]
18:39
ryanstout has joined #opal
20:40
DouweM has quit [Ping timeout: 265 seconds]
20:45
DouweM has joined #opal
21:03
adambeynon has joined #opal
21:10
<
meh` >
adambeynon, shouldn't class methods be inherited?
21:11
<
adambeynon >
meh`: they are.. arent they?
21:11
<
meh` >
adambeynon, doesn't look like it :|
21:11
<
meh` >
or something's weird is going on with forwardable
21:11
<
meh` >
the single_delegators aren't inherited
21:13
<
adambeynon >
hang on, just familiarising myself with the code
21:13
<
adambeynon >
meh`: so, a method created by "def_single_delegator" isnt being inherited?
21:13
<
meh` >
adambeynon, that's what I'm seeing
21:13
<
meh` >
I do class Thing < Lissio::Application
21:14
<
meh` >
and Opal.Thing.$start is a method missing stub
21:14
<
adambeynon >
it defines it on the instance of a class, it needs to define it on the class.constructor.prototype so it gets inherited
21:16
<
meh` >
can you fix it? or should I? I'm not that sure about how to do it
21:21
<
adambeynon >
meh`: trying now
21:22
<
meh` >
adambeynon, thanks
21:24
GitHub3 has joined #opal
21:24
GitHub3 has left #opal [#opal]
21:24
<
GitHub3 >
opal/master d6fb390 Adam Beynon: Quick fix for Kernel#define_singleton_method for classes
21:24
<
adambeynon >
meh`: a quick repl session shows that fix should work for classes. I will add proper tests later
21:25
<
adambeynon >
meh`: we need a hook for opalrb.org/try to update whenever we push to master
21:30
travis-ci has joined #opal
21:30
<
travis-ci >
[travis-ci] opal/opal#1134 (master - d6fb390 : Adam Beynon): The build passed.
21:30
travis-ci has left #opal [#opal]
21:43
<
meh` >
adambeynon, still having some problems
21:43
<
meh` >
disregard that
21:44
<
meh` >
forgot to update my repo
21:44
<
meh` >
adambeynon, ok, still having some problems (lol)
21:44
<
meh` >
except I don't get any errors
21:44
<
meh` >
it just doesn't work
21:45
<
meh` >
yeah, disregard that
21:45
<
adambeynon >
so, it is working? :D
21:45
<
meh` >
the problem is mine
21:45
<
meh` >
forgot to properly implement .inherited
21:47
<
meh` >
I'm confused
21:47
<
meh` >
how in the world was it working before :|
21:47
<
meh` >
I just made some things saner
21:47
<
meh` >
I'll go for a smoke
21:48
<
adambeynon >
lol. if it still isnt working, post an issue on github with a small code sample - I might be gone by the time you're back
21:53
<
meh` >
adambeynon, I think I get it
21:53
<
meh` >
the issue is the def_single_delegators delegates to the parent rather than the child
21:55
<
meh` >
gotta test it
21:55
<
meh` >
but that doesn't make much sense
21:57
<
meh` >
yeah, not what's happening
21:57
<
meh` >
gotta go deeper
22:02
<
adambeynon >
meh`: was it working before?
22:02
<
meh` >
adambeynon, not before I did these changes
22:05
<
meh` >
adambeynon, I sense some demons
22:06
<
meh` >
adambeynon, I hope I'm wrong
22:06
<
meh` >
or it's blocks getting fucked up
22:06
<
adambeynon >
meh`: possibly super() inside a block?
22:07
<
meh` >
inside a define_method
22:08
<
adambeynon >
meh`: investigating now, 1 sec
22:08
<
meh` >
I'm still checking, I'm not 100% sure that's the case
22:08
<
adambeynon >
super in a block doesnt use the new super stuff in the runtime
22:08
<
adambeynon >
it still tries to hardcode it
22:09
<
meh` >
then inheritance does its thing
22:09
<
meh` >
but I'm still unsure
22:09
<
meh` >
it's that I get a bunch of logs because it's called everywhere
22:09
<
meh` >
I'll try to prune it
22:10
<
adambeynon >
meh`: yeah, that compiles something like this:
22:10
<
adambeynon >
(TMP_1._sup || self._klass._super._proto['$render']).apply(self, [3])
22:10
<
adambeynon >
so, its very breakable
22:11
<
meh` >
adambeynon, wait, apparently it does get called
22:13
<
meh` >
it's not that
22:15
<
adambeynon >
meh`: is there a specific error it is throwing out, or is it just silently going wrong, or...?
22:15
<
meh` >
it's just not working
22:15
<
meh` >
no errors, no anything
22:15
<
meh` >
I'm trying to track it down
22:15
<
meh` >
adambeynon, I think I know
22:15
<
meh` >
adambeynon, I'm getting the wrong element back
22:18
<
meh` >
which has nothing to do with super or blocks
22:19
<
meh` >
it's still puzzling
22:24
<
adambeynon >
meh`: `return if self == Component` <- thats not needed, is it?
22:24
<
meh` >
adambeynon, I don't want to execute the code on first inheritance
22:24
<
meh` >
only from Foo < Bar; where Bar < Component
22:24
<
meh` >
but not in Bar < Component
22:24
<
adambeynon >
meh`: ohh, right, yeh
22:25
<
meh` >
adambeynon, are instance variables in classes any different from the rest?
22:25
<
meh` >
adambeynon, is the inherited called in a weird order?
22:26
<
meh` >
this doesn't make sense
22:26
<
meh` >
adambeynon, I think the inherited is being called wrong
22:26
<
meh` >
self in self.inherited is the child not the parent
22:27
<
meh` >
I'll try a reduced testcase
22:27
<
meh` >
it's not that
22:28
<
meh` >
I'm even more confused now
22:29
<
adambeynon >
meh`: is the problem that @element is being set to what you expect?
22:29
<
adambeynon >
isn't *
22:29
<
meh` >
wait wait wait
22:29
<
meh` >
false positives all the way
22:29
<
meh` >
this code is contrived
22:29
<
meh` >
how in the hell did I come up with it
22:31
<
meh` >
adambeynon, is it possible inherited is not being inherited?
22:31
<
meh` >
because I'm getting just one call
22:32
<
adambeynon >
and how many subclasses should have it?
22:32
<
meh` >
adambeynon, basically I have Frontend < Lissio::Application < Lissio::Component
22:33
<
meh` >
except it gets called once
22:33
<
meh` >
adambeynon, it's getting called for Lissio::Component.inherited(Lissio::Application)
22:33
<
meh` >
but not for Lissio::Application.inherited(Frontend)
22:34
<
meh` >
but it doesn't make sense
22:34
<
meh` >
because in the repl it works
22:35
<
meh` >
it's not a synchronization problem
22:36
<
adambeynon >
meh`: if it still doesnt work, post it as an issue to look at
22:37
<
adambeynon >
I've got to go
22:51
elia has quit [Quit: Computer has gone to sleep.]
23:06
<
ryanstout >
is anyone using opal-rspec yet?
23:06
<
ryanstout >
I'm trying to get it going
23:12
<
meh` >
ryanstout, I don't think it's ready yet
23:12
<
meh` >
but it's going to replace opal-spec
*very* soon
23:12
<
ryanstout >
ok, thanks
23:12
<
meh` >
so expect it to work in the very near future
23:14
<
ryanstout >
also, has anyone run into the issue that string interpolation doesn't call .to_s on objects in the string?
23:14
<
meh` >
ryanstout, nope
23:14
<
ryanstout >
ok, I'll submit a bug for it
23:15
<
ryanstout >
actually, maybe its a different issue
23:21
ryanstout has quit [Quit: ryanstout]