#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.
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
# ptramo[d] also, https://pypi.org/project/chardet/
# [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
# [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?
# 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?
# capjamesg[d] Actually, it doesn't matter since I can remove the feeds.
# 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.
# capjamesg[d] aaronpk++ for Monocle and Aperture.
# capjamesg[d] I have used them daily for at least a year or two.
nertzy and e-snail joined the channel
[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