#indiewebcamp 2015-12-23

2015-12-23 UTC
M-RyanRix and [shaners] joined the channel
#
[shaners]
Progress! The build is no longer erroring, now it’s just failing. Huzzah!
#
[shaners]
Can anyone who has known issues with the ruby parser file issues on the github repo please? That way we at least know what we’re dealing with.
#
KevinMarks
can you check it with the test harness?
#
aaronpk
i think mine are already on there
#
[shaners]
kevinmarks: what does that mean?
#
[shaners]
what is “the test harness”?
#
Loqi
It looks like we don't have a page for "“the test harness”" yet. Would you like to create it? https://indiewebcamp.com/s/10AH
#
[shaners]
I mean, kevinmarks, what do you mean by “the test harness”?
#
KevinMarks
the test runner thingy
#
[shaners]
kylewm bear tantek ben_thatmustbeme et al:
#
[shaners]
do you have any issues with the ruby parsers that aren’t already issues on the github repo?
#
[shaners]
s/parsers/parser/
#
Loqi
[shaners] meant to say: do you have any issues with the ruby parser that aren’t already issues on the github repo?
#
KevinMarks
where is glen jones' text runner?
#
GWG
Evening\
#
aaronpk
it's part of the node parser right?
#
[shaners]
kevinmarks: are you suggesting that the ruby gem run a node test suite? I’m confused.
#
aaronpk
the test suite is a bunch of files
#
kylewm
KevinMarks: last time I checked the test runner was down
[kevinmarks] joined the channel
#
[kevinmarks]
There's a test suite that is implementation independent
#
[kevinmarks]
Glenn had a full that called all the existing parsers and compared them
#
[kevinmarks]
s/full/tool/
#
Loqi
[kevinmarks] meant to say: Glenn had a tool that called all the existing parsers and compared them
#
[kevinmarks]
That's the test suite, yes
#
aaronpk
so it should be not that hard to use those files in a ruby test suite
#
[shaners]
At the time that we built this, we were importing Glenn tests from
#
[shaners]
which doesn’t exist anymore
#
[shaners]
Looks like I’ll have to update where all the html / json files from. :shrug:
#
ben_thatmustbeme
[shaners]: honestly i have been unable to build it
#
ben_thatmustbeme
last time i tried i got a bunch of errors when trying to install it as a gem
#
ben_thatmustbeme
install the gem
#
ben_thatmustbeme
but i haven't looked at it recently
#
[shaners]
Which ruby version do you have installed?
#
[shaners]
ruby -v
#
[shaners]
Nothing would’ve changed since last time you tried. I’m only just now starting to look at it. Mostly doing repo administrivia.
#
aaronpk
i'm using it just fine on webmention.io, it just has the bugs that are listed so some things don't work quite right
#
ben_thatmustbeme
yeah, but my system has changed
#
[shaners]
ah. i see.
#
ben_thatmustbeme
well it installed this time
#
[shaners]
Well, next time you get time to try installing it, if it fails, dump that into an issue please.
#
[shaners]
We’ll get this thing cleaned and on par with the other parsers. Slow and steady.
#
[shaners]
Is anyone using a `<base>` tag on there site?
#
[shaners]
Or come across it when parsing other people’s sites?
tantek joined the channel
#
tantek
Hey GWG, I'm going to keep bugging you to pelase note which dates work better for you here: https://indiewebcamp.com/Planning#New_York_City
#
tantek
and that's for anyone else that is interested in participating or co-organizing an IndieWebCamp NYC!
#
[shaners]
!tell jeena Finally merged your PR
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
bear, you too especially since you were a big help last time! (and I promise to avoid any / all license arguments/discussions for the duration! :) )
#
tantek
last time at IWC NYC that is
#
GWG
tantek: None work better than others.
#
tantek
GWG - can you note that at least?
#
tantek
maybe as a list item right below the line starting with "Possible dates:"
#
tantek
here I'll make a category for you
#
tantek.com
edited /Planning (+55) "/* New York City */ add a generic Anything in January or February works for me! for general support of any of the dates"
(view diff)
#
tantek
shaners - weren't you in NYC for a bit? or still there?
#
tantek
GWG, could you email Jeremy Z and ask him about dates also?
#
GWG
That I can do.
#
[shaners]
I’m back in LA. I was in NYC in late September after @al3x’s wedding.
#
david.shanske.com
edited /Planning (+82) "/* New York City */"
(view diff)
#
[shaners]
tantek: take if you didn’t follow along with my photos of my changing geo and return to LA :wink:
#
tantek
shaners, yeah I haven't found a good reading/following replacement yet for the social silos :/
#
tantek
I mostly dip in / out semi-randomly
#
kylewm
shaners: tantek's site has a base tag
#
tantek
and permalinks too
#
tantek
where did the base tag question come up?
#
kylewm
15 minutes ago or so
#
[shaners]
tantek: I merged @jeena’s PR #33 that addressed #32.
#
GWG
tantek: The WordPress problem, I'm still confused as to how to approach it.
#
tantek
GWG, start by naming it, and documenting it, how and why it happened
ZipGun joined the channel
#
tantek
because if you don't do that, then you'll likely just repeat the problem with mf2
#
tantek
we need to document an understanding of the problem before we approach "fixing" it with mf2 etc.
#
GWG
tantek: I want to submit something they'd put in before WordPress 4.5 if I can.
gRegorLove_ joined the channel
#
KevinMarks
a lot of things do rely on their existing markup. eg readability
#
gRegorLove
wonders who tantek's base belongs to
#
tantek
GWG, rushing something before understanding it usually results in a broken solution, and you certainly don't want to bake-in a broken solution since it's obviously very hard to change.
#
GWG
I'm not, I have months
snarfed joined the channel
#
gRegorLove
GWG, are you referring to the WP themes using mf1 class names for CSS issue?
#
GWG
Not exactly, but yes
KartikPrabhu and glennjones joined the channel
#
tantek
gRegorLove: do you know if that issues is documented anywhere or is it just folklore?
#
gRegorLove
I don't know
#
GWG
I can confirm it
#
gRegorLove
GWG: What was the pushback you got on adding mf2? Is there a URL for it?
#
GWG
When I first started in this community, I tried to use pfefferle's wordpress-mf2 plugin to add as much markup as possible without customizing the theme.
#
GWG
This is where we left off.
#
GWG
When I activated his plugin, which removed hentry, the theme appearance changed.
#
GWG
This was the stock theme distributed with WordPress that year, Twenty-Fourteen
#
GWG
I am proud to say that styling based on hentry no longer exists in Twenty-Sixteen. I pushed for that. And Twenty-Sixteen and _s are both addressing it.
#
GWG
But the issue comes because hundreds of themes do style on classic microformats. So removing hentry as currently applied is not something they can commit.
#
gRegorLove
Good. So it sounds like mf-based styling isn't really a concern for getting mf2 into WP core.
#
GWG
The request was to have it alongside the existing mf1 implementation, which is flawed.
#
GWG
Wherein lies the issue of when the mf1 and mf2 properties are on different elements.
#
tantek
that only works if you put the mf2 classes o the same elements
#
GWG
Thus the problem
#
gRegorLove
So you'd need to fix their messed up mf1 support at the same time.
#
tantek
right
#
GWG
Yes, but my solution was a flag to indicate this, which I think they are against on some level.
#
GWG
If I break backward compatibility then they'll reject the commit.
[shaners] joined the channel
#
[shaners]
GWG++ for being persistent in trying to get mf2 into wp.
#
Loqi
GWG has 132 karma
#
GWG
If I keep it, it breaks parsing.
#
tantek
GWG, how do you prevent future themes from styling based on the mf2 classes and just repeating the problem all over again?
#
@jmhodges
I ask my former Twitter colleagues to dig into their userbase's UserAgents & TLS ClientHellos & reconsider this post https://twitter.com/twittereng/status/679458046645407744
(twitter.com/_/status/679484058850598912)
#
GWG
tantek: You don't.
#
gRegorLove
Well, I think our main concern is just the official WP-distributed themes, right?
#
GWG
Also a problem.
#
GWG
Also, not propogating the problem
#
gRegorLove
So the twenty* themes that come installed.
#
GWG
The newest one doesn't use hentry as a styling element, so they could do mf2 support without issue.
#
GWG
But the more I dig, then you have people commenting that plugins might depend on it too.
#
GWG
It's not an easy problem
#
gRegorLove
It's at least possible to keep an eye on the one official theme in case someone tries to add it back.
#
gRegorLove
Plugins might depend on HTML classes?
#
gRegorLove
Example?
#
tantek
GWG, how about a unit test for any core theme stylesheets to make sure they don't depend on mf1 or mf2 classnames?
#
tantek
gRegorLove: interesting thread indeed
#
GWG
tantek: Also a good idea. I'm still struggling with unit testing design.
#
[shaners]
What's the damage on just declaring bankruptcy on mf1 problems in existing themes and core, and instead only pushing in mf2 classes that do The Right Thing?
#
tantek
GWG, if the latest core theme indeed DOES NOT depend on mf1 classes then add a unit test ASAP to prevent them or mf2 classes from EVER creeping into it!
#
[shaners]
Seems like fighting two fronts at the same time is expensive.
#
tantek
shaners, there's no such thing as "declaring bankruptcy" that's the problem
#
KartikPrabhu
certain CSS naming conventions use "u-stuff" for styling
#
KartikPrabhu
u = utility
#
GWG
shaners, backward compatibility is something WordPress takes very seriously. They won't break a large amount of sites without a good reason
#
[shaners]
Tantek: I just mean splitting this into two efforts. Get mf2 support first then try to clean up mf1.
#
tantek
KartikPrabhu: my understanding is that it's just one obscure framework
#
[shaners]
Gwg: I'm not suggesting breaking compatibility. I'm suggesting leaving mf1 alone for now. And just adding the mf2 support.
#
KartikPrabhu
not a code framework, just a naming convention. Anyway I just wanted to warn that "don't allow mf2 names in classes" might not work as a blanket approach
#
gRegorLove
KartikPrabhu: True. I've run into that on my own site using getskeleton. class u-max-full-width for responsive elements.
#
tantek
KartikPrabhu: can you cite where that "naming convention" exists beyond just that one styling framework?
#
[shaners]
Gwg: again, I'm not suggesting that hentry get removed.
#
gRegorLove
I think a mixture of incorect mf1 and correct mf2 in WP core themes is a bad situation.
#
KartikPrabhu
tantek: if you are asking for a live site then I don't know
#
tantek
I am - in bundled themes
#
gRegorLove
GWG: What does WP core use for unit tests, PHPunit?
#
KartikPrabhu
i don't know a live bundled theme example
#
GWG
Yes, but we go back to the issue tantek mentioned
#
GWG
gRegorLove: Correct.
wolftune joined the channel
#
GWG
gRegorLove: I know, I read that.
#
gRegorLove
The PHPunit manual is good last I checked though
#
GWG
If I felt comfortable with unit tests yet, I would have given snarfed his micropub ones. I still can't wrap my head around the issue.
#
gRegorLove
I've written a couple for php-mf2. I'm new, so don't really know best practices. A PHP test on a CSS file is odd, but it's doable.
#
gRegorLove
file_get_contents() and parse for the mf1 names, I guess.
glennjones and KevinMarks_ joined the channel
#
aaronpk
GWG: i've been doing a lot of testing lately, maybe you could look at some of that code for inspiration
#
GWG
My problem is figuring out how to design tests. I understand the idea of putting in data and seeing if the expected answer comes out, but I break so many things...I'm not sure how I can do that reliably.
#
kousu
Hey aaronpk: you turned on HTTPS the other day, but unfortunately the defaults are not safe. See https://weakdh.org/sysadmin.html
#
kousu
If you click the connection info in Chrome on https://aaronpk.com you'll see "You are using an obsolete cipher suite". I noticed because when I read about LogJam I went into Firefox and turned off all the old cipher suites, so now sometimes I run into sites I can't get at.
#
kousu
If you just tell nginx to prefer ECDHE-RSA-AES128-GCM-SHA256 it will make your site work with paranoid people like me :)
#
aaronpk
kousu: I haven't changed anything recently, but I used the latest known list of good ciphers when I set that up. It's probably time to audit the list though.
#
kousu
I did this last week for my jabber server and my webserver and my browser and it was a pain. Hopefully in the next year the defaults will become sane.
ZipGun joined the channel
#
aaronpk
that was actually for an unrelated domain, I just used aaronpk.com as the example
#
KartikPrabhu
kousu: you should write about your letsnecrypt experience
#
kousu
I should! It was super quick and easy.
#
aaronpk
GWG: I've found testing useful as a way to describe what I want to build before I build it. I guess that's called test-driven-development but whatever.
#
aaronpk
along the same lines I also like writing the docs for the thing i'm building before I write any code
#
GWG
aaronpk: I'd like to see your examples.
#
aaronpk
here's what i've been working on the last couple days:
#
aaronpk
a more low-level test is in the mention-client library: https://github.com/aaronpk/mention-client-php/tree/master/tests
#
aaronpk
GWG: specifcally check out this example: https://github.com/aaronpk/mention-client-php/blob/master/tests/LinkHeaderParserTest.php#L36 I give it some input, run the "discoverWebmentionEndpoint" function, then check that the result is what I expect
#
GWG
That may help me in writing the micropub ones, if you all can stop changing the standard.
#
aaronpk
well basic creating hasn't changed like ever. but we are definitely still figuring out editing.
#
aaronpk
and frankly more input from peopel actually building things is great
#
GWG
Did we settle mp- vs no mp-?
#
KartikPrabhu
is upgrading to Django 1.9
j12t and yakker joined the channel
#
KartikPrabhu
phew! done. including fixing back-compat issues!
loic_m joined the channel
#
kylewm
GWG: I think mp-syndicate-to is prevailing right now, do you have an opinion/preference?
j12t, KevinMarks_, Jihaisse, e-lima, KevinMarks__, friedcell, loic_m, Pierre-O, marcthiele and elf-pavlik joined the channel
#
GWG
kylewm: Not really. Just want something definitive
frzn and elf-pavlik joined the channel
#
@hmans
@epirat Nein, erstmal keinen Bock auf Indieweb/Bloggen/etc.
(twitter.com/_/status/679634672511528960)
friedcell, mapkyca, nitot_, ttepasse, mlncn, glennjones, j12t, mxuribe, singpolyma, hs0ucy, ZipGun, gRegorLove, gRegorLove_, wolftune, kousu and e-lima joined the channel
#
ZipGun
hi there
#
KevinMarks
hi ZipGun
#
ZipGun
1st time here
#
KevinMarks
what's your website?
#
ben_thatmustbeme
waves to ZipGun
#
ZipGun
dont have a website... but im looking to meet someone on this channel and learnmore about this
#
gRegorLove
Welcome, ZipGun
#
ZipGun
thanks, Hi gRegor
#
gRegorLove
https://indiewebcamp.com/Getting_Started should be helpful, ZipGun. Let us know if you have any questions.
#
ZipGun
nice... | now reading |
#
gRegorLove
Our bot might even help answer your questions from the wiki, e.g.
#
gRegorLove
What is getting started?
#
Loqi
Get started on the indieweb by connecting with the indiewebcamp community, getting a personal domain, a place for your content, and setting up your home page & other indieweb essentials https://indiewebcamp.com/Getting_Started
#
gRegorLove
What is point of the indieweb?
#
Loqi
"You're here because you know something. What you know you can't explain, but you feel it. You've felt it your entire life, that there's something wrong with the world [wide web]." — Morpheus, The Matrix
tantek, snarfed and e-lima joined the channel
#
aaronpk
tantek: in http://microformats.org/wiki/representative-h-card-parsing I'm assuming "if the page contains one single h-card with a url property matching the page URL" means only do this if there is exactly one h-card on the page?
singpolyma, pauloppenheim and mlncn joined the channel
#
tantek
aaronpk - yes, and I'm curious how "contains one single h-card" is not quite the same as "if there is exactly one h-card" ?
#
tantek
I'd like to improve the wording to be clearer, less ambiguous.
#
GWG
Afternoon
#
tantek
good day GWG
#
aaronpk
tantek: the ambiguity is because of the phrase that follows
#
tantek
aaronpk: ah, it's missing a comma to separate those
#
aaronpk
"if the page contains one single h-card with a url property matching the page URL" could mean if only one of all the h-cards matches the URL
#
tantek
what is the WordPress hentry problem?
#
Loqi
It looks like we don't have a page for "WordPress hentry problem" yet. Would you like to create it? https://indiewebcamp.com/s/10AJ
#
aaronpk
could be rewritten as: "if the page contains one single h-card, and the h-card has a url property matching the page URL,"
#
tantek
GWG ^^^ could you start documenting that? summary definition, cite the URLs you cited yesterday etc.?
#
tantek
aaronpk: yes
#
tantek
aaronpk: want to fix it?
#
GWG
The WordPress hentry problem is an improper use of classic microformats that cannot easily be changed due to backward compatibility issues.
#
aaronpk
i'm on a roll with making libraries :)
#
aaronpk
publishing a php representative h-card library now
#
GWG
I'll get to it tonight
#
GWG
aaronpk, is there a list? I need more php mf2 libraries to the use.
#
aaronpk
there are various lists on some of the individual spec pages and such
#
GWG
if you wrote it, I have confidence in it.
#
GWG
What is PHP?
#
aaronpk
thanks for the vote of confidence
#
Loqi
PHP is a programming language and web server runtime environment used for many IndieWeb projects https://indiewebcamp.com/PHP
#
GWG
Could you add it to that page?
#
aaronpk
you should probably add a qualifier though, "if you wrote it, and are using it on your site..."
#
Loqi
yea!
#
aaronparecki.com
edited /PHP (+186) "add representative-h-card-php"
(view diff)
#
GWG
Do you have something for post type discovery based on php-mf2 output?
#
aaronpk
no i don't think so
#
GWG
Shame
#
GWG
I w
#
GWG
I wanted to make the phrase replied to a post on aaronparecki.com more detailed.
Pierre-O joined the channel
#
aaronpk
okay it's live and tests are passing and package is automatically updated!
#
GWG
tests++
#
Loqi
tests has 17 karma
#
GWG
Well, back to the grind. On tonight's agenda, help section for my plugin.
Pierre-O joined the channel
[shaners] joined the channel
#
[shaners]
Aaronpk: why does the representative method need the url as well as the parsed html?
#
[shaners]
`Mf2\HCard\representative($parsed, '<http://aaronparecki.com/');`
#
tantek
shaners - presumably for relative URL resolution
#
aaronpk
no, first step of the algorithm is "If the page contains an h-card with uid and url properties both matching the page URL..."
#
aaronpk
it's so the library knows the url of the page the parsed data came from
#
[shaners]
That doesn't come in inside the the parsed html object?
#
aaronpk
no, where would it be?
#
aaronpk
the result of the mf2 parser doesn't say anything about the URL it came from
#
[shaners]
Oh I see
#
aaronpk
relative URL resolution is handled by the parser before this library gets a hold of it
#
tantek
makes sense
jedahan joined the channel
#
aaronpk
i'm getting really nervous about hitting the 2016 deadline!
#
[shaners]
You can do it!
#
[shaners]
We believe in you!
#
[shaners]
:star2::star2::star2::star2:
#
aaronpk
if nothing else, i'll have this great webmention sending tool done
#
[shaners]
Aaronpk: here's an idea for us to work on post nye:
#
tantek
shaners - what are your 2016-01-01 ship commitments?
#
[shaners]
Sub domains for all the mf2 parsers web views.
#
[shaners]
python.
#
[shaners]
And maybe a unified one like
#
[shaners]
I'd love to get spec compliance matrix comparing all the parsers on the same test suite. So everyone knows where each tool stands.
#
[shaners]
Tantek: I'm computerless at the moment. So it's hard to commit to getting anything done.
#
[shaners]
Other than talking in channel
#
tantek
that's fair, here's to hoping you get a computer in the new year if not sooner!
#
[shaners]
Thanks!
#
[shaners]
I did get mf2.rb moved to gh/iwc. So there's that. ¯\_(ツ)_/¯
#
tantek
yes! and merged pull requests and worked through issues and stuff.
squeakytoy, jedahan and [shaners] joined the channel
#
[shaners]
tantek or aaronpk et al: can you take a look at my pull request and merge if looks good please?
#
[shaners]
Optionally additionally, can you add me to the mf org on GH?
#
aaronpk
I don't have commit access to that repo
mlncn, Pierre-O1, glennjones, snarfed, Pierre-O, tantek, gRegorLove, gRegorLove_, j12t, singpolyma and [shaners] joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
petermolnar and KartikPrabhu joined the channel
#
tantek
!tell gRegorLove just tried to "Add to homescreen" your site and noticed it comes up with a "g" as the /icon - is that intentional? a "g" instead of your icon as in the logs? https://indiewebcamp.com/irc/2015-12-23/line/1450888201715
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegorLove
Yes, that's my favicon
#
gRegorLove
I prefer a graphic for my favicon rather than my picture
#
gRegorLove
Psst. Hey Loqi.
#
tantek
Loqi now knows not to bother passing on a message when the recipient responds within some number of minutes to the !tell
#
Loqi
woot!
#
gRegorLove
Ooh, sweet
#
tantek.com
edited /icon (+194) "/* Should you use a photo of your face */ add a "No" answer stub to encourage sharing of reasons to use non-face personal site icons"
(view diff)
#
tantek
gRegorLove: could you add your reasoning to the "No" answer here? https://indiewebcamp.com/icon#Should_you_use_a_photo_of_your_face
#
tantek
I know there isn't unanimity on this point so we might as well capture the diversity of reasons why
#
tantek
for others to consider as well for themselves
tantek joined the channel
#
gregorlove.com
edited /icon (+420) "/* Should you use a photo of your face */ my reasoning"
(view diff)
#
gRegorLove
Done. My reasoning is pretty personal, not meant to be prescriptive.
#
gRegorLove
But maybe it will help someone :)
#
gRegorLove
What is well known URL?
#
Loqi
It looks like we don't have a page for "well known URL" yet. Would you like to create it? https://indiewebcamp.com/s/10AK
#
gRegorLove
What is well known?
#
Loqi
Well-known refers to designating a common URL on domains for data to be easily located https://indiewebcamp.com/well-known
#
gRegorLove
well known URL is /well-known
#
loqi.me
created /well_known_URL (+23) "prompted by gRegorLove https://indiewebcamp.com/irc/2015-12-23/line/1450909335900 and dfn added by gRegorLove"
(view diff)
#
gregorlove.com
edited /icon (+16) "/* Should I just use well known URLs */ link well-known"
(view diff)
#
KevinMarks
I merged shane's PR and added him to the mf tests
tantek joined the channel
#
tantek
thanks gRegorLove !
#
tantek
!tell gRegorLove I'm now leaning towards the default of continuing with the every two weeks of HWC, since we haven't seen strong opinions one way or another. With 2016-01-13 being the first HWC of 2016.
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek.com
edited /Planning (+202) "/* HWC 2016 */ ok with either date as start. so if no one else says anything, we'll go with 2016-01-13 as the"
(view diff)
glennjones and [shaners] joined the channel
#
[shaners]
Kevinmarks thanks!
mlncn joined the channel