These are chat archives for opal/opal

28th
Apr 2015
AstonJ
@AstonJ
Apr 28 2015 00:16
This message was deleted
Forrest Chang
@fkchang
Apr 28 2015 12:56
@vais @meh thanks for the fix, like
like @jaredcwhite I can't use master, things aren't working for me
@jaredcwhite I have a 2nd post in the Rubyfying JS series that's 2/3 written, guess I need to finish it stat to get it in
Vais Salikhov
@vais
Apr 28 2015 15:14
@fkchang what's the problem you are having with master? Could you file an issue, something I can repro on my end?
Forrest Chang
@fkchang
Apr 28 2015 15:20
@vais Offhand I don't remember, I backed out the upgrade because I needed to get some stuff done. WHen I resume, I'll try to file something
Forrest Chang
@fkchang
Apr 28 2015 15:25
@AstonJ Related to your twitter crusade, I honestly don't understand why more Ruby web devs are diving into opal. GIven all the conference rejections I've gotten, I obviously must not be phrasing the message right. Lately, I've been thinking of "why wouldn't someone use opal for web if they're already a rubyist". As far as I can tell it's existing investment(say lots of Backbone/Angular whatever), and that might in the team members mentality, raw performance, or just thinking that opal is a toy
otherewise, I can't think of any good reasons
Adam Beynon
@adambeynon
Apr 28 2015 15:42
@fkchang the lack of large open-source examples could hinder it as well
nothing like a large code base to show development stylw
style*
AstonJ
@AstonJ
Apr 28 2015 15:47
@fkchang Funnily enough, I have just been having a short exchange with DHH over email. He says he can only fit so many causes on his plate - and that right now Ruby in the browser isn’t one of them. I’ve asked him if there’s anything we can do to change his mind. EDIT: he’s just got back to me saying that we are unlikely to sway him :-(. Like you, I think there must be other reasons that is part of his reasoning (probably not wanting to re-write all that Coffescript for one, followed by other smaller factors).
But that’s ok, at least we tried, and tbh, it makes me feel a lot less guilty about supporting and promoting Volt - because at least nobody can say we didn’t try our hardest to get Opal in Rails. Not that Volt’s only appeal is Opal, the whole package in Volt is pretty awesome, and on many levels, a step-up from Rails in many regards. It’s fresh, with ideas to match. Lean (does not have baggage of legacy frameworks). Scalable, thanks to tech like JRuby compatible and web sockets. Cutting edge (adopted the current best methodologies) and of course gives us the power of Ruby in the browser (and minimises our exposure to JS!! haha)
@adambeynon - I think Volt is going to be Opal’s first killer app ;-)
Rick Carlino
@RickCarlino
Apr 28 2015 15:49
Sad to hear @AstonJ . That's the route I'm taking- I'm trying my hardest to promote Volt. It's the best road forward for the community at this point. We just need to sell it. And sell it hard.
Adam Beynon
@adambeynon
Apr 28 2015 15:49
@AstonJ I’m not too woried about opal being “officially” supported in rails, in the same way that Haml isn’t, nor Slim, nor RSpec, etc
AstonJ
@AstonJ
Apr 28 2015 15:52
Completely agree @RickCarlino - we have started a strategies team at Volt if you (or anyone else here) is interested in joining :)
All Volt needs is one killer app. And I really don’t think it will be long before we see one :D
@adambeynon It just would have been nice (and fitting) that’s all. Look what Rails did for CS, completely unworthy imo.
AstonJ
@AstonJ
Apr 28 2015 15:57
Speaking of uptake, I think resources play a significant part. I had gone off the idea, but I am thinking about doing screen casts at www.metaruby.com again to be a bit like egghead.io but with a forum as well. We were thinking of Voltcasts over at Volt, but I think a broader scope would help the whole Opal (/Ruby) community. What do you guys think?
Adam Beynon
@adambeynon
Apr 28 2015 16:00
@AstonJ of course. Railscasts was/is huge for rails uptake
Elia Schito
@elia
Apr 28 2015 16:00

@AstonJ I’m not too woried about opal being “officially” supported in rails, in the same way that Haml isn’t, nor Slim, nor RSpec, etc

completely agree

