# Latest

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

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

**Page:** 130

---

## [DifferentiationInterface+ForwardDiff unable to diff ldiv! (any other options to solve linear system w/o allocations and differentiate?)](https://discourse.julialang.org/t/differentiationinterface-forwarddiff-unable-to-diff-ldiv-any-other-options-to-solve-linear-system-w-o-allocations-and-differentiate/131076)

<div class="topic-metadata">

**Author:** [@r0uv3n](https://discourse.julialang.org/u/r0uv3n)\
**Replies:** 34\
**Last updated:** [July 28, 2025, 4:30pm UTC](https://discourse.julialang.org/t/differentiationinterface-forwarddiff-unable-to-diff-ldiv-any-other-options-to-solve-linear-system-w-o-allocations-and-differentiate/131076 "2025-07-28T16:30:11Z")

</div>

I have a function where both a matrix g as well as a vector q depend on some vector input p. On the way I need to solve for g^{-1} q. I want to use DifferentiationInterface+AutoForwardDiff to take derivatives of this fu…

---

## [WGLMakie - share Figure](https://discourse.julialang.org/t/wglmakie-share-figure/131162)

<div class="topic-metadata">

**Author:** [@NaSi](https://discourse.julialang.org/u/NaSi)\
**Replies:** 0\
**Last updated:** [July 29, 2025, 8:49am UTC](https://discourse.julialang.org/t/wglmakie-share-figure/131162 "2025-07-29T08:49:45Z")

</div>

Hi =) I would like to create an interactive plot using : using WGLMakie WGLMakie.activate!() f = Figure(; size = (1000, 800)) ax1 = Axis3(f\[1, 2\], aspect = (1, 1, 1.5), xlabel = "x \[m\]",ylabel = "y \[m\]",zlabel = "z \[m\]…

---

## [Avoid allocations in one-dimensional Optim when target expects vector](https://discourse.julialang.org/t/avoid-allocations-in-one-dimensional-optim-when-target-expects-vector/131159)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 5\
**Last updated:** [July 29, 2025, 8:48am UTC](https://discourse.julialang.org/t/avoid-allocations-in-one-dimensional-optim-when-target-expects-vector/131159 "2025-07-29T08:48:35Z")

</div>

Hi, I’m in an optimization situation where I have an objective function that expects a vector input, but the optimization problem is over just one variable, so I’d like to use Brent’s algorithm. To make it compatible wit…

---

## [Receive the success status of \`pop!(Set, element)\`](https://discourse.julialang.org/t/receive-the-success-status-of-pop-set-element/131089)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 6\
**Last updated:** [July 29, 2025, 7:54am UTC](https://discourse.julialang.org/t/receive-the-success-status-of-pop-set-element/131089 "2025-07-29T07:54:44Z")

</div>

Continuing the discussion from Receive the success status of \`push!(Set, element)\`: The following defined method # collect \`e\` into \`S\`, return success status collect!(S, e) = !in!(e, S) should have an inverse, which …

---

## [Semantically equivalent expressions with wildly different performance](https://discourse.julialang.org/t/semantically-equivalent-expressions-with-wildly-different-performance/131123)

<div class="topic-metadata">

**Author:** [@bremez](https://discourse.julialang.org/u/bremez)\
**Replies:** 10\
**Last updated:** [July 28, 2025, 2:54pm UTC](https://discourse.julialang.org/t/semantically-equivalent-expressions-with-wildly-different-performance/131123 "2025-07-28T14:54:10Z")

</div>

I came across the following example when I needed something that beats the performance of LinearAlgebra’s build in mul!(M, x, y'). Any known reason for this huge difference in performance? Tested on 11.6. using Benchmar…

---

## [How to use OhMyREPL's FZF history search with NixOS](https://discourse.julialang.org/t/how-to-use-ohmyrepls-fzf-history-search-with-nixos/131150)

<div class="topic-metadata">

**Author:** [@torgo](https://discourse.julialang.org/u/torgo)\
**Replies:** 4\
**Last updated:** [July 29, 2025, 7:18am UTC](https://discourse.julialang.org/t/how-to-use-ohmyrepls-fzf-history-search-with-nixos/131150 "2025-07-29T07:18:55Z")

</div>

I’m trying to use OhMyREPL’s fuzzy history search, which uses fzf. I am on NixOS and I have the fzf binary available, but I think OMR tries to use it’s own fzf which is not something that NixOS can run. When I try Ctrl+R…

---

## [Best way to parallelize for loop with given thread number](https://discourse.julialang.org/t/best-way-to-parallelize-for-loop-with-given-thread-number/131141)

<div class="topic-metadata">

**Author:** [@Leibniz](https://discourse.julialang.org/u/Leibniz)\
**Replies:** 2\
**Last updated:** [July 29, 2025, 3:32am UTC](https://discourse.julialang.org/t/best-way-to-parallelize-for-loop-with-given-thread-number/131141 "2025-07-29T03:32:21Z")

</div>

Greetings, what is the most efficient way to parallelize a for loop if I only want to use n of N active global threads? The way I understand it, Threads.@threads for it in 1:nthreads will use all available threads wh…

---

## [Strange data race problems in multi-threaded code (a possible solution)](https://discourse.julialang.org/t/strange-data-race-problems-in-multi-threaded-code-a-possible-solution/130772)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 15\
**Last updated:** [July 29, 2025, 1:51am UTC](https://discourse.julialang.org/t/strange-data-race-problems-in-multi-threaded-code-a-possible-solution/130772 "2025-07-29T01:51:46Z")

</div>

The actual code that runs into problem is like the following: s = mol.max\_buf\_size Threads.@threads for ijkl = 1 : nbas^4 t1, l = divrem(ijkl-1, nbas) t2, k = divrem(t1, nbas) i, j = divrem(t2, nbas) she…

---

## [Rrule for zygote](https://discourse.julialang.org/t/rrule-for-zygote/131069)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 7\
**Last updated:** [July 29, 2025, 1:37am UTC](https://discourse.julialang.org/t/rrule-for-zygote/131069 "2025-07-29T01:37:23Z")

</div>

Hi, I am using rrule for gradient calculation in zygote. I defined a function which calculates the gradients and I just call that function inside the entire gradient calculation. Can zygote handle this type of rule? fun…

---

## [ANN: TraitInterfaces.jl - explicit interfaces in Julia](https://discourse.julialang.org/t/ann-traitinterfaces-jl-explicit-interfaces-in-julia/131151)

<div class="topic-metadata">

**Author:** [@kris-brown](https://discourse.julialang.org/u/kris-brown)\
**Replies:** 0\
**Last updated:** [July 28, 2025, 11:01pm UTC](https://discourse.julialang.org/t/ann-traitinterfaces-jl-explicit-interfaces-in-julia/131151 "2025-07-28T23:01:53Z")

</div>

Hi, I’m pleased to share TraitInterfaces.jl. It provides an @interface macro to declare interfaces and an @instance macro to declare implementations of those interfaces. These implementations are identified with Julia va…

---

## [\[ANN\] Mongoose.jl - Build simple web servers](https://discourse.julialang.org/t/ann-mongoose-jl-build-simple-web-servers/131117)

<div class="topic-metadata">

**Author:** [@AbrJA](https://discourse.julialang.org/u/AbrJA)\
**Replies:** 7\
**Last updated:** [July 28, 2025, 8:51pm UTC](https://discourse.julialang.org/t/ann-mongoose-jl-build-simple-web-servers/131117 "2025-07-28T20:51:08Z")

</div>

Hi there, I just want to share this new package Mongoose.jl I developed as a personal project to dig in into Julia, it can be used to build simple web apps. It is build on top of mongoose c library. Developing an API r…

---

## [Comparison tables for various Julia packages](https://discourse.julialang.org/t/comparison-tables-for-various-julia-packages/128786)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 21\
**Last updated:** [July 28, 2025, 6:23pm UTC](https://discourse.julialang.org/t/comparison-tables-for-various-julia-packages/128786 "2025-07-28T18:23:28Z")

</div>

Context Julia enthusiasts are always pitching the language to colleagues, and despite various technical arguments, we often fail to show how the language can concretely impact scientist’s productivity. Given this contex…

---

## [Accepted mask type for Augmentor.jl](https://discourse.julialang.org/t/accepted-mask-type-for-augmentor-jl/131142)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 0\
**Last updated:** [July 28, 2025, 5:56pm UTC](https://discourse.julialang.org/t/accepted-mask-type-for-augmentor-jl/131142 "2025-07-28T17:56:11Z")

</div>

Cheers, I’m a new Augmentor.jl user. Need to apply same augmentation to images and masks for training a semantic segmentation model. Augmentation of images has worked out smoothly. Issue is when augmenting masks as the …

---

## [Finding a region of attraction using sum of squares optimization](https://discourse.julialang.org/t/finding-a-region-of-attraction-using-sum-of-squares-optimization/131067)

<div class="topic-metadata">

**Author:** [@lieskjur](https://discourse.julialang.org/u/lieskjur)\
**Replies:** 10\
**Last updated:** [July 28, 2025, 5:46pm UTC](https://discourse.julialang.org/t/finding-a-region-of-attraction-using-sum-of-squares-optimization/131067 "2025-07-28T17:46:18Z")

</div>

Out of interest I decided to explore sum of squares optimization in the context of Lyapunov functions. Right now I’d like to use it to find the region of attraction for the value function (viewed as a Lyapunov function) …

---

## [Help optimizing my generic sigma clipping function in Julia](https://discourse.julialang.org/t/help-optimizing-my-generic-sigma-clipping-function-in-julia/131132)

<div class="topic-metadata">

**Author:** [@Matt\_jl](https://discourse.julialang.org/u/Matt_jl)\
**Replies:** 2\
**Last updated:** [July 28, 2025, 5:36pm UTC](https://discourse.julialang.org/t/help-optimizing-my-generic-sigma-clipping-function-in-julia/131132 "2025-07-28T17:36:14Z")

</div>

Hi everyone, I’m working on a small personal project and wrote this sigma clipping function in Julia. It works fine so far, but I’m definitely not an expert and I feel like it could be way more efficient — especially to…

---

## [Memory problem when using SlurmClusterManager.jl to add workers](https://discourse.julialang.org/t/memory-problem-when-using-slurmclustermanager-jl-to-add-workers/131039)

<div class="topic-metadata">

**Author:** [@CeterisPartybus](https://discourse.julialang.org/u/CeterisPartybus)\
**Replies:** 6\
**Last updated:** [July 28, 2025, 5:32pm UTC](https://discourse.julialang.org/t/memory-problem-when-using-slurmclustermanager-jl-to-add-workers/131039 "2025-07-28T17:32:11Z")

</div>

I am new to using Distributed.jl on a cluster. I am trying to run jobs on a cluster with multiple nodes. Even though I specify a single node my Julia program should run on in the batch file, there seems to be a problem t…

---

## [Introducing DCM.jl: a Julia package to estimate Discrete Choice Models](https://discourse.julialang.org/t/introducing-dcm-jl-a-julia-package-to-estimate-discrete-choice-models/131122)

<div class="topic-metadata">

**Author:** [@ig\_hdez](https://discourse.julialang.org/u/ig_hdez)\
**Replies:** 3\
**Last updated:** [July 28, 2025, 4:13pm UTC](https://discourse.julialang.org/t/introducing-dcm-jl-a-julia-package-to-estimate-discrete-choice-models/131122 "2025-07-28T16:13:18Z")

</div>

Hi everyone! I’m glad to share DCM.jl, a new Julia package for estimating Discrete Choice Models (Logit, Mixed Logit, Latent Class) with a focus on speed, modularity, and transparency. Some key features: Model utili…

---

## [\[ANN\] IntervalArithmetic 0.23](https://discourse.julialang.org/t/ann-intervalarithmetic-0-23/131136)

<div class="topic-metadata">

**Author:** [@OlivierHnt](https://discourse.julialang.org/u/OlivierHnt)\
**Replies:** 0\
**Last updated:** [July 28, 2025, 3:38pm UTC](https://discourse.julialang.org/t/ann-intervalarithmetic-0-23/131136 "2025-07-28T15:38:14Z")

</div>

Dear all, It’s been a while since our last announcement about IntervalArithmetic.jl. We’d like to share what’s been happening over the past two years, and where the package is headed next. From v0.20 to v0.22 Version 0…

---

## [DifferentiationInterface do-block best practices](https://discourse.julialang.org/t/differentiationinterface-do-block-best-practices/131125)

<div class="topic-metadata">

**Author:** [@afleming](https://discourse.julialang.org/u/afleming)\
**Replies:** 1\
**Last updated:** [July 28, 2025, 3:15pm UTC](https://discourse.julialang.org/t/differentiationinterface-do-block-best-practices/131125 "2025-07-28T15:15:18Z")

</div>

Is it better / recommended to use do-blocks that capture variables or should I use the Context mechanism provided by DifferentiationInterface? Even though this pack = (y0 = 1.0, y1 = 2.0) x1 = \[2.0, 4.0\] jac = Differen…

---

## [Adding support for \`julia-repl\` syntax highlighting](https://discourse.julialang.org/t/adding-support-for-julia-repl-syntax-highlighting/104357)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.julialang.org/u/Mason)\
**Replies:** 16\
**Last updated:** [July 28, 2025, 2:37pm UTC](https://discourse.julialang.org/t/adding-support-for-julia-repl-syntax-highlighting/104357 "2025-07-28T14:37:01Z")

</div>

Is it possible to add custom syntax highlighting to our Discourse instance? In the julia zulip chat (please come check it out! https://julialang.zulipchat.com/), we have an additional highlighting option called julia-rep…

---

## [Calling complete() adds differential constraints to algebraic extension of ReactionSystem](https://discourse.julialang.org/t/calling-complete-adds-differential-constraints-to-algebraic-extension-of-reactionsystem/131115)

<div class="topic-metadata">

**Author:** [@spackman](https://discourse.julialang.org/u/spackman)\
**Replies:** 2\
**Last updated:** [July 28, 2025, 2:07pm UTC](https://discourse.julialang.org/t/calling-complete-adds-differential-constraints-to-algebraic-extension-of-reactionsystem/131115 "2025-07-28T14:07:17Z")

</div>

Hey guys, I’m doing some experimentation with Catalyst.jl and algebraic equations to define systems where the system volume is not constant. This can occur when the major solvent is a reactant in appreciable quantities…

---

## [RequestError: schannel: failed to open CA file 'C:\\ProgramDatanaconda3\_2024\_10\_1\\Library\\ssl': Unknown error 123 (0x0000007B](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 3\
**Last updated:** [July 28, 2025, 1:59pm UTC](https://discourse.julialang.org/t/requesterror-schannel-failed-to-open-ca-file-c-programdatanaconda3-2024-10-1-library-ssl-unknown-error-123-0x0000007b/131130 "2025-07-28T13:59:30Z")

</div>

When I updated the Julia library, I encountered an error. However, it was working fine before. Has anyone encountered such a problem? julia\> versioninfo() Julia Version 1.10.4 Commit 48d4fd4843 (2024-06-04 10:41 UTC) Bu…

---

## [Mixed Logit Model in Julia](https://discourse.julialang.org/t/mixed-logit-model-in-julia/24995)

<div class="topic-metadata">

**Author:** [@ig\_hdez](https://discourse.julialang.org/u/ig_hdez)\
**Replies:** 9\
**Last updated:** [July 28, 2025, 12:07pm UTC](https://discourse.julialang.org/t/mixed-logit-model-in-julia/24995 "2025-07-28T12:07:32Z")

</div>

Hi everyone! I’ve created a script to estimate Mixed Logit Models based on the codes of Kenneth Train (Kenneth Train's Software) for MATLAB. The code and an example can be found here: https://github.com/ighdez/MultiLog…

---

## [Double ANN: SignalDecomposition.jl + TimeseriesSurrogates.jl](https://discourse.julialang.org/t/double-ann-signaldecomposition-jl-timeseriessurrogates-jl/40072)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 10\
**Last updated:** [July 28, 2025, 9:52am UTC](https://discourse.julialang.org/t/double-ann-signaldecomposition-jl-timeseriessurrogates-jl/40072 "2025-07-28T09:52:07Z")

</div>

Because I have been posting a lot of announcements lately, and because I don’t want people to start hating me for unending spam, I will announce two new packages in JuliaDynamics in this post: SignalDecomposition.jl and …

---

## [Skew Student T Distr? (Hansen or Fernandes Steel)](https://discourse.julialang.org/t/skew-student-t-distr-hansen-or-fernandes-steel/131041)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 6\
**Last updated:** [July 26, 2025, 7:32pm UTC](https://discourse.julialang.org/t/skew-student-t-distr-hansen-or-fernandes-steel/131041 "2025-07-26T19:32:13Z")

</div>

Hi, is there a Skew Student T implementation in Julia? Hansen or Fernandes-Steel variants, with analytical pdf, cdf, quantile?

---

## [Understanding typing rules](https://discourse.julialang.org/t/understanding-typing-rules/131087)

<div class="topic-metadata">

**Author:** [@benc](https://discourse.julialang.org/u/benc)\
**Replies:** 4\
**Last updated:** [July 28, 2025, 8:11am UTC](https://discourse.julialang.org/t/understanding-typing-rules/131087 "2025-07-28T08:11:32Z")

</div>

Hi, In the following expression using StaticArrays using Random Random.seed(42) a = SVector{2, Float64}(1.0, 2) b = a + rand(2) I was initially (incorrectly) expecting that b’s type would be SVector{2, Float64}. In…

---

## [Showing a BitVector in NamedTuple](https://discourse.julialang.org/t/showing-a-bitvector-in-namedtuple/131048)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 17\
**Last updated:** [July 28, 2025, 5:37am UTC](https://discourse.julialang.org/t/showing-a-bitvector-in-namedtuple/131048 "2025-07-28T05:37:26Z")

</div>

I find a bit of inconsistency, probably about showing a NamedTuple julia\> v = \[1, 0, 1.\]; julia\> nt = (bitvec = Bool.(v),) # the following output is not accurate (bitvec = Bool\[1, 0, 1\],) julia\> nt.bitvec 3-element Bi…

---

## [Understanding dispatch through TypeVar](https://discourse.julialang.org/t/understanding-dispatch-through-typevar/131091)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 4\
**Last updated:** [July 27, 2025, 8:53pm UTC](https://discourse.julialang.org/t/understanding-dispatch-through-typevar/131091 "2025-07-27T20:53:44Z")

</div>

I’m trying to understand how dispatch happens through TypeVars related to some debugging of Mooncake.jl internals. For example: julia\> foo(::Type{\<:Array{T,N}}) where {T,N} = N foo (generic function with 1 method) juli…

---

## [Pkg: private repository usage and keys](https://discourse.julialang.org/t/pkg-private-repository-usage-and-keys/15575)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 35\
**Last updated:** [July 27, 2025, 8:37pm UTC](https://discourse.julialang.org/t/pkg-private-repository-usage-and-keys/15575 "2025-07-27T20:37:47Z")

</div>

I have several dependencies from a private repository and I’m trying to figure out how to add them. Following another thread here on discourse, it seems I should add the leaf dependencies first and work my way up. Firs…

---

## [Catalyst.jl - updating kinetic parameters to be time-dependent after loading a reaction network](https://discourse.julialang.org/t/catalyst-jl-updating-kinetic-parameters-to-be-time-dependent-after-loading-a-reaction-network/130989)

<div class="topic-metadata">

**Author:** [@spackman](https://discourse.julialang.org/u/spackman)\
**Replies:** 12\
**Last updated:** [July 27, 2025, 8:23pm UTC](https://discourse.julialang.org/t/catalyst-jl-updating-kinetic-parameters-to-be-time-dependent-after-loading-a-reaction-network/130989 "2025-07-27T20:23:59Z")

</div>

Hi there, I am trying to build a ReactionSystem with time-varying parameters using ReactionNetworkImporters.jl function loadrxnetwork(). I want to initialize the network with placeholder time-varying kinetic parameters …

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

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