News for hackers. Stuff that matters.
Re:Show HN: Backseat Writer – write like Shakespeare and others by trevorah on Monday April 01, 2013 @11:04AM (#5473461)
Yeah, only listing the top 10 chars to write next results in a few misses. Its also bit of a pain to test a recursive function that uses random numbers.
Re:Show HN: Backseat Writer – write like Shakespeare and others by fruchtose on Monday April 01, 2013 @11:38AM (#5473704)
I can understand that, but in a web app like yours which is meant to be very responsive, I think you would be better served by handling misses rather than letting errors throw away the stack (so to speak) every time a miss happens.
Re:Show HN: Backseat Writer – write like Shakespeare and others by trevorah on Monday April 01, 2013 @11:58AM (#5473838)
Very true. I've just updated it now to handle misses. Its a bit of a ugly hack, but it stops the errors for now. You can check it out here - https://github.com/trevorah/backseat-writer/commit/b749d3154...