Logs for #nikola for 2015-08-27

02:29:34 <Aeyoun> ralsina ChrisWarrick: well, that turned out better than I thought. Only missing multilingual links some places and some docs. Pull request coming tomorrow. Now I need some sleep. :)    —wip through nikola serve— http://net.daniel.priv.no:8000/webdev/index.html http://net.daniel.priv.no:8000/security/index.html and
02:29:34 <Aeyoun> http://net.daniel.priv.no:8000/index.html 
02:30:07 <ralsina> Aeyoun: quite nice!
02:32:18 <Aeyoun> ralsina: articles can also be styled in the same color as the category they belong to. for example in hero title background colors (all my articles are green now) or maybe a horizontal line or something. up to theme authors.
02:32:42 <ralsina> Aeyoun: nice touch, yuo do that via config + theme?
02:33:24 <Aeyoun> ralsina: well, optionally you can use POSTS_CATEGORY_COLORS but I actually automatically, … wait, I phrased it so nicely in the code … *digging*
02:34:11 <Aeyoun> def colorize_str_from_base_color(string, base_color):
02:34:11 <Aeyoun>         Find a perceptual similar color from a base color based on the hash of a sring.
02:34:11 <Aeyoun>         Make up to 16 attempts (number of bytes returned by hashing) at picking a
02:34:11 <Aeyoun>         hue for our color at least 27° away from the base color, leaving lightness
02:34:11 <Aeyoun>         and saturation untouched using HUSL colorspace.
02:35:36 <Aeyoun> ralsina: so you get humanly perceived similar colors at least 27° degree removed from the THEME_BASE color option. But at same lightness and saturation so they go well together. Breaks for grey (no saturation), but works for everything else – bright or dark.
02:36:07 <ralsina> interesting!
02:36:11 <Aeyoun> THEME_BASE is the delightful green I use on my site, for example.
02:37:10 <ralsina> ok, I gotta go to bed
02:37:21 <ralsina> so I can only assume you should have done the same 4 hours ago :-)
02:37:21 <Aeyoun> Will also add <meta content="$THEME_BASE" name="theme-base"> to colorize the Android browser, Chrome, Vivaldi, Safari icons, etc. in the color of the site. (https://developers.google.com/web/updates/2014/11/Support-for-theme-color-in-Chrome-39-for-Android?hl=en)
02:37:32 <Aeyoun> ralsina: it’s only 04:37 :P
02:37:49 * Aeyoun runs off to bed and hides from his messy code until cleanup tomorrow
02:37:51 <ralsina> I have a kid, and have to get up at 60 to take him to school
02:38:23 <ralsina> well, I could wake up at 7:45 and take him to school but we would both be in our pijamas and barefoot
02:38:43 <Aeyoun> Could work.
02:39:04 <Aeyoun> Talk to you tomorrow. Hope to wrap this up then. g'night
02:39:04 <ralsina> they have mandatory uniforms. But then again, he could go to bed dressed with it...
02:39:12 <ralsina> good night!
07:55:42 <ChrisWarrick> Aeyoun: looks really nice.  I guess I’ll steal the colorization bit for my blog (which already implements theme-base in the theme), but I really hope I can leave the URLs on my site unchanged even with the PR merged.
09:12:36 -GitHub[coil]:#nikola- [coil] Kwpolska pushed 2 new commits to master: http://git.io/vGeDH
09:12:36 -GitHub[coil]:#nikola- coil/master 98a62ad Chris Warrick: v1.3.8: clean up requirements (fix #40)...
09:12:36 -GitHub[coil]:#nikola- coil/master 653209b Chris Warrick: Merge branch 'release/1.3.8'
09:12:56 -GitHub[coil]:#nikola- [coil] Kwpolska pushed 1 new commit to develop: http://git.io/vGeDh
09:12:56 -GitHub[coil]:#nikola- coil/develop 132565a Chris Warrick: Merge branch 'release/1.3.8' into develop
09:14:02 <KwBot> [coil] Kwpolska closed issue #41: pyinotify necessary for coil? https://github.com/getnikola/coil/issues/41
09:15:03 -GitHub[coil]:#nikola- [coil] Kwpolska pushed 1 new commit to develop: http://git.io/vGeyX
09:15:03 -GitHub[coil]:#nikola- coil/develop 2a6d2e4 Chris Warrick: fix #41...
09:44:09 <Aeyoun> ChrisWarrick: categories are determined by their output folder dir. POSTS = { "category1/*.md", "category2/*.md", … } like how other CMSes does this.
09:44:34 <ChrisWarrick> Aeyoun: I’m not changing my directory structure.
09:44:51 <ChrisWarrick> Aeyoun: cool url’s don’t change for shit’s sake. http://www.w3.org/Provider/Style/URI.html
09:45:01 <Aeyoun> ChrisWarrick: you can, however, set a custom metadata keyword on each posts "like .. color: security-posts" and then send post.meta.color through the colorization function. 
09:45:30 <Aeyoun> same string == same color
09:45:53 <ChrisWarrick> Aeyoun: your changes will break so much, please make it possible to use the current implementation of categories
09:46:46 <Aeyoun> The plan was to rip those out as they duplicate how tags work.
09:47:43 <Aeyoun> *could* rip them out and hijack their meta-entry and set categories independent of output dir. as an option.
09:47:50 <ChrisWarrick> that requires at least v8.0.0
09:49:39 <Aeyoun> yup.
09:50:25 <ChrisWarrick> Aeyoun: you break existing links to every post, cat_* RSS/links…  and that is a bad thing to do.  I really hope I can set “blog” as my only category and keep my good-enough links.
09:51:28 <Aeyoun> POSTS_CATEGORIES = False will turn it off entirely.
09:51:41 <ChrisWarrick> great.
09:52:06 <Aeyoun> POSTS_CATEGORY_ARE_INDEXES = False will make it a list instead of index.
09:52:56 <Aeyoun> I’ll add an option for setting category based on a meta keyword instead.
10:03:05 <Aeyoun> ChrisWarrick: POSTS_CATEGORY_FROM_META added.
10:03:29 <ChrisWarrick> thanks.
10:03:57 <Aeyoun> Lets see, now I need to fix these links and path registrations.
11:09:01 * Aeyoun hates the path handler system
12:32:37 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vGfOL
12:32:37 -GitHub[nikola]:#nikola- nikola/master 3d89be0 Chris Warrick: pygal==2.0.3...
12:37:22 -travis-ci:#nikola- getnikola/nikola#6037 (master - 3d89be0 : Chris Warrick): The build was broken.
12:37:23 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/84f62cbfaab8...3d89be032c0a
12:37:23 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77491512
13:09:47 -travis-ci:#nikola- getnikola/nikola#6037 (master - 3d89be0 : Chris Warrick): The build passed.
13:09:48 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/84f62cbfaab8...3d89be032c0a
13:09:48 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77491512
13:11:06 -GitHub[nikola]:#nikola- [nikola] Aeyoun created posts-categories (+1 new commit): http://git.io/vGf9o
13:11:06 -GitHub[nikola]:#nikola- nikola/posts-categories b6f2eee Daniel Aleksandersen: Adds THEME_COLORS, POSTS_CATEGORIES, POSTS_CATEGORY_*, and HUSL color functions...
13:13:25 -GitHub[nikola]:#nikola- [nikola] Aeyoun opened pull request #1981: Adds THEME_COLORS, POSTS_CATEGORIES, POSTS_CATEGORY_*, and HUSL color functions (master...posts-categories) http://git.io/vGfdn
15:37:09 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: http://git.io/vGUnY
15:37:09 -GitHub[nikola]:#nikola- nikola/master 083ce3c Chris Warrick: pygal v2.0.4...
15:42:16 -travis-ci:#nikola- getnikola/nikola#6040 (master - 083ce3c : Chris Warrick): The build passed.
15:42:17 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/3d89be032c0a...083ce3c5c0f3
15:42:17 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77525865
16:00:57 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGU2J
16:00:57 -GitHub[nikola]:#nikola- nikola/posts-categories 0b47d68 Daniel Aleksandersen: flake8
16:05:15 -travis-ci:#nikola- getnikola/nikola#6041 (posts-categories - 0b47d68 : Daniel Aleksandersen): The build is still failing.
16:05:16 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/b6f2eee7801b...0b47d687caea
16:05:16 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77531366
17:44:04 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGT4O
17:44:04 -GitHub[nikola]:#nikola- nikola/posts-categories e059a57 Daniel Aleksandersen: flake8ier
17:48:59 -travis-ci:#nikola- getnikola/nikola#6043 (posts-categories - e059a57 : Daniel Aleksandersen): The build is still failing.
17:49:00 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/0b47d687caea...e059a5759296
17:49:00 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77550335
20:26:00 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGkKl
20:26:00 -GitHub[nikola]:#nikola- nikola/posts-categories ea8738b Daniel Aleksandersen: flake8
20:33:29 -travis-ci:#nikola- getnikola/nikola#6046 (posts-categories - ea8738b : Daniel Aleksandersen): The build is still failing.
20:33:30 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/e059a5759296...ea8738b5f68d
20:33:30 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77577566
20:48:42 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGkD4
20:48:42 -GitHub[nikola]:#nikola- nikola/posts-categories bd27b76 Daniel Aleksandersen: POSTS_CATEGORY_TITLES for every preference
20:52:49 -travis-ci:#nikola- getnikola/nikola#6047 (posts-categories - bd27b76 : Daniel Aleksandersen): The build is still failing.
20:52:50 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/ea8738b5f68d...bd27b766aba3
20:52:50 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77581129
21:28:08 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 2 new commits to posts-categories: http://git.io/vGkxG
21:28:08 -GitHub[nikola]:#nikola- nikola/posts-categories bddd8d2 Daniel Aleksandersen: pagekind['main_index'] was missing
21:28:08 -GitHub[nikola]:#nikola- nikola/posts-categories 00b818e Daniel Aleksandersen: Document new pagekinds for categories
21:32:33 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGkp1
21:32:33 -GitHub[nikola]:#nikola- nikola/posts-categories 65301b0 Daniel Aleksandersen: Use titles not names for category page headlines
21:36:16 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGkhF
21:36:16 -GitHub[nikola]:#nikola- nikola/posts-categories 1e0cade Daniel Aleksandersen: Use titles not names in headlines, bootstrap3 edn.
21:37:27 -travis-ci:#nikola- getnikola/nikola#6051 (posts-categories - 65301b0 : Daniel Aleksandersen): The build is still failing.
21:37:28 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/00b818e8b8c4...65301b0314a6
21:37:28 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77587797
21:40:31 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGIeT
21:40:31 -GitHub[nikola]:#nikola- nikola/posts-categories dbde7c1 Daniel Aleksandersen: Hold off on using category colors just yet.
21:43:51 -travis-ci:#nikola- getnikola/nikola#6053 (posts-categories - 1e0cade : Daniel Aleksandersen): The build is still failing.
21:43:52 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/65301b0314a6...1e0cadec4c2d
21:43:52 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77588387
21:48:30 -travis-ci:#nikola- getnikola/nikola#6055 (posts-categories - dbde7c1 : Daniel Aleksandersen): The build is still failing.
21:48:31 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/1e0cadec4c2d...dbde7c17a34c
21:48:31 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77589126
22:05:37 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGILx
22:05:37 -GitHub[nikola]:#nikola- nikola/posts-categories e586200 Daniel Aleksandersen: Clearer variables, resolve title iteration problem.
22:09:39 -travis-ci:#nikola- getnikola/nikola#6057 (posts-categories - e586200 : Daniel Aleksandersen): The build is still failing.
22:09:40 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/dbde7c17a34c...e5862008aa7d
22:09:40 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77593026
22:51:55 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGIl0
22:51:55 -GitHub[nikola]:#nikola- nikola/posts-categories d9c26d3 Daniel Aleksandersen: ctrl+s mistake
22:56:39 -travis-ci:#nikola- getnikola/nikola#6059 (posts-categories - d9c26d3 : Daniel Aleksandersen): The build is still failing.
22:56:40 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/e5862008aa7d...d9c26d330954
22:56:40 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77598969
23:36:47 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to posts-categories: http://git.io/vGIgl
23:36:47 -GitHub[nikola]:#nikola- nikola/posts-categories 15da257 Daniel Aleksandersen: Remove some color prints
23:43:57 -travis-ci:#nikola- getnikola/nikola#6062 (posts-categories - 15da257 : Daniel Aleksandersen): The build is still failing.
23:43:58 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/d9c26d330954...15da2576ef0e
23:43:58 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/77603361