#dev 2017-07-11

2017-07-11 UTC
tantek and [chrisaldrich] joined the channel
#
gregorlove.com
edited /content_management_system (-22) "/* Examples */ wiki link AerosolCMS"
(view diff)
#
gregorlove.com
edited /QuartzDB (+6) "link dfn"
(view diff)
#
gregorlove.com
edited /file-storage (+30) "QuartzDB"
(view diff)
#
gregorlove.com
edited /WebSub (+210) "/* How To */ websub.rocks"
(view diff)
tantek joined the channel
#
gregorlove.com
edited /tz (-20) "r"
(view diff)
snarfed joined the channel
#
gregorlove.com
edited /jf2 (+15) "/* See Also */"
(view diff)
tantek, snarfed, prtksxna_, prtksxna, barpthewire and [pfefferle] joined the channel
#
[pfefferle]
good morning
#
Loqi
[pfefferle]: [colinwalker] left you a message 11 hours, 39 minutes ago: When calling get_linkbacks() and looping through them is there an easy way to reverse the order?
#
Loqi
good morning!
[jeremycherfas] joined the channel
#
[pfefferle]
!tell colinwalker there is no easy way now, but we can add an additional parameter to the function… can you please file a bug on github?
#
Loqi
Ok, I'll tell them that when I see them next
[colinwalker] joined the channel
#
[colinwalker]
pfefferle OK. I've used WP_Comment_Query for now but will raise that.
#
Loqi
[colinwalker]: [pfefferle] left you a message 1 minute ago: there is no easy way now, but we can add an additional parameter to the function… can you please file a bug on github?
#
Loqi
[colinwalker]: [pfefferle] left you a message 1 minute ago: there is no easy way now, but we can add an additional parameter to the function… can you please file a bug on github?
#
Loqi
[colin-walker] #105 Change display order for results returned by get_linkbacks()
cweiske joined the channel
#
cweiske
KartikPrabhu, it'd be nice if your feed items would include the reply-of url
#
Loqi
[Kartik Prabhu] because it is consistent with the index positions for objects being pulled-back, forms, vs objects being pushed-forward, vectors.
#
cweiske
not the reference to the twitter post
#
KartikPrabhu
cweiske: yes, adding response context is in my to-do list for hfeed2atom
#
cweiske
I've opened an issue. thanks.
#
KartikPrabhu
cweiske: thanks, maybe that will give it more urgency :)
#
KartikPrabhu
I am complacent because I was under the impression that no one read my feed :P
[renem] and barpthewire joined the channel
#
strugee.net
uploaded /File:ostatusbridge-whiteboard.jpg "Whiteboard from IWS 2017's ostatusbridge session. Photo courtesy of aaronpk. https://indieweb.org/File:ostatusbridge-whiteboard.jpg"
#
strugee.net
edited /ActivityPub (+1625) "Initial bridging section"
(view diff)
#
strugee.net
edited /ActivityPub () "(-1625) Remove bridging section to move to /bridge"
(view diff)
#
strugee.net
edited /bridge (+3766) "Add ActivityPub bridging section"
(view diff)
#
strugee.net
edited /ActivityPub (+45) "Link to bridging stuff"
(view diff)
#
dgold
sknebel: yes, it worked. sorry, had to jog off to other things
#
strugee.net
edited /bridge (+615) "Document ActivityPub -> IndieWeb mentions without IndieWeb support"
(view diff)
[pfefferle] joined the channel
#
jonnybarnes.uk
edited /HTTPS (+89) "/* Production */ mentions that sha-1 certs are deprecated"
(view diff)
[xavierroy], [pfefferle], prtksxna and mblaney joined the channel
#
loqi.me
created /Typography (+90) "prompted by sknebel and dfn added by sknebel"
(view diff)
#
loqi.me
edited /Typography (+45) "/* See Also */ new section"
(view diff)
#
loqi.me
edited /Typography (+33) "sknebel added "http://practicaltypography.com" to "See Also""
(view diff)
#
loqi.me
edited /Typography (+43) "sknebel added "https://edwardtufte.github.io/tufte-css/" to "See Also""
(view diff)
#
loqi.me
created /readable (+23) "prompted by sknebel and dfn added by sknebel"
(view diff)
#
loqi.me
edited /Typography (+28) "Zegnat added "http://webtypography.net/" to "See Also""
(view diff)
#
mblaney
voxpelli this is the closest I've found to a bug report for it: https://bugzilla.mozilla.org/show_bug.cgi?id=1196151
#
loqi.me
edited /Typography (+31) "Zegnat added "http://thinkingwithtype.com/" to "See Also""
(view diff)
barpthewire joined the channel
#
loqi.me
edited /Typography (+61) "Zegnat added "https://www.smashingmagazine.com/2016/05/fluid-typography/" to "See Also""
(view diff)
#
loqi.me
edited /Typography (+36) "Zegnat added "https://fvsch.com/code/css-locks/" to "See Also""
(view diff)
singpolyma, snarfed, [jemostrom], [pfefferle], [chrisaldrich], dougbeal|iOS and singpoly1a joined the channel
#
sknebel
aaronpk: do you know if TikTokBot handles queries/direct messages if I don't set a channel limit on a hook?
#
aaronpk
it should
#
sknebel
(btw, I'd love to be able to talk to Loqi directly instead of spamming #indiechat or so ;))
#
aaronpk
Loqi responds to "ping" directly, but I don't have any of the #indieweb hooks set up to match on private messages
#
sknebel
I guess it's kind of tricky due to it being in multiple communities
#
dgold
unsure it counts as indieweb-dev but;
#
dgold
should php scripts/config files be in a separate /php folder on a site, or just left within the main site content?
#
aaronpk
if the config file is PHP code then it's okay to put it in the public folder cause visiting the file will return blank content. but if it's a config.json or config.yml then putting it in the public folder means visitors can open the URL and see the contents
#
Zegnat
I put them outside of the webroot. So even if PHP dies on my server and apache keeps serving my site you can only read the contents of my index.php and non of my other code.
#
aaronpk
but in general, i prefer a folder structure where only specific files are in the public web root and most of my app is outside it
#
dgold
no, its config.php, it doesn't return anything
#
aaronpk
e.g. /web/aaronpk.com/app and /web/aaronpk.com/public and set the web root to the public folder and the rest of the files are in app
#
Zegnat
Another minimal example: https://github.com/Zegnat/wiki.zegnat.net - PHP code for my templating is stored outside of the public folder.
#
Loqi
[Zegnat] wiki.zegnat.net
#
dgold
okay, so the web-frontend can access the necessary scripts, but the visitor can't (e.g) curl the content?
#
Zegnat
Exactly
tantek, snarfed and [pfefferle] joined the channel
#
sknebel
hm, my installed tiktokbot doesn't like it (stacktrace), and if I update to the current my ruby is to old.
#
tantek
wonders what the latency is for FB RSVP -> Bridgy -> webmention.io
snarfed joined the channel
#
tantek
ah, Bridgy polls FB profile every 5 hours, I bet that's the key
Kaja joined the channel
#
tantek
or every 30 minutes if it sees activity
#
tantek
so it's worth clicking "Poll Now" on the Bridgy web UI after you've posted a FB event
KartikPrabhu, Kaja, davidmead and arush joined the channel
#
www.svenknebel.de
edited /User:Kaja.sknebel.net (+66) "/* features */ mfcommands accepted in querys as well"
(view diff)
[xavierroy] and snarfed joined the channel
#
aaronparecki.com
edited /WebSub (+30) "add to category building-blocks"
(view diff)
#
jeremycherfas.net
edited /Planning (+62) "/* Brighton */ Added as interested --~~~~"
(view diff)
tantek joined the channel
#
Zegnat
dgold, am I right in that BSD0 is basically licensing your code under BSD and then saying “when you use this, don’t bother crediting me or even including this licence”?
#
Zegnat
(Striking up this conversation in #dev, because https://github.com/indieweb/wiki/issues/39)
#
Loqi
[Zegnat] #39 Normalise licensing for projects in the IndieWeb GitHub org.
[chrisaldrich] joined the channel
#
dgold
Zegnat: pretty much, yes
#
dgold
Here is this thing, enjoy.
#
Zegnat
Interesting. I would have thought similar wording would already be included in CC0.
#
Zegnat
Then again, I - like many others - do not understand why the law doesn’t let me rescind copyright
#
dgold
hey, IAAL and _i_ don't understand that!
#
dgold
ok, I mean, I do - copyright maximalists, the mouse house and paul mccartney
snarfed, snarfed1 and arush joined the channel
#
Zegnat
I am happy that I never had to do more than Swedish trade law. But dual licensing with MIT doesn't make sense for BSD0 I would think?
#
sknebel
Zegnat: didn't you do something economics related? no copyright/IP law there?
#
Zegnat
Trade law, no IP rights. I can tell you the difference in legal protection between B2P and P2P sales and the like.
#
sknebel
I guess copyright isn't soo much a core-topic there
#
sknebel
(we had some of it, but for software people it's a bit more critical ;))
#
Zegnat
Also did a little inheritance law. So if you are planning to die in Sweden, let me know ?
gRegorLove joined the channel
#
jjuran
Zegnat: I might be dying to go to Sweden, but I’m not going to Sweden to die. :-)
#
sknebel
it's interesting how much trouble this tiny distinction between "transfer of copyright" and "transfer of usage rights" makes
#
sknebel
(but we maybe should move this to -chat if we want to continue it, I just noticed)
#
Zegnat
As long as it is about IndieWeb code licensing this channel should be good. Getting it on record for logs is good too
snarfed, tantek, davidmead, prtksxna_ and [pfefferle] joined the channel
#
dgold
Zegnat: the thing with MIT is that it doesn't deal with patents
#
dgold
software patents not being a hting when MIT was written
#
Zegnat
I think I am catching up with the distinction.
#
Zegnat
But BSD0 doesn’t address patents either, or am I missing something totally obvious?
#
dgold
no - its more that I missed something totally obvs
#
Zegnat
does not like lawyers say that ;)
#
dgold
right, went back over my notes
#
dgold
in the MIT it uses the phrasing:
#
dgold
Permission is hereby granted, free of charge, to any person obtaining a copy
#
dgold
of this software and associated documentation files (the "Software"), to deal
#
dgold
in the Software
#
dgold
whereas 0BSD its:
#
dgold
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.
snarfed joined the channel
#
dgold
i.e. the Grant is much more explicit, the problem with the MIT is that it retains some things, gives things away dependent on the retained things
#
dgold
which, in a legal context, opens a window for 'I didn't give away patents!'
#
dgold
whereas you'd be hard pressed to make that claim in 0BSD context
#
Zegnat
Aaah, gotcha! So even when my use of MIT might *imply* the fact that there as no patents up in it and I want you to use is however you want, 0BSD is less implication and more definition.
#
Zegnat
Also, I think you can totally see why someone like me wouldn’t spot that difference in licenses at once! So thanks for pointing it out :)
#
Zegnat
There are way too few accessible explanations on this stuff, imho.
#
dgold
well, that's because (to use the terminology) IAAL, IANYL
#
dgold
its hard to get legal people to make declarative statements because a) we're not being paid to and b) that doesn't stop legal people being sued
#
dgold
there was a case of an attorney in the UK who was sued by some french people for 'providing advice' on his blog
#
dgold
now, he _won_ the case, but, c'mon, he was still sued
#
Zegnat
While true, I think there is an obvious case to be made why these licenses should come with some more explanation and comparisons. More and more programmers touch on it and things like choosealicense.com really don’t cut it. Even just having OSI make their opinions on the licences clearly available. They go through them anyway before putting them o
#
Zegnat
n their site.
#
dgold
i agree
#
dgold
isn't choosealicense github's site?
#
dgold
iirc, it limits you to a small subset of licences
#
Zegnat
They cover a lot, just hide it a bit: https://choosealicense.com/appendix/
#
Zegnat
And I totally get why they want people who are publicly showing their code to put a licence on it. I am just not sure they inform me enough.
#
Zegnat
OSI has a longer list, but does not help me choose one at all
#
dgold
tldr legal does a nice visual summary
#
Zegnat
And, as just proven, sitting down and reading through the licences (as I have done) will still have people miss things like the slight difference in grants between 0BSD and MIT. Simply because people don’t know exactly what to look out for.
#
Zegnat
True, I almost forgot tldr legal!
#
Zegnat
dgold, https://tldrlegal.com/license/bsd-0-clause-license is wrong though. Says you have to Include Copyright, Include License, and Include Original. Which is explicitly what sets 0BSD apart from the other BSDs :p
#
dgold
its a pain in the tukhus
#
sknebel
Zegnat: for me it says "without the requirement"...?
#
dgold
ditto
#
Zegnat
Check the visualisation in the columns, sknebel
#
sknebel
Can, not must?
#
dgold
'can' Zegnat
#
Zegnat
Aah, is that how they make the difference?
#
sknebel
(you could have a license that *forbids* you to use the original creators name)
#
dgold
isn't there a licence that you must use the software for good, not evil?
#
Zegnat
I totally misinterpreted the colour green here. Apparently. I’m going to brew a strong cup of tea now
#
sknebel
dgold yes, the JSON license
#
sknebel
IBM famously got an exception to that clause
#
dgold
really silly thing for Crockford to do, tbh
#
Zegnat
“subject to the following conditions: […] The Software shall be used for Good, not Evil.”
#
strugee.net
edited /Loqi (+114) "add "report page creations differently" feature"
(view diff)
#
jjuran
That’s non-free, then. A Free Software / Open Source license can’t discriminate based on fields of endeavor, and some fields of endeavor are inherently evil.
jjuran, snarfed and [chrisaldrich] joined the channel
#
dgold
like geography
#
gregorlove.com
edited /Tumblr (+863) "/* Criticisms */ === Releasing inactive accounts ==="
(view diff)
davidmead joined the channel
#
Zegnat
So the JSON format is non-free. That is ... interesting.
#
singpoly1a
Zegnat: the *format* is free. some of the parsers are not
#
singpoly1a
The format is part of the ECMAscript standard
#
Zegnat
Ah, alright. That standard came later than the format though
#
Zegnat
Looks like nothing is under the “for Good, not Evil” licence anymore than. As the JS JSON parser crockford made is PD
snarfed and tantek joined the channel
#
gregorlove.com
edited /Tumblr (+511) "/* Involuntary Identity Reassignment */ citation template"
(view diff)
snarfed joined the channel
#
gregorlove.com
edited /Planning (+153) "/* Planned */ IndieWeb at Campfire"
(view diff)
tantek and snarfed joined the channel
#
loqi.me
created /Netlify (+160) "prompted by tantek and dfn added by sknebel"
(view diff)
#
gRegorLove
Netlify << Netlify CMS
#
Loqi
ok, I added "[[Netlify CMS]]" to the "See Also" section of /Netlify
#
loqi.me
edited /Netlify (+35) "/* See Also */ new section"
(view diff)
#
gRegorLove
Netlify CMS << Netlify
#
Loqi
ok, I added "[[Netlify]]" to the "See Also" section of /Netlify_CMS
#
loqi.me
edited /Netlify_CMS (+31) "/* See Also */ new section"
(view diff)
#
www.boffosocko.com
edited /Planning (+1775) "LA dates planning; {{addyourself}} template; added myself and some notes"
(view diff)
#
tantek
[chrisaldrich]++!
#
Loqi
chrisaldrich has 9 karma in this channel (45 overall)
#
gRegorLove
Chances are increasing I may be able to attend LA.
#
gRegorLove
I'm considering moving to San Diego
#
tantek
we did have a microformats meetup in San Diego ages ago
#
kaja.sknebel.net
edited /Netlify (+1) "linkify"
(view diff)
#
tantek
what is Kaja
[chrisaldrich] joined the channel
#
Loqi
Kaja is a bot run by sknebel https://indieweb.org/Kaja
#
tantek
so was that edit actually done by the bot or was it sknebel masquerading as his bot?
#
gregorlove.com
edited /Planning (+14) "/* Los Angeles */ +my general interest"
(view diff)
#
sknebel
tantek: that was a script I just ran locally. so code, but not actually part of the bot yet
#
tantek
sknebel: what input did you give the script? just the page name or?
#
sknebel
tantek: yep, pagename. looks for a <dfn> of the form "$something is $url," and rewrites that
#
tantek
nice!
#
tantek.com
edited /Planning (+28) "/* Brighton */ a few dates"
(view diff)
#
tantek
GWG, I think MF2 because I prefer to edit HTML instead of JSON. but that's just me.
#
GWG
tantek: I like simplified data structures though
#
tantek
I do too, in code, and that's what parsers are for
#
sknebel
GWG what are you storing it for?
#
tantek.com
edited /Planning (+585) "/* Los Angeles */ add a bunch of +/- 1 and extra reasoning"
(view diff)
#
KartikPrabhu
I use HTML+mf2 for notes storage
#
GWG
sknebel: As metadata on the post.
#
KartikPrabhu
and then save a parsed mf2 as a JSON file
#
GWG
And since I'm using an existing system, it is a key->property system i have to use
#
GWG
I've come across the issue that I flattened my parsed mf2 to store, and snarfed didn't, so we're using the same property names, but not the same structure
#
tantek
what kind of flattening? de-objecting, or de-arraying/pluraling?
snarfed joined the channel
#
tantek.com
edited /Planning (+176) "venue vs location, near the top"
(view diff)
snarfed joined the channel
#
GWG
tantek: I take the properties array, and add a type property which represents the type.
#
tantek
is that the result of doing Post Type Discovery?
#
GWG
tantek: No. Type represents the top level mf property. Such as h-card, h-review, etc
snarfed joined the channel
#
GWG
That's how I store nested microformats
#
GWG
The top level...h-entry or such, is represented by the post type in WordPress
#
GWG
This is a problem
#
loqi.me
created /shortdomain (+26) "prompted by tantek and dfn added by tantek"
(view diff)
snarfed joined the channel
#
tantek.com
edited /short-domains (+210) "/* io */ note IO DNS problem"
(view diff)
#
GWG
I think I may have to change
#
tantek
well now that I have an event with an actual *comment* on it, I'll have to look into what will it take to show those
#
tantek
petermolnar++ thanks for the link to the article about io domains
#
Loqi
petermolnar has 5 karma in this channel (42 overall)
#
snarfed
tantek++ for the burst of new functionality in falcon
#
Loqi
tantek has 10 karma in this channel (367 overall)
#
Loqi
Homebrew Website Club SF
#
snarfed
is tempted to comment instead
#
snarfed
or actually i should react
#
tantek
oh oby
#
GWG
snarfed, I think I have made a decision that will cause issues with the Micropub Plugin.
#
tantek
snarfed, why not both?
#
snarfed
GWG, go on...
#
GWG
I am going to make my plugins work like it.
#
GWG
snarfed, Own Your Swarm isn't working with Post Kinds because I stored my nested microformats flattened and you store them as they are.
#
GWG
So the solution is for me to change
#
snarfed
ok! including code for migrating data in the old format, i assume
#
snarfed
and/or handle both formats
#
GWG
Yes.
#
GWG
Haven't figured out which.
#
GWG
While I liked to simplify, it isn't worth messing up compatibility
#
GWG
I also wrote the Semantic Linkbacks code, but no one has Micropub for Comments yet, so not as urgent
#
GWG
Everyone wants own my swarm to work
AngeloGladding, j12t, leg, snarfed and [miklb] joined the channel