meh` changed the topic of #opal to: http://opalrb.org - Ruby runtime and library on top of Javascript | 1.0.0 is near | This channel is logged at https://botbot.me/freenode/opal/
DMDaMan has joined #opal
DMDaMan has quit [Client Quit]
RoxasShadowRS has quit [Read error: Connection reset by peer]
<elia> ryanstout, I posted volt on parley (ruby rogues forum)
<elia> answering stuff on your behalf right now
e_dub has quit [Quit: It's a hard knock life]
<ryanstout> elia: what's the url for that?
<ryanstout> elia: I appreciate the press. Unfortunately its got a little while before its really ready.
<elia> it's subscription only
<ryanstout> cool
<ryanstout> I might subscribe :-)
<ryanstout> ah, invite only
<ryanstout> nm
<elia> ryanstout, hope it'll bring some interest and / or contributors
<ryanstout> elia: how's the response?
<elia> forwarding
<ryanstout> yea, contributors would be great. Thanks for the PR's today btw
<elia> I'm trying to implement todomvc, as a way to try it
<ryanstout> cool.
<elia> right nowI'm stuck trying to implement a localstorage model
<ryanstout> reactive blocks aren't done yet, so its tough to do .count {...}
<ryanstout> I was going to implement local storage as one of the default collections
<ryanstout> if you check out the source, models can have a "persistor", which sets up how to store the values.
<elia> I wrote a local storage persistor (kinda) but I'm not sure it's the way togo
<elia> *to go
<ryanstout> its probably right
<ryanstout> I should document how to write your own persistor
<ryanstout> though I figured most of the ones people needed would be there out of the box
<elia> sure, but who knows, right? :)
<ryanstout> yea, definitely
<elia> also there's so much stuff coming with html5
<ryanstout> yea
<ryanstout> the persistor api is fairly straight forward, just needs some docs
<elia> yep, also I need to understand how a reactive value and a model are related/nested and how they interact
<ryanstout> yea, I should document that
<ryanstout> basically, all collections should be wrapped in a reactive value, so the event tracking works
<ryanstout> any class can include ReactiveTags and then can trigger its own events, so the models themselves trigger changed events when data changes, and that gets passed up to the ReactiveValue's that the user actually listens on
<ryanstout> elia: if your localstore works, feel free to send a PR :-)
<elia> it doesnt :(
<ryanstout> tomorrows booked for me, but maybe on Friday I can document how to create your own
<elia> current status:
<elia> any comment would be good
<ryanstout> looks like you setup local_storage correctly
<ryanstout> so I think its just #loaded not #loaded_attributes
<ryanstout> so in LocalStorage < Base I would do:
<ryanstout> def loaded
<ryanstout> @model.cur = JSON.parse(....)
<ryanstout> end
<ryanstout> that should load it in
<ryanstout> is it saving things correctly?
<ryanstout> elia: there's a chance that might call #changed again when you do .cur, so you may have to handle that
e_dub has joined #opal
<elia> uhm thx
fkchang has quit [Ping timeout: 265 seconds]
e_dub has quit [Ping timeout: 245 seconds]
e_dub has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
dimaursu16 has quit [Ping timeout: 248 seconds]
dimaursu16 has joined #opal
meh` has quit [Ping timeout: 248 seconds]
fkchang has joined #opal
fkchang has quit [Ping timeout: 248 seconds]
Steve445 has joined #opal
ryanstout has quit [Quit: ryanstout]
ryanstout has joined #opal
ryanstout has quit [Client Quit]
Steve445 has quit [Quit: Steve445]
Steve445 has joined #opal
Steve445 has quit [Quit: Steve445]
dragonkh has quit [Quit: Bye!]
elia has joined #opal
kludge` has quit [Ping timeout: 265 seconds]
kludge` has joined #opal
RoxasShadowRS has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
[o__o] has quit [*.net *.split]
[o__o] has joined #opal
yazgoo has quit [Remote host closed the connection]
elia has quit [Quit: Computer has gone to sleep.]
e_dub has quit [Quit: It's a hard knock life]
elia has joined #opal
elia has quit [Ping timeout: 245 seconds]
elia has joined #opal
Kilo`byte has quit [Quit: kilobyte22.de]
Kilo`byte has joined #opal
ryanstout has joined #opal
meh` has joined #opal
kartouch has quit [Ping timeout: 252 seconds]
kartouch has joined #opal
fkchang has joined #opal
elia has quit [Quit: Computer has gone to sleep.]
ryanstout has quit [Quit: ryanstout]
Liothen has quit [Remote host closed the connection]
Liothen has joined #opal
elia has joined #opal
DrShoggoth has joined #opal
fkchang has quit [Ping timeout: 248 seconds]
chesterbr has joined #opal
<chesterbr> Ruby2600 running on Opal inside an HTML page: http://chester.me/archives/2014/02/running-ruby2600-in-a-browser-with-opal/
elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
chesterbr has quit [Quit: chesterbr]
_elia has joined #opal
elia has quit [*.net *.split]
Liothen has quit [*.net *.split]
meh` has quit [*.net *.split]
antonishen has quit [*.net *.split]
lectrick has quit [*.net *.split]
ryanstewart has quit [*.net *.split]
lacrosse has quit [*.net *.split]
oldfartdeveloper has quit [*.net *.split]
adambeynon has quit [*.net *.split]
ryanstewart has joined #opal
oldfartdeveloper has joined #opal
adambeynon has joined #opal
lacrosse has joined #opal
lectrick has joined #opal
antonishen has joined #opal
meh` has joined #opal
ryanstout has joined #opal
antonishen has quit [Ping timeout: 245 seconds]
antonishen has joined #opal
brixen has quit [Ping timeout: 252 seconds]
lectrick_ has joined #opal
lectrick_ has joined #opal
lectrick_ has quit [Changing host]
meh`_ has joined #opal
lectrick has quit [Ping timeout: 245 seconds]
lectrick_ is now known as lectrick
brixen has joined #opal
meh` has quit [Ping timeout: 245 seconds]
Liothen has joined #opal
_whitelogger__ has joined #opal
Liothen has quit [*.net *.split]
antonishen has quit [*.net *.split]
Kilo`byte has quit [*.net *.split]
_whitelogger_ has quit [*.net *.split]
antonishen has joined #opal
Kilo`byte has joined #opal
lectrick has quit [Ping timeout: 261 seconds]
lectrick_ has joined #opal
Liothen has joined #opal
Kilo`byte has quit [*.net *.split]
Kilobyte|StupidC has joined #opal
_whitelogger___ has joined #opal
_whitelogger__ has quit [Remote host closed the connection]
Steve445 has joined #opal
_elia has quit [Quit: Computer has gone to sleep.]
elia has joined #opal
DrShoggoth has quit [Quit: Leaving]
Steve445 has quit [Quit: Steve445]