The dummy-data tag has no wiki summary.
1
vote
0answers
4 views
I want to hardcode the value of a dummy column from my view created upon an oracle DB
I have a view which has one dummy column called action.
I have a formula {@action}
if {abc_view.name} startswith "abc" Then {abc_view.action} = "Represents action" Else {abc_view.action} = ""
and ...
3
votes
4answers
114 views
how do you make a For loop when you don't need index in python?
if i need a for loop in python
for i in range(1,42):
print "spam"
but don't use the "i" for anything pylint complains about the unused variable. How should i handle this? I know you can do ...
1
vote
3answers
50 views
Generate dummy files in bash
I'd like to generate dummy files in bash. The content doesn't matter, if it was random it would be nice, but all the same byte is also acceptable.
My first attempt was the following command:
rm ...
0
votes
1answer
97 views
Dummy datas with Factory Girl
How can I set up dummy data with FactoryGirl?
Is there a way to set up dummy data with a factory in my integrated development environment ?
7
votes
4answers
280 views
What is an easy way to stub / dummy a restful web service?
I want to create an android application, this application will make RESTful calls to a web service to obtain some data.
I know what the RESTful interface will be, but I don't want the hassle of ...
2
votes
3answers
151 views
What does $dummy and non-parameter split mean in Perl?
I need some help decoding this perl script. $dummy is not initialized with anything throughout anywhere else in the script. What does the following line mean in the script? and why does it mean when ...
-2
votes
1answer
97 views
Can not instainate type Foo
I would like build up a dummy dao class with help of List where the Advert is entity class, but when I try to create an instance with this code:
public AdvertDaoImpl() {
Advert a;
a = new ...
3
votes
3answers
191 views
Generating dummy data for my web application - looking for dictionaries
Sorry if this is off topic - but it is certainly programming related.
I need to test my web application at scale (concurrent users and amount of data in system). For the latter, I need some way of ...
2
votes
2answers
142 views
mysql select dummy record when JOIN condition not met
I have two tables, one a record of hits, the other a user table. If as user is logged in, the hit is recorded with that user's ID. If the user is not logged in, the hit is logged as user_id = 0
When ...
1
vote
1answer
69 views
NHibernate dummy data
Are there any tools such as http://www.generatedata.com/ which will generate dummy data for NHibernate mappings?
0
votes
2answers
353 views
Using a Do-Loop, to read a column of data (numerical & string) and filter the numbers as output into another file
I have an output file, single column, where each 7th line is a string and the others numerical (something like below)
998.69733
377.29340
142.22397
53.198547
19.743515
7.5493960 ...
1
vote
1answer
60 views
list of 2ld.1ld (2nd level domain.1st(top)level domain) names?
I am looking for a list of (doesnt matter if its not all, just needs to be big as its for generating dummy data)
Im looking for a list like
.net.nz
.co.nz
.edu.nz
.govt.nz
.com.au
.govt.au
.com
.net
...
0
votes
2answers
373 views
google chrome extension: webdb or not?
I am creating a google chrome extension to help with testing.
The extension basically fills and input with dummy data.
I need to store this dummy data somehow.
The dummy data will not change, so ...
0
votes
1answer
606 views
Sample/Dummy Data Generation in Rails 3
Is there a standard gem for creating data for testing purposes for Rails 3?
I am interested in using Faker or Forgery but is there a better approach?
What is the best way to generate and use sample ...
3
votes
8answers
230 views
Is creating a “dummy record” to force data-base obey the business logic, a good idea or a dumb one?
In some projects I see that a dummy record is needed to create in Db in order to keep the business logic go on without breaking the Db constraints.
So far I have seen its usage in 2 ways:
By ...