Rick Carlino
@RickCarlino
Apr 28 2015 16:01
@AstonJ : I've been doing more content creation out of my blog these days (www.datamelon.io/blog). If you want an guest/affiliate writer for content creation, let me know. I've got some Volt stuff in the works.
Elia Schito
@elia
Apr 28 2015 16:01
"Voltcasts" would be awesome, ppl need "how do I …" style tutorials
Rick Carlino
@RickCarlino
Apr 28 2015 16:01
Hell, is there a curated email list for the Opal / Volt community yet?
Adam Beynon
@adambeynon
Apr 28 2015 16:02
We do, yeap: http://www.opalist.co
new (only 1 mailing so far), but will be a nice central place for updates
Rick Carlino
@RickCarlino
Apr 28 2015 16:03
Awesome. I'll let you guys know when new content is up.
AstonJ
@AstonJ
Apr 28 2015 16:07
There’s Opalist.co - Adam beat me to it :p Rick, blog posts sound cool! I think we could probably keep a list of all publised posts on the Volt site somewhere, that will help for people clicking through and for SEO. I’ll run this past Ryan later.
Elia Schito
@elia
Apr 28 2015 16:12
@adambeynon I think we should promote the ML on opalrb.org and in the README, @jaredcwhite mind doing a PR?
AstonJ
@AstonJ
Apr 28 2015 16:14
Agree @elia - also add everything else that’s using Opal too? Such as Volt and Clearspring and Fire and I think even Active Support isn’t even mentioned on the site?
Btw @adambeynon, I think the link to my post is still broke on the RubyFire site
Elia Schito
@elia
Apr 28 2015 16:15
Yes I'll be glad to accept PRs and I think @adambeynon would agree to even give commit access to opalrb.org if a maintainer arises, docs really need some love
AstonJ
@AstonJ
Apr 28 2015 16:21
Nice. I am currently going through the Volt docs, I’ll try to move on to Opal after that. If any of you can write up some rough docs, I don’t mind trying to edit or re-write them? (I am crap at JS so probably shouldn’t be trusted with writing them myself lol)
Michał Kalbarczyk
@fazibear
Apr 28 2015 17:21
Hi Guys, I have a problem, trying to set up opal env with sprockets with opal-query, and when I require ‘opal-jquery’ have a following error:
Opal::Builder::MissingRequire at /index.html
A file required by "test" wasn't found. A file required by "opal-jquery" wasn't found. A file required by "opal/jquery" wasn't found. A file required by "opal/jquery/window" wasn't found. A file required by "opal/jquery/element" wasn't found. can't find file: "native" in ["/Users/fazibear/dev/opal/styles", "/Users/fazibear/dev/opal/views", "/Users/fazibear/dev/opal/opal", "/Users/fazibear/dev/opal/vendor", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/sourcemap-0.1.1/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/hike-1.2.3/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/multi_json-1.11.0/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/rack-1.6.0/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/tilt-1.4.1/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/sprockets-2.12.3/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/hike-1.2.3/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/tilt-1.4.1/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/opal-0.7.2/lib", "/Users/fazibear/.rubies/2.2.2/lib/ruby/gems/2.2.0/gems/opal-jquery-0.3.0/lib"] (in /Users/fazibear/dev/opal/views/index.html.slim)
Tried to require it with opal require, with sprockets directive, nothing works
opal 0.7.2, opal-jquery 0.3.0
Michał Kalbarczyk
@fazibear
Apr 28 2015 17:33
can't find file: "native" in […]
ylluminate
@ylluminate
Apr 28 2015 17:55
anyone successfully used opal-browser with volt yet? @gabrielrios was hitting a wall yesterday in the volt room regarding a problem: "Anyone have user opal-browser with volt? I’m trying some Canvas code here but getting uninitialized Error"
he's since moved on to another approach w/o opal-browser, but i thought it might be worth exploring a little to see if there may be some mutual community benefit on resolving the issue
Forrest Chang
@fkchang
Apr 28 2015 18:44
@ylluminate
Opal browser can conflict with opal jQuery. That might be the source of you problems
ylluminate
@ylluminate
Apr 28 2015 19:50
@gabrielrios @fkchang noted something that i think we saw some time ago on another project (or was that @ylluminarious ?), i'm suspecting you already tested that?
Gabriel Rios
@gabrielrios
Apr 28 2015 19:54
I don’t think this is the case as I’m getting a Uninitialized constant error
Elia Schito
@elia
Apr 28 2015 21:28
@adambeynon still around?
looking at milestones I think it's a good time to release 1.1 https://github.com/opal/opal/milestones ?
lol jk
AstonJ
@AstonJ
Apr 28 2015 21:53
lol @elia
Forrest Chang
@fkchang
Apr 28 2015 21:55
@jaredcwhite when is the newsletter going out? Trying to finish it in time
Ryan Stout
@ryanstout
Apr 28 2015 22:29
just wanted to see if anyone here had any thoughts on a good way to serialize opal back to the server. Right now I'm using to_json, but that doesn't do things like dates. Any thoughts?
maybe I can use msgpack with extensions
Elia Schito
@elia
Apr 28 2015 22:34
implementing Marshal could be interesting…
Jared White
@jaredcwhite
Apr 28 2015 22:41
@fkchang It'll be going out 6am Pacific (USA) tomorrow (Wed.), so up to about 10pm Pacific tonight I'll be checking if there are any last minute additions :) :shipit:
@elia You mean link to Opalist from the site/readme? That would be way cool. Yeah I will work on a PR. :bow:
Elia Schito
@elia
Apr 28 2015 22:45
@jaredcwhite great!
Jared White
@jaredcwhite
Apr 28 2015 23:29
@fkchang Was this the same problem you ran into? opal/opal#817 cc @vais