<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel rdf:about="https://community.wolfram.com">
    <title>Community RSS Feed</title>
    <link>https://community.wolfram.com</link>
    <description>RSS Feed for Wolfram Community showing any discussions tagged with Tuning and Debugging sorted by active.</description>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3772156" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3771768" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3749113" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3741886" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3737733" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3721357" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/2437685" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3644908" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3710069" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3674343" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3672512" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3635801" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3624223" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3574670" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3561367" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3562641" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3558524" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3545532" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3531785" />
        <rdf:li rdf:resource="https://community.wolfram.com/groups/-/m/t/3532836" />
      </rdf:Seq>
    </items>
  </channel>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3772156">
    <title>Quadruple iterated limits taking too long to compute</title>
    <link>https://community.wolfram.com/groups/-/m/t/3772156</link>
    <description>**Question:** How do you compute the following limits in a small amount of time?&#xD;
&#xD;
$$\lim_{(a,b,c,d)\to (-\infty,0^{-},0^{+},+\infty)}\frac{\int_{a}^{b}1/x+\int_{c}^{d}1/x}{(b-a)+(d-c)}$$&#xD;
&#xD;
$$\lim_{(a,b,c,d)\to (-\infty,0^{-},0^{+},+\infty)}\frac{\int_{a}^{b}1/(x^{2/3})+\int_{c}^{d}1/(x^{2/3})}{(b-a)+(d-c)}$$&#xD;
&#xD;
**Attempt:** I tried the following:&#xD;
&#xD;
    Limit[(1/((b - a) + (d - c))) (Integrate[1/x, {x, a, b}] + &#xD;
        Integrate[1/x, {x, c, d}]), {a, b, c, d} -&amp;gt; {-Infinity, 0,&#xD;
        0, Infinity}, Direction -&amp;gt; {Reals, -1, 1, Reals}]&#xD;
    &#xD;
    Limit[(1/((b - a) + (d - c))) (Integrate[1/(x^(2/3)), {x, a, b}] + &#xD;
        Integrate[1/(x^(2/3)), {x, c, d}]), {a, b, c, d} -&amp;gt; {-Infinity, 0,&#xD;
        0, Infinity}, Direction -&amp;gt; {Reals, -1, 1, Reals}]&#xD;
&#xD;
However, the computation time of the limits are too long. What can be made to shorten the time?&#xD;
&#xD;
**Motivation:** Let $n\in\mathbb{N}$ and suppose $f:A\subseteq\mathbb{R}^{n}\to\mathbb{R}$ is a function, where $A$ and $f$ are Borel. I want an example of an explicit, unbounded, and continuous $f$ such that the extended mean, w.r.t. the Hausdorff measure in its dimension, is finite. Here is the definition of the extended mean (see Definition 12 [pg. 11-12] of the attatchment):&#xD;
&#xD;
&amp;gt; **Definition (The Extended Mean of $f$)** &#xD;
&amp;gt;&#xD;
&amp;gt;  Suppose:&#xD;
&amp;gt;&#xD;
&amp;gt;  - $|\cdot|$ is the absolute value &#xD;
&amp;gt;  - $\dim_{\mathrm{H}}(\cdot)$ is the Hausdorff dimension&#xD;
&amp;gt;  -  $\mathcal{H}^{\dim_{\mathrm{H}}(\cdot)}(\cdot)$ is the Hausdorff measure in its dimension on the Borel $\sigma$-algebra&#xD;
&amp;gt;  -  the integral is defined, w.r.t.\ the Hausdorff    measure in its dimension  &#xD;
&amp;gt;  - $\mathcal{A}(A)$ is the index set&#xD;
&amp;gt;   - $\{C_{\gamma}:\gamma\in\mathcal{A}(A)\}$ is a family of sets&#xD;
&amp;gt;    -  $A$ is a Borel subset of $\mathbb{R}^n$&#xD;
&amp;gt;    - $\mathbb{B}(A)$ is the set of all families of bounded sets with set-theoretic limit $A$ such that  $\{C_{\gamma}:\gamma\in\mathcal{A}(A)\}\in\mathbb{B}(A)$, when  $\dim_{\mathrm{H}}(C_{\gamma})=\dim_{\mathrm{H}}(A)$ for all $\gamma\in\mathcal{A}(A)$&#xD;
&amp;gt; &#xD;
&amp;gt; The extended mean of $f:A\subseteq\mathbb{R}^{n}\to\mathbb{R}$ (i.e.,&#xD;
&amp;gt; $f$ is Borel), w.r.t.\ the Hausdorff measure in its dimension, is&#xD;
&amp;gt; $M_{f}(A;n)$ when the following is true:&#xD;
&amp;gt; &#xD;
&amp;gt; $$\small{\begin{align}&amp;amp;&#xD;
&amp;gt; \forall(\{A_r:r\in\mathcal{A}(A)\}\in\mathbb{B}(A))\exists!(M_{f}(A;n)\in\mathbb{R})\forall(\epsilon&amp;gt;0)\exists(N\in\mathcal{A}(A))\forall(r\in\mathcal{A}(A))\nonumber\\&#xD;
&amp;gt; &amp;amp;\left(r\ge&#xD;
&amp;gt; N\Rightarrow\left|\frac{1}{{\mathcal{H}}^{\dim_{\mathrm{H}}(A_r)}(A_r)}\int_{A_r}f\,&#xD;
&amp;gt; d{\mathcal{H}}^{\dim_{\mathrm{H}}(A_r)}-M_{f}(A;n)\right|&amp;lt;\epsilon\right)&#xD;
&amp;gt; \end{align}}$$&#xD;
&amp;gt; &#xD;
&amp;gt; and when no such $M_{f}(A;n)$ exists, $M_f(A;n)$ is infinite or&#xD;
&amp;gt; undefined.</description>
    <dc:creator>Bharath Krishnan</dc:creator>
    <dc:date>2026-08-02T04:24:46Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3771768">
    <title>Abort Evaluation often doesn&amp;#039;t work</title>
    <link>https://community.wolfram.com/groups/-/m/t/3771768</link>
    <description>I am using Mathematica 8.  I know this is old, but ....&#xD;
&#xD;
It seems that when I have a bug, and Mathematica goes off producing a long string of error messages, the Abort Evaluation (alt-.) does not work.  My only alternative is to use Task Manager to kill the kernel.  &#xD;
&#xD;
Any comments?</description>
    <dc:creator>David Golber</dc:creator>
    <dc:date>2026-08-01T19:22:53Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3749113">
    <title>How to speed up code for solving complex equations</title>
    <link>https://community.wolfram.com/groups/-/m/t/3749113</link>
    <description>{pM = {xM, yM, 2}, pD = {0, 0, 0}, pN = {0, 2, h}, pA = {2, 0, 0}, &#xD;
         relcir = (xM - 1)^2 + (yM - 1)^2 == 1, pQ = {a, b, c}}&#xD;
        slq = Solve[{pQ - pA == \[Lambda] (pN - pA)}][[1]]&#xD;
        pQ = pQ /. slq&#xD;
        AbsoluteTiming@&#xD;
         Reduce[{Norm[pQ - pA] == Norm[pQ - pN] == Norm[pQ - pM] == &#xD;
            Norm[pQ - pD], relcir, 0 &amp;lt;= h &amp;lt;= 2, &#xD;
           0 &amp;lt;= \[Lambda] &amp;lt;= 1}, {\[Lambda], h}, {xM, yM}, Reals]&#xD;
