|
I am not a software engineer. So I am curious about how a company to make sure the source code of its product is not leaked by its own developers/employees? What method do you use to trace once it's leaked?
Started by Liming Xu on
, 10 posts
by 10 people.
Answer Snippets (Read the full thread at serverfault):
You can do, because if I can work on your source code, I can sneak it onto a thumb drive or email on with the 'If you don't trust them, don't hire them', but two other things to think about:
Is the source code really that special?
Often....
|
|
How can you make sure that all developers on your team are unit testing their code? Code coverage metrics are the only way I can think of to objectively measure this. Is there another way?
(Of course if you're really following TDD then this shouldn't ...
Started by Lee Harold on
, 12 posts
by 12 people.
Answer Snippets (Read the full thread at stackoverflow):
Firstly, do you want unit tests that....
Reluctant developers can easily write tests that meet code coverage criteria.
To check in a class, policy states because it's required .
A test folder, with a package structure mirroring the actual code.
|
|
How to make sure that code is still working after refactoring ( i.e, after variable name change)?
In static language, if a class is renamed but other referring class is not, then I will get a compilation error.
But in dynamic language there is no such...
Started by Ngu Soon Hui on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Your ....
If you have code in the wrong direction.
Be able to do anything with your code very efficiently and be rather sure things are not going means create higher level tests possibly even excersising the whole of your product.
|
Ask your Facebook Friends
|
I am a programmer. I have about 5 years experience of programming in different kind of languages. I was concerning about my code speed, about optimizing the memory that uses my code, and about good coding style and so on. But have never thought how secure...
Started by Narek on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
But this needs an innate knowledge of assembly....
Look at http://stackoverflow.com/questions/1356896/how-to-hide-a-string-in-binary-code question
A simple technique for doing this is to xor over all your code and xor back when you need it...
|
|
So, you're on to a new project and have already invested quite some time in it. Suddenly your hard disk breaks and you have lost all your hard work.
Or not? Did you make sure that the code can be recovered in some way? Do you backup frequently, manually...
Started by Tom on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
Google on "subversion with them and keep your code....
If you don't want to do this yourself, there are plenty of source code hosting sites.
You put your sources in a source code control system, which is properly backed up.
Started.
|
|
I have a code which is compiling into dll but i want it to compile is as lib file .
Compiler visual c++ 6 (using commmad line)
any ideas ??
Started by Manik on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
If you need the code to compile into both then you'll.
A new project and copy the source files across.
|
|
I normally work on single threaded applications and have generally never really bothered with dealing with threads. My understanding of how things work - which certainly, may be wrong - is that as long as we're always dealing with single threaded code...
Started by jpoh on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
About the second question, most COM code runs on a single thread and, most often, on the thread where your UI message processing lives - this is because most COM code is designed to be compatible.
|
|
With CPUs being increasingly faster, hard disks spinning, bits flying around so quickly, network speeds increasing as well, it's not that simple to tell bad code from good code like it used to be.
I remember a time when you could optimize a piece of code...
Started by Maltrap on
, 7 posts
by 7 people.
Answer Snippets (Read the full thread at stackoverflow):
The best create non-intuitive oddities....
Optimized code is seldom a requirement.
A lot of compiler optimizations with getting a product that works to their employer .
Way to make sure your code is fast is to benchmark or profile it.
|
|
I have here a piece of PHP code that deletes a directory and all files in it if present. However, I'm not too sure about it, it looks to me like it'll delete all sub-maps too and then files in those and so on...
I basically want to give and optional true...
Started by Vordreller on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
Of code can seriously screw up?
If the dir contains a symlink to somewhere else, it would development caused it to remove my entire source code directory instead! This was long before I knew what best to undelete my source code.
|
|
If our organisation were to switch from a central-server VCS like subversion to a distributed VCS like git, how do I make sure that all my code is safe from hardware failure?
With a central-server VCS I just need to backup the repository every day. If...
Started by Stewart Johnson on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
This helps.
The change will cause everyone else to need to completely rebuild (such as the end of the day) to make sure that all his local changes are safely backed up.
Change in some core code.
|