# Latest

**URL:** https://discourse.julialang.org/latest.md?page=467

[Latest](https://discourse.julialang.org/latest.md) · [Categories](https://discourse.julialang.org/categories.md) · [Tags](https://discourse.julialang.org/tags.md)

**Page:** 468

---

## [Difference between OrdinaryDiffEq.jl and DifferentialEquations.jl](https://discourse.julialang.org/t/difference-between-ordinarydiffeq-jl-and-differentialequations-jl/111133)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 1\
**Last updated:** [March 4, 2024, 1:49pm UTC](https://discourse.julialang.org/t/difference-between-ordinarydiffeq-jl-and-differentialequations-jl/111133 "2024-03-04T13:49:57Z")

</div>

Hello, I have a basic question: I want to know the difference between OrdinaryDiffEq.jl and DifferentialEquations.jl. I know that OrdinaryDiffEq.jl is a subset of DifferentialEquations.jl but on the user interface, t…

---

## [\[Makie\] Get data from figure](https://discourse.julialang.org/t/makie-get-data-from-figure/96053)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 5\
**Last updated:** [March 4, 2024, 1:42pm UTC](https://discourse.julialang.org/t/makie-get-data-from-figure/96053 "2024-03-04T13:42:33Z")

</div>

Given a Figure, is it possible to get the Arrays with the data? I want to do tests on automatically setting legal limits for log scale plots by automatically adjusting limits to hide the offending points, and printing a …

---

## [ModelingToolkit -- news?](https://discourse.julialang.org/t/modelingtoolkit-news/111126)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [March 4, 2024, 1:08pm UTC](https://discourse.julialang.org/t/modelingtoolkit-news/111126 "2024-03-04T13:08:17Z")

</div>

There seems to be a few changes to the latest versions of ModelingToolkit: Constructor ODESystem now requires the independent variable as second argument \[e.g., ODESystem(eqs,t) – in the past, the constructor tried to…

---

## [Plotting slow](https://discourse.julialang.org/t/plotting-slow/111083)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 6\
**Last updated:** [March 4, 2024, 12:57pm UTC](https://discourse.julialang.org/t/plotting-slow/111083 "2024-03-04T12:57:43Z")

</div>

We are currently working on a simulation and the bottleneck is plotting. We are plotting a grid of dimension 1000 x 2000 and saving it. T\_c\_hm = heatmap(x, y, transpose(T\_c\_renh), size = (1000, 400), clim=(0, 0.3)) …

---

## [Package Specific Environment Variables in JLL](https://discourse.julialang.org/t/package-specific-environment-variables-in-jll/111116)

<div class="topic-metadata">

**Author:** [@thealanjason](https://discourse.julialang.org/u/thealanjason)\
**Replies:** 4\
**Last updated:** [March 4, 2024, 12:41pm UTC](https://discourse.julialang.org/t/package-specific-environment-variables-in-jll/111116 "2024-03-04T12:41:00Z")

</div>

I would like to package OpenFOAM from www.openfoam.com with BinaryBuilder and use it for my research. Towards this goal, I have been able to build a JLL using BinaryBuilder for the Linux x86\_64 platform see here using t…

---

## [Build Julia with debug files](https://discourse.julialang.org/t/build-julia-with-debug-files/111131)

<div class="topic-metadata">

**Author:** [@Luc\_W](https://discourse.julialang.org/u/Luc_W)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 12:33pm UTC](https://discourse.julialang.org/t/build-julia-with-debug-files/111131 "2024-03-04T12:33:52Z")

</div>

Is there a way to enable generating debug info with the release build. I know that you can build a debug version in cygwin with “make -j 4 debug” but this will append “-debug” to julia.exe and some dll’s. I tried removin…

---

## [A tip for integrating your new format without changing \`FileIO\`'s registry](https://discourse.julialang.org/t/a-tip-for-integrating-your-new-format-without-changing-fileio-s-registry/111129)

<div class="topic-metadata">

**Author:** [@ehgus](https://discourse.julialang.org/u/ehgus)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 12:33pm UTC](https://discourse.julialang.org/t/a-tip-for-integrating-your-new-format-without-changing-fileio-s-registry/111129 "2024-03-04T12:33:08Z")

</div>

I tried to implement a new data format for internal use and share how I register a new data format without altering FileIO’s registry. It’s obvious to someone, but I hope someone finds it helpful. List of solutions To i…

---

## [My first Agents.jl project - Toy model of rental market](https://discourse.julialang.org/t/my-first-agents-jl-project-toy-model-of-rental-market/111127)

<div class="topic-metadata">

**Author:** [@Piotr\_Zakrzewski](https://discourse.julialang.org/u/Piotr_Zakrzewski)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 12:21pm UTC](https://discourse.julialang.org/t/my-first-agents-jl-project-toy-model-of-rental-market/111127 "2024-03-04T12:21:07Z")

</div>

I have long been interested in agent based simulations so I played around with Agents.jl to make a toy model of rental market. I published it here: GitHub - PiotrZakrzewski/real-estate-sim: Julia Agent Simulation of Rea…

---

## [Garbage collection not triggering on SLURM cluster](https://discourse.julialang.org/t/garbage-collection-not-triggering-on-slurm-cluster/95675)

<div class="topic-metadata">

**Author:** [@HKaras](https://discourse.julialang.org/u/HKaras)\
**Replies:** 6\
**Last updated:** [March 4, 2024, 12:14pm UTC](https://discourse.julialang.org/t/garbage-collection-not-triggering-on-slurm-cluster/95675 "2024-03-04T12:14:19Z")

</div>

Hi, So we are trying to run parallelised code on our SLURM based cluster however are quickly encountering large scale memory issues. The memory utilisation is much more than a single loop of code will generate suggestin…

---

## [Package to evaluate oscillating integrals with increasing frequency](https://discourse.julialang.org/t/package-to-evaluate-oscillating-integrals-with-increasing-frequency/108565)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 14\
**Last updated:** [March 4, 2024, 9:34am UTC](https://discourse.julialang.org/t/package-to-evaluate-oscillating-integrals-with-increasing-frequency/108565 "2024-03-04T09:34:12Z")

</div>

I’m looking to numerically integrate a function of the form int\[g(x)\*sin(r(x)\*x) dx, x=a...infinity\] Where g(x) is exponentially decaying and the frequency r(x) = A+B\*sqrt(1+x^2) is increasing with x. I saw GitHub - x…

---

## [This month in Julia world - 2024-02](https://discourse.julialang.org/t/this-month-in-julia-world-2024-02/110988)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 3\
**Last updated:** [March 4, 2024, 4:54am UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2024-02/110988 "2024-03-04T04:54:59Z")

</div>

A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community. “Internals” Fora …

---

## [Determinant of an integer matrix is float](https://discourse.julialang.org/t/determinant-of-an-integer-matrix-is-float/111107)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 4\
**Last updated:** [March 4, 2024, 4:42am UTC](https://discourse.julialang.org/t/determinant-of-an-integer-matrix-is-float/111107 "2024-03-04T04:42:13Z")

</div>

Why isn’t it an int? julia\> a, c, b, d = M = \[10 20; 30 40\]; a\*d - b\*c , det(M) (-200, -200.00000000000003)

---

## [Makie axis limits aren't set if infinite values present](https://discourse.julialang.org/t/makie-axis-limits-arent-set-if-infinite-values-present/111114)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 4:27am UTC](https://discourse.julialang.org/t/makie-axis-limits-arent-set-if-infinite-values-present/111114 "2024-03-04T04:27:23Z")

</div>

The y values include some -Infs and it looks like that makes the axis limits give up. Is that expected behavior? scatter(1:1000, \[log(10^k) for k in -1.0:-1:-1000\])

---

## [Keywords using and import: are they really needed both?](https://discourse.julialang.org/t/keywords-using-and-import-are-they-really-needed-both/111104)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 2\
**Last updated:** [March 4, 2024, 1:08am UTC](https://discourse.julialang.org/t/keywords-using-and-import-are-they-really-needed-both/111104 "2024-03-04T01:08:25Z")

</div>

A longish discussion has been going back and forth what to do about these two keywords. Consider the following code: module Foo export nice, DOG struct Dog end # singleton type, not exported const DOG = Dog() #…

---

## [Makie realtime plot draws line from start datapoint after some time - BUG](https://discourse.julialang.org/t/makie-realtime-plot-draws-line-from-start-datapoint-after-some-time-bug/111111)

<div class="topic-metadata">

**Author:** [@bryaan](https://discourse.julialang.org/u/bryaan)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 11:47pm UTC](https://discourse.julialang.org/t/makie-realtime-plot-draws-line-from-start-datapoint-after-some-time-bug/111111 "2024-03-03T23:47:17Z")

</div>

This is code for a realtime updating Makie line plot. It is setup to let you pan the chart on click. If you let it proceed to about +3 days from the start data point it draws a straight line from the first data point t…

---

## [\`mergewith\` issue with \`Unitful\`](https://discourse.julialang.org/t/mergewith-issue-with-unitful/111087)

<div class="topic-metadata">

**Author:** [@mlhetland](https://discourse.julialang.org/u/mlhetland)\
**Replies:** 9\
**Last updated:** [March 3, 2024, 11:28pm UTC](https://discourse.julialang.org/t/mergewith-issue-with-unitful/111087 "2024-03-03T23:28:07Z")

</div>

I’ve been using mergewith(+, …) with Dicts containing Unitful values, and it worked great for a while … until it suddenly didn’t. And slight reorganization of the arguments made it work again, so I’m not quite sure what’…

---

## [Picking an AD Backend and Enzyme Errors](https://discourse.julialang.org/t/picking-an-ad-backend-and-enzyme-errors/111075)

<div class="topic-metadata">

**Author:** [@kiranshila](https://discourse.julialang.org/u/kiranshila)\
**Replies:** 8\
**Last updated:** [March 3, 2024, 10:24pm UTC](https://discourse.julialang.org/t/picking-an-ad-backend-and-enzyme-errors/111075 "2024-03-03T22:24:29Z")

</div>

I’m working on an optimization problem for a paper of the form cost(θ) =\> scalar, where θ is potentially large, maybe 100-200 dimensional. I was under the assumption reverse mode AD is appropriate for this task, howeve…

---

## [Combined sliders with values shown](https://discourse.julialang.org/t/combined-sliders-with-values-shown/111101)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 2\
**Last updated:** [March 3, 2024, 8:32pm UTC](https://discourse.julialang.org/t/combined-sliders-with-values-shown/111101 "2024-03-03T20:32:39Z")

</div>

I am trying to render a bunch of custom sliders that show value with the slider. This function works just fine: function slider\_value(;default = 28, min = 1, max = 100) @htl("""\<input type="range" value="$(default)" mi…

---

## [Converting 3D DelaunayTriangulation into Mesh](https://discourse.julialang.org/t/converting-3d-delaunaytriangulation-into-mesh/111073)

<div class="topic-metadata">

**Author:** [@AliC](https://discourse.julialang.org/u/AliC)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 7:42pm UTC](https://discourse.julialang.org/t/converting-3d-delaunaytriangulation-into-mesh/111073 "2024-03-03T19:42:47Z")

</div>

I have a DelaunayTriangulation.Triangulation that contains 3D points. I want to plot it using Makie, but I’ve only seen that 2D triangulations can be plotted directly using triplot. If I try to triplot the 3D triangulat…

---

## [Poor Mesh Plot from Makie - How to fix it?](https://discourse.julialang.org/t/poor-mesh-plot-from-makie-how-to-fix-it/111064)

<div class="topic-metadata">

**Author:** [@Midez](https://discourse.julialang.org/u/Midez)\
**Replies:** 9\
**Last updated:** [March 3, 2024, 7:10pm UTC](https://discourse.julialang.org/t/poor-mesh-plot-from-makie-how-to-fix-it/111064 "2024-03-03T19:10:32Z")

</div>

Minimal example with a dummy mesh using Makie, GLMakie, FileIO msh = load("~/TestMesh.stl") fig = Figure(resolution = (1920,1080)) axe = Axis3(fig\[1, 1\]) mesh!(msh, transparency = false, overdraw = false, shading …

---

## [Julia code not being auto-indented .jmd files using Weave.jl in VSCODE](https://discourse.julialang.org/t/julia-code-not-being-auto-indented-jmd-files-using-weave-jl-in-vscode/111098)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 4:39pm UTC](https://discourse.julialang.org/t/julia-code-not-being-auto-indented-jmd-files-using-weave-jl-in-vscode/111098 "2024-03-03T16:39:38Z")

</div>

Dear All, I am using the package Weave.jl in VSCODE (filetype: .jmd). When I write julia code within the julia code block \`\`\`julia \`\`\` the code is not indented properly, e.g., if I start a for loop, the code looks li…

---

## [DiffEqGPU - slow parallel solving of SDEs on GPU](https://discourse.julialang.org/t/diffeqgpu-slow-parallel-solving-of-sdes-on-gpu/110814)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 6\
**Last updated:** [March 3, 2024, 4:10pm UTC](https://discourse.julialang.org/t/diffeqgpu-slow-parallel-solving-of-sdes-on-gpu/110814 "2024-03-03T16:10:11Z")

</div>

Hi all, As part of a broader project to run SDEs on GPU, I was taking a stab first at the example on the SciML website, slightly modified with a number of trajectories set to 250e3 to have a better idea of how much time…

---

## [Module scope and distributed computing](https://discourse.julialang.org/t/module-scope-and-distributed-computing/111014)

<div class="topic-metadata">

**Author:** [@lgo](https://discourse.julialang.org/u/lgo)\
**Replies:** 2\
**Last updated:** [March 3, 2024, 3:49pm UTC](https://discourse.julialang.org/t/module-scope-and-distributed-computing/111014 "2024-03-03T15:49:13Z")

</div>

I have a rather extensive and inaccessible algorithm that deploys distributed computing. To make it more accessible, I want to wrap as much of the algorithm into the functions of my package. I manage to initialize my va…

---

## [CHERI-RISC-V and CHERI-x86-64, CHERI-extended ISAs for capability](https://discourse.julialang.org/t/cheri-risc-v-and-cheri-x86-64-cheri-extended-isas-for-capability/108861)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 1:25pm UTC](https://discourse.julialang.org/t/cheri-risc-v-and-cheri-x86-64-cheri-extended-isas-for-capability/108861 "2024-03-03T13:25:20Z")

</div>

CHERI is over decade old research project, but it seems like hardware is already available for RISC-V. I find this intriguing, and Julia may want to support eventually. Note the ISA extension(s) has changed recently, not…

---

## [Mutating a view (not the underlying array)](https://discourse.julialang.org/t/mutating-a-view-not-the-underlying-array/111089)

<div class="topic-metadata">

**Author:** [@sgaure](https://discourse.julialang.org/u/sgaure)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 11:58am UTC](https://discourse.julialang.org/t/mutating-a-view-not-the-underlying-array/111089 "2024-03-03T11:58:05Z")

</div>

I have a question about views. I have a vector P::Vector in which I want to find a subset with a specific property. This can be done incrementally. I use a loop like this: idxs = collect(eachindex(P)) Psubset = view(P,…

---

## [Debounce notfication of an Observable](https://discourse.julialang.org/t/debounce-notfication-of-an-observable/111079)

<div class="topic-metadata">

**Author:** [@bryaan](https://discourse.julialang.org/u/bryaan)\
**Replies:** 3\
**Last updated:** [March 3, 2024, 8:46am UTC](https://discourse.julialang.org/t/debounce-notfication-of-an-observable/111079 "2024-03-03T08:46:45Z")

</div>

Is there a simple way to debounce a function call like in js’ Lodash? I want to notfiy an Observable at most once every 0.25s. This is useful for performance reasons in Makie. obs = Observable(1) notify(obs, debounce=…

---

## ["musl" Linux](https://discourse.julialang.org/t/musl-linux/111039)

<div class="topic-metadata">

**Author:** [@skypuppy](https://discourse.julialang.org/u/skypuppy)\
**Replies:** 4\
**Last updated:** [March 3, 2024, 2:18am UTC](https://discourse.julialang.org/t/musl-linux/111039 "2024-03-03T02:18:11Z")

</div>

What IS the “musl” linux? I don’t understand any of the verbiage I’ve seen about it. :frowning: Please type slowly as I’m not a quick learner anymore… Thanks, David

---

## [Test expression for instance of variable](https://discourse.julialang.org/t/test-expression-for-instance-of-variable/110740)

<div class="topic-metadata">

**Author:** [@brombo](https://discourse.julialang.org/u/brombo)\
**Replies:** 1\
**Last updated:** [March 3, 2024, 6:37am UTC](https://discourse.julialang.org/t/test-expression-for-instance-of-variable/110740 "2024-03-03T06:37:31Z")

</div>

Is there a way of testing a symbolic expression to see if it contains a given variable other than seeing if the derivative is zero. For example test (r\*sin(th))^2 to see if it contains th. Is there a way of looking at …

---

## [Is matrix multiplication multi-threaded for Double64?](https://discourse.julialang.org/t/is-matrix-multiplication-multi-threaded-for-double64/111081)

<div class="topic-metadata">

**Author:** [@photor](https://discourse.julialang.org/u/photor)\
**Replies:** 4\
**Last updated:** [March 3, 2024, 5:01am UTC](https://discourse.julialang.org/t/is-matrix-multiplication-multi-threaded-for-double64/111081 "2024-03-03T05:01:22Z")

</div>

I tested multiplication of two Double64 matrices and saw no effects on performance by using BLAS.set\_num\_threads(n).

---

## [Teaching class at University | Automatic Homework Grading](https://discourse.julialang.org/t/teaching-class-at-university-automatic-homework-grading/64974)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 13\
**Last updated:** [March 3, 2024, 3:55am UTC](https://discourse.julialang.org/t/teaching-class-at-university-automatic-homework-grading/64974 "2024-03-03T03:55:06Z")

</div>

Hey, we are planning to offer a university course about image processing in microscopy which includes some exercises. I was wondering whether anyone has some tips&tricks for automatic homework correction and what turne…

[Previous page](https://discourse.julialang.org/latest.md?page=466)

[Next page](https://discourse.julialang.org/latest.md?page=468)
