Hacker News new | ask | show | jobs
by trillcyborg 2567 days ago
Hey guys its cool to see that you like my project. Unfortunately these types of things happen to independent contractors often and theres not a whole lot you can do about it but learn from mistakes. I used some awesome tech for the first time in this one like react-native-web which is now in Expo and react-spring for those sexy animations. Im happy for any of you guys to use this project as a boilerplate, learn some stuff from it or make fun of my code
7 comments

Have you ever seen mike monteiro’s “fuck you pay me” talk?

Assuming that your contract leaves you with copyright until you’re paid you could always have dmca’d them when they deployed. But that’s the vindictive side of me :D

That's an awesome talk.[1] It's one of those ones that you can see once, and whenever a particular topic is brought up (in this case non-payment of a contract) you immediately remember multiple parts of it, even a decade later.

To be clear, this is a strong second endorsement.

1: https://creativemornings.com/talks/mike-monteiro--2/1

> Assuming that your contract leaves you with copyright until you’re paid

Why would this matter? If he's not paid, what validity does the contract have?

You have a contract at the point of agreement, not at the point of payment.

The question is really whether it is IP transfer on final payment or not. If the contract specifies IP is transferred only on final payment, then the developer keeps all IP until that point.

Now, something like building a website, it doesn't really make a whole lot of sense why this matters. If the person doesn't pay, they may not get the source code you've written, and they may not have the technical chops to deploy or use it. But think about a design agency instead.

Client hires a design agency to come up with a brand identity, logo etc. Client agrees to their standard terms - 50% upfront, remaining 50% on completion. They start work and come up with a few ideas. Client asks for a few changes, but they soon broadly settle on a design style. Before the agency gets to the point of completing all the deliverables, the client cuts off contact and does not pay. They're now in breach.

But, they think, we've got the logo, we don't need all the other stuff the agency were going to do. We're fine with the logo, and we're not going to pay. They can go to court, and the court might say "well, you paid 50%, you are entitled to the part performance before the breach". They might look at the design agency and conclude "they're not going to sue us, they're tiny and lawyers are expensive" and decide the risk of the breach makes it worthwhile.

There's also completely innocent scenarios you could imagine that lead to the breach: perhaps the working relationship breaks down. Perhaps the design agency don't answer the client's emails for a week and they refuse to pay.

But if the agency had 50% upfront AND IP transfer only on final payment, then if the company decide to reuse the work, they can't try and argue "well, part payment entitles us to part performance", plus you have a viable cause of action against them for breach of copyright violation in addition to breach of contract.

IP transfer on completion makes it clear what happens in the case of breach (which reduces legal uncertainty), and it increases the cost to the client of breaching, which hopefully has something of a deterrent effect.

The expectation of payment is legally binding
My understanding is essentially people have contracts that essentially assign ownership of the copyright at point of completion rather that at the point payment.

In the monteiro talk he says that a lot of companies have default contracts for contractors, and say things to the effect of "it's just our standard contract there's nothing to worry about", IIRC he gives examples of contemporary contracts that require delivery on floppy disks. But also they try to have terms that essentially say all the work belongs to them, and you will be paid on completion.

e.g. if you don't finish the work - or they claim you did not (by applying feature creep offensively, etc). Then because you didn't finish they don't owe you money.

The other approach is that they fail to pay, you can't use (for example) the DMCA to pull down their site, or bring copyright violation suit against them because the IP already belongs to them. All you can do is sue for owed money but you don't have the leverage of stopping them using your IP, because it's not your IP anymore.

That is my understanding from his talk anyway - IANAL, and also I haven't done contract work myself (that's what my wife used to do, and she had a default contract produced by her own lawyer)

> If he's not paid, what validity does the contract have?

What does this mean? The contract is valid absent payment.

A contract has to have consideration for both parties to be a valid contract, but a promise of payment is a perfectly valid consideration and would make the contract valid.

