Linked Questions

35
votes
4answers
1k 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 ...
23
votes
2answers
579 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 ...
22
votes
1answer
1k 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 (...
12
votes
2answers
302 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 ...
10
votes
2answers
284 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 ...
7
votes
2answers
306 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: ...
7
votes
0answers
798 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 ...
6
votes
2answers
147 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. ...
5
votes
1answer
123 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 ...
8
votes
1answer
84 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 ...
1
vote
0answers
166 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 ...
3
votes
1answer
61 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 ...
0
votes
0answers
81 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 ...
0
votes
0answers
49 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 ...