#dev 2021-02-08

2021-02-08 UTC
[fluffy] joined the channel
#
[fluffy]
trying to differentiate “City of London” from “London” gets into pretty firm NLP territory
#
[fluffy]
“London” vs. “Londoner” is relatively easy,that’d just be something like `/[^a-zA-Z]London[^a-zA-Z]/`
#
GWG
NLP?
#
GWG
[fluffy]: I'm trying to do the world.
#
GWG
My only play is to try to get it as close as possible and fix anything else manually.
#
GWG
The same way I fix my MP3 collection
#
[fluffy]
natural language processing
#
[fluffy]
properly tagging MP3s is one of those intractable computer science problems
#
GWG
I'm just going to say for now that if: There is only one region in a country that has the word London in it already, assume it is that one.
#
GWG
Same with only one London as a Locality in a region.
#
GWG
If there are two, it won't.
#
GWG
So, my solution to multiple Londons in a region is that I have to make sure I note both of them, if I visited both of them
#
jacky
I had a super random idea
#
GWG
jacky: Share?
#
jacky
to change the color of my site depending on what I'm listening to or watching
#
GWG
I briefly thought about making a Pinky and the Brain reference there by saying something completely insane, but...
#
GWG
jacky: That would be fun
#
GWG
Disco site
#
jacky
basically haha!
#
jacky
there's a JS library that's a port of the Android Palette library
#
jacky
I think I might use that to tweak CSS properties to do it
#
jacky
but accessibility is my concern here
#
jacky
like it'd be easy for Speed of Sound by Coldplay
#
GWG
That can be problematic
#
GWG
Have a toggle that shifts it into something else.
#
jacky
yeah - I'm thinking about making it opt-in _or_ only doing it for specific albums/colorschemes that pass an automated WCAG check
#
GWG
As long as the site is usable by all, there's always the possibility some visual elements might not be usable by all.
#
GWG
I always try to balance the two
#
GWG
And I'm hoping people can help me with the accessibility.
#
GWG
I know [arush] was looking the other day.
[KevinMarks] joined the channel
#
[KevinMarks]
like how android changes the homescreen to the album cover of what is being played?
#
jacky
normally it'd be this page
#
[KevinMarks]
theres a new contrast model under development - see https://www.myndex.com/APCA/
#
jacky
but it's 503'ing under Firefox
#
GWG
[KevinMarks]: When do you sleep?
#
GWG
Just..isn't it late there?
#
jacky
need to continue updating this library https://hexdocs.pm/indieweb/0.0.49/IndieWeb.html
#
jacky
wanna expermint with AutoAuth support in it
#
jacky
and then get the PKCE bits nuzzled in
#
[KevinMarks]
yes, 3am. I was doing some db changes in prod so doing those at the witching hour is usually a good idea
#
[KevinMarks]
though now I'm waiting for a new fault message to come in to check my changes stuck
#
GWG
I'll just continue trying to solve British location problems.
#
@Aranjedeath
Webmentions: Enabling Better Communication on the Internet https://alistapart.com/article/webmentions-enabling-better-communication-on-the-internet/ > So will @twitter's embrace of the distributed web result in them being the single largest Webmentions installation on the face of the planet?
(twitter.com/_/status/1358620258752339971)
[schmarty] joined the channel
#
[KevinMarks]
we do have lots of them. Like 2 different county durhams
[tw2113_Slack_] joined the channel
#
@mdrockwell
Is h-card the markup needed to get Webmentions using your name, URL, and a proper avatar? I just added that to https://mike.rockwell.mx/. So I guess I’ll see soon enough.
(twitter.com/_/status/1358633187128279042)
alex2, KartikPrabhu, jimpick, sp1ff``, shoesNsocks1, gRegorLove, [Ana_Rodrigues] and marinin[t] joined the channel; ShadowKyogre left the channel
#
marinin[t]
good morning everyone
#
marinin[t]
we started a thing where we spontaneously translate some pages on wiki to Russian; is there a list of "most important articles"? iirc, wikipedia.org has something like that.
ShadowKyogre and joshghent[m] joined the channel; ShadowKyogre left the channel
#
saptaks
can someone point me to some resource of hosting my own webmentions endpoint instead of using webmentions.io ?
#
saptaks
petermolnar, thanks!! I will look into these
#
petermolnar
but in essence, it is extremely simple: you have to accept POST requests in your desired endpoint. The incoming data will have a source=$SOURCE and a target=$TARGET , and that is all the webmention itself. From there, one can go and fetch the $SOURCE and save it as a comment for $TARGET.
#
petermolnar
a long time ago I wrote an alternative wordpress plugin - warning, it's outdated - but I think it can help seeing the minimal tech setup for receiving webmentions: https://github.com/petermolnar/wp-webmention-again/blob/master/receiver.php#L203
ShadowKyogre joined the channel; ShadowKyogre left the channel
#
saptaks
petermolnar, will check that
marinin[t], [Rose], gxt, KartikPrabhu, ShadowKyogre, voxpelli_, willnorris, genehack, themaxdavitt, cjav_dev, jimpick, stacktrust, mitchell, mattl, ludovicchabant and jbove joined the channel; ShadowKyogre left the channel
#
bhavin192
saptaks, I was thinking about doing something similar, have checked https://github.com/aaronpk/webmention.io I haven't tried finding deployment related docs yet.
#
bhavin192
s/have/have you
#
Loqi
[aaronpk] webmention.io: Easily enable webmentions and pingbacks on any web page
#
saptaks
bhavin192, I did check. That That's more a solution to accept webmentions for any site. It's great! But I am kind of looking into more self contained endpoint.
#
saptaks
Really kind of browsing through options to see which best suits my needs
#
bhavin192
saptaks, ah, got it. I might look into it later some day. :D
nabarun, ShadowKyogre and [KevinMarks] joined the channel; nabarun and ShadowKyogre left the channel
#
@raymondcamden
of course, since I said I was going to remove Disqus, I checked my stats, and it looks like I actually had 236 comments last year. I still think I'd get more "responses" via webmentions though
(twitter.com/_/status/1358791103491821570)
#
@filipacro
↩️ testing testing 2. latest test, I promise. Adding webmentions to my blog.
(twitter.com/_/status/1358793522388811778)
#
aaronpk
I do feel like there's been a lot more excitement around webmention in the last couple months
ShadowKyogre joined the channel; ShadowKyogre left the channel
#
GWG
aaronpk: That's a good thing, how can we capitalize on it
ShadowKyogre and gxt joined the channel; ShadowKyogre left the channel
#
@filipacro
OK! Finally added webmentions to my English blog. Check them out the link below and reply here for a test :D thanks https://pacurar.dev/hello-world-welcome-to-my-english-blog/
(twitter.com/_/status/1358800188652027904)
Danielstaleiny, miklb_, alex11, [schmarty], joshproehl and [KevinMarks] joined the channel; ShadowKyogre left the channel
#
@joshghent
Setup IndieAuth and microformats2 (mf2) to my posts. Next up is getting Tweets, RSVP's and Github to my site #indieweb https://joshghent.com
(twitter.com/_/status/1358821975565742086)
gRegorLove and ShadowKyogre joined the channel; ShadowKyogre left the channel
#
@joshghent
This is awesome. Looking forward to deploying this when I get Webmentions setup!
(twitter.com/_/status/1358825815178371083)
#
jacky
GWG: do we have to capitalize on it? :P
#
jacky
kinda curious what people think of it without too much intervention
[snarfed] joined the channel
#
GWG
jacky: No, just thought maybe we might think of some webmention projects of our own.
#
GWG
I know I have that big one with pfefferle
#
jacky
ahh yeah
#
aaronpk
i for one would like to see more webmention receiver projects like webmention.io
#
[snarfed]
also more backfeed!
#
aaronpk
tbh this is one of the strengths and weaknesses of the indieweb right now, a lot of the most exciting functionality is provided by very few services (bridgy, webmention.io), and we actively acknowledge it and try to advocate for more alternatives to be created. whereas in the mastodon world it's extremely focused around individual projects and there tends to be less excitement around plurality of a
#
aaronpk
particular project type. I'm thinking things like "*the* youtube alternative" and "*the* instagram alternative" rather than having a bunch of projects all pop up with similar and overlapping functionality
#
petermolnar
well, there's the lovely activitypub protocol...
#
aaronpk
i say it's a weakness for us only because we *could* position it that way instead and likely grow more excitement around it, and i *could* try to actively improve webmention.io instead of intentionally limiting it to encourage others to build better ones
#
[KevinMarks]
that's interesting - so should the different webmention tools try to converge or diverge?
#
aaronpk
converge on the parts that require interop, diverge in functionality
#
aaronpk
e.g. the webmention analytics project, i think it'd be super if that were actually a full webmention receiver project that also provided those analytics
#
[KevinMarks]
I feel like we could maybe converge the 'received webmentions api' format a bit more for the receiver services, but for a library designed to be inside a dev env those may be less relevant
#
@mdrockwell
Just added an h-card to the footer of http://mike.rockwell.mx. I’m hoping that’s all that’s necessary to get Webmentions to include an avatar image. https://mike.rockwell.mx/asides/780
(twitter.com/_/status/1358834542950375431)
#
@mxbck
looking into "eleventyComputed" to generate reports for https://github.com/maxboeck/webmention-analytics, but it seems like computed data ca… https://twitter.com/i/web/status/1358832805485117446
(twitter.com/_/status/1358832805485117446)
#
petermolnar
it's sort of shocking for me how many people are looking for ready baked solution for "receiving webmentions" whereas in reality all it takes to "receive" is to accept an incoming POST. The rest is not strictly part of "receiving", is it?
#
aaronpk
people aren't looking for just how to receive incoming webmentions
#
aaronpk
they're looking for the full receive webmention and show comment experience
#
aaronpk
and they call it "receiving webmentions"
#
aaronpk
i believe schmarty wrote something about this
#
petermolnar
but how does anyone expect a solution like that _without_ a service, like webmention.io, for static sites?!
#
@joshghent
↩️ Inspired by yourself actually! So thank you :) I couldn't find (with my google-fu) how you syndicate books you've read - that's super neat! Maybe an idea for a http://Brid.gy silo?...
(twitter.com/_/status/1358837952110071811)
#
jacky
petermolnar: it's the whole "everything is a service" era of things
#
petermolnar
envisions cinderblock as a service
[Murray] joined the channel
#
[Murray]
also, because Webmentions are frequently presented as the indie alternative to things like Disqus. Disqus works that way (a "drop it in and it works" service) so surely webmentions do to, right?
#
jacky
^ that's very valid and literally what I've seen more people 'jump' to
#
petermolnar
yes. with webmentions.io. with a service, like disqus
#
jacky
if anything (sadly), it's the easiest example to make
#
jacky
lol [schmarty]++
#
Loqi
[schmarty] has 7 karma in this channel over the last year (58 in all channels)
#
Loqi
ok, I added "https://martymcgui.re/2020/07/15/what-we-talk-about-when-were-talking-about-webmentions/" to the "See Also" section of /Webmention https://indieweb.org/wiki/index.php?diff=74530&oldid=74461
#
jacky
agh you beat me to it aaronpk
#
jacky
I was checking if it was on the page first
#
aaronpk
i knew it wasn't cause i had already looked there for it :)
#
[schmarty]
i should have added it earlier!
#
Loqi
I agree
#
jacky
squints inquistively at Loqi
#
jacky
do you _really_?
themaxdavitt and stacktrust joined the channel
#
GWG
Every time someone links to [schmarty] I get that classic blac and white pose
#
jacky
I feel like it's a semi-bad idea to _not_ allow PKCE in my site anymore but I _really_ don't want to handle backcompat tbh
#
GWG
jacky: Did you see jamietanna[m]'s consent screen way of educating people?
#
jacky
I haven't
#
jacky
checks
#
jacky
looks like it
#
jacky
hm I don't want that
#
jacky
like tbh
#
jacky
I kinda wanna just fail out altogether
#
jacky
it's a bit aggressive of an approach but like I don't _want_ to handle it in my site
jamietanna joined the channel
#
jamietanna
That's fair - I've left it as I wasn't sure how quickly certain apps (including my own) would take to move, so didn't wanna force me out of being able to use a thing
#
GWG
I was thinking of highlighting it, but not with an action message
miklb joined the channel
#
@joshghent
↩️ Oh nice that’s cool! I don’t have micropub setup (what is it for?). Main remaining tasks are setting up twitter ~> site syndication and visa versa. I think http://brid.gy can do it but think I need to write custom code to create new posts for it?
(twitter.com/_/status/1358869174307725316)
#
aciccarello[m]
[schmarty]: i love the "I've tired myself out" section 😆
jolvera joined the channel
#
@mdrockwell
Alright, I checked in the https://indiewebify.me/ validator and the h-card appears to be working properly now. So let me just test to see if I can send myself a Webmention with all the proper info. https://mike.rockwell.mx/asides/799
(twitter.com/_/status/1358880004248059904)
[KevinMarks] joined the channel
#
@JamieTanna
↩️ So Micropub is the open standard that allows you to use a wealth of clients (https://indieweb.org/Micropub/Clients) to publish to your site. Twitter -> site Webmentions can be done with Bridgy. If you want to publish to Twitter from your site, you'll want something… https://www.jvt.me/mf2/2021/02/auyd3/
(twitter.com/_/status/1358881968256081920)
[arush], [chrisaldrich] and wombelix[m] joined the channel
#
jacky
do we have a different way of doing syndication that doesn't necessarily require the webmention flow we have right now?
#
jacky
er, more specifically
#
jacky
the most popular form I've seen is doing it via Webmentions
#
aaronpk
yea! via micropub
#
jacky
OH yeah
#
jacky
I actually never considered that flow
#
aaronpk
RIP silo.pub
#
jacky
so it'd be like "pick a post", hit Syndicate and then it'd update the corresponding field with the resulting URL?
#
aaronpk
oh i just mean that the syndication service acts like a micropub endpoint
#
jacky
hmm I might need to read more on it then
#
Loqi
[Aaron Parecki] Just installed my own copy of https://silo.pub and launched at https://silopub.p3k.io! Thought I'd share a screencast of how I configure my syndication endpoints in p3k. https://aaronparecki.com/img/1240x0/2016/11/29/7/photo.jpg [video]
jamietanna joined the channel
#
jamietanna
I'm also interested in this :)
#
aaronpk
once it's set up, my website makes a micropub request to the service, then updates the post with the syndicated url
#
jacky
interesting
#
jacky
I'm guessing https://silopub.p3k.io/ is only tweaked for you too lol
#
jacky
wait no it's still around(-ish)? https://github.com/kylewm/silo.pub
#
aaronpk
the nice thing is it makes it easy to set up my website to syndicate anywhere silopub can send to without having to add custom logic
#
jacky
hmmmm I like this a lot
#
Loqi
[kylewm] silo.pub: Micropub bridge for hosted blogs
#
jacky
okay this is it
#
aaronpk
i prefer that model way more than the webmention model tbh
#
jacky
I'm still trying to get more info re: Twitter about this kind of syndication stuff in their new world
#
jacky
yeah same - it's less of an overload of webmention
#
jacky
like I implemented async webmentions to _avoid_ mixing up the logic too much
#
aaronpk
it also means i can syndicate private posts if i want, and get more flexibility in customizing the content for the syndication destination
#
jacky
this would slightly simplify some of my syndication code too
#
aaronpk
like i swap out @-mentions of domain names for twitter usernames on the twitter copy
[cleverdevil] joined the channel
#
jacky
once I get baseline webmention support merged from lighthouse to lwa, I think this'll be the other thing I work on
#
jacky
trying to consolidate this stuff into one app so it's a bit more self-service
#
jacky
I guess my next thought is like when your site sees a `mp-syndicate-to` that points to silo.pub, it checks it to see if it has a Micropub endpoint shown on it _or_ a Webmention one and acts with that
#
aaronpk
yeah, in that screencast you can see all the configured syndication targets i have, some are webmention and some are micropub
#
jacky
wow it even has Goodreads support
#
jacky
hmm now I wonder if I should move this into a separate service
[schmarty] joined the channel
#
[schmarty]
whew that webmentions post of mine needed some proofreading! 7 months after publishing is better than never, right?
#
jacky
was saving the name 'Cabal' for something like this, lol
#
aaronpk
yeah i don't have all the api keys on mine which is why only some of the icons show up on the home page
#
jacky
[schmarty]: lol like fine wine
#
jacky
okay I think I _fully_ get it now especially via Micropub
#
jacky
in order to do it like that, you take the original post, destruct it into mf2 and then use that as the properties to send to the syndication endpoint via Micropub
#
jacky
_that_ makes a tremendous amount of sense and it's like very future-proof
#
jacky
because if it doesn't support it, it can ignore it
#
aaronpk
yep and if your storage isn't based on mf2 then you don't even have to worry about mf2-ing it at all, just treat silo.pub as an API and read the API docs for it
#
jacky
(although going mf2-y seems to make it a bit easier to abstract; depending on the resilency of the syndication endpoint's ability to resolve things)
#
jacky
like if it did PTD against the incoming properties, then it could know exactly what to work with
#
jacky
wow I wish I knew of this sooner lol
pmlnr joined the channel
#
[KevinMarks]
hm, given that silo.pub is now another kind of website entirely we may need to rename the project
pmlnr joined the channel; pmlnr left the channel
#
aaronpk
the downside of naming the project after the domain name *ahem* webmention.io
#
[KevinMarks]
well, I think we came up with the name first then kyle bought it
[Rose] joined the channel
#
[KevinMarks]
it was feverdream before
marinin[t] and [fluffy] joined the channel
#
Loqi
Homebrew Website Club 2015-06-03
#
jacky
I need to do something similar to this for the next hwc tbh
#
[KevinMarks]
about 1:20 into this Leo explains Quill and silo.pub to Jeff https://twit.tv/shows/this-week-in-google/episodes/301
#
[KevinMarks]
1:28 is first use of silo.pub
#
@mdrockwell
Setup a page on https://mike.rockwell.mx/ to accept Webmentions when someone links to the homepage. I have no idea if this will ever be useful. ¯\_(ツ)_/¯
(twitter.com/_/status/1358913270577520642)
[tantek], treora and btrem joined the channel