News for hackers. Stuff that matters.
Re:Show HN: An Etherpad clone in Node.js and Socket.io by edtechdev on Monday May 06, 2013 @09:17PM (#5665942)
From https://github.com/JacksonGariety/Yugen/blob/master/routes.j...

  res.redirect(crypto.randomBytes(3).toString('hex'))
You probably already know this, but you'd probably want to replace that with a unique id generator, like perhaps MongoID or a timestamp or something.
Re:Show HN: An Etherpad clone in Node.js and Socket.io by JacksonGariety on Monday May 06, 2013 @10:01PM (#5666125)
Yeah I wanted to try out crypto. There are a number of things about this app I want to change. Namely getting your cursor to stay in place when other people edit. No clue how to tackle that one.