News for hackers. Stuff that matters.
Re:Faker.js - generate massive amounts of fake data in Node.... by mrjbq7 on Monday May 17, 2010 @04:02PM (#1355343)
Re:Faker.js - generate massive amounts of fake data in Node.... by richbradshaw on Sunday May 16, 2010 @10:47AM (#1352082)
Seems a little weird as most addresses were in the UK, but had zip codes, large house numbers and non UK phone numbers.

Needs a bit more filtering based on locale.

Re:Faker.js - generate massive amounts of fake data in Node.... by marak on Sunday May 16, 2010 @12:49PM (#1352278)
I'd like to see better test data for sure. It's pretty easy to add more custom definitions in the definitons.js file.
Re:Faker.js - generate massive amounts of fake data in Node.... by marak on Sunday May 16, 2010 @03:33PM (#1352615)
also, it should be noted that online demo creates a contact card that uses every single API call. normally you wouldn't generate a UK address + a US zipcode in one contact
Re:Faker.js - generate massive amounts of fake data in Node.... by mikeknoop on Sunday May 16, 2010 @02:40PM (#1352520)
Re:Faker.js - generate massive amounts of fake data in Node.... by jamonX on Sunday May 16, 2010 @09:36AM (#1351985)
Do you guys know a java library that would do the same thing ?
Re:Faker.js - generate massive amounts of fake data in Node.... by marak on Sunday May 16, 2010 @04:19AM (#1351671)
online demo in case you missed it on the github readme

http://maraksquires.com/Faker.js/

Re:Faker.js - generate massive amounts of fake data in Node.... by Maciek416 on Sunday May 16, 2010 @09:16AM (#1351965)
I tried to generate a "massive" amount of data, but I hit the script CPU usage warning pretty quickly :). Have you tried using Web Workers or perhaps timer-chunking your data generation loop?
Re:Faker.js - generate massive amounts of fake data in Node.... by marak on Sunday May 16, 2010 @12:49PM (#1352277)
If you are generating large sets of data you are better off calling the script from node. Also, if you are using the browser demo it's gonna try to append all that info to the DOM.....

I put this together in less then two days, there is a vast amount of room for improvement in this library. I'd be happy to see a web workers fork and streaming async version in node.