These are chat archives for opal/opal

28th
Jul 2015
Bozhidar Batsov
@bbatsov
Jul 28 2015 03:56 UTC
@fkchang Opal certainly needs more promotion. These days every second Ruby conf I visit has a talk on Crystal, but I’ve yet to see anyone besides you and @ryanstout talk about Opal. I aslo found a talk by @elia, but it was in Italian. :-)
Jared White
@jaredcwhite
Jul 28 2015 04:23 UTC
Part of the problem may be brain-drain at this point -- many people that are keenly interested in heavy frontend dev have long jumped on the JS bandwagon, and people that are still really super into Ruby (and likely Rails) tend to be more backend focused. It's challenging to find folks in the client-side frame of mind that are gung-ho about coding in Ruby rather than something else.
Ryan Stout
@ryanstout
Jul 28 2015 04:34 UTC
@bbatsov I think its that the tools aren't there yet. Since most of the front-end tools are (currently) written in JS, they don't see the advantage of using opal. I think once we get more idiomatic ruby tools for the client side, people will see the benefit. That said, Volt seems to be getting lots of adoption. I think once its more feature complete it will ramp up pretty quickly.
Forrest Chang
@fkchang
Jul 28 2015 05:30 UTC
@bbatsov I keep submitting proposals for opal, but only one has been accepted. I keep trying though
@jaredcwhite I think if we can show that browser based ruby is just ruby, more rubyist will adopt. I proposed a few talks where I basically tried to paint how when I code Ruby in the browser it's so much better than when I do JS, one thing I do instinctively is quickly abstract away browser specific code, so that 95% of the coding I do is "just Ruby"
I suspect I need to find a better way to say it, or maybe I should just rewrite and submit again, maybe before wasn't the right time. I've also submitted a talk on how "all ruby web components was a good thing". In the post React days, this talk topic might make more sense.
@ryanstout I should look into helping w/some volt tools
Ryan Stout
@ryanstout
Jul 28 2015 05:35 UTC
@fkchang hit me up if you have time, I would love to integrate some of your stuff into volt
also, yea, I keep getting talks rejected also. I'm not really a conspiracy theorist, but a lot of the people running conferences have a vested interest in just keeping things the same.
but I think once opal (and maybe volt) get popular enough, they will need to accept some talks about it :-)
Bozhidar Batsov
@bbatsov
Jul 28 2015 10:23 UTC
guess so :-)
well, if it’s any consolation after my upcoming eurucamp talk on Opal, I’ll be doing another talk about Volt at RailsClub.ru
at both conferences I had submitted other proposals as well
:-)
Elia Schito
@elia
Jul 28 2015 12:37 UTC
Yeah, Volt's a great thing for Opal, also good that we get some retweets from both matz and Brendan Eich from time to time :)
Bozhidar Batsov
@bbatsov
Jul 28 2015 13:36 UTC
btw, are source maps working for anyone with the example sinatra app https://github.com/opal/opal/tree/master/examples/sinatra
the sourcemaps work for me in the example rack app, but not in the sinatra app
Elia Schito
@elia
Jul 28 2015 13:37 UTC
they were last time I checked, but was a while ago
Michał Kalbarczyk
@fazibear
Jul 28 2015 14:14 UTC
Hi, trying to use storage support from opal-browser, but get the error on reload
TypeError: Opal.cget is not a function. (In 'Opal.cget(klass)', 'Opal.cget' is undefined)
Any clues ?
store = $window.storage('todos')
Elia Schito
@elia
Jul 28 2015 14:17 UTC
@fazibear it's now Opal.get, opal-browser should be updated cc @meh
Michał Kalbarczyk
@fazibear
Jul 28 2015 14:37 UTC
@elia found it, its in opal. opal/opal#1030
Jared White
@jaredcwhite
Jul 28 2015 15:02 UTC
So... @fkchang @ryanstout is it time for our own OpalConf? :)
Forrest Chang
@fkchang
Jul 28 2015 16:01 UTC
@ryanstout should I hit you up on the volt gitter?
@jaredcwhite it's worth entertaining, should it be a virtual conf (they seem popular these days), I'd be surprised that we'd have enough bodies to fill an actual for pay venue. At least some of my opal proposals will get accepted ;)
Forrest Chang
@fkchang
Jul 28 2015 16:11 UTC
I have an idea to try and use reverse psychology in conference proposal for opal
Forrest Chang
@fkchang
Jul 28 2015 16:42 UTC
@bbatsov (love prelude btw) have you seen this? https://www.youtube.com/watch?v=Cvz2tiT12-I
Ryan Stout
@ryanstout
Jul 28 2015 17:41 UTC
@jaredcwhite we should do a small after hours mini conference at rubyconf or something
Elia Schito
@elia
Jul 28 2015 17:54 UTC
@fkchang wrt reverse psychology, you mean titling like "what Opal can't do for you"? :D
@bbatsov can you open an issue for the Sinatra example? (of course a PR would be great too)
Forrest Chang
@fkchang
Jul 28 2015 18:21 UTC
@elia close, my tentative title is "Reasons to NOT use Ruby in the browser", where the items are pretty silly, i.e. "I love never knowing what this refers to", "I love rewriting complex business logic and tests in a different language than the server"