# Latest

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

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

**Page:** 121

---

## [Optimisation over grid of parameters with \`Optimization.jl\`](https://discourse.julialang.org/t/optimisation-over-grid-of-parameters-with-optimization-jl/131571)

<div class="topic-metadata">

**Author:** [@NoFishLikeIan](https://discourse.julialang.org/u/NoFishLikeIan)\
**Replies:** 7\
**Last updated:** [August 18, 2025, 10:28pm UTC](https://discourse.julialang.org/t/optimisation-over-grid-of-parameters-with-optimization-jl/131571 "2025-08-18T22:28:49Z")

</div>

I am trying to solve a low dimensional (box-)constrained optimisation problem over a large grid of parameters. Both the optimisation problem and the constraints depend on the parameters. I can assume that the optimisatio…

---

## [Error using TestItems in VSCode](https://discourse.julialang.org/t/error-using-testitems-in-vscode/120699)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 21\
**Last updated:** [August 18, 2025, 9:41pm UTC](https://discourse.julialang.org/t/error-using-testitems-in-vscode/120699 "2025-08-18T21:41:47Z")

</div>

I get this error when I try to run tests using the TestItems framework in VSCode: An error occurred attempting to run tests: Error: Pending response rejected since connection got disposed The test runs fine from the VS…

---

## [Writing a function that also works broadcasts over DataFrames](https://discourse.julialang.org/t/writing-a-function-that-also-works-broadcasts-over-dataframes/131675)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 16\
**Last updated:** [August 18, 2025, 9:07pm UTC](https://discourse.julialang.org/t/writing-a-function-that-also-works-broadcasts-over-dataframes/131675 "2025-08-18T21:07:04Z")

</div>

I love broadcasting over arrays. I love that in Julia I can define func(x) where x is e.g. a namedtuple and then call it on func.(x) where x is a vector of namedtuples. However… I’m having difficulty extending this to …

---

## [Segmentation fault in executable after compilation with juliac including --trim --experimental arguments](https://discourse.julialang.org/t/segmentation-fault-in-executable-after-compilation-with-juliac-including-trim-experimental-arguments/125303)

<div class="topic-metadata">

**Author:** [@borisjo](https://discourse.julialang.org/u/borisjo)\
**Replies:** 4\
**Last updated:** [August 18, 2025, 9:10pm UTC](https://discourse.julialang.org/t/segmentation-fault-in-executable-after-compilation-with-juliac-including-trim-experimental-arguments/125303 "2025-08-18T21:10:39Z")

</div>

I’m trying out the juliac compilation functionality and I’m getting segmentation faults in my executable. My code I try to compile: module ABCD Base.@ccallable function main()::Cint return 0 end end # Module ABCD…

---

## [Anything in Julia or major Julia packages I could contribute to?](https://discourse.julialang.org/t/anything-in-julia-or-major-julia-packages-i-could-contribute-to/131622)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 8\
**Last updated:** [August 18, 2025, 7:26pm UTC](https://discourse.julialang.org/t/anything-in-julia-or-major-julia-packages-i-could-contribute-to/131622 "2025-08-18T19:26:49Z")

</div>

Thank you everyone for supporting me all along. Now, I know what to do. I’ve mastered algorithms to be pretty good at it in like 200 problems solved on hackerrank and other websites. Now, it’s time for me to do the same…

---

## [libTracyClient Bad Image Popup](https://discourse.julialang.org/t/libtracyclient-bad-image-popup/131691)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 0\
**Last updated:** [August 18, 2025, 7:16pm UTC](https://discourse.julialang.org/t/libtracyclient-bad-image-popup/131691 "2025-08-18T19:16:17Z")

</div>

I was going through some tutorials on SciML.ai website and for the second tutorial when I tried \] add DifferentialEquations I get a julia.exe - Bad Image popup. It says “C:.…julia\\artifacts\\f91…\\bin\\libTractClient.dll …

---

## [Building a Julia-Powered E-Ink Dashboard: A Dev Log](https://discourse.julialang.org/t/building-a-julia-powered-e-ink-dashboard-a-dev-log/130709)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 16\
**Last updated:** [August 18, 2025, 7:18pm UTC](https://discourse.julialang.org/t/building-a-julia-powered-e-ink-dashboard-a-dev-log/130709 "2025-08-18T19:18:12Z")

</div>

Every great journey starts with a single step. :man\_mage: In the spirit of open source, adventure, and fun, I am making an on-going development log here about building a Julia-powered e-ink dashboard ran on a Raspberr…

---

## [How does nested tab completion work in the REPL?](https://discourse.julialang.org/t/how-does-nested-tab-completion-work-in-the-repl/102953)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 7\
**Last updated:** [August 18, 2025, 7:15pm UTC](https://discourse.julialang.org/t/how-does-nested-tab-completion-work-in-the-repl/102953 "2025-08-18T19:15:31Z")

</div>

How does nested tab completion work in the REPL? I notice I can get this to work with nested NamedTuple but I am struggling to get it to work with a custom type.

---

## [Solving a Shifted Linear System of 2 Symmetric Positive Semi Definite (SPSD) Matrices](https://discourse.julialang.org/t/solving-a-shifted-linear-system-of-2-symmetric-positive-semi-definite-spsd-matrices/131636)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 31\
**Last updated:** [August 18, 2025, 6:20pm UTC](https://discourse.julialang.org/t/solving-a-shifted-linear-system-of-2-symmetric-positive-semi-definite-spsd-matrices/131636 "2025-08-18T18:20:18Z")

</div>

I have the following linear system: \\left( \\boldsymbol{A} + \\lambda \\boldsymbol{C} \\right) \\boldsymbol{x} = \\boldsymbol{A}^{T} \\boldsymbol{b} Where \\boldsymbol{A}, \\boldsymbol{C} \\in \\mathcal{S}\_{+}^{n} are Symmetric …

---

## [Obtain the prior distribution for a function's parameter](https://discourse.julialang.org/t/obtain-the-prior-distribution-for-a-functions-parameter/131677)

<div class="topic-metadata">

**Author:** [@Cyan](https://discourse.julialang.org/u/Cyan)\
**Replies:** 3\
**Last updated:** [August 18, 2025, 5:50pm UTC](https://discourse.julialang.org/t/obtain-the-prior-distribution-for-a-functions-parameter/131677 "2025-08-18T17:50:23Z")

</div>

Hi, all. I met a problem getting the prior distribution for parameters in a function f(x; b, s, q). I wish to obtain a dict ParaDict = Dict(:b =\> b, :s =\> s, :q =\> q) in form of b ~ truncated(Normal(1., 1), 0, 5) s ~ t…

---

## [Strange dependence on domain for polar coordinates in optimization over disk](https://discourse.julialang.org/t/strange-dependence-on-domain-for-polar-coordinates-in-optimization-over-disk/131676)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 4\
**Last updated:** [August 18, 2025, 4:20pm UTC](https://discourse.julialang.org/t/strange-dependence-on-domain-for-polar-coordinates-in-optimization-over-disk/131676 "2025-08-18T16:20:19Z")

</div>

Hi, I’m trying to optimize a function over a disk using a transformation to polar coordinates. When I restrict the radius to non-negative values, there is no problem, but when I allow it to be negative, I get that the al…

---

## [Thread safe memoization](https://discourse.julialang.org/t/thread-safe-memoization/131673)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 17\
**Last updated:** [August 18, 2025, 3:57pm UTC](https://discourse.julialang.org/t/thread-safe-memoization/131673 "2025-08-18T15:57:40Z")

</div>

I have the following code, using memoization: # Copyright (c) 2025 Marcus Becker, Uwe Fechner # SPDX-License-Identifier: BSD-3-Clause """ discretizeRotor(n\_rp::Int) -\> Tuple{Matrix{Float64}, Vector{Float64}} Discr…

---

## [Complex Piecewise function](https://discourse.julialang.org/t/complex-piecewise-function/131681)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 1\
**Last updated:** [August 18, 2025, 3:48pm UTC](https://discourse.julialang.org/t/complex-piecewise-function/131681 "2025-08-18T15:48:06Z")

</div>

Hello, Can I add this function using Symbolics.jl? I know about ifelse, but I haven’t found any examples with multiple conditions. Thanks for your help

---

## [Bilinear Model in Turing](https://discourse.julialang.org/t/bilinear-model-in-turing/131614)

<div class="topic-metadata">

**Author:** [@hdubey](https://discourse.julialang.org/u/hdubey)\
**Replies:** 2\
**Last updated:** [August 18, 2025, 3:23pm UTC](https://discourse.julialang.org/t/bilinear-model-in-turing/131614 "2025-08-18T15:23:02Z")

</div>

Hello, I am new to Julia and I am running Bayesian inference in Turing for a Bilinear Model- Y = X \* B \* Z’ + E where Y is nxm, X is nxp, B is pxq and Z is mxq. E is also nxm and follows multivariate normal (0, Sigma)…

---

## [SVG cells in Pluto](https://discourse.julialang.org/t/svg-cells-in-pluto/87524)

<div class="topic-metadata">

**Author:** [@forestacorn](https://discourse.julialang.org/u/forestacorn)\
**Replies:** 2\
**Last updated:** [August 18, 2025, 11:01am UTC](https://discourse.julialang.org/t/svg-cells-in-pluto/87524 "2025-08-18T11:01:04Z")

</div>

After a bit of experimental exploring I discovered partly by accident that you can have SVG cells in Pluto. Here is some example text for a Pluto cell to illustrate what I mean: html""" \<svg width="100" height="100"\> \<…

---

## [General Q's about Julia](https://discourse.julialang.org/t/general-qs-about-julia/130438)

<div class="topic-metadata">

**Author:** [@skypuppy](https://discourse.julialang.org/u/skypuppy)\
**Replies:** 16\
**Last updated:** [August 18, 2025, 10:38am UTC](https://discourse.julialang.org/t/general-qs-about-julia/130438 "2025-08-18T10:38:41Z")

</div>

Been “learning” Julia for a couple years now, off and on. It is a fascinating language and I wish to learn more. I’m on my 4th book (7 if you count E-books) and still don’t have basics down to my liking. I’m wondering…

---

## [LDLt factorization for full matrices](https://discourse.julialang.org/t/ldlt-factorization-for-full-matrices/75356)

<div class="topic-metadata">

**Author:** [@mancolric](https://discourse.julialang.org/u/mancolric)\
**Replies:** 27\
**Last updated:** [August 18, 2025, 10:16am UTC](https://discourse.julialang.org/t/ldlt-factorization-for-full-matrices/75356 "2025-08-18T10:16:10Z")

</div>

Is there a way to compute the LDL^T factorization of a full matrix?? It seems that currently ldlt and LDLt support only SymTridiagonal and SparseMatrixCSC. However, lu works for full matrices. For example, using Linear…

---

## [Parallel Processing and Eigenvalue calculation](https://discourse.julialang.org/t/parallel-processing-and-eigenvalue-calculation/131659)

<div class="topic-metadata">

**Author:** [@FranciscoZick](https://discourse.julialang.org/u/FranciscoZick)\
**Replies:** 2\
**Last updated:** [August 18, 2025, 9:41am UTC](https://discourse.julialang.org/t/parallel-processing-and-eigenvalue-calculation/131659 "2025-08-18T09:41:41Z")

</div>

Hey everyone, I’m not necessarily new to Julia but new to parallel processing and writing fast code. I am trying to optimize this piece of code: BLAS.set\_num\_threads(16) MAX\_CONC = 4 # limit to 4 concurrent tasks @s…

---

## [Plotting in the VSCode secondary side bar](https://discourse.julialang.org/t/plotting-in-the-vscode-secondary-side-bar/131524)

<div class="topic-metadata">

**Author:** [@owiecc](https://discourse.julialang.org/u/owiecc)\
**Replies:** 5\
**Last updated:** [August 18, 2025, 9:06am UTC](https://discourse.julialang.org/t/plotting-in-the-vscode-secondary-side-bar/131524 "2025-08-18T09:06:15Z")

</div>

Is it possible to put plots by default in the secondary side bar of VSCode? Ideally also have the side bar split vertically: ┌──────────────┳━━━━━━━┓ │ ┃ ┃ │ ┃ Plots ┃ │ ┃ …

---

## [How to notify JuliaMath of a PR to one of their (almost) unwatched packages](https://discourse.julialang.org/t/how-to-notify-juliamath-of-a-pr-to-one-of-their-almost-unwatched-packages/131655)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 4\
**Last updated:** [August 18, 2025, 7:41am UTC](https://discourse.julialang.org/t/how-to-notify-juliamath-of-a-pr-to-one-of-their-almost-unwatched-packages/131655 "2025-08-18T07:41:23Z")

</div>

I recently submitted a PR to FunctionZeros.jl to implement new functionality I need for a package I’m developing. FunctionZeros.jl is in the JuliaMath organization, and I’m not sure of the proper protocol, if any, to not…

---

## [Why navigating to function doesn't always work?](https://discourse.julialang.org/t/why-navigating-to-function-doesnt-always-work/131670)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 0\
**Last updated:** [August 18, 2025, 6:49am UTC](https://discourse.julialang.org/t/why-navigating-to-function-doesnt-always-work/131670 "2025-08-18T06:49:52Z")

</div>

When I shift + click on some function names VS Code opens its definition. But sometimes, maybe even most of the time, it doesn’t. Why and how to fix it? Does it matter if function declared as function some() ... end vs…

---

## [Strategy to get best performance with @turbo and multithreading in real applications?](https://discourse.julialang.org/t/strategy-to-get-best-performance-with-turbo-and-multithreading-in-real-applications/131666)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 3\
**Last updated:** [August 18, 2025, 5:04am UTC](https://discourse.julialang.org/t/strategy-to-get-best-performance-with-turbo-and-multithreading-in-real-applications/131666 "2025-08-18T05:04:25Z")

</div>

A simple example is shown in the end of the post. It can be seen that for the smaller vectors, the multithreading in @turbo makes no difference. For the larger vectors, increasing nthreads will enhance the performance, b…

---

## [Makie: nonlinear color levels in Colorbar](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [August 18, 2025, 1:44am UTC](https://discourse.julialang.org/t/makie-nonlinear-color-levels-in-colorbar/118056 "2025-08-18T01:44:13Z")

</div>

In a contourf map, I sometimes need to show the structure of the field at small absolute values as well as showing large absolute values. At the same time, I’d like to enable the reader to “read” approximate values off …

---

## [Sequence language models in Julia](https://discourse.julialang.org/t/sequence-language-models-in-julia/130306)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 6\
**Last updated:** [August 18, 2025, 1:26am UTC](https://discourse.julialang.org/t/sequence-language-models-in-julia/130306 "2025-08-18T01:26:26Z")

</div>

Dear All, has anyone implemented / ported sequence models like Mamba, Hyena, S4 / S5 to Julia? I would be interested especially in already trained models. Thanks a lot for answer in advance. Tomas

---

## [Exception Control in Iteration over Channels, Latest Version](https://discourse.julialang.org/t/exception-control-in-iteration-over-channels-latest-version/131651)

<div class="topic-metadata">

**Author:** [@mraic1](https://discourse.julialang.org/u/mraic1)\
**Replies:** 8\
**Last updated:** [August 17, 2025, 8:49pm UTC](https://discourse.julialang.org/t/exception-control-in-iteration-over-channels-latest-version/131651 "2025-08-17T20:49:46Z")

</div>

Dear all, I got intrigued when I realized that exceptions can be silenced when iterating over a channel. However, the source code on GitHub indicates that exceptions should actually be rethrown. Then I realized that the…

---

## [Failing to install OrdinaryDiffEq in the new Julia update](https://discourse.julialang.org/t/failing-to-install-ordinarydiffeq-in-the-new-julia-update/131511)

<div class="topic-metadata">

**Author:** [@Marco\_Masi](https://discourse.julialang.org/u/Marco_Masi)\
**Replies:** 10\
**Last updated:** [August 17, 2025, 7:40pm UTC](https://discourse.julialang.org/t/failing-to-install-ordinarydiffeq-in-the-new-julia-update/131511 "2025-08-17T19:40:12Z")

</div>

I installed the latest version of Julia (in Windows), and I am encountering issues with the ODE package. Neither launching nor importing it resolves the problem. I initially thought the issue might be due to an incorrect…

---

## [Why can Julia be better about boxing types than OCaml?](https://discourse.julialang.org/t/why-can-julia-be-better-about-boxing-types-than-ocaml/131628)

<div class="topic-metadata">

**Author:** [@mrufsvold](https://discourse.julialang.org/u/mrufsvold)\
**Replies:** 5\
**Last updated:** [August 17, 2025, 2:35pm UTC](https://discourse.julialang.org/t/why-can-julia-be-better-about-boxing-types-than-ocaml/131628 "2025-08-17T14:35:20Z")

</div>

I was reading this article about OCaml’s special int type: The tl;dr is that OCaml represents data as a 64-bit header followed by the actual data. This includes int64 and, often, floats. However, they special case the…

---

## [Help to build a django-like orm in julia](https://discourse.julialang.org/t/help-to-build-a-django-like-orm-in-julia/105091)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 7\
**Last updated:** [August 17, 2025, 12:47pm UTC](https://discourse.julialang.org/t/help-to-build-a-django-like-orm-in-julia/105091 "2025-08-17T12:47:42Z")

</div>

I’m spending some time these last days studying the viability of building a Django-like orm in julia. I made some progress, but I haven’t had much luck with the performance. I’ve used the searchlight with the start point…

---

## [How to set width of VegaLite.jl Plot at time of image saving?](https://discourse.julialang.org/t/how-to-set-width-of-vegalite-jl-plot-at-time-of-image-saving/131648)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 0\
**Last updated:** [August 17, 2025, 4:35am UTC](https://discourse.julialang.org/t/how-to-set-width-of-vegalite-jl-plot-at-time-of-image-saving/131648 "2025-08-17T04:35:34Z")

</div>

Hi, is there a way to set image width for VegaLite.jl at the time of image saving? And maintaining the default chart ratio (sometimes when I set width the ratio is changed)? using DataFrames, VegaLite, JSON # Plotting…

---

## [Question about cluster setup on windows](https://discourse.julialang.org/t/question-about-cluster-setup-on-windows/104972)

<div class="topic-metadata">

**Author:** [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Replies:** 5\
**Last updated:** [August 17, 2025, 1:53am UTC](https://discourse.julialang.org/t/question-about-cluster-setup-on-windows/104972 "2025-08-17T01:53:54Z")

</div>

I am learning how to build up a computer cluster for computation. Now I have already started up the SSH service on one server running windows 10 and keep the same julia version of the latest 1.9.3 installed in the same p…

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

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