#Loqi[mastodon.social/@qubyte] I love the #indieweb, but the aforementioned micropub thing isn't the only friction. JSON encoded microformats-2 documents are just plain weird. Everything is an array for some reason. Unnecessarily complex to consume. We can surely do better... (https://mastodon.social/@qubyte/109809569127117058)
#Loqi[mastodon.social/@qubyte] One pain in the ass thing about micropub is that there's no way to send photos and content together in a single request *and* include alt text. It can only be done with a multipart request to a media endpoint for the photo and a JSON request to the regular endpoint. Why not allow... (https://mastodon.social/@qubyte/109809541935471300)
IWSlackGateway, [jacky] and [tantek] joined the channel
#[tantek]everything is an array because yes people used to think they could predict what would/should be an array vs a single value and turns out most of the time they were historically wrong
#[tantek]it's necessary, otherwise you're forced to either add new properties for plural forms in the future, which then clients have to all update to consume, or you break singular properties by making them plural and again, clients have all update to consume
#[tantek]lol things have multiple names all the time. sometimes different for different languages. see also that blog about bad assumptions programmers make about names
#[tantek]someone can add those to the FAQ if they would like
#Loqi[mastodon.social/@qubyte] I get why microformats documents came to look like this. It comes from their roots as data embedded in HTML. But it's not very pragmatic. Why would a document have more than one name or content? Why would photo (singular) be used for a *plural* field. It's all out of whack.... (https://mastodon.social/@qubyte/109809635457021746)
#[tantek]"Why would a document have more than one name or content?" -> see blog posts that have multiple language versions inside, yes at the same permalink
#[tantek]"Why would photo (singular) be used for a *plural* field?" -> picking different names for singular vs plural fields doubles the confusion in code. the array syntax [] is sufficient to indicate potential multivalued properties, singular names are shorter and avoid the problems of inconsistent plural name endings such as 's', 'es', or remove n chars and append 'i'.
#Loqi[mastodon.social/@qubyte] An example of a more pragmatic approach to image uploads, for example, is the mastodon API. You still have to use a separate multipart request for an image, but the description (alt) text accompanies the image as an additional field. I think you can probably use the same image... (https://mastodon.social/@qubyte/109809748401599345)
#[tantek]^ is that worthy of consideration for a Micropub extension?
#[tantek]like does anyone else care / want that? or do any other image upload APIs have a provision for sending (alt) text along with the image bytes?
#Loqi[indieweb.social/@ProfessorWutheridge] Hey all y'all Mastodoners! I've very much enjoyed my first couple months on Mastodon and #indieweb.social, but haven't yet done an #introduction. So... I am of the US #westisbest, a family man, metaphysical escape artist cisgen/sex #whitedude staring into the #Śūnyatā within... (https://indieweb.social/@ProfessorWutheridge/109809785569880032)
[snarfed], [schmarty] and angelo joined the channel
#aaronpkseems reasonable to associate the alt text with the image itself. would be a small change to the media endpoint
#aaronpkbut also that description makes it sound weirder than it is, because a "regular" http file upload is a multipart message, but the multipart part isn't really significant. it's a "regular" request
#Loqi[hachyderm.io/@sentience] @qubyte Unless I’m mis-remembering, iA Writer does upload embedded images before publishing a post. If anyone is needing a reference implementation of what works now, that’d be the one to look at. #indieweb #micropub (https://hachyderm.io/@sentience/109810324709704579)
gRegor, gRegorLove_, [jeremycherfas] and gRegorLove__ joined the channel
#Loqi[mastodon.social/@tmichellemoore] I decided to use an Azure Virtual Machine to run the SharePoint Online Management Shell to change my SharePoint URL It was definitely a journey to set it up. And then another journey to view the desktop. And then another to get the commands to work. I can’t even repeat it. The... (https://mastodon.social/@tmichellemoore/109814543766662372)