#dev 2019-10-10
2019-10-10 UTC
dougbeal| joined the channel
#
[jgmac1106] they really aren't theme devs, if you watch the design and code channels they are very much hobbyist fooling around

#
[jgmac1106] but getting default themes proper will take care of 90% of usecase (using a totally made up number for most)

#
[jgmac1106] I need a few more hacktober PRs will try one or two more. @schmarty is a HUGO pro maybe he can take a look, we get one or two correct, the rest should be easy to follow

#
[jgmac1106] okay now I am not doing the photos or the email, time to go dark

#
[jgmac1106] in photo posts do people use the datetime of when the post is published or when the photo was taken?

#
[jgmac1106] I guess it would have to be date of publish for reader and chronological publishing??

#
[jgmac1106] cool what I am doing, trying to tell the IWC story in a collection of photos

#
[jgmac1106] okay back to trying to get this post...sharing a link to the Google Photos folder...was slightly easier.....

#
[KevinMarks] that was my point - the serif fonts they picked were all very narrow and light, except computer modern and the monospaced one

[schmarty] and jfoster joined the channel
#
@mdempsky ↩️ Hm, after reading their wiki and FAQ, I don't see the value in supporting IndieAuth instead of just allowing the user to specify an arbitrary OpenID Connect provider? (twitter.com/_/status/1182103872451383296)
#
[tantek] [dmitshur]++ you got a ⭐ from bradfitz! https://twitter.com/bradfitz/status/1182087332511436800

[dmitshur] joined the channel
#
[dmitshur] hehe

#
[dmitshur] (still catching up)

#
[dmitshur] it took me a while, but I think I'm starting to really understand IndieAuth now. which is great because it means I can actually implement it fully.

#
[dmitshur] it also means I can convince myself and others about its merits, and not just that "it feels cool"

#
aaronpk if you haven't already read it, this post (should) provide arguments that you can articulate in conversations https://aaronparecki.com/2018/07/07/7/oauth-for-the-open-web

