#dev 2021-10-19
2021-10-19 UTC
gRegor, [benatwork] and jjuran joined the channel
amcorrigal and nertzy__ joined the channel
# capjamesg[d] Jamietanna GWG [tantek] Thanks for sharing everyone. I was not sure about implementing it because there was this very discussion going on in the GitHub Issue. One thing on my mind is that h-x-app (or h-app) may evolve in the future to include more attributes f more consumers pick up the format which is why I think exploring different options like a manifest is interesting. But I feel that is out of scope for an IndieAuth client discovery
jonnybarnes joined the channel
# capjamesg[d] I think h-x-app is missing an attribute to describe the client. I would propose a p-description attribute (if a GitHub issue is needed, I'll create it 🙂 ). When you authorize an application to access your Twitter account (and this is the case with other providers too) you usually see a brief bio about the project itself. This is determined by the user. I feel like this would be valuable context to display on an IndieAuth server.
# capjamesg[d] I would likely present this information in its own box in my IndieAuth authorization stage.
gRegor and gRegorLove_ joined the channel
# [KevinMarks] I'd suggest (p-)summary is more consistent with other microformats, and leaves content available for a longform version - name/summary/content is a good uniform pattern
# capjamesg[d] !tell sknebel Ruxton thank you both for encouraging me to explore IndieAuth 🙂
hendursa1, kogepan, grantcodes[d], schmudde, gRegorLove_, gRegorLove__, tetov-irc and [calumryan] joined the channel
# [KevinMarks] Do we have a "disk filled up" antipattern? Because I managed to take a site down by writing too much to a database today.
# Allie [KevinMarks]: underprovisioning disk is a real problem at small scales i think
# Allie "oh it's a web server how much disk does it really need"
# Allie "oh lol the system's unrecoverable because 0 bytes available on system"
# [KevinMarks] The number of times people's sites have gone down because log files filled up disk here too
akevinhuang joined the channel
# Allie docker's failure to free up disk space has killed many an unaware small VPS
# capjamesg[d] [fluffy] how do you manage sessions in Publ?
KartikPrabhu joined the channel
schmudde, hendursaga, hs0ucy, hepphepp[d] and ASSISTENZA joined the channel
# petermolnar just send those pesky logs to the cloud, it never fills up! /s
# petermolnar joke aside: syslog can be set to rotate logs when they reach a certain size. If you set it up once, and then pipe *everything* through syslog, it won't bite you again.
# [KevinMarks] you do still need to remove the old ones, but yes
jonnybarnes and amcorrigal joined the channel
hendursaga joined the channel
# [KevinMarks] I remember with Oracle you had to allocate fixed size files for the database to use, so `i suppose filling the disk is the next level of this
# petermolnar > you do still need to remove the old ones, but yes
# petermolnar no, you don't. My syslog is set to keep 3 rotated and gzipped logs and delete the old automatically.
# petermolnar the trick is to rotate on size, and not on date
# petermolnar which is something I still haven't done
jjuran, akevinhuang and gRegor joined the channel
jonnybarnes joined the channel
# capjamesg[d] I use Flask's session.
# capjamesg[d] I don't know if that sets cookies but I don't think so?
# capjamesg[d] Oh they are.
# capjamesg[d] I just Googled it. Thanks [fluffy].
# capjamesg[d] Well then I have used cookies.
# capjamesg[d] But only for essential purposes.
# capjamesg[d] Re your original question [fluffy], I do also wonder when Bearer tokens came around.
# capjamesg[d] I think I store two things: access token, and email address.
# capjamesg[d] Both things are not sensitive to users. I don't really advertise access tokens on anything but my Micropub server but I also don't think it's a problem if users can get them.
schmudde joined the channel
# capjamesg[d] Software is indeed hard.
# capjamesg[d] I assume there's nothing wrong with my approach?
nertzy_ joined the channel
# capjamesg[d] [KevinMarks] I added p-summary as a property to all of my h-app markup.
# capjamesg[d] I'll maybe document that idea on the wiki.
# capjamesg[d] My endpoint consumes it.
# [KevinMarks] Having a consuming tool does encourage usage
jonnybarnes joined the channel
# capjamesg[d] [KevinMarks] I now support url, name, logo, and summary: https://github.com/capjamesg/jamesg-indieauth/blob/e2e9b23bc302eadc2d8fb42e61aa06cef8c6f892/app.py#L113
# Loqi User-agent is a common HTTP header that generally indicates the name, version, and a URL for the application making the request, and is also a robots_txt command (User-agent:) that tells specific robots by name to obey the following commands https://indieweb.org/user-agent
[schmarty] and kogepan joined the channel
# capjamesg[d] Could h-x-app not be interchangeable with with h-product?
# capjamesg[d] h-x-app marks up applications but the properties are currently very similar to h-product.
# capjamesg[d] I think h-x-app has a place but I think it would require an App Store consumer to really thrive.
jjuran joined the channel
# gRegor jacky, are the fortress and lwa links here down temporarily? https://indieweb.org/h-x-app#Jacky_Alcine
tetov-irc joined the channel
# [tantek] snarfed, does Bridgy provide backfeed of reacji on GitHub discussions (TIL they're different from issues), e.g. https://github.com/WebWeWant/webwewant.fyi/discussions/191
AaronGustafson joined the channel
# [tantek] does it make a difference that there are issue redirects? e.g. https://github.com/WebWeWant/webwewant.fyi/issues/131
# [tantek] sorry I meant https://github.com/WebWeWant/webwewant.fyi/issues/191 for the equivalent
# [tantek] looks like there’s a GraphQL endpoint now: https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions
Seirdy and omz13 joined the channel
# [tantek] who also filed a Bridgy issue! https://github.com/snarfed/bridgy/issues/1077