Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
General guidelines and best practices for Mathematica usage and programming.
36
votes
2
answers
1k
views
Custom atomic expressions - modern tutorial
More are coming with each new release, yet there is no official source of guidelines / tutorials about how users could create their own. …
15
votes
2
answers
359
views
Hold attributes vs performance
Is there a reason to use Hold* attributes for functional code (e.g. no intention to mutate input)? I'd expect performance gains as in pass by value vs pass by reference.
E.g.
data = RandomReal[1, …
30
votes
5
answers
786
views
Unexpected behaviors in built-in functions
Existence of this topic is discussed in this mathematica.meta post.
I'm sure I am not the only non-beginner in WL who from time to time finds themselves not being able to predict an outcome of a spec …
6
votes
1
answer
113
views
Conditional rendering of items
Let's say I have a column to display and each of its items can be hidden separately.
Question: Is there a way to make it work without re-rendering whole column whenever a particular item is hidden? W …
14
votes
2
answers
569
views
Wolfram Cloud deployment obstacles
What are official restrictions about FormFunctions/general deployment contents?
There are problems with many things which sometimes I have workarounds for but I see no general pattern.
Edit: I mov …
5
votes
0
answers
84
views
Handling rendering delays gracefully
I moved the second issue to a separate topic: 162013
Please run the code sample
As you can see there is a delay between the moment the calculation is finished and when the graphics is shown. And duri …
13
votes
1
answer
439
views
How to create (Header + Main area + Settings pane) notebook layout
The very bottom of CellMargins is missing
Further reading
Guidelines for planning custom GUI in Mathematica …
20
votes
1
answer
484
views
Is building an event-based parser possible/reasonable in Mathematica (WL)?
Too long? Go to Problems section
Background
I like to learn by doing small, sometimes artificial, projects. Among other things I had 'parsers', and 'stream methods / streams in MMA' on my to learn l …
14
votes
1
answer
308
views
Clean package update for API/FormFunctions on Wolfram Cloud
Cross posted on community.wolfram.com (new comments)
TLDR
There is a pool of kernels/sessions available for each user, you don't have control over the pool only over specific kernel you currently ev …
15
votes
1
answer
356
views
Working with DynamicModule: SetDelayed + OwnValues
Shortly, definitions in form of e.g. x:= RandomReal[] have to be avoided inside DynamicModule[{x}, ...]. Why?, this Prints immediately:
DynamicModule[{x}, x := Print[1]; {}]
It hit us hard in the pas …
6
votes
1
answer
139
views
How to work with BoxOptions (ButtonBoxOptions, PanelBoxOptions, etc.)
The main question is in the title. Here are subtopics I'd like to focus on:
Is there a tutorial related to them anywhere in documentation?
How can I check what are current values of e.g. ButtonBoxOp …
70
votes
2
answers
2k
views
Guidelines for planning custom GUI in Mathematica
What is on topic here
Links to guidelines making GUI creation process more stable, predictive.
Links to guidelines on how to achieve robust dynamic performance of GUI-s. …
11
votes
1
answer
217
views
Nested association values validation. POJsO handling
Sometimes it is convenient to work in your package/app with "objects" like:
childObject = <|
"id" -> 284,
"text" -> "texttext",
"property" -> <|
"type" -> "String",
"content" -> "test"
…
4
votes
0
answers
193
views
RealDigits and functional style
So while thinking about Replacing numbers of which you only know certain digits I have faced, again, a problem that I find hard to extract from RealDigits' output something I want, what should be natu …
10
votes
2
answers
410
views
Naming convention for symbols exported from package
I know this is a little opinion based, but so is Mathematica style guide and similar topics.
The issue is important so I think this topic will be beneficial for future visitors.
Q: So lowerCaseFunc …