Questions tagged [duplication]

180 questions
0
votes
1 answer

Some C++ source files are compiled for multiple dll

In our projects my team wants to use some C++ source files for different dlls (for example MySource.cpp, amongst others, will be compiled twice to produce both A.dll and B.dll). I'll call this situation "duplicating compilations". I think it is very…
Brainless
  • 1,522
  • 1
  • 16
  • 30
0
votes
1 answer

MVC DB Duplication check, trouble when editing

I had to do some kind of duplication check of data when creating an entry (lets say username). I did it by this. (It's in VB, but don't bother) In controller: Function CheckForDuplication(ByVal UserName As String) As JsonResult If…
0
votes
3 answers

APK does not install on device

I've recently copy and paste an old android application project in Eclipse. Thereafter I made some changes to the project including refactor>rename the project, both the project name and the package name as well. All seems ok so far when running…
user3492802
  • 179
  • 9
0
votes
1 answer

How to get rid of double call to Iterator::check()?

The PHP Iterator::key page says: Return Values: Returns scalar on success, or NULL on failure. but in order to be able to decide from within the iterator logic whether the current iterator node is valid or not (so as to be able to return null or…
John Sonderson
  • 3,238
  • 6
  • 31
  • 45
0
votes
3 answers

Finding duplicate expressions/parameters

I have structure as below Parameter -> Condition -> Rule Let say i need to create a Business rule, Customer Age > 18 I have two parameters, Customer Age (P1) and 18(P2), where P1 is Field Parameter (Ognl) and P2 is constant Parameter with value…
Ankur Singhal
  • 26,012
  • 16
  • 82
  • 116
0
votes
1 answer

apostrophe causing error with row duplication of table items already run through mysqli_real_escape_string & trim

I've been successful with duplicating joined tables. Yay! Now, after a number of tests, I've found that single apostrophe (escaped items) aren't being accepted. When originally creating new tables rows in the form, everything was run through the…
cpardon
  • 487
  • 4
  • 24
0
votes
2 answers

Error while duplicating Oracle database after failover, using 11.2.0.4

I've recently updated oracle from 11.2.0.1 to 11.2.0.4 and my redundant system is no longer able to recover from failover. I'm using scripts both on primary and standby node to get back to a state where it is possible to install them as a redundant…
Magnus
  • 198
  • 1
  • 1
  • 11
0
votes
2 answers

How to remove duplicate record in mysql database table using query in java?

I have so much duplication of record in my database table. what i want to do is to remove the duplication using query in java. How can i do that?.
0
votes
0 answers

Duplicate entire SQL data set with relationships and update one field

Working with MySQL I have a database with many tables and complex relationships. Each table with data has a year and a month field for versioning purposes. Is there a simple way to duplicate the entire set of data into the original tables given a…
Zack
  • 1
  • 1
0
votes
1 answer

Sublime duplicate removal (Array)

Ran into an issue that I couldnt solve. Say I have a text file with thousands of entries such as: 12.04.2013 krispy 11.2.2013 krispy 11.2.2013 peter 11.2.2013 william 23.4.2014 krispy How can I select and permute unique so that only 1 date for…
user3946770
0
votes
0 answers

Sum values, avoid duplications, and render on a Ruby on rails model

I have a Model just like this Name ** Money Flow Bob +100 Jacky -130 Bob -20 Charles +30 Jacky +10 And I want to render it in my view as Name ** Money Flow Bob +80 Jacky -120 Charles +30 So I want to avoid…
Ananas
  • 135
  • 1
  • 10
0
votes
0 answers

Create multiple copies of xlsx file with different file names on Mac Excel

I have a .xlsx file that contains 4 sheets filled with data and formulas etc. I need to duplicate that .xlsx file 1000 times and save each file with a different name. I have another .xlsx file containing the list of 1000 names that I would like…
Cole
  • 1
  • 3
0
votes
1 answer

Using XOR Bitwise Operation to Performa a Byte-By-Byte Comparison

I would like to take two files, compare them byte-by-byte, and test it's performance, So far, this is what my code looks like: #include #include int main() { FILE *fp1, *fp2; int ch1, ch2; char fname1[40], fname2[40]…
humblebeast
  • 303
  • 3
  • 16
0
votes
2 answers

% of matching between rows and find duplications based on specific column

Hi Friends please help me ! I have large data set with duplications of the first and third…
0
votes
1 answer

How to prevent duplicate IDs / code in eclipse RCP plugins

When writting RCP Plug-ins it often happens that i need to declare and reference IDs in the extension specification (i.e. in the plugin.xml) and also in my java code. When I change one of those, I also have to change the duplicate. I'm not sure if…
Waog
  • 7,127
  • 5
  • 25
  • 37