Questions tagged [development]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
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 ...
Kirill Belov's user avatar
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 ...
SCh's user avatar
  • 175
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 ...
Alec Graves's user avatar
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 ...
Jeff Henning's user avatar
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 ...
Anixx's user avatar
  • 3,473
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 ...
Dario Rosa's user avatar
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 ...
Chris K's user avatar
  • 19.4k
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 ...
vsht's user avatar
  • 3,457
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 ...
Evgeny Kuznetsov's user avatar
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 ...
Kuba's user avatar
  • 136k
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. ...
Joe's user avatar
  • 1,278
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 ...
Kuba's user avatar
  • 136k
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 ...
Kuba's user avatar
  • 136k
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 ...
b3m2a1's user avatar
  • 46.6k
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?
b3m2a1's user avatar
  • 46.6k
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 <...
QuantumDot's user avatar
  • 19.5k
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 ...
QuantumDot's user avatar
  • 19.5k
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, ...
QuantumDot's user avatar
  • 19.5k
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: ...
Kuba's user avatar
  • 136k
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 ...
Kuba's user avatar
  • 136k
6 votes
0 answers
73 views

Keep stylesheet open after a notebook is closed

I find this behavior annoying: ...
Kuba's user avatar
  • 136k
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 / ...
nilo de roock's user avatar
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 ...
Karsten W.'s user avatar
  • 1,363
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 ...
Szabolcs's user avatar
  • 232k
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 ...
Szabolcs's user avatar
  • 232k
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 ...
QuantumDot's user avatar
  • 19.5k
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?...
mrz's user avatar
  • 11.6k
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: ...
Picaud Vincent's user avatar
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[...
Hristo Vrigazov's user avatar
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 ...
Szabolcs's user avatar
  • 232k
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 ...
Reb.Cabin's user avatar
  • 8,651
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. ...
nilo de roock's user avatar
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. ...
Aron's user avatar
  • 1,702
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 ...
Andrew Cheong's user avatar
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 ...
telefunkenvf14's user avatar
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 ...
halirutan's user avatar
  • 112k
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, ...
Daniel W's user avatar
  • 3,396
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 ...
faleichik's user avatar
  • 12.6k
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 ...
Ronny's user avatar
  • 1,131
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 ...
NoEscape's user avatar
  • 842
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. ...
nilo de roock's user avatar
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 ...
Albert Retey's user avatar
  • 23.5k
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 ...
David's user avatar
  • 14.8k
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 ...
jmlopez's user avatar
  • 6,440