39

Official Statement In case some of you missed it: There was an official reply from one of the WRI devs recently in our chat Hi. This is Jose, from Wolfram. We are aware of an unacceptable slowdown in some Dataset expressions, due to a bad dynamic interaction with the summary boxes of some objects. Both the TimeSeries objects of the coronavirus datasets ...


32

The TemplateNotebook header is a docked cell, and you can remove it by removing that docked cell: SetOptions[EvaluationNotebook[], DockedCells -> {}] (there should certainly be an option to remove it, but this will avoid you having to re-create the notebook on your own).


28

Version 11.2 features a completely rewritten documentation search system. This version is incompatible with the search indices created by previous versions, nor can previous versions read the new indices. And for reasons of performance, the new system will generally ignore the old indices. Internal packages have been rewritten to produce both types of ...


26

Dataset was restructured in the 12.1 release in order to support expanded formatting options and interactivity such as hiding and sorting. As a result, some Dataset outputs showed a slowdown due to inefficiencies in the dynamic output structures they produce. Because the code of Dataset is automatically field upgradable, we have released an update to its ...


24

If you are serious about using this extensively, consider making a function based on CreateDocument... Here is one way to pursue Szabolcs's line of thought. What follows is a function based on CreateDocument[] that can be used in conjunction with the (now somewhat neglected) option DisplayFunction, which handles where the output of graphics functions should ...


18

