# Latest

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

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

**Page:** 114

---

## [Cheat sheet for Plots and Makie](https://discourse.julialang.org/t/cheat-sheet-for-plots-and-makie/132151)

<div class="topic-metadata">

**Author:** [@yolhan\_mannes](https://discourse.julialang.org/u/yolhan_mannes)\
**Replies:** 2\
**Last updated:** [September 7, 2025, 1:05pm UTC](https://discourse.julialang.org/t/cheat-sheet-for-plots-and-makie/132151 "2025-09-07T13:05:50Z")

</div>

Hello, do you think we could have something similar its really useful I think maybe in the docs directly ? It’s in GitHub - matplotlib/cheatsheets: Official Matplotlib cheat sheets

---

## [Simple FFT project performance](https://discourse.julialang.org/t/simple-fft-project-performance/132150)

<div class="topic-metadata">

**Author:** [@agascoig](https://discourse.julialang.org/u/agascoig)\
**Replies:** 2\
**Last updated:** [September 7, 2025, 6:20am UTC](https://discourse.julialang.org/t/simple-fft-project-performance/132150 "2025-09-07T06:20:05Z")

</div>

Hello! I am trying to do a simple FFT library just for fun, and not really for the highest performance. I am trying to write the code very transparently. If you want to look… (I can tell you that reverse engineerin…

---

## [\`log\` calling \`fma\_emulated\` on hardware that doesn't need it](https://discourse.julialang.org/t/log-calling-fma-emulated-on-hardware-that-doesnt-need-it/132149)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 2\
**Last updated:** [September 7, 2025, 1:43am UTC](https://discourse.julialang.org/t/log-calling-fma-emulated-on-hardware-that-doesnt-need-it/132149 "2025-09-07T01:43:47Z")

</div>

Hi, I was doing some profiling for an application and came across this for log It should be able to use the real FMA, not emulated. It’s a newish machine: julia\> versioninfo() Julia Version 1.11.6 Commit 9615af0f26…

---

## [Media / Numerical solving for 1D thermal modeling with Modelingtoolkit](https://discourse.julialang.org/t/media-numerical-solving-for-1d-thermal-modeling-with-modelingtoolkit/131985)

<div class="topic-metadata">

**Author:** [@junsin0106](https://discourse.julialang.org/u/junsin0106)\
**Replies:** 1\
**Last updated:** [September 6, 2025, 11:15pm UTC](https://discourse.julialang.org/t/media-numerical-solving-for-1d-thermal-modeling-with-modelingtoolkit/131985 "2025-09-06T23:15:16Z")

</div>

Hello everyone, I’m a master’s course student just starting with Julia and ModelingToolkit. I have a few questions for those experienced in modeling and simulating thermal systems (like Vapor Compression Cycles or ORCs)…

---

## [\`NeuralPDE.jl\`: How to impose Dirichlet boundary conditions as hard constraints?](https://discourse.julialang.org/t/neuralpde-jl-how-to-impose-dirichlet-boundary-conditions-as-hard-constraints/132007)

<div class="topic-metadata">

**Author:** [@Sigmund](https://discourse.julialang.org/u/Sigmund)\
**Replies:** 1\
**Last updated:** [September 6, 2025, 10:24pm UTC](https://discourse.julialang.org/t/neuralpde-jl-how-to-impose-dirichlet-boundary-conditions-as-hard-constraints/132007 "2025-09-06T22:24:28Z")

</div>

Im solving a coupled PDE-problem using NeuralPDE.jl, the boundary conditions are now set by the penalization method. Instead I want to apply these as hard boundary constraints, or as an output transformation, as it is d…

---

## [\[ANN\] - OperationsResearchModels.jl](https://discourse.julialang.org/t/ann-operationsresearchmodels-jl/129987)

<div class="topic-metadata">

**Author:** [@jbytecode](https://discourse.julialang.org/u/jbytecode)\
**Replies:** 5\
**Last updated:** [September 6, 2025, 9:23pm UTC](https://discourse.julialang.org/t/ann-operationsresearchmodels-jl/129987 "2025-09-06T21:23:13Z")

</div>

Hi everyone, I’m happy to announce that my Julia package, OperationsResearchModels.jl, is now in a good state! The package includes, but isn’t limited to: the linear transportation problem, the assignment problem, th…

---

## [Quickest way to build solution sensitivity information from Ipopt (sIpopt)](https://discourse.julialang.org/t/quickest-way-to-build-solution-sensitivity-information-from-ipopt-sipopt/132144)

<div class="topic-metadata">

**Author:** [@chensunn](https://discourse.julialang.org/u/chensunn)\
**Replies:** 1\
**Last updated:** [September 6, 2025, 7:31pm UTC](https://discourse.julialang.org/t/quickest-way-to-build-solution-sensitivity-information-from-ipopt-sipopt/132144 "2025-09-06T19:31:36Z")

</div>

I’m trying to use JuMP and Ipopt to get sensitivity information of the optimal solution to certain parameters. This is functionality that already exists in sIpopt (doi:10.1007/s12532-012-0043-2), but I don’t believe that…

---

## [Undefs.jl: Convenience and Experiment](https://discourse.julialang.org/t/undefs-jl-convenience-and-experiment/93451)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 12\
**Last updated:** [September 6, 2025, 12:25pm UTC](https://discourse.julialang.org/t/undefs-jl-convenience-and-experiment/93451 "2025-09-06T12:25:55Z")

</div>

Undefs.jl I created a registered package called Undefs.jl that exports three names: undefs(A = Array, T = Float64, dims) = A{T}(undef, dims): a convenience method similar to ones, zeros, trues, and falses. undef!(array…

---

## [Best practices for modeling systems that evolve over time — mutability, patterns, and performance?](https://discourse.julialang.org/t/best-practices-for-modeling-systems-that-evolve-over-time-mutability-patterns-and-performance/128626)

<div class="topic-metadata">

**Author:** [@stevenhughes](https://discourse.julialang.org/u/stevenhughes)\
**Replies:** 26\
**Last updated:** [September 6, 2025, 12:06pm UTC](https://discourse.julialang.org/t/best-practices-for-modeling-systems-that-evolve-over-time-mutability-patterns-and-performance/128626 "2025-09-06T12:06:54Z")

</div>

Hi everyone — I’m new to Julia. I’ve known about the language for years but only recently started using it seriously. I’m prototyping a space systems modeling tool — something that propagates orbits and performs optimiz…

---

## [Type stable Base.return\_types - is it possible?](https://discourse.julialang.org/t/type-stable-base-return-types-is-it-possible/131992)

<div class="topic-metadata">

**Author:** [@minetest2048](https://discourse.julialang.org/u/minetest2048)\
**Replies:** 21\
**Last updated:** [September 6, 2025, 8:34am UTC](https://discourse.julialang.org/t/type-stable-base-return-types-is-it-possible/131992 "2025-09-06T08:34:40Z")

</div>

Lets say I have this rust inspired Result type: using Moshi.Data: @data using Moshi.Match: @match @data Result{OkT, ErrT} begin Ok(OkT) Err(ErrT) end #insert pretty printer here Unlike Julia built in Union t…

---

## [Refactoring support for inlining variables?](https://discourse.julialang.org/t/refactoring-support-for-inlining-variables/132125)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 1\
**Last updated:** [September 6, 2025, 1:11am UTC](https://discourse.julialang.org/t/refactoring-support-for-inlining-variables/132125 "2025-09-06T01:11:06Z")

</div>

Are there any convenient solutions for an “inline this variable” refactoring, in VS Code or otherwise? It’s something I used to find really convenient in other IDEs like IntelliJ (for other languages like Python or Java…

---

## [Quadratic objective function in JuMP.jl and Xpress.jl](https://discourse.julialang.org/t/quadratic-objective-function-in-jump-jl-and-xpress-jl/132117)

<div class="topic-metadata">

**Author:** [@Diego](https://discourse.julialang.org/u/Diego)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 10:19pm UTC](https://discourse.julialang.org/t/quadratic-objective-function-in-jump-jl-and-xpress-jl/132117 "2025-09-05T22:19:35Z")

</div>

Is there a way that the Xpress.jl wrapper would anytime accept quadratic objective functions (e.g. using “mmquad”)? OF := x \* y Thank you! See: Quadratic objective function · Issue #290 · jump-dev/Xpress.jl

---

## [IRHash: an IR-level compilation cache for LLVM](https://discourse.julialang.org/t/irhash-an-ir-level-compilation-cache-for-llvm/132122)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 5:48pm UTC](https://discourse.julialang.org/t/irhash-an-ir-level-compilation-cache-for-llvm/132122 "2025-09-05T17:48:31Z")

</div>

There was recently a presentation about IRHash, an IR-level compiler cache for LLVM. The authors compared IRHash with Ccache and cHash across 16 open-source projects written in C, C++, Fortran, and Haskell. They found th…

---

## [How to restrict a matrix to be positive definite](https://discourse.julialang.org/t/how-to-restrict-a-matrix-to-be-positive-definite/126318)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 18\
**Last updated:** [September 5, 2025, 4:38pm UTC](https://discourse.julialang.org/t/how-to-restrict-a-matrix-to-be-positive-definite/126318 "2025-09-05T16:38:59Z")

</div>

I am estimating a model. In the process of estimation I have to convert a fixed independent and normally distributed vector to a correlated multivariate normal vector. The way I am doing that is using this: \\bf{x} \\sim…

---

## [\[ANN\] EnforcedTypeSignatureCallables.jl](https://discourse.julialang.org/t/ann-enforcedtypesignaturecallables-jl/117280)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 10\
**Last updated:** [September 5, 2025, 12:59pm UTC](https://discourse.julialang.org/t/ann-enforcedtypesignaturecallables-jl/117280 "2025-09-05T12:59:06Z")

</div>

The EnforcedTypeSignatureCallables package is being registered: New package: EnforcedTypeSignatureCallables v1.0.0 by JuliaRegistrator · Pull Request #111416 · JuliaRegistries/General · GitHub Once it’s registered, this…

---

## [Julia\_setup() not working with R 4.5.1 and Julia 1.11.6](https://discourse.julialang.org/t/julia-setup-not-working-with-r-4-5-1-and-julia-1-11-6/132112)

<div class="topic-metadata">

**Author:** [@RobertDorazio](https://discourse.julialang.org/u/RobertDorazio)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 11:56am UTC](https://discourse.julialang.org/t/julia-setup-not-working-with-r-4-5-1-and-julia-1-11-6/132112 "2025-09-05T11:56:09Z")

</div>

My operating system is Ubuntu 24.04. To ensure I had the most recent version of the R package “JuliaCall”, I installed “JuliaCall” from github as follows: devtools::install\_github(“JuliaInterop/JuliaCall”) The proble…

---

## [Strange behaviour of addprocs on Julia 1.12-rc1](https://discourse.julialang.org/t/strange-behaviour-of-addprocs-on-julia-1-12-rc1/132094)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [September 5, 2025, 6:22am UTC](https://discourse.julialang.org/t/strange-behaviour-of-addprocs-on-julia-1-12-rc1/132094 "2025-09-05T06:22:45Z")

</div>

I used to use this call to add a process: using DistributedNext addprocs(1) I use the new process for plotting based on PyPlot, which normally works fine. I use a separate process for plotting because PyPlot doesn’t li…

---

## [VSCodeServer problem](https://discourse.julialang.org/t/vscodeserver-problem/131983)

<div class="topic-metadata">

**Author:** [@rcomm](https://discourse.julialang.org/u/rcomm)\
**Replies:** 1\
**Last updated:** [September 5, 2025, 2:33am UTC](https://discourse.julialang.org/t/vscodeserver-problem/131983 "2025-09-05T02:33:10Z")

</div>

I am a new user struggling to make Julia work as intended. I have installed Julia and VS Code on to my Win10 laptop. I found winget won’t work - message is that it won’t run, although I can find it at multiple places o…

---

## [Is this generated function for struct2tuple safe to use?](https://discourse.julialang.org/t/is-this-generated-function-for-struct2tuple-safe-to-use/132086)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 6\
**Last updated:** [September 4, 2025, 10:42pm UTC](https://discourse.julialang.org/t/is-this-generated-function-for-struct2tuple-safe-to-use/132086 "2025-09-04T22:42:56Z")

</div>

I’m not really sure if this function could be used safely when I have a struct with mutable fields in it: @generated function struct2tuple(x::T) where T n = fieldcount(T) exprs = \[:(getfield(x, $(i))) for i in 1…

---

## [Julia & SciML Medical Imaging Position at UC Irvine](https://discourse.julialang.org/t/julia-sciml-medical-imaging-position-at-uc-irvine/132113)

<div class="topic-metadata">

**Author:** [@Dale\_James\_Black](https://discourse.julialang.org/u/Dale_James_Black)\
**Replies:** 0\
**Last updated:** [September 4, 2025, 10:41pm UTC](https://discourse.julialang.org/t/julia-sciml-medical-imaging-position-at-uc-irvine/132113 "2025-09-04T22:41:46Z")

</div>

My medical imaging lab at UC Irvine is hiring a Research Specialist, and we are heavily invested in Julia. We’re doing some exciting, not-yet-public work at the intersection of SciML and CT imaging. We’re looking for so…

---

## [Bad interaction between IJulia and PythonCall (CondaPkg)?](https://discourse.julialang.org/t/bad-interaction-between-ijulia-and-pythoncall-condapkg/132109)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 2\
**Last updated:** [September 4, 2025, 9:26pm UTC](https://discourse.julialang.org/t/bad-interaction-between-ijulia-and-pythoncall-condapkg/132109 "2025-09-04T21:26:38Z")

</div>

IJulia in global environment A project environment that depends on PythonCall (and not IJulia) Because the limitation of IJulia, at the beginning of a Jupyter notebook, I have to do: using Pkg Pkg.activate(\<pkg dir\>) …

---

## [Metaprogramming | String to Symbolics Num; eval(Meta.parse(. . .))](https://discourse.julialang.org/t/metaprogramming-string-to-symbolics-num-eval-meta-parse/132078)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 3\
**Last updated:** [September 4, 2025, 7:32pm UTC](https://discourse.julialang.org/t/metaprogramming-string-to-symbolics-num-eval-meta-parse/132078 "2025-09-04T19:32:36Z")

</div>

Hello, Context. I am using SymPy.solveset(. . .) within a function to solve an equation. I first convert the Symbolics Num equation to a string, pass it to the function, and within the function use SymPy.sympy.parse\_ex…

---

## [Limit number of threads in julia -t auto](https://discourse.julialang.org/t/limit-number-of-threads-in-julia-t-auto/132099)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [September 4, 2025, 3:51pm UTC](https://discourse.julialang.org/t/limit-number-of-threads-in-julia-t-auto/132099 "2025-09-04T15:51:23Z")

</div>

Is there a way to start a (non-interactive) Julia process that automatically determines the sensible automatic number for theads but if that is higher than some threshold, limits it to the latter? Eg on a laptop with 8 …

---

## [Root finding for (possibly) complex valued functions with Nonlinearsolve.jl](https://discourse.julialang.org/t/root-finding-for-possibly-complex-valued-functions-with-nonlinearsolve-jl/97784)

<div class="topic-metadata">

**Author:** [@theplatters](https://discourse.julialang.org/u/theplatters)\
**Replies:** 5\
**Last updated:** [September 4, 2025, 3:49pm UTC](https://discourse.julialang.org/t/root-finding-for-possibly-complex-valued-functions-with-nonlinearsolve-jl/97784 "2025-09-04T15:49:08Z")

</div>

Hello. I need to translate some matlab code into Julia, where i need to find the roots in X of the function: function problem(X :: AbstractVector{T}, A, β, Ω, α, ε, θ, σ,L) where T N = length(α) p = @view X\[1:…

---

## [Test.jl seems to have problems catching ArgParse.jl's exceptions](https://discourse.julialang.org/t/test-jl-seems-to-have-problems-catching-argparse-jls-exceptions/131795)

<div class="topic-metadata">

**Author:** [@pkalaczynski](https://discourse.julialang.org/u/pkalaczynski)\
**Replies:** 6\
**Last updated:** [September 4, 2025, 3:35pm UTC](https://discourse.julialang.org/t/test-jl-seems-to-have-problems-catching-argparse-jls-exceptions/131795 "2025-09-04T15:35:36Z")

</div>

Hi, I’ve been implementing unit tests for my project, and generally I’m very happy with Test.jl, however I stumbled across a weird problem when trying to do tests for argument parsing. I handle it using ArgParse.jl and …

---

## [Julia GPU FSI: Updating p0, v0, a0, t0 Each Step Without Non-isbits (Core.Box) Error](https://discourse.julialang.org/t/julia-gpu-fsi-updating-p0-v0-a0-t0-each-step-without-non-isbits-core-box-error/132090)

<div class="topic-metadata">

**Author:** [@Mr.Fool](https://discourse.julialang.org/u/Mr.Fool)\
**Replies:** 0\
**Last updated:** [September 4, 2025, 7:05am UTC](https://discourse.julialang.org/t/julia-gpu-fsi-updating-p0-v0-a0-t0-each-step-without-non-isbits-core-box-error/132090 "2025-09-04T07:05:42Z")

</div>

using WaterLily using Plots; gr() using StaticArrays using BenchmarkTools using CSV, DataFrames using Printf using CUDA function TwoCylWIV(Ur,mem=Array) Re = 150; U = 1 p = 6; L = 2^p nl = 12L; ml = 8L # signed …

---

## [1D Heat exchanger model with Dyad](https://discourse.julialang.org/t/1d-heat-exchanger-model-with-dyad/132009)

<div class="topic-metadata">

**Author:** [@junsin0106](https://discourse.julialang.org/u/junsin0106)\
**Replies:** 6\
**Last updated:** [September 4, 2025, 1:41am UTC](https://discourse.julialang.org/t/1d-heat-exchanger-model-with-dyad/132009 "2025-09-04T01:41:20Z")

</div>

Hello, I’m looking for examples of building a dynamic heat exchanger model in Dyad. I have seen some examples with TwoPort fluid models where mdot is the flow variable. My goal is to create a custom connector that inclu…

---

## [Sensitivity analysis in simulation phase of SDDP.jl](https://discourse.julialang.org/t/sensitivity-analysis-in-simulation-phase-of-sddp-jl/132085)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 1\
**Last updated:** [September 4, 2025, 1:06am UTC](https://discourse.julialang.org/t/sensitivity-analysis-in-simulation-phase-of-sddp-jl/132085 "2025-09-04T01:06:46Z")

</div>

Hello, I trained a hydropower model using SDDP.jl with a given set of parameters. To check the robustness of the trained policy, I would now like to run simulations where one of the parameters is changed — for example, …

---

## [Best practices for large model composition in ModelingToolkit.jl](https://discourse.julialang.org/t/best-practices-for-large-model-composition-in-modelingtoolkit-jl/131680)

<div class="topic-metadata">

**Author:** [@mxp](https://discourse.julialang.org/u/mxp)\
**Replies:** 7\
**Last updated:** [September 3, 2025, 11:25pm UTC](https://discourse.julialang.org/t/best-practices-for-large-model-composition-in-modelingtoolkit-jl/131680 "2025-09-03T23:25:50Z")

</div>

I’m building fairly large models with ModelingToolkit.jl. While I think the library is very cool, I’m stumbling through how to set up large models effectively, both from a numerical perspective and from a developer persp…

---

## [New LLVM error introduced in Enzyme v0.13.69](https://discourse.julialang.org/t/new-llvm-error-introduced-in-enzyme-v0-13-69/132080)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 3\
**Last updated:** [September 3, 2025, 9:29pm UTC](https://discourse.julialang.org/t/new-llvm-error-introduced-in-enzyme-v0-13-69/132080 "2025-09-03T21:29:25Z")

</div>

I recently updated my Enzyme package version from 0.13.68 (fully working) and incurred a new kind of bug I haven’t encountered before. I verified this bug exists in all versions of Enzyme since 0.13.69 inclusive. I am no…

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

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