Logs for #nikola for 2016-09-21

00:53:35 <KwBot> [plugins] ncouture opened issue #171: [orgmode]  invalid Org mode src block is reported as a bogus error https://github.com/getnikola/plugins/issues/171
14:03:27 <ToApolytoXaos> how can I hide "source" from navigation menu? I can't find it inside handbook
14:08:19 <ralsina> ToApolytoXaos: 1 sec
14:08:45 <ralsina> ToApolytoXaos: set COPY_SOURCES=False and that will disappear
14:09:04 <ToApolytoXaos> aaaah that's why I get a .txt copy inside output folder?
14:09:16 <ralsina> ToApolytoXaos: alternatively, if you want the sources but not the link, SHOW_SOURCELINK=False
14:09:27 <ralsina> ToApolytoXaos: yep
14:09:50 <ToApolytoXaos> well, since I can disable copying them inside output, that would be just fine
14:11:30 <ToApolytoXaos> that's so awesome
14:11:42 <ToApolytoXaos> the more I use Nikola the more I love it and become addicted to it
14:23:09 <ralsina> :-)
17:01:28 <ToApolytoXaos> ralsina: is it possible when I create a new post to let it ask me to choose between .rst and .txt for reStructuredText?
17:01:37 <ToApolytoXaos> because by default it's using .rst
17:01:46 <ralsina> ToApolytoXaos: no, but there is a -f option for it
17:01:59 <ralsina> ToApolytoXaos: if you want to change the default, it's what's first in the POSTS option
17:02:05 <ToApolytoXaos> I have tried that
17:02:07 <ToApolytoXaos> it didn't work
17:02:13 <ToApolytoXaos> it would ask me for name
17:02:15 <ToApolytoXaos> not file extension
17:02:29 <ToApolytoXaos> whereas name is "rest" and such
17:05:45 <ralsina> ToApolytoXaos: 1 sec
17:07:00 <ralsina> ToApolytoXaos: -f seems to work here http://hastebin.com/lalamakeda.txt
17:07:17 <ralsina> If I ask for a markdown post, I get .md extension, for a rest post I get txt
17:07:40 <ToApolytoXaos> let me double check this
17:09:27 <ToApolytoXaos> nope, it doesn't work for me; http://pastebin.com/6pTXM6xg
17:10:39 <ToApolytoXaos> do I have to remove .rst tuple from POSTS?
17:11:01 <ToApolytoXaos> in conf.py?
17:20:45 <ralsina> looking,,,
17:21:04 <ToApolytoXaos> take your time
17:21:48 <ralsina> what's your POSTS option in conf.py?
17:21:49 <ToApolytoXaos> the most logical scenario that I can think of ralsina is that Nikola takes seriously the order of tuples in POSTS
17:22:04 <ralsina> It does
17:22:14 <ralsina> It's most preferred extension 1st
17:22:21 <ToApolytoXaos> ("posts/*.rst") is first
17:22:37 <ToApolytoXaos> therefore I need to remove bot *.rst and *.html tuples
17:22:40 <ToApolytoXaos> *both
17:24:49 <ToApolytoXaos> actually now that I'm thinking about it, since I have disabled browsing source code for each post, it shouldn't really matter to me
17:25:22 <ToApolytoXaos> the reason I used .txt is because when I tried to browse the source of .rst post, it would open a window to save the certain source file because it couldn't recognize it
17:28:36 <ralsina> Usually .rst helps your editor notice it's reSt and highlight it correctly
17:30:10 <ToApolytoXaos> yeah, well...vim does an excellent work too, but you are very correct
17:30:16 <ToApolytoXaos> I should convert them back to .rst
17:40:59 <ChrisWarrick> (You can use a vim comment to set syntax to rst.  See last lines of Nikola’s changes.txt.
17:41:26 <ChrisWarrick> )
17:45:20 <ToApolytoXaos> ChrisWarrick: I have no problem with syntax inside vim
17:45:43 <ToApolytoXaos> the only issue I have had was with sources being available and ralsina helped me disabled them
17:45:52 <ToApolytoXaos> now everything works as expected
18:03:48 <ToApolytoXaos> ChrisWarrick: if I'm not mistaken, users.getnikola.com is your job, am I correct?
18:03:57 <ChrisWarrick> ToApolytoXaos: Yes.
18:04:00 <ToApolytoXaos> awesome.
18:04:21 <ChrisWarrick> Oh. Emails are still going to nowhere.
18:04:41 <ToApolytoXaos> is there anywhere any link that shares some user case studies, like why they choose Nikola over other competitors?
18:05:25 <ToApolytoXaos> from my own investigation (due to unemployment), I can see many websites switching slowly but steady to static websites
18:05:43 <ChrisWarrick> ToApolytoXaos: I don’t have any resources handy.
18:05:55 <ChrisWarrick> ToApolytoXaos: Some success stories could have been retweeted by @GetNikola or @ralsina on Twitter
18:06:34 <ralsina> I tweet too much, so @getnikola is a better idea
18:06:50 <ralsina> http://cestlaz.github.io/posts/2016-04-17-emacs-jekyll-nikola/
18:08:47 <ralsina> http://cqql.de/posts/from-jekyll-to-nikola/
18:09:12 <ralsina> http://magmax.org/en/blog/migrando-a-nikola/ (in spanish)
18:09:47 <ralsina> \http://techquila.com/posts/2016/01/now-blogging-with-nikola/
18:11:11 <ralsina> http://blog.aquinzi.com/pelican-nikola/
18:12:59 <ralsina> https://serialized.net/2013/03/moving-from-octopress-to-nikola/
18:13:53 <ralsina> There's probably a few more here and there
18:45:24 <ToApolytoXaos> nice
18:45:40 <ToApolytoXaos> but I'm not using twitter myself so I know such stories
19:22:25 <ralsina> http://tjjr.fi/posts/website-re-powered-by-nikola/
19:23:05 <ToApolytoXaos> ralsina: is it OK if I push the limits of Nikola's website for around 10 seconds with wrk? I need to double-check something that caught my attention
19:23:06 <ralsina> https://sef.kloninger.com/posts/switching-to-static.html
19:23:17 <ralsina> ToApolytoXaos: sure
19:23:22 <ToApolytoXaos> nice
19:23:24 <ralsina> what's the worst that can happen :-)
19:24:47 <ToApolytoXaos> OK, nikola's setup is causing good timeouts which is understood, but I need more answers...darn it
19:24:56 <ralsina> http://stair.wm.edu/blog/imperfect-website.html
19:24:57 <ToApolytoXaos> I have a nikola website and a pure vanilla HTML5
19:25:09 <ralsina> What do you mean "good timeouts"?
19:26:00 <ToApolytoXaos> http://pastebin.com/4PDS8DA1
19:26:23 <ToApolytoXaos> only 656 requests
19:26:36 <ToApolytoXaos> whereas on my local server I can hit a few millions lol
19:27:17 <ToApolytoXaos> good timeouts; that is, saving web server resources while dealing with massive requests from the same source at the same time
19:27:18 <ralsina> I don't recall if we have the cloudflare thing enabled
19:27:33 <ToApolytoXaos> ah that's another story
19:27:41 <ralsina> cloudflare probably throttles the sillier request streams
19:28:23 <ToApolytoXaos> my problem with Nikola is this: Non-2xx or 3xx responses: 2840331
19:28:28 <ralsina> ToApolytoXaos: try setting your /etc/hosts to point getnikola.com to
19:28:46 <ralsina> ToApolytoXaos: that will bypass cloudflare (yes, it's enabled)
19:29:00 <ToApolytoXaos> OK, let me push its limits then
19:29:11 <ralsina> ToApolytoXaos: that's 100% not nikola's result, it's your webserver's config
19:29:34 <ralsina> I don't even remember how the heck our nginx is configured since cloudflare does the FE caching
19:30:15 <ralsina> Also, getnikola.com is HSTS I don't know how wrk handles that
19:31:03 <ToApolytoXaos> what's HSTS?
19:31:09 <ToApolytoXaos> btw, the results remained the same
19:31:14 <ToApolytoXaos> something's blocking me
19:31:42 <ralsina> Basically, it means you can't use HTTP with it
19:31:52 <ralsina> it forces HTTPS
19:40:12 <ToApolytoXaos> I honestly dislike web technologies -_-
19:40:26 <ToApolytoXaos> I miss the good ol' static typed programming days!
19:40:48 <ToApolytoXaos> nowadays more than 80% of jobs globally are for web and IoT
19:41:12 <ToApolytoXaos> too many things to understand how they freaking work
19:44:21 <ToApolytoXaos> lol...and now both local nikola and vanilla HTML5 websites work as expected...
19:44:38 * ToApolytoXaos facepalms with both hands and feet if possible!