# Latest

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

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

**Page:** 207

---

## [Dynamic plotting of NonlinearSolve controlled by sliders in Makie](https://discourse.julialang.org/t/dynamic-plotting-of-nonlinearsolve-controlled-by-sliders-in-makie/126737)

<div class="topic-metadata">

**Author:** [@Mehdi\_MABED](https://discourse.julialang.org/u/Mehdi_MABED)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 12:12am UTC](https://discourse.julialang.org/t/dynamic-plotting-of-nonlinearsolve-controlled-by-sliders-in-makie/126737 "2025-03-10T00:12:07Z")

</div>

I want to solve a non linear problem which depend on 3 variables, each one of them being controlled by a slider in Makie and I struggle with that. My non linear function takes an input number (the x coordinate) with 3 p…

---

## [Symbolics, evaluate expression, but not all the way?](https://discourse.julialang.org/t/symbolics-evaluate-expression-but-not-all-the-way/126736)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 1\
**Last updated:** [March 10, 2025, 12:11am UTC](https://discourse.julialang.org/t/symbolics-evaluate-expression-but-not-all-the-way/126736 "2025-03-10T00:11:07Z")

</div>

I have an expression of the form using Symbolics @variables x V1 = cosh(x+1) + sinh(x + 1) V2 = sinh(x - 1) Somehow I would like to evaluate this expressions at 0, but I would like for it too look like V1 = cosh(1) + …

---

## [Example of a hybrid Python-Julia package, based on Julia code](https://discourse.julialang.org/t/example-of-a-hybrid-python-julia-package-based-on-julia-code/126720)

<div class="topic-metadata">

**Author:** [@cdsousa](https://discourse.julialang.org/u/cdsousa)\
**Replies:** 5\
**Last updated:** [March 9, 2025, 11:21pm UTC](https://discourse.julialang.org/t/example-of-a-hybrid-python-julia-package-based-on-julia-code/126720 "2025-03-09T23:21:55Z")

</div>

How cursed can this be? :sweat\_smile:

---

## [JuMP memory allocation](https://discourse.julialang.org/t/jump-memory-allocation/126731)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 2\
**Last updated:** [March 9, 2025, 11:15pm UTC](https://discourse.julialang.org/t/jump-memory-allocation/126731 "2025-03-09T23:15:51Z")

</div>

Hi! :grinning: I am starting to use JuMP.jl to implement an optimization process on an image (size 266 x 353 pixels). I implement the problem like that to find L₁, L₂ values on each pixel: model = Model(Ipopt.Optimizer…

---

## [RxInfer.jl beginner question re; UndefRefError](https://discourse.julialang.org/t/rxinfer-jl-beginner-question-re-undefreferror/126660)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 6\
**Last updated:** [March 9, 2025, 8:29pm UTC](https://discourse.julialang.org/t/rxinfer-jl-beginner-question-re-undefreferror/126660 "2025-03-09T20:29:21Z")

</div>

Hi all, I just started with RxInfer.jl for simulations of patient recruitment in clinical trials. The simplest model is a simple Poisson-Gamma model, where each clinical site draws the (time homogeneous) rate for the Poi…

---

## [How to debug an error in "type inference"](https://discourse.julialang.org/t/how-to-debug-an-error-in-type-inference/126122)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 8\
**Last updated:** [March 9, 2025, 3:17pm UTC](https://discourse.julialang.org/t/how-to-debug-an-error-in-type-inference/126122 "2025-03-09T15:17:19Z")

</div>

I have encountered a very weird issue, and I need some help on how to diagnose it. It somehow seems to happen between my code being run (which kind of seems to work), but before the output is returned. I.e. the issue doe…

---

## [How to fix "! Dimension too large." when using pgfplotsx?](https://discourse.julialang.org/t/how-to-fix-dimension-too-large-when-using-pgfplotsx/126730)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [March 9, 2025, 1:08pm UTC](https://discourse.julialang.org/t/how-to-fix-dimension-too-large-when-using-pgfplotsx/126730 "2025-03-09T13:08:19Z")

</div>

When trying to plot the following data VectorOfArray{Float64,2}: 2-element Vector{Vector{Float64}}: \[0.00969160836699929, 516.6666666666663\] \[0.00974104323961814, 900.0\] VectorOfArray{Float64,2}: 2-element Vector{Vect…

---

## [How to use amssymb in Plots.jl with LaTeXStrings?](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 0\
**Last updated:** [March 9, 2025, 12:14pm UTC](https://discourse.julialang.org/t/how-to-use-amssymb-in-plots-jl-with-latexstrings/126728 "2025-03-09T12:14:28Z")

</div>

How to use amssymb commands in L"..."-labels of plots? Using, for example, \\mathbb returns the following error: ! Undefined control sequence. \\pgfplots@already@computed@legend@node ...\\mathbb …

---

## [Speeding up array multiplication](https://discourse.julialang.org/t/speeding-up-array-multiplication/126607)

<div class="topic-metadata">

**Author:** [@ttx002000](https://discourse.julialang.org/u/ttx002000)\
**Replies:** 7\
**Last updated:** [March 9, 2025, 10:20am UTC](https://discourse.julialang.org/t/speeding-up-array-multiplication/126607 "2025-03-09T10:20:29Z")

</div>

Dear Community members: I need advice for speeding up the following operations. I have three arrays, Fockmatrix, fcmatrix, densitymatrix densitymatrix and fcmatrix are already given, and they are passed as arguments …

---

## [Why hasn't LinearAlgebra been removed from the default sysimage?](https://discourse.julialang.org/t/why-hasnt-linearalgebra-been-removed-from-the-default-sysimage/126395)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 56\
**Last updated:** [March 9, 2025, 6:42am UTC](https://discourse.julialang.org/t/why-hasnt-linearalgebra-been-removed-from-the-default-sysimage/126395 "2025-03-09T06:42:05Z")

</div>

Would it be possible to have a code example to illustrate type piracy and why LinearAlgebra shouldn’t be removed from the sysimage? I am not familiar with the concept and I am not sure to understand the comment that wa…

---

## [Background Color in inset plots in Plots.jl](https://discourse.julialang.org/t/background-color-in-inset-plots-in-plots-jl/126717)

<div class="topic-metadata">

**Author:** [@Nidish](https://discourse.julialang.org/u/Nidish)\
**Replies:** 2\
**Last updated:** [March 9, 2025, 6:14am UTC](https://discourse.julialang.org/t/background-color-in-inset-plots-in-plots-jl/126717 "2025-03-09T06:14:55Z")

</div>

Is it possible to insert inset plots with a background and a small rounded box around it so it’s more easily visible? Here’s an example where I can really use it. Here’s the non-runnable code I’m using to plot it. Just …

---

## [Does long (~250 ms) network latency break plotting over ssh?](https://discourse.julialang.org/t/does-long-250-ms-network-latency-break-plotting-over-ssh/126722)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 3\
**Last updated:** [March 8, 2025, 11:44pm UTC](https://discourse.julialang.org/t/does-long-250-ms-network-latency-break-plotting-over-ssh/126722 "2025-03-08T23:44:51Z")

</div>

I am trying out AWS and came across an issue with plots. They worked fine when the server was in the same country, but when I chose a cheaper one in a different region began getting this: connect: Connection refused GKS…

---

## [On type annotations](https://discourse.julialang.org/t/on-type-annotations/116305)

<div class="topic-metadata">

**Author:** [@Matthijs\_1971](https://discourse.julialang.org/u/Matthijs_1971)\
**Replies:** 88\
**Last updated:** [March 8, 2025, 9:28pm UTC](https://discourse.julialang.org/t/on-type-annotations/116305 "2025-03-08T21:28:57Z")

</div>

I wonder if there are any risks or issues with type annotations. In short, together with colleagues I am writing a coding standard. All Julia code at my company must be implemented following this standard. Some packages …

---

## [ModelingToolkitDesigner Example issue](https://discourse.julialang.org/t/modelingtoolkitdesigner-example-issue/126705)

<div class="topic-metadata">

**Author:** [@jaksaa](https://discourse.julialang.org/u/jaksaa)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 8:10pm UTC](https://discourse.julialang.org/t/modelingtoolkitdesigner-example-issue/126705 "2025-03-08T20:10:49Z")

</div>

ModelingToolkitDesigner example: ModelingToolkitDesigner.jl/examples/electrical.jl at master · bradcarman/ModelingToolkitDesigner.jl · GitHub Copied the example into a file.jl Then did include(“file.jl”) The linking …

---

## [Is there something like Pkg.gc for precompile caches?](https://discourse.julialang.org/t/is-there-something-like-pkg-gc-for-precompile-caches/126715)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 0\
**Last updated:** [March 8, 2025, 7:34pm UTC](https://discourse.julialang.org/t/is-there-something-like-pkg-gc-for-precompile-caches/126715 "2025-03-08T19:34:13Z")

</div>

The .julia/compiled folder is building up with a lot of .ji and .dll files for versions and packages that I have long uninstalled with Pkg.gc, is there a way to get rid of the ones I don’t need anymore in the same vein? …

---

## [What image formats do you use within Julia?](https://discourse.julialang.org/t/what-image-formats-do-you-use-within-julia/114333)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 18\
**Last updated:** [March 8, 2025, 11:00am UTC](https://discourse.julialang.org/t/what-image-formats-do-you-use-within-julia/114333 "2025-03-08T11:00:20Z")

</div>

Hello all! I often use SVG images without using Cairo.jl or Luxor.jl. I am probably in the “minority”. For raster images, I tend to use PNG. So, what image formats do you use within Julia? While the question does not …

---

## [Printing vector of vectors with :compact output](https://discourse.julialang.org/t/printing-vector-of-vectors-with-compact-output/126515)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 7\
**Last updated:** [March 8, 2025, 10:00am UTC](https://discourse.julialang.org/t/printing-vector-of-vectors-with-compact-output/126515 "2025-03-08T10:00:23Z")

</div>

Following the docs example, we get matrices to be printed with the “compact” form of the elements: julia\> \[Polar(3, 4.0) Polar(4.0,5.3)\] 1×2 Matrix{Polar{Float64}}: 3.0ℯ4.0im 4.0ℯ5.3im and also with a dict with vecto…

---

## [Finding Julia packages](https://discourse.julialang.org/t/finding-julia-packages/126663)

<div class="topic-metadata">

**Author:** [@Medaan\_pack](https://discourse.julialang.org/u/Medaan_pack)\
**Replies:** 6\
**Last updated:** [March 8, 2025, 8:59am UTC](https://discourse.julialang.org/t/finding-julia-packages/126663 "2025-03-08T08:59:21Z")

</div>

Hello Please tell me why the julia packages vanished?. Thank you very much

---

## [\`setsockopt\` not defined](https://discourse.julialang.org/t/setsockopt-not-defined/126704)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 7:30am UTC](https://discourse.julialang.org/t/setsockopt-not-defined/126704 "2025-03-08T07:30:17Z")

</div>

Hello, I want to build the julia version of Futu API referring to this python version, and asked the Grok, ChatGPT, etc and got the function below: sock = Sockets.TCPSocket() # Set receive buffer setsoc…

---

## [LSP "Missing reference" woes](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 21\
**Last updated:** [March 8, 2025, 4:00am UTC](https://discourse.julialang.org/t/lsp-missing-reference-woes/98231 "2025-03-08T04:00:06Z")

</div>

Notice two2 = too (which is not defined). I do have the “missing references” enabled: Any idea what is wrong? Sublime Text (4). On windows.

---

## [How does CondaPkg achieve Pkg integration internally?](https://discourse.julialang.org/t/how-does-condapkg-achieve-pkg-integration-internally/126699)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 1\
**Last updated:** [March 8, 2025, 2:40am UTC](https://discourse.julialang.org/t/how-does-condapkg-achieve-pkg-integration-internally/126699 "2025-03-08T02:40:45Z")

</div>

Does CondaPkg override Pkg.add or Pkg.precompile to install Python dependencies listed in CondaPkg.toml when a user add or import a Julia package that uses CondaPkg? The process seems a little too magical, so I’d like to…

---

## [WGLMakie zoom with export\_static](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [March 7, 2025, 11:01pm UTC](https://discourse.julialang.org/t/wglmakie-zoom-with-export-static/126585 "2025-03-07T23:01:56Z")

</div>

when a WGLMakie App is served with Bonito, zooming in on a plot works, but when a standalone .html file is created with export\_static, it doesn’t. presumably a Julia server is needed for this functionality. i post beca…

---

## [NonlinearSolve stalls when Jacobian is specified](https://discourse.julialang.org/t/nonlinearsolve-stalls-when-jacobian-is-specified/126659)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 4\
**Last updated:** [March 7, 2025, 9:58pm UTC](https://discourse.julialang.org/t/nonlinearsolve-stalls-when-jacobian-is-specified/126659 "2025-03-07T21:58:50Z")

</div>

I’m currently trying to solve a non-linear system, but I get a stalled retcode when I specify a jacobian. Specifically, I’d trying to solve a discretized PDE using a home-made backward Euler stepper. The spatial domain …

---

## [Solving the Heat Equation, changing the boundary conditions](https://discourse.julialang.org/t/solving-the-heat-equation-changing-the-boundary-conditions/126698)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 10:08pm UTC](https://discourse.julialang.org/t/solving-the-heat-equation-changing-the-boundary-conditions/126698 "2025-03-07T22:08:24Z")

</div>

Hi, I am trying to solve the heat equation with the SciML ecosystem. I found these docs as a good starting point. Despite reading the docs and old posts I couldn’t manage to reproduce the simple case from Wikipedia. T…

---

## [Code generation for docstrings](https://discourse.julialang.org/t/code-generation-for-docstrings/126696)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 9:41pm UTC](https://discourse.julialang.org/t/code-generation-for-docstrings/126696 "2025-03-07T21:41:30Z")

</div>

i know how to create functions with code generation, but how does one simultaneously create docstrings? it seems a global variable is required. is there no better way? julia\> struct MyNumber; x::Float64; end julia\> f…

---

## [MOF \`read\_from\_file\` fails when using MOI.Parameter and non-linear constraints](https://discourse.julialang.org/t/mof-read-from-file-fails-when-using-moi-parameter-and-non-linear-constraints/126688)

<div class="topic-metadata">

**Author:** [@andrewrosemberg](https://discourse.julialang.org/u/andrewrosemberg)\
**Replies:** 3\
**Last updated:** [March 7, 2025, 9:13pm UTC](https://discourse.julialang.org/t/mof-read-from-file-fails-when-using-moi-parameter-and-non-linear-constraints/126688 "2025-03-07T21:13:17Z")

</div>

I am trying read\_from\_file and solve a model with MOI.Parameter but failing when I have non-linear constraints: using JuMP using MathOptInterface using Ipopt model = JuMP.Model(Ipopt.Optimizer) set\_silent(model) # …

---

## [Switch in equations using ContinuousCallback is handled by Rodas5() but not QNDF()](https://discourse.julialang.org/t/switch-in-equations-using-continuouscallback-is-handled-by-rodas5-but-not-qndf/126690)

<div class="topic-metadata">

**Author:** [@sass-jacob](https://discourse.julialang.org/u/sass-jacob)\
**Replies:** 5\
**Last updated:** [March 7, 2025, 9:08pm UTC](https://discourse.julialang.org/t/switch-in-equations-using-continuouscallback-is-handled-by-rodas5-but-not-qndf/126690 "2025-03-07T21:08:05Z")

</div>

Here I have a problem where I’d like a constraint equation to switch once a constraint has been met for one of the auxiliary variables. This is a buildup to a large, stiff system that benefits greatly in performance fro…

---

## [Installing package doesn't automatically run Pkg.build for dependencies](https://discourse.julialang.org/t/installing-package-doesnt-automatically-run-pkg-build-for-dependencies/126671)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [March 7, 2025, 7:47pm UTC](https://discourse.julialang.org/t/installing-package-doesnt-automatically-run-pkg-build-for-dependencies/126671 "2025-03-07T19:47:42Z")

</div>

I’ve encountered a package which depends on another package which contains deps/build.jl. However, the parent package repo doesn’t have build.jl. When I use Pkg to add the parent package repo, the build step for the depe…

---

## [Sparse matrix vector multiplication on GPU](https://discourse.julialang.org/t/sparse-matrix-vector-multiplication-on-gpu/126693)

<div class="topic-metadata">

**Author:** [@baseb0l](https://discourse.julialang.org/u/baseb0l)\
**Replies:** 0\
**Last updated:** [March 7, 2025, 7:20pm UTC](https://discourse.julialang.org/t/sparse-matrix-vector-multiplication-on-gpu/126693 "2025-03-07T19:20:32Z")

</div>

Is there a way to perform sparse matrix vector multiplication on GPU? Thanks

---

## [Determinant constraints in JuMP](https://discourse.julialang.org/t/determinant-constraints-in-jump/126664)

<div class="topic-metadata">

**Author:** [@Rick](https://discourse.julialang.org/u/Rick)\
**Replies:** 1\
**Last updated:** [March 7, 2025, 6:33pm UTC](https://discourse.julialang.org/t/determinant-constraints-in-jump/126664 "2025-03-07T18:33:10Z")

</div>

Hi! I have a question about using imposing determinant as a constraint in JuMP. Currently, I am trying to solve a problem that involve constraints of the form \\det(A) = c \\det(B), where c is a given scalar. A and B a…

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

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