Questions tagged [development]
The development tag has no usage guidance.
44
questions
4
votes
0
answers
53
views
What is the most convenient way to organize dependencies from paclets?
Do you have any ideas on how to most conveniently and easily organize package dependencies for Wolfram Language projects. I would like to have something like a list of packages in projects for .Net ...
1
vote
1
answer
62
views
Calculating the orthonormal frame of a metric in Mathematica
Let us have a given a general metric (like say Kerr metric) of which I want to find the orthonormal coordinates by developing a general code in Mathematica. One of the reliable method to do this (by ...
49
votes
6
answers
4k
views
How could Wolfram Research increase Wolfram Language adoption?
Introduction
Hello, this is a more general question than is typically asked here. However, I chose to post it here because this seems to be the most active community for Wolfram Language / Mathematica ...
3
votes
0
answers
38
views
Missing Hover and Autocomplete INFO Buttons for Custom Paclet
I've built my own paclet application with documentation using Workbench 3 (Eclipse add-in 10.1.822) with MM 12.1 (there are currently issues with 12.2-3 and the only Workbench add-in update, which I'm ...
2
votes
0
answers
51
views
Question to developers: what are the actual or potential difficulties in implementing split-complex unity $j$ out of the box?
I wonder, what are some real or potential and purely theoretic difficulties you may face if you decided to implement the split-complex unity $j$ such that $j^2=1$ along with already existing complex ...
1
vote
0
answers
56
views
Tutorial notebook on GitHub [duplicate]
I am currently writing a Mathematica package containing several functions I developed in the last few years to perform computations in quantum physics. I am planning to put a preliminary version of ...
11
votes
2
answers
340
views
How to provide latest paclet version
I've made a package available on github, which can be installed with
...
12
votes
0
answers
239
views
Continuous integration (CI, software development) with Wolfram Language?
Continuous integration (in the software engineering sense) is a common method to ensure that the code in your repository works as it should after each commit. For example, you can run a set of ...
1
vote
0
answers
69
views
Change the posets300.m package since CProduct does not work
I want to build a Cartesian product of two posets (say chain[2] and chain[2]).
I wrote
...
6
votes
1
answer
129
views
How to enforce priority on custom directory over paclets default repository
As explained in $Path hijacked by PacletManager? loading packages from custom directories may not be so intuitive. Not to mention absolute lack of documentation of interaction between ...
11
votes
1
answer
190
views
Attempts at backwards compatibility
I have written a package in Mathematica 11, and I would like to provide some backwards compatibility to earlier versions. An example is the function Echo.
...
8
votes
1
answer
251
views
Robust packages installation and updating on Cloud
Questions:
What is an idiomatic way to upload/install a paclet in own Wolfram Cloud account?
What is an idiomatic way to update/overwrite existing paclet?
It is not tough but:
PacletManager works ...
22
votes
1
answer
1k
views
Live code templates
I enjoy coding in the FrontEnd (except it crashes and lookup across files does not exist), but I often miss 'hands on keyboard', customizable code templates.
E.g. I often forget to wrap an option ...
12
votes
1
answer
284
views
How can I automatically generate all the front-end settings for a function?
I mostly write my packages within the Mathematica FE, but when I develop I never really think all the usage messages, autocompletes, syntax info, and argx patterns that a well developed function would ...
15
votes
1
answer
623
views
Building a GitBook with Mathematica
GitBook is a fun little website that will take Markdown source material and build a little book out of it.
How can I use Mathematica to build a GitBook with a minimum of effort?
6
votes
1
answer
67
views
Can we make preread replacements in an *.m* file before being run?
This the second question of (152743), the preamble of which is reproduced here:
Those who don't have/prefer the front end of Mathematica will either use a plain ASCII editor to write a script in an <...
5
votes
1
answer
93
views
Can we make new definitions for InputForm in packages?
Those who don't have/prefer the front end of Mathematica will either use a plain ASCII editor to write a script in an .m file or just use Mathematica directly from ...
11
votes
2
answers
322
views
Bulletproofing packages against SetOptions of built-ins
Packages are (obviously) written in terms of built-in Mathematica functions. But many (if not, most) of these functions have options, like Expand, ...
12
votes
1
answer
266
views
Self contained APIFunction. Collecting definitions
Bug fixed in V11.2
Previously dependencies collector failed to collect check if check was only mentioned in lhs: ...
14
votes
1
answer
279
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 ...
6
votes
0
answers
73
views
Keep stylesheet open after a notebook is closed
I find this behavior annoying:
...
34
votes
2
answers
6k
views
How to put Mathematica Notebooks and packages on Github?
In the current phase of the project I am working on I am developing a utility package which could easily be open-sourced and shared with the community IF there was an =easy= way to share a notebook / ...
6
votes
2
answers
341
views
Write Unit Test with expected Message
Using Workbench, I would like to check if my function does emit a message under certain circumstances. How can I test this using an .mt file? I only know about the ...
18
votes
1
answer
899
views
How to handle package dependencies?
When an application written in C++ depends on some libraries, the libraries are usually shipped together with the application. Two applications that depend on the same library will not share the same ...
70
votes
3
answers
3k
views
How to distribute Mathematica packages as paclets?
Mathematica does have a nice package manager. Packages are called paclets, and they can be managed using the functions from the PacletManager` context.
How can I ...
7
votes
0
answers
118
views
Enabling "Update" button for installed packages
I found that if you navigate to the "Installed Add-Ons" page in the *Wolfram Documentation Center" accessed by following
Help ▸ Wolfram Documentation ▸ Add-ons and Packages
you will find a listing ...
18
votes
2
answers
2k
views
Where can I get Workbench 3 and why do I need it?
I read in some questions/answers that people are using Workbench 3.
From where can I get the Workbench 3, which is the most current version and why would I need it?...
25
votes
3
answers
1k
views
Package organization
When writing a Mathematica package Foo, with functions f1, f2 and f3, one can use the template:
...
3
votes
0
answers
207
views
Version control in Wolfram Cloud using git
How do we integrate git or any other version control system with Wolfram Cloud?
I could run a shell command with Run but in the Wolfram Cloud an error occurs saying
Run::sandbox : The operation Run[...
77
votes
1
answer
2k
views
How to simplify writing LibraryLink code?
LibraryLink is an API for extending Mathematica through C or C++. It is very fast because it gives direct access to Mathematica's packed array data structure, without even needing to make a copy of ...
11
votes
2
answers
217
views
Coding practice Notebooks vs. Packages: ClearAll?
I have a pretty robust workflow for developing in Notebooks. One element of that workflow is the reflexive habit of saying ClearAll just before a definition so ...
11
votes
0
answers
2k
views
Which IDE do you use for Mathematica development?
After more than a year I revisited the IntelliJIDEA plugin but that still seems to be 'just' an editor, of course there is the Mathematica Workbench but why are there so few improvements? Version 10. ...
15
votes
3
answers
5k
views
Is it possible to create iOS apps with Mathematica?
I am fairly new to Mathematica and don't have much experience with other programming languages, but I can already see that Mathematica and the Wolfram language are far easier to use than most others.
...
6
votes
0
answers
183
views
Is there a package or canonical way for writing test harnesses in Mathematica?
I've written a complicated function foo.1
I'd now like to simplify this function's code, and later enhance it with more features. With each change, however, I'd ...
112
votes
4
answers
11k
views
What are the recommended settings for git when using with Mathematica projects?
Background
I'm relatively new to git — currently overseeing an offshore .NET-based development project on GitHub within a private business account, but little experience beyond that.
I'd like to set ...
93
votes
2
answers
6k
views
Open-source IntelliJ IDEA plugin to support Mathematica development
Although we already had a question asking for development alternatives to Wolfram Workbench, I want to ask a more specific question:
One of the most advanced IDE's especially for Java programming ...
3
votes
1
answer
143
views
Can I place a link to a package file (.m) in my Applications folder
I am developing a package and would like to be able to test it without having to copy the package file to my $UserBaseDirectory/Applications folder for each change, ...
171
votes
1
answer
31k
views
Mathematica Minecraft
Some time ago I asked myself: with all these great graphics and interactive capabilities of Mathematica, what kinds of 3D games can be implemented in it? And the answer which came to mind is ...
27
votes
3
answers
4k
views
Best Practice to write ::usage for own package functions
I'm writing an own package with Mathematica, that I would like to make available for others. In order to do that (and for my own usage of the package), I would like to write ...
0
votes
2
answers
182
views
How to avoid restart during development? [duplicate]
Possible Duplicate:
How do I clear all user defined symbols?
During package development things get messed up quite often. (especially when playing with notations)
Is there a simple way to reset ...
25
votes
3
answers
1k
views
How to setup Team Development for a Mathematica project?
I am currently working solo on a project that consists of package files, munit tests, notebooks and .xls files. I use Wolfram Workbench as an IDE. I want to collaborate with others on this project. ...
18
votes
4
answers
2k
views
Strategies for avoiding and handling shadowing
When dealing with namespaces in Mathematica (BeginPackage, $ContextPath ...) one is unavoidably confronted with the problem of ...
33
votes
0
answers
3k
views
Custom package development: Basic steps [duplicate]
Every once in a while, I write a generic function that I use quite often for months to come. However, package development in Mathematica is not very well documented from what I can tell, and I was not ...
132
votes
9
answers
29k
views
Creating Mathematica packages
I'm building a package to help me write packages and their documentation. In this post I explained how to make a package and its documentation. In the answer I provided I describe how to build a very ...