#dev 2017-11-02

2017-11-02 UTC
#
snarfed
ok! do you think we should default to single-valued and whitelist syndication etc? or default to multiply valued and whitelist u-photo etc?
#
snarfed
moving to #-wordpress
benwerd, KartikPrabhu, tbbrown, benwerd_, tantek and dougbeal|iOS joined the channel
#
tantek.com
created /? (+17) "claps? why not pay?"
(view diff)
#
tantek.com
edited /? (+4) "-r"
(view diff)
#
tantek
ok looks like that works locally
benwerd joined the channel
#
tantek
deployed and updated!
#
tantek
or vice versa as it were :)
#
benwerd
My localhost server was trashed by upgrading OSX D:
#
aaronpk
Oh yeah don't upgrade without a plan to redo your dev environment
#
[miklb]
aaronpk do you use homebrew for your local dev?
#
tantek
what is a dev environment
#
Loqi
It looks like we don't have a page for "dev environment" yet. Would you like to create it?
#
benwerd
Apache is taunting me with its "it works!" message
#
benwerd
"It works!" never means it's working
#
aaronpk
except I install a few things like nginx from source
[sdepolo], benwerd, tantek, renem, [keithjgrant] and snarfed joined the channel
#
snarfed
benwerd: try sudo cp /etc/apache2/httpd.conf~previous /etc/apache2/httpd.conf , or something similar
#
Loqi
[Ryan Barrett] Mac OS X
#
benwerd
^ Good call. Thanks!
tantek joined the channel
#
snarfed
(and then sudo apachectl -k restart)
tantek, benwerd, mblaney and [kevinmarks] joined the channel
benwerd, tantek, snarfed and [miklb] joined the channel
#
[miklb]
so I just hacked together an Alfred workflow so I can star a repo and post a micropub like. But I’d like to figure out how to do it with a syndication target still in the WordPress plugin
#
[miklb]
I’m confused by that
#
tantek
miklb the logs at https://twitter.com/khurtwilliams/status/925794855787417600 errantly include the comma after your User: page URL in the URL thus resulting in a broken link. I created a redirect to "fix" it
#
Loqi
[khurtwilliams] @ChrisAldrich Definitely agree. Wish I had read this, https://indieweb.org/User:Miklb.com, sooner.
#
[miklb]
I kinda got thatt, but wonder what it was about my user page he wished he had read sooner
#
[miklb]
I replied to the tweet to find out
#
tantek
I wondered the same, perhaps just that there are WordPress indieweb folks who have been working on these things?
#
tantek.com
edited /Falcon (+98) "/* Payment Links */ simple payment page done, add specific amount payment URL, Payment page with amount and what for"
(view diff)
#
tantek.com
edited /payment (+184) "add my example, Payment page is no longer brainstorming, multiple sites with it, move why before how"
(view diff)
#
tantek
seems like a generic "+Follow" webaction, if it has a follow on Twitter fallback, should have text / graphics that indicate that fallback rather than just a generic Follow
barpthewire, tantek, cweiske, [colinwalker], benwerd and agn1 joined the channel
#
petermolnar.net
edited /payment (+126) "adding monzo"
(view diff)
[kevinmarks], jeremycherfas, eli_oat and [eddie] joined the channel
#
[eddie]
miklb++
#
[eddie]
miklb: that’s awesome! Nice job with the Alfred Workflow
#
Loqi
miklb has 10 karma in this channel (49 overall)
#
[eddie]
micropub++
#
Loqi
micropub has 1 karma in this channel (4 overall)
snarfed joined the channel
#
Zegnat
moves Micropub to one of his top priorities this IWC
[miklb] joined the channel
#
[miklb]
eddie it’s really basic, just grabs the url of the frontmost browser tab and then uses shpub in shell script to do the micropub part, then I just curl silo.pub to trigger the star.
#
jeremycherfas
Miklb I left a message over in chat, which was a mistake. Would you mind sharing your Alfred workflow? I find studying ones that work a good way to learn.
#
[miklb]
sure. I need to clean it up a little, I want to add a check to make sure it’s grabbing a GitHub url before sending. It is my 1st workflow so can’t be sure it’s the *right* way
#
cweiske
what are you talking about?
#
[miklb]
Alfred is a macOS helper app that allows you to trigger a keyword that then can run a workflow chaining scripts and actions
#
cweiske
did you post something? I have the feeling I missed a part of the conversation, especially the start
#
[miklb]
I mentioned it early this morning?
#
[miklb]
ah, it was early morning here ?
#
jeremycherfas
Right. And I don't want to use it with Gihub, but I can imagine using it to post to Known in similar fashion.
#
[miklb]
I definitely think with what I learned about Alfred workflow I could see creating a more robust workflow that does more than just like/star a GitHub repo. Use secondary keywords to bookmark, post a note, etc
#
[miklb]
But I’ll share what I have now for sure.
tantek joined the channel
#
jeremycherfas
That was the kind of thing I was thinking about. Given Alfred's ability to store clippings and other things, it would be a useful way to use shpub without having to invoke the Terminal and remember all the details.
#
[miklb]
I’ll put it in a GitHub repo. I just need to move my silo.pub access key to a variable that doesn’t export first.
snarfed, John___ and benwerd joined the channel
John___ joined the channel
#
petermolnar.net
edited /payment (+144) "/* IndieWeb Examples */"
(view diff)
tantek joined the channel
#
aaronparecki.com
created /badge (+3053) "a little about badges, with indieweb, service, and silo examples"
(view diff)
[eddie] and [miklb] joined the channel
#
aaronparecki.com
edited /microcast (+628) "a bunch of indieweb microcasts"
(view diff)
#
aaronparecki.com
edited /microcast (+28) "see also"
(view diff)
#
eddiehinkle.com
edited /microcast (+149) "+ microcast"
(view diff)
singpolyma, benwerd and bengo joined the channel
#
aaronparecki.com
edited /Gratipay (+97) "shutdown notice"
(view diff)
[chrisaldrich] and snarfed joined the channel
#
@alienlebarge
@SaraSoueidan Perhaps something can be done with https://indieweb.org/Webmention ? Having a page where people put link of their questions ...
(twitter.com/_/status/926161955177615365)
KartikPrabhu and [eddie] joined the channel
#
[eddie]
!tell aaronpk: Is this the project you currently use to bridge IRC and slack? https://github.com/aaronpk/Slack-IRC-Gateway
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[aaronpk] Slack-IRC-Gateway: Bridge Slack rooms to IRC channels
benwerd, [kevinmarks], [chrisaldrich] and [miklb] joined the channel
#
[miklb]
I’m intrigued by the Watson integrations. I know there are some adapters for Hubot already, should open up more.
benwerd joined the channel
#
@ChrisAldrich
@alienlebarge @SaraSoueidan People who wanted to ask questions anonymously could ping with webmentions via https://commentpara.de/
(twitter.com/_/status/926168549462368256)
KartikPrabhu joined the channel
#
martymcgui.re
edited /microcast (+28) "/* IndieWeb Examples */ alphabetize"
(view diff)
#
martymcgui.re
edited /microcast (+179) "/* IndieWeb Examples (Alphabetical by full title) */ TWITIWAE"
(view diff)
benwerd joined the channel
#
aaronpk
[eddie] yep that's it!
#
Loqi
aaronpk: [eddie] left you a message 1 hour, 9 minutes ago: Is this the project you currently use to bridge IRC and slack? https://github.com/aaronpk/Slack-IRC-Gateway
#
aaronparecki.com
edited /podcast (+16) "/* See Also */"
(view diff)
#
aaronparecki.com
edited /Planning (+14) "/* Austin */ +me"
(view diff)
[eddie] joined the channel
#
[eddie]
aaronpk: I was thinking about a couple of things. 1, I was thinking about a slash_command in slack that would list all the users of an irc chat room. 2. I know often times there can be delays between the IRC room and slack and looking at the code I think it's because of the webhooks rather than the RTM api. I'm thinking when I have the time I might investigate adding RTM capability to the gateway.
#
[eddie]
Have you ever looked into using the Real Time Messaging API before? Just so I know if there's anything that's prevented it in the past
#
aaronpk
yeah i should probably rewrite it with the RTM API
#
aaronpk
it got a lot easier to use since i first wrote this
#
aaronpk
the other reason that delay exists is because the first time a slack user sends a message it spins up a new IRC bot and connects to freenode
#
aaronpk
that won't be solved by the RTM API
#
aaronpk
the web hooks actually run surprisingly quick when everything works well. sometimes their hook processing falls behind though.
#
[eddie]
Yeah sometimes it's quite speedy. I think the big thing about hooks is that Slack puts them as a lower priority so depending sometimes there are strange delays
#
aaronpk
one way to help solve that delay is to use the presence API methods to spin up a new IRC user as soon as a slack user becomes active, even before they say anything
#
[eddie]
as far as the IRC bot, do they shut down after awhile?
#
[eddie]
Ohhh yeah that would work
#
aaronpk
yeah the IRC bots disconnect after like 10 minutes of not being used
tantek and benwerd joined the channel
#
[eddie]
ahhh gotcha. Yeah, so if the bots used the presence API that would definitely help.
#
aaronpk
that'll be a pretty significant rewrite
#
[eddie]
Yeah. I can imagine ? I don't know the IRC stuff well but I know the Slack stuff pretty well.
#
aaronpk
the other good thing about using the RTM API is it means this project will finally work both directions
#
aaronpk
right now the IRC->Slack is handled via Loqi
#
[eddie]
ohhh I was wondering how that happened
#
aaronpk
also because Loqi knows how to look up name and pictures for IRC users
#
aaronpk
so that part would need to get built into this project too
#
[eddie]
ohhhh that makes sense
#
aaronpk
it's not a trivial amount of work which is why i haven't gotten around to it :)
#
[eddie]
most definitely. I would say I have a little more incentive to write code for it because I use it often. lol Is the name and pictures look up code in a github project?
#
[eddie]
I imagine loqi might have a lot of code you don't necessarily want to open source so I wasn't sure if it would be up there or not
#
aaronpk
do you use it for a different slack group or just here you mean?
#
[eddie]
just here
#
aaronpk
this isn't the best explanation of how it works, but I'd like to use this same mechanism https://github.com/aaronpk/TikTokBot#profile-data
#
Loqi
[aaronpk] TikTokBot: TikTokBot is a bot framework for Slack and IRC.
#
aaronpk
the code loqi uses for that isn't open source but essentially it responds to that web hook and returns that payload, and it looks up the profile information from the microformats on the /irc-people page
#
[eddie]
ohhhh I never looked at the code of the IRC People page. So basically each person is an h-card :thumbsup:
#
aaronpk
yep! that's how you're getting pictures for the IRC users in slack :)
#
[eddie]
Awesome!
calumryan joined the channel
#
[eddie]
Thanks for brainstorming, feels good to get some of that stuff documented for later reference
KartikPrabhu, benwerd and [miklb] joined the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
@khurtwilliams
@miklb @ChrisAldrich Had I read your “Thoughts on WordPress” section before starting out with IndieWeb my expectations would have been properly set.
(twitter.com/_/status/926187853079605250)
[kevinmarks] joined the channel
#
vanderven.se martijn
edited /Planning (-26) "/* Planned */ Removing voxpelli from Berlin on-site Leaders Summit"
(view diff)
leg joined the channel
#
vanderven.se martijn
edited /Planning (-152) "/* Planned */ Meet-up instead of Leaders summit. Details to follow."
(view diff)
benwerd, KartikPrabhu and snarfed joined the channel