#dev 2018-12-23

2018-12-23 UTC
iasai and strugee joined the channel
#
@mjmoriarity
Starting to work on Webmention support for my blogging engine so I can get comments back on the site.
(twitter.com/_/status/1076716550625939457)
iasai, strugee, barpthewire, [eddie] and [tantek] joined the channel
#
@PaulAntWilliams
@bentossell @indiewebcamp 😂 Could look something like the podcasts model, but built on existing more robust tech than RSS. Consumers interface on apps that don't care if you host on AWS or WP, with specialist hosts like @TransistorFM, or all-in-ones like @anchor
(twitter.com/_/status/1076644712046579714)
#
[tantek]
"more robust tech than RSS." - exactly what we've been doing
iasai and jjuran joined the channel
#
Loqi
[Joseph Dickson] As someone who used to work for a couple local newspapers in the previous decade. I’d suggest not bothering with comments at all. Simply include a link to letters to the editor. They way they can receive feedback while creating a barrier of sorts. ...
#
[tantek]
"Only provide comments to paying customers. "
barpthewire, iasai, strugee, oodani and [jgmac1106] joined the channel
#
[jgmac1106]
if anyone wants to take a look at php this morning can't figure out where I went wron on my Known plugin: https://github.com/jgmac1106/Known-Listen
#
Loqi
[jgmac1106] Known-Listen: A Listen Plugin for Known
iasai, strugee and swentel joined the channel
#
GWG
Good day
strugee and [jgmac1106] joined the channel
#
[jgmac1106]
Morning fine sir
#
Loqi
gwg has 42 karma in this channel over the last year (161 in all channels)
#
[jgmac1106]
for simple locations
#
[jgmac1106]
I was so sick yesterday I forgot to send the Karma
#
GWG
jgmac1106, you tried it or just saw the note?
#
GWG
Also, feel better
iasai and KartikPrabhu joined the channel
#
Zegnat
!tell kisik21 Interesting reading about your h-card storing adventure. Did you set it to some max size? What happens when you feed it mine?
#
Loqi
Ok, I'll tell them that when I see them next
iasai and swentel joined the channel
#
kisik21
!tell Zegnat if your h-card JSON is less than 64k you're good
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
kisik21: Zegnat left you a message 1 hour, 10 minutes ago: Interesting reading about your h-card storing adventure. Did you set it to some max size? What happens when you feed it mine?
#
Zegnat
Hmm. That sounds like a challenge
#
Loqi
Zegnat: kisik21 left you a message 1 minute ago: if your h-card JSON is less than 64k you're good
#
kisik21
You want to break my cache?
jjuran joined the channel
#
Zegnat
Hmm. I am only at ~6000 characters on my mf2 JSON, looks like
#
Zegnat
So even at 1 byte per character, I need to up my h-card by a factor 10. Sounds like 64k is plenty for you
#
kisik21
Zegnat, do you really want to break my cache?
#
Zegnat
Nope. I was just checking how your cache compared to my h-card.
#
kisik21
I can put a single word in my uwsgi config and this 64k limit is as good as gone
#
kisik21
the cache should become a little bit slower though
#
Zegnat
I just do not like hearing about arbitrary limites, makes me want to break the limites ;)
#
kisik21
If you ever construct an h-card so large it could break my cache, ping me :3
#
Zegnat
Why did I decide to spell limits as limites? Ugh
#
sknebel
as long as the site doesn't break but just e.g. refuses the show info for that h-card limits are fine
#
Zegnat
Will do, haha
#
kisik21
the cache itself can fit exactly 149 h-cards
#
kisik21
why a number like this? because I heard that's how much people can a human fit in their head as friends
#
kisik21
actually it should be 150, but the first cache entry is reserver
#
Zegnat
That’s interesting
#
kisik21
s/r$/d/
#
kisik21
cache keys are people's URLs
#
kisik21
Zegnat: if you make me reply to a post with 150 different authors, you'll break my cache :3
#
kisik21
the authors need to be urls
#
Zegnat
I have definitely mentioned companies on Twitter, looking for support. Not sure how that would be reflected in your system. Because those would be one-off mentions/replies. Wouldn’t be one of my 150-head-space-fitted-friends, but would still be authors I referenced.
#
Zegnat
So if you do that a lot, 150 might be limited
#
GWG
Every time you talk about nickname caches, I want to write one
#
kisik21
it needs to be in .properties.author
#
GWG
Stop enticing me..
#
kisik21
GWG: it's not a nickname cache sadly
#
Zegnat
lol @ GWG
#
kisik21
it's just a thing that makes reply contexts show faster
#
GWG
Don't I have enough projects?
#
kisik21
I built it because aaronpk's p3k was timing out trying to check my post for a link to his post for a reply
#
kisik21
but if I make it not use uwsgi's internal cache (i can't iterate over uwsgi cache) it could be a nickname cache
#
kisik21
And yes, you can't use pyindieblog without uwsgi because it uses uwsgi module
#
GWG
I got rid of reply context caching per se. I render them from cached properties on the fly
#
kisik21
Well, I could archive an h-card
#
kisik21
but then
#
kisik21
avatars would not update
#
kisik21
and if someone breaks the link to an avatar it would break!
iasai joined the channel
#
GWG
That is my problem now
#
@KempfCreative
↩️ Fair point but also extremely fatalistic thinking. Once/if WebMentions become permeated enough, the social web will make platforms like this obsolete.
(twitter.com/_/status/1076873220161261569)
eli_oat, benwerd and strugee joined the channel
#
Zegnat
touching Micropub code again for the first time in at least a month. Hmm
[schmarty] and vasilakisfil joined the channel
#
vasilakisfil
hi I have a couple of questions: do I have to have my h-card in the index/root page of my domain or can it be in a separate page like /about? also if I have my blog in a different domain (blog.example.com), is that a problem ?
vasilakisfil joined the channel
#
Zegnat
Loqi, noooo~
#
vasilakisfil
why was I kicked ?
#
Zegnat
Spam filter
#
vasilakisfil
needs better tuning :P
#
Zegnat
Freenode had terrible spam a while back. So e.g. posting links within x-seconds of joining can get you kicked.
#
Zegnat
Though I thought it was tuned down.
#
Zegnat
The fact Loqi gave you +v and then went on to kick you also surprised me
iasai joined the channel
#
Zegnat
To answer the questions: you can put the h-card anywhere you want, same with your blog. Although it isn’t always clear for consumers of the h-card how to find the one for example.com if it lives at example.com/about
#
vasilakisfil
ok I see
#
Zegnat
I am one example of someone who publishes stuff on different domains from the h-card. And I think lots of indieweb infrastructure already supports that. No reason the author information needs to be on the same (sub)domain as a post.
#
vasilakisfil
ok but is the only way of pointing that your blog is under a given (different) domain the html link ?
#
vasilakisfil
or is it another (indieweb) way ?
#
vasilakisfil
I feel like the root domain of an entity (person or machine) is like the webfinger which sits in a well-known location (I am not huge fan of webfinger). So a machine/bot looking information for a given domain/person would first look in the root domain
#
vasilakisfil
but in order to figure out that there is some social content in another domain, that also belongs/is relevant to this root domain that indexes, we need a way to point that out
#
Zegnat
Some people have been playing with adding rel="feed" links pointing to blogs on their homepages/h-card, I believe
#
Zegnat
To communicate that, for a feed of posts, UAs have to go elsewhere
#
vasilakisfil
yeah I was thinking something similar, a link relation is a standardized way of pinpointing such things
#
Zegnat
Yep. And the feed relation is defined already
#
vasilakisfil
ah cool didn't know that
#
Zegnat
I think the majority of the indieweb is still running their main feed and (minimal) h-card on their root domain, however, so this issue doesn’t come up a whole lot. Though it has been getting more and more discussion lately.
#
Zegnat
As with everything indieweb, it is your website, just built it the way you want it to work :D
#
vasilakisfil
I went through indieweb this weekend, I liked many things but above all the value it gives to domains, like it's your little house
#
vasilakisfil
and if you think about it dns is one of the few distributed protocols (with smtp) that have not been substituted by a centralized proprietary protocol from the giants
#
vasilakisfil
I have a lot of work to do though, atm my site is completely static, I want to add webmention and micropub (I think I prefer it over activitypub)
#
Zegnat
Several people in the community use static sites
[jgmac1106] joined the channel
#
vasilakisfil
Zegnat static sites + webmention + comments ? I guess it's possible if you use external services for these ?
#
sknebel
or run them yourself, but at least something breaking there doesn't bring your main site down then
iasai joined the channel
#
kisik21
Zegnat: I ran a static site before I switched to my flask-based cms
#
kisik21
and I turned my old static site in as web design homework lol
#
@janboddez
Been adding incoming Webmention support to my blog, a bit like so: https://github.com/janboddez/webmention-comments. (Mind you, I'd rather just use https://wordpress.org/plugins/webmention/, but right now I can't, thanks to the site's weird setup.)
(twitter.com/_/status/1076909444989112322)
#
@jgmac1106
↩️ Yes webmentions works best when your theme handles microformats well. Getting a plugin to inject classes into HTMl without a theme or other plugin getting in the way has been elusive. Connecting to other #IndieWeb sites on WP requires use of… https://quickthoughts.jgregorymcverry.com/2018/12/23/janboddez-yes-webmentions-works-best-when-your
(twitter.com/_/status/1076910795206901760)
#
GWG
Little confused about what the weird setup is. Oh well
#
KartikPrabhu
GWG: you can reach out on twitter and ask
#
GWG
I may do that.
iasai, [pfefferle] and leg joined the channel
#
@pfefferle
↩️ @janboddez Hey Jan, let me know if I can help you with your setup, or feel free to add some issues to https://github.com/pfefferle/wordpress-webmention/issues
(twitter.com/_/status/1076932825599959041)
iasai, strugee, jjuran, eli_oat, benwerd, gRegorLove and Kaja joined the channel