Logs for #nikola for 2017-05-08

00:49:35 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to shortcodes2: https://git.io/v9rmq
00:49:35 -GitHub[nikola]:#nikola- nikola/shortcodes2 ce8682d Roberto Alsina: Merge branch 'master' into shortcodes2
01:04:30 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to shortcodes2: https://git.io/v9rmM
01:04:30 -GitHub[nikola]:#nikola- nikola/shortcodes2 fbd5730 Roberto Alsina: py2 and py3
01:08:35 -GitHub[nikola]:#nikola- [nikola] Kwpolska opened pull request #2747: [requires.io] dependency update on master branch (master...requires-io-master) https://git.io/v9rmN
10:17:48 <gour> morning
10:18:13 <gour> what would be correct syntax to place teaser in the asciidoc(tor) post?
10:19:12 <gour> <!-- TEASER_END --> does not work...
14:02:38 <gour> found out the cause for the problem with teasers & asciidoctor...it requires using so called "triple-plus passthrough" in order to pass teaser code untouched. :-)
14:05:55 <ralsina> gour: checking ....
14:06:29 <ralsina> gour: should be something like // TEASER_END if and only if asciidoc(tor) doesn't eat comments when compiling
14:06:40 <gour> it works with: pass:[<!-- TEASER_END -->] as well
14:07:12 <gour> ralsina: the problem was that asciidoctor created arrow out of '-->'
14:07:27 <ralsina> too clever
14:07:45 * gour nods
14:08:19 <gour> ralsina: i see you're active (again) ;) what does shortcode2 branch brings about?
14:08:43 <ralsina> gour: shortcodes that work with "active" compilers
14:09:10 <ralsina> gour: for example, since rst will turn bare URLs into links, it was a pain to do something like {{% audio url=http://asdasdasda %}}
14:09:24 <gour> ralsina: iow, more "universal" usage of shortcodes, that's very cool!!
14:09:34 <ralsina> that's the idea
14:10:52 <gour> i admit i was flirting for some time with hugo, but nikola feels better and, moreover, learning/using python seems more productive than go(lang)
14:11:49 <gour> providing new emoji plugin would be one of the first thing to do for nikola...
14:12:15 <ralsina> gour: define "new emoji" :-)
14:12:46 <gour> ralsina: tortue.me site for emojis is taken down, so my idea is to use approach similar to hugo and use unicode codes instead
14:12:59 <ralsina> gour: good idea
14:13:14 <ralsina> problem is mostly that the emojis in normal fonts are not what people expect
14:13:23 <ralsina> as in, they are small, and black
14:13:27 <gour> ...due to https://github.com/getnikola/plugins/issues/211
14:13:47 <ralsina> Did not recall that issue at all
14:13:56 <ralsina> I may take a look at it at lunch if you don't mind
14:14:43 <gour> ralsina: well, idea is to keep e.g. |smile|, but replace it with the unicode instead, similar to e.g. https://github.com/kyokomi/emoji
14:14:57 <gour> i surely don't mind :-)
14:15:16 <ralsina> if you could replace it with the unicode character BUT generate a smap with an emoji class, we can use a decent emoji webfont if preferred
14:15:34 <ralsina> like https://github.com/MorbZ/OpenSansEmoji
14:15:53 <gour> that would be nice
14:17:12 <ralsina> Or maybe http://emojisymbols.com/ 
14:17:14 <ralsina> there are a few
14:17:53 <ralsina> Android emoji are free! Nice https://www.google.com/get/noto/#emoji-zsye-color
14:18:10 <gour> ralsina: for rst something like this: .. |cryface| unicode:: U+1F61E does work, but having unicode symbol would be more universal for other markups, right?
14:18:25 <ralsina> yeah
14:18:36 <ralsina> {{% emoji cryface %}} at least
14:18:59 <ralsina> In fact, once the shortcut is done, adding special things like docutils roles and markdown whatever is easy
14:19:00 <gour> check this: http://unicode.org/emoji/charts/full-emoji-list.html
14:19:18 <ralsina> there are a lot
14:19:34 <ralsina> I will take a shot during lunch. That means I either do it quick or not at all ;-)
14:20:25 <gour> ralsina: you can provide maps for just a few, i can do the rest of the dirty work ;)
14:20:40 <ralsina> gour: there is surely a csv file with a full map someplace
14:20:45 <ralsina> gour: you could google that for me :-)
14:21:29 <ralsina> https://github.com/shanraisshan/EmojiCodeSheet
14:21:33 <ralsina> I think that has it
14:22:19 <ralsina> https://github.com/shanraisshan/EmojiCodeSheet/blob/master/xml/string/Food.xml ... and you can also see why "plain" emojis are kinda sucky :-)
14:25:42 <gour> i've found the following: https://github.com/stv0g/unicode-emoji
14:26:06 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to shortcodes2: https://git.io/v9oWG
14:26:06 -GitHub[nikola]:#nikola- nikola/shortcodes2 1296210 Roberto Alsina: oh, boy
14:26:21 * ralsina wonders if a builting emoji shortcode is too much
14:29:18 <gour> ralsina: you found your src from this one: http://stackoverflow.com/questions/38842813/list-of-emojis-required-in-xml-json-or-csv-format ?
14:30:37 <ralsina> probably
14:30:45 <ralsina> I google and forget :-)
14:30:58 <ralsina> that's the point of having an external computer brain thingie
14:32:58 <gour> in any case, having proper emoji support in nikola is well appreciated...even pelican, iirc, does not have it
14:33:01 <ralsina> ok, so this shortcut is probably 20 LOC
14:33:22 <ralsina> I may do it nicer by supporting both names and unicode characters
15:10:22 -GitHub[nikola]:#nikola- [nikola] Kwpolska closed pull request #2747: [requires.io] dependency update on master branch (master...requires-io-master) https://git.io/v9rmN
15:10:24 <ChrisWarrick> gour: we do have proper emoji support
15:10:42 -GitHub[nikola]:#nikola- [nikola] Kwpolska deleted requires-io-master at 26b5565: https://git.io/v9ogR
15:10:44 <ChrisWarrick> gour: so does my custom blog system from 2010
15:12:00 <ralsina> Sigh, color fonts really don't work on non-mobile systems much
15:14:51 <ChrisWarrick> ralsina: macOS and Windows 10 beg to differ
15:15:08 <ralsina> ChrisWarrick: Android noto emoji doesn't work on OSX
15:15:29 <ChrisWarrick> so? it has a good emoji font of its own
15:15:32 <ralsina> so, let's say "finding an emoji font that is free and works in a few platforms" is tricky
15:16:11 <ralsina> ChrisWarrick: ok, so is there something in Nikola to generate the codepoint out of the name of the emoji?
15:16:14 <ChrisWarrick> you don’t need to do that. users already know their platform emoji, and if they live between platforms, recognize multiple emoji fonts
15:16:20 <ChrisWarrick> no, there isn’t
15:16:27 <ralsina> Ok, I just wrote it :-)
15:16:46 <ChrisWarrick> to me, emoji support == 😀 is not ruined by the engine (happens if you suck at Unicode)
15:16:57 <ralsina> And it generates <span class="emoji">thingie</span>
15:17:01 <ralsina> that should be enough
15:17:02 <ChrisWarrick> well, :) is a bad example
15:18:26 <ralsina> right, Nikola doesn't suck too much at unicode, so that level of support is ok
15:21:49 -GitHub[nikola]:#nikola- [nikola] ralsina created emoji-sc (+1 new commit): https://git.io/v9oww
15:21:49 -GitHub[nikola]:#nikola- nikola/emoji-sc 22d981c Roberto Alsina: Emoji shortcode
15:22:34 <ralsina> gour: https://github.com/getnikola/nikola/pull/2748
15:22:39 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #2748: Emoji shortcode (master...emoji-sc) https://git.io/v9owQ
15:55:30 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to emoji-sc: https://git.io/v9oPZ
15:55:30 -GitHub[nikola]:#nikola- nikola/emoji-sc 0e90117 Roberto Alsina: You are correct, codacy
16:01:41 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to emoji-sc: https://git.io/v9oX8
16:01:41 -GitHub[nikola]:#nikola- nikola/emoji-sc d943072 Roberto Alsina: Changed author name
16:12:55 -GitHub[nikola]:#nikola- [nikola] ralsina created make-codacy-happy (+4 new commits): https://git.io/v9oM9
16:12:55 -GitHub[nikola]:#nikola- nikola/make-codacy-happy 7eac3ce Roberto Alsina: Added missing docstrings to autogenerated modules to make codacy happy
16:12:55 -GitHub[nikola]:#nikola- nikola/make-codacy-happy 8e23325 Roberto Alsina: Added docstrings to scripts to make codacy happy
16:12:55 -GitHub[nikola]:#nikola- nikola/make-codacy-happy 070f4b1 Roberto Alsina: Added docstrings to scripts to make codacy happy
16:13:35 -GitHub[nikola]:#nikola- [nikola] ralsina opened pull request #2749: Make codacy happy (master...make-codacy-happy) https://git.io/v9oMd
16:27:19 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to make-codacy-happy: https://git.io/v9o9t
16:27:19 -GitHub[nikola]:#nikola- nikola/make-codacy-happy 4e31ccb Roberto Alsina: Better now?
16:32:30 <KwBot> [nikola] subject117 opened issue #2750: Animation of Animated GIFs being removed by build process https://github.com/getnikola/nikola/issues/2750
17:34:31 <mmattice> are there files that nikola will ignore in directories?  I'm trying to build out a basic repo for a site and `nikola build` takes everything in files/ (which makes sense)
17:55:30 <ralsina> mmattice: nothing that I recall
17:55:54 <mmattice> I'm not seeing anything obvious in digging through docs
17:56:03 <ralsina> mmattice: then probably there isn't
17:56:31 <mmattice> I guess I can deal with a .noempty file
18:59:16 <gour> ChrisWarrick: well, the point is how to easily enter them (emojis). the old plugin was nice as long as there was 3rd party support for it
19:14:01 <KwBot> [nikola] Kwpolska closed issue #2738: Change the output location for sections https://github.com/getnikola/nikola/issues/2738
19:14:17 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v9KYT
19:14:17 -GitHub[nikola]:#nikola- nikola/master 0c77090 h4ck ninja: Add section path #2738 (#2746)...
19:15:17 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/v9KYC
19:15:17 -GitHub[nikola]:#nikola- nikola/master 0acf929 Chris Warrick: Update AUTHORS.txt...
19:38:48 <gour> ralsina: thanks a lot for it!! i'll try to try it asap...
19:50:13 <ralsina> gour, yw
19:50:40 <KwBot> [nikola] ralsina closed issue #2647: How to arrange several figures in a flexible list (like standard gallery)? https://github.com/getnikola/nikola/issues/2647
19:50:52 -GitHub[plugins]:#nikola- [plugins] ralsina pushed 1 new commit to master: https://git.io/v9Kcf
19:50:52 -GitHub[plugins]:#nikola- plugins/master c1a23b7 Roberto Alsina: Merge pull request #226 from getnikola/fix-gallery-directive...
19:51:27 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: https://git.io/v9KcN
19:51:27 -GitHub[nikola]:#nikola- nikola/master bb6d8f6 Roberto Alsina: Merge pull request #2749 from getnikola/make-codacy-happy...