Logs for #nikola for 2015-09-18

01:17:58 -GitHub[nikola]:#nikola- [nikola] Aeyoun created feed-previewimage (+1 new commit): http://git.io/vnktj
01:17:58 -GitHub[nikola]:#nikola- nikola/feed-previewimage 900131f Daniel Aleksandersen: New option FEED_PREVIEWIMAGE includes post previewimage meta (Issue #2095)...
01:18:29 -GitHub[nikola]:#nikola- [nikola] Aeyoun opened pull request #2100: New option FEED_PREVIEWIMAGE includes post previewimage meta (master...feed-previewimage) http://git.io/vnkqU
01:21:23 <Aeyoun> ralsina_: yes. kind of pointless changes too.
01:21:43 -travis-ci:#nikola- getnikola/nikola#6414 (feed-previewimage - 900131f : Daniel Aleksandersen): The build failed.
01:21:44 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/commit/900131f04f87
01:21:44 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/80942353
01:23:50 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to feed-previewimage: http://git.io/vnkqF
01:23:50 -GitHub[nikola]:#nikola- nikola/feed-previewimage e2fd0cb Daniel Aleksandersen: forgot one instance
01:23:54 <Aeyoun> You’re always such a buzz kill, travis-ci.
01:28:10 -travis-ci:#nikola- getnikola/nikola#6416 (feed-previewimage - e2fd0cb : Daniel Aleksandersen): The build is still failing.
01:28:11 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/900131f04f87...e2fd0cbd06ed
01:28:11 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/80942836
01:32:46 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to feed-previewimage: http://git.io/vnkYa
01:32:46 -GitHub[nikola]:#nikola- nikola/feed-previewimage c4c69c0 Daniel Aleksandersen: flake8
01:37:15 -travis-ci:#nikola- getnikola/nikola#6418 (feed-previewimage - c4c69c0 : Daniel Aleksandersen): The build is still failing.
01:37:16 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/e2fd0cbd06ed...c4c69c02db34
01:37:16 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/80943635
06:55:49 <cripplet> hi, I was wondering if there was a way to link prev / next post navigation for a particular category
08:01:19 -GitHub[nikola]:#nikola- [nikola] TyberiusPrime opened pull request #2101: Fix #2094 - scaling and colorbox of SVG thumbnails (master...master) http://git.io/vnI0I
08:53:30 <s2hc_johan> how is it, can I have different template on the same page for different languages?
08:56:36 <s2hc_johan> seems to work :), now can I get a hold of posts as a variable in pages, or do I need javascript and the postjson plugin?
09:57:07 <Aeyoun> s2hc_johan: well, just call on  the $(post) object in your templates? It’s available in most contexts that use posts.
10:09:11 <s2hc_johan> I'm using jinja and tried {% for post in posts %} but that doesn't seem to yield anything
10:09:37 <s2hc_johan> maybe its further down like {{ post.posts }} or something?
10:38:50 <ralsina_> s2hc_johan: on what template?
10:39:01 <ralsina_> s2hc_johan: soe templates only get one post, and no list of posts
10:40:29 <s2hc_johan> ralsina_: ok, I've got a page/storie as my first page, but I also want latest 3 posts on that one
10:40:49 <ralsina_> s2hc_johan: get them from the atom feed?
10:40:53 <ralsina_> or RSS
10:41:02 <ralsina_> or posts.json with that plugin
10:41:04 <s2hc_johan> though I could fix that in the generating step, but if not I can always use the reset_post_json
10:41:06 <s2hc_johan> plugin
10:41:09 <ralsina_> but yes, get them client side :-)
10:41:33 <s2hc_johan> ralsina_: right :)
10:41:37 <ralsina_> or, if you are doing restructured text, use the post-list directive
10:43:27 <s2hc_johan> unfortunatley I'm using html
10:44:08 <s2hc_johan> but I could probably make a custom template with my html and then {{ post.text }} with the listing
10:44:24 <s2hc_johan> but I'll try it with javascript, thanks
10:53:23 <s2hc_johan> what about tags, can I get to them in a page/storie?
12:50:38 <s2hc_johan> there seems to be some bugs in recent_posts_json plugin, I would love to help and try and fix it, however I'm not sure how 
12:50:49 <Aeyoun> s2hc_johan: yes, with tags as indexes (an option) you get the post object.
12:51:08 <Aeyoun> s2hc_johan: what’s wrong with the plugin? I’m using it myself.
12:51:28 <s2hc_johan> there seems to be a spelling error
12:51:40 <s2hc_johan> ther were conf instead of config at one row
12:51:42 <s2hc_johan> let me check
12:52:33 <s2hc_johan> https://github.com/getnikola/plugins/blob/master/v7/recent_posts_json/recent_posts_json.py#L63
12:53:01 <s2hc_johan> and it doesn't seem to generate the right name for different languages
12:55:08 <s2hc_johan> If you could bear with me in helping getting a dev environment up and running I would love to try and fix it
12:55:38 <Aeyoun> s2hc_johan: I made the plugin and I never tested multilingual sites.
12:55:42 <Aeyoun> So that may indeed be boken.
12:55:44 <Aeyoun> *broken
12:55:53 <Aeyoun> and as you see, I may have a few typos. :P
12:56:03 * Aeyoun admits to being human
12:56:08 <Aeyoun> Though it works fine on my site. ^_____^
12:56:26 <s2hc_johan> classic "works for me" :)
12:56:32 <Aeyoun> Yup.
12:57:01 <Aeyoun> But as I said, multilingual sites are entirely untested. If you care to fix it up, it would be appriciated.
12:57:31 <Aeyoun> s2hc_johan: you may also be interested in https://www.aeyoun.com/projects/snippets/nikola/recent-posts-from-json-plugin.js.html
12:57:59 <s2hc_johan> Awesome
12:58:35 <s2hc_johan> is there a way of running this in a shell so I can inspect varialbes and such?
12:59:12 <Aeyoun> s2hc_johan: I’m using a slightly newer version that that. Open one of the posts on my site and you’ll see the newer code. Feel free to grab it for yourself. The newer version loads /section/index.json shown only posts from the same section (more likely to be of interest to the reader) instead of /index.json with everything.
13:01:51 <s2hc_johan> nice!
13:06:16 <Aeyoun> And it has a bug fix for working from within Google Translate.
13:35:10 <s2hc_johan> Aeyoun: can I run this in a shell, or in some way print/log things so I can try and see where it goes wrong?
13:36:07 <s2hc_johan> Aeyoun: nevermind... :)
13:57:12 -GitHub[plugins]:#nikola- [plugins] s2hc-johan opened pull request #116: recent_post_json doens't behave with multilingual site (master...recent_posts_json) http://git.io/vntKP
14:06:20 -GitHub[plugins]:#nikola- [plugins] Aeyoun pushed 2 new commits to master: http://git.io/vnt13
14:06:20 -GitHub[plugins]:#nikola- plugins/master 04ae82d Johan Sommerfeld: Fixed spelling error, fixed bug that broke multilingual generation os json:s
14:06:20 -GitHub[plugins]:#nikola- plugins/master 466ee25 Daniel Aleksandersen: Merge pull request #116 from s2hc-johan/recent_posts_json...
14:07:57 -travis-ci:#nikola- [PLUGINS] getnikola/plugins#798 (master - 466ee25 : Daniel Aleksandersen): The build passed.
14:07:58 -travis-ci:#nikola- [PLUGINS] Change view: https://github.com/getnikola/plugins/compare/e1636f66d859...466ee2583f80
14:07:58 -travis-ci:#nikola- [PLUGINS] Build details: https://travis-ci.org/getnikola/plugins/builds/81020300
14:09:49 <Aeyoun> s2hc_johan: I assume you had tested it. ;-D Looked sensible  enough.
14:23:16 <s2hc_johan> I don't have a site with sections, but I tested it for the other case
14:35:42 <s2hc_johan> strange it worked for a while broken again, probably because I've got åäö in it now.
14:35:45 <s2hc_johan> https://github.com/getnikola/plugins/blob/master/v7/recent_posts_json/recent_posts_json.py#L134
14:36:17 <s2hc_johan> if you wrap data with unicode it works, but I'm not sure that works in python3
14:36:37 <ChrisWarrick> s2hc_johan: how do you wrap it with unicode?
14:36:48 <s2hc_johan> unicode(data)
14:37:05 <s2hc_johan> but is that valid in  python3?
14:37:11 <ChrisWarrick> s2hc_johan: this is wrong on so many levels
14:37:16 <ChrisWarrick> s2hc_johan: please don’t do that, ever
14:37:48 <ChrisWarrick> s2hc_johan: This won’t work in Python 3 either.  You must have an actual encoding, and use the decode method.   try: foo = foo.decode('utf-8'); except AttributeError: foo = foo  # python 3
14:38:02 <s2hc_johan> what do you mean, that is like my standard when I get strnage data in, undoce(data) data.encode(whatever) data.decode(whatever) :)
14:38:23 <s2hc_johan> one of them ussually work
14:39:22 <ChrisWarrick> s2hc_johan: unicode() assumes ASCII, it never works right
14:39:32 <s2hc_johan> true
14:39:40 <ChrisWarrick> s2hc_johan: encode/decode with a specified encoding is fine
14:40:00 <ChrisWarrick> s2hc_johan: but you might need a try/except for Python 3 if it could have Unicode data already
14:40:16 <s2hc_johan> I'm a bit confused in this case since the output comes from json.dumps
14:40:34 <s2hc_johan> thought that would produce a unicode object
14:40:51 <ChrisWarrick> s2hc_johan: not necessarily on python 2
14:41:05 <ralsina_> if isinstance(thing, utils.str_bytes): thing=thing.decode('utf8')
14:41:15 <ralsina_> that works in py2 and py3
14:42:12 <ChrisWarrick> easier to ask for forgiveness imo
14:43:07 <ralsina_> maybe we should have helpers in utils enforce_unicode and enforce_bytes
14:43:13 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to feed-previewimage: http://git.io/vnqek
14:43:13 -GitHub[nikola]:#nikola- nikola/feed-previewimage 4b79e20 Daniel Aleksandersen: Deprecated RSS_READ_MORE_LINK and RSS_LINKS_APPEND_QUERY...
14:44:58 <Aeyoun> Or upgrade to Py3.
14:45:11 <ChrisWarrick> ++
14:45:47 <Aeyoun> Unicode in Py27 is a nightmare. It tries as hard as it can to kill you at every turn.
14:48:09 -travis-ci:#nikola- getnikola/nikola#6426 (feed-previewimage - 4b79e20 : Daniel Aleksandersen): The build is still failing.
14:48:10 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/c4c69c02db34...4b79e20d1ebc
14:48:10 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81026762
14:48:27 <ralsina_> ok, let's consider py3-only seriously.
14:48:40 <ralsina_> 1) Is there any distro commonly used with py3 < 3.3 ?
14:48:55 <ralsina_> 2) Do we just stop using py2, or we deprecate slowly?
14:49:15 <ralsina_> 3) Do we just start doing py3-only code, or we actively de-hack the codebase?
14:49:21 <ralsina_> That's my 3 questions :-)
14:50:13 <SteveDrees> Unicode is a nightmare
14:50:53 <SteveDrees> different python versions just changes where the pain point is
14:50:53 <s2hc_johan> which one is better isinstance... or hasattr('decode', ..)
14:51:02 <ralsina_> isinstance
14:51:08 <s2hc_johan> oki then
14:51:10 <ralsina_> hasattr is evil in itself
14:51:26 <s2hc_johan> just going to feed the kids then I'll make another pr
14:51:28 -GitHub[nikola]:#nikola- [nikola] Aeyoun pushed 1 new commit to feed-previewimage: http://git.io/vnqJ2
14:51:28 -GitHub[nikola]:#nikola- nikola/feed-previewimage 4c950ac Daniel Aleksandersen: flake8
14:52:13 <Aeyoun> ralsina_: user survey? pip download data?
14:52:33 <gour> ralsina_: create some poll at website/mailing-list about it?
14:53:18 <ralsina_> dude, I offered free shirts and I got only 10 requests ;-)
14:53:30 <ralsina_> so, how many answers do you expect about that sort of thing?
14:53:43 * gour thought shirts are jsut for devs :-(
14:53:47 <Aeyoun> ralsina_: release a unchanged version on pip that is flagged as py3 only. see how many downlaod it versus previous version in same amount of time.
14:53:51 <ralsina_> gour: go add yourself dude
14:54:18 <ralsina_> gour: TO THE SHIRT LIST! I just notced that sounded very rude :-)
14:54:43 <gour> ralsina_: where it is?
14:54:43 <Aeyoun> ralsina_: or one py27 version number and and one version py3 only version number at the same time.
14:55:17 <ralsina_> gour: https://docs.google.com/forms/d/18YFwdgukmpkjr5b8FGEKL0arxPePuLHNsuEa-Gl80D8/viewform?c=0&w=1
14:55:17 <gour> found it
14:56:00 <gour> ralsina_: wonder if xxl is too large or xl is enough
14:56:00 <Aeyoun> ralsina_: american or european sizes by the by?
14:56:03 <ralsina_> Aeyoun: that reflects how many people use py2.7 by reflex. I know *i* do because it's "python" and not "python3"
14:56:20 <ralsina_> Aeyoun: no idea about sizes to be honest... probably american
14:56:21 <Aeyoun> American sizes are … a big bigger. I’m probably a XS/S american but M european. :P
14:56:28 <Aeyoun> *bit bigger
14:56:39 <gour> ok
14:56:57 * gour submitted request
14:57:17 <ralsina_> So, what I would prefer to do is make people use py3 if they can. And it seems to me that pretty much everyone can, regardless of whether they still use py2 by defect.
14:57:26 <ralsina_> by default*, spanishism leaked there.
14:57:52 <ChrisWarrick> technically, using py2 is a defect
14:57:59 <ralsina_> So, if we all agree that most users *could* run nikola in py3... then let's do it.
14:58:02 <Aeyoun> Agreed.
14:58:15 <gour> sites won't stop working :-)
14:58:26 <Aeyoun> ralsina_: act on data not dev agreement?
14:58:42 <ChrisWarrick> guess we could change our docs/webiste to highlight 3.x
14:58:59 <ralsina_> Aeyoun: the only data we'd need is to know how many people have py2.7 and no py3.3
14:59:14 <ralsina_> not how many are *using* 2.7 instead of 3.3
14:59:38 <ChrisWarrick> micro-survey via ml?
14:59:39 <ralsina_> How about: let's announce that, unless lots of people complaint, we deprecate py2 by end of october
14:59:45 -travis-ci:#nikola- getnikola/nikola#6429 (feed-previewimage - 4c950ac : Daniel Aleksandersen): The build was fixed.
14:59:46 -travis-ci:#nikola- Change view: https://github.com/getnikola/nikola/compare/4b79e20d1ebc...4c950ac5e52e
14:59:46 -travis-ci:#nikola- Build details: https://travis-ci.org/getnikola/nikola/builds/81028389
14:59:47 <Aeyoun> Mac is shipping with Py2.7 and no Py3. BUT MacPorts and Homebrew offer painfree Py3 installs.
14:59:58 <ralsina_> ok, mac is a good point
15:00:25 <ChrisWarrick> it’s not like we have Homebrew/MacPorts/Fink-based install instructions for them…
15:00:27 <Aeyoun> ralsina_: we could add a deprecation message every time `nikola` is run and ask people to bitch in a bug?
15:00:32 <Aeyoun> ChrisWarrick: hehe. ;)
15:00:50 <ralsina_> "I see you have python3 installed but I am running on 2.7 ... dude, what's wrong with you?"
15:00:51 <Aeyoun> Or maybe once per 24 hour rather  than every time its run.
15:01:00 <ralsina_> doit timed tasks :-)
15:01:12 <Aeyoun> ralsina_: "Don’t get in the way of progress! Upgrade to Py3 and save a developer’s mind today!"
15:01:32 <ralsina_> "niec unicode you have there, would be a shame something happened to it.. switch to python 3!"
15:01:39 <ChrisWarrick> ralsina_: hey, let’s start with a Google Docs survey on the ML.  One question: what Python version and OS are you using for Nikola? 2.7/3.3/3.4/3.5; Windows/OS X/[other: linux/bsd distro]
15:01:57 <gour> "Free t-shirt foreveryone switching from py2.7 to py3.3" 
15:01:58 <ChrisWarrick> ralsina_: Just don’t require a Google account like you did last time.
15:02:00 <ralsina_> Second question: "Do you have python 3.3 or later installed?"
15:02:03 <Aeyoun> How much code can be removed with dropping Py27? Lowers maintenance cost and increases performance. That is also an important datapoint.
15:02:11 <ralsina_> ChrisWarrick: I needed to know who was asking for the shirt :-)
15:02:21 <ChrisWarrick> ralsina_: good point
15:02:25 <ralsina_> Aeyoun: not all that much, really
15:02:47 <ChrisWarrick> Aeyoun: it would need to start with a huge rewrite to remove all of our pointers in nikola.utils
15:03:00 <ralsina_> Aeyoun: there are a number of tiny hacks, which were a pain to get right but they always amount to one if and/or one decode :-)
15:03:26 <ralsina_> We can just turn a bunch of helpers in utils into noops
15:04:52 <gour> py3-only nikola is going to become v8?
15:05:15 <Aeyoun> gour: seems like a likely outcome. you’re following the discussion live.
15:06:34 <ChrisWarrick> if we do v8, we’ll have to merge the early tasks garbage
15:07:03 <ralsina_> Is it technically backwards-incompatible if we just stop working on py2.7?
15:07:21 <ralsina_> gour: welcome to open source software: behind the code.
15:07:30 <gour> ralsina_: :-)
15:07:35 <Aeyoun> Someone call in a documentary crew!
15:07:43 <ralsina_> Aeyoun: we have logs!
15:07:51 <Aeyoun> Oh, wait. This is already logged for prosperity.
15:07:57 <ralsina_> I am totally posting this somewhere as "this is how decisions are made in FLOSS"
15:08:40 <ralsina_> Ok, who creates the poll and who posts it in the blog, and who makes sure it appears on planet, and who sends it to the list?
15:08:49 <ralsina_> I would do it but I have work to do :)
15:08:51 <ChrisWarrick> ralsina_: I’ll do it
15:08:57 <ralsina_> ChrisWarrick: you rock dude!
15:09:01 <ChrisWarrick> ralsina_: should be really simple
15:09:03 <ralsina_> Ok, we have a plan!
15:09:17 <ralsina_> Let's consider the poll results in ... a week?
15:09:25 <Aeyoun> Let the logs show we’re all in favor of this plan of action. ;-)
15:09:29 <ralsina_> aye
15:09:51 <ralsina_> Also: can I do the "shame on you" thing on nikola build? It sounds like fun :-)
15:10:27 <ChrisWarrick> ralsina_: for the python version question: radiobox vs checkbox?
15:10:28 <gour> ralsina_: you can mention that Nikola (Tesla) was always for innovation ;)
15:10:44 <Aeyoun> "You’re using FIVE YEAR OLD SOFTWARE. Update your system."
15:11:00 <ralsina_> Aeyoun: I am totally getting at least 5 different comments there
15:11:01 <Aeyoun> https://en.wikipedia.org/wiki/History_of_Python#Version_release_dates
15:11:05 <ralsina_> ChrisWarrick: checkbox... maybe 2?
15:11:23 <ralsina_> ChrisWarrick: one for python version, one for operating system
15:11:32 <ChrisWarrick> ralsina_: ?
15:11:38 <ralsina_> ChrisWarrick: two questions
15:11:54 <ChrisWarrick> ralsina_: there will even be three questions (py2/3 used, OS, has py3)
15:11:57 <ChrisWarrick> ralsina_: and checkboxes it is
15:12:02 <ralsina_> right
15:12:05 <ralsina_> awesome
15:14:44 <ralsina_> Copied / Pasted for posterity
15:15:09 <ralsina_> ChrisWarrick: what are you using to highlight irc logs?
15:15:19 <ChrisWarrick> ralsina_: pygments 1.6 (2.x is broken)
15:15:24 <ralsina_> ack
15:18:47 <gour> does py3 favour make or jinja engine?
15:20:12 <ChrisWarrick> gour: does not matter
15:20:35 <ChrisWarrick> ralsina_, Aeyoun, gour: https://docs.google.com/forms/d/15dnvSCO0JP9IX9MvjRI3aofCQaDFcl2S0aTsApkCAbY/viewform [btw, should I change anything?]
15:21:20 <Aeyoun> maybe ask for operating system versions/distro?
15:21:38 <ChrisWarrick> Aeyoun: does it really matter?
15:22:04 <Aeyoun> If everyone running Py7 is on one specific distro or OS it could help us make a decision.
15:22:54 <ChrisWarrick> Aeyoun: adding as an optional question
15:23:16 <ralsina_> looking...
15:23:23 <Aeyoun> Maybe change the free form question to "why are you still using py27"?
15:23:51 <ralsina_> ChrisWarrick: LGTM
15:24:04 <ChrisWarrick> Aeyoun: people who want to say that will do it
15:26:55 <ChrisWarrick> ralsina_, Aeyoun: that form is going out via e-mail and blog soon.  Please add your answers in if you have the time.
15:27:18 <gour> submitted
15:28:15 <Aeyoun> Likewise.
15:33:03 <ralsina_> done
15:34:04 <ChrisWarrick> and now it’s public.
15:34:39 -GitHub[site]:#nikola- [nikola-site] Kwpolska pushed 1 new commit to master: http://git.io/vnqlw
15:34:39 -GitHub[site]:#nikola- nikola-site/master a2b2f83 Chris Warrick: Environment Survey announcement...
15:34:53 <Aeyoun> Did you tweet it?
15:35:30 <ChrisWarrick> yeah
15:37:59 <ChrisWarrick> (for the record, results are public: https://docs.google.com/forms/d/15dnvSCO0JP9IX9MvjRI3aofCQaDFcl2S0aTsApkCAbY/viewanalytics )
15:43:35 <ChrisWarrick> and they are looking pretty good for now
15:48:39 <ralsina_> http://ralsina.me/weblog/posts/floss-decision-making-in-action.html
15:51:41 <ChrisWarrick> ralsina_: throw in the survey link, just for fun
15:51:50 <ralsina_> good point. Adding
16:07:42 <Aeyoun> ralsina_: there is some jQuery showing up at the bottom of your page.
16:08:24 <ralsina_> Aeyoun: eeeeek! Thnks, I'll fix it.
16:10:02 <ralsina_> missing <script>
16:10:53 <Aeyoun> ralsina_: you didn’t notice that your code wasn’t working either? :P
16:11:02 <ralsina_> it's the search form
16:11:08 <ralsina_> I don't search in my own site much :-)
16:11:29 <Aeyoun> ralsina_: the text in your header doesn’t have a common baseline. #blog-title and #tipue_search_input is higher than the rest of the text. Killing my little designer  heart.
16:11:51 <ralsina_> Aeyoun: I am driving away the OCD crowd.
16:12:00 <ralsina_> Aeyoun: my site is sadly in some disrepair
16:12:05 <Aeyoun> Effectively so. ;-P
16:12:44 <Aeyoun> ralsina_: it just need some duct tape in places. :)
16:13:38 <Aeyoun> “'Yes, of course duct tape works in a near-vacuum. Duct tape works anywhere. Duct tape is magic and should be worshiped.” —  from The Martian by Andy Weir
16:16:12 <Aeyoun> Highly recommended. :-) http://www.audible.com/pd/Sci-Fi-Fantasy/The-Martian-Audiobook/B00B5HZGUG
16:16:14 <ralsina_> A quick play with element inspector shows nothing obvious about why that's misaligned
16:16:28 <ralsina_> Aeyoun: read it, 5-starred it in goodreads, waiting for the movie ;-)
16:19:23 <Aeyoun> ralsina_: .navbar-brand #blog-title { padding-top: 15px; } .navbar-nav > li > a { padding-top: 20.5px; }
16:19:23 <ChrisWarrick> Aeyoun: that’s probably my fault; #blog-title alignment is calculated for stock bootstrap3 to make logos look nice; and as a side effect, it sometimes breaks
16:19:44 <Aeyoun> It assumes the font is always the same height. Which will depend on font-availability.
16:19:49 <ralsina_> Aeyoun: I just nuked my custom theme
16:20:04 <ralsina_> so, rebuilding with default, if it's still broken, I'll see what I can do
16:20:16 <Aeyoun> position: relative; on the container and position: fixed; bottom: 20px; on the children will give them the same baseline.
16:20:30 <ralsina_> Aeyoun: thx
16:20:55 <Aeyoun> Positioning from the bottom is always easier. Avoids varying font height complications.
16:21:00 <ralsina_> cool, bootstrap3 looks ok
16:28:26 <ralsina_> switched to Lannyon
16:55:00 <s2hc_johan> nice to see I create ripples :)
17:03:04 <s2hc_johan> trying to figure out how to check if we're in python2
17:04:13 <ralsina_> s2hc_johan: sys.version
17:04:21 <ralsina_> s2hc_johan: look in nikola/utils.py for examples
17:18:14 <s2hc_johan> thanks
17:28:25 -GitHub[plugins]:#nikola- [plugins] s2hc-johan opened pull request #117: unicode errors (master...recent_posts_json) http://git.io/vnmIl
17:47:43 <ChrisWarrick> ralsina_: the python version survey is much more popular than the t-shirt survey
17:48:05 <ChrisWarrick> ralsina_: looks like people don’t want free stuff.  We have 26 entries in 2.5 hours
17:48:38 <ralsina_> hahaha
17:48:56 <ChrisWarrick> make that 27
17:49:58 <ralsina_> So far we could kill it
17:50:24 <ralsina_> I don t remember any projects that supported python2 deprecating it
17:50:58 <ChrisWarrick> zero people said “I won’t install it”; 5 (4, really) said “I will”, the remaining 28-4=24 already have py3k
17:54:23 <ChrisWarrick> > For OSX users it would be great to be able to install Nikola through a popular package manager like MacPorts, or HomeBrew.
17:54:32 <Aeyoun> "Kill 2.7 with extreme prejudice. Thank you very much. ;-)"
17:56:49 <ChrisWarrick> On a side note: do we have any Excel/Google Sheets/data analysis experts on board?
17:57:59 <ralsina_> 29
17:58:19 <ralsina_> ChrisWarrick: not expert but I dabbled
17:59:17 <ChrisWarrick> (then again, we probably need to do something like sum('3' in python_version_answers) and other simple calculations)
18:01:06 <ChrisWarrick> We’ve just lost a user!
18:01:20 <ChrisWarrick> (A Windows 7 user, which is quite strange)
18:04:21 <ralsina_> well, not lost yet
18:04:43 <ralsina_> it's still a 3% market share loss ;-)
18:05:31 <ChrisWarrick> hopefully the numbers will grow and the percentage will be miserable
18:07:08 * SteveDrees brew install python3
18:08:03 <ralsina_> SteveDrees: if you can take note of what you do and write up instructions, much appreciated :-)
18:09:42 <ChrisWarrick> ralsina_: a critique of the mac install instructions in our getting started guide is also appreciated
18:10:03 <SteveDrees> I found the mac install section easy to follow
18:10:25 <ChrisWarrick> it has one problem though, it talks about py2.7
18:10:31 <ralsina_> OH NO
18:10:33 <ralsina_> :-)
18:10:35 <SteveDrees> easy enough that I pointed a non-dev guy to it, and he was able to follow it
18:10:52 <SteveDrees> which is the real test.
18:11:21 <ChrisWarrick> SteveDrees: Is it correct that brew and the associated pip do not require sudo?
18:11:51 <SteveDrees> it really depends on how you setup brew
18:12:01 <ChrisWarrick> default setup?
18:12:08 <SteveDrees> I needed sudo for my brew. But not for pip
18:13:11 <ChrisWarrick> fancy
18:13:19 <ChrisWarrick> the official instructions have dollars though, let’s keep it as that
18:13:59 <SteveDrees> pip3 needed sudo to install virtualenv just now
18:16:36 <SteveDrees> oh. gotcha reared it's head
18:16:51 <ChrisWarrick> ?
18:16:53 <SteveDrees> virtualenv uses python3
18:16:56 <SteveDrees> now
18:17:00 <ChrisWarrick> congratulations
18:17:09 <ChrisWarrick> I’ll add sudo to the `pip` command and leave `brew` without
18:17:17 <ChrisWarrick> and make it pip3
18:19:31 -GitHub[site]:#nikola- [nikola-site] Kwpolska created py3-mac-install-instructions (+1 new commit): http://git.io/vnmuh
18:19:31 -GitHub[site]:#nikola- nikola-site/py3-mac-install-instructions e1bb962 Chris Warrick: Recommend Python 3 for Mac OS X...
18:19:55 <ChrisWarrick> SteveDrees: https://github.com/getnikola/nikola-site/pull/33
18:20:07 -GitHub[site]:#nikola- [nikola-site] Kwpolska opened pull request #33: Recommend Python 3 for Mac OS X (master...py3-mac-install-instructions) http://git.io/vnmzJ
18:21:40 -GitHub[site]:#nikola- [nikola-site] ralsina pushed 1 new commit to master: http://git.io/vnmzw
18:21:40 -GitHub[site]:#nikola- nikola-site/master 20024ed Roberto Alsina: Merge pull request #33 from getnikola/py3-mac-install-instructions...
18:22:52 <SteveDrees> pip install "Nikola[extras]" in progress
18:23:00 <ChrisWarrick> deployed the new site
18:23:11 -GitHub[site]:#nikola- [nikola-site] Kwpolska deleted py3-mac-install-instructions at e1bb962: http://git.io/vnmgf
18:23:20 <ChrisWarrick> SteveDrees: I’m wondering how will lxml fare
18:23:26 <s2hc_johan> I just installed python 3.5, downloaded it from https://www.python.org/downloads/ and installed it, then mkvirtualenv --python=/usr/local/bin/python3 ndev3 && cd ~/src/apps/nikola && pip install -e .
18:23:32 <s2hc_johan> and I was done
18:23:36 <ChrisWarrick> SteveDrees: and what OS are you on?
18:23:46 <ChrisWarrick> s2hc_johan:18:23:56 <SteveDrees> osx 10.10.5
18:24:00 <s2hc_johan> 10.10.5
18:24:06 <ChrisWarrick> hello.
18:24:24 <ChrisWarrick> so it works just fine on macs
18:24:30 <s2hc_johan> yep
18:24:39 <ChrisWarrick> unlike default ubuntu/fedora, which is not something you would expect
18:24:54 <s2hc_johan> you need to make a new virtualenv after you install it, but hat seems quite resonalbe
18:26:35 <SteveDrees> this is what I did. https://gist.github.com/stevedrees/5bc8af1241a00a36065c
18:27:17 <ChrisWarrick> SteveDrees: awesome
18:28:30 <SteveDrees> and my previous nikola install using py2.7 still works.
18:29:35 <SteveDrees> so you can put me down for has both. doesn't care what you do about py2.7 support going forward.
18:36:09 <ChrisWarrick> SteveDrees: have you voted in the survey?
18:36:48 <SteveDrees> no
18:36:58 <SteveDrees> what's the url again?
18:37:33 <ChrisWarrick> SteveDrees: https://docs.google.com/forms/d/15dnvSCO0JP9IX9MvjRI3aofCQaDFcl2S0aTsApkCAbY/viewform?usp=send_form
18:38:23 <SteveDrees> done.
18:55:05 <ChrisWarrick> An Archer said he won’t install py3k.  wat.
18:57:36 <SteveDrees> OSS takes all kinds.
18:58:03 <ChrisWarrick> Context: Arch Linux ships with Python 3 as the default interpreter, and he probably (99%) has it installed already
18:58:46 <SteveDrees> heh. Unless he has a moral problem with py3k
18:59:41 <ChrisWarrick> 37 (94.87%) vs 2 (5.13%) is still pretty good
19:00:03 <ChrisWarrick> would be 2.56% if not for that guy
19:00:04 * SteveDrees struggles to come up with a reason to have a moral problem with py3k
19:01:05 <s2hc_johan> don't remember but I've been reading some rants about how py3 didn't solve the hole encode/decode/strin/byte/unicode dilemma
19:01:24 <s2hc_johan> that was quite some time ago thoug
19:42:09 <Aeyoun> Surprised more people than me use bsd.
20:07:23 <ralsina_> ChrisWarrick: HOW? It comes by default! The system freaking requires it!
20:08:12 <ralsina_> s2hc_johan: that would be a rant by Armin Ronacher IIRC
20:08:35 <ralsina_> http://lucumr.pocoo.org/2014/1/5/unicode-in-2-and-3/
20:08:42 <ralsina_> And no, it makes no sense whatsoever
20:25:41 <s2hc_johan> ralsina_: yep that's the one
20:26:51 <SteveDrees> that rant is supportive of dropping 2.7 support. Because 1 set of insanity is easier to maintain than 2 sets of diametrically opposed sets of insanity
20:27:57 <s2hc_johan> SteveDrees: yea, but the point being that py3 is still insanity
20:32:19 <SteveDrees> but it is the insanity of the future! ;)
21:03:45 <ralsina_> https://www.youtube.com/watch?v=Et9b7LWfnxQ
21:03:56 * ralsina_ orders sliding sofas from ikea
23:34:24 * Aeyoun thought it was an IKEA commercial right until the end