centrx has quit [Quit: All this computer hacking is making me thirsty]
dimon_ has joined #opal
dimon_ has quit [Ping timeout: 264 seconds]
lacrosse has quit [Ping timeout: 240 seconds]
lacrosse has joined #opal
DouweM has quit [Ping timeout: 245 seconds]
kludge` has quit [Ping timeout: 264 seconds]
kludge` has joined #opal
elia has joined #opal
e_dub has quit [Ping timeout: 264 seconds]
lectrick__ has quit [Read error: Connection reset by peer]
lectrick__ has joined #opal
e_dub has joined #opal
dimon_ has joined #opal
DouweM has joined #opal
grios has quit [Ping timeout: 264 seconds]
grios has joined #opal
grios has quit [Client Quit]
Kilo`byte has quit [Read error: Operation timed out]
Kilo`byte has joined #opal
e_dub has quit [Quit: It's a hard knock life]
meh` has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
adambeynon has quit [Read error: Connection reset by peer]
adambeynon has joined #opal
antonishen has quit [Read error: Connection reset by peer]
antonishen has joined #opal
e_dub has joined #opal
ryanstout has joined #opal
<e_dub>
elia, started working on a wrapper for the Atom api over the weekend. Have all of the global `atom` object wrapped pretty nicely: https://gist.github.com/edubkendo/9602432#file-atom-rb . Have not yet figured out the best way to distribute it. Putting it in a gem means it gets used like other opal libraries do, which is good. I guess I could compile it and put it in npm and it could be used that way. Best would be we get
<e_dub>
rubygems running on opal-node I think, but that's probably a huge undertaking .
<elia>
e_dub, great!
<elia>
e_dub, brb, with considerations about opal-gems
<e_dub>
thanks
<meh`>
e_dub, #initialize could be completely removed
<meh`>
e_dub, alias_native :clipboard
<meh`>
e_dub, alias_native :clipboard=
<e_dub>
Ok, but then where do I set @native to make all the sweet native magic work?
<meh`>
e_dub, `include Native` already does it for you
<meh`>
just
<meh`>
initialize becomes super(`atom`)
<e_dub>
oh... /me smacks forehead
<e_dub>
I'm sure there's plenty of really naive code in there. appreciate the reccomendations.
<meh`>
e_dub, most of the code can be replaced with alias_native
<e_dub>
it had been sitting untouched for a very long time
dimon_ has joined #opal
<e_dub>
but with my changes, its currently even more of a bitch to get installed . Next step on it is turning it into something you can just say, "gem install rsense"
<e_dub>
because it has a dependency on java and jruby, it takes a bit of slick work with Spoon to make it work like that, but redcar and processing have both done something very similar to what I have in mind so its definitely doable
<elia>
e_dub, so it needs to be started in bg, to have bearable perf, because jruby, right?
<e_dub>
exactly, and has to use the jruby jars gem so you can install it with mri or whatever
<GitHub42>
opal/master d9989fc meh: Add #native_reader, #native_writer and #native_accessor
<e_dub>
elia its extremely fast now, once you get it started but startup time would make it unusable crap if it was actually firing the process up cold each time you needed autocomplete or to find a method definition
<elia>
meh`, lol, was hoping for some italian pearl, btw enola-mate is still the only candidate (excluding atom-mate)
<meh`>
e_dub, you can now just s/attr(_accesssor)/native\1/
<e_dub>
word
<meh`>
and replace the initialize content with super(`atom`)
<meh`>
and most methods with alias_native
<meh`>
I really need to write some documentation on how to use native efficiently
ryanstout has quit [Quit: ryanstout]
<adambeynon>
e_dub: does atom just use npm packages then?
<e_dub>
adambeynon it has a packagemanager apm built on top of npm. every atom plugin is an npm package, and has a package.json for installing dependencies. I'm not sure what apm adds on top, but its got 1 up on most other editor package managers (ala sublime text) because you can use other people's plugins as dependencies in your own.
<e_dub>
and easily require node packages as dependencies
ryanstout has joined #opal
<adambeynon>
e_dub: interesting. still looking towards making opal work nicely with bower/npm for general use as well
<e_dub>
adambeynon yeah, kind of liking the idea of opal packages all up in npm and on rubygems... rubyify all the things