# Latest

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

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

**Page:** 44

---

## [Box shadow in Makie](https://discourse.julialang.org/t/box-shadow-in-makie/136064)

<div class="topic-metadata">

**Author:** [@klafyvel](https://discourse.julialang.org/u/klafyvel)\
**Replies:** 5\
**Last updated:** [March 23, 2026, 12:01pm UTC](https://discourse.julialang.org/t/box-shadow-in-makie/136064 "2026-03-23T12:01:53Z")

</div>

Hi! I am a big fan of de-marking boxes from their background using box shadows. Is there a way to do that in Makie? Thanks for the help!

---

## [Migrate from Github to Gitlab](https://discourse.julialang.org/t/migrate-from-github-to-gitlab/136334)

<div class="topic-metadata">

**Author:** [@aumpierre-unb](https://discourse.julialang.org/u/aumpierre-unb)\
**Replies:** 1\
**Last updated:** [March 23, 2026, 11:20am UTC](https://discourse.julialang.org/t/migrate-from-github-to-gitlab/136334 "2026-03-23T11:20:53Z")

</div>

I recently migrate from Github to Gitlab. What is the easiest way to change my packages urls from Github to Gitlab? And how can I release new versions from Gitlab? In Github there is Registrator.jl robot. As far as i c…

---

## [Exposing julia packages to python users](https://discourse.julialang.org/t/exposing-julia-packages-to-python-users/136272)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 13\
**Last updated:** [March 23, 2026, 10:24am UTC](https://discourse.julialang.org/t/exposing-julia-packages-to-python-users/136272 "2026-03-23T10:24:27Z")

</div>

Hello everyone. I have a Julia package which I would like to expose to python users. Seems the most obvious way would be using juliacall, similar to how diffeqpy seems to do it. I tried working with that approach for n…

---

## [Rolling forecast with StateSpaceModels.jl](https://discourse.julialang.org/t/rolling-forecast-with-statespacemodels-jl/136189)

<div class="topic-metadata">

**Author:** [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Replies:** 8\
**Last updated:** [March 23, 2026, 8:42am UTC](https://discourse.julialang.org/t/rolling-forecast-with-statespacemodels-jl/136189 "2026-03-23T08:42:42Z")

</div>

Hello, I have a question on using StateSpaceModels.jl to do a rolling window prediction of a time series. This means: At time t using past data y\_1...y\_t, predict h steps ahead (\\hat{y}\_{t+1|t} to \\hat{y}\_{t+h|t}). T…

---

## [Difference in output with change in variable structure](https://discourse.julialang.org/t/difference-in-output-with-change-in-variable-structure/136321)

<div class="topic-metadata">

**Author:** [@Gagan\_Meena](https://discourse.julialang.org/u/Gagan_Meena)\
**Replies:** 8\
**Last updated:** [March 23, 2026, 8:12am UTC](https://discourse.julialang.org/t/difference-in-output-with-change-in-variable-structure/136321 "2026-03-23T08:12:38Z")

</div>

I am solving a day ahead optimization problem. I am using the same set of variables and constraint and the same objective function in two cases, but I am getting a different outcome. The first case considers a single hyd…

---

## [Write nice representation of Flux chain to file](https://discourse.julialang.org/t/write-nice-representation-of-flux-chain-to-file/136338)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 0\
**Last updated:** [March 23, 2026, 7:36am UTC](https://discourse.julialang.org/t/write-nice-representation-of-flux-chain-to-file/136338 "2026-03-23T07:36:09Z")

</div>

Hi, I am training some neural networks using Flux.jl. I noticed that the output of display is much nicer than the output of print and show. I am making a file for evaluating which architectures I think look promising. …

---

## [\`dual\_objective\_value\` in JuMP.solution\_summary](https://discourse.julialang.org/t/dual-objective-value-in-jump-solution-summary/134556)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 12\
**Last updated:** [March 23, 2026, 1:06am UTC](https://discourse.julialang.org/t/dual-objective-value-in-jump-solution-summary/134556 "2026-03-23T01:06:09Z")

</div>

I have a question: what is the dual\_objective\_value below julia\> JuMP.solution\_summary(model) solution\_summary(; result = 1, verbose = false) ├ solver\_name : Gurobi ├ Termination │ ├ termination\_status : OPTIMA…

---

## [Trimming partially type erased functions](https://discourse.julialang.org/t/trimming-partially-type-erased-functions/136314)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 2\
**Last updated:** [March 22, 2026, 10:04pm UTC](https://discourse.julialang.org/t/trimming-partially-type-erased-functions/136314 "2026-03-22T22:04:43Z")

</div>

I’m using FunctionWrappers.jl to create type stable wrappers for functions I know input and output types. These functions are often closures created in local scopes. When trying to trim a function from FunctionWrappers.j…

---

## [AMDGPU.jl issues](https://discourse.julialang.org/t/amdgpu-jl-issues/136171)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 4\
**Last updated:** [March 22, 2026, 6:11pm UTC](https://discourse.julialang.org/t/amdgpu-jl-issues/136171 "2026-03-22T18:11:34Z")

</div>

Hello, good evening. Im having issue to work with amdgpu.jl and ROCM Hip. The issue happens when device = MLDataDevices.AMDGPUDevice() # get device. # Multilayer Perceptron: model = Chain( Dense(2 =\>…

---

## [Vector autoregressive models](https://discourse.julialang.org/t/vector-autoregressive-models/136333)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 3\
**Last updated:** [March 22, 2026, 5:19pm UTC](https://discourse.julialang.org/t/vector-autoregressive-models/136333 "2026-03-22T17:19:26Z")

</div>

Hello! What’s currently the situation on fitting and making predictions from vector autoregressive models? Here’s the related packages I’ve found, but they either are not vector models, or look like scratch code: …

---

## [Automatic differentiation of function using \`LinearProblem\`](https://discourse.julialang.org/t/automatic-differentiation-of-function-using-linearproblem/136063)

<div class="topic-metadata">

**Author:** [@NoFishLikeIan](https://discourse.julialang.org/u/NoFishLikeIan)\
**Replies:** 8\
**Last updated:** [March 22, 2026, 2:08pm UTC](https://discourse.julialang.org/t/automatic-differentiation-of-function-using-linearproblem/136063 "2026-03-22T14:08:42Z")

</div>

I am trying to optimise a function f: \\mathbb{R}^n \\to \\mathbb{R} which internally solves a linear problem, informally something like f(w) = g(x) where x solves A(w) x= b(x). To do this I am using LinearSolve and automa…

---

## [mg/LLVM-21 commits in Julia repo](https://discourse.julialang.org/t/mg-llvm-21-commits-in-julia-repo/136331)

<div class="topic-metadata">

**Author:** [@obsidianjulua](https://discourse.julialang.org/u/obsidianjulua)\
**Replies:** 0\
**Last updated:** [March 22, 2026, 1:07pm UTC](https://discourse.julialang.org/t/mg-llvm-21-commits-in-julia-repo/136331 "2026-03-22T13:07:47Z")

</div>

Just wanted to say Im really happy these commits are going in and theirs a major llvm-21 compatibility push, mlir 22 just hit and I ducked almost everything and my project was fully compatible with mlir/llvm-21/22 and wh…

---

## [How to pass a reference to a vector to C](https://discourse.julialang.org/t/how-to-pass-a-reference-to-a-vector-to-c/136320)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 2\
**Last updated:** [March 21, 2026, 2:18pm UTC](https://discourse.julialang.org/t/how-to-pass-a-reference-to-a-vector-to-c/136320 "2026-03-21T14:18:33Z")

</div>

I’m calling SimpleBLE which has an API where both the reading and writing functions take (uint8\_t\*\* data, size\_t\* data\_length) that are used to return data in the read case and pass data in the write case. My confusion …

---

## [Dotdot: The double-broadcast operator enabling Float32..(a)](https://discourse.julialang.org/t/dotdot-the-double-broadcast-operator-enabling-float32-a/136260)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 18\
**Last updated:** [March 21, 2026, 2:10pm UTC](https://discourse.julialang.org/t/dotdot-the-double-broadcast-operator-enabling-float32-a/136260 "2026-03-21T14:10:10Z")

</div>

Programming Julia for years, I have always missed a way to use double-broadcasting. Ref is preventing a broadcast, but often one wants to also apply a broadcast operation to each element of an iterable. This can be done…

---

## [In which julia release will JuliaLowering be used for lowering?](https://discourse.julialang.org/t/in-which-julia-release-will-julialowering-be-used-for-lowering/136302)

<div class="topic-metadata">

**Author:** [@Olivier\_Merchiers](https://discourse.julialang.org/u/Olivier_Merchiers)\
**Replies:** 2\
**Last updated:** [March 21, 2026, 11:59am UTC](https://discourse.julialang.org/t/in-which-julia-release-will-julialowering-be-used-for-lowering/136302 "2026-03-21T11:59:28Z")

</div>

Just out of curiosity, for which julia release do we expect to see the femtolisp lowering be replaced by JuliaLowering? Thanks to all of the people who work very hard on JuliaLowering! Best Olivier

---

## [On-line storage of MCMC output](https://discourse.julialang.org/t/on-line-storage-of-mcmc-output/136178)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 8\
**Last updated:** [March 21, 2026, 2:27am UTC](https://discourse.julialang.org/t/on-line-storage-of-mcmc-output/136178 "2026-03-21T02:27:57Z")

</div>

I frequently run MCMC for Bayesian estimation which takes a long time (weeks), had a large dimension (10^5–10^6) It would be great to have a means to save the results to disk while in progress, “peek into”…

---

## [Does \`String(unsafe\_wrap(cstring, len, own=true))\` free the memory it points to?](https://discourse.julialang.org/t/does-string-unsafe-wrap-cstring-len-own-true-free-the-memory-it-points-to/136315)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 2\
**Last updated:** [March 21, 2026, 1:47am UTC](https://discourse.julialang.org/t/does-string-unsafe-wrap-cstring-len-own-true-free-the-memory-it-points-to/136315 "2026-03-21T01:47:02Z")

</div>

If I have a Cstring from a @ccall that I am responsible for freeing, does converting that Cstring to a Julia String via s = String(unsafe\_wrap(Vector{UInt8}, Ptr{UInt8}(cstring), len, own=true)) automatically free the as…

---

## [Why writing to closed stream doesn't error](https://discourse.julialang.org/t/why-writing-to-closed-stream-doesnt-error/136301)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 8\
**Last updated:** [March 20, 2026, 9:03pm UTC](https://discourse.julialang.org/t/why-writing-to-closed-stream-doesnt-error/136301 "2026-03-20T21:03:20Z")

</div>

I have been tracking down a bug which where a stream as not open when write happened. MWE: io = open("/tmp/test", "w") close(io) print(io, "test") # why no error? Though the docstrings do not explicitly s…

---

## [Pickle.Defer when loading PyTorch tensors in Julia](https://discourse.julialang.org/t/pickle-defer-when-loading-pytorch-tensors-in-julia/136313)

<div class="topic-metadata">

**Author:** [@Uneeb\_Hasan](https://discourse.julialang.org/u/Uneeb_Hasan)\
**Replies:** 0\
**Last updated:** [March 20, 2026, 7:49pm UTC](https://discourse.julialang.org/t/pickle-defer-when-loading-pytorch-tensors-in-julia/136313 "2026-03-20T19:49:38Z")

</div>

Hi everyone! I’m working on implementing the ZINC molecular dataset for MLDatasets.jl and ran into something I wanted to get thoughts on. The raw ZINC data is distributed as Python pickle files where the tensors are sto…

---

## [\[ANN\] BonitoBook.jl](https://discourse.julialang.org/t/ann-bonitobook-jl/131442)

<div class="topic-metadata">

**Author:** [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Replies:** 57\
**Last updated:** [March 20, 2026, 3:42pm UTC](https://discourse.julialang.org/t/ann-bonitobook-jl/131442 "2026-03-20T15:42:59Z")

</div>

I’m happy to announce yet another Notebook implementation, with a focus on plotting, customizability and dashboards: BonitoBook.jl website Demo: Claude Code integration (other models work as well): Over …

---

## [Defining a preconditioner for IterativeSolvers](https://discourse.julialang.org/t/defining-a-preconditioner-for-iterativesolvers/86977)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 18\
**Last updated:** [March 20, 2026, 3:10pm UTC](https://discourse.julialang.org/t/defining-a-preconditioner-for-iterativesolvers/86977 "2026-03-20T15:10:30Z")

</div>

Dear all, I would like to solve a linear(ised) system of equations using IterativeSolvers, however I am not sure how to define the preconditioner. The preconditonner is a symmetric positive-definite sparse matrix and t…

---

## [Warning: Runtime invalidation was disabled, but the CPU info is out-of-date](https://discourse.julialang.org/t/warning-runtime-invalidation-was-disabled-but-the-cpu-info-is-out-of-date/134519)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 2\
**Last updated:** [March 20, 2026, 11:43am UTC](https://discourse.julialang.org/t/warning-runtime-invalidation-was-disabled-but-the-cpu-info-is-out-of-date/134519 "2026-03-20T11:43:31Z")

</div>

Hi, I’m using the $JULIA\_CPU\_TARGET variable with Julia 1.12.2. Some time ago, I started to get this message when updating the packages: HostCPUFeatures │ ┌ Warning: Runtime invalidation was disabled, but the CPU in…

---

## [The location of Julia functions](https://discourse.julialang.org/t/the-location-of-julia-functions/136296)

<div class="topic-metadata">

**Author:** [@Leon6](https://discourse.julialang.org/u/Leon6)\
**Replies:** 5\
**Last updated:** [March 20, 2026, 2:13am UTC](https://discourse.julialang.org/t/the-location-of-julia-functions/136296 "2026-03-20T02:13:47Z")

</div>

I have dozens of helper functions in my program. First of all, why do I have to put them at the beginning of the program? Is there a way I can put them in a separate jl file for all these functions? Thanks.

---

## [Policies around registering AI-created packages in General?](https://discourse.julialang.org/t/policies-around-registering-ai-created-packages-in-general/136228)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kagalenko](https://discourse.julialang.org/u/Mikhail_Kagalenko)\
**Replies:** 184\
**Last updated:** [March 19, 2026, 8:24pm UTC](https://discourse.julialang.org/t/policies-around-registering-ai-created-packages-in-general/136228 "2026-03-19T20:24:05Z")

</div>

I think that Julia discourse should host some discussion about the use of LLM and coding agents in the registered packages.

---

## [What is the fastest way of realizing transpose of a CSR (or CSC) matrix?](https://discourse.julialang.org/t/what-is-the-fastest-way-of-realizing-transpose-of-a-csr-or-csc-matrix/136241)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 33\
**Last updated:** [March 19, 2026, 7:37pm UTC](https://discourse.julialang.org/t/what-is-the-fastest-way-of-realizing-transpose-of-a-csr-or-csc-matrix/136241 "2026-03-19T19:37:49Z")

</div>

What is the fastest way of realizing sparse matrix transpose? I don’t mean a lazy transpose, I mean realization such that typeof(CSC') === typeof(CSC) (and analogously for CSR). There seems to be the algorithm of Gustav…

---

## [Cannot use AD as shown in ControlSystems.jl example](https://discourse.julialang.org/t/cannot-use-ad-as-shown-in-controlsystems-jl-example/136292)

<div class="topic-metadata">

**Author:** [@vtfanta](https://discourse.julialang.org/u/vtfanta)\
**Replies:** 2\
**Last updated:** [March 19, 2026, 7:18pm UTC](https://discourse.julialang.org/t/cannot-use-ad-as-shown-in-controlsystems-jl-example/136292 "2026-03-19T19:18:51Z")

</div>

I’m trying to replicate the example of using AD with ControlSystems.jl from the JuliaCon 2022 presentation (this moment), but the ForwardDiff gradient calculation errors, since there is the matrix exponential LinearAlgeb…

---

## [Old version (1.0.5) can't find BenchmarkTools in General registry](https://discourse.julialang.org/t/old-version-1-0-5-cant-find-benchmarktools-in-general-registry/136288)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 4\
**Last updated:** [March 19, 2026, 3:32pm UTC](https://discourse.julialang.org/t/old-version-1-0-5-cant-find-benchmarktools-in-general-registry/136288 "2026-03-19T15:32:31Z")

</div>

I’m trying to compare something on v1.12.5 with 1.0.5, but I immediately hit a snag on adding BenchmarkTools to the version environment. AFAIK BenchmarkTools does have versions in the General registry that is compatible …

---

## [How should a function report an error?](https://discourse.julialang.org/t/how-should-a-function-report-an-error/136266)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [March 19, 2026, 10:32am UTC](https://discourse.julialang.org/t/how-should-a-function-report-an-error/136266 "2026-03-19T10:32:05Z")

</div>

Functions can fail. I have functions that try to find a steady state of a DAE system, and that can fail. What is better: to raise an exception to return nothing While this error can be fatal, it does not have to be, t…

---

## [Try to create table, but database is closed](https://discourse.julialang.org/t/try-to-create-table-but-database-is-closed/136271)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 0\
**Last updated:** [March 19, 2026, 8:48am UTC](https://discourse.julialang.org/t/try-to-create-table-but-database-is-closed/136271 "2026-03-19T08:48:55Z")

</div>

I’ve created a database and am trying to create a table in it. mkpath(spoolDir\*"database") db=SQLite.DB(spoolDir\*"database/foo.db") function makeTables() global db SQLite.execute(db,"create table if not exists node…

---

## [How can I make my Julia code run faster?](https://discourse.julialang.org/t/how-can-i-make-my-julia-code-run-faster/136268)

<div class="topic-metadata">

**Author:** [@soumitradutta26](https://discourse.julialang.org/u/soumitradutta26)\
**Replies:** 3\
**Last updated:** [March 19, 2026, 8:35am UTC](https://discourse.julialang.org/t/how-can-i-make-my-julia-code-run-faster/136268 "2026-03-19T08:35:17Z")

</div>

Hi Everyone, I’m Soumitra Dutta – Entrepreneur & Photographer Based in Oxford. I’m trying to improve the performance of some Julia code I’m working on. Are there any tips, tricks, or best practices you’d recommend for ma…

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

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