# mixedmath

Explorations in math and programming
David Lowry-Duda

I am on the fourth iteration of a comment system for this site.

### Comment Graveyard

Initially I used Wordpress default, which is okay-ish. But there are problems with formatting and writing mathjax-able math in comments.1 1More generally, post-rendering Wordpress content with javascript is a security nightmare and is often hard. This is one reason why this site is no longer using Wordpress.

Then I used Disqus. Disqus works by running externally hosted javascript.2 2Also a security nightmare. As one might worry, they began to inject ads into comment sections. I do not run ads and that was unacceptable. I've learned a lesson about external dependencies.

Then I used a comment system built on top of Wordpress. This was slightly better, but written in PHP.

The new comment system is email-based. Plain email. I drew inspiration from tdarb and lowtechmagazine (who have precisely the same comment "system").

I know that requiring an email adds a small amount of friction in the comment process. I don't know how this will affect comment spam,3 3which was wildly common in previous iterations. but I think it might balance out.

Currently, I enable a significant amount of markup in comments. The comments are processed with markdown and allow mathjax (assuming that mathjax is enabled on the page). This is because I use the same preprocessing on comments as I do on pages for this site.

bold, italics, and plain text are allowed in comments. A reasonable subset of markdown is supported, including lists, links, and fenced code blocks. In addition, math can be formatted using $(inline math)$ or $$(your display equation)$$.