#dev 2019-10-18

2019-10-18 UTC
jfoster, [asuh], GWG, skitz0_, gRegorLove and [chrisaldrich] joined the channel
#
ShokuninDiscord[
Anyone here build progressive web apps?
KartikPrabhu and [snarfed] joined the channel
#
ShokuninDiscord[
Have you built any?
KartikPrabhu joined the channel
#
ShokuninDiscord[
I’m starting to look into them for us
[Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
What features do you need?
#
[Lewis_Cowles]
PWA is a description of an ecosystem of technologies. Everyone sells it as something different.
#
[Lewis_Cowles]
At work I've built features which fall back to no JS, no CSS, text-mode. I'm a progressive extremist. I've never met a single other person taking it that far and TBH I've still not solved many of the problems it throws up.
#
[Lewis_Cowles]
We hired some JS experts who's designs were "progressive" and what they meant by that was to try to tie everything to Ionic + React, which i don't think is particularly progressive at all
#
[Lewis_Cowles]
You might simply mean a service-worker, or hiding content. That's progressive in the same way that media queries are responsive design. It's a particular strategy which does not guarantee progressive-ness.
[xavierroy], [snarfed]1, KartikPrabhu, [tantek], krychu, [Rose] and gxt_ joined the channel
#
[tantek]
[Lewis_Cowles]++ excellent summary. shokunin, what he said ^^^
#
Loqi
[Lewis_Cowles] has 4 karma in this channel over the last year (7 in all channels)
#
[tantek]
Another way to ask the PWA question would be, how does your own site follow progressive web methodologies and which PWA technologies do you support?
#
[tantek]
I’ll start. My site Tantek.com works without JS, and supports https. So it’s ready for further enhancement with say a Service Worker, which I may build this weekend at IndieWebCamp Brighton
[frank] and [Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
My primary criticism of ServiceWorker is not being able to hook non-GET requests and needing to be concerned with cross-origin (even if only a sub-domain). Other than that it's pretty cool.
#
[Lewis_Cowles]
It means I have to do this
#
[Lewis_Cowles]
```
#
[Lewis_Cowles]
self.addEventListener('fetch', function(event) {
#
[Lewis_Cowles]
if(
#
[Lewis_Cowles]
(event.request.url.startsWith("https://www.fqdn.co.uk")) &&
#
[Lewis_Cowles]
(event.request.method == "GET")
#
[Lewis_Cowles]
) { // Not X-domain
#
[Lewis_Cowles]
// Try network and if it fails, go for the cached copy.
#
[Lewis_Cowles]
event.respondWith(
#
[Lewis_Cowles]
fromNetwork(event.request, 500)
#
[Lewis_Cowles]
.catch(function () {
#
[Lewis_Cowles]
return fromCache(event.request);
#
[Lewis_Cowles]
})
#
[Lewis_Cowles]
);
#
[Rose]
I’m building my site to use as little JS as possible, I have optional JS to add syntax highlighting to code blocks, but if it’s not there then the code still appears.
#
[Lewis_Cowles]
fetchNetwork and fromCache are https://www.codesign2.co.uk/sw.js
#
[Lewis_Cowles]
Rose++
#
Loqi
Rose has 17 karma in this channel over the last year (56 in all channels)
#
[Rose]
Step 0 in working with SASS/SCSS/LESS: install the compiler!
#
[Rose]
Whoops, that’s Friday morning brain
#
[Lewis_Cowles]
Rose if you use PHP there is a (albeit slow) pure PHP version. https://github.com/leafo/scssphp/releases
#
[Rose]
I’ll only be compiling on my Mac so I’m currently running `brew install sass/sass/sass`
#
[Rose]
But that’s something to bookmark for the future..!\
jeremycherfas and vika_nezrimaya joined the channel
#
[tantek]
[Lewis_Cowles] it would be interesting to know what use-cases are being limited or blocked by those restrictions
#
[Lewis_Cowles]
One is transparent interception of form data, to queue for later in localStorage or similar mechanism
#
[Lewis_Cowles]
I have a work-around
#
[Lewis_Cowles]
but it's not transparent, you basically start with a use-case that there is no form, or the button is disabled (which harms progressive enhancement in other ways)
#
[Lewis_Cowles]
if you default to a server-side action which causes a regular page-nav request, there is no way to intercept with ServiceWorker that I've seen to intercept and say "right, I'm going to queue this"
#
[tantek]
or handle the form via JS instead of an HTTP POST action
#
[tantek]
if you're already running a service worker, you're already dependent on JS
#
[Lewis_Cowles]
Right but the idea is to decompose to work without a service-worker
#
[tantek]
and if JS is disabled, then an HTTP POST fallback works via an actual server round trip
#
[Lewis_Cowles]
otherwise it's not progressive enhancement, it's SuV suburb visitors only
#
[Lewis_Cowles]
That is a solution
#
[Lewis_Cowles]
I mean, it's contextual to what you need isn't it?
#
[tantek]
what would be interesting is comparing the two approaches and seeing how much code / duplication *could* be saved
#
[tantek]
I'm presuming that's what you're getting at
#
[Lewis_Cowles]
No, it's about end-users. The code is a vehicle to provide their expeience
#
ShokuninDiscord[
Those are great points
#
ShokuninDiscord[
Thanks
#
ShokuninDiscord[
Basically our app is built in React and we have a desktop app for Windows Linux Mac at the moment
#
[Lewis_Cowles]
So if their experience supports traditional form actions, then you sacrifice offline first a bit
#
ShokuninDiscord[
And I’d like to have it ported to Android as a PWA
#
ShokuninDiscord[
Both as mobile web and some basic app we can throw on the store
#
[Lewis_Cowles]
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Add_to_home_screen probably what you're looking for, with maybe a service worker then
#
ShokuninDiscord[
In our case the React site is basically a Facebook Groups alternative
#
[tantek]
React is not progressive by default. It may be possible to build a progressive react app but I haven't seen any good examples
#
ShokuninDiscord[
I’m trying to find examples of that yeah
#
[Lewis_Cowles]
Using your point about service-worker, maybe it could be [tantek]
#
ShokuninDiscord[
How to take a React site and make it like that
#
[Lewis_Cowles]
If a certain set of decisions were to align, you could have a non-react entrypoint
#
[tantek]
[Lewis_Cowles] yeah I'm hopeful a subject matter expert (React dev) will figure it out and post a how to
#
ShokuninDiscord[
No luck yet, some basic tutos though
#
[tantek]
Shokunin it may be harder to retrofit a React site than build a progressive web app to start with
KartikPrabhu joined the channel
#
[Lewis_Cowles]
Shokunin, I'd imagine other problems would come up such as message versions
#
ShokuninDiscord[
Honestly I'm shaky on what can service workers are
#
ShokuninDiscord[
I understand normal html5 pages and such
#
[tantek]
Shokunin, adactio has a great intro article
#
[Lewis_Cowles]
If someone does use an offline-first PWA (manifest + serviceworker) you could avoid re-downloading react and app code, but you'd need to do a lot more server work to cope with the potential for many active client versions, or work out a way to gracefully present the user with a way to update (sw.js above does that)
#
ShokuninDiscord[
but the service aspect, is it like a set of apis the browsers provide?
#
[Lewis_Cowles]
All must be supported by client (browser)
#
[Lewis_Cowles]
You lose degrees of control any time you push processing out to the edge
#
[tantek]
Shokunin, start with https://adactio.com/articles/13796 that should help make it less shaky 🙂
#
Loqi
[Jeremy Keith] Introducing Service Workers
#
[Lewis_Cowles]
tantek++
#
Loqi
tantek has 25 karma in this channel over the last year (130 in all channels)
#
[tantek]
also why I'm considering diving into Service Workers this weekend at IndieWebCamp co-organized by Jeremy (adactio)
#
[tantek]
I have a bunch of ideas of things to try, both for readers of my site (offline support), and thinking about new authoring approaches (local first editor)
#
[tantek]
though I'll probably start with https://adactio.com/journal/9775
#
Loqi
[Jeremy Keith] My first Service Worker
#
[tantek]
I should make sure those are discoverable from our docs
#
[tantek]
what is Service Worker
#
Loqi
service workers are scripts that run in the background, separate from tabs with the site open, and are commonly used for offline functionality and push notifications https://indieweb.org/service_worker
#
[tantek]
oh wow that page is quite minimal
[fluffy] joined the channel
#
Loqi
I agree
#
ShokuninDiscord[
Thanks tantek
#
[tantek]
shokunin, now updated with hopefully more context and answers (incorporating what I said above): https://indieweb.org/service_worker
#
[tantek]
I find that improving the documentation about something is a good way for me to learn it better myself, as a step towards better implementing it 🙂
[jeremycherfas] joined the channel
#
ShokuninDiscord[
Agreed
#
ShokuninDiscord[
Thanks!
#
ShokuninDiscord[
If you feel like learning by going hands on, we could use the help 😉
#
ShokuninDiscord[
We've actually released our first public builds on http://github.com/permaweb/permaweb/releases
#
[tantek]
I'll start with going hands-on with my own site 😄
#
ShokuninDiscord[
you can create groups, join them, make posts
#
[tantek]
Shokunin, I'll encourage you to do the same 🙂
#
ShokuninDiscord[
it's super early but it "works"
#
[tantek]
what does it use for identity?
#
[tantek]
what is a router
#
Loqi
It looks like we don't have a page for "router" yet. Would you like to create it? (Or just say "router is ____", a sentence describing the term)
#
[tantek]
what is routing
#
Loqi
routing is a term that refers to the way that URIs are mapped to content producers, usually in a dynamic publishing or web app context https://indieweb.org/routing
#
[tantek]
what is mapped
#
Loqi
It looks like we don't have a page for "mapped" yet. Would you like to create it? (Or just say "mapped is ____", a sentence describing the term)
#
[tantek]
what is a content producer
#
Loqi
It looks like we don't have a page for "content producer" yet. Would you like to create it? (Or just say "content producer is ____", a sentence describing the term)
#
[tantek]
what is dynamic publishing
#
Loqi
It looks like we don't have a page for "dynamic publishing" yet. Would you like to create it? (Or just say "dynamic publishing is ____", a sentence describing the term)
#
[tantek]
that /routing definition needs simplifying to not depend on so much jargon
#
[tantek]
this is partly why I think I've always been confused by the use of the term
#
[tantek]
it's defined in terms of other confusing / ambiguous terms
#
[Rose]
What is url path?
#
[tantek]
which is not helpful
#
Loqi
It looks like we don't have a page for "url path" yet. Would you like to create it? (Or just say "url path is ____", a sentence describing the term)
#
[Rose]
What is url?
#
[tantek]
what is URL design
#
Loqi
It looks like we don't have a page for "url" yet. Would you like to create it? (Or just say "url is ____", a sentence describing the term)
#
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]
better to point people there
#
[Rose]
Thank you.
#
[Lewis_Cowles]
instead of map, could we say association between two things?
#
[tantek]
still feels too abstract to be meaningfully useful
#
[Rose]
I think some of the complexity of routing is that in some cases your file structure dictates it, in others your code figures it out for you
#
[tantek]
in my case some of both!
#
[Lewis_Cowles]
I could add two sections for file-based routing and dynamic routing, as well as central router
#
[Rose]
Exactly tantek
#
[Rose]
We should also have examples of popular CMS and framework routing I think. I can contribute to Symfony and WordPress
#
Loqi
definitely
#
[Lewis_Cowles]
what is uri?
#
Loqi
uri is Unresolvable Random Incomprehensible https://indieweb.org/uri
#
[Rose]
And then everyone can contribute their own CMS too
#
[Lewis_Cowles]
Do we want to keep the joke?
#
[tantek]
checks the history
#
[Rose]
What is Symfony
#
Loqi
It looks like we don't have a page for "Symfony" yet. Would you like to create it? (Or just say "Symfony is ____", a sentence describing the term)
#
[Rose]
Symfony is a PHP framework for creating websites and web applications.
#
[fluffy]
file-based routing is just routing rules based on a primitive notion of making HTTP act like read-only FTP 🙂
#
Loqi
[fluffy]: [grantcodes] left you a message 2 days ago: maybe something like http://examples.tpxl.io/ would be useful for you understanding mf2 markup (although it needs updating)
#
[Rose]
I’ll expand on that when I’m not at breakfast.
#
ShokuninDiscord[
Tantek: it's built on Textile.io
#
ShokuninDiscord[
Basically they have a wallet for your data
#
ShokuninDiscord[
and we make a frontend where we can create groups and posts
#
[Lewis_Cowles]
'''<dfn>routing</dfn>''' is a term that refers to ensuring well-structured requests are met with the desired, perhaps expected content ?
#
[Lewis_Cowles]
ignore that it's meant for another channel
[grantcodes] joined the channel
#
[tantek]
Shokunin that doesn't answer the identity question
#
[tantek]
e.g. "it uses IndieAuth for identity" would be one answer
#
[tantek]
"wallet for your data" doesn't sound like a standard, sounds like a silo
#
[tantek]
what is a URI
#
Loqi
URI is an abbreviation for Uniform Resource Identifier which was a late 1990s to early 2000s term intended as broader in meaning than URL https://indieweb.org/uri
#
[tantek]
there that's accurate and helps point people in the right direction
#
ShokuninDiscord[
Textile has their own ID system
#
ShokuninDiscord[
Though it's really just a key, similar to a BTC wallet
#
ShokuninDiscord[
you use that key to login
#
[tantek]
not really interested in one-off "has their own ID system" dependent systems
#
[tantek]
would be better if they wrapped their ID as an IndieAuth provider, and then Permaweb or whoever could "just" consume IndieAuth identities which would give the user freedom of choice of IndieAuth provider
#
[fluffy]
I still habitually refer to them as URLs even though I usually mean URI
#
[tantek]
[fluffy] that's pretty much what the URL standard does
#
[tantek]
it's expanded URL to mean all the previous things URI used to mean without the nitpicking about which term means what
#
[tantek]
because all the nitpicking was both useless in practice, and confusing to new folks for no benefit
#
[tantek]
same with IRI
#
Loqi
URI has -1 karma over the last year
#
Loqi
IRI has -1 karma over the last year
kingpapa joined the channel
#
[Rose]
What is IRI
#
Loqi
It looks like we don't have a page for "IRI" yet. Would you like to create it? (Or just say "IRI is ____", a sentence describing the term)
kingpapa joined the channel
#
[jeremycherfas]
Grav’s routing is also very powerful, and dangerous in the wrong hands.
#
[Rose]
Grav is based on Symfony so I’m not surprised.
#
ShokuninDiscord[
@tantek we're not exactly tied to their ID
#
ShokuninDiscord[
we're just starting with their wallet, however I'm keen on using indieauth eventually
#
ShokuninDiscord[
It just helps us get something up and running faster
#
[grantcodes]
Chiming in on the pwa / progressive stuff: there are a lot of options for react. For out of the box stuff there's Gatsby or next which are both progressive by default and have easy plugins for pwa / service worker support. And for a more manual setup there are plugins for create-react-app and webpack
kingpapa joined the channel
#
[Rose]
Speaking of routing: [aaronpk] I’d love to hear about how you do it
#
aaronpk
Laravel :-)
#
[Rose]
PHP Framework showdown time, why laravel over symfony?
#
[grantcodes]
[Rose] maybe checkout upstatement/router I think it's called. It's a wp routing library
#
[grantcodes]
Although it may be tightly linked to timber (twig templating for WP(
#
[Rose]
Sounds scary. I try to avoid touching as little WP code as possible. This morning I accidentally killed my local development site because I commented out the wrong line in my theme’s functions.php
#
[Rose]
See also: why I develop locally, then online test instance, then prod.
#
[grantcodes]
There might be something in the roots wordpress ecosystem too. It uses / is inspired by laravel stuff
#
aaronpk
Laravel is built using Symfony ;-)
#
[grantcodes]
Haha well that's equally likely to happen in any other system
#
aaronpk
so both
#
Loqi
[Upstatement] routes: Simple routing for WordPress
#
[Rose]
Help, someone pull me out of this rabbit hole: https://timber.github.io/docs/
#
sknebel
extends a twig to [Rose]
#
[grantcodes]
Haha timber is good. Makes wordpress a bit more sane for me
#
[Rose]
Haha, thanks 😄
#
[Rose]
I love twig.
#
[Rose]
I literally _just_ got my nav working in the theme I’m writing.
#
[Rose]
On the other hand, I _only_ have nav working in the theme I’m writing
#
[grantcodes]
Navs are a bit of a pain in WP for me
#
[Rose]
So I shouldn’t have started there, good to know
#
[grantcodes]
Also I just started moving from timber to roots sage. Which it pretty similar but uses blade templates. I prefer that is stays a little closer to standard WP by using built in functions which timber completely replaces / extends
#
[grantcodes]
Header, footer and sidebar/widgets are easier to start with imo
#
[Rose]
I think I’ll stay on the path I’m on. I do want to build my own CMS at some point, so spending lots of time on these things isn’t necessary.
#
[Rose]
_s has the content/sidebar setup already I think
#
[grantcodes]
Sounds like a good plan! The stuff I'm talking about it is more for when you understand and are fed up with WordPress theme development 😅
#
[Rose]
I am a very long way away from “I understand”
kingpapa_, treora, [Zegnat], [KevinMarks], dogfarted and live_ joined the channel
#
[jeremycherfas]
Super noob asks: is MAMP supposed to be able to run without an internet connection?
#
[jeremycherfas]
Getting an error I have never seen before: ssl error ex record too long
#
aaronpk
yes it should
#
[Rose]
It definitely should.
#
aaronpk
I think that means you're trying to access https://localhost but SSL isn't enabled?
#
[jeremycherfas]
Seems like it is a FF error
gRegorLove joined the channel
#
[jeremycherfas]
I think I need to disable SSL on the local site I am trying to access. Seems like I overwrote the local htaccess, but I am not going to try that while in transit.
dogfart and [calumryan] joined the channel
#
[tantek]
for anyone looking for an easy hack this weekend and who is using Apache
#
[tantek]
RedirectTemp /txt sms:youremail@example.com
#
[tantek]
use it with an AppleID and it'll work with iMessage etc. on iOS/MacOS devices, and fall back to sending via email on Android etc.
#
[tantek]
then you can tell folks just txt me at example.com/txt
#
[tantek]
where example is your site
#
[tantek]
it's fun watching the faces of otherwise technical people go what, wait a minute what just happened
#
[tantek]
aaronpk you think that's fun you should try tantek.com/dm 😄
#
[Rose]
I need to figure out how to do this. I put my website on shared hosting.
#
[tantek]
[Rose] can you edit your .htaccess ?
#
[Rose]
Probably.
[xavierroy] joined the channel
#
[tantek]
Then you can do it
#
[Rose]
I'll see what Hetzners docs say about htaccess on shared hosting :)
#
[Rose]
Looks like it's supported, yay!
#
Loqi
yay!
#
aaronpk
hmm now that i've got Sign in with Apple working and can even use it on my phone, I'm wondering how I can use it to let people sign in to my website
#
[Lewis_Cowles]
tantek, does it work with query-string attributes to pre-fill body and subject?
gxt_ joined the channel
#
beko[m]
<[Rose] "I'll see what Hetzners docs say "> o/ neighbour (@ Hetzner)
#
[Rose]
I want to pick your brains about that Aaron, I’d love to sign into my site with Apple.
#
[Rose]
If you could just make a copy of all the auth related parts of your brain that might be most convenient though 😄
#
[Rose]
Hehe, I was with World4You but Hetzner are cheaper - despite me now having shared hosting _and_ a VPS
#
@therealkimblim
↩️ Pardon me for asking this, Andy, but why was this webmention deleted and not posted to the website — genuinely curious and not trying to step on any toes. https://webmention.io/andy-bell.design/webmention/1_-J54iEdKi7HM-JN8SY
(twitter.com/_/status/1185165979413897225)
#
@therealkimblim
↩️ Pardon me for asking this Andy, but why was this tweet not added to the website and instead “deleted” as a web mention? Genuinely curious and not trying to step on any toes here. https://webmention.io/andy-bell.design/webmention/1_-J54iEdKi7HM-JN8SY
(twitter.com/_/status/1185166449033338886)
[jgmac1106] joined the channel
#
[jgmac1106]
[manton] just saw you accepted my PR on the arabica theme, I will try and install and check out the mf2, we can follow the same pattern for the other themes
#
[Lewis_Cowles]
answer to my question RE: SMS links https://www.ietf.org/rfc/rfc5724.txt
#
[jgmac1106]
ohhh wow is it wasy to add a theme
#
Loqi
manton has 16 karma in this channel over the last year (47 in all channels)
#
[jgmac1106]
this truly is the best CMS on market
#
Loqi
Why I love Micro.Blog
#
Loqi
Why I love Micro.Blog
#
Loqi
[jgmac1106] @jgmac1106 You can also post notes.
#
Loqi
[jgmac1106] @jgmac1106 You can also post notes.
#
Loqi
Remembering the great times at my brother Perez’s wedding.
#
Loqi
Remembering the great times at my brother Perez’s wedding.
#
[jgmac1106]
manton++ on fixing up the theme
[manton] joined the channel
#
[jgmac1106]
I filed another PR to add a missing u-photo to photo post, many people put the photo outside of e-content, not sure if required
#
[manton]
Thanks! Yeah, Micro.blog always puts photos inside of e-content. This might be slightly controversial. 🙂
#
[tantek]
I have no problem with that
jeremycherfas joined the channel
#
[manton]
Cool. I think there was a debate about that a while ago. I might be misremembering a little.
gRegorLove and [aaronpk] joined the channel
#
[aaronpk]
Photos inside content without also u-photo markup is fine (tho it won't show up in readers as the nice photo rendering)
#
[aaronpk]
It's a problem if the photo is both inside the content and also has the u-photo class, because then it's doubled in readers
#
[Rose]
Is this something we should be fixing on the reader side or in the markup side?
#
[tantek]
the markup should be as simple as possible
#
[tantek]
then readers should "do the right thing"
#
[aaronpk]
Markup side. Fixing it in readers means the readers have to parse HTML and do way more work
#
[Rose]
Makes sense to me
#
[tantek]
providing duplicate photo markup is the publishers trying too hard and they should stop violating DRY
#
[jgmac1106]
Yeah I was just noting common practice. The img in an article w/o u-photo. I need to test that
#
[tantek]
it shouldn't be "test markup". it should be "test article post" vs. "test photo post"
#
[jgmac1106]
I tested article, photo, reply, note and then filed PR for u-photo. Pretty sure folks knew what I meant
[Yulia], [calumryan], [snarfed] and krychu joined the channel
#
[jgmac1106]
manton++ looks like you went through and touched up all the other themes already++
#
Loqi
already has 1 karma over the last year
#
Loqi
manton has 17 karma in this channel over the last year (49 in all channels)
#
Loqi
Why I love Micro.Blog Part Duex
#
[jgmac1106]
[manton] that is the Marfa theme, I am unsure if it is picking up the author correctly. Might make more sense to move the h-card to <section id="post-meta" class="clearfix h-card">
#
[jgmac1106]
ooh maybe because the p-author lives outside of <article> where you have the h-card
#
[jgmac1106]
I would have to ask but I wonder if adding <a class="u-author" href="/"></a> would trigger the authorship algorithm and pick up the p-author further down the page
#
[jgmac1106]
I think it worked, author now being parsed as https://stream.jgregorymcverry.com/ and I think most consumers people use will display the h-card on the page
#
Loqi
Greg McVerry
#
[jgmac1106]
still might be a way to better think the the theme layout and just move <section id="post-meta" class="clearfix"> into the h-card
#
petermolnar
beko[m]: another wave from another hetzner tenant
[jeremycherfas] joined the channel
#
[jgmac1106]
going to move all the micro.blog theme testing to that slack so as not to spam there and inform audience
[KevinMarks], jfoster, [dougbeal], peatDiscord[m], [fluffy], gRegorLove, shoesNsocks, [Rose], [snarfed] and [jacek] joined the channel
#
[snarfed]
hey [aaronpk] i have updates to https://aaronparecki.com/2018/06/03/4/url-form-field . are you maintaining it anywhere? i can revise just my copy at https://github.com/snarfed/oauth-dropins/blob/master/oauth_dropins/static/util.js , but it's obviously not an official upstream
#
Loqi
[Aaron Parecki] Improving the HTML type="url" Field
[Zegnat], [jeremycherfas], jfoster and [aaronpk] joined the channel
#
[aaronpk]
Hmm I don't think I've put that on GitHub but I should
#
[snarfed]
my updates (just fyi) were to make the scheme configurable, trim whitespace, and stop on @ chars: https://github.com/snarfed/oauth-dropins/commits/master/oauth_dropins/static/util.js
[calumryan], gxt, live_, [dougbeal] and [tantek] joined the channel
#
GWG
Hi, [snarfed].
#
GWG
We never chat anymore
#
GWG
Reading up about u-photo.... I have some potential problems due to my lack of control over how WordPress people do that
#
GWG
I have some funky workarounds
#
[snarfed]
hi GWG!
#
GWG
[snarfed]: I am scheduling a round at the Micropub plugin and may need a reviewer. The last few pushes were bugfixes.. but I like to have enhancements vetted by someone
#
[snarfed]
oof, i've been out of wordpress and PHP for a while. happy to look, but i may not be too useful
kingpapa_ and [jgmac1106] joined the channel
#
[jgmac1106]
anyone have an example of a video post with a caption file? Do you put the captions file outside or inside the video element?
[schmarty] joined the channel
#
[schmarty]
i know it's getting late for folks at Brighton but here's an auth thing i have on my mind.
#
[schmarty]
i want to set up a group site that lets multiple people post, via micropub. so for micropub clients that'd mean letting them auth as the group site.
#
[schmarty]
so for example, i start signing in as "https://indieweb.nyc" in quill, and the indieauth auth provider for indieweb.nyc presents me with another sign-in, where i sign in as my own domain.
#
sknebel
Seems logical
#
[schmarty]
since my domain is in the allow list, once i have signed in, the auth provider for indieweb.nyc says "yep, you're indieweb.nyc" and i'm signed into quill with that domain.
#
[schmarty]
sknebel++ haha, thanks! now i need to figure out how much of indielogin.com i want to re-implement to get it done 😅
#
Loqi
sknebel has 35 karma in this channel over the last year (94 in all channels)
#
sknebel
Don't think itd need much
#
[schmarty]
i could probably get by with just the authorization flow
#
[schmarty]
sorry, authentication 😛
#
[schmarty]
the one where they just need to prove their identity and i only need to find the one rel header 😅
[manton] joined the channel
#
[jgmac1106]
schmarty would each person have a profile page on this site that could contain the one rel header/
#
[schmarty]
jgmac1106: i think not!
#
[schmarty]
to keep it as simple as possible, the auth endpoint for indieweb.nyc would be configured with a list of acceptable "me" values.
#
[schmarty]
(i could see a version of this where the group site has a page with a list of admins on it, which the auth endpoint could use for that list)
kingpapa_, gRegorLove, gRegorLove_, [aaronpk], [KevinMarks] and [fluffy] joined the channel; LeFDiscord[m] left the channel
#
GWG
aaronpk, why is weather in your p-location?
#
[aaronpk]
That's where I store it internally
#
[aaronpk]
I didn't realize I was marking it up externally too
#
GWG
It ends up adding it to the text version.
#
GWG
I just realized I do the same thing
#
GWG
I probably copied yours without thinking
#
GWG
So, I think weather is a location property, but.. not p-location
#
GWG
I suppose it is a property of the post..
KartikPrabhu joined the channel
#
GWG
Thoughts anyone?
#
aaronpk
ooh my bad then
#
aaronpk
I should fix that
#
aaronpk
makes a note
#
GWG
Me too
#
GWG
aaronpk, I also mark up my temperature as h-measure
#
aaronpk
I probably need to do a pass on my site and remove markup for things that aren't actually consumed
#
GWG
How do you know something isn't consumed
#
aaronpk
I assume if it were consumed, someone would have told me about it by now
#
GWG
I want to consume in future
#
aaronpk
future aspirations are not enough to determine markup
#
GWG
I have an idea about check-in posts on a map
#
GWG
But not a high priority
[snarfed] joined the channel
#
[snarfed]
predicting the future is hard
#
[snarfed]
every time i see or hear "in the future," i mentally translate it to https://indieweb.org/YAGNI
#
aaronpk
[snarfed]++ lol
#
Loqi
[snarfed] has 43 karma in this channel over the last year (83 in all channels)
#
GWG
[snarfed]: I probably shouldn't bother marking up weather. Who is going to consume that?
#
GWG
I think us weather posters are a minority
#
GWG
See, on this day...when I started my day, it was 69 and hazy
#
aaronpk
I like showing weather on my website for human consumption
#
GWG
The haze broke during Mr Toads wild ride
#
aaronpk
I think it's a stretch to think it'd be useful to show in a reader
#
GWG
Agreed
#
GWG
I just imagine someone doing it
[tantek] joined the channel
#
GWG
It would amuse me
#
GWG
I think if Zegnat and the weight graphs
#
GWG
aaronpk, readers aren't the only consumers
#
GWG
Either way, I agree
#
GWG
I also don't mark up the individual elements of my address
#
[tantek]
It *could* be useful if more readers started showing map views of posts, and enough posts had both location *and* weather, then a reader's map view *could* show a weather overview accordingly
#
GWG
[tantek]: So, should one be aspirational...?
#
GWG
If aspirational isn't an excessive burden?
#
aaronpk
[manton] let me know your timeline on rolling out the checkin feature to more micro.blog users because we should coordinate on that so I can update the home page of ownyourswarm to say that it's no longer "IN EXTREMELY BETA"
#
GWG
I am using a template, not hand coding the microformats on each page
#
aaronpk
and maybe like put actual content on the home page
#
[tantek]
one should be aspirational in adding to Brainstorming and Working On and Itches sections
#
[tantek]
because you may inspire others by doing so!
#
[tantek]
or find collaborators
#
GWG
As in... other people to publish or consume?
#
Loqi
Countdown set by [tantek] on 2019-10-16 at 7:00pm PDT
#
Loqi
!tell tantek note to self: figure out how to update RSVPs display on events to link direct to RSVP permalinks
#
[tantek]
there it is
#
[tantek]
just in time for midnight hacking
[dougbeal] joined the channel
#
@JoshuaOas
↩️ @jftzsmns @eleven_ty I’m in the same boat right now, I’m not going with disqus, I’ve settled on webmentions.
(twitter.com/_/status/1185331662487543809)
[Rose] joined the channel
#
[manton]
[aaronpk] Sounds good! I think I'm going to sit with the feature I've built for a few days and then revisit it, updating the Micropub endpoint to support coordinates.
[Evan_Travers] and masternave joined the channel
#
[Evan_Travers]
Tantek told me to bring this topic in here… I have a middleman static site that I’m in the process of tinkering with to join the indieweb… I noticed today that when I had the gzip option enabled in my build config, indiewebify.me couldn’t see the h-card or h-entry or any of the new classes I had added even though https://python.microformats.io could see it.
#
[Evan_Travers]
I presently have gzip turned off on evantravers.com in order to get the classes and stuff right, but I thought I’d mention it in here. I’d be happy to help debug or what have you.