Linked Questions

36 votes
4 answers
2k views

What are the most common (usual) ways to make palettes with non-trivial functionality?

What are the best (most robust and most convenient) ways to create palettes that can be installed permanently (using Palettes -> Install Palette...) and are safe ...
Szabolcs's user avatar
  • 234k
23 votes
2 answers
655 views

The dangers of SaveDefinitions --- should this really happen?

I have been bitten hard by SaveDefinitions -> True. I'll describe in detail what happened below. My questions are: Is this a bug? What is the most convenient ...
Szabolcs's user avatar
  • 234k
23 votes
1 answer
2k views

What is the proper method to load a Mathematica package inside a DynamicModule

I have a DynamicModule that requires loading of Mathematica packages. The usual methods do not seem to apply (...
Nothingtoseehere's user avatar
13 votes
2 answers
404 views

Working with DynamicModule: Tracking the progress of Initialization

How to track Initialization step by step? Any tricky solution is ok. One condition, x should be ...
Kuba's user avatar
  • 137k
12 votes
2 answers
319 views

Inconsistent behavior of undocumented Encode->Import->StringToStream->Get on password-locked stream

Let's save a definition. Encode it with password/key and Get it again. We will not use Get ...
Kuba's user avatar
  • 137k
7 votes
2 answers
358 views

Not FullDefinition for Save. MachineID not Protected?

Is there a way to set what symbols's definitions I do not want to store? Consider the following code: ...
Kuba's user avatar
  • 137k
6 votes
2 answers
247 views

How to organise functions inside a package instead of the initialisation of a DynamicModule?

I want to know how to write clean code of a big DynamicModul for a complex GUI which should be deployed as a CDF. I want to split the dynamic module into several smaller DynamicModuls and Functions. ...
gogoolplex's user avatar
7 votes
0 answers
874 views

How to create protected single-file stand-alone CDF applications

After hours of work trying to understand how much protection I can get when creating stand-alone CDF applications I have come to the decision that the best protection to my work is provided by ...
Ariel Sepulveda's user avatar
6 votes
1 answer
201 views

How to save a context into an expression?

BeginPackage["foo`"]; bar; Begin["`Private`"]; bar[] := bar[ $Context, $ContextPath]; End[]; EndPackage[]; So I'd like to have all information ...
Kuba's user avatar
  • 137k
8 votes
1 answer
126 views

Front End changes "\r" to "\n" when saving notebooks

Bug introduced in 8.0 or earlier and persisting through 11.1 When saving notebooks, the Front End destroys "\r" appearing in code and converts it to ...
Szabolcs's user avatar
  • 234k
3 votes
1 answer
133 views

SaveDefinitions makes Manipulate take a long time to evaluate

I've noticed that using the SaveDefinitions option of Manipulate makes it take a long time to evaluate. For example, here is a notebook that uses Manipulate to ...
ConvexMartian's user avatar
1 vote
0 answers
225 views

Creating package and encoding for CDF and Path for Mathematica

I am working on learning Enterprise CDF development. I developed a simple example. I am working with packages for I can encode my codes eventually. When I use Needs command and save the package in one ...
Erdem's user avatar
  • 869
0 votes
0 answers
110 views

How to create a file that runs without displaying the code (similar to an .exe)

I am writting a code that could be useful for some people. The program will be free but I would like to protect the code. As I am not good at explaining myself I will simply illustrate my question ...
neuron's user avatar
  • 1
0 votes
0 answers
57 views

How to release a secure MMA-NB/CDF with restrictions/locks to the back-end code visibility

Intention is to distribute demonstration files just like Wolfram Demonstrations (mainly dynamic manipulations with assisting textual explanations based off on Numerical Methods course lectures). If ...
Rene Duchamp's user avatar
  • 1,419