Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Dummy Data

Name: Anonymous 2005-04-28 14:45

I'm working on a project that needs dummy data.  Is there any way to autogenerate it?

Name: Anonymous 2005-04-28 16:37

Depends on what the nature of the data is. If it's just dummy text, there's the trusty old "lorem ipsum" generators (first result on Google gives you a web-based nonsense text generator). If it's a bunch of spreadsheet data it shouldn't be a big deal to make a macro or simple program to churn out random values. If it's database records, again you may be able to program in random generators as macros or functions. Unless you're pretty confident with doing that stuff, or you have to generate thousands of values/records, you'd probably be quicker to just type in some dummy data manually.

Name: Anonymous 2005-04-30 8:36

>>1
>>2 said it well: what do you need and how much of it do you need? If it's ascii data, a simple perl script (or python or...) can be very written in less than 10 lines? If it's binary data used by a Microsoft product, you'll have to use the integrated set of tools (like VBA) instead.

>>2
If I were you, I would forget the "typing manually", I think it's a big mistake. I'm just a student but when you have 1000 examples instead of 10, you see more clearly where you errors are. I had a SQL project where the usual "Lennon, John/Gates, Bill" was working great and when I tried with 100 randomly-generated names, my results were so fucked up I understood there was a mistake in my "SELECT... GROUP BY... HAVING..."
As long as the data format stays the same, a small script is worth spending your time to write.

Name: Anonymous 2005-04-30 10:08

If you have MS Access or SQL Server they come with a sample database called Northwind that has lots of sample data for Employees, Customers, Products, Orders, etc. sort of tables and whatnot.

Don't change these.
Name: Email:
Entire Thread Thread List