# Latest

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

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

**Page:** 145

---

## [Custom differentiation with Flux](https://discourse.julialang.org/t/custom-differentiation-with-flux/130249)

<div class="topic-metadata">

**Author:** [@Fabrice\_Rosay](https://discourse.julialang.org/u/Fabrice_Rosay)\
**Replies:** 2\
**Last updated:** [June 26, 2025, 7:50pm UTC](https://discourse.julialang.org/t/custom-differentiation-with-flux/130249 "2025-06-26T19:50:32Z")

</div>

Currently the derivative of roundis 0. I would like it to be 1 instead and also that it works when broadcasted. So i wrote a custom my\_roundand tried to write the new rule with adjoint and @scalar\_rule but it does not fu…

---

## [Security Advisory: HTTP.jl, URIs.jl, Registrator.jl, GitForge.jl, and GitHub.jl](https://discourse.julialang.org/t/security-advisory-http-jl-uris-jl-registrator-jl-gitforge-jl-and-github-jl/130189)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 2\
**Last updated:** [June 26, 2025, 7:49pm UTC](https://discourse.julialang.org/t/security-advisory-http-jl-uris-jl-registrator-jl-gitforge-jl-and-github-jl/130189 "2025-06-26T19:49:42Z")

</div>

Security vulnerabilities have been reported in a few Julia packages. We recommend all users upgrade to the latest version of these packages as soon as possible. Each vulnerability has been assigned a CVE and published as…

---

## [How to Wrap Fortran Types with Opaque Pointers](https://discourse.julialang.org/t/how-to-wrap-fortran-types-with-opaque-pointers/130252)

<div class="topic-metadata">

**Author:** [@ejmeitz](https://discourse.julialang.org/u/ejmeitz)\
**Replies:** 0\
**Last updated:** [June 26, 2025, 6:55pm UTC](https://discourse.julialang.org/t/how-to-wrap-fortran-types-with-opaque-pointers/130252 "2025-06-26T18:55:40Z")

</div>

I am trying to create a wrapper for a rather large Fortran library. Many of the classes in this library have over a dozen fields and those fields are often their own classes. To avoid having to create a wrapper for all o…

---

## [CUDA.jl on Jupyter / ubuntu 24](https://discourse.julialang.org/t/cuda-jl-on-jupyter-ubuntu-24/130246)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 0\
**Last updated:** [June 26, 2025, 5:02pm UTC](https://discourse.julialang.org/t/cuda-jl-on-jupyter-ubuntu-24/130246 "2025-06-26T17:02:25Z")

</div>

Hi, I’m running the latest julia + CUDA (I update regularly) on two ubuntu 24.04.2 different machines. I use to develop my codes in jupyter (also latest) and in recent weeks I’m experimenting random crashes when doing C…

---

## [(VSCode//Julia language) ERROR: LoadError: TOML Parser error:](https://discourse.julialang.org/t/vscode-julia-language-error-loaderror-toml-parser-error/130245)

<div class="topic-metadata">

**Author:** [@anafunguetto](https://discourse.julialang.org/u/anafunguetto)\
**Replies:** 0\
**Last updated:** [June 26, 2025, 4:51pm UTC](https://discourse.julialang.org/t/vscode-julia-language-error-loaderror-toml-parser-error/130245 "2025-06-26T16:51:04Z")

</div>

I need help troubleshooting an error in VSCode. I’m working with Pumas AI using the Julia language in VSCode. When I start \>Start REPL I get the following error: ERROR: LoadError: TOML Parser error: �������������������…

---

## [Weirdness of \`Type{Union{A,B}} where {B\<:SuperB}\`](https://discourse.julialang.org/t/weirdness-of-type-union-a-b-where-b-superb/130234)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 8\
**Last updated:** [June 26, 2025, 4:20pm UTC](https://discourse.julialang.org/t/weirdness-of-type-union-a-b-where-b-superb/130234 "2025-06-26T16:20:27Z")

</div>

I think my mental model of Type{Union{A,B}} is incorrect because I truly do not understand the following behavior: julia\> struct Foo end julia\> Foo isa (Type{Union{Foo,T}} where {T\<:Base.IEEEFloat}) true julia\> Float3…

---

## [Table with non-Symbol column names](https://discourse.julialang.org/t/table-with-non-symbol-column-names/130220)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [June 26, 2025, 3:12pm UTC](https://discourse.julialang.org/t/table-with-non-symbol-column-names/130220 "2025-06-26T15:12:24Z")

</div>

I would like a column-table like StructArray but with non-Symbol column names, such as for numbers, dates, etc. Does this exist? Is there a good reason it shouldn’t?

---

## [Slow Turing.jl sampling compared to python pymc](https://discourse.julialang.org/t/slow-turing-jl-sampling-compared-to-python-pymc/130228)

<div class="topic-metadata">

**Author:** [@mahe](https://discourse.julialang.org/u/mahe)\
**Replies:** 7\
**Last updated:** [June 26, 2025, 2:59pm UTC](https://discourse.julialang.org/t/slow-turing-jl-sampling-compared-to-python-pymc/130228 "2025-06-26T14:59:02Z")

</div>

I have a spatial model on a (currently) 5x5 grid, for two variables (total size 3737). And 483 observations for one variables. In this simple setting, I want to work in full space (no space reduction), and model my syste…

---

## [How to resolve "Error: Could not parse entry for \`deps\`" for an old 1.5 Julia project](https://discourse.julialang.org/t/how-to-resolve-error-could-not-parse-entry-for-deps-for-an-old-1-5-julia-project/130237)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 2\
**Last updated:** [June 26, 2025, 2:53pm UTC](https://discourse.julialang.org/t/how-to-resolve-error-could-not-parse-entry-for-deps-for-an-old-1-5-julia-project/130237 "2025-06-26T14:53:34Z")

</div>

Hello, about 3-4 years ago we published a textbook that utilized Julia and had code snippets integrated into the book pages. In addition, we associated with this textbook a GitHub repository in which we provide all the …

---

## [Copying a JuMP model is slower than building it from scratch](https://discourse.julialang.org/t/copying-a-jump-model-is-slower-than-building-it-from-scratch/130190)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 6\
**Last updated:** [June 26, 2025, 2:40pm UTC](https://discourse.julialang.org/t/copying-a-jump-model-is-slower-than-building-it-from-scratch/130190 "2025-06-26T14:40:39Z")

</div>

As the title. Then what is the point of the Base.copy(model::AbstractModel) function? julia\> Min\_ȷ\_fixed\_part Min\_ȷ\_fixed\_part (generic function with 1 method) julia\> t = time(); model = Min\_ȷ\_fixed\_part(); time() - t …

---

## [Issues with librsvg-2-2.dll on Windows 11](https://discourse.julialang.org/t/issues-with-librsvg-2-2-dll-on-windows-11/130201)

<div class="topic-metadata">

**Author:** [@rode](https://discourse.julialang.org/u/rode)\
**Replies:** 13\
**Last updated:** [June 26, 2025, 1:15pm UTC](https://discourse.julialang.org/t/issues-with-librsvg-2-2-dll-on-windows-11/130201 "2025-06-26T13:15:03Z")

</div>

All of my packages dependent on librsvg-2-2.dll have suddenly stop working. I can confirm there is a file present in “bin”. I get a library could not load error. All packages were working until I did an update in package…

---

## [Disassociate GC time from compile time](https://discourse.julialang.org/t/disassociate-gc-time-from-compile-time/130194)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 4\
**Last updated:** [June 26, 2025, 11:41am UTC](https://discourse.julialang.org/t/disassociate-gc-time-from-compile-time/130194 "2025-06-26T11:41:46Z")

</div>

The @timed macro provides a bunch of very interesting stats about GC and compilation time. I wanted to reuse this data to estimate the time excluding compilation and GC. However since (I believe) GC can and will happen …

---

## [Installed Julia 1.11 and error comes](https://discourse.julialang.org/t/installed-julia-1-11-and-error-comes/130209)

<div class="topic-metadata">

**Author:** [@stefaniecg](https://discourse.julialang.org/u/stefaniecg)\
**Replies:** 6\
**Last updated:** [June 26, 2025, 11:16am UTC](https://discourse.julialang.org/t/installed-julia-1-11-and-error-comes/130209 "2025-06-26T11:16:06Z")

</div>

I just installed Julia 1.11 and when i try to open the app, it fails as follows. I’m using MacOS Sequoia 15.5. Is this known?

---

## [REPL in 1.11 freezes while typing on array indexing and field access](https://discourse.julialang.org/t/repl-in-1-11-freezes-while-typing-on-array-indexing-and-field-access/130204)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 4\
**Last updated:** [June 26, 2025, 6:53am UTC](https://discourse.julialang.org/t/repl-in-1-11-freezes-while-typing-on-array-indexing-and-field-access/130204 "2025-06-26T06:53:30Z")

</div>

I have a very weird issue in the REPL with one of my packages. Unfortunately it’s very hard to boil it down to an MWE but I can already provide something which people can easily reproduce. You’ll need to add our public …

---

## [Can not open this MAT file](https://discourse.julialang.org/t/can-not-open-this-mat-file/130215)

<div class="topic-metadata">

**Author:** [@leon](https://discourse.julialang.org/u/leon)\
**Replies:** 6\
**Last updated:** [June 26, 2025, 1:14am UTC](https://discourse.julialang.org/t/can-not-open-this-mat-file/130215 "2025-06-26T01:14:33Z")

</div>

I have two MAT files. I can open A but can not open B. When I used the command “@show(File)”. I got the below for A: F1 = MAT.MAT\_HDF5.MatlabHDF5File(HDF5.File: (read-only) /Volumes/A.mat, true, false, 1108, false) bu…

---

## [Questions about Juliac](https://discourse.julialang.org/t/questions-about-juliac/130213)

<div class="topic-metadata">

**Author:** [@Max\_Pan](https://discourse.julialang.org/u/Max_Pan)\
**Replies:** 1\
**Last updated:** [June 26, 2025, 1:41am UTC](https://discourse.julialang.org/t/questions-about-juliac/130213 "2025-06-26T01:41:11Z")

</div>

At the moment, I am trying to use julia for a real-time system. As of so far, I have done a bunch of benchmarking for julia. So the script below attempts to measure the initial time to run matrix multiplication for two …

---

## [ReactiveECS.jl v1.0.0: Powerful reactive ECS balancing flexibility and performances](https://discourse.julialang.org/t/reactiveecs-jl-v1-0-0-powerful-reactive-ecs-balancing-flexibility-and-performances/130216)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 0\
**Last updated:** [June 26, 2025, 12:55am UTC](https://discourse.julialang.org/t/reactiveecs-jl-v1-0-0-powerful-reactive-ecs-balancing-flexibility-and-performances/130216 "2025-06-26T00:55:11Z")

</div>

Hello guys… Happy today to provide you the latest version of ReactiveECS.jl (look at this post if you don’t know yet the package.). Adding some powerful features to fills all the remaining gaps. Without further ado, let…

---

## [What is the current status of GPU support in Julia?](https://discourse.julialang.org/t/what-is-the-current-status-of-gpu-support-in-julia/129613)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 19\
**Last updated:** [June 25, 2025, 11:32pm UTC](https://discourse.julialang.org/t/what-is-the-current-status-of-gpu-support-in-julia/129613 "2025-06-25T23:32:13Z")

</div>

According to the official website, only NVIDIA GPUs using CUDA on Linux is offered tier 1 support. AMD GPUs using ROCm is only offered tier 3 support. However, the AMDGPU.jl repository does not have any warnings in the d…

---

## [Finding \`Expr\`s with docstrings](https://discourse.julialang.org/t/finding-expr-s-with-docstrings/130214)

<div class="topic-metadata">

**Author:** [@moble](https://discourse.julialang.org/u/moble)\
**Replies:** 3\
**Last updated:** [June 25, 2025, 9:30pm UTC](https://discourse.julialang.org/t/finding-expr-s-with-docstrings/130214 "2025-06-25T21:30:49Z")

</div>

How do I detect when an Expr has a docstring? For example, if expr = quote """Here's a docstring!""" const a=1 end I can look at the result to see that it is translated into a macrocall of @doc (after skipping…

---

## [Iterative 2D Convolution Optimization, Help?](https://discourse.julialang.org/t/iterative-2d-convolution-optimization-help/130200)

<div class="topic-metadata">

**Author:** [@GA-Brady](https://discourse.julialang.org/u/GA-Brady)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 8:54pm UTC](https://discourse.julialang.org/t/iterative-2d-convolution-optimization-help/130200 "2025-06-25T20:54:35Z")

</div>

I need to write an iterative 2D convolution, i.e. Starting with a 4k sample image, run a convolution algorithm, then run the same convolution on the result. Padding is added to the image such that the result is 4K. My t…

---

## [Solving a large sparse ODE using Exponential methods](https://discourse.julialang.org/t/solving-a-large-sparse-ode-using-exponential-methods/125159)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 8\
**Last updated:** [June 25, 2025, 7:49pm UTC](https://discourse.julialang.org/t/solving-a-large-sparse-ode-using-exponential-methods/125159 "2025-06-25T19:49:29Z")

</div>

Hello, I need to integrate a differential equation of the form \\dot{u} = L(t) u \\, , where u is a vector, L(t) = L\_0 + c(t) \* L\_1 \\, , L\_0 and L\_1 large sparse matrices, and c(t) a time dependent coefficient. I k…

---

## [Julia SLURM + BLAS + Multithreading, threads not mapping well leading to poor performance](https://discourse.julialang.org/t/julia-slurm-blas-multithreading-threads-not-mapping-well-leading-to-poor-performance/130188)

<div class="topic-metadata">

**Author:** [@jacksonjhayes](https://discourse.julialang.org/u/jacksonjhayes)\
**Replies:** 5\
**Last updated:** [June 25, 2025, 5:04pm UTC](https://discourse.julialang.org/t/julia-slurm-blas-multithreading-threads-not-mapping-well-leading-to-poor-performance/130188 "2025-06-25T17:04:36Z")

</div>

I am running benchmarking of a code that uses: multithreading BLAS (multithreaded) BLAS (single threaded in parallel on Julia Threads) on NERSC Perlmutter (AMD 2x \[AMD EPYC 7763\] 64 cores x 2 hyperthreads per core) …

---

## [Adding an SMatrix](https://discourse.julialang.org/t/adding-an-smatrix/130202)

<div class="topic-metadata">

**Author:** [@matthiasbaitsch](https://discourse.julialang.org/u/matthiasbaitsch)\
**Replies:** 3\
**Last updated:** [June 25, 2025, 4:23pm UTC](https://discourse.julialang.org/t/adding-an-smatrix/130202 "2025-06-25T16:23:10Z")

</div>

Hi, the following code fails because Ke is immutable after adding the SMatrix. using StaticArrays Ke = zeros(3, 3) Ke += SA\[1 2 3; 4 3 2; 4 3 2\] Ke\[1, 1\] += 3 I wonder whether this is intended behaviour.

---

## [Unable to install latest version of package in general registry](https://discourse.julialang.org/t/unable-to-install-latest-version-of-package-in-general-registry/130206)

<div class="topic-metadata">

**Author:** [@Kirby\_Zhang](https://discourse.julialang.org/u/Kirby_Zhang)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 3:41pm UTC](https://discourse.julialang.org/t/unable-to-install-latest-version-of-package-in-general-registry/130206 "2025-06-25T15:41:48Z")

</div>

I’m specifically having trouble with SQLite\_jll@3.49. I’m using Julia 1.10. This is the SQLite\_jll.jl’s project.toml name = "SQLite\_jll" uuid = "76ed43ae-9a5d-5a62-8c75-30186b810ce8" version = "3.49.0+0" \[deps\] JLLWra…

---

## [Heterogeneous random seeding](https://discourse.julialang.org/t/heterogeneous-random-seeding/130196)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 1\
**Last updated:** [June 25, 2025, 3:00pm UTC](https://discourse.julialang.org/t/heterogeneous-random-seeding/130196 "2025-06-25T15:00:20Z")

</div>

Hello all, Is there a unified way to set the random seed across heterogeneous devices, such as CPU and GPU? I’d be happy if GPUArrays.jl or KernelAbstractions.jl provides such a method. julia\> using CUDA julia\> using…

---

## [Literal expression for array of vectors](https://discourse.julialang.org/t/literal-expression-for-array-of-vectors/130184)

<div class="topic-metadata">

**Author:** [@Sevi](https://discourse.julialang.org/u/Sevi)\
**Replies:** 12\
**Last updated:** [June 25, 2025, 1:06pm UTC](https://discourse.julialang.org/t/literal-expression-for-array-of-vectors/130184 "2025-06-25T13:06:12Z")

</div>

Is there an array literal that gives me this object (and a variation with some integer elements in some of the vectors)? julia\> ... 3×5 Matrix{Vector{Int64}}: \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] \[\] …

---

## [Bifurcation diagram 2D reaction diffusion type system on GPU](https://discourse.julialang.org/t/bifurcation-diagram-2d-reaction-diffusion-type-system-on-gpu/128490)

<div class="topic-metadata">

**Author:** [@mellever](https://discourse.julialang.org/u/mellever)\
**Replies:** 5\
**Last updated:** [June 25, 2025, 9:48am UTC](https://discourse.julialang.org/t/bifurcation-diagram-2d-reaction-diffusion-type-system-on-gpu/128490 "2025-06-25T09:48:56Z")

</div>

Hi all, This is my first time posting, so forgive me if I am not following the proper etiquette. I am currently working on computing bifurcation diagrams of 2D reaction diffusion type models (e.g. Brusselator model) wi…

---

## [Table disappearing from duckdb database?](https://discourse.julialang.org/t/table-disappearing-from-duckdb-database/130172)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 2\
**Last updated:** [June 25, 2025, 9:31am UTC](https://discourse.julialang.org/t/table-disappearing-from-duckdb-database/130172 "2025-06-25T09:31:11Z")

</div>

I have an esoteric bug. I see this: # persistent database backed by file. function with\_db(f::Function) con = DBInterface.connect(DuckDB.DB, \_DB\_PATH) try return f(con) finally DBInterface.cl…

---

## [IPOPT suppress output file generation](https://discourse.julialang.org/t/ipopt-suppress-output-file-generation/127595)

<div class="topic-metadata">

**Author:** [@hjalgra](https://discourse.julialang.org/u/hjalgra)\
**Replies:** 22\
**Last updated:** [June 25, 2025, 7:03am UTC](https://discourse.julialang.org/t/ipopt-suppress-output-file-generation/127595 "2025-06-25T07:03:16Z")

</div>

I am using IPOPT to solve a sequence of optimization problems (interfaced using SNOW). In order to prevent the creation of an output file I am initializing IPOPT using the following options ip\_options = Dict( …

---

## [Is it possible to search the julia registry for a function](https://discourse.julialang.org/t/is-it-possible-to-search-the-julia-registry-for-a-function/130182)

<div class="topic-metadata">

**Author:** [@brianguenter](https://discourse.julialang.org/u/brianguenter)\
**Replies:** 5\
**Last updated:** [June 25, 2025, 12:16am UTC](https://discourse.julialang.org/t/is-it-possible-to-search-the-julia-registry-for-a-function/130182 "2025-06-25T00:16:08Z")

</div>

Is there a tool that will search the packages in the Julia registry for a function name? I sometimes come across online examples that use a Julia function I would also like to use but can’t find the package that contain…

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

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