These are chat archives for opal/opal

20th
Mar 2015
Elia Schito
@elia
Mar 20 2015 00:30
@fkchang
Forrest Chang
@fkchang
Mar 20 2015 00:31
@elia here now
besides the other things I was discussing, also want to fix the error that if you have syntax error in an opal-rspec file, that the test runs red. My guess is that opal doesn't compile the file, so the spec runner doesn't run it.
Now that I described it, I guess I could check that compiled files match spec files, but not certain if I can catch the compile error
Mitch VanDuyn
@catmando
Mar 20 2015 12:02
@elia, that doc page is in a pull request I just made...
Adam Beynon
@adambeynon
Mar 20 2015 12:26
@catmando looks great! I will have a read over it at lunch, but looks good skimming through
Elia Schito
@elia
Mar 20 2015 14:38
@adambeynon @catmando merged :+1:
@adambeynon crazy react experiment: https://gist.github.com/elia/fad23026831a817e3526 / zetachang/react.rb#13
Mitch VanDuyn
@catmando
Mar 20 2015 15:26
ALL: I am thinking of presenting our use of Opal on our website at Goruco (NYC ruby conf.) I don't want to overlap if anybody has already submitted a talk on Opal...
But I am figuring no, since a lot of folks are not close to NYC :-)
Elia Schito
@elia
Mar 20 2015 15:32
I'm quite sure I won't make it :P
Mitch VanDuyn
@catmando
Mar 20 2015 15:35
Well then if nobody has an objection, I will submit a proposal anyway. I am sure its pretty competitive to get in, so wish me luck :-)
Mitch VanDuyn
@catmando
Mar 20 2015 15:45
Okay, here is my draft of talk, please let me know if this sounds appealing, as I think it will help Opal's visibility, if I can get accepted as a speaker. (its a 30 minute talk)

Opal is a Ruby to Javascript compiler that is rapidly maturing.

We have about 1 million lines of code running our website and manufacturing backend. The code is all ruby with the exception of Javascript.

Opal opens a path to making our code base 100% pure ruby with the obvious benefits of having a single development language.

This talk will give a brief overview of Opal, and its current status, and then will focus on our experience using Opal in a production environment, with emphasis on doing an evolutionary transition.

.
.
Elia Schito
@elia
Mar 20 2015 15:59
@catmando I think that seeing someone using it in production will make people more comfortable in trying it in they're own projects :+1:
Mitch VanDuyn
@catmando
Mar 20 2015 16:16
good... I am so appreciative of the teams work on Opal.
I found it to be almost flawless. I found just a few issues with pretty obscure stuff, and the source mapping is rough. However the ability to use rspec and TDD makes up for that.
It might be good to have some kind of gist collection of real world classes etc. I have a couple that are not quite ready to be gems, but might make useful examples.
The Cannonbol gem I just released runs on opal with just a couple of changes (all documented as issues), and it does some heavy duty meta programming. I was really impressed.
Elia Schito
@elia
Mar 20 2015 16:30
great to hear that, also good source mapping is on its way back to opal
Mitch VanDuyn
@catmando
Mar 20 2015 16:44
Yeah I did a pull requests with some basic fixes, but I think its waiting for me to go back and do a bit more work, or perhaps somebody else is working the issue.
Elia Schito
@elia
Mar 20 2015 16:45
:) I am
kept the PR on hold until I'll finish, but you can try the elia/wip-back-to-sprockets on both opal and opal-rails
Forrest Chang
@fkchang
Mar 20 2015 19:23
@catmando I submitted 2 talks that are opal related to goruco
Mitch VanDuyn
@catmando
Mar 20 2015 19:24
@fkchang ahhh! what were your subjects?
CJ Lazell
@cj
Mar 20 2015 19:44
Afternoon. Using https://github.com/opal/opal/blob/master/lib/opal/compiler.rb is there anyway to append_path? like you do with Opal::Sprockets
Forrest Chang
@fkchang
Mar 20 2015 21:02
@catmando one was "Game NOT over!" where I'll talk about opal and jubilee/vert.x allowing people to do things in ruby that they have been leaving ruby to do and the other was about how my browser code is better in Ruby than in JS and why
Mitch VanDuyn
@catmando
Mar 20 2015 21:16
Sounds like great talks...
Do you want me to tell them to remove my talk in favor of yours?
I don't care as long as Opal gets promoted!
Forrest Chang
@fkchang
Mar 20 2015 23:00
@catmando Submit yours, no telling who gets picked