#dev 2024-08-07
2024-08-07 UTC
refica, geoffo, Kaguneh, [jeremycherfas], capjamesg[d], [tantek], [Joe_Crawford], [schmarty] and kimo joined the channel
# catgirlin.space [snarfed] any ideas on why following my bridgy fed account from indieweb.social doesnt work (and same in the other direction)?
[snarfed] joined the channel
# [snarfed] http://catgirlin.space which account?
# catgirlin.space @catgirl@indieweb.social
# catgirlin.space oh, catgirlin.space :3
# catgirlin.space also should mention it seems to be every bridgy fed account? like following @snarfed.org@snarfed.org shows "Cancel follow", like your bridgy fed account does follow requests (but tmk bridgy fed doesnt do those?)
# [snarfed] while I look, check https://fed.brid.gy/docs#troubleshooting ?
# catgirlin.space oh, never added one because the only thing i rlly plan to use that account for is testing if my bridgy fed and webmentions stuff works...
[jeremycherfas] joined the channel
# catgirlin.space hm, seems like trying to follow my indieweb.social account from fed.brid.gy doesnt work though still :( unless if its just cached or something...
# catgirlin.space i did
[Scout] and jimw5 joined the channel
# Zegnat Has anyone added fediverse:creator to their page yet? https://blog.joinmastodon.org/2024/07/highlighting-journalism-on-mastodon/
# Zegnat Such a mix of words. It is not an OpenGraph tag. (OGP uses property, not name.) Instead they should have said they followed the Twitter card standard, but then unlike Twitter they did not add it to the extensions list https://wiki.whatwg.org/wiki/MetaExtensions
jimw4 and gRegorLove_ joined the channel
# [tantek] Start here and read subsequent messages and links: https://chat.indieweb.org/dev/2024-08-02#t1722627402626800
ttybitnik joined the channel
barnaby joined the channel
barnaby joined the channel
barnaby joined the channel
# Zegnat Moved it to /Mastodon#Link_Previews now, and expanded a little with publishers vs consumers
Guest6_ and AramZS joined the channel
sebbu2, sadome, sadomei, [snarfed]1 and [Scout]1 joined the channel
# [tantek] aside, per https://developer.mozilla.org/en-US/docs/Web/HTML/Element/i one "valid" use of the <i> element is for "Technical terms"
GuestZero, jjuran, [Jo], [tantek], [Joe_Crawford], ttybitnik, AramZS, flambop, _fluffy and Kaguneh joined the channel
# capjamesg[d] What is the best way to detect character encodings in Python
# Loqi It looks like we don't have a page for "best way to detect character encodings in Python" yet. Would you like to create it? (Or just say "best way to detect character encodings in Python is ____", a sentence describing the term)
# capjamesg[d] (in a file)
# capjamesg[d] I got a report that someone using my static site generator is getting a UnicodeDecodeError in Python.
barnaby joined the channel
# capjamesg[d] Python's open() call assumes your system default encoding.
# capjamesg[d] So I need to figure out what the encoding is?
# capjamesg[d] Also: what is the best way to test a Python file on Windows?
# capjamesg[d] I don't have a Windows computer, but I got a bug report for Windows.
# capjamesg[d] jimw Does chardet mean I need to read the file twice?
to2ds joined the channel
# [snarfed] capjamesg beyond chardet, historically the other effective answer has been https://www.crummy.com/software/BeautifulSoup/bs4/doc/#unicode-dammit
# capjamesg[d] [snarfed] What would the code look like? The user is getting the error on the .read() call on the file pointer.
# capjamesg[d] I really need to figure out a Windows environment to replicate this.
# capjamesg[d] jimw++
# capjamesg[d] That sounds like a good approach.
# [KevinMarks] If you have mojibake that isn't giving decode errors (because it has already been concatenated or been through more than one encode decode cycle) ftfy is handy
# catgirlin.space has anyone done custom emojis like there are on fedi?