&#xD;
&#xD;
How to Speed Up Code for Solving Complex Equations. As shown in the figure below, the code takes nearly 10 minutes to obtain a solution. How can I improve the running efficiency?&#xD;
&#xD;
![enter image description here][1]&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=2026-07-09_095006.png&amp;amp;userId=3746743</description>
    <dc:creator>David carl</dc:creator>
    <dc:date>2026-07-09T01:50:36Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3741886">
    <title>UnitTestFramework: tools for maintaining and running your unit tests</title>
    <link>https://community.wolfram.com/groups/-/m/t/3741886</link>
    <description>While working on internal projects, I often found that want to add extra functionality on top of the existing functions of `TestReport` and `TestCreate`, `TestEvaluate` etc. Recently I made an effort to compile all of these custom functionalities into my own package and publish it for general use on [my own Github account here](https://github.com/SjoerdSmitWolfram/UnitTestFramework). &#xD;
&#xD;
I have tried to make the Github repo reasonably self-explanatory, but I would like to post some of the headline functionality here for everyone&amp;#039;s benefit. The main code is found in [UnitTestFramework.wl](https://github.com/SjoerdSmitWolfram/UnitTestFramework/blob/main/UnitTestFramework/Kernel/UnitTestFramework.wl), which I deliberately kept as a single file so that it&amp;#039;s easy to load remotely using &#xD;
&#xD;
```&#xD;
Get[&amp;#034;https://raw.githubusercontent.com/SjoerdSmitWolfram/UnitTestFramework/refs/heads/main/UnitTestFramework/Kernel/UnitTestFramework.wl&amp;#034;]&#xD;
```&#xD;
&#xD;
Of course, you can also install the paclet and load it locally. The repository has an [example paclet with a small test suite](https://github.com/SjoerdSmitWolfram/UnitTestFramework/tree/main/Examples) to show broadly how things are expected to be structured. The example paclet also has a WolframScript file that gives can be used and adapted to run your unit tests from the command line so you can easily run them without interrupting your main workflow.&#xD;
&#xD;
# What is UnitTestFramework and why should you use it?&#xD;
&#xD;
UnitTestFramework is a reusable test runner for paclet-style Wolfram Language projects. It is built around the standard MUnit workflow, but adds a more practical layer on top for people who need to run larger or more structured test suites.&#xD;
&#xD;
The main idea is simple: keep using familiar test constructs such as `TestCreate`, but gain better control over how tests are discovered, configured, tagged, skipped, summarized, and run from automation.&#xD;
&#xD;
This matters because once a test suite grows beyond a handful of files, you usually want more than a raw TestReport. You want a way to separate quick local runs from full runs, mark known failures without losing visibility, skip auto-generated or expensive tests when appropriate, and get a summary that is actually useful in CI (continuous integration) and day-to-day development.&#xD;
&#xD;
# Main functionalities&#xD;
&#xD;
## Configuration of test suites&#xD;
&#xD;
One of the main features of the framework is that test runs are driven by a project-level configuration file such as [TestConfig.m](https://github.com/SjoerdSmitWolfram/UnitTestFramework/blob/main/Examples/Tests/TestConfig.m) (though other formats like .json are also supported to some extent). Instead of hard-coding behavior into ad hoc scripts, you can define things such as:&#xD;
&#xD;
* where test files live&#xD;
* which test files to include&#xD;
* which paclet contexts should be loaded&#xD;
* whether to abort on the first unexpected failure (so you can easily reproduce the kernel state at the point of failure)&#xD;
* whether to run a full test suite or a quicker local version&#xD;
* custom initialization and evaluation behavior and fine control over which contexts are visible while tests are running.&#xD;
* isolation of the contents of each test file (so that variables defined in one test file do not affect tests in another file)&#xD;
* local machine-specific overrides through an optional LocalConfig file&#xD;
* configuration of local dependencies, such as other paclets that you&amp;#039;re developing in unison with the one you&amp;#039;re currently testing&#xD;
&#xD;
If you&amp;#039;re using the .m format for the TestConfig file, you can also extend the unit test framework with your own code, such as helper functions for deciding how to handle numerical noise in outputs.&#xD;
&#xD;
The test configuration file makes the test runner much easier to reuse across projects because it factors out all of the project-specific peculiarities into a file that&amp;#039;s easy to commit and maintain. The same framework can be loaded once and then adapted per paclet by changing the config, rather than rewriting the test infrastructure every time. You can even have multiple test files to configure different ways to run the tests. &#xD;
&#xD;
Most projects will require minimal setup to get the test suite up and running; the main property to configure will be the `&amp;#034;PacletContexts&amp;#034;`. Other properties only need to be tinkered with if the project is structured differently from the default assumptions. &#xD;
&#xD;
## Tagging tests&#xD;
A second major feature is test tagging through `TagTest`.&#xD;
&#xD;
This lets you attach metadata to tests in a structured way and then use that metadata to control execution and reporting. For example, you can mark tests as:&#xD;
&#xD;
* known issues&#xD;
* not yet implemented&#xD;
* performance tests&#xD;
* generated tests&#xD;
* full-report-only tests&#xD;
* to-be-skipped&#xD;
&#xD;
That turns out to be extremely useful in practice. Real test suites are not always just pass or fail. Sometimes a failure is expected because a bug is known. Sometimes a test is intentionally present before the implementation exists (i.e., test-driven development). Sometimes a test is too expensive for every local run. Tags make those cases explicit instead of forcing them into awkward workarounds.&#xD;
&#xD;
![Examples of tagged tests][1]&#xD;
&#xD;
## Test summaries&#xD;
The framework also adds categorized summaries on top of the raw test results. Instead of only seeing whether a run passed or failed, you can group results into categories such as Success, Failure, KnownIssue, NotImplemented, PerformanceFailure, Fixed, Implemented, and Skipped. This gives a much better high-level view of the state of a test suite and helps answer questions like:&#xD;
&#xD;
* Which files are producing real failures?&#xD;
* Which failures are already known?&#xD;
* Which not-yet-implemented tests have started passing?&#xD;
* Which tests were skipped in a local run?&#xD;
&#xD;
For CI, the framework also builds a filtered report focused on the categories that should actually affect pass/fail decisions, while still keeping the richer result structure available for analysis.&#xD;
&#xD;
![A typical test summary][2]&#xD;
&#xD;
## Command line interface&#xD;
The repository also includes example scripts for running tests from the command line, which makes the framework suitable for automation and CI workflows.&#xD;
&#xD;
That means you can use the same test infrastructure both interactively inside the Wolfram Language and non-interactively from scripts. If you maintain paclets or other structured projects, this makes it much easier to integrate testing into build pipelines, local shell workflows, and repeatable project setup.&#xD;
&#xD;
The example unit tests can be run from the command line (assuming you start it in the root directory of the repository) with the following line:&#xD;
&#xD;
```&#xD;
wolframscript -file Examples/Tests/run_tests.wls&#xD;
```&#xD;
&#xD;
![Running the unit tests from the command line][3]&#xD;
&#xD;
The overall goal is to make Wolfram Language testing feel less like a one-off notebook activity and more like a maintainable development workflow. If you have any questions or suggestions, please let me know!&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Taggingtests.png&amp;amp;userId=839741&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=Testsummary.png&amp;amp;userId=839741&#xD;
  [3]: https://community.wolfram.com//c/portal/getImageAttachment?filename=commandline.png&amp;amp;userId=839741</description>
    <dc:creator>Sjoerd Smit</dc:creator>
    <dc:date>2026-06-30T14:16:27Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3737733">
    <title>Why  get different results when solving the same complex equation using Reduce and Solve?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3737733</link>
    <description>Reduce[{Norm[z1] == Norm[z2] == 2, z1 + z2 == Sqrt[3] + I, &#xD;
      y == Norm[z1 - z2]}, y, {z1, z2}]&#xD;
    Solve[{Norm[z1] == Norm[z2] == 2, z1 + z2 == Sqrt[3] + I, &#xD;
       y == Norm[z1 - z2]}] // FullSimplify&#xD;
&#xD;
Why  get different results when solving the same complex equation using Reduce and Solve?&#xD;
&#xD;
![enter image description here][1]&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=2026-06-22_201444.png&amp;amp;userId=3593842</description>
    <dc:creator>Bill Blair</dc:creator>
    <dc:date>2026-06-22T12:19:30Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3721357">
    <title>Can&amp;#039;t start kernels and getting an error: Unable to communicate with closed link</title>
    <link>https://community.wolfram.com/groups/-/m/t/3721357</link>
    <description>In[83]:= LaunchKernels[]&#xD;
    &#xD;
    During evaluation of In[83]:= LinkObject::linkd: Unable to communicate with closed link LinkObject[&amp;#039;/Applications/Wolfram.app/Contents/MacOS/WolframKernel&amp;#039; -noinit -subkernel -wstp,2002,23].&#xD;
    &#xD;
    During evaluation of In[83]:= LinkObject::linkd: Unable to communicate with closed link LinkObject[&amp;#039;/Applications/Wolfram.app/Contents/MacOS/WolframKernel&amp;#039; -noinit -subkernel -wstp,2003,24].&#xD;
    &#xD;
    During evaluation of In[83]:= LinkObject::linkd: Unable to communicate with closed link LinkObject[&amp;#039;/Applications/Wolfram.app/Contents/MacOS/WolframKernel&amp;#039; -noinit -subkernel -wstp,2004,25].&#xD;
    &#xD;
    During evaluation of In[83]:= General::stop: Further output of LinkObject::linkd will be suppressed during this calculation.&#xD;
    &#xD;
    During evaluation of In[83]:= Parallel`Developer`ConnectKernel::failinit: 8 of 8 kernels failed to initialize.&#xD;
    &#xD;
    Out[83]= {}&#xD;
    &#xD;
    In[82]:= ParallelKernels[]&#xD;
    &#xD;
    Out[82]= {}&#xD;
    &#xD;
    In[80]:= AbsoluteTiming[&#xD;
      counts2X2X2sList = ParallelMap[&#xD;
        ArrayReshape[ (* Convert 1X8 counts into 2X2X2 counts; &#xD;
          doing it this weird way - Flatten first - is much faster. *)&#xD;
          Flatten@#,&#xD;
          {Length@#, 2, 2, 2}&#xD;
          ] &amp;amp;,&#xD;
        counts1X8sList&#xD;
        ]&#xD;
      ][[1]]&#xD;
    &#xD;
    During evaluation of In[80]:= ParallelMap::nopar: No parallel kernels available; proceeding with sequential evaluation.&#xD;
    &#xD;
    Out[80]= 0.040537</description>
    <dc:creator>Mark Tuttle</dc:creator>
    <dc:date>2026-05-24T12:29:20Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/2437685">
    <title>Load DICOM with actual data values: Import/Export changes data</title>
    <link>https://community.wolfram.com/groups/-/m/t/2437685</link>
    <description>I&amp;#039;m very happy with the continued improvement of the Dicom import and export functionality and speed. &#xD;
However, there is one issue with the current implementation that makes it very unuseful if you do quantitative image analysis. It might be that I miss an option if not I think this should be fixed.&#xD;
&#xD;
In the Mathematica documentation and examples, Dicom data is typically shown and imported as images which I understand for display purposes. But I consider the information in Dicom files as data, very well curated and standardized. &#xD;
For many (MRI) applications, the actual quantitative values of voxels stored in Dicom actually have meaning, values, and even units. For example in the image below each voxel value is actually a quantitative measure of T2 relaxation time in the heart, where the values are stored in milliseconds as voxel values as is also mentioned in the metadata. &#xD;
&#xD;
![enter image description here][1]&#xD;
&#xD;
![enter image description here][2]&#xD;
&#xD;
To get from the stored values to quantitative values (WV, DV or FP) the fields from the header and the equations are well defined.&#xD;
&#xD;
Header values:&#xD;
&#xD;
- SV = stored value of DICOM PIXEL DATA without scaling&#xD;
- WS = RealWorldValue slope (0040,9225) &amp;#034;RWVSlope&amp;#034;&#xD;
- WI = RealWorldValue intercept (0040,9224) &amp;#034;RWVIntercept&amp;#034;&#xD;
- RS = rescale slope (0028,1053) &amp;#034;RescaleSlope&amp;#034;&#xD;
- RI = rescale intercept (0028,1052) &amp;#034;RescaleIntercept&amp;#034;&#xD;
- SS = scale slope (2005,100E) &amp;#034;ScaleSlope&amp;#034;&#xD;
&#xD;
Outputs:&#xD;
&#xD;
- WV = real world value&#xD;
- FP = precise value&#xD;
- DV = displayed value&#xD;
&#xD;
Formulas:&#xD;
&#xD;
- WV = SV * WS + WI&#xD;
- DV = SV * RS + RI&#xD;
- FP = DV / (RS * SS)&#xD;
&#xD;
So my first try was that I want to obtain the &amp;#034;RawData&amp;#034; to access the SV pixel data, which does not output anything. &#xD;
&#xD;
![enter image description here][3]&#xD;
&#xD;
Eventually, if I import this Dicom file into Mathematica I have to use a lot of tricks to get to the correct stored values. The Dicom images I use are stored as 12-bit Integers but are converted by Mathematica to a Numerical array with type Int16. Also, I have to specifically specify that I don&amp;#039;t want any &amp;#034;DataTransformation&amp;#034; which by default rescales the data and actually changes some voxel values!!!!&#xD;
&#xD;
    In[1]:= &amp;lt;&amp;lt; QMRITools`&#xD;
    &#xD;
    {meta, data, bd} = &#xD;
      Import[file, {&amp;#034;dicom&amp;#034;, {&amp;#034;MetaInformation&amp;#034;, &amp;#034;Data&amp;#034;, &amp;#034;BitDepth&amp;#034;}}, &#xD;
       &amp;#034;DataTransformation&amp;#034; -&amp;gt; None];&#xD;
    dataT = Import[file, {&amp;#034;dicom&amp;#034;, {&amp;#034;Data&amp;#034;}}];&#xD;
    &#xD;
    {dd = ToExpression[&#xD;
       StringJoin @@ &#xD;
        StringCases[NumericArrayType[data], DigitCharacter]], bd}&#xD;
    {ss, rs, ri} = &#xD;
     meta /@ {&amp;#034;2005_100e&amp;#034;, &amp;#034;RescaleSlope&amp;#034;, &amp;#034;RescaleIntercept&amp;#034;}&#xD;
    &#xD;
    {data, dataT} = Normal@{data, dataT};&#xD;
    &#xD;
    svT = 2.^bd (dataT/(2.^dd));&#xD;
    pfT = (rs svT + ri)/(rs ss);&#xD;
    &#xD;
    sv = 2.^bd (data/(2.^dd));&#xD;
    pf = (rs sv + ri)/(rs ss);&#xD;
    &#xD;
    PlotData[pfT, pf]&#xD;
    &#xD;
    Out[3]= {16, 12}&#xD;
    &#xD;
    Out[4]= {1.99854, 0.500366, -2.}&#xD;
&#xD;
For my current research, I need the PF values and to get them correctly I have to:&#xD;
&#xD;
 1. Use &amp;#034;DataTransformation&amp;#034;-&amp;gt;None, which is not really well documented what it actually does. But based on what I see actual values of the data are changed by clipping the histogram, which for default handling of medical data is never OK!! &#xD;
![enter image description here][4]&#xD;
 2. As far as I am aware the only way to obtain the actual stored values of my Dicom data (the actual binary values stored in the file itself) I have to find the actual BiteDepth and the imported data type and rescale my data accordingly.&#xD;
&#xD;
&#xD;
Below are the obtained PF valued data I need with and without DataTransformation. Although the image on the right might look less appealing with default range and scaling it is actually correct when scaled apropriately. &#xD;
![enter image description here][5]&#xD;
![enter image description here][6]&#xD;
&#xD;
Am I missing a correct option for getting the actual data stored? If not this should definitely be changed. Dicom is the international standard to transmit, store, retrieve, print, process, and display medical imaging information. With the current implementation, it is impossible to Import and Export such files without actually changing the stored data.&#xD;
&#xD;
Thanks, Martijn&#xD;
&#xD;
&#xD;
&#xD;
&#xD;
&#xD;
&#xD;
 &#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=dcmtag.png&amp;amp;userId=1332602&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=T2map.png&amp;amp;userId=1332602&#xD;
  [3]: https://community.wolfram.com//c/portal/getImageAttachment?filename=raw.png&amp;amp;userId=1332602&#xD;
  [4]: https://community.wolfram.com//c/portal/getImageAttachment?filename=hist.png&amp;amp;userId=1332602&#xD;
  [5]: https://community.wolfram.com//c/portal/getImageAttachment?filename=dataTrans1.png&amp;amp;userId=1332602&#xD;
  [6]: https://community.wolfram.com//c/portal/getImageAttachment?filename=dataTrans2.png&amp;amp;userId=1332602</description>
    <dc:creator>Martijn Froeling</dc:creator>
    <dc:date>2022-01-05T09:42:43Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3644908">
    <title>Looking for help cleaning up a Mathematica notebook into a reference implementation</title>
    <link>https://community.wolfram.com/groups/-/m/t/3644908</link>
    <description>**TL;DR** I&amp;#039;m looking for someone to refactor a Mathematica notebook I&amp;#039;ve got from a fellow researcher so I can use it as a reliable reference implementation. I expect it&amp;#039;s a few hours of work for the right person. I can offer financial compensation and/or my own technical expertise.&#xD;
&#xD;
Hello Wolfram community!&#xD;
&#xD;
I hope this is the right place for this kind of request. If not, my apologies!&#xD;
&#xD;
I&amp;#039;m a PhD student in the final stage of my project, an attempt at closed-loop control of water jets from firefighting robots using UAV imagery as feedback. The controller design is based on the Smith predictor architecture, which requires a predictive model to compensate for the long dead time of the system. Accurately predicting the trajectory of water jets is far from trivial. One of the most promising models I could find is described in https://link.springer.com/article/10.1007/s10694-021-01175-1. The model is formulated as a system of ordinary differential equations.   &#xD;
  &#xD;
I tried implementing it in Python so I can integrate it with my other components. It&amp;#039;s almost complete, but despite several months of debugging I haven&amp;#039;t been able to resolve the remaining issues. So I contacted the corresponding author. They confirmed some errors I found in the printed versions of the equations, and kindly provided their original Mathematica implementation. This helped, but my own implementation is still incomplete. The issues could stem from additional errors in the printed equations I/we haven&amp;#039;t found yet, mistakes in my implementation, or differences in solver behavior (Mathematica&amp;#039;s vs. SciPy&amp;#039;s solve_ivp() function). &#xD;
&#xD;
Unfortunately, the notebook is hard for me to follow and differs quite a bit from the published paper (structure, variable naming, angle conventions, etc.). I&amp;#039;ve never worked with Mathematica and don&amp;#039;t have the time nor patience to properly learn it before my deadline. &#xD;
&#xD;
The author is currently unable to provide further support, but since I&amp;#039;m getting more and more desperate to finish this subproject, I&amp;#039;m now seeking third-party help. I&amp;#039;m looking for someone to refactor the notebook into a clean, well-structured reference implementation. Specifically, I&amp;#039;d like them to&#xD;
&#xD;
 - remove unused and redundant code (many expressions are duplicated)&#xD;
 - improve structure&#xD;
 - improve documentation&#xD;
 - add small quality-of-life improvements if appropriate&#xD;
 - flag any noticeable discrepancies&#xD;
&#xD;
The refactored version must reproduce the original results, in particular the figures shown in the paper. Ideally, it should make it easy to experiment with the equations and parameters. One specific goal is to verify whether the rearranged equation forms I use in Python (to match SciPy&amp;#039;s solver interface) produce the same results as the original formulation.&#xD;
  &#xD;
If you&amp;#039;re interested, I&amp;#039;ll obtain the author&amp;#039;s permission and share the notebook privately so you can assess the scope before we discuss compensation. Bonus points if you have experience with physics-based simulations and are open to occasional follow-up questions :)&#xD;
&#xD;
Many thanks and regards!</description>
    <dc:creator>Merlin Stampa</dc:creator>
    <dc:date>2026-02-24T20:34:23Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3710069">
    <title>GeoServer option in GeoListPlot fails with vector error</title>
    <link>https://community.wolfram.com/groups/-/m/t/3710069</link>
    <description>Script:&#xD;
&#xD;
```wls&#xD;
Do[ &#xD;
queryresult = RunProcess[&#xD;
    {&#xD;
        &amp;#034;bq&amp;#034;,&#xD;
        &amp;#034;query&amp;#034;,&#xD;
        &amp;#034;--format=json&amp;#034;,&#xD;
        &amp;#034;--nouse_legacy_sql&amp;#034;,&#xD;
        &amp;#034;--max_rows=86400&amp;#034;,&#xD;
        &amp;#034;SELECT DISTINCT ST_X(`geography`) AS longitude, ST_Y(`geography`) AS latitude FROM `personalinformatics.locations` WHERE EXTRACT(DATE from `timestamp` AT TIME ZONE &amp;#039;America/New_York&amp;#039;) = &amp;#039;&amp;#034;&amp;lt;&amp;gt;DateString[mapdate,&amp;#034;ISODate&amp;#034;]&amp;lt;&amp;gt;&amp;#034;&amp;#039;&amp;#034;&#xD;
    },&#xD;
    &amp;#034;StandardOutput&amp;#034;&#xD;
];&#xD;
data = ImportString[queryresult,&amp;#034;RawJSON&amp;#034;];&#xD;
table = Table[&#xD;
    GeoPosition[&#xD;
        {&#xD;
            ToExpression@data[[i,&amp;#034;latitude&amp;#034;]],&#xD;
            ToExpression@data[[i,&amp;#034;longitude&amp;#034;]]&#xD;
        }&#xD;
    ],&#xD;
    {i, Length[data]}&#xD;
];&#xD;
map = GeoListPlot[&#xD;
    table,&#xD;
    ImageSize-&amp;gt;{1080,1080},&#xD;
    GeoServer-&amp;gt;&amp;#034;https://tiles.openstreetmap.us/vectiles/`1`/`2`/`3`.pbf&amp;#034;,&#xD;
    GeoScaleBar-&amp;gt;{&amp;#034;Imperial&amp;#034;,&amp;#034;Metric&amp;#034;},&#xD;
    PlotLabel-&amp;gt;Style[&amp;#034;Daily GPS Map | &amp;#034; &amp;lt;&amp;gt; DateString[mapdate,&amp;#034;LocaleDateFull&amp;#034;],&amp;#034;Subtitle&amp;#034;]&#xD;
];&#xD;
Export[&amp;#034;/home/steven/public_html/dailymaps/&amp;#034;&amp;lt;&amp;gt;DateString[mapdate,&amp;#034;ISODate&amp;#034;]&amp;lt;&amp;gt;&amp;#034;_map.png&amp;#034;,map];&#xD;
Print[&amp;#034;Completed map export for &amp;#034;&amp;lt;&amp;gt;DateString[mapdate,&amp;#034;ISODate&amp;#034;]];&#xD;
,{mapdate, DateRange[DateObject[{2026, 4, 27}], DateObject[{2026, 4, 30}]]}]&#xD;
```&#xD;
&#xD;
The following error is returned:&#xD;
```&#xD;
GeoServer::styleres: Cannot download vector style resources.&#xD;
```&#xD;
I have tried the following URLs for GeoServer and am getting this error (note, there should be backticks around the `1`, `2`, and `3`&amp;amp;mdash;this forum composer removes them).&#xD;
&#xD;
- https://tile.openstreetmap.org/`1`/`2`/`3`.pbf (the current OpenStreetMap vector tile URL)&#xD;
- https://tile.openstreetmap.org/`1`/`2`/`3`.png (the current OpenStreetMap raster tile URL)</description>
    <dc:creator>Steven Buehler</dc:creator>
    <dc:date>2026-05-01T12:48:58Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3674343">
    <title>Unexpected behavior of &amp;#034;CausalGraphInstances&amp;#034; option of the MultiwaySystem function (V12.0.0)?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3674343</link>
    <description>The rule &amp;#034;BA&amp;#034; -&amp;gt; &amp;#034;AB&amp;#034; is presented in Section 5.9 of the Physics Project book (&amp;#034;The Significance of Causal Invariance&amp;#034;) as being causal invariant. The instances of its causal graph shown therein for 5 time steps and initial condition &amp;#034;BBBAA&amp;#034; is given as example, showing that all 5 instances are isomorphic to each other. &#xD;
&#xD;
I&amp;#039;ve run the example with the MultiwaySystem function  (ResourceFunction[&amp;#034;MultiwaySystem&amp;#034;][{&amp;#034;BA&amp;#034; -&amp;gt; &amp;#034;AB&amp;#034;}, &amp;#034;BBBAA&amp;#034;, 5, &amp;#034;CausalGraphInstances&amp;#034;]) and the function output matched the book content.&#xD;
&#xD;
However:&#xD;
&#xD;
1) Running the system for only 4 time steps, not all instances are isomorphic to each other, since in this case there 2 types of graphs (among the 5 instances) which are clearly not isomorphic to each other.&#xD;
&#xD;
2) In the subsequent example in the section -- that changes the initial condition to &amp;#034;BBBBAAAA&amp;#034; -- the MultiwaySystem function couldn&amp;#039;t generate the instance causal graph shown in the book, regardless of the number of time steps I tried (from 4 to 10). Actually, for all these time steps different graph types are generated which precludes the existence of isomorphism among them all.</description>
    <dc:creator>Pedro Paulo Balbi</dc:creator>
    <dc:date>2026-04-04T20:45:37Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3672512">
    <title>How do we decrease the computation time of this code?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3672512</link>
    <description>I want to decrease the computation time of the  following code. &#xD;
&#xD;
If `c` is a large constant, how do we show when:&#xD;
    &#xD;
    Clear[&amp;#034;Global`*&amp;#034;]&#xD;
&#xD;
    c=100&#xD;
&#xD;
    LengthS[r_] := LengthS[r] = {3(r-c)!, r!/2 + 1}&#xD;
    &#xD;
    LengthS1[r_, y_] := LengthS1[r, y] = LengthS[r][[y]]&#xD;
    &#xD;
    LengthS2[j_, y_] := LengthS2[j, y] = LengthS[j][[y]]&#xD;
  &#xD;
    V[r_]:=V[r]=r!+1&#xD;
  &#xD;
and:&#xD;
&#xD;
    P1=200    &#xD;
&#xD;
    Min11[r_, x_] := &#xD;
     Min11[r, x] = &#xD;
      FindInstance[LengthS1[r1, x] &amp;lt; V[r] &amp;amp;&amp;amp; V[r] &amp;lt; LengthS1[r1 + 1, x] &amp;amp;&amp;amp; &#xD;
        r - P1 &amp;lt;= r1 &amp;amp;&amp;amp; r1 &amp;lt;= r + P1, {r1}, PositiveIntegers]&#xD;
&#xD;
    Min12[r_, x_] := &#xD;
     Min12[r, x] = &#xD;
      ArgMin[{RealAbs[LengthS1[r2, x] - V[r]], r - P1 &amp;lt;= r2 &amp;lt;= r + P1}, &#xD;
       r2, PositiveIntegers]&#xD;
&#xD;
    Min21[r_, y_] := &#xD;
     Min21[r, y] = &#xD;
      FindInstance[LengthS2[r3, y] &amp;lt; V[r] &amp;amp;&amp;amp; V[r] &amp;lt; LengthS2[r3 + 1, y] &amp;amp;&amp;amp; &#xD;
        r - P1 &amp;lt;= r3 &amp;amp;&amp;amp; r3 &amp;lt;= r + P1, {r3}, PositiveIntegers]&#xD;
&#xD;
    Min22[r_, y_] := &#xD;
     Min22[r, y] = &#xD;
      ArgMin[{RealAbs[LengthS2[r4, y] - V[r]], r - P1 &amp;lt;= r4 &amp;lt;= r + P1}, &#xD;
       r4, PositiveIntegers]&#xD;
&#xD;
then `rMin1[r,1]==r+c` and `rMin2[r,2]==r` (e.g., `rMin1[r,1]==10+c` and `rMin2[r,2]==10`).&#xD;
&#xD;
&#xD;
    rMin1[r_, x_] := &#xD;
     rMin1[r, x] = &#xD;
      Min12[r, x] + Sign[Floor[RealAbs[2 r - Min11[r, x] - Min12[r, x]]/2]]&#xD;
    &#xD;
    rMin2[r_, y_] := &#xD;
     rMin2[r, y] = &#xD;
      Min22[r, y] + Sign[Floor[RealAbs[2 r - Min21[r, y] - Min22[r, y]]/2]]&#xD;
&#xD;
    rMin1[10,1]&#xD;
    rMin1[10,2]&#xD;
&#xD;
 However, it takes too long to compute `rMin1[10,1]` and `rMin2[10,2]` and I do not know what are the actual outputs.</description>
    <dc:creator>Bharath Krishnan</dc:creator>
    <dc:date>2026-03-31T15:22:31Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3635801">
    <title>Kernel freeze when changing AudioGenerator noise color</title>
    <link>https://community.wolfram.com/groups/-/m/t/3635801</link>
    <description>I have a few code samples which freeze or crash my kernel on evaluation, can anybody confirm that this isn&amp;#039;t a local issue for me?&#xD;
&#xD;
Discrete:&#xD;
&#xD;
    AudioGenerator[{&amp;#034;Color&amp;#034;, AudioGenerator[TimeSeries[{1}, {1}]]}]&#xD;
&#xD;
Continuous:&#xD;
&#xD;
    AudioGenerator[{&amp;#034;Color&amp;#034;, AudioGenerator[{&amp;#034;Sawtooth&amp;#034;, .4, 5}]}]</description>
    <dc:creator>Joseph Stocke</dc:creator>
    <dc:date>2026-02-06T21:20:51Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3624223">
    <title>DiscretizeRegion failing on macOS with 14.3</title>
    <link>https://community.wolfram.com/groups/-/m/t/3624223</link>
    <description>The first graphic is from a notebook many years old, and the second is from the latest version of Mathematica.  What&amp;#039;s going on?&#xD;
&#xD;
Is this a known regression in functionality?&#xD;
&#xD;
![enter image description here][1]&#xD;
![enter image description here][2]&#xD;
&#xD;
    n = 7; m = 3; dt = 2 Pi/n; dtm = 2 Pi/m; r = &#xD;
     1./(1 - Sin[dt/2]/Cos[dtm/2]); R = 1. r Cos[(dt + dtm)/2]/Cos[dtm/2];&#xD;
    ToMatrix[z_, &#xD;
       r_] := (I/r) {{z, r^2 - z Conjugate[z]}, {1, -Conjugate[z]}};&#xD;
    alist = Table[&#xD;
      ToMatrix[r Exp[I t], r - 1], {t, dt/2, 2 Pi, dt}]; Tlist = &#xD;
     Join[{IdentityMatrix[2]}, alist];&#xD;
    homography[{{a_, b_}, {c_, d_}}, z_] := (a z + b)/(c z + d);&#xD;
    FindT[T0_, Tlist_] := &#xD;
      MemberQ[Tlist, &#xD;
       T_ /; Abs[homography[T, 0] - homography[T0, 0]] &amp;lt; 1.0*^-3];&#xD;
    i2 = 1; Do[i1 = i2 + 1; i2 = Length[Tlist]; &#xD;
     Do[Scan[(T = Tlist[[i]] . #; &#xD;
         If[! FindT[T, Tlist], Tlist = Append[Tlist, T]]) &amp;amp;, alist], {i, &#xD;
       i1, i2}], {2}];&#xD;
    plot = Show[&#xD;
      Graphics[&#xD;
       Map[Line[&#xD;
          Table[z = homography[#, R Exp[I t]]; {Re[z], Im[z]}, {t, 0, &#xD;
            2 Pi, dt}]] &amp;amp;, Tlist], AspectRatio -&amp;gt; Automatic], &#xD;
      Axes -&amp;gt; True]&#xD;
&#xD;
    data = (Table[&#xD;
          z = homography[#1, R Exp[I t]]; {Re[z], Im[z], 0.}, {t, 0, &#xD;
           2 \[Pi], dt}] &amp;amp;) /@ Tlist;&#xD;
    L = MeshRegion[Join @@ Most /@ data, &#xD;
       Line[Join @@ (Partition[#1, 2, 1, 1] &amp;amp;) /@ &#xD;
          Partition[Range[7 Length[data]], 7]]];&#xD;
    f = RegionDistance[L];&#xD;
    \[Theta]1 = 0.08;&#xD;
    \[Theta]2 = 0.01;&#xD;
    z =.&#xD;
    R1 = ImplicitRegion[&#xD;
       f[{x, y, z}] &amp;lt;= \[Theta]1, {{x, -4, 4}, {y, -4, 4}, {z, -2, 2}}];&#xD;
    S1 = DiscretizeRegion[R1, MaxCellMeasure -&amp;gt; 0.0001]&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=9870Untitled.png&amp;amp;userId=1537376&#xD;
  [2]: https://community.wolfram.com//c/portal/getImageAttachment?filename=9363Untitled2.png&amp;amp;userId=1537376</description>
    <dc:creator>Eric Mockensturm</dc:creator>
    <dc:date>2026-01-24T22:21:35Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3574670">
    <title>Vibe coding with ChatGPT (GPT-5.1): fixing AI code vulnerabilities</title>
    <link>https://community.wolfram.com/groups/-/m/t/3574670</link>
    <description>&amp;amp;[Wolfram Notebook][1]&#xD;
&#xD;
&#xD;
  [1]: https://www.wolframcloud.com/obj/d8e5d5cd-83af-487b-9c48-d4a82ef214f1</description>
    <dc:creator>Werner Geiger</dc:creator>
    <dc:date>2025-11-13T21:41:30Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3561367">
    <title>Explain SetPrecision and N</title>
    <link>https://community.wolfram.com/groups/-/m/t/3561367</link>
    <description>I calculate huge matrices (of the order of 10^4 x 10^4 or more) in C++ (because Mathematica is too slow for this...) in 80-bit (long double) and export it to 128-bit (because Mathematica can only read either 64-bit or 128-bit with BinaryReadList). I import the matrices into Mathematica because it&amp;#039;s much easier to make graphics, convergence analysis and so on. So after having loaded them into Mathematica, the numbers have mantissas of about 50 digits (the numbers on the left after the back tick `). But because they were originally calculated only in 80-bits, 50 digits are useless. In order to load them quickly, I need to convert them into compressed text. But before doing this, I would like to reduce the numbers to 20 digits, because this is 80-bit precision. This would reduce space on disk and load them more quickly. However, SetPrecision[z,p] or N[z,p] where z is a number with a mantissa of 50 decimal digits and p=20 is the desired precision does not reduce the digits at all. If I want to reduce it to 16 digits for example, I need to set p=4 or so. Why is this? Normally, when someone talks of a number z having p precision, I understand that it has a mantissa of p decimal digits. Am I missing something?</description>
    <dc:creator>Ulrich Utiger</dc:creator>
    <dc:date>2025-10-16T16:26:22Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3562641">
    <title>Mathematica 12, BenchmarkReport[] fails at FFT where it previuosly was fine.  Win 11 upgraded on VM</title>
    <link>https://community.wolfram.com/groups/-/m/t/3562641</link>
    <description>**The problem**&#xD;
&#xD;
I run Mathematica 12 from home via a Win11 VM on Proxmox.  This configuration has run fine for years.  Recently during an upgrade to Win11 25H2 I went to test to make sure everything was functional with a quick BenchmarkReport[] but it caused the kernel to die at Test 3, FFT.  Its a very repeatable failure.&#xD;
&#xD;
Just before upgrading to 25H2 I had changed my processor type for this VM to x86-64-v3 +aes from -v2 + aes. I had issues on another vm where Win11 didnt want to upgrade with v2.&#xD;
I didnt originally run the processor as &amp;#034;host&amp;#034; as I am running dual E5-2699v4 Xeons, Win11 doesnt support by age despite having all the instructions needed.&#xD;
&#xD;
I have used this VM with Win10 and Win11 for years running Mathematica without issue.  In the past I would use BenchmarkReport[] as a quick check of functionality after any upgrades or changes.  This is the first time its failed.&#xD;
&#xD;
A quick test using ParallelTable[sin[x],{x,0,pi,10^-6}] works fine&#xD;
&#xD;
A quick test of Fourier[{1, 1, 2, 2, 1, 1, 0, 0}] works fine&#xD;
&#xD;
But a simple,&#xD;
&#xD;
    Needs[&amp;#034;Benchmark`&amp;#034;]&#xD;
    BenchmarkReport[]&#xD;
&#xD;
Fails while calculating Step 3, FFT.  The kernel simply die with no error message or warning.  If I watch carefully with Task Manager it looks like the kernel dies, Mathematica recreates the kernel, then it dies again immediately.&#xD;
&#xD;
I also tried running this command through mathscript with -verbose but it gives me no additional details why its dying.&#xD;
&#xD;
I went back and tested some older notebooks I had.  One of the first ones I tried died during a NonLinearModelFit of a PieceWise function with Sin[]s.  &#xD;
&#xD;
    Piecewise[{&#xD;
      {&#xD;
       y0 + (&#xD;
         A1 Sin[ 2 \[Pi] ( x - x1)/t1] Sin[ 2 \[Pi] ( x - x2)/t2]&#xD;
         ) + A3 Sin[2 \[Pi] (x - x3)/t3],&#xD;
       x &amp;gt;= xon&#xD;
       },&#xD;
      {y0, x &amp;lt; xon}&#xD;
      }]&#xD;
&#xD;
This had worked in the past but now it dies just like BenchmarkReport, the kernel dies with no errors.&#xD;
&#xD;
**Fixes tried**&#xD;
&#xD;
So, I set the cpu back to v2 + aes for the vm config in proxmox but the kernel still dies.&#xD;
&#xD;
Set the cpu to Host in case its an issue with AES being passed correctly but it still dies&#xD;
&#xD;
I had Ballooning memory on so I turned it off, no change&#xD;
&#xD;
I had NUMA on so I turned it off, no change&#xD;
&#xD;
I uninstalled, reinstalled Mathematica 12.0 but it still fails&#xD;
&#xD;
I installed a demo copy of Mathematica 14.3, BenchmarkReport[] and my notebook run without issue.&#xD;
&#xD;
&#xD;
**System Info**&#xD;
&#xD;
Running a network version of Mathematica 12.0 with MathLM on another VM for the license.  License is for 2 instances and 16 kernels.&#xD;
&#xD;
The VM is running under proxmox 8.4.14.  The vm was just recently upgraded to Win11 25H2 but I am not sure when I last ran BenchmarkReport[].  I have run BenchmarkReport[] on this vm multiple times with some older flavors of win11 but I cant remember when I last ran it.&#xD;
&#xD;
I had recently installed the virtio drivers for this vm on the previous Win11 version but I hadnt run Mathematica since then.  Could be a contributing factor.&#xD;
&#xD;
Proxmox has gone through a recent upgrade with a reboot of the host.  I hadnt tried test Mathematica afterwards.  Could be a contributing factor.&#xD;
&#xD;
The vm has been tested with cpu set to Host, x86-64-v2+aes, x86-64-v3+aes, numa on and off, ballooning on and off, with 32GB memory configured for the vm.  This vm is set to get 2 processors of 8 cores each,&#xD;
&#xD;
The vm is only running microsoft virtual graphic drivers and is only accessed via remote desktop, not SPICE.&#xD;
&#xD;
As far as I can tell Win11 is working as expected.  I am considering a fresh install of Win11 if no better ideas surface.&#xD;
&#xD;
The host system is dual E5-2699 v4 with 512GB.  The host system runs a mix of vms and containers.&#xD;
&#xD;
**Summary**&#xD;
&#xD;
I know this is probably a very weird edge case of using a VM with such an old version of Mathematica.  The kernel dying does seem to fail for more than just Benchmark so its most likely not a single package responsible.  The failure is limited to Mathematica 12 as far as I can tell.  &#xD;
Just wanted to figure this our before I start embarking on a bunch of calculations.&#xD;
&#xD;
Any thoughts are appreciated.</description>
    <dc:creator>Mike Morrell</dc:creator>
    <dc:date>2025-10-19T19:10:08Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3558524">
    <title>Why does my Mathematica program use 100% CPU but very little RAM and still not finish after hours?</title>
    <link>https://community.wolfram.com/groups/-/m/t/3558524</link>
    <description>Hi everyone,&#xD;
&#xD;
I have a Mathematica program that takes an extremely long time to process and still doesn’t produce any result, even after more than 15 hours of runtime.&#xD;
&#xD;
Here are my system details:&#xD;
&#xD;
Supercomputer with 256 GB RAM  &#xD;
8 cores, each running at 3.7 GHz  &#xD;
Mathematica uses all CPU cores but only around 3&amp;#x2013;4 GB of RAM&#xD;
&#xD;
Despite this, the computation doesn’t seem to progress efficiently. I’d like to understand:&#xD;
&#xD;
Why is Mathematica using all the CPU but so little memory?&#xD;
&#xD;
What are the best practices to optimize my code (e.g., parallelization, memory management, symbolic vs numeric evaluation)?&#xD;
&#xD;
How can I identify the performance bottlenecks in my code?&#xD;
&#xD;
If helpful, I can share a simplified version of my code to analyze where the slowdown occurs.&#xD;
&#xD;
Any advice on improving speed or diagnosing such behavior would be greatly appreciated!&#xD;
&#xD;
Thanks in advance!&#xD;
&#xD;
This is my code. also i use vs 12.&#xD;
&#xD;
&amp;amp;[Wolfram Notebook][1]&#xD;
&#xD;
&#xD;
  [1]: https://www.wolframcloud.com/obj/2a2ecbd9-090f-45c0-915d-15d5e2dd9261</description>
    <dc:creator>Reza rho</dc:creator>
    <dc:date>2025-10-09T07:06:05Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3545532">
    <title>Speeding up random search</title>
    <link>https://community.wolfram.com/groups/-/m/t/3545532</link>
    <description>Using an example from the documentation&#xD;
&#xD;
    f[x_, y_] = &#xD;
      Exp[Sin[50 x]] + Sin[60 Exp[y]] + Sin[70 Sin[x]] + Sin[Sin[80 y]] - &#xD;
       Sin[10 (x + y)] + 1/4 (x^2 + y^2);&#xD;
    &#xD;
     AbsoluteTiming @ NMinimize[f[x, y], {x, y}, Method -&amp;gt; &amp;#034;RandomSearch&amp;#034;]&#xD;
    &#xD;
    {0.0919746, {-2.38708, {x -&amp;gt; -0.124868, y -&amp;gt; 0.290932}}}&#xD;
    &#xD;
    AbsoluteTiming @ &#xD;
     NMinimize[f[x, y], {x, y}, Method -&amp;gt; {&amp;#034;RandomSearch&amp;#034;, &amp;#034;SearchPoints&amp;#034; -&amp;gt; 1500}]&#xD;
    &#xD;
    {4.19461, {-3.30687, {x -&amp;gt; -0.0244031, y -&amp;gt; 0.210612}}}&#xD;
    &#xD;
     AbsoluteTiming @ (sln = &#xD;
       NMinimize[{f[x + dx, y + dy], -0.01 &amp;lt;= dx &amp;lt;= .01 , -.01 &amp;lt;= dy &amp;lt;= .01}, {x, &#xD;
         y, dx, dy}, Method -&amp;gt; {&amp;#034;RandomSearch&amp;#034;, &amp;#034;SearchPoints&amp;#034; -&amp;gt; 50 }])&#xD;
    &#xD;
    {0.432524, {-3.30687, {x -&amp;gt; -0.0156802, y -&amp;gt; 0.212335, dx -&amp;gt; -0.00872292, &#xD;
       dy -&amp;gt; -0.00172211}}}&#xD;
    &#xD;
    {x + dx, y + dy} /. sln[[2]]&#xD;
    &#xD;
     {-0.0244031, 0.210612}</description>
    <dc:creator>Frank Kampas</dc:creator>
    <dc:date>2025-09-14T18:03:01Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3531785">
    <title>Wolfram video processing is too slow for real-life situations</title>
    <link>https://community.wolfram.com/groups/-/m/t/3531785</link>
    <description>Wolfram Video Processing is too slow in real-life situations. I love using Wolfram Language for real-life applications, and I appreciate that Wolfram has recently focused on first-class video functionality. However, it’s a pity that while it works fine for demonstrations, it is far too slow for practical use.&#xD;
&#xD;
For example, when I use CapCut to edit and render a 5-minute video, it takes only a few seconds. But in Wolfram Mathematica, the same process is extremely slow. For a simple 7-minute video (with only text overlay), Wolfram takes 6 minutes just to render. That is unusable! Imagine processing a **30-minute video&amp;#x2014;it could take 45 minutes**, while CapCut would finish in under a minute.&#xD;
![enter image description here][1]&#xD;
&#xD;
I have also tried adjusting encoders, frame rates, and other settings, but it didn’t help.&#xD;
Can someone suggest a solution? Thank you very much.&#xD;
&#xD;
&#xD;
  [1]: https://community.wolfram.com//c/portal/getImageAttachment?filename=1755454340--0Codec.nb_-Wolfram.jpg&amp;amp;userId=138946</description>
    <dc:creator>Jaques Secretin</dc:creator>
    <dc:date>2025-08-17T18:15:27Z</dc:date>
  </item>
  <item rdf:about="https://community.wolfram.com/groups/-/m/t/3532836">
    <title>FunctionRange with unit circle and fixed angle constraints takes long time</title>
    <link>https://community.wolfram.com/groups/-/m/t/3532836</link>
    <description>This code runs for a long time without results in Mathematica. What is the reason?&#xD;
&#xD;
    FunctionRange[{Abs[x1 + y1 - 1]/Sqrt[2] + Abs[x2 + y2 - 1]/Sqrt[2], &#xD;
          x1^2 + y1^2 == 1, x2^2 + y2^2 == 1, x1 x2 + y1 y2 == 1/2}, {x1, y1, &#xD;
          x2, y2}, k]</description>
    <dc:creator>Wen Dao</dc:creator>
    <dc:date>2025-08-19T10:38:02Z</dc:date>
  </item>
</rdf:RDF>

