News for hackers. Stuff that matters.
Re:Generate Fake Data for Your JavaScript Applications Using... by e28eta on Sunday January 25, 2015 @12:48PM (#8943534)
I've done something similar at work, primarily to generate random data that'll pass our validation checks (real cities, valid SSN, etc).

It seems strange to me that the email address and usernames in the samples are based on a person's name, but they're different from the user's actual name.

I chose to just take the name, and transform it for the email address. I think some consistency will make it easier to test that the right user data shows up in the right places while testing.

Re:Generate Fake Data for Your JavaScript Applications Using... by rakeshmenon on Sunday January 25, 2015 @01:04PM (#8943602)
sounds interesting and useful.. is your code open-source? Can we see your work?
Re:Generate Fake Data for Your JavaScript Applications Using... by elliotec on Sunday January 25, 2015 @12:18PM (#8943424)
I've used Faker and like it. For mocking big datasets I prefer http://www.mockaroo.com/ served by https://github.com/typicode/json-server
Re:Generate Fake Data for Your JavaScript Applications Using... by rakeshmenon on Sunday January 25, 2015 @12:24PM (#8943448)
yep! It's takes care of a lot of useless headache when it comes to testing or so :)