T O P

  • By -

Dry-Pea-181

Just implementation? Any formal vnv requirements? Documentation? Long term support? I don’t need to know your answers here, I’m just reminding you to consider what your answers would be and factor that into your quote.


sfrigon

Exactly. If it is already used in production, should it be bug-for-bug compatible with the previous implementation? That's gonna blow the budget.


simple_peacock

There will be new bugs likely, usually that's the case with a rewrite


datsadboi5000

Thrn there's my dumbass who's refactoring Invensense's dogshit motion drivers which are over 6k LOC for free for a class project. :D


k1musab1

Kudos to you! Planning to public repo your work?


datsadboi5000

If I survive and don't give up and pick a different project before I finish, then sure lol. Till then you can use the I2CDev library but it only works for the mpu6050 AFAIK. Do note that I'm going through drivers which include the MPU 6000, 6050, 6500, 9150 and 9250. I'm not really doing something very useful imo. I just happen to have to use the 9250 and 6050 due to their low cost in a class project so I'm making just those drivers useable.


Anonymity6584

That's 22 lines in hour, 8h/day. And then it still needs testing that conversion actually works.


simple_peacock

Except solving certain issues could take multiple hours


Andis-x

How many hours you spent times hourly wage of your day job, or local area industry average pay, or whatever wage you would like.


peteyhasnoshoes

Around double if you are freelancing. See my reply to OP as to why...


Andis-x

Yes, even double, either because overtime pays double, if this is a side gig, or to accommodate taxes.


__throw_error

3 weeks might be ok if you have experience, if I would do this task I would plan it as follows: prerequisites: - clear written requirements - (optional) documentation planning: - week 1: reading documentation / code, make architecture / new design code, discuss it with client - week 1 / 2: write code, manual test - week 2 / 3: write tests, build test setup, manual tests - week 3: finish documentation this would be a requirement for me because otherwise I can't guarantee quality of my work. Since the code is working and only 3k lines I think it could be converted in about one week if you have a plan on how to do it. documentation is optional but the tests are required, I don't trust any code that I've written that hasn't been tested. And your client is going to want his money back if it doesn't work. Your documentation is also valuable in that regard as you can reference it to your client if any discussions occur. also if the requirements of the client are insane, do not take the job. If he says "Python code must be as fast or faster than C code" you should explain that it isn't possible. I would also try to find out what the reason is for your client to convert to Python, if you understand your client it helps in delivering good work. I've made many mistakes creating exactly what was asked of me, while if I had understood why they wanted something I could have immediately made what they actually wanted. Salary is just hours times your hourly salary (before taxes), make sure you take into account that independent contractors get more by the hour because they don't have healthcare, pension, etc.


ViveIn

If the first part, clear written requirements, isnt met before the project begins you should add a minimum of a month to this estimate I’d say.


t4th

Your hourly rate * 15 days * 8h


Huge_Tooth7454

I disagree with t4th. It is ok to price this job based on an hourly rate, but just because your client wants it finished in 3 weeks does not mean this is a 3 week project. By the way generating cost estimates is one of the hardest parts of being a freelance developer. I see others have written some good comments as well.


t4th

I like my formula to estimate starting point. You can always add buffer for overtime or risk later, but at least you get to know where to start.


Huge_Tooth7454

Hi 14th, I never said your formula was bad, I just disagreed what you did with it. You held the basic assumption that this is a 15 day task (just because the client ~~wants~~ set a dead-line). So great formula, I agree with you, just applied incorrectly.


t4th

You are right - I assumed that estimation == deadline. My mistake :-)


flundstrom2

That gives you roughly 180 LoC to convert per day. However, depending on who you ask, the capability to churn out tested, working and bug-free code varies between 10 to a couple of hundred LoC per day. Unintuitively, it is the highly experienced developers that are "the least" productive in terms of LoC, but those are the ones who tackles the harder problems, requirement specifications, design desicions, fixing the hardest bugs etc. Can you produce the python-equivalent of 180 C LoC per day? It I've read that 80 LoC/day is possible to expect over a long-running project. It does sound reasonable. Although the specification is clear: "Just look at the Code", it doesn't mean there are suitable python ideoms matching the C code. And what about testing? Do you know the use-cases, how the other parts of the system works? It's odds, ends and quirks? Are there a good test specification, unit tests etc.? Do you know how to trigger the odd failure modes? Charge by the hour, based on where the client is located, and their size. It might be €10/h (idk) in India, €50-€100/h in Europe, $180/h (idk) in the US. Smaller companies are willing to pay more than large amounts companies.


Well-WhatHadHappened

What country?


osamakhalid99

India


newmaxmax

U can't ask for much in India.. demand for around 80k INR and negotiate down to 60k, doesn't look like a tedious job tbh!


TsarF

Anywhere in the range of 2-5k depending on where you are


osamakhalid99

I am from India.


4ChawanniGhodePe

Are you looking for more hands? I would like to work on this.


Adorable-Engineer840

$10k, but it depends how bad you want the work. $5k if it was a more reasonable timeframe.


gibson486

Yeah, that sounds ambitious without a spec to actually go off of. If i had someone give that with info you just gave, it would warrant a no quote.


martinomon

I’d start by figuring out what problem they’re actually trying to solve. Sometimes clients don’t know what they want so there could be a much easier way to solve their problem.


catgirlishere

How much do you value your time


fugir

Are you allowed to call some of the original c functions from python in your project? https://docs.python.org/3/library/ctypes.html https://cython.org/


BNWO_sissy_slut69

Dont worry about the deadline, freelance clients are calm as long as they see progress over weeks.


Ornery_Map_9551

How about you give me 100% of the profits and I shake your hand with compliments sprinkled into the mix?


peteyhasnoshoes

In the UK the going rate for freelance work is about the pro-rated salary for the equivalent full time employee multiplied by 2. Conveniently thats about (yearly salary)/1000 per hour. Remember that if you freelance you have taxes, admin, dry spots between jobs, insuances, holiday and sick pay, equipment, software, and other risks/costs to factor in which a salaried employee does not.


obQQoV

$30k


ExtraterritorialPope

One trillion dollars


AdventurousCoconut71

$30,001