#dev 2019-10-15

2019-10-15 UTC
#
[tantek]
posted earlier in meta but figured this might appeal to dev more - CFP for Mozilla space talks at FOSDEM in Brussels 1-2 Feb 2020! http://mzl.la/2MDQEIF
dougbeal|mb1 and [xavierroy] joined the channel
#
[xavierroy]
I use tagmojis for some of my posts
[snarfed], gRegorLove, T_00, [Lewis_Cowles], jfoster, [fluffy], [Michael_Beckwit, [Rose], KartikPrabhu, jeremycherfas, [jeremycherfas], deathrow1, aleksip, jeremych_, [KevinMarks], [grantcodes], [tonz], [jgmac1106] and HerculanoDiscord joined the channel
#
jacky
I've been trying to sign into Indigenous on Android and the redirect URI is giving me a 404
#
[Lewis_Cowles]
[tantek] is this just for Mozillians?
deathrow1 joined the channel
#
@jgmac1106
↩️ thx for pinging. I can add the metadata but it really is just for fun until webmention support was added. I can't do that. (https://quickthoughts.jgregorymcverry.com/s/1w4LUk)
(twitter.com/_/status/1184091318642974723)
gxt, [KevinMarks], [grantcodes], [aaronpk], jfoster and [tantek] joined the channel
#
[tantek]
[Lewis_Cowles] not sure how strictly. It’s a fairly broad term. Like have you ever filed a bug in bugzilla? Edited Wikimo? Etc
#
[tantek]
It was announced in our publicly viewable weekly projects meeting yesterday
KartikPrabhu and [schmarty] joined the channel
#
[Lewis_Cowles]
I filed a bug about CSS that I was shown by a user I helped. They closed it and said they were following the spec
[jgmac1106], jackjamieson, [manton] and gRegorLove joined the channel
#
[jgmac1106]
Anyone have a GitHub client for Android they like? Tried Fasthub but it seems to have breaking bugs and all issues go unanswered
[dougbeal] and [snarfed] joined the channel
#
[snarfed]
[jgmac1106] out of curiosity, which bugs? i use it. not heavily, but seems ok so far
#
[jgmac1106]
Trying to add a new file in a folder. Repo mantainer does say working on v5 so no bugs in v4 will be addressed or answered
#
Loqi
[textplusdata] #2709 Create new file defaults as folder name, cannot change
#
[jgmac1106]
So I am trying to add a file (by hitting ±) to jgmac1106/homepage/notes and cannot
#
[jgmac1106]
Just trying to see if I can get a mobile workflow going to go from Sublime on Android > Fasthub >GitHub FTP actions>live on my site
#
[snarfed]
oh wow, it definitely never occurred to me to author into a git repo on my phone. you're far ahead of me there 😁
#
[jgmac1106]
Yeah and now with some of the actions I might be able to go live from a text editor on my phone real quick.... Way easier than me figuring out micropub endpoints (for now)
#
[jgmac1106]
No tear, excited to see if I can get it working. Have templates for notes, replies, and posts ready to go on the phone. Will learn micropub one day, that day is not today
[tantek] joined the channel
#
[tantek]
GitHub UI on a mobile device is a good goal IMO
[eddie], eli_oat, gxt and [Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
termux
#
[Lewis_Cowles]
although I don't have my private key on my phone, it could be an option
#
[tantek]
[snarfed] I am very torn between working Micropub server support and working on writing UX/tool support (to which I would add Micropub client support) per https://indieweb.org/Falcon#better_post_creation_UI
#
[tantek]
especially since I know my personal pain/struggle points will be with all things post creating/editing/undoing UX and feeling the "freedom" to rewrite things however necessary to make it all work the way it feels it should work feels pretty important
[snarfed] joined the channel
#
[tantek]
Also has anyone here written or is using an undoable DM sending UI on their site?
#
gRegorLove
Is anyone doing DM sending on their site?
#
gRegorLove
what is direct message?
#
Loqi
messaging refers to one user sending another user a message (memo, letter, txt, photo …) that they read sometime later; on the IndieWeb, either directly via a personal site, or from one site to another https://indieweb.org/direct_message
#
sknebel
gRegorLove: I seem to remember sebsel had an interface one could describe as DM for the private webmention experiments we did, unless I'm confusing "planned" with "implemented" here
[fluffy] and [dougbeal] joined the channel
#
aaronpk
haha schmarty when I favorited your post my site pulled in the video. i guess it was marked as u-video?
#
aaronpk
should probz remove that
[schmarty], M}Discord[m] and KartikPrabhu joined the channel
#
[schmarty]
This is when I get confused about when (not to) mark up photos and videos
#
aaronpk
only mark up photos and videos if you are making a photo or video post
#
[schmarty]
I tend to think of it as "has" vs "is". It is a post with photos and a video! I want those to be consumed by readers.
#
[schmarty]
Mental model disconnect
#
sknebel
for photos: would it work if a reader puts all photos in a photo gallery at the top of the post, and then shows eventual text content below? then it might be a photo post
#
sknebel
(really, also similar for videos mixed in among them, but we can't actually express that well in mf2)
#
[schmarty]
That's what I am stuck on! PTD disagrees with me.
#
aaronpk
The photos will be consumed by readers when they render the html of your post
#
aaronpk
you even have those photos interspersed with text in particular places!
#
aaronpk
thats very different from saying here is a pile of images and some text
#
aaronpk
sknebel: what you're describing is basically how an Instagram multi photo post looks
#
sknebel
aaronpk: I know. We've talked about how to express that a few times :D
#
aaronpk
[schmarty]: think of it this way... you've already gone to the trouble of "marking up" your photos in HTML by placing them in specific locations in between text
#
aaronpk
if rendering that HTML doesn't give the experience you want, then you'd look to see if microformats will enhance it in some way
#
aaronpk
and in this case, adding microformats to those photos adds no value
#
sknebel
the multi-photo-video thing could also be a topic for the weekend
#
aaronpk
the only unresolved issue really is how to create a post with a mix of photos and videos in a particular order
#
sknebel
"only" :)
#
aaronpk
i mean it's a big one
#
aaronpk
but everything else has been working well
#
sknebel
Image vs poster image might still be a thing? Don't know if that's actually done in practice though
#
sknebel
But yes, a lot of it works
#
aaronpk
hm where are these documented
#
aaronpk
post type discovery github?
#
sknebel
Good q, going off memory right now
#
sknebel
(and on my way to bed. Good night, looking forward to Thursday!)
#
aaronpk
i collected some links into the session ideas section on my user page
[tantek] joined the channel
#
[tantek]
sounds like aaronpk got it all
#
@davidwbarratt
↩️ @ericlbarnes that standard already exists between http://schema.org and WebMentions.
(twitter.com/_/status/1184246365003636741)
[fluffy] joined the channel
#
[fluffy]
One thing that bugs me with the way that mf2 represents photo collections is that it treats the text as being just an unassociated piece of text for the entire thing, but there’s a lot of use cases for having photos being inline into long swaths of text, like when talking about building things or doing reviews of stuff or just, like, articles in general.
#
[fluffy]
So like beyond just the unambiguous ordering issue.
#
[fluffy]
like http://beesbuzz.biz/articles/5442-My-streaming-setup for example, the placement of the images with respect to the text is important
#
[fluffy]
and that gets lost in mf2
#
[tantek]
aaronpk already answered that. you only mark up photos with u-photo if it's a photo post.
#
[tantek]
a collection post is its own thing
#
[tantek]
that contains other h-entry s
KartikPrabhu joined the channel
#
[tantek]
each of which is a photo post. that's how "mf2 represents photo collections"
#
[tantek]
"use cases for having photos being inline into long swaths of text, like when talking about building things or doing reviews of stuff or just, like, *articles* in general." <--- you answered your own question. that's not a photo collection, that's an *article*
#
[fluffy]
so how are images that are embedded into an article supposed to appear in mf2? Just in the <img> inline in the content HTML?
#
[tantek]
like everything else in the e-content
#
[tantek]
basically, no reason to reinvent HTML (composite text + images format)
#
[tantek]
in particular no reason to *badly* reinvent HTML into a JSON format
#
[tantek]
even then plenty of devs are trying (and failing horribly, both feature wise, and for a11y, i18n etc.)
#
aaronpk
It always comes back to this: if you don't have a consuming use case for mf2 then don't use mf2
#
[tantek]
that too
#
aaronpk
if the html can be consumed just as well or better, then just use html
#
[tantek]
also don't reinvent HTML. you're likely to do a very bad job at it
#
[fluffy]
Right, I’m certainly not in favor of doing that
#
[fluffy]
I keep on feeling like whenever I read up on the mf2 semantic stuff used in indieweb things I get confused because like, it’s supposed to be this uniform thing that everything fits into to be Indieweb Compatible but then the things I’ve already been doing turn into edge cases instead
#
aaronpk
your example there does benefit from microformats, specifically h-entry with name and content properties, and not much else
#
aaronpk
I wouldn't call that an edge case
#
[tantek]
"this uniform thing that everything fits into to be Indieweb Compatible" no
#
[fluffy]
so okay what I’m getting from this is that I shouldn’t add `u-photo` classes to my article/blog/etc. posts, but just to my art/comics/etc. posts
#
[tantek]
no claims of any grand uniform compatibility
#
[tantek]
microformats have always been about 80/20 because if you aim for 100 you get the every growing schema morass
#
[fluffy]
okay but then the reason I started adding u-photo to everything was that bridgy fed was insisting on that for any images to pass through, because that was necessary to make it activitypub-compatible, because activitypub folks (I know, that isn’t indieweb) get upset about IMO spurious privacy concerns
#
[tantek]
what does privacy have to do with this?
#
[tantek]
sure, if you want to federate a *Photo* post, you have to use u-photo
#
[tantek]
that makes complete sense
#
[tantek]
if you want to federate an *article* well then that's something else
#
[fluffy]
in the activitypub case, there’s a fear that someone can see a viewer’s IP address if the raw image is put inline
#
[fluffy]
it’s spurious
#
[fluffy]
I don’t agree with the activitypub case at all
#
[fluffy]
and there’s other ways that the inline html could be altered to not work
#
[fluffy]
er, to work
[snarfed] joined the channel
#
[snarfed]
([fluffy] fwiw using u-photo w/bridgy fed results in the same original problem: you lose the article structure, it degrades to a photo post)
#
[fluffy]
to not leak viewer IP addresses I mean
#
[fluffy]
[snarfed] yeah I’m aware, that annoyance was what got me annoyed at all this stuff
#
[fluffy]
like I guess my real annoyance is with activitypub and not with mf
#
[snarfed]
i think the same idea applies even w/bridgy fed. put everything into e-content, bridgy fed should pass that through. your real problem may be that mastodon itself doesn't support articles, ie photos interspersed into text
#
aaronpk
This sounds like a limitation of how articles are represented with activitypub
#
[fluffy]
it’s just so hard for me as a relative newcomer to understand where different things begin and end, and I’m still in a monkey-see monkey-do state with understanding what microformat stuff to use where
#
[fluffy]
I see stuff on the wiki, I go “oh I guess I should do that,” then I find out that I wasn’t supposed to
#
[tantek]
aaronpk, worse than that, it's a limitation in JSON-LD
#
[snarfed]
AP supports arbitrary HTML in content, including interspersed images. *Mastodon* doesn't.
#
[tantek]
which of course AP decided to be based on
#
[fluffy]
ok sure but mastodon is like the only real AP consumer I care about so
#
[fluffy]
and yeah mastodon breaks a lot of stuff
#
[tantek]
snarfed, that sounds like Mastodon doesn't support articles then
#
[snarfed]
right, like i said above :P
#
[tantek]
neither does Twitter though
#
[tantek]
so they get headlines
#
[fluffy]
like its use of “subject” is Bad
#
[snarfed]
sounds like fluffy is unhappy that they can't posse full articles to mastodon, which is true. mastodon doesn't support them
#
[tantek]
micro.pub supports full articles however
#
[fluffy]
well I mean I didn’t even want to posse full articles to mastodon, I was happy with it just being a link with an unfurl
#
[fluffy]
but then mastodon folks complain about how it’s not good enough, because mastodon folks want mastodon to be the mastodon that mastodons everything
#
[tantek]
[fluffy] there is an indieweb actual HTML web standards based unfurling recommendation. see /link-preview
#
[tantek]
wow that sounded like a yo dawg
#
[fluffy]
that was the idea 🙂
#
[fluffy]
and yeah I do the h-card thing
#
[fluffy]
as well as opengraph
#
[fluffy]
It works fine with twitter and AFAIK with the various mf2-savvy readers out there whenever I’ve spot-checked it
#
[fluffy]
okay well I’m glad I had this conversation then, I learned stuff and also removed u-photo from the posts on my site which don’t want to be photo posts
#
[fluffy]
maybe someday I’ll understand how all this stuff fits together and who to be annoyed at
#
[snarfed]
maybe not! ok too. i still mostly don't, i just muddle through
#
[tantek]
we should probably add a bunch of this convo as Q&A to the /u-photo page
#
[tantek]
I feel like it comes up about once a year
#
[tantek]
so not really an FAQ, but just often enough for well intentioned smart people to get confused without any fault of their own
#
[tantek]
what is u-photo
#
Loqi
It looks like we don't have a page for "u-photo" yet. Would you like to create it? (Or just say "u-photo is ____", a sentence describing the term)
#
[fluffy]
I think having a high-level document that says what the different post types are and how they are expressed in the mf2 would be helpful. Or maybe there is one that I just haven’t managed to see in all this, in which case that needs better visibility. 🙂
#
[tantek]
in general it's not an issue except for the edge case of platforms that insist on strict post typing, which is not how users behave in genearl
#
aaronpk
But yes better documentation is always a good idea
#
[fluffy]
yeah a lot of my confusion comes from trying to make things as low-friction as possible, like I try to manage as much as I can in Publ’s templates rather than having to hand-write HTML or decide anything about fiddly bits of the underlying HTML. 🙂
#
[fluffy]
my eventual goal is to make a Tumblr-like posting frontend for Publ, and trying to figure out how all that stuff works together is… challenging.
#
[fluffy]
but I think I have some better ideas.
#
[fluffy]
Originally I was going to have Publ do specific post types but then I thought that was too hyper-specific and limiting so I decided that instead you could define your own post types as appropriate in the template and everything’s “just HTML” anyway.
#
[tantek]
explicitly separate post types in the UI was a brief weird trend in the mid-to-late 2000s (hence Tumblr era) which subsequently got dumped for the "just add what content you want" to your post design, and zero cognitive load / decision paralysis about having to *pick* a post type.
#
[tantek]
Twitter, Facebook, etc. you just type, add stuff, whatever, and it figures out how to assemble it. no explicit post typing by the user