#dev 2019-04-25

2019-04-25 UTC
miklb joined the channel
#
miklb
howdy
#
GWG
miklb: Long time no voice
#
miklb
indeed.
#
miklb
How are things?
#
GWG
Still fighting the good fight
#
GWG
You?
#
GWG
Anything Indieweb related going on? If not, would be curious to hear in -chat
#
miklb
I've been slowly working through what I want to do and have started work on a static site. I could just never get a WP workflow that worked for me and I've soured on WordPress in general lately.
#
GWG
I sour on large parts of it.
#
GWG
But I press on, for many reasons.
#
miklb
sure. I keep up with the commits/issues still. The last fix for micropub finally solved my issue with posting photos but at that point I'd already made my mind up to go back to static
#
GWG
There are a lot of good things and a lot of bad things.
#
GWG
miklb: I understand.
#
miklb
I got in the weeds learning css-grid and some of the more modern CSS modules. It's been fun. But now time to build.
#
GWG
I always end up interested in that, but my design skills leave much to be desired.
KartikPrabhu joined the channel
#
miklb
I was sorta stuck in 2010 era CSS and wanted to fix that. I think I have. Kinda like I still functional vs object-oriented php :-)
#
miklb
I was curious if anyone doing eleventy or another static generaor have a trick for generating a unique id for notes
[tantek] joined the channel
#
tomasparks
[miklb]: what type of id to you need?
#
tomasparks
*do*
#
miklb
some kind of unique ID. Maybe just a time stamp w/minute/second would work for notes w/out titles
#
miklb
when I used voxpelli's micropub endpoint it generated a unique ID, but I never came up with a system for notes I didn't write via micropub.
#
[tantek]
I thought I saw someone else using datetime stamp with seconds granularity for notes permalinks
#
[tantek]
what is URL Design
#
Loqi
URL design is the practice of deliberately designing URLs, in particular, permalinks, typically for a better UX for everyone who creates, reads, and shares content https://indieweb.org/URL_design
#
[tantek]
maybe more there ^^^
#
tomasparks
I did it at the micropub stage with hasing the note
ketudb[m] joined the channel
#
tomasparks
if its a html id, I would use your static gen rewriter
#
tomasparks
*theme* rewriter eg: liquid filter
iasai joined the channel
#
miklb
thanks [tantek]
[jgarber] joined the channel
#
[jgarber]
What’s the room’s opinion on publishing code libraries (e.g. Ruby gems, Python packages, etc.) under the IndieWeb GitHub organization (vs. publishing on an individual GitHub account)?
#
aaronpk
we had a discussion about this recently...
#
GWG
Did we come to a conclusion?
#
GWG
I remember a lot of different ones.
#
[jgarber]
Oh, whoops. Apologies! Anyone have a link to that conversation?
#
aaronpk
trying to find it on the wiki, but having trouble
#
GWG
[jgarber]: What sort of project though do you want to publish under the org?
#
aaronpk
i remember discussing some criteria for when something is appropriate for the indieweb org vs a personal account
#
aaronpk
and then we moved a bunch of stuff around
#
GWG
That was Microformats vs Indieweb
#
GWG
I'm not sure where we got with the rest
#
GWG
Maybe I'm misremembering
#
aaronpk
ooh was the discussion limited to that scope?
#
[jgarber]
I finally took someone’s (I forget who, precisely) good advice and put together an IndieAuth/Micropub/Webmention endpoint discovery Ruby gem. Was thinking that might be a nice fit for the IndieWeb organization.
#
GWG
I don't think it was, but I don't think we came to a conclusion on personal vs community.
#
[jgarber]
(in lieu of maintaining a handful of discrete and effectively similar gems for each of those endpoint discoveries)
#
aaronpk
ah cool
#
[jgarber]
No sweat to me either way. Pro of my personal account is I maintain more ownership. Downside is lower visibility.
#
[jgarber]
Pro of the org account is better visibility and more opportunity for collaboration.
#
aaronpk
it looks like there are a handful of those kinds of libraries on the org already, so sounds fine to me if you want to start it there from the beginning
#
aaronpk
this is more -meta, but we should document actual criteria for that. i'll add that to the organizers topics.
#
aaronpk
and that was when we separated the microformats/indieweb libraries better
#
[jgarber]
Ah, I see there’s a channel for that sort of stuff. :thumbsup::skin-tone-2:
#
[jgarber]
Thanks for the gut check. I’ll start it off in the org and see how things go. We can always move it later if it’s not working out.
#
[jgarber]
I do recall being in the midst of some of the IndieWeb/Microformats GitHub organization tidying.
#
[jgarber]
Oh, hah! And I see I made it into the notes from last year.
#
[jgarber]
One of the IndieWeb GitHub organization owners might see this come in:
#
[jgarber]
> A request to install Travis CI has been submitted on the @indieweb account.
#
[jgarber]
Requested permission for Travis CI to hook up to the new repo I just created.
#
aaronpk
how do i approve that?
#
[jgarber]
You might get an email. Nosing around an org I’m an owner on to see where in the Web UI you might see something.
#
aaronpk
ah just got the email
#
aaronpk
oh i was looking at the repo settings, but it's actually an approval on the entire org
#
[jgarber]
GitHub Apps (like Travis CI) can be approved for _all_ repositories automatically or on a case-by-case basis. I went with the latter.
#
[jgarber]
Yeah, GitHub Apps access control is at the organization level (or user level for your personal repos).
#
[jgarber]
GitHub’s default is to enable an App for all repositories in an account or in an organization which… is kinda bonkers in my mind. I prefer the opt-in approach.
#
[jgarber]
Success! https://travis-ci.com/indieweb Thanks, [aaronpk]!
#
[jgarber]
aaronpk++
#
Loqi
aaronpk has 63 karma in this channel over the last year (234 in all channels)
#
aaronpk
great!
KartikPrabhu joined the channel
#
[jgarber]
Now I can deprecate a whole bunch of other gems. 😄
#
Loqi
[indieweb] indieweb-endpoints-ruby: A Ruby gem for discovering a URL's IndieAuth, Micropub, and Webmention endpoints.
#
miklb
jgarber++
#
Loqi
jgarber has 5 karma in this channel over the last year (6 in all channels)
KartikPrabhu, ichoquo0Aigh9ie, Kongaloosh_, [tantek], iasai, [Rose], cweiske, swentel, [frank], swentie and strugee joined the channel
#
@jgmac1106
↩️ How do we build #prosocialweb? One domain at a time. Do not define success as building for the masses. That got us in this mess. All the tools exist just using W3C web standards. We do not need to invent the wheel. Webmentions for example can… https://quickthoughts.jgregorymcverry.com/2019/04/25/how-do-we-build-prosocialwebone-domain-at
(twitter.com/_/status/1121354596188852224)
[grantcodes], [jgmac1106], [Rose], [jgarber], [eddie], [frank], [schmarty], [josh_nadas], [cleverdevil], jackjamieson, gRegorLove, snarfed, gRegorLove_, [chrisaldrich], miklb and [kevinmarks] joined the channel
#
GWG
I am still having trouble with webmention design. Taking another turn
#
GWG
Also waiting for an approving review on Indieauth
snarfed and [tantek] joined the channel
#
gRegorLove
webmention design?
#
GWG
Redesigning the WordPress webmention code
#
GWG
The webmention and Semantic Linkbacks code are separate. Working to unify them
#
GWG
So, the first question is...if you have php-mf2, what core webmention functions can be rewritten using it, reducing the overall code
#
snarfed
GWG: that sounds broader than just unifying
#
snarfed
try to separate projects, that will make your life easier
#
snarfed
ie try just unifying, and then afterward, try refactoring to use more php-mf2
#
snarfed
eg the simplest way to unify would be to literally just put all the files together, with little to no editing, make that bundled plugin, and see if everything still works
#
GWG
snarfed, I am not trying to solve all the problems at once. That was too much
#
snarfed
heh yes. i'm saying something stronger. try hard to solve *just one* problem at a time.
#
GWG
I am only trying to reduce the code duplication on fetching
#
snarfed
sure! great! sounds like a good one. i would do that *separately* from unifying the two plugins though.
#
GWG
The problem is, it isn't an Indieweb repo, it is a pfefferle repo, so I can't create a dev branch and have him approve PRs to it. I need him to do that
#
GWG
And I don't think he'll approve the merger without the new data migration
#
snarfed
hrm but you can still do them in separate PRs, right? if you commit to doing that, doubt he'd require you to put it all in a single huge PR. no one generally likes those
#
GWG
That's why I decided to try and integrate the dependencies first
#
GWG
Then migrate the data from the old storage to the new.
#
GWG
So, bring in the parts that work without a significant rewrite
#
GWG
Avatar storage, fetching, etc
#
GWG
I am just stuck on the glue that connects them.
#
GWG
But I will get there.
#
GWG
I am also contemplating xpath vs regex for finding webmention links.
#
GWG
It's a change I made in my own code because php-mf2 will accept a domdocument as input so why generate one twice?
#
GWG
The last rewrite of webmentions took a long time. Longer because the PRs were so big.
[frank], [tantek] and [eddie] joined the channel
#
gRegorLove
sigh. Looks like techcrunch is doing something with JS that breaks IA saving. The article loads initially in the archive when you save it, but then redirects to their Not Found page.
#
gRegorLove
Solution: archive the AMP page instead XD
[frank] and [Rose] joined the channel; PatrickMNiedziel left the channel
iasai, snarfed, KartikPrabhu, [eddie], [tantek], [manton], [schmarty], miklb, [kevinmarks], chrisaldrich and [jgmac1106] joined the channel