#dev 2019-09-22

2019-09-22 UTC
[KevinMarks], [chrisbergr], gRegorLove and Mai-HsuanKevinCh joined the channel
#
@jackyalcine
↩️ Yeah, I don’t know too much about netilfy but it does a bit tricky. Is there a way to call out to a site when you build a new page? If that can be done, then we can go about hooking up something like https://webmention.io/ or https://webmention.app/ to… https://v2.jacky.wtf/post/d8db4bd8-0ef6-463b-9915-d66caea2011b
(twitter.com/_/status/1175615303088316416)
#
jacky
*does look
treora, [timothy_chamber, stevestreza, [jeremycherfas], [KevinMarks], gRegorLove, dhanesh95, jgmac1106, [jgmac1106] and IWSlackGateway joined the channel
#
jeremycherfas
is slowly modularising his new Grav theme template
[KevinMarks] joined the channel
#
[KevinMarks]
Well, I ended up at indieauth.com trying to log into monocle, so yes SPOA
#
Zegnat
wonders how many people depend on indieauth.com for their workflows
[grantcodes] joined the channel
#
[grantcodes]
Me! I think an auth endpoint is one of the harder parts to make - or at least requires more thinking & testing
#
[grantcodes]
All the other parts I've made myself apart from a microsub server. But that is a whole other thing
#
Zegnat
I think the first principle happy-flow version is realtively easy to do. Don’t get me wrong, I desperatly want to rewrite mine with everything about OAuth I have learned the last years, but just getting it ready to handle authentication is not didn’t feel harder than – say – a micropub endpoint
[chrisbergr] joined the channel
#
jeremycherfas
I can never remember; is anyone here familiar with Twig templates?
[jgmac1106] joined the channel
#
[chrisbergr]
I have beginner knowledge from my past gravcms experiences
#
jeremycherfas
I've been trying to get a partial to use a different value for a variable it uses, so I can use the partial in a modular page. The partial uses page.date, but that's the date of the modular page. I want it to use p.header.date from the actual module. I tried a bunch of variations on '{% include 'partials/blog/date.html.twig' with {'page.date': p.header.date | date("U") %}' but none of them worked.
#
jeremycherfas
I gave up in the end. Easier to paste in the partial myself and change the name of the variable. Yes, I am repeating myself, but I can live with that.
#
[chrisbergr]
Is it possible to overwrite the variable page.date at all? like {'page.date': 'test'}
#
jeremycherfas
I failed to do that, no matter which way I tried.
#
jeremycherfas
It's possible one cannot override a value that is not a variable.
[KevinMarks] joined the channel
#
[KevinMarks]
Lambda functions as an enclosure movement on webhooks https://gojko.net/2019/02/06/badass-integrations.html
[grantcodes] joined the channel
#
[grantcodes]
try {% set name = value %} or you can use the |default() filter
#
jeremycherfas
Tried that too [grantcodes] Thanks, but for now I have just given up and taken the easier route.
#
myfreeweb
!tell [snarfed] hey, I'm seeing a weird issue with hosted granary: it doesn't see items on my (updated) website e.g. https://granary.io/url?url=https://unrelenting.technology/&input=html&output=mf2-json&cache=false — i've tested the granary code locally and it worked fine..
#
Loqi
Ok, I'll tell them that when I see them next
#
aaronpk
myfreeweb: your site wouldn't happen to be hosted at reclaim hosting would it?
#
myfreeweb
no it's aws ec2 ireland now
#
aaronpk
Do you have any sort of firewall in front of it that might be blocking google cloud?
#
aaronpk
Hm looks like XRay can fetch it which is also on google cloud
#
myfreeweb
well, i'd hope that there would be a real error message if the issue was network level
#
myfreeweb
but there's just no items
#
myfreeweb
https://python.microformats.io online demo works fine with all three parsers
#
aaronpk
I am out of ideas then
#
sknebel
myfreeweb: anything interesting in your server logs?
#
myfreeweb
sknebel: just 200, nothing unusual
#
sknebel
ah, you might be running into that brotli encoding problem
#
sknebel
I think granary also runs on the stack that has problems with that...
#
sknebel
(Google AppEngine has a bug where it's fetch mechanism claims to support brotli, but then can't actually parse the response...)
#
myfreeweb
good job google
#
sknebel
indeed
#
Loqi
[ent101] Ask HN: Did your AWS bill literally double from last night?
#
myfreeweb
i'm not affected, maybe it's fixed already, these posts are from half a day ago mostly
cambridgeport90 joined the channel
#
myfreeweb
and yeah, disabling compression for AppEngine user-agent fixed the granary thing
#
sknebel
yeah, at least there's a workaround
#
sknebel
still annoying they have that bug for so long
gRegorLove, krychu, shah^ and [chrisbergr] joined the channel
#
jacky
I found the auth endpoint to be the easiest part; tbh. Perhaps making it for multiple people could be challenging. The only thing stopping me from releasing the newer form of Fortress is me getting this Android app logic going (so it can be a unlocking of the device to auth oneself)
#
jacky
once I have decent websub support in lwa
#
jacky
I should have a 'real time' microsub reader going
#
jacky
made some good progress on adding atom, h-feed and json support in it
#
Loqi
yea!
[KevinMarks], wagle, ben_thatmustbeme and [Michael_Beckwit joined the channel