00:20
elia has quit [Max SendQ exceeded]
00:24
elia has joined #opal
01:10
elia has quit [Quit: Computer has gone to sleep.]
01:13
capitalist has joined #opal
02:48
capitalist has quit [Quit: Sleep quit]
02:57
capitalist has joined #opal
03:09
capitalist has quit [Quit: Sleep quit]
03:13
capitalist has joined #opal
03:21
<
meh` >
capitalist, are you still looking for an answer to the language support question?
03:21
<
capitalist >
hey meh` - I've been doing some exploring of the code the past couple of hourss
03:22
<
capitalist >
I'm really blown away by the level of support
03:22
<
capitalist >
you guys are further than jruby
03:22
<
meh` >
some things we will never be able to support, sadly
03:22
<
capitalist >
so, refinements are not in right?
03:22
<
meh` >
they aren't, we were trying to figure out a way to make them work
03:23
<
meh` >
but it's not a priority, there are other things that need a fixing
03:23
<
meh` >
fibers cannot be supported either
03:23
<
capitalist >
yeah, i'm totally not worried about that - i didn't expect opal to be mature enough to use, but it totally is and more
03:23
<
meh` >
unbound methods
*should* work
03:23
<
meh` >
I remember implementing them
03:24
<
meh` >
I even wrote an overwolf app in it
03:24
<
meh` >
actually, two
03:24
<
capitalist >
can it run rails ;)
03:25
<
meh` >
some parts of it, probably, you could probably make activerecord work with WebSQL or IndexedDB
03:25
<
capitalist >
so, if I do Kernel patches to add language keywords, you think that'll work?
03:26
<
meh` >
how do you mean?
03:26
<
capitalist >
so, you know how in MRI if you want to feel like the language has a keyword it doesn't, you just add it as a method on Kernel
03:26
<
capitalist >
what would that do in Opal?
03:26
<
meh` >
ah ok, yeah, it works
03:27
<
meh` >
almost anything should work
03:27
<
capitalist >
Does Opal still Class -> Module -> Kernel -> Object -> BasicObject as ancestors?
03:27
<
meh` >
as long as it doesn't depend on platform dependant things
03:27
<
capitalist >
I did Kernel and Object backwards - but you get it
03:28
<
meh` >
there are currently a couple broken things in the ancestor chain that I was fixing
03:28
<
meh` >
but they mostly have to do with native bridges
03:28
<
capitalist >
sooo, yeah - this is pretty amazing - i feel like I'm cheating at js
03:28
<
meh` >
it doesn't show Kernel, but it actually works
03:29
<
meh` >
there are some broken things with native bridges, but it's a hard problem to fix
03:29
<
meh` >
basically native bridging means you can use javascript native types as they were ruby objects
03:29
<
meh` >
for instance, String, Array, Number, Boolean, Function
03:30
<
meh` >
that means inheriting from them needs weird quirks
03:30
<
meh` >
but in general, if you're just writing Ruby without doing weird stuff, it should all work out of the box
03:30
<
capitalist >
which is exactly what I'll be doing 99.99% of the time
03:31
<
meh` >
let's put it this way, if I didn't hit it yet, and you do, it means you must be doing some REALLY weird stuff
03:31
<
meh` >
and you shouldn't be proud of it :P
03:32
<
meh` >
but yeah, if you find anything weird just open an issue, we usually fix stuff fast enough
03:32
<
capitalist >
hehe, Forrest Chang is doing a good job of advocacy for the project - just watch two of his conf talks
03:32
<
capitalist >
will do, I'll probably try to hack on it myself to learn how it works
03:33
<
meh` >
the problem with advocating Opal is that people assume it's just a simple hack that can only run some small subset of Ruby
03:33
<
meh` >
when it can actually run rspec unmodified
03:34
<
capitalist >
yep, I assumed that until I saw him nonchalantly using it as the template handler for his js
03:34
<
capitalist >
As a capitalist, I'm cool with that, gives me more time with it first
*maniacal laugh*
03:35
<
capitalist >
that's saying a lot too, because rspec does some funky shit
03:36
<
meh` >
there is an opal-rspec, but it actually just adds a dynamic browser formatter and support for asynchronous tests
03:37
<
capitalist >
man, this is so cool - so i can ditch jasmine too?
03:38
<
meh` >
yep, the tests for opal-browser are rspec, and they're ran on travis through browserstack for multibrowser testing
03:38
<
meh` >
now they're broken because browserstack was hacked, and there have been some changes to the runtime so I didn't refresh the travis build, but you get the point
03:38
<
capitalist >
so, how many hours of dev you think you've got invested in opal at this point?
03:39
<
meh` >
it's what I've worked most on in the past few years
03:39
<
meh` >
but I basically ditched javascript away completely
03:39
<
meh` >
unless I'm working on opal itself
03:40
<
capitalist >
lissio looks like it would go hand in hand with the SMACSS or BEM stuff
03:49
<
capitalist >
why are the tabs so big in this source
03:51
<
meh` >
capitalist, it's github, 8 spaces per tab I think
03:51
<
meh` >
I don't see it because I have a custom CSS that changes that to 2 :P
03:51
<
capitalist >
github does that? dafuq? why wouldn't they just show the file as authored
03:52
<
capitalist >
where does ::Promise come from in this app?
03:53
<
meh` >
capitalist, it's in the stdlib
03:53
<
meh` >
capitalist, in this case it's required by browser/http
03:53
<
meh` >
which is required by lissio
03:54
<
capitalist >
so, this could be a way to do some of the ES6 stuff earlier because the Opal "runtime" could shim it if necessary?
03:56
<
meh` >
capitalist, that's going to be harder
04:07
<
capitalist >
the method_missing implementation is very clever
04:10
<
meh` >
yeah, and it's faster than it looks from what I tested
05:56
meh` has quit [Ping timeout: 244 seconds]
06:37
capitalist has quit [Quit: Sleep quit]
07:17
cpup has joined #opal
10:06
cantonic has joined #opal
11:41
Synchunk has joined #opal
11:47
cantonic has quit [Quit: cantonic]
11:57
cantonic has joined #opal
12:42
Synchunk has left #opal ["Leaving"]
15:34
elia has joined #opal
15:50
capitalist has joined #opal
16:37
capitalist has quit [Quit: Sleep quit]
17:21
meh` has joined #opal
17:36
cantonic has quit [Quit: cantonic]
17:51
capitalist has joined #opal
17:54
cantonic has joined #opal
18:02
elia has quit [Quit: Computer has gone to sleep.]
18:13
capitalist has quit [Quit: Sleep quit]
18:23
capitalist has joined #opal
18:33
capitalist has quit [Quit: Sleep quit]
19:09
capitalist has joined #opal
19:11
cantonic has quit [Quit: cantonic]
20:29
cantonic has joined #opal
21:27
elia has joined #opal
23:04
elia has quit [Quit: Computer has gone to sleep.]
23:44
capitalist has quit [Quit: Sleep quit]
23:51
capitalist has joined #opal