# Latest

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

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

**Page:** 147

---

## [Security Advisory: HTMLSanitizer.jl](https://discourse.julialang.org/t/security-advisory-htmlsanitizer-jl/130136)

<div class="topic-metadata">

**Author:** [@avik](https://discourse.julialang.org/u/avik)\
**Replies:** 0\
**Last updated:** [June 23, 2025, 2:29pm UTC](https://discourse.julialang.org/t/security-advisory-htmlsanitizer-jl/130136 "2025-06-23T14:29:13Z")

</div>

There is a known vulnerability in the HTMLSanitzer.jl package in all versions below v0.2.1. We recommend all users upgrade to version v0.2.1 as soon as possible. More details here: Possible XSS in HTMLSanitizer when usi…

---

## [How to make a Proximal Point using Julia](https://discourse.julialang.org/t/how-to-make-a-proximal-point-using-julia/130132)

<div class="topic-metadata">

**Author:** [@Deyvid\_Andrade](https://discourse.julialang.org/u/Deyvid_Andrade)\
**Replies:** 2\
**Last updated:** [June 23, 2025, 2:28pm UTC](https://discourse.julialang.org/t/how-to-make-a-proximal-point-using-julia/130132 "2025-06-23T14:28:00Z")

</div>

I am new to julia and I’d like create an iterative function that can to modeling the proximal point method. And, apply to solve an equilibrium problems, i.e., Given function f(x,y) convex only in x, the algorithm is def…

---

## [Custom \`id\` for \`RuntimeGeneratedFunction\`](https://discourse.julialang.org/t/custom-id-for-runtimegeneratedfunction/130129)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 2:14pm UTC](https://discourse.julialang.org/t/custom-id-for-runtimegeneratedfunction/130129 "2025-06-23T14:14:29Z")

</div>

I have a code that calls code\_ex = Meta.parse("""begin\\n$(code)\\nend""") @RuntimeGeneratedFunction( :(function (\_\_virtual\_\_::Virtual) # \[...\] try $code\_ex cat…

---

## [Multithreading a over a double for-loop with arrays](https://discourse.julialang.org/t/multithreading-a-over-a-double-for-loop-with-arrays/130033)

<div class="topic-metadata">

**Author:** [@Menno](https://discourse.julialang.org/u/Menno)\
**Replies:** 6\
**Last updated:** [June 23, 2025, 1:54pm UTC](https://discourse.julialang.org/t/multithreading-a-over-a-double-for-loop-with-arrays/130033 "2025-06-23T13:54:16Z")

</div>

Hey there, I’m trying to multithread some elaborate test over two for-loops.The important piece of code is Threads.@threads for i in 1:length(t\_values) Threads.@threads for μ in 1:P m\_values\[μ,i\]=run\_test(i, μ, t0…

---

## [MethodError For Defined Function](https://discourse.julialang.org/t/methoderror-for-defined-function/130130)

<div class="topic-metadata">

**Author:** [@yoh-meyers](https://discourse.julialang.org/u/yoh-meyers)\
**Replies:** 4\
**Last updated:** [June 23, 2025, 1:28pm UTC](https://discourse.julialang.org/t/methoderror-for-defined-function/130130 "2025-06-23T13:28:45Z")

</div>

Hello, I am back to using Julia, since more than 3 years break from the language. So I may not be most up-to-date with the latest changes. That said, I am using my package DanceJL and am running into a MethodError, fo…

---

## [My latex inside doc doesn't appear correctly](https://discourse.julialang.org/t/my-latex-inside-doc-doesnt-appear-correctly/130128)

<div class="topic-metadata">

**Author:** [@AbdelazimHussien](https://discourse.julialang.org/u/AbdelazimHussien)\
**Replies:** 5\
**Last updated:** [June 23, 2025, 1:23pm UTC](https://discourse.julialang.org/t/my-latex-inside-doc-doesnt-appear-correctly/130128 "2025-06-23T13:23:15Z")

</div>

Hello everyone, I am developing a new package https://github.com/AbdelazimHussien/MetaheuristicsAlgorithms.jl Now, I am trying to display the equation in latex format but it doesn’t work. For example Engineering\_F3 sho…

---

## [CollocationPoints.jl --- Generating variable-density points for SciML](https://discourse.julialang.org/t/collocationpoints-jl-generating-variable-density-points-for-sciml/130125)

<div class="topic-metadata">

**Author:** [@pkmishra](https://discourse.julialang.org/u/pkmishra)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 10:46am UTC](https://discourse.julialang.org/t/collocationpoints-jl-generating-variable-density-points-for-sciml/130125 "2025-06-23T10:46:09Z")

</div>

I have been porting my older utility codes to Julia. Here is something I used for generating nodes for solving PDEs with meshfree methods and sparse parameterisation of inverse problems. This may be useful in solving PDE…

---

## [Modeling piecewise linear diodes (discontinuous behaviors) with Dyad?](https://discourse.julialang.org/t/modeling-piecewise-linear-diodes-discontinuous-behaviors-with-dyad/130058)

<div class="topic-metadata">

**Author:** [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Replies:** 5\
**Last updated:** [June 23, 2025, 9:45am UTC](https://discourse.julialang.org/t/modeling-piecewise-linear-diodes-discontinuous-behaviors-with-dyad/130058 "2025-06-23T09:45:47Z")

</div>

Hello, In the light of Dyad announcement, and perhaps as a continuation of the Ideal Diode and Ideal Switch instability problem or Diode model not working as expected with ModelingToolkit discussions, I’d like to know h…

---

## [Sensitivity of an ODEProblem defined by another package (QuantumToolbox)](https://discourse.julialang.org/t/sensitivity-of-an-odeproblem-defined-by-another-package-quantumtoolbox/129654)

<div class="topic-metadata">

**Author:** [@Jeff\_Wack](https://discourse.julialang.org/u/Jeff_Wack)\
**Replies:** 6\
**Last updated:** [June 23, 2025, 9:08am UTC](https://discourse.julialang.org/t/sensitivity-of-an-odeproblem-defined-by-another-package-quantumtoolbox/129654 "2025-06-23T09:08:12Z")

</div>

I am interested in calculating derivatives of a quantum state defined by QuantumToolbox with respect to system parameters in order to calculate quantum fisher information. I have found initial success with a finite diffe…

---

## [Piecewise linear for a supply function](https://discourse.julialang.org/t/piecewise-linear-for-a-supply-function/130121)

<div class="topic-metadata">

**Author:** [@nemoincognito](https://discourse.julialang.org/u/nemoincognito)\
**Replies:** 1\
**Last updated:** [June 23, 2025, 8:08am UTC](https://discourse.julialang.org/t/piecewise-linear-for-a-supply-function/130121 "2025-06-23T08:08:52Z")

</div>

I am modelling costs for mines that have a fixed cost and a variable cost to slice the mine into realistic average costs for various levels of output. mine\_name = prod\_capa\_cost\_df\[100,:mine\_name\] capacity = prod\_capa\_c…

---

## [Multicommodity Armington style adjustments](https://discourse.julialang.org/t/multicommodity-armington-style-adjustments/130099)

<div class="topic-metadata">

**Author:** [@nemoincognito](https://discourse.julialang.org/u/nemoincognito)\
**Replies:** 3\
**Last updated:** [June 23, 2025, 7:38am UTC](https://discourse.julialang.org/t/multicommodity-armington-style-adjustments/130099 "2025-06-23T07:38:10Z")

</div>

After some generous help on this forum we have solved a very chunky multicommodity network flow problem. The question we have now is that there is some discrepancy with our “backcast” using optimal flow and what is recor…

---

## [2025 Julia User & Developer Survey - Now Open! Please Respond Today!](https://discourse.julialang.org/t/2025-julia-user-developer-survey-now-open-please-respond-today/129994)

<div class="topic-metadata">

**Author:** [@ahclaster](https://discourse.julialang.org/u/ahclaster)\
**Replies:** 25\
**Last updated:** [June 23, 2025, 2:01am UTC](https://discourse.julialang.org/t/2025-julia-user-developer-survey-now-open-please-respond-today/129994 "2025-06-23T02:01:35Z")

</div>

The 2025 Annual Julia User & Developer Survey is now live. Please: 1) click here to complete the survey; 2) send the link (Julia Developer Survey 2025) to friends and colleagues who use Julia and ask them to complete the…

---

## [Catalyst.jl - what is the appropriate way to model energy?](https://discourse.julialang.org/t/catalyst-jl-what-is-the-appropriate-way-to-model-energy/130088)

<div class="topic-metadata">

**Author:** [@spackman](https://discourse.julialang.org/u/spackman)\
**Replies:** 6\
**Last updated:** [June 23, 2025, 1:33am UTC](https://discourse.julialang.org/t/catalyst-jl-what-is-the-appropriate-way-to-model-energy/130088 "2025-06-23T01:33:40Z")

</div>

Hi there! I’m interested in tracking the thermodynamics of a chemical system along with the kinetics, but I don’t see any example documentation that would indicate the best/native way to do this. I think in an older ve…

---

## [ANN: New Github organization OpenSourceAWE](https://discourse.julialang.org/t/ann-new-github-organization-opensourceawe/130103)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [June 22, 2025, 10:06pm UTC](https://discourse.julialang.org/t/ann-new-github-organization-opensourceawe/130103 "2025-06-22T22:06:37Z")

</div>

We launched a new GitHub organization on airborne wind energy to foster the collaboration of startups and academia. Airborne wind energy is a promising approach for de-central wind energy harvesting offshore wind ener…

---

## [Not achieving convergence after prolonged training](https://discourse.julialang.org/t/not-achieving-convergence-after-prolonged-training/130093)

<div class="topic-metadata">

**Author:** [@Engr\_Moiz\_Ahmad](https://discourse.julialang.org/u/Engr_Moiz_Ahmad)\
**Replies:** 3\
**Last updated:** [June 22, 2025, 8:03pm UTC](https://discourse.julialang.org/t/not-achieving-convergence-after-prolonged-training/130093 "2025-06-22T20:03:21Z")

</div>

I am dealing with an infinite-horizon multi-stage mixed-integer linear stochastic global supply chain optimization problem and using SDDP.jl for its solution. In this regard, after a significant amount of training, the …

---

## [Type instability of reference struct member](https://discourse.julialang.org/t/type-instability-of-reference-struct-member/130111)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 3\
**Last updated:** [June 22, 2025, 7:53pm UTC](https://discourse.julialang.org/t/type-instability-of-reference-struct-member/130111 "2025-06-22T19:53:31Z")

</div>

Why is the first function below type stable and the second not? test( rv::Ref{V} ) where V = rv\[\] @code\_warntype test( Ref(0x1) ) struct T{V} root::Ref{V} end t = T( Ref(0x1) ) test( t::T{V} ) where V = t.root\[\] @c…

---

## [AlgebraicPetri notebooks on Jupyter with Julla 1.11.5 errors](https://discourse.julialang.org/t/algebraicpetri-notebooks-on-jupyter-with-julla-1-11-5-errors/130083)

<div class="topic-metadata">

**Author:** [@Keith\_Hazelton](https://discourse.julialang.org/u/Keith_Hazelton)\
**Replies:** 4\
**Last updated:** [June 22, 2025, 6:44pm UTC](https://discourse.julialang.org/t/algebraicpetri-notebooks-on-jupyter-with-julla-1-11-5-errors/130083 "2025-06-22T18:44:10Z")

</div>

I am getting many dependency errors when trying to run AlgebraicPetri.jl notebooks in Jupyter, I ran them succefully six months ago. Do those notebooks depend on a particular Julia kernel? I am attempting to use Julia 1.…

---

## [\[ANN\] BioJulia: CIGARStrings.jl](https://discourse.julialang.org/t/ann-biojulia-cigarstrings-jl/130112)

<div class="topic-metadata">

**Author:** [@jakobnissen](https://discourse.julialang.org/u/jakobnissen)\
**Replies:** 0\
**Last updated:** [June 22, 2025, 3:02pm UTC](https://discourse.julialang.org/t/ann-biojulia-cigarstrings-jl/130112 "2025-06-22T15:02:16Z")

</div>

I’m pleased to announce the latest BioJulia package: CIGARStrings.jl. This is a small package used to parse Concise Idiosyncratic Gapped Alignment Reports, or, CIGAR strings, for short. CIGARs are a notation for writing…

---

## [Recommended practices for trying out packages without polluting global env](https://discourse.julialang.org/t/recommended-practices-for-trying-out-packages-without-polluting-global-env/129912)

<div class="topic-metadata">

**Author:** [@lunafazio](https://discourse.julialang.org/u/lunafazio)\
**Replies:** 6\
**Last updated:** [June 22, 2025, 10:22am UTC](https://discourse.julialang.org/t/recommended-practices-for-trying-out-packages-without-polluting-global-env/129912 "2025-06-22T10:22:42Z")

</div>

I am aware of activate --temp, but adding any package always seems to involve a lot of precompilation, so not ideal for quickly testing things. Are there some additional convenience options for --temp that I am overlook…

---

## [How to access columns from Vector{SVector{4,Float64}}?](https://discourse.julialang.org/t/how-to-access-columns-from-vector-svector-4-float64/130101)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 7\
**Last updated:** [June 22, 2025, 8:58am UTC](https://discourse.julialang.org/t/how-to-access-columns-from-vector-svector-4-float64/130101 "2025-06-22T08:58:19Z")

</div>

I have this script file. I originally planned to utilize my own ODE solver called RKF45 but convergence issues prevented that and I fell back on using ODEProblem and solve from DifferentialEquations. I had written my ODE…

---

## [Copying bytes from AbstractVector to Ptr](https://discourse.julialang.org/t/copying-bytes-from-abstractvector-to-ptr/119408)

<div class="topic-metadata">

**Author:** [@nhz2](https://discourse.julialang.org/u/nhz2)\
**Replies:** 7\
**Last updated:** [June 21, 2025, 8:48pm UTC](https://discourse.julialang.org/t/copying-bytes-from-abstractvector-to-ptr/119408 "2025-06-21T20:48:13Z")

</div>

I am trying to efficiently copy data from an AbstractVector{UInt8} into a Ptr{UInt8} I currently have tried the following: function unsafe\_read1!( dest::Ptr{UInt8}, src::AbstractVector{UInt8}, s…

---

## [Stucked at Found FFTW wisdom at C:\\Users\\Administrator\\.julia\\scratchspaces\\30eb0fb0-5147-11e9-3356-d75b018717ce\\lunacache\\FFTWcache\_1threads](https://discourse.julialang.org/t/stucked-at-found-fftw-wisdom-at-c-users-administrator-julia-scratchspaces-30eb0fb0-5147-11e9-3356-d75b018717ce-lunacache-fftwcache-1threads/130086)

<div class="topic-metadata">

**Author:** [@jiahui](https://discourse.julialang.org/u/jiahui)\
**Replies:** 2\
**Last updated:** [June 21, 2025, 8:06pm UTC](https://discourse.julialang.org/t/stucked-at-found-fftw-wisdom-at-c-users-administrator-julia-scratchspaces-30eb0fb0-5147-11e9-3356-d75b018717ce-lunacache-fftwcache-1threads/130086 "2025-06-21T20:06:00Z")

</div>

Hello, I’m using Luna package to simulate the pulse propogation in a fiber with simple code: using Luna output = prop\_capillary(125e-6, 3, :He, 1; λ0=800e-9, energy=120e-6, τfwhm=10e-15, λlims=(150e-9, 4e-6), trange=1…

---

## [Issue when using previous solution for initial guess with MIRK Boundary Value Problem solver](https://discourse.julialang.org/t/issue-when-using-previous-solution-for-initial-guess-with-mirk-boundary-value-problem-solver/129948)

<div class="topic-metadata">

**Author:** [@ThermionicsGuy](https://discourse.julialang.org/u/ThermionicsGuy)\
**Replies:** 3\
**Last updated:** [June 21, 2025, 7:26pm UTC](https://discourse.julialang.org/t/issue-when-using-previous-solution-for-initial-guess-with-mirk-boundary-value-problem-solver/129948 "2025-06-21T19:26:57Z")

</div>

I’ve found an odd issue while using a previous solution as the initial guess in solving a boundary value problem using the SciML MIRK solvers and TwoPointBVProblem (part of the BoundaryValueDiffEq.jl package. According t…

---

## [Simple animation with Makie](https://discourse.julialang.org/t/simple-animation-with-makie/109439)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 8\
**Last updated:** [June 21, 2025, 4:53pm UTC](https://discourse.julialang.org/t/simple-animation-with-makie/109439 "2025-06-21T16:53:11Z")

</div>

I would like to generate a gif (or mkv) from a loop within which a figure is created at each iteration. Most Makie example I saw first create a figure, then modify it in an iteration. Could someone help me getting this P…

---

## [Build a JuMP bilinear expression with a function](https://discourse.julialang.org/t/build-a-jump-bilinear-expression-with-a-function/130091)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 2\
**Last updated:** [June 21, 2025, 2:20pm UTC](https://discourse.julialang.org/t/build-a-jump-bilinear-expression-with-a-function/130091 "2025-06-21T14:20:35Z")

</div>

I’m writing some algorithms recently and I find this bilinear structure is particularly useful, because its construction steps can be reused in the 2 models. Is there any advisable idea? out = JuMP.Model() # outer mast…

---

## [Refinement meshgrids](https://discourse.julialang.org/t/refinement-meshgrids/129982)

<div class="topic-metadata">

**Author:** [@Cyan](https://discourse.julialang.org/u/Cyan)\
**Replies:** 3\
**Last updated:** [June 21, 2025, 12:07pm UTC](https://discourse.julialang.org/t/refinement-meshgrids/129982 "2025-06-21T12:07:24Z")

</div>

Hi, all. I am trying to plot the curves of potential 1/r on mesh grid xg and yg (xg and yg are 2d mesh grids, r = @. sqrt(xg^2 + yg^2)). I want to solve the curves where the potential equals 1. I want to refine the grid…

---

## [X2 Research internship offers (master level) in Montpellier (France)](https://discourse.julialang.org/t/x2-research-internship-offers-master-level-in-montpellier-france/122779)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 4\
**Last updated:** [June 21, 2025, 11:52am UTC](https://discourse.julialang.org/t/x2-research-internship-offers-master-level-in-montpellier-france/122779 "2025-06-21T11:52:39Z")

</div>

I am looking for two master students in Applied Mathematics (in a broad sense) for internships starting in Feb 2025 (flexible). One on Model informed deep learning to forecast water quality in lakes. It will use being…

---

## [Julia won't open after updating MacOS "julia” can’t be opened because Julia is not allowed.."](https://discourse.julialang.org/t/julia-wont-open-after-updating-macos-julia-can-t-be-opened-because-julia-is-not-allowed/126199)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 24\
**Last updated:** [June 21, 2025, 10:33am UTC](https://discourse.julialang.org/t/julia-wont-open-after-updating-macos-julia-can-t-be-opened-because-julia-is-not-allowed/126199 "2025-06-21T10:33:14Z")

</div>

Hi all, I’m using MacBook and after the last update (Sequoia 15.3.1) when I try to open Julia I get the error: " “julia” can’t be opened because Julia is not allowed to open documents in Terminal." I believe this is r…

---

## [Minimum and maximum for OnlineStats.OrderStats](https://discourse.julialang.org/t/minimum-and-maximum-for-onlinestats-orderstats/129989)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 4\
**Last updated:** [June 20, 2025, 11:00pm UTC](https://discourse.julialang.org/t/minimum-and-maximum-for-onlinestats-orderstats/129989 "2025-06-20T23:00:30Z")

</div>

Would these definitions make sense for OnlineStats.OrderStats from OnlineStats.jl? Base.minimum(o::OrderStats) = minimum(o.ex) Base.maximum(o::OrderStats) = maximum(o.ex) Base.extrema(o::OrderStats) = extrema(o.ex)

---

## [Building Catalyst.jl reaction network from a .csv file - error in construction?](https://discourse.julialang.org/t/building-catalyst-jl-reaction-network-from-a-csv-file-error-in-construction/130043)

<div class="topic-metadata">

**Author:** [@spackman](https://discourse.julialang.org/u/spackman)\
**Replies:** 6\
**Last updated:** [June 20, 2025, 8:51pm UTC](https://discourse.julialang.org/t/building-catalyst-jl-reaction-network-from-a-csv-file-error-in-construction/130043 "2025-06-20T20:51:51Z")

</div>

Hey Julia crew! I am trying to import a reaction network from a .csv file to use with Catalyst.jl via Reaction NetworkImporters.jl. I have been able to successfully construct a ReactionSystem object which can print its…

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

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