#dev 2018-06-11

2018-06-11 UTC
AngeloGladding, [grantcodes], renem, eli_oat, cloud-maingo and tantek joined the channel
#
gregorlove.com
edited /token_revocation (+107) "/* Clients */ second!"
(view diff)
#
gRegorLove
Though I'm planning to move to session-based tokens. Still will revoke them on signout
#
aaronpk
even better
renem and [cjwillcock] joined the channel
#
gRegorLove
aaronpk: Should this line set the 'me' from the $token array instead of $params? https://github.com/aaronpk/Teacup/blob/master/controllers/auth.php#L284 compare with line 264
#
aaronpk
shoot yes, I must not have updated teacup when I fixed that on all my others
#
aaronpk
teacup is not the best example of a client right now, it's got a bunch of out of date stuff
#
gRegorLove
I thought so. I did upgrade some minor stuff as I was going through it
#
gRegorLove
Checking against Quill too
snarfed joined the channel
#
aaronpk
and check ownyourswarm, I think that one is the most recent
#
aaronpk
I think i've been moving most of that logic into the IndieAuth\Client library. but quill still does it manually so that it can give you more debugging info along the way
snarfed joined the channel
#
gRegorLove
I did update indieauth-client during development to use its normalizeMeURL() instead of the local one
#
aaronpk
ah cool
eli_oat, snarfed and chrisaldrich joined the channel
#
www.boffosocko.com
edited /Drupal (+263) "/* Articles */ Roy Scholten article Implementing IndieWeb on your personal Drupal site, part 1"
(view diff)
snarfed joined the channel
#
gRegorLove
Is it ok if some token endpoints return scope=post when we requested scope=create? Is that a backcompat thing?
snarfed joined the channel
#
aaronpk
gRegorLove: yeah sounds like a token endpoint that is not updated. Tho also in practice it is not impossible for the token to be issued with different scopes than what you requested for a variety of reasons.
#
gRegorLove
Should the client do anything special if it's different?
#
gRegorLove
woo, session-based tokens working.
#
gRegorLove
Code was already storing them in $_SESSION so pretty easy
#
aaronpk
Probably not. I'd say at most it should warn the user that the scope granted was different than requested, but the user may have a site that uses different scopes, or may have granted it only read scope intentionally and won't be surprised when a post fails
snarfed joined the channel
#
gregorlove.com
edited /indiebookclub (-34) "/* Issues */ resolved, link to github for future issues"
(view diff)
snarfed joined the channel
#
GWG
snarfed: I was just writing about you
tantek, tantek__ and swentel joined the channel
#
swentel
GWG, had any luck figuring out the new code ?
tantek, barpthewire, cweiske, [xavierroy], swentel, [pfefferle], AngeloGladding and [mrkrndvs] joined the channel
#
www.svenknebel.de
edited /Gitaly (+10) "more precise dfn of gitaly. why does this have an article of it's own?"
(view diff)
iasai, swentel and jeremych_ joined the channel
#
jeremycherfas
!tell sknebel Because Loqi makes things fricrtion free?
#
Loqi
Ok, I'll tell them that when I see them next
#
jgmac1106
[gRegorLove] thanks for pointing [cjwillcocks] to the mf2 FAQs about CSS, mf2, and styling. Get the question a lot. Maybe worth a more expanded artilce that covers best practices when using CSS and mf2
#
GWG
!tell swentel Got it working
#
Loqi
Ok, I'll tell them that when I see them next
#
swentel
aha, cool :)
#
GWG
swentel, if you share to the app, how do you know which account it goes to with multiple ones?
#
swentel
GWG, currently it selects the account that was last selected
#
swentel
you can switch accounts through the menu in the top left
#
swentel
but I think I need to change this a bit when sharing
#
GWG
swentel, that could lead to mistakes
#
swentel
yeah, I know
#
swentel
not sure what the best thing is here
#
swentel
1) ask which account to use before going to the share screen
#
swentel
2) allow switching before doing the actual post
#
GWG
swentel, either prompt or set a default for sharing?
#
swentel
I personally prefer one, a prompt first (easier so the syndication targets are set right)
#
swentel
and oh yes
#
swentel
a default one for sharing
#
swentel
good idea
#
swentel
how exactly does it work in the ios version ? I don't have a test device anymore :/
#
GWG
No idea, I have never had an iOS device
#
swentel
so yeah, a default one to share is a really good idea, especially since I allow for 'direct posts' when you share
#
swentel
created an issue
barpthewire, sketchess, [mrkrndvs], [stefp], leg and [eddie] joined the channel
#
[eddie]
swentel: for the iOS version, you can set a “default account” in the main app settings. When sharing, underneath the options for responses (like, reply, etc), there is a button with the current active account name and if you click on it you can change which account you post to. This change is a temporary change for that share action. Next time the Share Sheet comes up it returns to the default account
barpthewire joined the channel
#
Zegnat
jgmac1106: I just pushed some updates to the citation machine. @BOOK and @INBOOK should now generate things in APA format :D
#
aaronpk
Unintended side effect of running a DNS based ad blocker at my house. Google AMP results almost entirely load just a white page. I think the AMP ad JS is being blocked and then the google AMP rendered freaks out and gives up instead of a normal browser which would stilll show you something
#
Loqi
amp has -1 karma
#
cweiske
no ads -> no content
#
cweiske
sounds like a business model
snarfed joined the channel
#
sknebel
at least some even have a stupid fallback where they start hidden and then become visible after 10 seconds or so...
#
Loqi
sknebel: jeremycherfas left you a message 4 hours, 4 minutes ago: Because Loqi makes things fricrtion free?
#
sknebel
heh, probably
#
jgmac1106
[zegnat] testing in the wild and I can barely find BibTex citation that uses @book or @inbook they all mislabel book as journal
#
Zegnat
Guess even BibTeX users don’t know the different types available. Haha
#
jgmac1106
it is part bc we are using the way Google scrapes citations from the web and these are often done using human typed citations on different vitas, publication pages, etc, lot of garbage
#
jeremycherfas
Why don't you look at the citations available direct from publishers?
#
jeremycherfas
GScholar is not reliable for the reasons you give.
#
jgmac1106
Still happy to keep working on the project for your portfolio but it seems the approach we took would require as much manipulation to get APA correctly from Google Scholar that typing it may be easier. Is an idea [jeremycherfas]
#
jgmac1106
also getting some feedback that mf2 and academic citations just shouldn’t be combined at all
#
Zegnat
Figure out how to publish in HTML before figuring out mf2. Although it isn’t really hard to add h-cite, as I have showed
#
Zegnat
*shown
iasai joined the channel
#
jgmac1106
you woudl think [zegnat] that some combination of “how to correctly write apa citation in html” would show me somebody who already did this, but it didn’t will make the plain html for each ciation type
#
Zegnat
It might be better to build something that gives people a form then, to generate HTML. As an extra it could have a textarea to input BibTeX into if they have it.
#
jgmac1106
I wonder if we could fork this or even get another contributor: http://antiquity.jamie.ly/tags/citethis/
#
skippy
good morning.
#
jgmac1106
but its json not php
#
Loqi
morning!
#
jgmac1106
could use a bunch of the javascrpit…but gets back to just writing the html, still can’t believe I can’t find examples
#
Loqi
[phpforfree] citationbuilder: Citation Builder is a web-based tool designed to quickly and easily generate citations for sources consulted during the research process. While powerful tools such as RefWorks, Zotero, and Endnote exist to generate citations, understanding how to use these tools can require an investment of time. Citation Builder is an attempt to provide a low-barrier method for users to generate citations for commonly consulted source media in either APA (American Psychological Association) or MLA (Modern Language Association) formats.
#
Zegnat
“Educational Community License” ..?
#
Zegnat
That Citation Builder does look good. I guess you can just use that, jgmac1106
#
jgmac1106
happy to keep working with you if it is about building up your portfolio
KartikPrabhu joined the channel
#
jgmac1106
I am also thinking once I get this https://github.com/jgmac1106/coursetemplate and this https://github.com/jgmac1106/mf2syllabus fixed could build a UI layer that acts as an mf2 course builder, that is the ultimate goal, citation builder was just first piece we decided to tackle
#
Zegnat
Reproducing someone else’s work, that is probably more complete already, isn’t very giving. Ha!
#
Loqi
[jgmac1106] coursetemplate: A blank course templates with microformats2 mark up
#
Zegnat
But if you have some concrete plans that just need someone to come in with programming time, hit me up :)
#
jgmac1106
I do, and hoping for a demo at IndieWeb Summit for progress, and then want to use it as a test case when I teach a class in July where people will remix the template. I was going to just try and have them use my Glitch account and remix in plain html but watching you crank out greg-cites and the little bit of javscript I know makes a builder seem quite doable, not by summit, want correct html templates ready for that that is
#
jgmac1106
need to find someone to also look at my css grid errors, did lots wrong there, but that can be fixed after html proper
#
loqi.me
created /Doodle (+133) "prompted by jeremycherfas and dfn added by jeremycherfas"
(view diff)
#
jgmac1106
and hiring managers are silly, I think watching somebody interact and develop an existing open source projects, or copyrighted code not hidden in private repos, should be just as important as personal portfolios of self developed projects
#
loqi.me
edited /Doodle (+38) "jeremycherfas added "https://doodle.com" to "See Also""
(view diff)
#
Zegnat
Yeah. I just need to crank out my actual public code output for that to work, jgmac1106. “Countless hours of discussion on issues and specifications” doesn’t get me hired anywhere ;)
#
jgmac1106
We will talk on Wed and develop plan to scratch everyone’s itches
#
@bphogan
Software dev is 20% code and 80% people. Yet this industry pushes coding. We create code “bootcamps” , create “everyone should code” startups, crap on “soft skills” or anything that isn’t typing code, divide on “tech” and “non-tech”. Code is 20%. And I’m being generous.
(twitter.com/_/status/1004192832796667907)
KartikPrabhu and snarfed joined the channel
#
@schmarty
Panic at the GitHub, IndieAuth clarifications, and Bridgy's farewell to Facebook. Also, I have a cold. It's your ~ 10min update on the #IndieWeb community! This Week in the IndieWeb audio edition for June 2nd - 8th, 2018. https://martymcgui.re/2018/06/11/114427/
(twitter.com/_/status/1006201257378373632)
[schmarty] and snarfed joined the channel
#
jgmac1106
[tantek] did have a question on the bare requirements sction of the h-entry page ” name (can be implied) “ and best practice beyond bare requirements “name - for explicitly named/titled entries. Otherwise the entry is assumed to be a "title-less" note (like a tweet). “ Some may find it confusing
tantek and [kevinmarks] joined the channel
#
gRegorLove
jgmac1106, there's a couple posts linked on the FAQ: http://microformats.org/2005/10/19/more-than-styling and http://tantek.com/log/2002/12.html#L20021216t2238 are good for the question about class attribute and CSS.
#
Loqi
[Ryan] Class attributes are about more than styling
#
gRegorLove
schmarty++ Panic at the Github, haha
#
Loqi
schmarty has 14 karma in this channel (88 overall)
snarfed joined the channel
#
jgmac1106
thx [gRegorLove}
#
@keithjgrant
@adactio I think my webmention to you went a little crazy. My whole post showed up as a reply on your site. Not intended! https://adactio.com/journal/13831
(twitter.com/_/status/1006216615229382656)
#
tantek
wow that's hilarious
#
tantek
grantcodes: comment is much longer than the original post 😂
#
tantek
maybe adactio wants it that way? or maybe he'll decide to implement an ellipsing algo
#
tantek
that definitely belongs as some sort of example in /comments
#
tantek.com
created /Zegnat (+39) "r"
(view diff)
[keithjgrant] joined the channel
#
tantek.com
created /sknebel (+36) "r"
(view diff)
#
Zegnat
We are so famous are usernames need dedicated pages?
#
tantek
just easier to link you that way
#
tantek
redirects anyway
#
snarfed
!tell cleverdevil hey, looks like you're subscribed to your instagram feed via granary with cache=false in the URL. mind removing that? aperture fetches it every 60s or so, and it's a nontrivial chunk of granary's current load. TIA!
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
wow ouch
#
snarfed
yeah those requests take ~4-20s when instagram isn't rate limiting granary. concurrent, much of it is network i/o blocked, but still
#
snarfed
!tell cleverdevil (to clarify, just remove cache=false. definitely feel free to keep the subscription itself!)
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
haha wow
#
aaronpk
hm my granary instagram hasn't been updating at all
#
aaronpk
checking out that URL manually i'm getting an http 401
#
aaronpk
does that mean I need to give it a new cookie?
#
aaronpk
lol how do I copy a cookie out of the browser now? It seems to only copypaste the first few chars
[grantcodes] joined the channel
#
[grantcodes]
tantek: not my webmention, that was [keithjgrant]
#
aaronpk
oh there's a different chrome tab for that
#
tantek
oops yeah - sorry grantcodes :)
#
[keithjgrant]
Yeah, he's Grantcodes, I'm Keith Grant, WM sent to Jeremy Keith. Not confusing at all.
[cleverdevil] joined the channel
#
[cleverdevil]
[snarfed] I'm on the case!
#
Loqi
[cleverdevil]: snarfed left you a message 35 minutes ago: hey, looks like you're subscribed to your instagram feed via granary with cache=false in the URL. mind removing that? aperture fetches it every 60s or so, and it's a nontrivial chunk of granary's current load. TIA!
#
Loqi
[cleverdevil]: snarfed left you a message 31 minutes ago: (to clarify, just remove cache=false. definitely feel free to keep the subscription itself!)
#
tantek
so what you're saying is, Jeremy Keith got a webmention from Keith J Grant, not Grantcodes. Got it. I think.
#
[cleverdevil]
[snarfed] in Aperture, I am not showing a URL with &cache=false
#
[cleverdevil]
I'll delete and re-add just in case.
raretrack joined the channel
#
snarfed
[cleverdevil]: huh! odd. thanks!
#
snarfed
aaronpk: watchtower is fetching this url...does it keep polling urls even after subscribers have unsubscribed? any other ideas?
#
snarfed
not a big deal, just curious
jackjamieson and eli_oat joined the channel
#
tantek
websub hub caching problem?
#
aaronpk
snarfed: watchtower should delete the URL after the last subscriber in aperture removes it
#
snarfed
huh ok, odd then
#
aaronpk
I do see cleverdevil's URL there tho
#
snarfed
probably a different one. this one doesn't have his username. path is /instagram/@me/@friends/@app/?format=html&cookie=...
#
aaronpk
yeah that's the one I found
#
aaronpk
also that is a very short cooke...
#
aaronpk
hmm this is weird, there are no subscribers of that URL left, so it shouldn't be fetching it anymore
#
aaronpk
I wondre how that happened
#
aaronpk
okay, pushed a fix to only check feeds if there are active subscribers
#
aaronpk
that seems like a good safety check for watchtower to do
#
tantek
aaronpk, worthy of writing up in /WebSub as implementer guidance?
#
tantek
for hubs?
#
aaronpk
eh maybe? seems pretty obvious in retrospect
#
aaronpk
this was more of a mistake in my implementation, cause I thought it was already doing that
#
snarfed
thanks aaronpk!
snarfed, eli_oat, KartikPrabhu, tantek and AngeloGladding joined the channel
#
jgmac1106
I am assumming there is no way to use an h-event spread across a grid in table like presentation: https://github.com/jgmac1106/mf2syllabus/blob/master/index.html
#
jgmac1106
I would need to rethink my design so each h-event (want to add due date) would be in one grid cell?
[deeden] joined the channel
#
gRegorLove
jgmac1106, Not sure I follow -- is there a live version of that page I can see? Generally there shouldn't be restrictions on layout with microformat usage, unless you're styling based on the mf class names, which is recommended against
#
grant.codes
edited /Micropub-brainstorming (+668) "/* Query for post list */ Improve use cases, query parameters, other considerations and IndieWeb examples sub sections"
(view diff)
[grantcodes] and tantek__ joined the channel