#dev 2020-06-18

2020-06-18 UTC
geoffo, [chrisaldrich] and beko joined the channel
#
sivy_
huh, microformats parser i’m testing also exposed some broken microformats on my site
[tw2113], gRegorLove_, KartikPrabhu and [tantek] joined the channel
[LewisCowles], cweiske, gRegorLove, strugee and moppy joined the channel
#
jacky
trying to bring this 1 second load time down
#
jacky
but I don't think I can tbh (I can split out font loading into a separate CSS file or move the fonts to be lazy loaded so the page can paint sooner
#
jacky
but I think a first time one second and subsequent sub second speeds are okay!
#
jacky
that said if I did want to reduce the payload, just cutting out fonts alone would help
KartikPrabhu joined the channel
#
[LewisCowles]
sort of damned with webfonts and progressive enhancement either way. it's block time vs repaints
#
jacky
yeah :(
#
dansup
system default fonts are getting better, sometimes thats enough
#
jacky
tbh that's a good route
#
dansup
we all have that one font we wish we could use everywhere, Inter is gorgeous imo
#
jacky
yeahhhhh lol
#
jacky
it's the open source San Francisco
#
jacky
hmm is micro.blog not loading for people?
#
dansup
yeah dude, typography is def an obsession of mine lol
#
jacky
I wanted to see what they looked like again, they use system fonts (but it targets macOS so that's kinda moot)
#
jacky
oh it's down D:
#
dansup
its not loading for me
#
jacky
yeah I just got a 502
#
jacky
aaron's projects lean on system sans-serif fonts so they good look
#
dansup
it gets tricky with licensing too, esp in open source. I need to find a permissive webfont library before I open source FediDB
#
dansup
using a single use font awesome pro license atm
#
dansup
i accidentally committed that in pixelfed one time lol, the pro version is so better though
swentel and KartikPrabhu joined the channel
#
jacky
there's a pro version?
#
jacky
that makes sense
#
jacky
what I'm slowly doing is seeing if I can take the Sentry approach ("open core") with licensing
#
jacky
so I can make patches for the hosted solution (of which anyone should be able to do to via the Web) and the OSS models would use regular forms
#
dansup
yeah it started out as a kickstarter, i got the pro version because I was an early backer
#
dansup
now they are moving to a $99/year model for v5
#
dansup
or v6, cant remember lol
#
jacky
sheesh I wasn't aware
#
dansup
yeah, there are lots of options tho, bootstrap has some nice icons
[KevinMarks] joined the channel
#
[KevinMarks]
What kind of icons do you need?
wombelix and michael-lewis joined the channel
#
jacky
random: can anyone else with indieauth on their site trying signing into https://lighthouse.black.af? I know it works for me (and two other people) but I need more edge cases for sign in
#
jacky
can't wait until indieauth.rocks is up lol
[Ana_Rodrigues] joined the channel
#
[Ana_Rodrigues]
I can try
#
[Ana_Rodrigues]
I did it but I got an error… I can DM you
#
sknebel
hm, doesn't like my h-card
#
sknebel
I guess
#
sknebel
"couldn't determine who you are. try again"
#
sknebel
(also, clicking hte error to select the text makes it go away - please don't :D)
#
[Ana_Rodrigues]
mine said forwarded to “Internal Server Error” page but the url seems to been built with a callback code
#
[Ana_Rodrigues]
mine forwarded *
#
jacky
okay ty!
#
jacky
thankfully this app has a lot of tracing so I can figure this out
#
jacky
got a fix for your issue
#
jacky
(your being [Ana_Rodrigues], hit Enter too fast)
#
jacky
sknebel: I can't see exactly why that happened tho
#
sknebel
I use indieauth.com currently, which is why I suspect its not that being the problem
#
sknebel
might not like my main page being a redirect
#
jacky
no, that should be fine; I check for those
#
jacky
wait oh from https://svenknebel.de/ to https://www.svenknebel.de/? it should have caught that!
#
[Ana_Rodrigues]
ah great! I can test again whenever you’re ready
#
sknebel
and then to /posts. I might be relying on some ambiguity in representative h-card there, would need to double-check (don't have time right now)
#
sknebel
(i.e. I think I remember being convinced I'm right there, but I might be wrong :D)
#
jacky
oh you are
[jgmac1106] joined the channel
#
jacky
tbh I think I might change this to resolve the rep hcard _before_ going to do the indieauth flow (like a little confirmation that this is who you'd want to sign in as)
#
jacky
but that doesn't necessarily give me the 'correct' URL because it could change with the 'profile' scope
#
jacky
sknebel++ for testing
#
Loqi
sknebel has 17 karma in this channel over the last year (46 in all channels)
#
jacky
[Ana_Rodrigues]++ for testing and getting me to have a new patch!
#
Loqi
[Ana_Rodrigues] has 1 karma in this channel over the last year (7 in all channels)
KartikPrabhu joined the channel
#
[KevinMarks]
worked for kevinmarks.com and known.kevinmarks.com
#
jacky
nice, ty!
#
jacky
hmm actually curious if known gives some sort of hint
#
[KevinMarks]
got a server error with https://it-me-web.glitch.me/ but it might have been asleep
#
jacky
it does! (via the meta nam=generator)
#
[KevinMarks]
generator is a bit oldschool, but wp and things support it too
#
jacky
yeah couldn't find an authorization point for the glitch site
#
[KevinMarks]
glitch is having trouble waking up
#
jacky
it looks like the app itself isn't working; not glitch
#
jacky
if it was glitch; the page would be a black space-y looking one
#
jacky
(that page could be improved tho)
#
[KevinMarks]
wow, that took like 5 minutes to boot
#
jacky
looks like it's back
#
jacky
the dashboard is _very_ vanilla; for sites not using lighthouse for their site, it'll just check and show if you have an endpoint for now
#
jacky
I want to extend it to run a small set of those tests over at https://webmention.rocks just to make sure the endpoint is working for things people would expect (sending and receiving)
#
[KevinMarks]
got an error again (that site also uses indieauth)
#
[KevinMarks]
indieauth.com I mean
#
jacky
which site?
#
jacky
hmm actually I see
#
jacky
https://it-me-web.glitch.me/ has no h-card so I can't get anything useful from it
#
jacky
which makes my earlier statement about doing a pre-resolve for h-cards more of a hard requirement
#
[KevinMarks]
ah, right yes, I should add one. I should tidy that experiment up
gxt joined the channel; hamnox[m] left the channel
#
cjw6k
jacky: I tried from https://cj.w6k.ca/ and ended up on my homepage. Logs show it tried to send me to /auth?... (truncated) instead of /auth/?
#
Loqi
Christopher "Chris" James Willcock, MIEEE
#
cjw6k
I haven't got my routes to do an optional trailing / (yet), but the authorization_endpoint is /auth/ so would have expected that
#
cjw6k
also, you need a path component in your client_id https://lighthouse.black.af -> https://lighthouse.black.af/
ben_thatmustbeme, geoffo and DanC joined the channel
#
nekr0z
good morning IndieWeb!
#
nekr0z
I'm lazyloading images on my site, and I started wondering whether <img class="u-photo" src="/svg/loading.svg" data-src="/actual_image.jpg"> was legal from MF2 point of view...
#
aaronpk
Parsers won't find the data-src one at all
#
aaronpk
what is lazy loading?
#
Loqi
It looks like we don't have a page for "lazy loading" yet. Would you like to create it? (Or just say "lazy loading is ____", a sentence describing the term)
#
aaronpk
i thought there was a built in browser api for this now
#
swentel
yeah loading="lazy" should work (apart from IE11)
#
nekr0z
Hmm... So there's basically no way to tell the parsers what the actual image is?
#
aaronpk
Use a regular img tag and the loading=lazy attribute
#
nekr0z
OK. will give it a try. Thanks aaronpk++
#
Loqi
aaronpk has 63 karma in this channel over the last year (228 in all channels)
#
aaronpk
if you insist on the loading image in the img tag and swapping it out in javascript then you'd need to move the u-photo class elsewhere to some element that the mf2 parsers can find like using a data element for it
#
nekr0z
That's a cool idea, too, seeing as how not all the browsers support loading="lazy" yet.
#
nekr0z
Hm, what if I put the 'real" image in srcset? Shouldn't that supercede src?
#
nekr0z
No, that won't work, it would also supercede the lazyloading thing.
[LewisCowles] joined the channel; michael-lewis left the channel
#
[LewisCowles]
loading=lazy will literally show nothing until the image is loaded. Maybe there is some CSS you could use with JS events setting the background to a single loader image, which onLoad has the HTML class removed?
#
[LewisCowles]
you would need dimensions set, but AFAIK that is beginning to be advised to avoid page re-flow
#
[LewisCowles]
I think images are loaded into the foreground, so as long as an element has no padding, the image loading should cover the background loader image
[snarfed] joined the channel
#
[snarfed]
jacky just fyi i got "couldn't determine who you are" w/snarfed.org, uses indieauth.com
#
[LewisCowles]
what was I saying here... loading=lazy is css matchable, no js needed. it does look like loading=lazy isn't applied if all the images have the same url 😞
gRegorLove, [chrisaldrich] and [jeremycherfas] joined the channel
#
[chrisaldrich]
jacky, I was able to login into Lighthouse with my wordpress site using the IndieAuth plugin.
nickodd, oenone and [Ramiro_Ruiz] joined the channel
#
[Ramiro_Ruiz]
Hello everyone 👋
#
[Ramiro_Ruiz]
I’m trying to separate my twitter accounts for each language and I’m seeing that brid.gy is having problems to send webmentions from the other account. I think the url might be the problem since is the same site just with a /es/ at the end for the spanish website. Is that the problem? that it detects the site to be the same and already in use?
Ramiro_Ruiz and oenone joined the channel
#
[snarfed]
[Ramiro_Ruiz] hmm, sorry for the trouble! bridgy publish doesn't support multiple twitter accounts for the same site, but bridgy backfeed should
#
[snarfed]
can you give me an example of a reply that should have been backfed but wasn't?
#
@ramiroruiz_ES
Parece que ya regresaron los tráficos de siempre en Monterrey ☹️
(twitter.com/_/status/1272895013584846849)
#
[Ramiro_Ruiz]
I’m using a feed link on the spanish homepage
#
[snarfed]
[Ramiro_Ruiz] thanks! i'll look
wombelix and [KevinMarks] joined the channel; nickodd left the channel
#
@evemassacre
↩️ Very indieweb too, reminds me of webmentions.
(twitter.com/_/status/1273685487010680832)
#
@ramiroruiz_ES
Parece que ya regresaron los tráficos de siempre en Monterrey ☹️
(twitter.com/_/status/1272895013584846849)
#
Loqi
[Ramiro Ruiz] Parece que ya regresaron los tráficos de siempre en Monterrey ☹️
#
[snarfed]
(tweet id is the same, but username should be ramiroruiz_ES)
#
[Ramiro_Ruiz]
🤦 Wow you’re right! I forgot to update the template for the new account. Sorry for the troubles! and thank you so much!
#
[snarfed]
you're welcome!
treora and shrysr joined the channel
#
Loqi
[snarfed] has 51 karma in this channel over the last year (89 in all channels)
#
jacky
[snarfed]++ thank you; will check that
#
jacky
cjw6k++ for introducing an edgecase :)
#
Loqi
cjw6k has 1 karma over the last year
#
jacky
[chrisaldrich]: for confirmation ++
#
jacky
[chrisaldrich]++
#
Loqi
[chrisaldrich] has 6 karma in this channel over the last year (38 in all channels)
michael-lewis, [jgmac1106] and KartikPrabhu joined the channel
KartikPrabhu, shrysr, xsteadfastx, [KevinMarks] and dopplergange joined the channel; michael-lewis left the channel
#
Loqi
Ok, I'll tell them that when I see them next
#
gRegorLove
!tell manton would it be possible to get a test micro.blog account so I can update theme mf2 and try them out?
[chrisaldrich] and jeremy joined the channel