How can a promise of payment, combined with a refusal to honor that promise, be valid consideration? It doesn't differ from a promise of nothing.
This seems like very basic contract law 101 stuff.

The promise of payment is the consideration. A contract is literally an exchange of promises. When you go into a car dealership and buy a car, they are exchanging a promise (you get a car!) for your promise to pay them.

The refusal to pay is a failure to live up to the promise - that is what makes it a breach of contract. If not paying meant consideration didn’t exist, then nobody would be able to sue for breach of contract for non-payment. If breach meant the contract was invalid, you wouldn’t be able to enforce the contract.

Your interpretation would fundamentally defeat the purpose of almost all contract law.

The promise of payment itself is consideration. The refusal to honor that promise is the breach of the contract. The contract itself doesn't become invalid because one party breaches the contract. Again, such an interpretation would fully the entire purpose of contract law.

Absent the contract copyright would naturally remain with the author. The contract needs to be valid for it to be transferred to the business.
Because if you file a lawsuit with a signed contract, you probably get a summary judgement and can put a lien on the income of the other party. If you file a lawsuit without one you get to testify in court about what each party said and who knows where it ends.
That's really a question for lawyers to answer with regards to the specific contract.
Lawyers do not have the sole ability to answer such questions. I learned contract law from a business professor who wasn't a lawyer.
That's what contracts are for. They specify a set of promises and what happens when they're broken. If necessary, courts will step in and enforce the contract terms.
The client pivoted, so there won't be a deployment.
that's what he said :D
What I was responding to:

> you could always have dmca’d them when they deployed

As a freelancer, always get a 50% upfront payment before starting a project.
I much prefer billing by hours/days with clear payment terms in the MSA, and iterative delivery,. Clients understand that if they don't pay, they're not going to get much. Project-based estimates with up-front payment probably is good for clients unfamiliar with software development processes, but I avoid projects like those.
What about something like $10k up front and then you invoice for the hours past that?
So essentially retainer billing.
Happened to me before so I can really feel your frustration. What I have learned, because it's not always easy to ask for 50% upfront, is to split the project into many phases and ask for payment when a phase is implemented. Hope you won't have to deal with a client like that in the future.
You definitely picked a good tech stack! Code is ideal.
What did you learn from this mistake?

Whose idea was it to use react-native-web?

It was my friends. We always try to learn new things. Its been really nice to work with. I recommend it
How common as a ballpark percent? I’m asking because I’m trying to decide whether to try some contracting this year or not
That can't be answered in a ballpark figure.

It heavily depends on the kind work and the clients you target and accept.

Some tips:

* always demand partial payment up front (usually 20-50%, depending on contract size and length)

* set milestones with additional payment required upon completion (for bigger jobs)

* have a contract that only transfers usage rights and copyright upon final payment

You can always get screwed over or have bad luck (client goes bankrupt, ...), but some prudence in selecting work goes a long way.

When starting, I learned to stay away from anything gambling and real estate related.

The more you charge, the less likely it is to happen. Also, requiring some money up front before you begin weeds out many of the worst clients. Early on, it might be 10% of your clients that try to not pay. As you gain more experience, you can weed these clients out through a combination of the aforementioned things and just getting a better "feel" for when to turn down a job.

Or do like I did and end up working full-time for a client that does pay well. That brought my non-payment rate down to 0%.

Personal data point - in my six years of doing this (not fulltime), zero.

You can mitigate this risk in the following ways:

* Focus on taking in referrals; you're less likely to get hosed if you know a way back to them.

* Fixed contract + payment plan. As much as you can, negotiate one and have everyone sign it.

* Get clients in your geographic proximity. Spend a lot (say, 3 hours) of unbilled time with them in advance of closing a deal. This gives each party a chance to suss out the other. As with the first bullet point, you're less likely to get scammed because you probably know where they work.

These things unfortunately happen. I hope you don't get discouraged - plenty of fish and all that.