#
[dmitshur] sure Aaron, will do (and maybe I'll be inspired to write a blog post about it :gasp: )

#
plindner[m] aaronpk: I don't know of specific ham radio + ssb support.

#
[dmitshur] I have read that, and it's very useful, but what I think was missing for me were some concrete examples. I think it's very helpful to set the expectation right away: there are two halves to IndieAuth: being the consumer and being the provider. so "implementing support for IndieAuth" means very different things depending on what part of it you choose implement (first, or at all).

#
[dmitshur] it's also very helpful to know at least 1 other person who can help you test it (hat tip [schmarty])

#
[dmitshur] but the main reason it took me a long time is because it takes time to sit down and figure it out, and I haven't had free time and never got around to it.

#
[dmitshur] until IndieWebCamp 2019 🙂

jfoster joined the channel
#
[dmitshur] > [yesterday 1:18 AM] yes that's called the consent screen

#
[dmitshur] that sounds great. thanks for confirming [aaronpk]!

#
[dmitshur] > [yesterday 1:19 AM] it's ultimately up to the IndieAuth server whether and how and when to show it, but it's generally a good idea

#
Loqi It looks like we don't have a page for "consent screen" yet. Would you like to create it?_ (Or just say "consent screen is ____", a sentence describing the term)

#
Loqi ok, I added "https://www.oauth.com/oauth2-servers/authorization/the-authorization-interface/" to a brand new "See Also" section of /consent_screen https://indieweb.org/wiki/index.php?diff=65386&oldid=65385

#
aaronpk consent screen << https://www.flickr.com/photos/factoryjoe/sets/72157624457629866/

#
Loqi ok, I added "https://www.flickr.com/photos/factoryjoe/sets/72157624457629866/" to the "See Also" section of /consent_screen https://indieweb.org/wiki/index.php?diff=65387&oldid=65386

#
Loqi ok, I added "[[IndieAuth]]" to the "See Also" section of /consent_screen https://indieweb.org/wiki/index.php?diff=65388&oldid=65387

#
dougbeal| aaronpk: indielogin only supports manually added indieauth servers?
gRegorLove joined the channel
#
dougbeal| Say I want to use my wordpress site to autheticate to webmention.io for a static site
#
dougbeal| I get none of the URLs were recognized as a supported provider
#
dougbeal| maybe PGP key authentication makes more sense
jfoster joined the channel
#
dougbeal| I was missing the indieauth endpoints on the static site.
#
dougbeal| I would need to create a user that matches the static site?
[Rose], [tonz], gxt, [Michael_Beckwit, [jeremycherfas], cweiske, krychu, gRegorLove and [Lewis_Cowles] joined the channel
#
@hankchizljaw ↩️ I hear good things about https://commento.io/
I’ve got webmentions but it’s they’re not as good as I thought they’d be, so tempted to give this a shot. (twitter.com/_/status/1182207424616370178)
#
@jjdelc ↩️ @jaffathecake @MattWilcox Webmentions is the hero we want. https://jj.isgeek.net/2019/10/10-083406/ (twitter.com/_/status/1182212710563504128)
[Rose], [grantcodes], [pawel_madej], [pfefferle], [chrisbergr] and jeremych_ joined the channel
#
jeremycherfas Commento looks interesting but the onboarding is not at all straightforward. It offers, for example, authentication with github but then refused actually to let me use that. I don't know what system it is using for that.

#
jeremycherfas Ah. Commento is using OAuth, but apparently not for me.

[Lewis_Cowles] joined the channel
#
jeremycherfas Error: no name returned by Github

[jgmac1106] joined the channel
#
jeremycherfas Than got an email from Github saying that I had indeed been authorised. Super confusing.

[Rose], [tonz], gxt, [JHSheridan], dopplergange, [grantcodes] and [jgmac1106] joined the channel
#
[Rose] Ok, I think I'm not going to get a "yes" to this, but is it possible to resize a header on scroll with just CSS? There's a JS example here: https://www.w3schools.com/howto/howto_js_shrink_header_scroll.asp

#
jeremycherfas You saw the SO answer, of two headers at different sizes?

#
[grantcodes] Just css no. Not shrink like that example anyway

#
[grantcodes] You could easily remove some padding on scrolling with a bit of a hacky method

#
[jgmac1106] the shrink element on scroll animation all had a bit of vanilla JS but it was small

#
jeremycherfas My responsive menu is js, and I have bookmarked a way to redo it, but it is low on my list of priorities, for now.

#
[grantcodes] That stackoverflow idea is probably going to end up showing duplicate headers. And having 2 in html doesn't really feel right.

#
jeremycherfas It certainly looks hacky. TBH, while I currently have a resizing header, I'm going for simplicity in my new theme and just allowing the header image to scroll off the page. Still undecided about letting the navbar do the same.

#
jeremycherfas I'm showing the same image, but less of it, IYSWIM

beko joined the channel
#
[grantcodes] I made a fake shrinking header just because it seemed like a fun little challenge: https://codepen.io/terminalpixel/pen/yLLYVLy

jfoster joined the channel
#
[grantcodes] But I wouldn't really recommend it, it's a bit of a hack. I would go with your image change + javascript if you need it.

#
jeremycherfas [grantcodes] Can you just explain, how come you don't have to say directly about scroll?

#
jeremycherfas I know! I keep getting these updates from Codepen that are simply beyond belief.

[tantek] joined the channel
#
[jgmac1106] I can help with the mf2 stuff, been meaning to expand it, the hits are climbing

#
[jgmac1106] okay then will not edit

#
[jgmac1106] I thought we did a decent job on the first pass of mf2

#
[jgmac1106] and I challenge the assumption that I have not been building my web pages to mfg2 standards, weird to say hey we want help just not you

#
[jgmac1106] mf2*

#
[jgmac1106] ohh okay....my apologize for being jumpy as well...IWCs always put me behind eight ball at work, and there is still post event wrap up stuff to do

#
[jgmac1106] Been talking to mdn team about stubbing out each h* ...but just kept falling down the list of things I need to get to

#
[jgmac1106] well good luck all ctaching up, only one week to Brighton to fall behind again

#
[jgmac1106] cool

#
[jgmac1106] schamrty and sknebel came in behind me and helped a ton, I only got ball rolling

#
[jgmac1106] sorry for idiom behind the eight ball= behind on things you must get done

#
jeremycherfas Thanks Kaja++

jfoster and [Lewis_Cowles] joined the channel
#
[Lewis_Cowles] [grantcodes] wow
#
jeremycherfas Hmmn. Checking mf2 is going to be more difficult than I expected. I probably need to spend a lot more time going through templates by hand.

[schmarty] joined the channel
#
[grantcodes] jeremycherfas: I don't understand your scroll question?

#
jeremycherfas How does the browser know that you have scrolled away from the top of the page?

#
jeremycherfas Is that a variable one can use?

#
[grantcodes] In my codepen example? or in js?

gRegorLove joined the channel
#
jeremycherfas Codepen example

#
[grantcodes] It's using position: sticky which pins stuff so it stays in view inside its container.

#
[grantcodes] Plus some hacks

#
[grantcodes] If you change the fake header background color it may become more obvious what is actually happening

#
jeremycherfas Thanks.

[KevinMarks] joined the channel
#
[KevinMarks] [Rose] you could maybe use position:sticky https://gedd.ski/post/position-sticky/

#
jeremycherfas sknebel I mean that I have been cobbling together a new theme for Grav, which knows nothing about mf2, and because I have pulled it together from bits of my old theme and a lot of new stuff, I wasn't paying attention to the mf2 while I was paying attention to look and feel. Now I want to check how the mf2 is parsed.

jfoster joined the channel
#
[KevinMarks] ah, I was scrolled up, ironically

#
jeremycherfas Heh

#
jeremycherfas I also want to take the opportunity to simplify where possible, so perhaps change divs to spans where the only purpose of the div was to specify a microformat

[arush] joined the channel
#
[jgmac1106] Rose++

Amgine_[m] left the channel
#
[jgmac1106] Yeah the mf2 is very general. We only review properties used in the examples. On each h-* should list any properties currently in use by standard =>2 consumer rule

#
[jgmac1106] Keep any expiremental properties on the mf wiki

[manton] joined the channel
[tonz] and [Will_Monroe] joined the channel
#
[manton] Short answer: I have no automated tests for this, but I should! All the themes are open source. For example: https://github.com/microdotblog/theme-default

#
[tantek] There’s a long term minimizing admintax aspect to this that felt very necessary / relevant to IndieWeb dev: https://twitter.com/mark_riedl/status/1182307100736643072

#
@mark_riedl Today’s realities: 1. Non-neural net code written more than 5 years ago works just fine 2. Neural net code written a year ago on TensorFlow doesn’t work anymore (twitter.com/_/status/1182307100736643072)
#
[KevinMarks] It's stopped updating my granary feed of a twitter list

#
[KevinMarks] It's still expiring old ones though

dougbeal|, [tmiller], [schmarty], [fluffy] and [jgmac1106] joined the channel
#
[jgmac1106] [manton] I have never hugo themed but the pattern is discernible. If that first one is close I should be able to update others quickly

#
[jgmac1106] If right, maybe a post with 2-3 minute video pinned in micro.blog code and design channel will help users

#
[jgmac1106] Unscientifically going through my feed everyone(ish) uses a default theme

#
[jgmac1106] Agree [tantek] HTML is most sustainable bc it can be u derstood in a tablet running latest browser or carved into stone tablet

#
@AndreJaenisch ↩️ My website supports WebMentions (kinda. Receiving end is not implemented on my own yet but is using a service - gotta change that somewhen later) (twitter.com/_/status/1182389890845155328)
#
[manton] [jgmac1106] Some of the themes are similar but most don't really share much HTML. I think the one you picked had the worst support for MF2, so it was a nice one to update! I've been wanting to make the templates a little more consistent so that changes across all themes aren't so tedious (but I also like the flexibility of allowing them to be completely different).

dopplerg- and KartikPrabhu joined the channel
#
[jgmac1106] To make your life easier make as many of your default themes share as much HTML possible, that is most flexible

#
[jgmac1106] CSS clothing can fit any HTML no matter <body> type. Tyranny of defaults. Keep those as POSH as possible. Provide tutorials for those going beyond

gxt and [fluffy] joined the channel