Feel free to comment

Volume 19, Issue 2; 09 Mar 2016

Is this thing on?

Being forced to write comments actually improves code, because it is easier to fix a crock than to explain it.

G. Steele

If you’ve got something nice to say, feel free to say it! I’ve gone ahead and hacked comments back into a functioning state. Whether this was a good or useful thing, I don’t know. But I believe they work.

The new comment system uses a simple Markdown editor as the text control. No more fiddly typing angle brackets into a text box. They’re still moderated of course, so no spam, please.

There’s one annoying bug that I haven’t figured out. One way to encode a block of code in Markdown is to indent it. Sometimes (but not always!) when you move the cursor into the comment, there’s an initial space in the text area. If you type after this space, the Markdown editor thinks you meant that first paragraph to be code.

It’s very annoying and I don’t see where it’s coming from, there’s sure as [expletive deleted—ed] no space in the “<textarea/>” markup!

Anyway. Delete the space and comment to your hearts content.

I might eventually integrate some system to login and post comments without waiting for them to be moderated (or, at least, without waiting for the second and subsequent comments to be moderated), but that’s pretty far down my list. Better be after “write more”, I think.

Comments

Well, look at that - it lives! Well done :)

—Posted by Bethan on 09 Mar 2016 @ 03:32 UTC #

The Atom feed (http://norman.walsh.name/atom/whatsnew-fulltext.xml) includes no text from the articles (despite the name). Is that something that you plan to change?

—Posted by David Edmondson on 09 Mar 2016 @ 04:21 UTC #

Yes, David. Fixed now, I think.

—Posted by Norman Walsh on 09 Mar 2016 @ 10:02 UTC #

Yes, working much better now, thanks!

—Posted by David Edmondson on 10 Mar 2016 @ 07:25 UTC #