These are chat archives for ractivejs/ractive

23rd
May 2017
Joseph
@fskreuz
May 23 2017 12:08
For a library that's downloaded ~40k this month, Gitter is unusually quiet this week.
:ghost:
Chris Reeves
@evs-chris
May 23 2017 12:52
I wonder how cdn usage compares to the npm stats.
Joseph
@fskreuz
May 23 2017 14:34
Do any of the CDN services provide analytics?
Martin Kolárik
@MartinKolarik
May 23 2017 14:35
we (jsDelivr) are working on it
Joseph
@fskreuz
May 23 2017 14:36
oooh :thumbsup:
Martin Kolárik
@MartinKolarik
May 23 2017 14:38
it isn't easy since we serve about 14 million requests per hour and the data need to be parsed from raw access logs from four different providers
but hopefully in 2 months or so it'll be ready
Chris Reeves
@evs-chris
May 23 2017 14:42
so Ractive's monthly npm traffic every second or so?
Martin Kolárik
@MartinKolarik
May 23 2017 14:44
every 10 seconds :smile:
Chris Reeves
@evs-chris
May 23 2017 14:46
just a bit of data 😄
are the logs at least in a similar format across providers?
and if you don't mind me asking, what are you guys using on the backend? (language, framework, os)?
I've been wondering since the recent relaunch.
Martin Kolárik
@MartinKolarik
May 23 2017 14:49
yeah, roughly 2,638,827,906,662,400 bits of data each month :D
I personally haven't seen the logs yet but I'd be very surprised if they were in a similar format
the backend will most likely be open sourced later and I'm also planning to publish some articles with technical stuff
Chris Reeves
@evs-chris
May 23 2017 14:51
Oooh I look forward to that
Martin Kolárik
@MartinKolarik
May 23 2017 14:51
but in short, our origin servers use node.js
express.js + other common packages
and responses from that are cached by upstream CDN providers, which mostly use nginx I think
we currently have two origin servers behind HAProxy
Chris Reeves
@evs-chris
May 23 2017 14:55
You have an impressive npm turnaround time. I was testing a fix yesterday and jsdelivr had a fresh edge build within 30s of Travis publishing it.
Juan C. Andreu
@andreujuanc
May 23 2017 14:58
@fskreuz yea i've been dead xD Have issue after issue at work.
And guess what, on top of that
Martin Kolárik
@MartinKolarik
May 23 2017 14:58
yeah that's because everything is fetched on-demand
Juan C. Andreu
@andreujuanc
May 23 2017 14:58
yesterday I realized i lost the keystore for our android app D:
Chris Reeves
@evs-chris
May 23 2017 15:01
😦
Juan C. Andreu
@andreujuanc
May 23 2017 15:02
Yeap, publish new app. Mail every customer to sync all data, delete old app and install new one D:
kouts
@kouts
May 23 2017 16:02
Is there a section in https://ractive.js.org/ that describes the migration process from 0.8?
Chris Reeves
@evs-chris
May 23 2017 16:04
That's pretty much just the changelog. Probably would be good to have an actual migration guide, though.
kouts
@kouts
May 23 2017 16:08
I just found a migration guide here: http://docs.ractivejs.org/edge/migrating#migrating-from-0-8-x is it valid?
Chris Reeves
@evs-chris
May 23 2017 16:09
it's a little out of date
the changelog is more accurate and basically the same thing
kouts
@kouts
May 23 2017 16:20
Ok thanks, took a quick look, getNodeInfo has to be replaced in changelog with the new name, getContext I believe?
Chris Reeves
@evs-chris
May 23 2017 16:32
yep
I'm going to update the changelog, push 0.8.13, and add a migration page to the docs site that's a little better laid out for migration later today
kouts
@kouts
May 23 2017 16:34
just realized I must be using 50% of what Ractive has to offer :smiley:
Joseph
@fskreuz
May 23 2017 16:34
There's more under the hood :D
kouts
@kouts
May 23 2017 19:43
Here's my take on the "modal popup" thing http://jsfiddle.net/5po16rwx/12/ features include: scrollable when it exceeds screen height, close on escape key and stackable
Chris Reeves
@evs-chris
May 23 2017 19:46
nice!
kouts
@kouts
May 23 2017 20:12
Ahh, a typo in the css made the popup overlay not visible in Chrome, here's the correct one (sorry for spamming): http://jsfiddle.net/5po16rwx/13/