Logs for #nikola for 2016-09-18

04:15:19 <remote> hi
04:59:53 <drini> hey
05:03:06 <drini> ok what could be the cause for mathjax to work on a post when viewed on the main page
05:03:14 <drini> as in.. https://imgur.com/a/qziWP
05:03:25 <drini> but once you click to see the actual post, mathjax stops working as in
05:03:30 <drini> https://imgur.com/a/sjyv5
05:03:42 <drini> compare the urls
05:03:59 <drini> post is tagged mathjax
05:10:44 <drini> oh.. it happens only with material-theme theme
05:11:07 <drini> should I post a github issue if the problem is on a theme?
07:36:25 <ChrisWarrick> drini: You can report an issue in the themes repository
09:01:02 -GitHub[themes]:#nikola- [nikola-themes] Kwpolska pushed 1 new commit to master: https://git.io/viXuP
09:01:02 -GitHub[themes]:#nikola- nikola-themes/master acc99af Chris Warrick: Fix mathjax helper in material-theme...
09:23:06 <ChrisWarrick> drini: the issue is fixed, but network issues prevent me from uploading the fixed theme
09:42:18 <ChrisWarrick> ralsina: Your VPS is out of disk space
09:56:39 <thomasfuston> I can't help myself the reading the docs always feels like a mess 
09:57:46 <ChrisWarrick> thomasfuston: Improvement suggestions welcome.
09:59:37 <ChrisWarrick> thomasfuston: We can’t split it into multiple pages, because that would hinder searchability (Ctrl+F). We also don’t expect people to read the entire manual at once.
10:02:58 <thomasfuston> Nah its nothing liek that, 1 page is exactly the best thing for fast searching, maybe more specific in some parts like theming or what stories are, i had hard time at the beginning of using nikola some weeks ago
10:03:44 <ChrisWarrick> Please be more specific. The documentation is written by experienced developers who might sometimes not know the perspective of a newcomer.
10:06:11 <thomasfuston> For a specific example, a short explanation of the anatomy of a theme, and purpos eof each file.
10:07:08 <ChrisWarrick> That’s in a separate document: https://getnikola.com/theming.html or https://getnikola.com/creating-a-theme.html
10:10:22 <thomasfuston> ok for some reason i wasn't able to find getnikola.com/theming o.O
10:10:29 <thomasfuston> thats what i was looking for thx
10:20:34 <ChrisWarrick> thomasfuston: manual fixed in master
10:20:45 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/viXr3
10:20:45 -GitHub[nikola]:#nikola- nikola/master b260375 Chris Warrick: Clarify 'stories' in manual and add links to theming...
10:25:17 -travis-ci:#nikola- getnikola/nikola#7578 (master - b260375 : Chris Warrick): The build passed.
10:25:18 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/2e5480710107...b2603750b763
10:25:18 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/160802886
10:37:06 <ToApolytoXaos> greetings folks
11:54:51 -GitHub[plugins]:#nikola- [plugins] felixfontein opened pull request #169: Fixing bug in WordPress compiler. (master...wordpress-fix) https://git.io/viXiu
12:21:34 <ToApolytoXaos> seriously ralsina I have done the biggest mistake in my life for choosing blogspot :/ import_blogger did its best to parse the dump data, but I looked deeper in blogger's syntax and it's indeed they implement their code in a messy way. No wonder why I can't produce the exact output I'm aiming at.
12:22:05 <ToApolytoXaos> I have even installed pandoc to convert HTML files to ReStructuredText format and the end result was a mess.
12:22:20 <ToApolytoXaos> I guess I have no other choice than go fully manual :/
12:23:12 <ToApolytoXaos> s/it's indeed/it's indeed a chaos;/
12:33:11 -GitHub[plugins]:#nikola- [plugins] Kwpolska closed pull request #169: Fixing bug in WordPress compiler. (master...wordpress-fix) https://git.io/viXiu
12:37:43 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#952 (master - 6e0f98b : Chris Warrick): The build passed.
12:37:44 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/46ec370e69ef...6e0f98ba5eea
12:37:44 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/160818069
12:39:36 <ToApolytoXaos> hey ChrisWarrick, I hope you are doing great. Since yesterday, plugins.getnikola.com does not work, but themes do. Is there a problem with the website?
12:42:50 <ToApolytoXaos> ...OK now I feel like a stupid. I cleaned my cache and still would not work; I tried yet another time immediately after I posted my message here and now it works -_- I guess stupid Firefox is having fun with me.
12:42:54 <ChrisWarrick> ToApolytoXaos: Fixed.
12:43:12 <ToApolytoXaos> ah so there was a problem after all?
12:43:31 <ChrisWarrick> yes
12:43:46 <ChrisWarrick> Things go downhill when you run out of disk space
12:46:05 <ToApolytoXaos> on the server?
12:46:09 <ChrisWarrick> yes
12:46:20 <ToApolytoXaos> a VPS or a shared hosting?
12:46:30 <ChrisWarrick> VPS
12:47:31 <ToApolytoXaos> DigitalOcean offers 20GB SSD with a $5 VPS. I'm thinking about setting up one and host all my static websites on that
12:47:51 <ChrisWarrick> We both use those
12:48:22 <ToApolytoXaos> the only negative thing about DO is that they don't give you the option to pay annually
12:48:25 <ChrisWarrick> (as in, me and ralsina; mine runs users.getnikola.com, irclogs.getnikola.com, chriswarrick.com; ralsina’s runs ralsina.me and everything else .getnikola.com)
12:48:37 <ToApolytoXaos> cool
12:48:59 <ChrisWarrick> PS. are you living in the EU?
12:49:26 <ToApolytoXaos> yep
12:49:40 <ChrisWarrick> Greece, I take it? That’d be $6.15/month
12:49:44 <ToApolytoXaos> Cyprus
12:50:27 <ChrisWarrick> $5.95/mo
12:51:01 <ToApolytoXaos> details lol
12:51:25 <ChrisWarrick> you need to pay VAT for your home country
12:51:27 <ChrisWarrick> thank the EU
12:51:37 <ToApolytoXaos> we got used to it for decades now
12:51:40 <ToApolytoXaos> more than 2
12:51:45 <ChrisWarrick> no
12:52:01 <ToApolytoXaos> what no? we pay VAT since the '90s
12:52:09 <ChrisWarrick> You used to have to pay luxembourgish vat
12:52:16 <ChrisWarrick> or other cheap vat
12:52:24 <ToApolytoXaos> ah you mean the old prices
12:52:31 <ChrisWarrick> now it’s country-dependent, and DO takes that VAT
12:52:42 <ToApolytoXaos> yeah, I thought so
12:52:42 <ChrisWarrick> (I know this from autopsy; PL VAT is 23$)
12:52:51 <ToApolytoXaos> PL as of Poland?
12:54:04 <ChrisWarrick> yup
12:55:14 <ToApolytoXaos> you nick doesn't look or sound Polish at all btw lol
13:08:02 <ToApolytoXaos> ChrisWarrick: is it possible to offer extra YouTube examples in handbook.html? It doesn't tell where to place the supported options or in what order
14:42:31 <drini> thank you ChrisWarrick 
16:26:07 <ToApolytoXaos> is there a list somewhere with what kinds of services does .. media:: supports? I can't embed any bandcamp albums.
16:27:57 <ChrisWarrick> ToApolytoXaos: re media: https://github.com/coleifer/micawber/blob/master/micawber/providers.py#L149
16:28:14 <ChrisWarrick> ToApolytoXaos: re youtube: in any order; look below for a vimeo example or read the reST docs
16:28:27 <ToApolytoXaos> I'm do so for an hour or so :/
16:28:32 <ToApolytoXaos> *doing so
16:29:26 <ToApolytoXaos> bandcamp is not supported :/ danr it
16:29:39 <ToApolytoXaos> I'm typing nonsense...
16:29:48 <ToApolytoXaos> I got exhausted
16:30:07 <ChrisWarrick> .. raw:: html
16:30:24 <ChrisWarrick> and put some bandcamp embed HTML there
16:30:52 <ToApolytoXaos> the import_blogger parsed linearly and I had to use tidy to organized the generated HTML files. then I had to use pandoc to convert each HTML file to rst for better future maintenance
16:31:11 <ToApolytoXaos> it would be really helpful to import straight as .rst files from an imported dump file
16:33:35 <ToApolytoXaos> I'm not doing it correctly with raw
16:33:44 <ToApolytoXaos> I'm including the iframe too
16:33:48 <ToApolytoXaos> is it correct?
16:35:13 <ChrisWarrick> I think so
16:35:25 <ChrisWarrick> Use whatever bandcamp gives you
16:35:47 <ToApolytoXaos> I fixed it; I had to indent it
16:35:58 <ChrisWarrick> We can’t import straight to reST. Pandoc can sometimes be a pain to install. And a lot of people don’t edit their posts so oten.
16:35:58 <ToApolytoXaos> blimey rst is so sensitive lol
16:36:01 <ChrisWarrick> often.*
16:36:26 <ToApolytoXaos> pain in what way?
16:36:52 <ChrisWarrick> It might require the 1GB Haskell compiler and the whole shebang
16:37:39 <ToApolytoXaos> weird :/
16:37:47 <ToApolytoXaos> all I did was sudo apt-get install pandoc
16:38:17 <ToApolytoXaos> and I don't have anything that relates to haskell installed
16:38:19 <ChrisWarrick> key word is “might”
16:38:24 <ToApolytoXaos> I have just checked
16:38:41 <ChrisWarrick> Some Unix distros might have nice prebuilt binaries
16:39:35 <ChrisWarrick> And we do not want external (non-Python) dependencies if possible.
16:45:43 <ToApolytoXaos> I understand
16:51:44 <ToApolytoXaos> by the way ChrisWarrick, can we update https://getnikola.com/handbook.html#restructuredtext-extensions a bit? For YouTube we mention optional commands, but we don't show any example. I had to experiment based on the Vimeo options to verify what works with YT and what doesn't.
16:57:15 <ChrisWarrick> ToApolytoXaos: Make a PR.
16:57:24 <ToApolytoXaos> PR?
17:03:17 <ChrisWarrick> pull request on github against getnikola/nikola containing your proposed changes
17:03:33 <ChrisWarrick> the list of YouTube attributes is listed, and we expect you to know how to write reST
17:12:07 <ToApolytoXaos> I'm just learning reST
17:14:38 -GitHub[nikola]:#nikola- [nikola] Kwpolska pushed 1 new commit to master: https://git.io/viXbH
17:14:38 -GitHub[nikola]:#nikola- nikola/master 91c5c08 Chris Warrick: Add youtube usage example...
17:20:00 -travis-ci:#nikola- getnikola/nikola#7579 (master - 91c5c08 : Chris Warrick): The build passed.
17:20:01 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/b2603750b763...91c5c088a083
17:20:01 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/160859181
18:40:43 <ToApolytoXaos> ChrisWarrick: I'm disturbing you again :/ I have read the link you shared before and I can see it supports imgur as well. I have tried to pass the full URL in .. media:: and in ..imgur:
18:40:54 <ToApolytoXaos> the latter cannot work obviously
18:42:16 <ToApolytoXaos> and the media does not work as well
18:42:24 <ChrisWarrick> Just use regular images for imgur. And define “does not work”.
18:45:05 <ToApolytoXaos> does not work as of embedding the image like youtube is doing, unless I understood it completely wrong
18:46:15 <ToApolytoXaos> also, when you say regular images for imgur, you mean of this format https://imgur.com/a/arIzK or of this https://i.imgur.com/C2M455m.jpg ?
18:51:04 <ChrisWarrick> the latter
18:51:19 <ChrisWarrick> .. image:: https://i.imgur.com/whatever.jpg
18:52:44 <ToApolytoXaos> OK, let me check this
18:55:44 <ToApolytoXaos> nice, this option works, but I guess I have to use raw again to offer the entire gallery as a collection
19:03:38 <ToApolytoXaos> yep, I had to use raw:: html
19:03:46 <ToApolytoXaos> darn it, I'm so stupid sometimes
21:13:27 <ToApolytoXaos> question: how can I tell new_post to generate .txt? It produces .rst and I would like it to be of text format.
21:17:35 <drini> nikola help new_post shows you can use -f
21:17:58 <drini> -F will give you the list of acceptable formats
21:19:01 <drini> quick question maybe related. say I've got a .tex file, which I'd like to become a post.  doable with pandoc? a simpler way?
21:20:32 <ToApolytoXaos> can you try "pandoc -f tex -t rst <file-name>.tex -o <file-name>.txt"?
21:21:07 <ToApolytoXaos> btw, I have tried the -f option; it wouldn't work
21:21:28 <ToApolytoXaos> it's looking for the name which is "rest" in my case
21:21:34 <drini> yeah well I was hoping it using directly with nikola new_post instead of manually converting 
21:22:41 <ToApolytoXaos> there's info in handbook that shows you how to do it
21:23:16 <ToApolytoXaos> I'm quite dizzy; I have been editing HTML and reST files since I woke up
21:23:29 <ToApolytoXaos> and that is 10 hours ago!
21:23:57 <drini> I understand
21:26:38 <ToApolytoXaos> found it! there it is https://getnikola.com/handbook.html#pandoc
21:42:19 <ToApolytoXaos> weird behavior; I pressed Ctrl-C and got this error message http://pastebin.com/2WijzDQU
21:42:58 <ToApolytoXaos> I had to retry pressing Ctrl-C to make it stop
21:48:32 <drini> what's weird about it?
21:50:36 <drini> it's just a python error msg, likely from the sudden stop
21:51:14 <ToApolytoXaos> yeah, I know it's an Exception; I just happened to see this behavior for the very first time.
21:51:55 <drini> say process A  started process B, then you kill process B and it does not exit cleanly, then process A keeps waiting for process B but it died..
21:52:03 <drini> so you need to redo control-c to kill process A
21:56:27 <ToApolytoXaos> cool