first task was moving it to serverless, next task is fixing it up more ;)
x58
I see a single cookie being set. Named zappa
benbangert
yea, so, API Gateway is funky. heh
it only lets a single cookie move between the outside and inside
so all the internal app cookies are consolidated into a single big zappa cookie
Zappa compacts/expands them across the boundaries
this is pretty slick so far though, just hitting 'zappa deploy' to stick a new version online
redir joined the channel
atomekk joined the channel
zupo joined the channel
yleclanche joined the channel
mr_jolly joined the channel
econoraptorman has quit
disko joined the channel
XeL64 joined the channel
zepolen has quit
zepolen joined the channel
ronnix joined the channel
mr_jolly has quit
fxhp has quit
agitator joined the channel
Charlie_X joined the channel
bochecha__ joined the channel
bochecha__ is now known as bochecha
bochecha has quit
bochecha joined the channel
agitator joined the channel
agitator joined the channel
atomekk joined the channel
uralbash joined the channel
zupo joined the channel
zupo joined the channel
Ergo joined the channel
Ergo
morning
brokency1le joined the channel
agitator joined the channel
hi guys - how do you solve CSS/JS problem in your applications? does every release ship precompiled/compressed statics or do you handle that during deployment somehow?
moo-_-
Ergo: I run bundling script during the deployment on the server
but I'd prefer to do this locally pre-deployment
jhauser_ joined the channel
jhauser_ is now known as jhauser
Charlie_X
Ergo: I'd do everything in the http server
But I guess it depends how much you're shipping.
http2 makes a lot of the older strategies redundant.
evilbungle joined the channel
Ergo
Charlie_X: well you still need to transpile es6 to 5 etc
Charlie_X: do you have some examples of how do you do it?
ie. how do you set up nodejs and buil pipeline?
Charlie_X
I don't have anything that complicated.
You might want to talk to blaflamme when he's around.
But it's probably worth checking what mod_pagespeed can do now.
I personally think a lot of the JS stuff is wheel reinvention.
Ergo
Charlie_X: they love that :-)
Charlie_X
Apparently so.
moo-_-
Ergo: I would do transpile locally
Ergo: and then package all JS it to a wheel and install with pip
if Python is your thing
Ergo
moo-_-: thats what i usually did
Charlie_X
It wouldn't surprise me if mod_pagespeed can now manage "transpiling" but I've not needed to worry about that.
Ergo
i need to use gulp
Charlie_X
We don't have any "appified" websites.
Ergo
i was thinking about shipping every part of UI/SPA as separate python package - then run build on it and copy to statics dir for httpd to serve
Charlie_X
I reckon it's still worth looking up what you can just let the server do.
Ergo
but it might be a bit tricky
Charlie_X thinks SPAs are fucked up
Charlie_X: im about 95% sure its impossible since i need to multiple build steps with webpack/gulp/wthatever
Charlie_X: i still have to live with it :D
or i can go the way moo-_- suggests - but for python develop to work in production usually that would mean versioning build results
Charlie_X
Maybe. I can't really comment on stuff I don't do myself. See remark above about wheels
Ergo
which is kind of crappy
Charlie_X
certainly sounds crapy.
Ergo
well its certainly error proof
thing is most of time i dont do "releases" - i have one "rolling" app running via python develop
Charlie_X
You can use your own PyPI though which takes a lot of the pain away.
Ergo
but i still need to update the js
Charlie_X
I assume this "appification" is why some webpages are getting so fucking fat.
TransferWise user page: 6 MB. Why?
waveform joined the channel
El_Rolando joined the channel
bomb-on joined the channel
Ergo
Charlie_X: 6mb is excessive :D
Charlie_X: then again react source is 750kb :D
agitator joined the channel
cyphase_eviltwin joined the channel
nilo joined the channel
moo-_-
Charlie_X: angular
Charlie_X: but think positively,
subsequent page loads are fast
Charlie_X
No, they're not. It's just badly written crap.
Developers should spend more time on lower specc'd machines and slower connections.
hvelarde joined the channel
c0le has quit
agitator joined the channel
zupo has quit
c0le joined the channel
stevepiercy
everytime you use a carousel, god kills a kitten
Charlie_X
If only it were just carousels…
Bedtime for you, young man!
stevepiercy
this is the only reason for carousels
there are no other good reasons
stevepiercy waves to Charlie_X
Charlie_X kills a kitten for stevepiercy
Charlie_X are you going to any conferences this year?