News for hackers. Stuff that matters.
Re:My HN November app: Quick Brown Frog by kaffeinecoma on Tuesday November 23, 2010 @11:32AM (#1934212)
A few others have given me similar feedback on the two-spaces issue. I used to be a double-spacer myself until HTML came along.

I'm planning to offer a config option that allows you to specify whether you prefer single or double spaces. Not sure which is the best default to offer for visitors though.

Thanks for your feedback!

Re:My HN November app: Quick Brown Frog by lasonrisa on Tuesday November 23, 2010 @12:05PM (#1934384)
I do not know your code, but you might be able to guess this from what the user types and skip the configuration option. If someone consistently enters two spaces you can then assume that when there is only one space it is a mistake.
Re:My HN November app: Quick Brown Frog by kaffeinecoma on Tuesday November 23, 2010 @07:00PM (#1935892)
I just implemented something to the effect of:

"if the preceding substring was dot space, and the user types another space, just ignore it".

Hope that works for you.