#dev 2022-05-05

2022-05-05 UTC
[tw2113_Slack_] joined the channel
#
[KevinMarks]
so, does anything display a repost well? Looks like monocle skips it
#
[KevinMarks]
it's a big part of tumblr, but marking up as it says here https://indieweb.org/repost#How_to_Publish doesn't show up
#
[snarfed]
can't tell how rolling it is. anyone else get an email too? "Inviting you back to the Twitter Developer Platform"
#
[snarfed]
doesn't really matter for Bridgy yet though. it averages 30-60qpm to the Twitter API, and both the v2 tiers are way lower than that, 1.7qpm and 3.3qpm
scojj joined the channel
#
[snarfed]
also worrying: sounds like the lower tier (Essential) doesn't need approval, and the second tier (Elevated) does. however, the comparison chart on https://developer.twitter.com/en/docs/twitter-api/getting-started/about-twitter-api says Essential doesn't include access to the current (legacy) v1.1 API
#
[snarfed]
soo....what happens when I sign up for the Essential tier? does my account and all of its apps immediately _lose_ access to the v1.1 API? that would be...bad
#
[snarfed]
they do say "If you were approved for a developer account before November 15th, 2021, you were automatically converted to Elevated access. This means that your existing Apps can continue to be used to make requests to standard v1.1, premium v1.1, and enterprise endpoints, and that all of your user Access Tokens are still valid."
#
[snarfed]
...but what does _approved_ mean there? I was originally approved for v1.1, and then later rejected for v2. so...? ugh.
#
GWG
[snarfed]: Call Elon?
#
GWG
Kidding
#
Loqi
[indieweb-test] indieweb-dev Tantek: what is Tumblr? Loqi: Tumblr is a popular content hosting silo, especially for...
#
[KevinMarks]
I could do what chat.indieweb.org does and make each line a h-entry but not sure how that works inside a post
#
@lcptuk
Webmention W3C protocol for notifying a URL when a website links to it https://en.wikipedia.org/wiki/Webmention
(twitter.com/_/status/1522027718182944769)
#
[KevinMarks]
tumblr << new project for the updated template https://github.com/indieweb/tumblr
#
Loqi
ok, I added "new project for the updated template https://github.com/indieweb/tumblr" to the "See Also" section of /Tumblr https://indieweb.org/wiki/index.php?diff=81267&oldid=81265
jacky joined the channel
#
[KevinMarks]
There is some info there, I'll update the wiki tomorrow as it is nearly 4am here. Do try it out and send me issues at that project
#
[chrisaldrich]1
[KevinMarks]++
#
Loqi
[KevinMarks] has 22 karma in this channel over the last year (47 in all channels)
jacky joined the channel
jacky joined the channel
#
jacky
nice!
jacky and [jacky] joined the channel
#
[fluffy]
I’m really happy to see work moving forward on indieweb-tumblr. I’ve been on a kick of evangelizing this a lot lately, and I have a bunch of other things I’d love to see tumblr add beyond removing href.li and adding mf2.
#
[fluffy]
I’m sad that wip.tumblr.com never answered my detailed ask about it though
#
@fluffy
↩️ For a while I've been posting to tumblr some ideas for how tumblr can become a better indieweb player, and have submitted some of them to wip but I'm not sure if they saw them. I'd love to see full bidirectional webmention support and the ability to subscribe to external feeds.
(twitter.com/_/status/1522075034763755521)
#
@schnarfed
↩️ In case it helps, one proof of concept example here is how Bridgy adds webmention support to Tumblr, both incoming and outgoing: https://brid.gy/about#blogs
(twitter.com/_/status/1522084820213321729)
#
@schnarfed
↩️ In case it helps, one proof of concept example here is how Bridgy adds webmention support to Tumblr, both incoming and outgoing: https://brid.gy/about#blogs
(twitter.com/_/status/1522084820213321729)
#
[snarfed]
on the plus side, re the Twitter v2 API: "We are removing language in our Developer Policy that restricted how you build with Twitter’s core features, and limited the number of users you can support through your app...Specifically, we’ve removed terms that restricted replication of the Twitter experience, including Twitter’s core features"
rrix_ and Victor1 joined the channel
#
IWDiscordGateway
<capjamesg> Can you run known with nginx?
#
sknebel
(might be outdated of course, but a starting point)
#
IWDiscordGateway
<capjamesg> I got it working but have an error... 😦
#
IWDiscordGateway
<capjamesg> > During inheritance of SessionHandlerInterface: Uncaught ArgumentCountError: Too few arguments to function Idno\Core\Logging::Idno\Core\{closure}(), 4 passed in /var/www/known/vendor/symfony/http-foundation/Session/Storage/Handler/AbstractSessionHandler.php on line 23 and exactly 5 expected in /var/www/known/Idno/Core/Logging.php:40
#
aaronpk
Sounds like a version of a dependency isn't compatible with the version of php
#
IWDiscordGateway
<capjamesg> Does Known have a php version requirement?
#
IWDiscordGateway
<capjamesg> I'm using the most up to date version of PHP because that's what the breakfastandcoffee wiki uses.
#
aaronpk
That probably caused a newer version of Symfony to be installed and now Known needs to update to the new Symfony APIs
#
IWDiscordGateway
<capjamesg> Ah, php7.4 looks to work fine.
#
IWDiscordGateway
<capjamesg> Hm. Known is loading all assets from 127.0.0.1 (the proxy pass)
#
aaronpk
Probably need to set a header in nginx I forget what it's called
#
aaronpk
forwarded for maybe?
#
sknebel
no, thats the client IP
#
IWDiscordGateway
<capjamesg> I haven't seen this before with nginx.
#
IWDiscordGateway
<capjamesg> sknebel Any tips?
#
aaronpk
Try this `proxy_set_header X-Forwarded-For $remote_addr;`
doosboox joined the channel
#
callym[m]
In the indieauth spec, it says
#
callym[m]
> If a client wishes to use a redirect URL that has a different host than their client_id, or if the redirect URL uses a custom scheme (such as when the client is a native application), then the client will need to explicitly list those redirect URLs so that authorization endpoints can be sure it is safe to redirect users there.
#
callym[m]
Does this mean `example.com` would need to list `redirect.example.com`, but not `example.com/redirect`?
#
callym[m]
* In the indieauth spec, it says
#
callym[m]
> If a client wishes to use a redirect URL that has a different host than their client\_id, or if the redirect URL uses a custom scheme (such as when the client is a native application), then the client will need to explicitly list those redirect URLs so that authorization endpoints can be sure it is safe to redirect users there.
#
callym[m]
Does this mean `example.com` would need to list `redirect.example.com`, but not `example.com/redirect`?
#
callym[m]
Or are subdomains fine too, and it's just `example.com` => `unrelated.com` that needs the explicit list
#
IWDiscordGateway
<capjamesg> aaronpk Everything is returning a 404.
#
aaronpk
callym[m]: subdomains are considered different domains too
#
aaronpk
capjamesg: is that only after adding the x forwarded for?
#
callym[m]
aaronpk: thanks! just wanted to make sure I'm doing validation right :D
#
aaronpk
I believe that's why that sentence says "different host" instead of "different domain"
#
IWDiscordGateway
<capjamesg> aaronpk Both before and after.
#
aaronpk
then I have no idea :-)
#
IWDiscordGateway
<capjamesg> I configured the "url" config.ini value to my domain and that at least made the styles render.
#
IWDiscordGateway
<capjamesg> So I'm closer 😂
#
IWDiscordGateway
<capjamesg> What does the "path" variable need to be?
#
IWDiscordGateway
<capjamesg> I have it working now.
tetov-irc joined the channel
#
IWDiscordGateway
<capjamesg> I spoke too soon...
m2m and [James_Van_Dyne] joined the channel
#
IWDiscordGateway
<capjamesg> It's all up now!
#
aaronpk
Haha good job what an adventure
#
sknebel
capjamesg: blog post while you still remember ;)
#
sknebel
also, is it really a blog if the first post isnt about "how I installed/wrote my own/found/... a blogging system" ;)
#
[tantek]
sknebel++ lol
#
Loqi
sknebel has 11 karma in this channel over the last year (36 in all channels)
#
[KevinMarks]
For the 'what should Tumblr inc do' list, should that go on /Tumblr or in the github repo I made? Issues seem like a possible approach, but a narrative of the different things we'd liek them to do and the benefits might suit the wiki page.
[manton] joined the channel
#
[manton]
[snarfed] That Twitter policy change is so welcome. I still might not do much with the API because I don’t want to get burned again, but… _finally_.
#
[manton]
Oh, that post is from last year. Wonder how I missed it.
[schmarty] and AramZS joined the channel
#
IWDiscordGateway
<capjamesg> sknebel I spun up a new server, installed apache and php8.1, then used the composer installer to get everything going. I moved the files into the /var/www/known/ directory, made the requisite apache2.conf changes as per the installation process, and then I had a new blog. The key is that I spun up a new server. nginx and apache2 were conflicting on my main server and causing a lot of issues.
#
IWDiscordGateway
<capjamesg> I should try and blog this. Even if it's just those two sentences until I have time to write something in more detail.
#
[tantek]
KevinMarks, on the /Tumblr page and I believe we have made similar sections for other sites or software
#
sknebel
capjamesg: ah, you did use apache now and not nginx
#
IWDiscordGateway
<capjamesg> sknebel Yes, so this might not be as interesting. nginx was causing so many issues.
#
IWDiscordGateway
<capjamesg> I really hope someone who uses Known + nginx documents how they got everything working.
#
IWDiscordGateway
<capjamesg> Comparatively, the setup process with apache was a breeze.
#
[tantek]
[KevinMarks] looks like we have been using a section named "IndieWeb Friendly" to document existing IndieWeb support, pending/submitted IndieWeb support, and requests/proposals for more
#
[KevinMarks]
ah, that's good. I'll look at that. I think issues in a repo are good too, in the same way we use them for specs etc, and Echo agrees https://tech.lgbt/@chaosexanima/108249667736457514
#
Loqi
[echo ✨] @kevinmarks GitHub repo please! The issues I'm seeing in the repo are already great 💯
#
[tantek]
^ yes, keep issues in the GH for broader reach/discussion since this is now a broader discussion across communities
m2m joined the channel
#
sknebel
re twitter APIs: did I miss it or do they still not have an API for bookmarks?
#
[tantek]
the private bookmarks feature? do we even have documentation for it?
#
IWDiscordGateway
<capjamesg> Can you backfill bookmarks on Known?
#
[KevinMarks]
You can backfill with micropub
#
sknebel
[snarfed]: oh good to know, thanks
jacky joined the channel
#
IWDiscordGateway
<capjamesg> [KevinMarks] Good point!
#
IWDiscordGateway
<capjamesg> How do you make a Micropub request to Known?
#
jacky
wow that's not an explicit process lol
#
jacky
I just was checking the docs
#
jacky
guess it has its own API
jacky and hs0ucy joined the channel
chenghiz_ joined the channel
#
Loqi
[James' Coffee Blog] I have just backfilled all of my likes, bookmarks, and notes into Known. I haven’t made a decision yet but I am most likely going to use my Known instance here at jamesg.coffee from now on. #indieweb
jacky joined the channel
#
hs0ucy
Known should be compatible with SQLite ;)
#
[schmarty]
Hahah that explains the wave of like webmentions I just received capjamesg 😅
#
@edheil
↩️ Apparently not. I was hoping http://brid.gy would autopost but it didn't seem to, so I did it manually. Which.... was kinda silly... cause the wp post in question was redundant with an existing tweet
(twitter.com/_/status/1522259842815209475)
jacky joined the channel
#
@edheil
↩️ All that indieweb stuff is still kind of baffling to me, and seems fragile. (What happens when hundreds of thousands of people start using http://brid.gy ?)
(twitter.com/_/status/1522260056858836993)
#
hs0ucy
It's too bad we need gcloud to install a bridgy instance ...
#
hs0ucy
use a google service don't seems indieweb to me
m2m and jacky joined the channel
#
Loqi
[Kevin Marks] @Gargron I'm baffled that they (and you, come to that) still use webfinger instead of profile URLs
#
jacky
hs0ucy: why not?
#
hs0ucy
jacky: you refer to bridgy or Known?
#
jacky
bridgy
#
jacky
the implementation details don't really have to _dictate_ the indiewebness of a project
#
jacky
(and what would _really_ make something indiewebby? it running on a PC at home connected over duckdns?)
#
hs0ucy
If you are locked to a particular service how it can be Indie? it is a relationship of dependence, not independence
#
jacky
that depends heavily on your defintion of indie then
#
jacky
b/c it could also be coming from a want to do things but also not wanting to have to manage servers
#
jacky
if using GCP helps, then so be it
#
jacky
by that case, using GitHub for hosting, Verizon for Internet and GoDaddy for domains would also be anti-indie
#
hs0ucy
Yep, maybe i don't have the same definition as you
#
jacky
and that's okay!
#
jacky
that makes it more independent (each of us having our own lens into it but still being able to interop)
#
jacky
if that's not a true defintion of independence, then I don't know what is lol
#
hs0ucy
For me If I can host it in my basement with HP Mini 110, it's definitely Indie, otherwise i'm not so sure
#
hs0ucy
You can use a VPS ... It's a little bit less indie. there's a lot of degrees and gray areas I guess
jacky and m2m joined the channel
#
[snarfed]
hs0ucy the indieweb community is generally focused on indie _web_, not indie hosting. the key parts of indieweb to us are 1) own and use your own domain, and 2) use tools that let you easily export and migrate your data
#
[snarfed]
indie/self hosting can also be great! just not nearly as high priority for us here specifically
#
jacky
(remembers the above for future use)
#
[fluffy]
There’s a bunch of “public good” services that members of the community run, such as webmention.io and so on, which are helpful transitional tools which make it easier to take the next step later without having to invest a huge amount of resources into getting started.
#
[fluffy]
Ideally by the time that brid.gy is running into scaling issues that make using it a concern, it’s because the indieweb is so well-established that we don’t really even need it anymore. 🙂
#
jacky
indeed :)
#
hs0ucy
[snarfed]: I get it, but when I read "Your content is yours" step 0 of this is still to avoid depositing your data on someone else's computer.
#
@ChrisAldrich
↩️ Which of the various methods (manually, plugin(s), other) are you using? On fragility front, I'm not too worried as it is open source and has folks helping. It's also only a bridge as I can reply directly to your site. https://brid.gy/about#cost https://indieweb.org/Bridgy#Statistics
(twitter.com/_/status/1522272153466552320)
#
hs0ucy
But I understand that this is not *necessarily* what is being promoted here.
#
[snarfed]
hs0ucy right, that step 0 isn't about whose computer, it's talking about control
#
@edheil
↩️ and... it kind of looks like I have two different http://brid.gy accounts, one linking my twitter to my blog, the other linking my mastodon to my blog? Is that how it works/should work?
(twitter.com/_/status/1522273017484791808)
#
@edheil
↩️ OK, if you don't mind answering beginner questions, does it monitor my website (http://edheil.com) and look for new posts to post to mastodon & twitter, or do I have to log into http://brid.gy and post links myself? (Not Masto though, that's not working?)
(twitter.com/_/status/1522272854120837121)
#
hs0ucy
[snarfed]: Ok, so it's like saying we're doing IndieRock but signing with a big record label ;P
#
[snarfed]
hs0ucy, your point is definitely well taken! lots of people here like and prefer self/indie hosting. that's great! we just don't make it a top priority or requirement for everyone's site and all of our tools. our priority is indie _web_, more than hosting
#
[snarfed]
the name was definitely a deliberate choice
#
hs0ucy
[snarfed]: I'm ok with that, I'm not trying to be pure... everyone has their own priorities and schedule
#
jacky
I getcha tho: hs0ucy
#
jacky
in an ideal world where self hosting is as simple as buying a game console, firing it up and playing stuff at home, I'd be all for it
#
jacky
it's not there yet tho
#
jacky
and I say this as someone with a homelab, TBs of space and a bunch of other stuff
#
[fluffy]
For what it’s worth, with brid.gy you’re not “depositing your data” elsewhere, it’s just acting as an adapter to convert mentions from a silo service (which you don’t own) to mentions on your webmention endpoint (which you very well could own). The only data that’s being “owned” externally is stuff that isn’t indie to begin with.
#
[fluffy]
Like you’re not relying on brid.gy to host your data, you’re still hosting your own site, and if you’re running your own webmention endpoint, you’re still in control of the data that brid.gy generates.
#
[fluffy]
It’s not an “indie rock” band on a major label, it’s an indie rock band whose website is being indexed by Google.
#
[fluffy]
Or maybe to keep the analogy all in the band space, it’s a groupie of th eindie rock band telling them about their writeup in Spin Magazine.
DenMcH1 joined the channel
#
hs0ucy
:)
jacky joined the channel
#
jacky
tests++
#
Loqi
tests has 2 karma over the last year
jacky, m2m and cyborganicLion joined the channel
jacky joined the channel
#
@ChrisAldrich
↩️ The whole idea behind IndieWeb is that you can use your website to own all your content on a domain you own/control. You've got a site with webmentions set up, so we could be having this whole conversation from site to site. Instead, I'm choosing to [more] https://boffosocko.com/2022/05/05/55804567/
(twitter.com/_/status/1522293999007985664)
#
jacky
Does anyone have suggestions/ideas on how they handle cursor-based pagination with micropub?
#
jacky
I've been leaning on using dates but that doesn't really play with with limits and offsets
ben_thatmustbeme joined the channel
#
jacky
like if I did something like before=2022-04-05&limit=10&offset=10, showing a cursor to more items would just be repeating `before`
#
jacky
I guess more specifically, how can I make the `paging` field in Micropub work with some sort of cursor navigation
#
jacky
but I want to avoid exposing IDs to clients 🤔️
#
jacky
lol tbh I'm tempted to use URLs
#
sknebel
Wouldn't before+offset as a string be a useful cursor?
#
sknebel
Or am I misunderstanding the question?
#
jacky
nah you're on it
#
jacky
I'm trying to determine what would be a good value for the `before` part of `before+offset`
#
jacky
eh, I might just use IDs for now
#
sknebel
(I think my site nav does timestamp of post + it's id
#
[snarfed]
out of curiosity, why avoid exposing ids to clients?
#
jacky
tbh I have no good reason when I think of it
#
jacky
and it's not like those values would be 'saved' for pagination
#
[snarfed]
:thumbsup:
#
jacky
like if one wants the latest, it should query it without anything (or maybe specifying a `published` value for filtering)
#
jacky
IDs it is
#
sknebel
The timestamp allows recovery if the post with the Id gets deleted/moved - but inside micropib that sounds less needed
#
sknebel
For websites I always want to support "what if someone had the tab open for months", because I do that too)
#
[snarfed]
seems like a reasonable failure mode, if the worst thing that happens is, paging is off
#
jacky
thanks for the rubber ducking y'all
#
@BekoPharm
↩️ What's this? #Cloudfare breaking the web again? Good job. "Oooh, Linux, Hacker, Bad." Just like breaking #Webmentions eh? "Your request appears to be automated" No shit!
(twitter.com/_/status/1522302305172865025)
jacky joined the channel
#
@BekoPharm
↩️ What's this? #CloudFlare breaking the web again? Good job. "Oooh, Linux, Hacker, Bad." Just like breaking #Webmention|s eh? "Your request appears to be automated" No shit! (Repost to fix rage typo in hashtag)
(twitter.com/_/status/1522303229073276930)
jacky and JSQ joined the channel
#
JSQ
so if I have an ID set for a div, and I make a class that will be for 3x3x3 pictures. Can I set the box to be width:30%; height: 30% and that'll be the size of the boxes within that main div?
#
JSQ
I'm doing something wrong, here, because they all shrink... So my next question is do I use the row command for the divs inside that main one? Here is an example: https://www.squonks.ca/wp-content/uploads/2022/05/layout-draft-3-1024x521.png
#
JSQ
ahhh, I misread a chapter
#
JSQ
nevermind
gxt, tetov-irc and jacky joined the channel