#dev 2022-02-23

2022-02-23 UTC
Seirdy and jacky joined the channel
#
[tantek]
speaking of needing help, something seems broken with my site
#
[tantek]
what is Internal Server Error
#
Loqi
It looks like we don't have a page for "Internal Server Error" yet. Would you like to create it? (Or just say "Internal Server Error is ____", a sentence describing the term)
#
[tantek]
literally any page I go to (even those that don't exist)
#
aaronpk
eep, sounds like maybe an htaccess syntax error then?
#
[tantek]
even purely static pages
#
aaronpk
if you can find the web server error log it may have a helpful message
#
[tantek]
haven't touched my htaccess in a while
#
[tantek]
at least it's not "all" my sites, e.g. https://asin.cc/ works
#
Loqi
Tantek Çelik
#
[tantek]
can't seem to find the error log through the DH Control Panel
#
aaronpk
might need to get to it via FTP
#
aaronpk
should be `~/logs/tantek.com/http/error.log` or something
#
[tantek]
well that's a confusing amount of detailed jargon
#
[tantek]
(in the error.log)
#
aaronpk
haha sounds about right
#
[tantek]
like wat:
#
[tantek]
[msg "Request content type is not allowed by policy"] [data "|text/html|"]
#
aaronpk
i think the best thing is to email dreamhost support and tell them that you didn't change anything, hopefully they will be able to undo whatever they changed
#
[tantek]
Indeed, I reached my devops time/expertise limit and filed a ticket
#
[tantek]
I mentioned the error.log and the ModSecurity warnings (and the fact that my other sites seem to be "working") so we'll see what happens.
#
[tantek]
yay troubleshooting admintax--
#
Loqi
admintax has -1 karma over the last year
#
[tantek]
on another topic, this is very well-written and insightful about a problem we've talked about a bunch here, that the very UX design of Twitter (and thus UX clones like Mastodon) lends itself to driving misbehavior: https://www.wired.com/story/social-media-harassment-platforms/
#
[tantek]
posting here in dev to pose the question(s) of how can we avoid similar bad (harmful to users/community) UX design in IndieWeb approaches (e.g. Webmention), and what positive alternative UX(es) can we create? (metaphorical "traffic calming" as the article calls it)
synkarius, justAstache, gRegor, gRegorLove_ and jacky joined the channel
#
[tantek]
aaronpk, it turns out it *was* an .htaccess problem as you guessed, though why it suddenly started happening I have no idea
#
[tantek]
I had this line which was presumably for some php config options which I don't remember why:
#
[tantek]
php_value session.save_path /home/tantek/tmp
#
[tantek]
commenting that out (with a '#') fixed it which is what they did. like I said, no idea why it suddenly stopped working
epoch joined the channel
#
capjamesg[d]
What is 500?
#
Loqi
500 is an HTTP/1.1 Status Code returned from a webserver to signify that the webserver encountered an unexpected condition while trying to process the requested https://indieweb.org/500
#
capjamesg[d]
What is Internal Server Error?
#
Loqi
It looks like we don't have a page for "Internal Server Error" yet. Would you like to create it? (Or just say "Internal Server Error is ____", a sentence describing the term)
#
capjamesg[d]
Internal Server Error is /500
#
epoch
What is 42?
#
Loqi
The Answer to the Ultimate Question of Life, The Universe, and Everything is … 42 https://indieweb.org/42
Johan, sayanarijit[d], mro, tetov-irc, jacky, KartikPrabhu, [aciccarello], angelo, barnaby, gRegor, gRegorLove_, gRegorLove__ and [tonz] joined the channel
#
barnaby
fun fact I learned while fixing a php-mf2 bug: DOMXPath lets you register PHP functions with the XPath object, and call them from within XPath queries
#
barnaby
extremely useful for taking logic which XPath either can’t do at all or is badly suited to (e.g. regex matching)
#
jacky
that looks nifty
#
barnaby
and allowing you to write fairly expressive XPaths, once you get used to the quirks of the system
#
barnaby
I love finding quirky, useful, but barely known or documented functionality like this
#
barnaby
plenty of it in big, old stdlibs like PHP and python
#
gRegor
ooh, nifty
#
Loqi
gRegor: barnaby left you a message 2 weeks, 1 day ago: heya, any objections to me moving https://github.com/microformats/php-mf2/issues/184 to the 0.5.1 milestone and wrapping up the 0.5.0 release? it’s been four years since 0.4.6, and there’s easily enough features and fixes to justify a release IMO
#
gRegor
Nope! XD
#
barnaby
ha ha good to know ;)
#
gRegor
barnaby++ again for getting that out
#
Loqi
barnaby has 9 karma in this channel over the last year (21 in all channels)
#
barnaby
October this year will be php-mf2’s 10th birthday
#
barnaby
and I was wondering if it’d make any sense to aim for a 1.0.0 release
#
[tantek]
that might depend on getting all the issues resolved against the parsing spec 😬
#
barnaby
take the opportunity to clean up the codebase and the API, taking into account ten years(!!!) of experience and technical debt
kloenk joined the channel
#
[tantek]
can also take that to #microformats 🙂
#
barnaby
yeah that too [tantek]!
mro joined the channel
#
barnaby
gRegor, GWG, aaronpk etc: anyone feel like reviewing https://github.com/microformats/php-mf2/pull/231 ?
#
Loqi
[barnabywalters] #231 Fixed issue parsing elements with mixed valid and invalid mf2 classnames
gRegorLove_, KartikPrabhu, mro, [chrisaldrich] and jacky joined the channel
#
gRegor
barnaby, I'll try to look tonight
#
jacky
itch: a micropub client that takes audio, generates a waveform and uses one's h-card photo to render a voice post
#
barnaby
gRegor: thanks!
#
barnaby
there’s something vary amusing about the phrase “best-in-class meme templates”
tetov-irc joined the channel