# Latest

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

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

**Page:** 205

---

## [Conditional Multithreading](https://discourse.julialang.org/t/conditional-multithreading/32421)

<div class="topic-metadata">

**Author:** [@bjack205](https://discourse.julialang.org/u/bjack205)\
**Replies:** 12\
**Last updated:** [March 12, 2025, 11:50am UTC](https://discourse.julialang.org/t/conditional-multithreading/32421 "2025-03-12T11:50:04Z")

</div>

Is there a way to enable/disable calls to Threads.@threads? I’m developing an optimization solver, and when the problem is sufficiently small, using multi-threading hurts performance, and incurs allocations (my code doe…

---

## [Min/max swap using SIMD](https://discourse.julialang.org/t/min-max-swap-using-simd/126832)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 18\
**Last updated:** [March 12, 2025, 11:35am UTC](https://discourse.julialang.org/t/min-max-swap-using-simd/126832 "2025-03-12T11:35:22Z")

</div>

I would like to request some help to SIMD the following code: import Test: @test n = 10\_000\_000 A = repeat(\[3, 1, 4, 2, 7, 8, 5, 6\], outer=n); B = repeat(\[5, 6, 0, 7, 2, 3, 1, 4\], outer=n); C = copy(A); D = copy(B); …

---

## [DifferentialEquations.jl : supplied Jacobian solution takes more time and memory](https://discourse.julialang.org/t/differentialequations-jl-supplied-jacobian-solution-takes-more-time-and-memory/126761)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 12\
**Last updated:** [March 12, 2025, 11:35am UTC](https://discourse.julialang.org/t/differentialequations-jl-supplied-jacobian-solution-takes-more-time-and-memory/126761 "2025-03-12T11:35:22Z")

</div>

Hello, I want to supply the Jacobian to the ODE solver, it seems to me that on supplying the Jacobian the time and memory used by the solver is more than if I hadn’t supplied. I am using sparse matrices for memory effi…

---

## [Geostatistics in Julia](https://discourse.julialang.org/t/geostatistics-in-julia/126862)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 10:59am UTC](https://discourse.julialang.org/t/geostatistics-in-julia/126862 "2025-03-12T10:59:34Z")

</div>

In case you are not following the latest updates in our discourse thread, here is a comparison table that you can share with colleagues when they ask about the status of geo + stats software in Julia:

---

## [Is it possible to make \`HDF5\` show progress in \`copy\_object\`?](https://discourse.julialang.org/t/is-it-possible-to-make-hdf5-show-progress-in-copy-object/126860)

<div class="topic-metadata">

**Author:** [@VinceNeede](https://discourse.julialang.org/u/VinceNeede)\
**Replies:** 0\
**Last updated:** [March 12, 2025, 10:57am UTC](https://discourse.julialang.org/t/is-it-possible-to-make-hdf5-show-progress-in-copy-object/126860 "2025-03-12T10:57:34Z")

</div>

I was copying a big HDF5.Group and I was wondering whether there was a way to make copy\_object show a progress bar or something similar

---

## [Avoiding redundant computation when using Zygote and ForwardDiff for forward-over-reverse hessians](https://discourse.julialang.org/t/avoiding-redundant-computation-when-using-zygote-and-forwarddiff-for-forward-over-reverse-hessians/126827)

<div class="topic-metadata">

**Author:** [@IvanBioli](https://discourse.julialang.org/u/IvanBioli)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 8:53am UTC](https://discourse.julialang.org/t/avoiding-redundant-computation-when-using-zygote-and-forwarddiff-for-forward-over-reverse-hessians/126827 "2025-03-12T08:53:29Z")

</div>

I am computing the Hessian of a function using a combination of Zygote (reverse-mode AD) and ForwardDiff (forward-mode AD). A MWE of my current implementation is as follows: using Zygote, ForwardDiff, DiffResults # Def…

---

## [AD through DataInterpolations, ODE : Gradient calculation, parameter -\> time series -\> DataInterpolation](https://discourse.julialang.org/t/ad-through-datainterpolations-ode-gradient-calculation-parameter-time-series-datainterpolation/126758)

<div class="topic-metadata">

**Author:** [@Rohan\_Rajagopal](https://discourse.julialang.org/u/Rohan_Rajagopal)\
**Replies:** 2\
**Last updated:** [March 12, 2025, 5:46am UTC](https://discourse.julialang.org/t/ad-through-datainterpolations-ode-gradient-calculation-parameter-time-series-datainterpolation/126758 "2025-03-12T05:46:38Z")

</div>

Greetings! The question is regarding AD through DataInterpolations, ODE. The function is described as follows, using DataInterpolations, OrdinaryDiffEq, SciMLSensitivity, Zygote time = 0.:0.1:20 function temp(ps) …

---

## [Match.jl: Getting hold of regex captures? (\`\\1\` doesn't seem to work.)](https://discourse.julialang.org/t/match-jl-getting-hold-of-regex-captures-1-doesnt-seem-to-work/126455)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 3:26am UTC](https://discourse.julialang.org/t/match-jl-getting-hold-of-regex-captures-1-doesnt-seem-to-work/126455 "2025-03-12T03:26:19Z")

</div>

In general, is it possible to get hold of regex captures outside the RegexMatch object? In particular, can we get them in a pattern match of Match.jl This is what I have found so far: using Match function matchreg(s) …

---

## [Plotting solution on unstructured mesh along a cartesian line in VoronoiFVM.jl](https://discourse.julialang.org/t/plotting-solution-on-unstructured-mesh-along-a-cartesian-line-in-voronoifvm-jl/126258)

<div class="topic-metadata">

**Author:** [@chloisu](https://discourse.julialang.org/u/chloisu)\
**Replies:** 4\
**Last updated:** [March 12, 2025, 1:54am UTC](https://discourse.julialang.org/t/plotting-solution-on-unstructured-mesh-along-a-cartesian-line-in-voronoifvm-jl/126258 "2025-03-12T01:54:50Z")

</div>

Dear all, I am very happy that I came across VoronoiFVM.jl because it makes the development of a fully-implicit numerical simulation based on the finite volume method so much easier. Because I would like to resolve ele…

---

## [Inplace implementation for neural networks in Lux.jl](https://discourse.julialang.org/t/inplace-implementation-for-neural-networks-in-lux-jl/126749)

<div class="topic-metadata">

**Author:** [@Yang-yang](https://discourse.julialang.org/u/Yang-yang)\
**Replies:** 1\
**Last updated:** [March 12, 2025, 1:26am UTC](https://discourse.julialang.org/t/inplace-implementation-for-neural-networks-in-lux-jl/126749 "2025-03-12T01:26:26Z")

</div>

Hi everyone, I want to know if using an in-place version of the Lux layers is better. I noticed a related pull request https://github.com/LuxDL/Lux.jl/pull/463, but I don’t know why this pull request was canceled. Sinc…

---

## [Causal inference in Julia 2025?](https://discourse.julialang.org/t/causal-inference-in-julia-2025/126001)

<div class="topic-metadata">

**Author:** [@eteppo](https://discourse.julialang.org/u/eteppo)\
**Replies:** 9\
**Last updated:** [March 11, 2025, 11:36pm UTC](https://discourse.julialang.org/t/causal-inference-in-julia-2025/126001 "2025-03-11T23:36:57Z")

</div>

Hey! I’ve been reading about causal inference recently and trying to incorporate those methods into my research as much as I can. My impression is that many others are trying to do the same in various fields. I thought …

---

## [Supporting appending \`Vector\` in DuckDB](https://discourse.julialang.org/t/supporting-appending-vector-in-duckdb/126511)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 11:06pm UTC](https://discourse.julialang.org/t/supporting-appending-vector-in-duckdb/126511 "2025-03-11T23:06:55Z")

</div>

Hi all, following up from How to insert nested/composite types into DuckDB from a DataFrame? - #3 by slwu89 I’m peeking into what it would take to support inserting, say Vector{Int} into a DuckDB database using the appen…

---

## [Symbolics build function failed for Matrix](https://discourse.julialang.org/t/symbolics-build-function-failed-for-matrix/126828)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 9:13pm UTC](https://discourse.julialang.org/t/symbolics-build-function-failed-for-matrix/126828 "2025-03-11T21:13:50Z")

</div>

The following code is not being evaluated at all @variables ξ u\_h = \[1, ξ\] γ\_matrix = rand(ComplexF64, (2,2)) foo = eval.(build\_function.(γ\_matrix\*u\_h, ξ)) foo\[1\](0.) # 0.718261200283448 + 0.7541320221601713ξ + im\*(0.11…

---

## [DifferentialEquations not compiling](https://discourse.julialang.org/t/differentialequations-not-compiling/77764)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 5\
**Last updated:** [March 11, 2025, 8:41pm UTC](https://discourse.julialang.org/t/differentialequations-not-compiling/77764 "2025-03-11T20:41:13Z")

</div>

I’m using Juno and DifferentialEquations is failing to compile. LoadError: LoadError: LoadError: LoadError: UndefVarError: StatisticalModel not defined in expression starting at /Users/Veenty/.julia/packages/StatsBase/p…

---

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

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 5\
**Last updated:** [March 11, 2025, 6:49pm UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2025-02/126783 "2025-03-11T18:49:27Z")

</div>

A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community. Save the date fo…

---

## [Symbolics.jl symplify (-1 - x)^2](https://discourse.julialang.org/t/symbolics-jl-symplify-1-x-2/126825)

<div class="topic-metadata">

**Author:** [@Nichola](https://discourse.julialang.org/u/Nichola)\
**Replies:** 0\
**Last updated:** [March 11, 2025, 5:52pm UTC](https://discourse.julialang.org/t/symbolics-jl-symplify-1-x-2/126825 "2025-03-11T17:52:26Z")

</div>

I would like to simplify r = sqrt(16((1 + x)^2 + (-1 - x)^2)) with x\>0 with Symbolics.jl How can I approach this ? I first tried to introduce the rule rule = @rule (-1 - ~x)^2 =\> (1 + ~x)^2 But the following example d…

---

## [The Dynare Project is looking for independent Julia programmers - work remote](https://discourse.julialang.org/t/the-dynare-project-is-looking-for-independent-julia-programmers-work-remote/80593)

<div class="topic-metadata">

**Author:** [@MichelJuillard](https://discourse.julialang.org/u/MichelJuillard)\
**Replies:** 17\
**Last updated:** [March 11, 2025, 5:45pm UTC](https://discourse.julialang.org/t/the-dynare-project-is-looking-for-independent-julia-programmers-work-remote/80593 "2025-03-11T17:45:56Z")

</div>

The Dynare Project is looking for independent Julia programmers doing remote work. Dynare (https://www.dynare.org) is a Matlab/Octave toolbox for solving, simulating and estimating dynamic macroeconomic models. We are…

---

## [JuliaCon Local Paris 2025 - save the date!](https://discourse.julialang.org/t/juliacon-local-paris-2025-save-the-date/126822)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 5:05pm UTC](https://discourse.julialang.org/t/juliacon-local-paris-2025-save-the-date/126822 "2025-03-11T17:05:42Z")

</div>

Hi everyone, On behalf of the organizing committee, I am very pleased to announce the next edition of the JuliaCon Local conference. You liked Eindhoven 2023? Get ready for Paris 2025! https://juliacon.org/local/pari…

---

## [Pokemon Pocket Julia Notebook](https://discourse.julialang.org/t/pokemon-pocket-julia-notebook/126778)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [March 11, 2025, 4:45pm UTC](https://discourse.julialang.org/t/pokemon-pocket-julia-notebook/126778 "2025-03-11T16:45:44Z")

</div>

I created a Pluto Notebook to view and filter Pokemon Pocket cards. I think it ended up looking pretty nice, rendering images of the cards inside the data frames. I thought I would share it here in case anyone else plays…

---

## [The last update of Symbolics from 6.29.2 to 6.30](https://discourse.julialang.org/t/the-last-update-of-symbolics-from-6-29-2-to-6-30/126807)

<div class="topic-metadata">

**Author:** [@Naceur\_Bouziani](https://discourse.julialang.org/u/Naceur_Bouziani)\
**Replies:** 5\
**Last updated:** [March 11, 2025, 4:28pm UTC](https://discourse.julialang.org/t/the-last-update-of-symbolics-from-6-29-2-to-6-30/126807 "2025-03-11T16:28:41Z")

</div>

Hello :slight\_smile: The last update of Symbolics is causing errors that have something to do with occursin(var\_str, string(k)). I had to use this to retrieve the keys order of the solution variables … As soon as my co…

---

## [Product distribution allocates (a lot)](https://discourse.julialang.org/t/product-distribution-allocates-a-lot/126771)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 9\
**Last updated:** [March 11, 2025, 3:12pm UTC](https://discourse.julialang.org/t/product-distribution-allocates-a-lot/126771 "2025-03-11T15:12:17Z")

</div>

Hi, I just found out that in the following example, sampling from a Distributions.Product distribution is much slower and allocates much more than implementing the sampler manually. Is there something that I’m overlookin…

---

## [Why is my kernel as slow in FP32 as in FP64 on A2000 Ada-based GPU?](https://discourse.julialang.org/t/why-is-my-kernel-as-slow-in-fp32-as-in-fp64-on-a2000-ada-based-gpu/126809)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 10\
**Last updated:** [March 11, 2025, 2:39pm UTC](https://discourse.julialang.org/t/why-is-my-kernel-as-slow-in-fp32-as-in-fp64-on-a2000-ada-based-gpu/126809 "2025-03-11T14:39:58Z")

</div>

Hello, I am new to Julia and I wanted to use Float32 to debug my code expecting it be faster as my gpu provide only 1/64 of its performance in Float64. I was surprised to see that using Float32 was almost as slow as Fl…

---

## [Broadcasting log, ouch!](https://discourse.julialang.org/t/broadcasting-log-ouch/126798)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 1\
**Last updated:** [March 11, 2025, 1:53am UTC](https://discourse.julialang.org/t/broadcasting-log-ouch/126798 "2025-03-11T01:53:50Z")

</div>

Beware, beware. julia\> Ldmax = 1; Lddyn = 500; Ldmin = Ldmax/Lddyn; julia\> log.(Ldmin, Ldmax) -0.0 julia\> log.((Ldmin, Ldmax)) (-6.214608098422191, 0.0)

---

## [Julia Targeting Xilinx Vitis HLS](https://discourse.julialang.org/t/julia-targeting-xilinx-vitis-hls/63113)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 4\
**Last updated:** [March 11, 2025, 1:21pm UTC](https://discourse.julialang.org/t/julia-targeting-xilinx-vitis-hls/63113 "2025-03-11T13:21:43Z")

</div>

How difficult is it to get Julia to target Xilinx’s API for Julia algorithms direct to FPGA? https://forums.xilinx.com/t5/AI-and-Machine-Learning-Blog/Opening-a-World-of-Possibilities-Vitis-HLS-Front-end-is-Now-Open/ba-…

---

## [Installation Problem on MacOS 15.3.1](https://discourse.julialang.org/t/installation-problem-on-macos-15-3-1/126473)

<div class="topic-metadata">

**Author:** [@blau49](https://discourse.julialang.org/u/blau49)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 12:45pm UTC](https://discourse.julialang.org/t/installation-problem-on-macos-15-3-1/126473 "2025-03-11T12:45:46Z")

</div>

After installing Julia 1.11 on Mac OS 15.3.1 (Mac mini) and starting the following message occurs: “julia” kann nicht geöffnet werden, weil Julia nicht erlaubt ist, Dokumente in Terminal zu öffnen. Any suggestions?

---

## [Best way to concatenate Symbols?](https://discourse.julialang.org/t/best-way-to-concatenate-symbols/126806)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 3\
**Last updated:** [March 11, 2025, 10:16am UTC](https://discourse.julialang.org/t/best-way-to-concatenate-symbols/126806 "2025-03-11T10:16:11Z")

</div>

If I have two symbols: sym1 = :Hello sym2 = :World what is the best way to combine these: combine(sym1,sym2) to generate the symbol :HelloWorld? (In practice I have a macro with some input symbols, and I want to gen…

---

## [How to update Julia?](https://discourse.julialang.org/t/how-to-update-julia/82058)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 22\
**Last updated:** [March 11, 2025, 10:09am UTC](https://discourse.julialang.org/t/how-to-update-julia/82058 "2025-03-11T10:09:51Z")

</div>

How to update Julia?? :exploding\_head:

---

## [Type With Variable Number Of Parameters](https://discourse.julialang.org/t/type-with-variable-number-of-parameters/126409)

<div class="topic-metadata">

**Author:** [@Soel](https://discourse.julialang.org/u/Soel)\
**Replies:** 22\
**Last updated:** [March 11, 2025, 7:39am UTC](https://discourse.julialang.org/t/type-with-variable-number-of-parameters/126409 "2025-03-11T07:39:20Z")

</div>

Hello Julians, I am trying to define a parametric type MyType{T1,T2,T3,...} where the number of Ti’s may vary according to constructor’s arg… I’ve done something similar to: struct MyType{T} m::Union{T,Tuple{Vararg{T…

---

## [Jupyter cannot find the Julia 1.11 kernel](https://discourse.julialang.org/t/jupyter-cannot-find-the-julia-1-11-kernel/121155)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 16\
**Last updated:** [March 11, 2025, 7:06am UTC](https://discourse.julialang.org/t/jupyter-cannot-find-the-julia-1-11-kernel/121155 "2025-03-11T07:06:54Z")

</div>

There are some posts concerning the upgrade to version 1.11 with juliaup, but I cannot solve a problem that I have with Jupyter: it cannot find the new julia kernel. I’m sorry if someone feels that my question has been a…

---

## [Reading and writing BigInt to file](https://discourse.julialang.org/t/reading-and-writing-bigint-to-file/126726)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 17\
**Last updated:** [March 11, 2025, 1:54am UTC](https://discourse.julialang.org/t/reading-and-writing-bigint-to-file/126726 "2025-03-11T01:54:58Z")

</div>

I’m writing a package that creates a cryptographic key consisting of big prime numbers, and I need to write them to a file and read them back. Is there a preexisting library that does this, or do I have to write the code…

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

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