# Latest

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

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

**Page:** 109

---

## [PythonCall ecosystem updates](https://discourse.julialang.org/t/pythoncall-ecosystem-updates/132500)

<div class="topic-metadata">

**Author:** [@cjdoris](https://discourse.julialang.org/u/cjdoris)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 10:23pm UTC](https://discourse.julialang.org/t/pythoncall-ecosystem-updates/132500 "2025-09-18T22:23:03Z")

</div>

There’s been a lot going on in the world of PythonCall.jl and friends, so I thought I’d give a brief round-up of what’s new from the last year. Firstly, a reminder of the packages I’m talking about: PythonCall.jl: Int…

---

## [Pluto for literate programming](https://discourse.julialang.org/t/pluto-for-literate-programming/132499)

<div class="topic-metadata">

**Author:** [@bertschi](https://discourse.julialang.org/u/bertschi)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 9:18pm UTC](https://discourse.julialang.org/t/pluto-for-literate-programming/132499 "2025-09-18T21:18:05Z")

</div>

Just realized that Pluto can be turned into a web style literate programming tool with the help of a simple macro. Pluto’s dependency tracking already allows cells to be ordered as the programmer likes instead of what th…

---

## [Method lookup: why does this not fail for zygote adjoint overload](https://discourse.julialang.org/t/method-lookup-why-does-this-not-fail-for-zygote-adjoint-overload/132498)

<div class="topic-metadata">

**Author:** [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 7:54pm UTC](https://discourse.julialang.org/t/method-lookup-why-does-this-not-fail-for-zygote-adjoint-overload/132498 "2025-09-18T19:54:30Z")

</div>

when a module foo does have Zygote to take AD, how come @eval foo f'not fail: using Zygote module foo f(x) = sin(x) end using .foo @eval foo f'(1.2) - cos(1.2) src code is at Zygote.jl/src/compiler/interface.jl a…

---

## [Something is broken, perhaps NonlinearSolve?](https://discourse.julialang.org/t/something-is-broken-perhaps-nonlinearsolve/132483)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [September 18, 2025, 4:13pm UTC](https://discourse.julialang.org/t/something-is-broken-perhaps-nonlinearsolve/132483 "2025-09-18T16:13:36Z")

</div>

Since two days something is broken: Info Packages marked with ⌃ and ⌅ have new versions available. Those with ⌃ may be upgradable, but those with ⌅ are restricted by compatibility constraints from upgrading. To …

---

## [Pluto "custom cell"](https://discourse.julialang.org/t/pluto-custom-cell/132224)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kagalenko](https://discourse.julialang.org/u/Mikhail_Kagalenko)\
**Replies:** 9\
**Last updated:** [September 18, 2025, 3:01pm UTC](https://discourse.julialang.org/t/pluto-custom-cell/132224 "2025-09-18T15:01:21Z")

</div>

I would like to create in my notebook a custom cell, that looks and acts just like normal one, but the code within is parsed to an Expr tree that I can examine before Julia runs it. Can that be achieved using Pluto/Pluto…

---

## [Dynamically updating plots (heatmap) in Gtk4.jl and Gtk4Makie.jl](https://discourse.julialang.org/t/dynamically-updating-plots-heatmap-in-gtk4-jl-and-gtk4makie-jl/131653)

<div class="topic-metadata">

**Author:** [@dopamine](https://discourse.julialang.org/u/dopamine)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 1:56pm UTC](https://discourse.julialang.org/t/dynamically-updating-plots-heatmap-in-gtk4-jl-and-gtk4makie-jl/131653 "2025-09-18T13:56:13Z")

</div>

I’ve been trying to set up a Makie plot (using GLMakie) inside a GtkFrame (Gtk4.jl) and update it programmatically on demand. I can make it work with CairoMakie, but currently trying to use GLMakie instead to minimize la…

---

## [Unpack types in Union](https://discourse.julialang.org/t/unpack-types-in-union/75803)

<div class="topic-metadata">

**Author:** [@gcalderone](https://discourse.julialang.org/u/gcalderone)\
**Replies:** 22\
**Last updated:** [September 18, 2025, 1:09pm UTC](https://discourse.julialang.org/t/unpack-types-in-union/75803 "2025-09-18T13:09:20Z")

</div>

I would like to extract a Vector{DataType} from a Union. I found the solution shown below, but it looks weird to me, and non-idiomatic. Is there a better way to unpack types in a Union? My solution: unpack\_union(tt::…

---

## [Tool for cleaning up imports?](https://discourse.julialang.org/t/tool-for-cleaning-up-imports/132482)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 1\
**Last updated:** [September 18, 2025, 12:35pm UTC](https://discourse.julialang.org/t/tool-for-cleaning-up-imports/132482 "2025-09-18T12:35:44Z")

</div>

Is there a tool for cleaning up import statements? When a package grows, I often end up with a long and messy list of imports that usually contains many duplicate imports. Instead, I would like to have each import once …

---

## [SteadyStateProblem solved result problem](https://discourse.julialang.org/t/steadystateproblem-solved-result-problem/88511)

<div class="topic-metadata">

**Author:** [@hzgzh](https://discourse.julialang.org/u/hzgzh)\
**Replies:** 26\
**Last updated:** [September 18, 2025, 11:39am UTC](https://discourse.julialang.org/t/steadystateproblem-solved-result-problem/88511 "2025-09-18T11:39:39Z")

</div>

My problem as code using ModelingToolkit @variables t x(t) # independent and dependent variables @parameters τ # parameters D = Differential(t) # define an operator for the differentiation w.r.t. time # your f…

---

## [CUDA.jl: Unexpected \`mapreduce\` error: threads per block exceed GPU limit (640 \> 512](https://discourse.julialang.org/t/cuda-jl-unexpected-mapreduce-error-threads-per-block-exceed-gpu-limit-640-512/131778)

<div class="topic-metadata">

**Author:** [@ykkan](https://discourse.julialang.org/u/ykkan)\
**Replies:** 9\
**Last updated:** [September 18, 2025, 11:27am UTC](https://discourse.julialang.org/t/cuda-jl-unexpected-mapreduce-error-threads-per-block-exceed-gpu-limit-640-512/131778 "2025-09-18T11:27:07Z")

</div>

Hello everyone, I am using mapreduce from CUDA.jl to compute the sum of function evaluations over an array of SVector{7,T} data. The code looks roughly like this: function func(x1, x2, x3, x4, x5, x6, x7, x8, x9) …

---

## [GitError when another user tries to add my package from shared file server](https://discourse.julialang.org/t/giterror-when-another-user-tries-to-add-my-package-from-shared-file-server/132466)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 13\
**Last updated:** [September 18, 2025, 8:31am UTC](https://discourse.julialang.org/t/giterror-when-another-user-tries-to-add-my-package-from-shared-file-server/132466 "2025-09-18T08:31:07Z")

</div>

I am able to add and use this package without issue, but if anyone else at my company tries to use it, they get this error. How can I permit anyone with access to the network drive to use my packages? Input: Pkg.add(pa…

---

## [This month in Julia world - 2025-08](https://discourse.julialang.org/t/this-month-in-julia-world-2025-08/132405)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 9\
**Last updated:** [September 18, 2025, 8:24am UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2025-08/132405 "2025-09-18T08:24:42Z")

</div>

A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what a clique of us found interesting this month, with contributions from the community. For …

---

## [Trusted libraries/packages - "package managers are evil"](https://discourse.julialang.org/t/trusted-libraries-packages-package-managers-are-evil/132320)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 12\
**Last updated:** [September 18, 2025, 8:23am UTC](https://discourse.julialang.org/t/trusted-libraries-packages-package-managers-are-evil/132320 "2025-09-18T08:23:55Z")

</div>

We implicitly trust all packages we use, for security (and bugs). I realized maybe we shouldn’t and packages should be untrusted by default. How could you do it? I see two ways. you could do: using trusted \<package\> …

---

## [Workshop on Asynchronous Many-Task Systems and Applications (WAMTA 2026)](https://discourse.julialang.org/t/workshop-on-asynchronous-many-task-systems-and-applications-wamta-2026/132479)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 8:05am UTC](https://discourse.julialang.org/t/workshop-on-asynchronous-many-task-systems-and-applications-wamta-2026/132479 "2025-09-18T08:05:45Z")

</div>

If this is in the wrong category please advise. This workshop focuses on the advantages of task-based programming on current and future high-performance computing (HPC) systems. It will bring together developers, user…

---

## [Why won't julia ERROR if a variable is not defined when scheduling?](https://discourse.julialang.org/t/why-wont-julia-error-if-a-variable-is-not-defined-when-scheduling/132438)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 22\
**Last updated:** [September 18, 2025, 7:01am UTC](https://discourse.julialang.org/t/why-wont-julia-error-if-a-variable-is-not-defined-when-scheduling/132438 "2025-09-18T07:01:22Z")

</div>

I’m very confused by this behavior: # start a new julia REPL julia\> function work(b) sleep(3) println(b) end; julia\> function main() t = Task(() -\> work(c)) schedule(t…

---

## [Can Julia Play a Role in Blockchain and Crypto Exchange Development?](https://discourse.julialang.org/t/can-julia-play-a-role-in-blockchain-and-crypto-exchange-development/132476)

<div class="topic-metadata">

**Author:** [@evangelineclaire07](https://discourse.julialang.org/u/evangelineclaire07)\
**Replies:** 0\
**Last updated:** [September 18, 2025, 5:01am UTC](https://discourse.julialang.org/t/can-julia-play-a-role-in-blockchain-and-crypto-exchange-development/132476 "2025-09-18T05:01:16Z")

</div>

Julia has already proven its strength in areas like scientific computing, AI, and financial modeling — but can it also play a role in the next generation of blockchain applications? For example: Smart contract auditin…

---

## [Slow model construction and solving with parameters](https://discourse.julialang.org/t/slow-model-construction-and-solving-with-parameters/132470)

<div class="topic-metadata">

**Author:** [@chensunn](https://discourse.julialang.org/u/chensunn)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 9:54pm UTC](https://discourse.julialang.org/t/slow-model-construction-and-solving-with-parameters/132470 "2025-09-17T21:54:05Z")

</div>

I am trying to solve a problem where I wish to parameterize certain constants in my model for use in DiffOpt.jl. I use the constants to recursively generate a signal that I use elsewhere in the model. Formulating this pr…

---

## [Check availability of AVX-512, AVX2 etc?](https://discourse.julialang.org/t/check-availability-of-avx-512-avx2-etc/132467)

<div class="topic-metadata">

**Author:** [@Norman](https://discourse.julialang.org/u/Norman)\
**Replies:** 1\
**Last updated:** [September 17, 2025, 7:46pm UTC](https://discourse.julialang.org/t/check-availability-of-avx-512-avx2-etc/132467 "2025-09-17T19:46:26Z")

</div>

Is there a standard/simple way in Julia to tell whether the CPU running Julia supports features like AVX-512, AVX2 etc? I want to have a helper function that returns the approapriate length for a SIMD Vector (Vec) to be…

---

## [How do I define a structure inside a function?](https://discourse.julialang.org/t/how-do-i-define-a-structure-inside-a-function/132379)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 8\
**Last updated:** [September 15, 2025, 9:47pm UTC](https://discourse.julialang.org/t/how-do-i-define-a-structure-inside-a-function/132379 "2025-09-15T21:47:33Z")

</div>

Hello, I want to define a structure inside a function: function PrintDate(d::Date) struct Date day::Int64 month::String year::Int64 end println(d.day,d.month,d.year) end chmas = Da…

---

## [Pool of locks?](https://discourse.julialang.org/t/pool-of-locks/132457)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 4\
**Last updated:** [September 17, 2025, 3:01pm UTC](https://discourse.julialang.org/t/pool-of-locks/132457 "2025-09-17T15:01:39Z")

</div>

I want to parallelize a for loop across multiple threads. Each thread will update some shared memory, so I need to avoid concurrent access of that memory. One way is to simply give each thread a copy of the shared memor…

---

## [OhMyThreads, ChunkSplitters, and Cost Estimates](https://discourse.julialang.org/t/ohmythreads-chunksplitters-and-cost-estimates/132449)

<div class="topic-metadata">

**Author:** [@afleming](https://discourse.julialang.org/u/afleming)\
**Replies:** 2\
**Last updated:** [September 16, 2025, 9:27pm UTC](https://discourse.julialang.org/t/ohmythreads-chunksplitters-and-cost-estimates/132449 "2025-09-16T21:27:04Z")

</div>

I’ve run into a situation that I believe ought to be a “solved problem”, or at least have a canonical solution somewhere in the collective knowledge about OhMyThreads.jl and ChunkSplitters.jl. I have a large finite-volu…

---

## [\[ANN\] Structured Prompt Engineering Made Simple with PomlSDK.jl](https://discourse.julialang.org/t/ann-structured-prompt-engineering-made-simple-with-pomlsdk-jl/132461)

<div class="topic-metadata">

**Author:** [@hamza\_souidi](https://discourse.julialang.org/u/hamza_souidi)\
**Replies:** 0\
**Last updated:** [September 17, 2025, 10:51am UTC](https://discourse.julialang.org/t/ann-structured-prompt-engineering-made-simple-with-pomlsdk-jl/132461 "2025-09-17T10:51:31Z")

</div>

Today I’m excited to introduce PomlSDK.jl, a new Julia package that brings structured prompt engineering to the Julia ecosystem through Microsoft’s Prompt Orchestration Markup Language (POML) standard. What is PomlSDK.j…

---

## [Sparse 3D arrays](https://discourse.julialang.org/t/sparse-3d-arrays/16488)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 10\
**Last updated:** [September 17, 2025, 7:17am UTC](https://discourse.julialang.org/t/sparse-3d-arrays/16488 "2025-09-17T07:17:41Z")

</div>

It seems that SparseArrays only offers sparse vectors and matrices. Are there packages for higher dimensional sparse arrays? I am mainly interested in 3d.

---

## [Updating to 1.11.7 causes PyCall to fail to build](https://discourse.julialang.org/t/updating-to-1-11-7-causes-pycall-to-fail-to-build/132427)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 4\
**Last updated:** [September 17, 2025, 7:07am UTC](https://discourse.julialang.org/t/updating-to-1-11-7-causes-pycall-to-fail-to-build/132427 "2025-09-17T07:07:47Z")

</div>

I just updated Julia from 1.11.6 to 1.11.7. Then some of my packages such as PyCall cannot be built any more. Here’s the error — Building Conda ─→ \`~/.julia/scratchspaces/44cfe95a-1eb2-52ea-b672-e2afdf69b78f/b19db39…

---

## [Which direction: DifferentiatonInterface, Enzyme, Zygote with CUDA and FFTs?](https://discourse.julialang.org/t/which-direction-differentiatoninterface-enzyme-zygote-with-cuda-and-ffts/132225)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 20\
**Last updated:** [September 17, 2025, 6:51am UTC](https://discourse.julialang.org/t/which-direction-differentiatoninterface-enzyme-zygote-with-cuda-and-ffts/132225 "2025-09-17T06:51:26Z")

</div>

Hi! For the third time, I am trying to implement some wave optics algorithms in Julia but each time I start, I suffer a bit from the current automatic differentiation status. In principle, my functions look like: func…

---

## [Make Lux.jl/Zygote.jl choose gradient type based on the superset of the weight type](https://discourse.julialang.org/t/make-lux-jl-zygote-jl-choose-gradient-type-based-on-the-superset-of-the-weight-type/132453)

<div class="topic-metadata">

**Author:** [@IBArbitrary](https://discourse.julialang.org/u/IBArbitrary)\
**Replies:** 0\
**Last updated:** [September 17, 2025, 5:46am UTC](https://discourse.julialang.org/t/make-lux-jl-zygote-jl-choose-gradient-type-based-on-the-superset-of-the-weight-type/132453 "2025-09-17T05:46:01Z")

</div>

I am using Lux.jl to implement models whose weights are complex, and the output can be real or complex. If i keep the output real and the weights complex, I cannot compute gradients because the gradient container is dete…

---

## [Sparse arrays of higher order](https://discourse.julialang.org/t/sparse-arrays-of-higher-order/42875)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 4\
**Last updated:** [September 17, 2025, 2:12am UTC](https://discourse.julialang.org/t/sparse-arrays-of-higher-order/42875 "2025-09-17T02:12:46Z")

</div>

Are there any good packages which have a similar feature as SparseArrays.SparseMatrixCSC but with higher order arrays? For example, a sparse array with 3 indices or 4 indices, stored in a similar way to a sparse matrix, …

---

## [Eval in Turing model](https://discourse.julialang.org/t/eval-in-turing-model/132397)

<div class="topic-metadata">

**Author:** [@Cyan](https://discourse.julialang.org/u/Cyan)\
**Replies:** 4\
**Last updated:** [September 16, 2025, 11:08pm UTC](https://discourse.julialang.org/t/eval-in-turing-model/132397 "2025-09-16T23:08:52Z")

</div>

Hi, all. I am confusing if I use eval function like eval(Meta.parse("sigma ~ Normal(0,1)")) does it will affect the speed of model?

---

## [Preventing Enzyme from differentiating through constant computations](https://discourse.julialang.org/t/preventing-enzyme-from-differentiating-through-constant-computations/132445)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 1\
**Last updated:** [September 16, 2025, 5:58pm UTC](https://discourse.julialang.org/t/preventing-enzyme-from-differentiating-through-constant-computations/132445 "2025-09-16T17:58:27Z")

</div>

I am training a neural network by computing the gradient of the loss with Enzyme. Part of my computations involve associated Legendre polynomials. I did not believe these to be a crucial part of the differentiation becau…

---

## [Version v1.11.7 fails to build from source](https://discourse.julialang.org/t/version-v1-11-7-fails-to-build-from-source/132443)

<div class="topic-metadata">

**Author:** [@Dylan\_Thurston](https://discourse.julialang.org/u/Dylan_Thurston)\
**Replies:** 5\
**Last updated:** [September 16, 2025, 3:43pm UTC](https://discourse.julialang.org/t/version-v1-11-7-fails-to-build-from-source/132443 "2025-09-16T15:43:18Z")

</div>

I tried to update to the latest v1.11.7, and it fails to build from source (on my Debian GNU/Linux system). I get a lot of error messages, starting with complaints about SIZE\_MAX being undefined when compiling src/debugi…

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

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