Post Reply 
No acces to source code in App
10-06-2015, 08:14 AM
Post: #1
No acces to source code in App
Hi all,

Is it posible to make an App that only could be executed, and the code not be edit.
I'm making a general App for school, but the code is not public!

Cheers,

Jan
Find all posts by this user
Quote this message in a reply
10-06-2015, 09:01 AM
Post: #2
RE: No acces to source code in App
An inverse of this question seems equally valid: Is it possible to make editable code so versatile, the general public can create apps? With PPL, it's getting there...

-Dale-
Find all posts by this user
Quote this message in a reply
10-06-2015, 09:30 AM
Post: #3
RE: No acces to source code in App
Thanks, but I don't understand what you are writing?

(I'm Dutch)
Find all posts by this user
Quote this message in a reply
10-06-2015, 01:18 PM
Post: #4
RE: No acces to source code in App
There is no way to lock the code from view/edit. What you can do is obfuscate the code to make it harder to understand (to lock any *secret*), but that's all.

My website: ried.cl
Visit this user's website Find all posts by this user
Quote this message in a reply
10-06-2015, 03:26 PM
Post: #5
RE: No acces to source code in App
(10-06-2015 09:30 AM)Powersoft Wrote:  Thanks, but I don't understand what you are writing?

(I'm Dutch)

To be clear:

With "open source," the benefits of code are widely distributed, encouraging increased use, and enhancement by others. On the other hand, hiding code tends to have the reverse effect.

Simple syntax in a versatile programming language limits clever hiding tactics, which are easily reverse engineered. In other words, trying to turn this device into a required lock, over which you are the sole provider of the keys, isn't a good paradigm for the hp Prime.

-Dale-
Find all posts by this user
Quote this message in a reply
10-06-2015, 03:31 PM
Post: #6
RE: No acces to source code in App
Oke, that is clear for me.
But I can imagine that some one is well willing to let us use his personal app, but don't won't to share the intellectual knowledge behind it because it is not allowed to share.
(private or commercial)
Find all posts by this user
Quote this message in a reply
10-06-2015, 04:39 PM
Post: #7
RE: No acces to source code in App
Somehow, the hp Prime doesn't seem like the right 'technology' for capturing intellectual knowledge in a personal app. Do you have any examples?

To be clear, let's say you wanted to analyze an electrical DC network, and have discovered a convenient, new mathematical approach for this. Do you see this as something for which a wide population would purchase both an hp Prime and your personal app? (You can insert just about anything in lieu of that example). Open source tools already exist for more versatile platforms, better suited to the task.

I see the hp Prime as a learning tool, and much like this forum, sharing information is the reward; in that as a recipient of the knowledge, you are better able to develop within yourself, and as a donor of the knowledge, you have repaid a debt, gratitude for those who have inspired you along the way. With relatively little determination, most interested users can probably create the app themselves, thanks to hpppl being somewhat easy to use.

If this device were more robust, with I/O, comm's, and such, (think PLC), hiding code might have more commercial merit. Otherwise, not so much.

-Dale-
Find all posts by this user
Quote this message in a reply
10-07-2015, 05:16 AM
Post: #8
RE: No acces to source code in App
Hello,

At this point in time, Prime does NOT have a functionality to 'hide' program source code.
The program is stored internally as text and compiled when needed, so the text is always there.

What are you trying to achieve:
- Let the user see the code, but block him from modifying it (protect the code from unexpected changes, maybe password protected so it can not be accidentally modified)?
- Hide the code from the user because "he has no business seeing it"?
- Hide the code from the user to protect your algo?

All of the above are valid reasons (well, open source proponent would disagree for the 3rd one here).

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
10-07-2015, 05:54 AM
Post: #9
RE: No acces to source code in App
Thanks all for this open discussion.
I have no reason to protect my work, but whas freely thinking about
this subject.
And wont to know how other members of the forum are thinking about it.

Yes it is good to have open software, on that basis I have learned a lot (not only for the HP-Prime !)

Cheers,

Jan
Find all posts by this user
Quote this message in a reply
10-07-2015, 04:17 PM
Post: #10
RE: No acces to source code in App
If there was a possibility to protect someone's work then maybe we could see something like this:




Prime G2, 15C CE
Find all posts by this user
Quote this message in a reply
10-07-2015, 07:35 PM
Post: #11
RE: No acces to source code in App
Bonjour
Pour moi la possibilité de proposer une application sans le code
est une mauvaise chose.
On risque de se retouver à terme avec des applications utilisables seulement
un certain temps puis soumis à rétribution par l'auteur.(shareware)
Cela ne serait pas bon pour l'avenir de la Prime.
Restons pour les calculatrices, dans un monde de gratuité, de partage et d'entre aide
une chance de survie pour ces machines que beaucoup voient déjà condamnées à
disparaître.
Espérant que la traduction ne trahisse pas ma pensée.

Hello
For me the opportunity to propose an application without code
is a bad thing .
Eventually we risk retouver with applications usable only
some time and then subjected to retribution by the author.
That would not be good for the future of Prime.
Calculators to remain in a world of gratuitousness , sharing and mutual aid
a chance of survival for these machines many see already convicted
disappear.
Hoping that the translation does not betray my thought .

Sorry for my english
Find all posts by this user
Quote this message in a reply
10-09-2015, 03:59 PM
Post: #12
RE: No acces to source code in App
Agreed, closed-source programs are not a good fit for the Prime's philosophy, and a bad thing in general for most purposes.
Find all posts by this user
Quote this message in a reply
10-16-2015, 06:27 AM
Post: #13
RE: No acces to source code in App
(10-07-2015 07:35 PM)Tyann Wrote:  Bonjour

On risque de se retouver

SVP, "retouver"? O "retrouver"?

Merçi, brickviking

(Poste 45)

Regards, BrickViking
HP-50g |Casio fx-9750G+ |Casio fx-9750GII (SH4a)
Visit this user's website Find all posts by this user
Quote this message in a reply
10-16-2015, 07:00 AM
Post: #14
RE: No acces to source code in App
"Retrouver", indeed.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)