You can always create a new notebook and put things in it. If you are serious about using this extensively, consider making a function based on CreateDocument that sets the appropriate options for the notebook to look good. Check what CreateDocument@Plot[Sin[x],{x,0,10}] does. Or use a quick-and-dirty hack based on CreatePalette: fig = CreatePalette[#, ...


15

Both tasks you outlined could be fused into a single app - screenshot is above. I assume that because this is a game the corrections due to geodetic model (flat map from non-flat planet surface) do not really matter (this was not mentioned in the project description). Here is a quite simple code to get you started that you can modify and upgrade. i = Import[...


14

28/2/2018: Wolfram Cloud now supports (quite possibly since several years ago) cross origin requests, so that part of this answer can be ignored. Ajax may be used, just remember to set the API permissions to "public". Support for the mechanism that makes the CDF browser plugin possible is being phased out, and the CDF player already does not work on the ...


11

Core Function Here's a single function that does all this coloring stuff: FESetSymbolColoring[ {syms__}, cont : _String | Automatic : Automatic, contPath : {__String} | Automatic : Automatic, which : "Undefined" | "Removed" | "Defined" | "Cleared" | 1 | 2 | 3 | 4 | {(1 | 2 | 3 | 4 | "Undefined" | "Removed" | "Defined" | ...


9

This is a form definition: ff = FormFunction[FormObject[<|"x" -> "Number"|>], #x^2 &] Now watch the [] after the ff, this launches the form and waits for input and shows a submit button ff[] If you want put a value in the form without showing a submit button: ff["x" -> 9] Does this answer your question?


9

Here is a basic example of how Mathematica code would be deployed. Get["http://exampledata.wolfram.com/Collatz.m"]; ?? Collatz Collatz[5] {5, 16, 8, 4, 2, 1} You can look into APIFunction that you access directly if you want to build an interface with HTML/Javascript, or if you want a simple interface running on Wolfram's cloud you can use FormFunction....


9

Here's something to get you started with a new design. First we make the function that actually makes a DynamicModule. It supports having more than just a sphere as a background, but I haven't really played with that. It also supports the Dynamic vocabulary appropriately. I included a "PointNormalizer" in case you want to pass in a Region as the background ...


8

data = RandomInteger[100, {15, 15}]; styleElement[x_] := MouseAppearance[ Mouseover[x, Style[x, Red]], "LinkHand" ] showIndex[x_, index_] := EventHandler[x, {"MouseUp" :> MessageDialog[index]}] Outer[ showIndex[styleElement@data[[##]], {##}] &, Range[15], Range[15] ] // Grid // Deploy Or you can use Tooltip: styleElement[x_, index_]...


8

Most likely you want to disable the "Enable natural language detection". This is in the same list in the preferences as the "Suggestion Bar" setting.


8

See "Method" in Graphics3D. Manipulate[ ParametricPlot3D[{Cos[p], Sin[p], 0}, {p, 0, 2 Pi}, Boxed -> False, Axes -> True, Ticks -> True, AxesOrigin -> {0, 0, 0}, SphericalRegion -> True, Method -> {"RotationControl" -> Dynamic@rotate}], {rotate, {"Globe", "ArcBall", "TrackBall"}} ] To change the setting in an existing ...


8

?? is the same as Information. ?Sin is the same as Information[Sin, LongForm -> False]. Information /@ {List, Table, Apply, Map} I have found the following command very useful especially in the case of my own pacakages: Needs["Notation`"] ?"Notation`*" ... where all the table elements are links, which open the information below the table. This works, ...


7

There is nice general writeup made by @b3m2a1: Playing with YouTube from Mathematica The "display" part of the question is very easy. In the Cloud version of notebooks which can be accessed here: https://www.wolframcloud.com You can use EmbeddedHTML to embed a video right into a Cloud notebook: EmbeddedHTML[ "<iframe width='854' height='510' src='//...


7

You can select it just like any other cell, and then delete it. On my system, it is a cell of the form: Cell[" ", "Text", Editable -> False, Selectable -> False, CellFrame -> {{0, 0}, {0, 3}}, ShowCellBracket -> False, CellMargins -> {{0, 0}, {1, 1}}, CellElementSpacings -> {"CellMinHeight" -> 1}, CellFrameMargins -> 0, ...


7

Use Style with the option ShowStringCharacters -> False around the prompt: Row[{Style["Enter index identifier: ", ShowStringCharacters -> False], InputField[Dynamic[indexidentifier], String]}] After evaluating in place: Alternatively, you can use TextCell: Row[{TextCell["Enter index identifier: "], InputField[Dynamic[indexidentifier], String]}]


7

Add the option Method -> "Queued": Button["Test", GenerateDocument["ExampleData/BasicTemplate.nb", <|"author" -> "Henry Jones"|>], Method -> "Queued"]


6

I taught a blind student at our Uni a 1st year Maths module. We used his MacBook Air and he had a hardware device that rendered mac output as braille. We found that the key to communicating mathematics was a simplified form of LaTeX - which the student picked up very quickly. This, combined with Mathematica's LaTeX facility proved very successful.


6

There's no way to do this that conforms fully to UI guidelines (at least not for OS X). For example, your "disabled" items will still highlight as you hover over them and will still react to selection (thought they will do nothing). This is as close as you can get: Manipulate[ {filter, list} , {{filter, 1, "Filter:"}, {1, 2, 3, 4, 5, 6}, ControlType -&...


6

To get empty sheet tmp = TableView[] Then enter some values and use Normal to derive the result as MMA list: Result: {{}, {Null, "Value1", "Value2"}, {"Normal", 3, 6}, {"Vector", 4, 7}} Back to Table: %//TableView Of course, it is not recommended to emulate cell reference system of Excel in Mathematica.


6

Here's a sample way you could do something sorta like this. Clearly there's some bound list of resources proper that I don't yet know how to edit (despite many FrontEnd`SetValue tests and much grepping). We can take advantage of the list-of-rules format of these resources though. I'll stick with your idea of replacing TokenTranslationDictionary. All we'll ...


6

Yes, it is possible, so long as you don't demand to retain (add) a frame or axis on an arbitrary part of the plot. That is if you are satisfied to zoom in on only a portion of the graphic, perhaps one that crops off the tick marks and labels. To do that click on your graphic to reveal an orange frame with handles: Plot[Sin[x], {x, 0, 6 Pi}] Hold Ctrl and ...


6

In the "System Settings / Windows / Behaviour" I have "Window focus mode" set to "Mouse", so that focus remains with which ever window the mouse is over. If I change it to "Click" I see the behaviour you describe. There is also an option "Prevent Focus Stealing", that seems to fix your problem.


5

As to why I do not know. Maybe the FrontEnd is too inefficient in creating thousands of output cells. Maybe people do not do this and use WriteString instead. E.g. this evaluates in 0.6 seconds on my machine $startTime = AbsoluteTime[]; Do[mybigfun[i]; WriteString["stdout", " \n", {i, Date[]}], {i, 10^4}]; AbsoluteTime[] - $startTime while this $...


5

It seems that the Resource folder is not available in the cloud installation directory, which should contain the icon. But here is the icon from my installation.


5

This is the method I have worked out after a lot of trial and error, but I would appreciate any suggestions for improvements to it. I use a function with the HoldAll attribute to input the names of symbols from my package that contain all the content that the interface notebook needs to load. At run time I use the Initialization option of DynamicModule to ...


5

To keep button size, one option would be to add StringPadRight SetterBar[1, StringPadRight @ ( StringRepeat["q", #] & /@ Range@5 ), Appearance -> {"Vertical", "Button"}] To diminish margins one possible way is to add "AbuttingLeft", i.e. SetterBar[1, StringPadRight @ ( StringRepeat["q", #] & /@ Range@5 ), Appearance -> {"Vertical", "...


Only top voted, non community-wiki answers of a minimum length are eligible