|
In a situation where code ownership was not mentioned and no contracts were signed who would you assume owns the code? The company or the freelancer? If it was taken to court is there some kind of legal precedent where it goes to one party if nothing ...
Started by Paolo Bergantino on
, 15 posts
by 15 people.
Answer Snippets (Read the full thread at stackoverflow):
The best idea is to consult a lawyer....
In the US) is pretty clear: the freelancer owns the code and the company has, at most, some kind, a court would most likely determine that it was a work for hire , and that the company owns it in full.
|
|
While I plan on asking at work to see if there is an official policy, I wonder in general. If you're working on a non-work application on a work computer, who owns that application? Work, or you?
Started by MasterMax1313 on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at stackoverflow):
Cause to both claim all your work as their own (since it was developed with company resources.
|
|
Suppose I have the following code:
public class SomeClass() { private readonly object _lock = new object(); public void SomeMethodA() { lock (_lock) { SomeHelperMethod(); //do something that requires lock on _lock } } public void SomeMethodB() { lock ...
Started by Kent Boogaart on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
I have no experience whatsoever with .NET programming, but in my own code (Delphi) I have once.
|
Ask your Facebook Friends
|
Okay, so what I'm attempting to do is find out the name of the user for which a given process belongs to.
Process[] processList = Process.GetProcesses(); foreach (Process p in processList) { Console.WriteLine(p.Id); } Console.ReadLine();
Currently, I ...
Started by Jacob Bellamy on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
Check this sample
using System; using System.Collections.Generic; using System.Diagnostics; using System.Management;... .
You can use the Win32_Process class from the WMI to get all the info related to a process .
Here is a way of getting the user via WMI .
|
|
C++ is all about memory ownership
Aka " Ownership Semantics "
It is the responsibility of the owner of a chunk of dynamically allocated memory to release that memory. So the question really becomes who owns the memory.
In C++ ownership is documented by...
Started by Martin York on
, 12 posts
by 11 people.
Answer Snippets (Read the full thread at stackoverflow):
Even for C++ code heavily using references and/or smart of as a smart reference to some... .
I have my own implementation for these, but they are also available and it is still very important to know who owns who .
The object from the first.
|
|
In PowerBuilder's IDE, the code autocomplete feature uses the clipboard to communicate the completed text to the code window. By doing so, it overrides whatever was stored on the clipboard before. So, if you had the winning numbers of the next lottary...
Started by eran on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at stackoverflow):
Even between processes, there are other, better ways of communicating information... .
There is absolutely no reason why an application would use the clipboard to communicate information other than pure laziness .
You are probably right on the intern reasoning.
|
|
Edit: this puzzle is also known as "Einstein's Riddle"
The Who owns the Zebra is an example of a classic set of puzzles and I bet that most people on Stack Overflow can solve it with pen and paper. But what would a programmatic solution look like?
Based...
Started by divideandconquer.se on
, 9 posts
by 9 people.
Answer Snippets (Read the full thread at stackoverflow):
Jon Skeet owns the zebra!
Here's a solution using NSolver: http://tinyurl.com/3a894h Prolog, you could use a similar system of your own creation using a technique such as modus ponens, maxn+1)) # Each house has its own....
Left off...
|
|
I'm working an application of which only one instance must exist at any given time. There are several possibilities to accomplish this:
Check running processes for one matching our EXE's name (unreliable) Find the main window (unreliable, and I don't ...
Started by Thomas on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
Class HandleInfo { [DllImport.
It's in C#, but the Win32 calls are the same .
Think there is a trivial way to resolve the actual owner of a Mutex, but the process that owns it can a process that owns a mutex.
|
|
If not specifically spelled out in any contract language, who would own the source code and the subsequent program developed?
the programmer the company employing the programmer or the company who is the end-user customer paying for the development of...
Started by Jay R. Brown on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at stackoverflow):
The paid worker who wrote this post: http://stackoverflow.com/questions/111815/freelance-work-with-no-contract-who-owns-the-code or province, and sometimes other ....
Is known as a "work-for-hire" and the employer owns all the rights to it.
|
|
Hi, I'm writing a decorator for methods that must inspect the parent methods (the methods of the same name in the parents of the class in which I'm decorating).
Example (from the fourth example of PEP 318 ):
def returns(rtype): def check_returns(f): def...
Answer Snippets (Read the full thread at stackoverflow):
Class A(object): @returns(int) def compute(self, value): return.
Of decoration, no class owns the method f.
|