well that kinda blows. what about c? does that compile into an executable file?DougieLawson wrote: ↑Thu Jan 24, 2019 4:33 pmNot possible. Even the *.pyc files can be decoded back to source code.
Intrigued by the legal battle comment. If it's your code, why would you get dragged in to a legal battle?birddseedd wrote: ↑Thu Jan 24, 2019 4:44 pmits a product i want to sell. but if they can easily get the code they can duplicate it and drag me into a huge legal battle
You can only be dragged into a big legal battle if your code does something illegal, or you have violated someone else's copyright, patent, or license terms in writing your code.birddseedd wrote: ↑Thu Jan 24, 2019 4:44 pmits a product i want to sell. but if they can easily get the code they can duplicate it and drag me into a huge legal battle
it would take a civil court to get them to stop selling my code/product and get repreations(sp) from them.jamesh wrote: ↑Thu Jan 24, 2019 4:57 pmIntrigued by the legal battle comment. If it's your code, why would you get dragged in to a legal battle?birddseedd wrote: ↑Thu Jan 24, 2019 4:44 pmits a product i want to sell. but if they can easily get the code they can duplicate it and drag me into a huge legal battle
That said, most people cannot decompile C code, and there are ways of writing it that make it more difficult to understand (actually, that's most C code anyway)
looking for a c++ide now.mattmiller wrote: ↑Thu Jan 24, 2019 5:01 pmEasy solution - rewrite it in Python 3 with a few decorators and async calls and that'l make it unreadable!
Sorry - old time Python2er having a bad day with Python3 today
In all seriousness, there have been many requests like this over the years and without going to tremendous lengths like creating encrypted partitions, its not worth trying to hide python code.
Compliled C/C++ etc are intrinsically much harder to reverse engineer and most people don't go to trouble of trying to reverse engineer them
The hackers will always be able to do this (attack always beats defence eventually)
Better yet use Perl, that can be really unreadable! (look for some of the Obfuscated perl contests)
First off maybe determine the risk of someone actually doing that vs the cost of trying to defeat what might be a non threat. Or look at other ways of making money from your code (e.e. get them to pay for support rather than paying for the code).birddseedd wrote: ↑Thu Jan 24, 2019 4:44 pmits a product i want to sell. but if they can easily get the code they can duplicate it and drag me into a huge legal battle
perl would be easier for a noob?mfa298 wrote: ↑Thu Jan 24, 2019 5:18 pmBetter yet use Perl, that can be really unreadable! (look for some of the Obfuscated perl contests)
First off maybe determine the risk of someone actually doing that vs the cost of trying to defeat what might be a non threat. Or look at other ways of making money from your code (e.e. get them to pay for support rather than paying for the code).birddseedd wrote: ↑Thu Jan 24, 2019 4:44 pmits a product i want to sell. but if they can easily get the code they can duplicate it and drag me into a huge legal battle
No.birddseedd wrote: ↑Thu Jan 24, 2019 5:26 pmperl would be easier for a noob?mfa298 wrote: ↑Thu Jan 24, 2019 5:18 pmBetter yet use Perl, that can be really unreadable! (look for some of the Obfuscated perl contests)
First off maybe determine the risk of someone actually doing that vs the cost of trying to defeat what might be a non threat. Or look at other ways of making money from your code (e.e. get them to pay for support rather than paying for the code).birddseedd wrote: ↑Thu Jan 24, 2019 4:44 pmits a product i want to sell. but if they can easily get the code they can duplicate it and drag me into a huge legal battle
lol. doesn't get any more straightforward than that.Ernst wrote: ↑Thu Jan 24, 2019 6:07 pmNo.birddseedd wrote: ↑Thu Jan 24, 2019 5:26 pmperl would be easier for a noob?mfa298 wrote: ↑Thu Jan 24, 2019 5:18 pm
Better yet use Perl, that can be really unreadable! (look for some of the Obfuscated perl contests)
First off maybe determine the risk of someone actually doing that vs the cost of trying to defeat what might be a non threat. Or look at other ways of making money from your code (e.e. get them to pay for support rather than paying for the code).
There's another problem, if you use code from another project and that program has a GPL license, you will also have to provide the source code for your project.birddseedd wrote: ↑Thu Jan 24, 2019 6:21 pmi looked at wiringpi for a c++library. seems it only allows 1 pwm pin. am I correct? that seems like a pretty big limitation. I need at least 2 motors