Logs for #nikola for 2015-03-15

11:38:04 <erdgeist> ChrisWarrick: So, finally went live with my overhauled site, thanks to your support!
11:38:55 <ChrisWarrick> erdgeist: you’re welcome, and have fun with Nikola!
12:00:34 <erdgeist> ChrisWarrick: Well, I'll be using it more regularly now and will keep bugging you with CMS-issues ;)
12:00:45 <erdgeist> *grins evilly*
13:27:08 <ChrisWarrick> PS. Nikola is not really a CMS, we are a static site generator (Coil CMS, which is a fancy hand-holding user interface, qualifies)
16:37:27 <erdgeist> Hmm, why is in my all-nocdn.css the first line a
16:37:37 <erdgeist> @import url("//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700");
16:38:07 <erdgeist> this kind of defies the purpose
16:41:57 <erdgeist> hm, looks like it came from bootswatch
16:59:31 <erdgeist> and the other culprit is pygal, loading a >250k javascript file from http://kozea.github.io/pygal.js/javascripts/svg.jquery.js
17:08:06 <ChrisWarrick> erdgeist: we don’t manage all those
17:08:16 <erdgeist> I know
17:08:38 <erdgeist> I appreciate that nikola goes the extra mile to ensure not loading stuff from google by default
17:08:44 <ChrisWarrick> we don’t, actually
17:08:57 <ChrisWarrick> also, don’t we default to using CDNs?
17:09:14 <erdgeist> don't ruin my narrative by facts ;)
17:09:23 <ChrisWarrick> no, we don’t
17:09:32 <ChrisWarrick> USE_CDN does default to false
17:09:37 <erdgeist> but I can easily chose to
17:10:00 <ChrisWarrick> in other words, we don’t let anyone spy on you in the default config
17:11:44 <erdgeist> ;)
17:12:02 <ChrisWarrick> (which means we also produce sites that can be accessed without access to the global Internet)
17:12:24 <ChrisWarrick> can be viewed*
17:12:24 <erdgeist> Hmm, looks like there is no way to make pygal not load svg.jquery, and do it from exactly that location
17:12:37 <ChrisWarrick> erdgeist: edit their source code
17:13:53 <erdgeist> ChrisWarrick: isn't that sort of illegal?
17:14:13 <ChrisWarrick> it’s lgpl
17:14:28 <ChrisWarrick> editing open source code is always fine
17:14:36 <erdgeist> but not on their server
17:15:03 <erdgeist> I was hoping to find an option to make the resulting svg non-interactive, so they won't need the scripts
17:15:14 <ChrisWarrick> wget http://kozea.github.io/pygal.js/javascripts/svg.jquery.js > files/assets/js/svg.jquery.js; vim ~VIRTUAL_ENV/lib.python*/site-packages/pygal/*
17:15:47 <erdgeist> what is VIRTUAL_ENV?
17:16:14 <ChrisWarrick> https://virtualenv.pypa.io/en/latest/
17:16:34 <ChrisWarrick> then replace ~VIRTUAL_ENV by /usr/ or wherever your python is installed
17:16:38 <ChrisWarrick> and make it lib/python*
17:16:41 <erdgeist> Ohh, this is python-stuff
17:17:02 <erdgeist> Well, these changes won't survive updates
17:17:42 <erdgeist> but thanks
17:18:33 <ChrisWarrick> pygal doesn’t update that often
17:19:02 <ChrisWarrick> (and I know because every time they do, I must trigger a rebuild of the invariance site because a comment contains the current version)
17:20:11 <erdgeist> Well, I understand all that, yet I'd rather not load 250kB data just for fancy svg tooltips when hovering