#dev 2024-06-29

2024-06-29 UTC
_DuBPiRaTe_, E_Bomb, __E_Bomb_, __DuBPiRaTe__ and to2ds joined the channel
#
[0x3b0b]
I had a company delivering an XML file that allegedly conformed to a schema that said only UTF-8 and ISO-8559-1 were permitted, and the former required stating it in the preamble. I pointed that out to them, but explained that _we_ would stop having problems with the file if they just had the preamble state the actual encoding, even if it wasn't schema-compliant.
#
[0x3b0b]
If I remember correctly, they added ISO-8559-1 to the preamble and kept delivering Windows-1252.
wagle, zicklepop and jonnybarnes joined the channel
#
[KevinMarks]
That is the default problem, to the point that assuming anything labeled 8859-1 is win1252 is the safest way (the main indicator is 0x80 in the text which is invalid in 8859-1 but non-breaking space in windows). The nightmare is text with mixed encoding because someone copy/pasted text in with a different encoding.
#
[KevinMarks]
If you're ingesting unknown text, you eventually want https://ftfy.readthedocs.io/en/latest/
#
[KevinMarks]
Sorry, it's 0xA0 - 160 decimal
#
[KevinMarks]
yes, chardet first, then ftfy for the remaining wtf in it
#
[KevinMarks]
at one point I was the top google result for 'breathtaking hack' for my decoding trick in feedparser of try utf8, and if that fails assume win1252, which was a good way to catch mixed encoding within a feed due to copy-paste
oodani and thegreekgeek joined the channel
#
[tantek]
Interesting. Perhaps mixed encoding could make for a good plain text stego technique
#
[KevinMarks]
there was the classic 'encode a signature by varying what kind of apostrophe' technique
ttybitnik joined the channel
#
capjamesg[d]
I remember that.
lazcorp, to2ds and chimo joined the channel
#
thepaperpilot
Gas anyone tried to represent reddit upvotes on their posts on their own website? I kinda think I just can't, because of reddit obscuring the exact counts and how often ought I re-query the values?
#
thepaperpilot
(although admittedly, after awhile everything gets locked and then I wouldn't need to re-query for upvotes)
#
thepaperpilot
I'm also interested in what y'all do for comment threads. Would you replicate the whole conversation on your website? Or just have several "reply" posts in a feed that each point to the parent message on reddit?
#
[snarfed]
a number of sites support threaded comments via webmention, eg the WordPress plugin
#
[snarfed]
Bridgy backfeeds top-level comments on Reddit posts that link to your site, but not yet upvotes or nested comments
#
[snarfed]
those would be great to add! PRs welcome!
#
thepaperpilot
yeah but this is me PESOS-ifying my previous reddit activity (I don't use it anymore, but that's the appeal to having it on my own site - one contiguous feed that doesn't care about what platform(s) I was using at the time)
#
capjamesg[d]
aaronpk Is there a way to delete my Aperture account?
#
aaronpk
just by asking me
#
capjamesg[d]
Actually, it doesn't matter since I can remove the feeds.
#
aaronpk
there's no self-service delete
#
capjamesg[d]
I'm moving to my own feed reader, so I didn't need it anymore.
#
capjamesg[d]
But removing the feeds is enough for me.
#
aaronpk
that works
#
capjamesg[d]
aaronpk++ for Monocle and Aperture.
#
Loqi
aaronpk has 53 karma in this channel over the last year (138 in all channels)
#
capjamesg[d]
I have used them daily for at least a year or two.
#
aaronpk
when you remove a feed you also have the option to delete the items in the feed too
nertzy and e-snail joined the channel
#
[tantek]
Amazing. Aaronpk++
#
Loqi
Aaronpk has 54 karma in this channel over the last year (139 in all channels)
[Paul_Robert_Ll] joined the channel
#
[Paul_Robert_Ll]
@thegreekgeek If you file an issue with the error you are seeing (and link to your repo, if possible), I can try and investigate. Iā€™m not a Docker expert, or use it myself, but there are users of Indiekit that are and might be able to help diagnose your issue. https://github.com/getindiekit/indiekit/issues
laurie, ttybitnik, rrix, StarrWulfe, nertzy, DusteD and to2ds joined the channel