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 ...
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 ...
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 (...
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 ...
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 ...
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: ...
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 ...
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. ...
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 ...
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 ...
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 ...
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 ...