#dev 2022-11-09

2022-11-09 UTC
[keithjgrant] joined the channel
#
[keithjgrant]
dusts off Omnibear source code. Sees the state of the four-year-old tooling and dependencies 😰
#
barnaby
[keithjgrant]: yup, it was the same for me coming back to work on the taproot codebase again after ~5 years of neglect
#
[keithjgrant]
I’d also love to find a co-owner of that project. The fact it wouldn’t have been a big lift to get it back into the FF add ons store but I was never in the headspace to do it always hung over my shoulders
#
[keithjgrant]
(or is it “hung over my head”?)
#
[jacky]
(could be both, heh)
angelo joined the channel
#
[aciccarello]1
[keithjgrant] In theory I'd love to help with Omnibear but I don't usually end up prioritizing coding outside of work. I'll follow the github project though in case I can provide feedback.
#
Loqi
[Dan Luu] Now that https://twitter.com/altluu/status/1577806809217503232 has come to pass, let explain the reasoning there.Some necessary background for this is the state of Twitter over the past few years:A lot of people are attributing almost all of Twitter'...
#
barnaby
unrelated to the content but it’s interesting to see that the “thread of paragraph-long notes w/ optional embed” format for long-form content has partially migrated over to mastodon
#
@lordmatt
↩️ I am a frequent contributor to @OpenMentions - I highly recommend setting yourself up with some sort of Indieweb/WebMention space. WordPress (self-hosted) is easy to going. https://openmentions.com/
(twitter.com/_/status/1590174127037779968)
#
[jgarber]
barnaby: I’m deploying an update to https://rel-me.cc that includes Link header parsing. In all of your recent searching, did you find any URLs that expose `rel="me"` links via response headers?
#
[snarfed]
[jgarber] Indie Map has headers, should be pretty quick to query, https://indiemap.org/docs.html#schema-pages
#
[jgarber]
I have no idea how the GCP BigQuery console works. 😭
#
[snarfed]
evidently loadaverage.org did when Indie Map crawled it. seems dead now though
#
[snarfed]
it's just SQL! but no worries
#
[jgarber]
“just SQL” 😑
#
[snarfed]
apologies for "just"
#
[jgarber]
It’s okay! It’s late here. 😴
#
[jgarber]
I spent too much of the working day hand-jamming SQL into a production database console, but that’s certainly not your fault. 😂
#
[jgarber]
Ack, I’m seeing a “billing permissions” error trying to run a query in the BigQuery UI.
#
[snarfed]
hrm. you may be in a different project without billing attached? try this: https://console.cloud.google.com/bigquery?project=indie-map&d=indiemap&page=dataset&p=indie-map
#
[snarfed]
feel free to skip it though. a strict query for just rel="me" (ie no multi-valued rels) turned up only loadaverage.org
#
[jgarber]
Hrm, okay. Thanks for checking!
#
[jgarber]
I suspect there isn’t much use of Link headers for publishing `rel="me"` but Barnaby mentioned it’d be helpful to implement on rel-me.cc.
capjamesg1, geoffo, mro, martinratinaud[d, IWIRCGateway[d], _[d], Favicon[d], corenominal[d], Jeremiah[d], connorthemiller[, YimingWu[d], Silicon[d], tracydurnell[d], _DiscordBridge, shaunix[d], superkuh, barnaby and gxt joined the channel
#
@aaronpk
↩️ It takes a little work to set up, but this service manages all the ActivityPub stuff as well as the HTTP Signatures required. You will need to be able to configure actual HTTP redirects on your host. https://fed.brid.gy
(twitter.com/_/status/1590323588220874754)
#
barnaby
[jgarber]: yeah I doubt there’s a lot of use of Link header rel-me in the wild, but afaik it’s more common for webmention and indieauth links to be sent in headers, so IMO it’s worth looking in headers for every indieweb-adjacent link checking tool, for completeness
#
barnaby
[jgarber]++ for shipping that so quickly!
#
Loqi
[jgarber] has 5 karma in this channel over the last year (10 in all channels)
#
[jgarber]
You’re welcome!
#
@jessmccauthor
QOTD: Do you prefer the mountains or the beach? Midnight Bound is the thrilling conclusion to the Mated By Midnight series. Grab your copy today! https://geni.us/MidnightBoundAm #midnightbound #matedbymidnight #jessicaawayne #heatherhildenbrand #wolf #shifter #curse #witch #indieauth
(twitter.com/_/status/1590343643193303041)
gxt and AramZS joined the channel
#
sknebel
anyone here experience with chrom[e|ium] remote debugging? I have random cases of it not working (potentially connected to it being newer versions?), but can't find any info about it having been changed
jacky and geoffo joined the channel
#
[Murray]1
Interesting use of Eleventy and Netlify to get a Mastodon account working, for those looking into this kind of stuff: https://lewisdale.dev/post/you-can-be-friends-with-my-blog/
#
[schmarty]1
Ooh nice! Good resource for what follow/accept and other message types actually look like.
jacky joined the channel
#
aaronpk
[snarfed]: do you think copying and re-hosting bridgy fed's stuff at .well-known would work if you're unable to create actual HTTP redirects?
#
Loqi
[Aaron Parecki] It might be possible to copy and re-host the Bridgy Fed stuff under .well-known on your static site. Maybe @schnarfed might know?
#
[snarfed]
probably! not ideal, it would skew eventually, but should work
#
[snarfed]
will reply
#
sknebel
could potentially automate the copying, that'd help a bit
#
sknebel
i.e. on each deploy of a static site
#
@schnarfed
↩️ Sure! Not ideal, I'm sure I'll eventually make some change on https://fed.brid.gy/ and the copies will skew and degrade, but should work until then.
(twitter.com/_/status/1590372900267528197)
#
aaronpk
Hah clever
mro, jacky and geoffo joined the channel
#
[tantek]1
great to see sam goto going the indieweb route to AP/Masto-compat
[jeremycherfas] joined the channel
#
[jeremycherfas]
I know I am imposing on people here, but then, people here are friendly. I have a python problem that I simply do not uderstand. I wish to use a module called rdp. I have set up a venv. I have installed the module, which reports no errors. pip list reports the presence of the module. But fin my script rom rdp import rdp consistently gives the error `ModuleNotFoundError: No module named 'rdp'`
#
[jeremycherfas]
If I do `from rdp import rdp` interactively, it seems to work, no error. I have checked the path interactively with `sys.prefix` and that points correctly to `venv`
#
barnaby
what command are you using to run your script?
#
[jeremycherfas]
Stack Overflow and everywhere else is full of specific examples that do not help with actually troubleshooting. Any and all ideas gratefully received.
#
[jeremycherfas]
Both `python -m myscript.py` and `python myscript.py` give the same error.
#
[jeremycherfas]
I’m thinking maybe I should try looking as `sys.prefix` inside the script.
#
barnaby
and running `which python` points to the copy in your venv?
#
barnaby
yeah, looking at what the script “sees” might be useful
jacky joined the channel
#
[jeremycherfas]
Ah. No. It points to `python: aliased to /usr/bin/Python3`
#
barnaby
that’s likely the issue then. what command were you using for the REPL? ipython?
#
[snarfed]
barnaby++
#
Loqi
barnaby has 29 karma in this channel over the last year (46 in all channels)
#
[jeremycherfas]
Hang on. Which python3 does point to my venve. Let me try running with python3 specifically.
gRegor joined the channel
#
[jeremycherfas]
God, that is so bloody annoying.
#
Loqi
Barnaby has 30 karma in this channel over the last year (47 in all channels)
#
barnaby
yep :( environment management is bad enough already without the additional confusion of python, python3, ipython, ipython3 etc
#
[jeremycherfas]
OK, obvious next question: is there an easy way to get python aliased to python3?
#
barnaby
I was trying to help someone troubleshoot a similar issue a few days ago, and when I asked what they got for `which python`, it turned out they were on windows, which didn’t have `which`
#
[jeremycherfas]
I mean, I obviously cannot keep this stuff straight.
#
[jeremycherfas]
So which which would be an error? 🙂
#
barnaby
honestly I’m not really up to date on the best practises for managing versions of python and environments and stuff. At work we still use virtualenv, and I’ve never had any problems with `python` finding the wrong binary
#
barnaby
but then I install my main python with homebrew, which is apparently Not Recommended any more
#
[jeremycherfas]
Fair enough. I’ve just written myself a note. Presumably I could tell `zsh` that `python` always means `python3`
#
[snarfed]
`source [venv]/bin/activate.sh` usually puts the virtualenv's python (without trailing 3) into your $PATH
#
barnaby
one thing I do recommend is aliasing `activate` to `source venv/bin/activate.sh`. aint nobody got time to type all that every day
#
[jeremycherfas]
Yeah, the obligatory xkcd is burned into my eyeballs.
#
[jeremycherfas]
is the `.sh` necessary for that. I generally do `source venv/bin/activate` without the extension
#
barnaby
no idea, whatever works for you
mro joined the channel
#
[jeremycherfas]
Oh, interesting. At some point I must have put `alias python=/usr/bin/Python3` into `.zshrc` so perhaps I need to get rid of that.
#
barnaby
ah yes that could explain the issue xD
#
[jeremycherfas]
I am a living example of a little learning being a dangerous thing.
#
[snarfed]
oh sorry yes, no `.sh`
jacky and jonnybarnes joined the channel
#
[jacky]
re: rel-me and auto-approving-of-follows
#
[jacky]
I'm kinda interested in this idea and want to flesh it out but I could see rel-me verification as a form of moderation (if they have a rel=me target whose domain/provider I recognize and have flagged for approval)
#
[snarfed]
sounds like a vouch variant
#
[snarfed]
and I assume the native indieweb equivalent of moderating followers would be for non-public feeds/posts, since there's no current mechanism for moderating subscribers to public feeds
#
[jacky]
sans something websub and per-subscribee(?) removals, I'd figure but that's not too big
mro joined the channel
#
[tantek]1
I think it's worth separating ways/methods/metrics for adding/measuring reputation to account/users/identities, and use-cases. auto-approving-of-follows is but one use-case, e.g. auto-approving reactions, auto-approving replies, prioritizing "unread" posts, etc.
#
[tantek]1
there are lots of reasons (and ways) to sort identities into different clusters
#
[tantek]1
rel-me verified is one metric. age of account/domain is another.
#
[tantek]1
unless there's a specific reason why they are (or should be) connected, I don't think it makes sense to to use reputation metric X to (only) enable use-case Y
mro joined the channel
#
@RubygemsN
indieweb-endpoints (8.0.0): Discover a URL’s IndieAuth, Micropub, Microsub, and Webmention endpoints. https://rubygems.org/gems/indieweb-endpoints
(twitter.com/_/status/1590440029867778048)
#
Loqi
[snarfed] has 35 karma in this channel over the last year (62 in all channels)
#
Loqi
[snarfed] #269 default home page URLs to https?
#
jonnybarnes
hey aaronpk, I’m sure I’m doing something wrong, but do you know why Quill might be showing `null` for a photo when I go to post a new note?
#
@MalwareTechBlog
Twitter's JSON response now has a 'ext_is_blue_verified' field which distinguishes between Blue and Verified accounts. Currently you have to go to their profile and hover over the checkmark to tell, but it could be implement at the feed level with an app or browser extension. https://pbs.twimg.com/media/FhJhQ2VUYAEF56q.png
(twitter.com/_/status/1590440718639980544)
jacky joined the channel
#
[jacky]
I will say, I am now increasing my side-project times to see if I can make this into a side-product
#
[jacky]
actually more #indieweb-chat
#
[jacky]
[tantek] my main nudge for it is to reduce "manual" work for myself when it comes to moderation
tbbrown and janboddez joined the channel
#
[tantek]1
:thumbsup_all:
gxt, jacky, superkuh and [Ed_Beck] joined the channel