Logs for #nikola for 2017-05-11

04:38:32 <[Tritium]> can you point me to the commit that added uuid shortcodes?
04:59:30 <[Tritium]> ...looking at the theme site, it occurs to me that it could probably use some more lorum ipsum posts to get a better idea of how the themes look on a real site
08:13:24 <KwBot> [plugins] mpslxz opened issue #227: [orgmode] https://github.com/getnikola/plugins/issues/227
13:28:45 <ralsina> [Tritium]: sure it's https://github.com/getnikola/nikola/commit/77ddb6f513d55b4d97b423024be9333581e9b425
13:28:57 <[Tritium]> thank you
13:29:00 <ralsina> [Tritium]: keep in mind that they only work on reSt right now
13:29:12 <ralsina> trivial and boring work needed for the other compilers
13:35:31 <[Tritium]> after coffee, I will see if i can wrap my head around the implementation of it
13:36:00 <[Tritium]> after that... maybe i can work on porting to other compilers
13:38:32 -GitHub[nikola]:#nikola- [nikola] ralsina pushed 1 new commit to master: https://git.io/v9D94
13:38:32 -GitHub[nikola]:#nikola- nikola/master e7b4830 Roberto Alsina: Sorry one experiment escaped into the wild
13:46:50 <ralsina> [Tritium]: it's quite mechanical, you call extract_shortcodes before processing the text with the compiler, then apply_shortcodes_uuid afterwards
13:47:22 <ralsina> The implementation is somewhat of a mess, I was writing it on the edge of my (limited) coding abilities
13:47:38 <ralsina> As in "FUCK, THIS CODE MAKES ME FEEL STUPID" limit
13:47:46 <[Tritium]> and inbetween the shortcodes are replaced with UUIDs?
13:47:50 <ralsina> exactly
13:47:58 <ralsina> markers that have a UUID in them
14:52:20 -GitHub[themes]:#nikola- [nikola-themes] ralsina created canterville (+1 new commit): https://git.io/v9DhK
14:52:20 -GitHub[themes]:#nikola- nikola-themes/canterville fa719c0 Roberto Alsina: Port of Casper theme, originally from Ghost
14:53:10 -GitHub[themes]:#nikola- [nikola-themes] ralsina opened pull request #115: Port of Casper theme, originally from Ghost (master...canterville) https://git.io/v9Dh7
14:53:20 -GitHub[themes]:#nikola- [nikola-themes] ralsina pushed 1 new commit to master: https://git.io/v9Dh5
14:53:20 -GitHub[themes]:#nikola- nikola-themes/master 4a94bf1 Roberto Alsina: Port of Casper theme, originally from Ghost
14:58:28 -GitHub[themes]:#nikola- [nikola-themes] ralsina pushed 1 new commit to master: https://git.io/v9yeh
14:58:28 -GitHub[themes]:#nikola- nikola-themes/master 99cefcd Roberto Alsina: doh
15:00:33 -GitHub[themes]:#nikola- [nikola-themes] ralsina pushed 1 new commit to master: https://git.io/v9yfI
15:00:33 -GitHub[themes]:#nikola- nikola-themes/master 65d9527 Roberto Alsina: better config sample
15:09:53 <ralsina> Problem: Nikola has few themes. Solution: I am going to port so many themes someone is bound to notice.
15:10:22 <ralsina> Problem: Roberto hates life because HTML is boring. Solution: I am porting these themes while I drink alcohol.
15:11:15 <ralsina> OTOH, it took me 45 minutes to make this theme work, so, who cares, it's pretty. https://themes.getnikola.com/v7/canterville/demo/
15:13:10 <[Tritium]> ralsina: how hard would it be to add some lorum ipsom posts to the theme site?  a blog with a single post, while realistic for a lot of people's blogging habbits, isnt really telling of what a busy blog would look like >.>
15:13:24 <ralsina> [Tritium]: Not difficult at all
15:13:45 <ralsina> [Tritium]: you just need to add stuff to the demo site, it's in the sources in nikola/data/demo IIRC
15:14:02 <ralsina> [Tritium]: We have had an open issue about it for a loooooooong time
15:14:39 <[Tritium]> ah, so the theme site doesnt have posts seperate from whats in the demo?
15:14:51 <ChrisWarrick> [Tritium]: I’m adding a lorem ipsum right now
15:14:57 <[Tritium]> neat
15:15:15 <gour> ralsina: i promise i'll join you, but without alcohol ;)
15:15:42 <ralsina> gour: the more I do it the easier it gets. The coding, AND the drinking!
15:16:03 <gour> :-)
15:16:23 <ralsina> I really like that canterville theme. I may switch my site to it
15:16:41 <ralsina> I specially like in the demo how the Nikola logo subtly fits in it
15:18:09 <ChrisWarrick> hm, should the lorem ipsum post in demos go first or second?
15:18:45 <[Tritium]> second
15:18:49 <[Tritium]> date it in 1970
15:20:22 <ralsina> I also am taking requests for themes I may do next
15:22:37 <ralsina> I should fix hpstr and make it compatible with canterville while I am at it
15:32:16 <ralsina> Looks like the bnw theme is broken in the demo :-(
15:32:59 <ralsina> And the author now uses Hexo, so that probably explains it
15:33:51 <ChrisWarrick> it may require USE_BUNDLES = False. Or True. It’s pretty unclear in the docs.
15:36:24 <ralsina> yeah, I'll take a little look
15:37:15 <ChrisWarrick> I see what’s wrong
15:37:30 <ralsina> locally it looks good
15:39:27 <ChrisWarrick> it doesn’t over here
15:46:12 <ChrisWarrick> ralsina: https://github.com/lotabout/nikola-bnw/pull/2 feel free to “patch” locally
15:51:28 <ralsina> I'll add it locally and rebuild so the theme looks good
15:53:05 <ChrisWarrick> you may need some extra poking here or there
15:58:38 <ChrisWarrick> in other news, rsync is great at saturating network uplink
16:01:03 <[Tritium]> You need more uplink then
16:01:28 <[Tritium]> (i jest)
16:02:06 <[Tritium]> I cant saturate network io to...any reasonably speedy destination... without using an ssd or some such
16:02:22 <ralsina> ChrisWarrick: it needed a tiny tweak in one of your plugins, since conf.py.sample was being overriden by the fixed config
16:02:33 <ChrisWarrick> ralsina: I know that
16:02:44 <ralsina> ChrisWarrick: ok, just mentioning it
16:02:48 <ChrisWarrick> I’ll have a fix up in a minute
16:02:56 <ralsina> I have one, want me to push?
16:03:02 <ChrisWarrick>   100 %        23.0 MiB / 124.5 MiB = 0.185   2.4 MiB/s       0:51
16:03:05 <ChrisWarrick> gotta love xz
16:03:05 <ralsina> he
16:03:15 <ChrisWarrick> I also have some patches ready for the lorem ipsum thing
16:03:23 <ralsina> I'll leave it to you then
16:05:10 <KwBot> [nikola] cheshirekow opened issue #2754: Installation instructions don't work on ubuntu 14.04 (without minor mods) https://github.com/getnikola/nikola/issues/2754
16:12:34 <gour> ralsina: mako is still your preferred engine=
16:12:37 <gour> ?
16:14:37 <ChrisWarrick> [Tritium]: I added the lorem ipsum posts to demo. (Note that you can’t see it on the main page, because the thumbnails have limited height)
16:15:37 <[Tritium]> danke
16:15:48 <[Tritium]> https://themes.getnikola.com/v7/reveal/demo/ really makes this demo work better
16:15:57 <[Tritium]> and others along the lines of this
16:16:14 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 1 new commit to master: https://git.io/v9ys9
16:16:14 -GitHub[themes]:#nikola- nikola-themes/master 44c1f76 Chris Warrick: Lorem ipsum, conf.py.sample, demo button...
16:36:10 <ralsina> gour: yep
16:36:38 <ralsina> Looks like bnw screenshot is still bad, but demo looks good
16:37:22 <ralsina> I love that Lorem Ipsum has a comment, from 23 days ago, by the guy sitting next to me at work
16:37:43 <ralsina> Because I had a demo for a site at work with the same title and the demo disqus id :-)
17:09:06 <ChrisWarrick> ralsina: did you rebuild the site in the meantime?
17:10:09 <ChrisWarrick> no you didn’t
17:10:13 <ChrisWarrick> cloudflare is annoying sometimes
17:10:45 * ChrisWarrick hit the nuclear button
17:56:48 <ralsina> ChrisWarrick: I think we should collapse the mako themes that have a jinja variant together in the listing
17:59:15 <KwBot> [nikola] Kwpolska closed issue #2754: Installation instructions don't work on ubuntu 14.04 (without minor mods) https://github.com/getnikola/nikola/issues/2754
18:05:42 <ChrisWarrick> ralsina: step 1: make themes aware of that
18:06:03 <ralsina> ChrisWarrick: I am thinking having templates/mako and templates/jinja
18:06:17 <ChrisWarrick> ralsina: that is so going to break stuff
18:06:29 <ralsina> Well, if it only has one, then we guess as currently ;-)
18:06:52 <ralsina> But yes, it's a pretty disruptive thing
18:07:09 <ChrisWarrick> perhaps we could make some other meta file (in a simple key:value format?) that says `engine: mako; jinja-version: bootstrap-jinja`
18:07:18 <ChrisWarrick> ; variant: zen-ipython
18:07:24 <ralsina> could be
18:07:34 <ralsina> I'll sleep on it
18:08:24 <ChrisWarrick> so we could merge engine, parent, and that into one file (of course, leaving `parent` and `engine` for backwards compatibility)
18:10:11 <ChrisWarrick> ralsina: when do you plan to do the next release?
18:10:22 <ralsina> ChrisWarrick: today could be a good day
18:10:36 <ralsina> ChrisWarrick: but I would prefer to add new-shortcode support to the shipped compilers :-(
18:10:45 <ChrisWarrick> okay
18:12:08 <ChrisWarrick> I’m postponing #2743, #2570 until next release (although I plan to get it done tomorrow)
18:14:02 <ChrisWarrick> In other news, I did a three-hour Swift project today and it’s neater than I expected
18:19:21 <KwBot> [nikola] jhconning opened issue #2755: Nikola states served on 0.0.0.0:8000 but actually at 127.1.1.1:8000  https://github.com/getnikola/nikola/issues/2755
18:32:36 <KwBot> [nikola] Kwpolska assigned issue #2755 to Kwpolska: Nikola serve lists 0.0.0.0:8000 but actually served at http://127.0.0.1:8000/ https://github.com/getnikola/nikola/issues/2755
18:38:04 -GitHub[nikola]:#nikola- [nikola] Kwpolska created fix-2755 (+1 new commit): https://git.io/v9yPQ
18:38:04 -GitHub[nikola]:#nikola- nikola/fix-2755 754c1bb Chris Warrick: Fix #2755 -- open 127.0.0.1 instead of 0.0.0.0 in serve -b...
18:40:07 -GitHub[nikola]:#nikola- [nikola] Kwpolska force-pushed fix-2755 from 754c1bb to 84ad63c: https://git.io/v9yXI
18:40:07 -GitHub[nikola]:#nikola- nikola/fix-2755 84ad63c Chris Warrick: Fix #2755 -- open 127.0.0.1 instead of 0.0.0.0 in serve -b...
18:40:29 -GitHub[nikola]:#nikola- [nikola] Kwpolska opened pull request #2756: Fix #2755 -- open 127.0.0.1 instead of 0.0.0.0 in serve -b (master...fix-2755) https://git.io/v9yXm
20:02:04 <ralsina> The canterville snapshot in the themes site is awesome or awful, not sure yet :-)