# Latest

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

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

**Page:** 133

---

## [3D Point Cloud and Geometric Modeling Engineer for Plant Sciences](https://discourse.julialang.org/t/3d-point-cloud-and-geometric-modeling-engineer-for-plant-sciences/129114)

<div class="topic-metadata">

**Author:** [@rvezy](https://discourse.julialang.org/u/rvezy)\
**Replies:** 2\
**Last updated:** [July 23, 2025, 8:19am UTC](https://discourse.julialang.org/t/3d-point-cloud-and-geometric-modeling-engineer-for-plant-sciences/129114 "2025-07-23T08:19:56Z")

</div>

Our multidisciplinary team at the AMAP lab in Montpellier, France, is looking for a research engineer (permanent position) to develop cutting-edge algorithms for processing 3D point cloud data from terrestrial and aerial…

---

## [How to parallelize \`lu!\` factorization?](https://discourse.julialang.org/t/how-to-parallelize-lu-factorization/130933)

<div class="topic-metadata">

**Author:** [@Leon\_Lampret](https://discourse.julialang.org/u/Leon_Lampret)\
**Replies:** 15\
**Last updated:** [July 22, 2025, 8:40pm UTC](https://discourse.julialang.org/t/how-to-parallelize-lu-factorization/130933 "2025-07-22T20:40:05Z")

</div>

I have a generic implementation of the LU factorization of a rectangular matrix: function \_swap\_col!(X, j1, j2) @inbounds begin m=size(X,1); (j1==j2 || m\<1) && return nothing; @simd for i=1:m…

---

## [How to find which code is generating a warning?](https://discourse.julialang.org/t/how-to-find-which-code-is-generating-a-warning/130541)

<div class="topic-metadata">

**Author:** [@orebas](https://discourse.julialang.org/u/orebas)\
**Replies:** 10\
**Last updated:** [July 22, 2025, 7:27pm UTC](https://discourse.julialang.org/t/how-to-find-which-code-is-generating-a-warning/130541 "2025-07-22T19:27:16Z")

</div>

Some code in my package is generating the below warning. (Actually I think it’s probably 10-20 places). Presumably this is how I’m supposed to learn that I have to update my code. How do I get a list of the problemati…

---

## [Memory leaks from compiled functions: Solved](https://discourse.julialang.org/t/memory-leaks-from-compiled-functions-solved/130886)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 18\
**Last updated:** [July 22, 2025, 4:45pm UTC](https://discourse.julialang.org/t/memory-leaks-from-compiled-functions-solved/130886 "2025-07-22T16:45:06Z")

</div>

I have been told about one known issue with Julia, compiled function doesn’t get garbage collected. So since I wanted to dynamically create functions for objects in my game engine, it was a big problem and I had to solve…

---

## [How best to preallocate memory for repeated use](https://discourse.julialang.org/t/how-best-to-preallocate-memory-for-repeated-use/130814)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 5\
**Last updated:** [July 22, 2025, 4:21pm UTC](https://discourse.julialang.org/t/how-best-to-preallocate-memory-for-repeated-use/130814 "2025-07-22T16:21:41Z")

</div>

Hello, I’m trying to reduce memory allocations. The pattern is simple: I need to redo a similar problem that requires a fair bit of memory many times. So I’m preallocating sufficient memory for the largest problem and…

---

## [Define struct with two fields that have the same abstract type but different specialization](https://discourse.julialang.org/t/define-struct-with-two-fields-that-have-the-same-abstract-type-but-different-specialization/130945)

<div class="topic-metadata">

**Author:** [@zsoerenm](https://discourse.julialang.org/u/zsoerenm)\
**Replies:** 4\
**Last updated:** [July 22, 2025, 3:30pm UTC](https://discourse.julialang.org/t/define-struct-with-two-fields-that-have-the-same-abstract-type-but-different-specialization/130945 "2025-07-22T15:30:59Z")

</div>

Let’s say I want to have a struct with two fields that both are arrays. I want both array types to be the same e.g. Array, Array or CuArray, CuArray But the specialization should be different like the first one holds f…

---

## [ANN: ScopedSettings - ScopedValues with malleable global values](https://discourse.julialang.org/t/ann-scopedsettings-scopedvalues-with-malleable-global-values/130946)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 0\
**Last updated:** [July 22, 2025, 3:35pm UTC](https://discourse.julialang.org/t/ann-scopedsettings-scopedvalues-with-malleable-global-values/130946 "2025-07-22T15:35:58Z")

</div>

I recently registered ScopedSettings. Thanks to @vchuravy we now have ScopedValues (natively as Base.ScopedValues since Julia v.11 and via the fallback package ScopedValues for earlier Julia versions). ScopedValues are…

---

## [Julia vs NumPy broadcasting](https://discourse.julialang.org/t/julia-vs-numpy-broadcasting/130908)

<div class="topic-metadata">

**Author:** [@Donald](https://discourse.julialang.org/u/Donald)\
**Replies:** 23\
**Last updated:** [July 22, 2025, 2:51pm UTC](https://discourse.julialang.org/t/julia-vs-numpy-broadcasting/130908 "2025-07-22T14:51:54Z")

</div>

I’m trying to compute the step response of a linear system with four degrees of freedom in Julia. This can be done reasonably efficiently in Python using NumPy broadcasting: import numpy as np def step\_analytical(A, B…

---

## [Nothing values in constraints](https://discourse.julialang.org/t/nothing-values-in-constraints/130937)

<div class="topic-metadata">

**Author:** [@Henk\_de\_Man](https://discourse.julialang.org/u/Henk_de_Man)\
**Replies:** 4\
**Last updated:** [July 22, 2025, 2:28pm UTC](https://discourse.julialang.org/t/nothing-values-in-constraints/130937 "2025-07-22T14:28:51Z")

</div>

How to handle variables that have “null” value, in constraint expressions. For example in Excel when we have an expression a\*b + c, and b = empty, then Excel will just return c. How can we handle such expressions in cons…

---

## [Macro utilities for working with function definitions in 2025](https://discourse.julialang.org/t/macro-utilities-for-working-with-function-definitions-in-2025/130687)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 17\
**Last updated:** [July 22, 2025, 2:20pm UTC](https://discourse.julialang.org/t/macro-utilities-for-working-with-function-definitions-in-2025/130687 "2025-07-22T14:20:53Z")

</div>

What are the recommended tools these days for working with function definition expressions in macros? I’m aware of ExprTools.jl and MacroTools.jl, but I don’t know how maintained they are and whether those packages or ot…

---

## [3D volume plot for spherical coordinate grid points](https://discourse.julialang.org/t/3d-volume-plot-for-spherical-coordinate-grid-points/129668)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 31\
**Last updated:** [July 7, 2025, 12:50pm UTC](https://discourse.julialang.org/t/3d-volume-plot-for-spherical-coordinate-grid-points/129668 "2025-07-07T12:50:47Z")

</div>

How to get volume plot for the following spherical coordinate positions? :child: I have a lot of blocks each having such r, θ and ϕ spherical coordinate position vectors and i want to create 3D volume plot for each bloc…

---

## [DiffEqGPU Trajectory Failure Handling and Heterogeneous Trajectories](https://discourse.julialang.org/t/diffeqgpu-trajectory-failure-handling-and-heterogeneous-trajectories/129962)

<div class="topic-metadata">

**Author:** [@tosm01](https://discourse.julialang.org/u/tosm01)\
**Replies:** 4\
**Last updated:** [July 22, 2025, 12:06pm UTC](https://discourse.julialang.org/t/diffeqgpu-trajectory-failure-handling-and-heterogeneous-trajectories/129962 "2025-07-22T12:06:50Z")

</div>

Hi, I have a general question about the suitability of using GPUs for the kind of problem I’m working on. So far, I’ve had good success using DiffEqGPU for parameter sweeps, specifically in cases where the parameters d…

---

## [Getting results until the point of nonconvergence in DAE system](https://discourse.julialang.org/t/getting-results-until-the-point-of-nonconvergence-in-dae-system/130897)

<div class="topic-metadata">

**Author:** [@total](https://discourse.julialang.org/u/total)\
**Replies:** 7\
**Last updated:** [July 22, 2025, 10:21am UTC](https://discourse.julialang.org/t/getting-results-until-the-point-of-nonconvergence-in-dae-system/130897 "2025-07-22T10:21:12Z")

</div>

Hello, I’m trying to simulate a DAE system with Sundials IDA solver. I implemented my controlvector with callbacks and it works just fine. However, depending on the controls I run into infeasible regions and the solver…

---

## [Quick tutorial on package extensions](https://discourse.julialang.org/t/quick-tutorial-on-package-extensions/130923)

<div class="topic-metadata">

**Author:** [@erikedin](https://discourse.julialang.org/u/erikedin)\
**Replies:** 1\
**Last updated:** [July 22, 2025, 8:21am UTC](https://discourse.julialang.org/t/quick-tutorial-on-package-extensions/130923 "2025-07-22T08:21:06Z")

</div>

Hello! I was reading the documentation on package extensions and felt that I needed some more detailed instructions. I wrote this tutorial based on what I learned (only today, so this is surely not an exhaustive tutorial…

---

## [Fixed-structure CHOLMOD with in-place \`set\_nonzeros!\`](https://discourse.julialang.org/t/fixed-structure-cholmod-with-in-place-set-nonzeros/130922)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 3\
**Last updated:** [July 22, 2025, 3:03am UTC](https://discourse.julialang.org/t/fixed-structure-cholmod-with-in-place-set-nonzeros/130922 "2025-07-22T03:03:22Z")

</div>

I have a large sparse matrix. Its nonzeros change over the course of the problem, but its structure doesn’t. I want to do repeated in-place Cholesky factorizations, re-using the symbolic factorization and modifying the n…

---

## [Tetgen jll: Update pretty please](https://discourse.julialang.org/t/tetgen-jll-update-pretty-please/130925)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [July 22, 2025, 1:44am UTC](https://discourse.julialang.org/t/tetgen-jll-update-pretty-please/130925 "2025-07-22T01:44:33Z")

</div>

Whoever is responsible for Tetgen jll: It is stuck on 1.5.3 and that means it probably has serious bugs that have been fixed in 1.6.0. Would it be possible to update this? Also: Is it possible to update the jll manually…

---

## [Signal Comparison Block](https://discourse.julialang.org/t/signal-comparison-block/130905)

<div class="topic-metadata">

**Author:** [@madtorresga](https://discourse.julialang.org/u/madtorresga)\
**Replies:** 2\
**Last updated:** [July 21, 2025, 9:20pm UTC](https://discourse.julialang.org/t/signal-comparison-block/130905 "2025-07-21T21:20:04Z")

</div>

Hello, I’m trying to compare 3 signals from the cells array like this: ... @equations begin # Series connect all cells \[connect(cells\[i\].n, cells\[i+1\].p) for i in 1:length(cells)-1\] v\_max ~ ma…

---

## [Symbolics.jl - Retrieving Differential Variables](https://discourse.julialang.org/t/symbolics-jl-retrieving-differential-variables/130891)

<div class="topic-metadata">

**Author:** [@Gray\_GALLANT](https://discourse.julialang.org/u/Gray_GALLANT)\
**Replies:** 2\
**Last updated:** [July 21, 2025, 8:18pm UTC](https://discourse.julialang.org/t/symbolics-jl-retrieving-differential-variables/130891 "2025-07-21T20:18:07Z")

</div>

Is there a way to retrieve differential variables from an expression using Symbolics.jl? For example, if I use get\_variables on Differential(t)(x(t)) it only returns x(t), but I need to get the differential part as well …

---

## [Pluto Notebook namespace goes stale and packages go missing](https://discourse.julialang.org/t/pluto-notebook-namespace-goes-stale-and-packages-go-missing/130903)

<div class="topic-metadata">

**Author:** [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Replies:** 2\
**Last updated:** [July 21, 2025, 8:15pm UTC](https://discourse.julialang.org/t/pluto-notebook-namespace-goes-stale-and-packages-go-missing/130903 "2025-07-21T20:15:38Z")

</div>

I have a difficult bug that only appears after some amount of time has passed. A long running notebook is left open and working for several days everything is fine. Then at some point I open my laptop and most, (not all)…

---

## [KKT condition not satisfied in DCOPF](https://discourse.julialang.org/t/kkt-condition-not-satisfied-in-dcopf/130902)

<div class="topic-metadata">

**Author:** [@simoni0](https://discourse.julialang.org/u/simoni0)\
**Replies:** 4\
**Last updated:** [July 21, 2025, 6:33pm UTC](https://discourse.julialang.org/t/kkt-condition-not-satisfied-in-dcopf/130902 "2025-07-21T18:33:41Z")

</div>

I wanted to evaluate whether the KKT condition \\lambda\_i - \\lambda\_j = \\mu^{+}\_{ij} - \\mu^{-}\_{ij} holds for standard DC-OPF. I made a small test on the 5-bus case. using PowerModels using GLPK result = PowerModels.sol…

---

## [How to get rid of noise in phase isosurface plots? Very short MWE included](https://discourse.julialang.org/t/how-to-get-rid-of-noise-in-phase-isosurface-plots-very-short-mwe-included/130890)

<div class="topic-metadata">

**Author:** [@Deceneu](https://discourse.julialang.org/u/Deceneu)\
**Replies:** 5\
**Last updated:** [July 21, 2025, 4:24pm UTC](https://discourse.julialang.org/t/how-to-get-rid-of-noise-in-phase-isosurface-plots-very-short-mwe-included/130890 "2025-07-21T16:24:06Z")

</div>

To keep it brief, I want to plot complex phase (angle) of a complex field. It seemed like Makie.jl’s contour or volume, should do the trick, but I get very noisy results for some reason? using GLMakie ph = \[(r = hypot(…

---

## [why doesn't \`@.\` always broadcast?](https://discourse.julialang.org/t/why-doesnt-always-broadcast/130892)

<div class="topic-metadata">

**Author:** [@rokke](https://discourse.julialang.org/u/rokke)\
**Replies:** 12\
**Last updated:** [July 21, 2025, 3:00pm UTC](https://discourse.julialang.org/t/why-doesnt-always-broadcast/130892 "2025-07-21T15:00:06Z")

</div>

some examples: julia\> @. x-\>x\[1\] #1 (generic function with 1 method) julia\> ans( \[\[1,2,3\],\[9,8,7\]\] ) 3-element Vector{Int64}: 1 2 3 julia\> @. x-\>getindex(x,1) #3 (generic function with 1 method) julia\> ans( \[\[1,2,…

---

## [Julia run code problems](https://discourse.julialang.org/t/julia-run-code-problems/130899)

<div class="topic-metadata">

**Author:** [@AndoStat](https://discourse.julialang.org/u/AndoStat)\
**Replies:** 2\
**Last updated:** [July 21, 2025, 1:07pm UTC](https://discourse.julialang.org/t/julia-run-code-problems/130899 "2025-07-21T13:07:55Z")

</div>

I try to use VS Code with Julia language support in it and run nuts unto errors and issues, code cant be run due ongoing problems with Julia Language Server which VS Code try to start and then crashes flawlessly, somethi…

---

## [Control systems, pid, and high-order transfer functions](https://discourse.julialang.org/t/control-systems-pid-and-high-order-transfer-functions/130837)

<div class="topic-metadata">

**Author:** [@romain-chiap](https://discourse.julialang.org/u/romain-chiap)\
**Replies:** 7\
**Last updated:** [July 21, 2025, 10:26am UTC](https://discourse.julialang.org/t/control-systems-pid-and-high-order-transfer-functions/130837 "2025-07-21T10:26:06Z")

</div>

Hello, It’s specific to control systems and this is my first post, so I still decided to post under “new to Julia” as I might be asking beginner questions. I’m making a 1-dimension model of the PX4 cascaded control loo…

---

## [Set default Makie theme](https://discourse.julialang.org/t/set-default-makie-theme/130893)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 2\
**Last updated:** [July 21, 2025, 7:09am UTC](https://discourse.julialang.org/t/set-default-makie-theme/130893 "2025-07-21T07:09:09Z")

</div>

I would like to set a default Makie theme for all my plots, but not actually load Makie in every session (because that takes a while). Just whenever I do load Makie, I want it to use my theme. Is there a way to do that?

---

## [Generated function with array of expressions](https://discourse.julialang.org/t/generated-function-with-array-of-expressions/129122)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 3\
**Last updated:** [May 23, 2025, 2:19pm UTC](https://discourse.julialang.org/t/generated-function-with-array-of-expressions/129122 "2025-05-23T14:19:52Z")

</div>

Hi! I want to wake generated function like this: d = Dict(:a =\> :(y+1), :b =\> :(y+1)) func(y) = NamedTuple{eval(Expr(:tuple, :(keys(d)...)))}((eval(x) for x in values(d))) or like this: d = Dict(:a =\> :(y+1), :n =\> :…

---

## [Very high memory use with DelayDifferentialEquations](https://discourse.julialang.org/t/very-high-memory-use-with-delaydifferentialequations/99862)

<div class="topic-metadata">

**Author:** [@jarias9](https://discourse.julialang.org/u/jarias9)\
**Replies:** 12\
**Last updated:** [July 21, 2025, 6:05am UTC](https://discourse.julialang.org/t/very-high-memory-use-with-delaydifferentialequations/99862 "2025-07-21T06:05:22Z")

</div>

I have a large PDE system that I originally was solving with an explicit ODE solver via ODEProblem with DiffEq.jl. I have added a component to that system that requires the time derivative info so I changed it to a DDE a…

---

## [Tyler in VSCode Notebook Prints Two Figures with 1 Call](https://discourse.julialang.org/t/tyler-in-vscode-notebook-prints-two-figures-with-1-call/130823)

<div class="topic-metadata">

**Author:** [@elipivo](https://discourse.julialang.org/u/elipivo)\
**Replies:** 4\
**Last updated:** [July 20, 2025, 6:32pm UTC](https://discourse.julialang.org/t/tyler-in-vscode-notebook-prints-two-figures-with-1-call/130823 "2025-07-20T18:32:05Z")

</div>

I am using Tyler with CairoMakie in a Julia notebook in VSCode. I’m curious if there is a way to get Tyler to only display the figure with the tiles, not the first empty one.

---

## [Makie max pan zoom](https://discourse.julialang.org/t/makie-max-pan-zoom/114105)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 3\
**Last updated:** [July 20, 2025, 6:31pm UTC](https://discourse.julialang.org/t/makie-max-pan-zoom/114105 "2025-07-20T18:31:13Z")

</div>

i’d like to put a maximum on how much a user can pan or zoom out on a plot. but i could not find a function in the makie docs to set an upper bound on the axis limits. so i hacked it like this: using GLMakie f,a,s = s…

---

## [\[ANN\] Rembus.jl 1.0](https://discourse.julialang.org/t/ann-rembus-jl-1-0/130882)

<div class="topic-metadata">

**Author:** [@attdona](https://discourse.julialang.org/u/attdona)\
**Replies:** 0\
**Last updated:** [July 20, 2025, 5:45pm UTC](https://discourse.julialang.org/t/ann-rembus-jl-1-0/130882 "2025-07-20T17:45:37Z")

</div>

The Rembus 1.0.0 version retains much of the original API while taking a significant step forward in the spirit of providing a simple yet powerful way to build distributed applications. What Makes Rembus Unique? Rembus …

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

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