00:12
skofo has quit [Ping timeout: 252 seconds]
00:15
skofo has joined #opal
00:23
skofo has quit [Ping timeout: 272 seconds]
01:02
dleedev has joined #opal
01:28
dleedev has quit [Quit: dleedev]
01:28
RoxasShadowRS has quit [Read error: Connection reset by peer]
02:02
GitHub36 has joined #opal
02:02
<
GitHub36 >
opal-browser/master 1177fd0 meh: console: remove a bunch of useless return self
02:02
<
GitHub36 >
opal-browser/master 0c8cbe4 meh: dom/event: improve .currentTarget and .type polyfills
02:02
GitHub36 has left #opal [#opal]
02:02
<
GitHub36 >
opal-browser/master 04a3587 meh: dom/element: improve #size, #width and #height
02:11
fkchang has quit [Ping timeout: 245 seconds]
02:14
travis-ci has joined #opal
02:14
<
travis-ci >
[travis-ci] opal/opal-browser#118 (master - e54c8bb : meh): The build has errored.
02:14
travis-ci has left #opal [#opal]
02:17
GitHub40 has joined #opal
02:17
GitHub40 has left #opal [#opal]
02:17
<
GitHub40 >
opal-browser/master 5c1d44b meh: spec: wait for the title to be set
02:17
<
GitHub40 >
opal-browser/master 1652ead meh: spec: use #async instead of #run_async
02:17
<
meh` >
adambeynon, we need a reliable way to run opal-rspec from git
02:28
travis-ci has joined #opal
02:28
<
travis-ci >
[travis-ci] opal/opal-browser#119 (master - 1652ead : meh): The build failed.
02:28
travis-ci has left #opal [#opal]
02:33
meh` has quit [Quit: I don't want to live on this planet anymore.]
02:53
e_dub has joined #opal
03:13
e_dub has quit [Quit: e_dub]
03:14
e_dub has joined #opal
03:28
ryanstout has quit [Quit: ryanstout]
04:16
e_dub has quit [Quit: e_dub]
04:16
e_dub has joined #opal
05:36
e_dub has quit [Quit: e_dub]
05:36
e_dub has joined #opal
05:46
e_dub has quit [Quit: e_dub]
07:10
dleedev has joined #opal
07:51
dleedev has quit [Quit: dleedev]
08:17
dimaursu16 has quit [Read error: Operation timed out]
08:21
dimaursu16 has joined #opal
08:45
dfranciosi has joined #opal
09:12
elia has joined #opal
09:19
kings has joined #opal
09:20
RoxasShadowRS has joined #opal
09:52
kings has quit [Quit: Leaving...]
09:52
DouweM has quit [Ping timeout: 240 seconds]
10:04
DouweM has joined #opal
10:32
kludge` has quit [Ping timeout: 245 seconds]
10:37
kludge` has joined #opal
10:49
GitHub43 has joined #opal
10:49
<
GitHub43 >
opal-todos/master cc0b451 Elia Schito: Fix index
10:49
GitHub43 has left #opal [#opal]
10:50
GitHub82 has joined #opal
10:50
<
GitHub82 >
opal-todos/master ed20ab5 Elia Schito: Fix index...
10:50
GitHub82 has left #opal [#opal]
12:14
e_dub has joined #opal
12:26
e_dub has quit [Quit: e_dub]
12:41
e_dub has joined #opal
12:56
e_dub has quit [Quit: e_dub]
12:57
e_dub has joined #opal
13:09
DouweM has quit [Ping timeout: 252 seconds]
13:19
DouweM has joined #opal
13:22
e_dub has quit [Quit: e_dub]
13:24
e_dub has joined #opal
13:26
meh` has joined #opal
13:35
e_dub has quit [Quit: e_dub]
13:55
barry_ has joined #opal
13:59
<
barry_ >
hi all. first off like to say great project. i've had success with the rail integration. this time around i am creating a simple rack/sinatra app but none of the examples are working for me. The todoMVC and also the examples/rack example arent working. When i start them all i see is a blank page with 'Opal Server' in the title of the page. is this a known problem?
14:34
<
royvandermeij >
barry_: I have the same problem
14:35
<
royvandermeij >
I ended up building the application shown in metacasts.tv
14:35
<
royvandermeij >
with a rails backend
14:38
<
barry_ >
yea backend for what i am working on is going to be scala so ideally i just want the rack app for now. and then i need to figure out how to compile assets in scala.
14:39
<
elia >
there the fix was simple enough: added index_path= to opal server
14:39
<
royvandermeij >
barry_: the backend only consists of one controller which handles the json, so it's really easy to recreate it in rack/sinatra
14:39
<
royvandermeij >
elia: ah :)
14:40
<
royvandermeij >
elia: a simple git pull with that latest commit did the trick
14:41
<
barry_ >
elia: great. that looks like its it. i guess all the other example apps need to be updated too.
14:43
<
elia >
barry_, seems there are some low hanging PRs… :)
14:46
<
meh` >
I don't understand why adam made it like that
14:49
RelayChatInfo has joined #opal
14:49
RelayChatInfo has left #opal [#opal]
14:50
<
barry_ >
elia: true. i'll do that.
14:54
<
elia >
meh`, what the index part?
14:55
<
elia >
started as "handy" and evolved in what it is now
14:55
<
elia >
meh`, I have no brain resources right now to come up with a better sol
14:56
<
elia >
but if you have one im ready to help
14:56
<
meh` >
adambeynon, I can reproduce the continue_async error consistently
14:59
<
meh` >
adambeynon, but for some reason I can't get the debugger to break on the exception
15:01
<
meh` >
adambeynon, found where it's happening
15:07
e_dub has joined #opal
15:07
e_dub has quit [Client Quit]
15:15
<
meh` >
adambeynon, it's a bug in my specs, not in rspec
15:15
<
meh` >
more like a bug in IE11
15:25
<
adambeynon >
meh`: ahh, good to know.
15:25
<
adambeynon >
what was the issue?
15:25
<
meh` >
adambeynon, an async actuator is getting called twice
15:25
<
adambeynon >
meh`: do you think its worth having some guard against it?
15:26
<
meh` >
adambeynon, yes
15:26
<
meh` >
or at least raise a comprehensible exception
15:26
<
meh` >
"you called the async twice"
15:30
GitHub147 has joined #opal
15:30
<
GitHub147 >
opal-browser/master 50bd6b6 meh: spec/runner: only rescue selenium exceptions
15:30
GitHub147 has left #opal [#opal]
15:30
<
GitHub147 >
opal-browser/master d610d61 meh: spec: off the event as soon as possible
15:40
<
meh` >
adambeynon, by the way, I think it was happening randomly in other browsers because of speed issues
15:40
<
meh` >
if the VM was slow enough it wouldn't happen
15:47
travis-ci has joined #opal
15:47
travis-ci has left #opal [#opal]
15:47
<
travis-ci >
[travis-ci] opal/opal-browser#120 (master - 50bd6b6 : meh): The build was fixed.
15:54
barry_ has joined #opal
15:54
fkchang has joined #opal
16:36
<
adambeynon >
meh`: Im writing a new opal + vienna app from scratch, and the promises are making a huge difference to code cleanliness
16:36
<
adambeynon >
going to add them into opal/vienna sometime
16:43
GitHub114 has joined #opal
16:43
<
GitHub114 >
[opal-todos] StephenOTT opened pull request #9: Added note about Safari Dropped Connections Issue. (master...patch-1)
http://git.io/TgXuNg
16:43
GitHub114 has left #opal [#opal]
16:46
ryanstout has joined #opal
17:03
<
adambeynon >
meh`: out of interest, do you use #fail() for the reject parts?
17:04
<
meh` >
adambeynon, I use #rescue
17:06
<
fkchang >
meh`: I didn't see it before, u must be happy
17:07
<
meh` >
I lost 10 years of life expectation because of IE
17:07
<
fkchang >
IE is known to do that
17:18
dleedev has joined #opal
17:20
dleedev has quit [Client Quit]
17:21
<
fkchang >
meh`: is there a way to get the Application object in lissio?
17:26
<
meh` >
fkchang, how do you mean?
17:26
<
meh` >
when you inherit from Lissio::Application
17:26
<
meh` >
the class becomes a singleton
17:26
elia has quit [Ping timeout: 248 seconds]
17:43
<
fkchang >
I want to put "globals" as attrs on the Application that is running so others can all app.blah
17:43
<
fkchang >
so if I'm in a component or any other opal code I can do something like app = get_app; puts app.blah
17:47
<
meh` >
fkchang, the way would be to use the class of the application
17:47
<
meh` >
let's say you have class Frontend < Application
17:47
<
meh` >
you can use expose in the class definition
17:47
<
meh` >
to expose methods/attrs
17:48
<
meh` >
then you just Application.language
17:49
barry_ has quit [Remote host closed the connection]
17:58
<
meh` >
fkchang, if Application is too long you can always alias it to A or something
17:58
<
meh` >
but the way is to use the Application singleton as the central thing
17:59
<
fkchang >
meh`: I'll work with that
18:13
dleedev has joined #opal
18:20
<
dleedev >
hi, will method_added be supported in opal?
18:21
<
dleedev >
I remember asking on this channel and hearing that it will, but I also see that method_added is under the unsupported directory
18:29
<
meh` >
dleedev, yes
18:29
<
meh` >
dleedev, yeah, I wanted to move it under bugs, but adambeynon refused
18:30
<
meh` >
but I confirm, it will be supported before 1.0
18:33
<
dleedev >
do you have a timeline of when that would be?
18:33
<
meh` >
probably after 0.6
18:33
<
dleedev >
ok, hopefully by 0.7?
18:33
<
dleedev >
cool, thanks
18:33
<
dleedev >
how do I install opal-irb?
18:34
<
dleedev >
it's not in rubygems
18:40
<
fkchang >
dleedev: you have to do it via git, though it's running against a pretty old version of opal.
18:41
<
fkchang >
dleedev: I need to update it, but when I do you can do: gem 'opal-irb', :git => "git@github.com:fkchang/opal-irb.git"
18:41
<
fkchang >
in your Gemfile
18:41
<
fkchang >
or if you want to run against the version of opal I have opal-irb synched to (0.4.4), you could
18:50
<
dleedev >
what about a binstub for opal-irb?
18:50
<
dleedev >
so I can just run opal-irb in the terminal?
18:51
<
fkchang >
that link will update when I update (it's long due for one)
18:52
<
dleedev >
how can I install opal-repl?
18:52
<
meh` >
dleedev, it's already available
18:52
<
meh` >
dleedev, just clone the opal repo
18:52
<
meh` >
bundle install
18:52
<
fkchang >
I also thought elia did some update of opal-node
18:52
<
meh` >
and bundle exec bin/opal-repl
18:53
<
fkchang >
which u used to be able to rvm install, but last I checked, that wasn't working
19:06
dimaursu16 has quit [Ping timeout: 240 seconds]
19:11
GitHub58 has joined #opal
19:11
<
GitHub58 >
opal-browser/master 875862f meh: location: move #location in document to the right place
19:11
GitHub58 has left #opal [#opal]
19:11
<
GitHub58 >
opal-browser/master 64d067f meh: README: add badges
19:11
<
GitHub58 >
opal-browser/master 26a67cb meh: cookies: cleanup code and add documentation
19:22
travis-ci has joined #opal
19:22
<
travis-ci >
[travis-ci] opal/opal-browser#121 (master - 64d067f : meh): The build was broken.
19:22
travis-ci has left #opal [#opal]
19:24
GitHub185 has joined #opal
19:24
GitHub185 has left #opal [#opal]
19:24
<
GitHub185 >
opal-browser/master a1a36c9 meh: location: fix superclass
19:24
barry has joined #opal
19:25
kings has joined #opal
19:26
kings has quit [Read error: Connection reset by peer]
19:26
kings_ has joined #opal
19:27
barry has quit [Remote host closed the connection]
19:27
barry has joined #opal
19:32
barry has quit [Ping timeout: 264 seconds]
19:42
kings_ has quit [Quit: Leaving...]
19:56
GitHub123 has joined #opal
19:56
<
GitHub123 >
opal-browser/master 00484fd meh: gem: update version and cleanup the gem specification
19:56
GitHub123 has left #opal [#opal]
20:13
kings has joined #opal
20:13
travis-ci has joined #opal
20:13
<
travis-ci >
[travis-ci] opal/opal-browser#123 (master - 00484fd : meh): The build has errored.
20:13
travis-ci has left #opal [#opal]
20:26
travis-ci has joined #opal
20:26
travis-ci has left #opal [#opal]
20:26
<
travis-ci >
[travis-ci] opal/opal-browser#123 (master - 00484fd : meh): The build passed.
20:47
kings has quit [Ping timeout: 252 seconds]
20:59
barry has joined #opal
21:03
barry has quit [Ping timeout: 252 seconds]
21:09
barry has joined #opal
21:11
barry has quit [Remote host closed the connection]
21:11
barry has joined #opal
21:12
barry has quit [Remote host closed the connection]
21:12
barry has joined #opal
21:14
barry has quit [Remote host closed the connection]
21:14
barry has joined #opal
21:16
<
ryanstout >
actually, one sec, let me update one thing
21:16
<
ryanstout >
ok, never mind actually, I think I know why that was happening, deleting the issue
21:19
barry has quit [Ping timeout: 272 seconds]
21:19
kings has joined #opal
21:22
barry has joined #opal
21:41
<
ryanstout >
^so I that issue on my end was because I had redefined == On mri, it must do index comparisons without using ==
21:51
<
meh` >
ryanstout, it probably uses #hash
21:51
<
meh` >
we don't have a working #hash yet
21:51
<
ryanstout >
I had an issue with my comparator anyway
21:54
kings has quit [Ping timeout: 264 seconds]
22:29
kings has joined #opal
22:42
<
fkchang >
meh`: seems like browser/delay is not working, browser/immediate works. I have the below and only "immediate 2" gets printed out
22:42
<
fkchang >
puts "after 1"
22:42
<
fkchang >
}.after 1
22:42
<
fkchang >
puts "immediate 2"
22:42
<
meh` >
fkchang, yes, it's a known bug
22:42
<
meh` >
it's an opal bug, one of those that are impossible to track down so far
22:42
<
meh` >
fkchang, remember the bug where blocks wouldn't get passed sometimes?
22:43
dimaursu16 has joined #opal
22:44
<
meh` >
fkchang, you can use Kernel#after in the meantime
22:45
<
meh` >
which for some reason, works
22:45
<
meh` >
I think it's something with &self
22:49
<
meh` >
fkchang, if you need it to work like that I can put it on the top of the todo list
22:49
<
meh` >
but I'd rather finish up with the documentation first
22:53
DrShoggoth has joined #opal
23:04
kings has quit [Ping timeout: 248 seconds]
23:11
<
fkchang >
meh`: I can use Kernel #after for now
23:24
elia has joined #opal
23:35
Liothen is now known as kyote
23:38
kyote has quit [Quit: System of a down……]
23:38
Liothen has joined #opal
23:42
<
fkchang >
meh`: how do I pass through the data in function(data){} to a block in an x-string. This isn't quite right
23:42
<
fkchang >
`#{@event_bus}.registerHandler(#{channel}, function(data){
23:42
<
fkchang >
#{block}.call(data);
23:42
barry has quit [Ping timeout: 272 seconds]
23:43
barry has joined #opal
23:43
<
adambeynon >
#{block}(data)
23:44
<
adambeynon >
or #{block.call `data`}
23:44
<
adambeynon >
fkchang: ^^
23:44
<
meh` >
fkchang, why can't you pass the block directly to registerHandler?
23:45
<
fkchang >
meh`: I can pass it directly? I was only able to figure out the block.call type of calls ala
23:45
<
fkchang >
def register_handler(channel, &block)
23:45
<
fkchang >
`#{@event_bus}.registerHandler(#{channel}, function(data){
23:45
<
fkchang >
#{block}.call(data);
23:45
<
meh` >
fkchang, block are just functions in the end
23:46
<
meh` >
so yes, you can
23:49
<
fkchang >
meh`: that simplifies things, was this always the case?
23:49
<
meh` >
fkchang, yep
23:55
fkchang has quit [Ping timeout: 252 seconds]
23:59
kings has joined #opal