# Latest

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

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

**Page:** 183

---

## [Issue with Interior point method for HiGHS](https://discourse.julialang.org/t/issue-with-interior-point-method-for-highs/88814)

<div class="topic-metadata">

**Author:** [@adow031](https://discourse.julialang.org/u/adow031)\
**Replies:** 3\
**Last updated:** [April 16, 2025, 3:08am UTC](https://discourse.julialang.org/t/issue-with-interior-point-method-for-highs/88814 "2025-04-16T03:08:32Z")

</div>

I’m using JuMP, and have just started testing out the HiGHS optimizer, and I’ve encounted a strange issue with the interior point method. For a small model, the HiGHS optimizer toggles between returning the optimal solu…

---

## [Meta optimization with Julia](https://discourse.julialang.org/t/meta-optimization-with-julia/128065)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [April 16, 2025, 3:05am UTC](https://discourse.julialang.org/t/meta-optimization-with-julia/128065 "2025-04-16T03:05:43Z")

</div>

A student of me wants to build a meta-optimization tool for wind energy systems. It shall integrate a number (4 or 5) other design tools. I suggested him to use JuMP.jl Are there any other tools or packages I could sugg…

---

## [\[ANN\] BorrowChecker.jl: a borrow checker for Julia](https://discourse.julialang.org/t/ann-borrowchecker-jl-a-borrow-checker-for-julia/127897)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 35\
**Last updated:** [April 16, 2025, 2:31am UTC](https://discourse.julialang.org/t/ann-borrowchecker-jl-a-borrow-checker-for-julia/127897 "2025-04-16T02:31:48Z")

</div>

BorrowChecker.jl Very happy to finally share BorrowChecker.jl! This is an experimental package for emulating a runtime borrow checker in Julia, using a macro layer over regular code. This is built to mimic Rust’s…

---

## [Sequence motifs in pure Julia](https://discourse.julialang.org/t/sequence-motifs-in-pure-julia/128047)

<div class="topic-metadata">

**Author:** [@candidaorelmex](https://discourse.julialang.org/u/candidaorelmex)\
**Replies:** 4\
**Last updated:** [April 15, 2025, 8:46pm UTC](https://discourse.julialang.org/t/sequence-motifs-in-pure-julia/128047 "2025-04-15T20:46:42Z")

</div>

Hi everyone, I’m writing for a little package for myself and to maybe share with the community one day, if it’s mature enough. I want to plot sequence motifs of letters (or peptides for those who are curious about the c…

---

## [Possibly mildly faster sign for integers?](https://discourse.julialang.org/t/possibly-mildly-faster-sign-for-integers/128086)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 12\
**Last updated:** [April 15, 2025, 5:22pm UTC](https://discourse.julialang.org/t/possibly-mildly-faster-sign-for-integers/128086 "2025-04-15T17:22:52Z")

</div>

Suggested in a stackoverflow answer on micro optimization - Fast sign of integer in C - Stack Overflow julia\> \_sign(x) = (x \> 0) - (x \< 0) \_sign (generic function with 1 method) Using this, julia\> v = 1:1\_000; w = sim…

---

## [Installing Pluto - Compile issue](https://discourse.julialang.org/t/installing-pluto-compile-issue/128101)

<div class="topic-metadata">

**Author:** [@hmcgowan01](https://discourse.julialang.org/u/hmcgowan01)\
**Replies:** 2\
**Last updated:** [April 15, 2025, 4:52pm UTC](https://discourse.julialang.org/t/installing-pluto-compile-issue/128101 "2025-04-15T16:52:13Z")

</div>

I have installed latest version Julia 1.11.5. I then tried to add Pluto and got the following: (@v1.11) pkg\> add Pluto Resolving package versions… No Changes to C:\\Users\\hmcgowan\\.julia\\environments\\v1.11\\Project.toml …

---

## [Question about model change in Nonlinear system solve](https://discourse.julialang.org/t/question-about-model-change-in-nonlinear-system-solve/128081)

<div class="topic-metadata">

**Author:** [@ysyecust](https://discourse.julialang.org/u/ysyecust)\
**Replies:** 4\
**Last updated:** [April 15, 2025, 4:05pm UTC](https://discourse.julialang.org/t/question-about-model-change-in-nonlinear-system-solve/128081 "2025-04-15T16:05:59Z")

</div>

I am using Julia to solve a system of nonlinear equations, but my model has phase changes, meaning there are switches in the equations of the model itself. If the solution enters a single-phase region, the original conse…

---

## [2nd Order Newton's Method with Sparse Hessian](https://discourse.julialang.org/t/2nd-order-newtons-method-with-sparse-hessian/127313)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 7\
**Last updated:** [April 15, 2025, 3:47pm UTC](https://discourse.julialang.org/t/2nd-order-newtons-method-with-sparse-hessian/127313 "2025-04-15T15:47:14Z")

</div>

I have a function that I wish to minimize via a 2nd order newton’s method with line search. I have an explicit gradient and Hessian. Moreover, the Hessian is sparse, and I care about performance (e.g. if possible, re-use…

---

## [How to avoid "unsupported dynamic function invocation" in CUDA with nested gradients](https://discourse.julialang.org/t/how-to-avoid-unsupported-dynamic-function-invocation-in-cuda-with-nested-gradients/127982)

<div class="topic-metadata">

**Author:** [@andrewrosemberg](https://discourse.julialang.org/u/andrewrosemberg)\
**Replies:** 2\
**Last updated:** [April 15, 2025, 2:58pm UTC](https://discourse.julialang.org/t/how-to-avoid-unsupported-dynamic-function-invocation-in-cuda-with-nested-gradients/127982 "2025-04-15T14:58:32Z")

</div>

I am trying to train a model in Flux in which the loss has a nested gradient. I know I should avoid dynamic function invocation, but I am unsure how. The following code works on CPU but not on CUDA/GPU: using Flux using…

---

## [Clang.jl on a Header with Function Overloading](https://discourse.julialang.org/t/clang-jl-on-a-header-with-function-overloading/128083)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 0\
**Last updated:** [April 15, 2025, 2:57am UTC](https://discourse.julialang.org/t/clang-jl-on-a-header-with-function-overloading/128083 "2025-04-15T02:57:53Z")

</div>

Is it possible to use Clang.jl to parse a header that uses the overloadable attribute? When I try, it only parses the first function with each name. Here’s my build setup: you’ll have to be on an Apple Silicon Mac to run…

---

## [Julian way to implement structs with different "defaults"?](https://discourse.julialang.org/t/julian-way-to-implement-structs-with-different-defaults/128046)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 19\
**Last updated:** [April 15, 2025, 1:31pm UTC](https://discourse.julialang.org/t/julian-way-to-implement-structs-with-different-defaults/128046 "2025-04-15T13:31:05Z")

</div>

Which could be a “julian” way to implement multiple struct defaults? Like: abstract type Parameters end Base.@kwdef struct ParametersDefault1 \<: Parameters x = 5 y = \[1,2,3\] w = 10 z = x .+ y end Bas…

---

## [Plot of a function from x=0 to x=1 is not shown](https://discourse.julialang.org/t/plot-of-a-function-from-x-0-to-x-1-is-not-shown/128091)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 6\
**Last updated:** [April 15, 2025, 1:09pm UTC](https://discourse.julialang.org/t/plot-of-a-function-from-x-0-to-x-1-is-not-shown/128091 "2025-04-15T13:09:53Z")

</div>

Hi all, I tried to plot a function \\frac{1}{(x-1)^{2/3}} but it can only plot the function from x=1 to the right. There should also be the plot from from x=0 to x=1 toward infinity. This is the suppose to be function …

---

## [When adding a SumOfSquares constraint, is it possible to get the JuMP variable corresponding to the Gram matrix?](https://discourse.julialang.org/t/when-adding-a-sumofsquares-constraint-is-it-possible-to-get-the-jump-variable-corresponding-to-the-gram-matrix/127966)

<div class="topic-metadata">

**Author:** [@aaspeel](https://discourse.julialang.org/u/aaspeel)\
**Replies:** 2\
**Last updated:** [April 15, 2025, 12:28pm UTC](https://discourse.julialang.org/t/when-adding-a-sumofsquares-constraint-is-it-possible-to-get-the-jump-variable-corresponding-to-the-gram-matrix/127966 "2025-04-15T12:28:54Z")

</div>

Hello! I have an optimization model with an SOS constraint and I would like to add extra constraints on the corresponding Gram matrix. Unfortunately, I could not find a way to obtain the JuMP variable corresponding to t…

---

## [\*\*Pluto.jl\*\* precompilation error in Julia v1.11.5](https://discourse.julialang.org/t/pluto-jl-precompilation-error-in-julia-v1-11-5/128088)

<div class="topic-metadata">

**Author:** [@Soel](https://discourse.julialang.org/u/Soel)\
**Replies:** 1\
**Last updated:** [April 15, 2025, 9:40am UTC](https://discourse.julialang.org/t/pluto-jl-precompilation-error-in-julia-v1-11-5/128088 "2025-04-15T09:40:54Z")

</div>

Hello all, Same UndefVarError when trying to precompile Pluto.jl under Julia v1.11.5 ? Regards. . . . ERROR: LoadError: UndefVarError: \`complete\_remote\_package\` not defined in \`REPLExt\` Suggestion: check f…

---

## [\[ANN\] Zsofia.jl: a package for quant finance with focus on XVAs](https://discourse.julialang.org/t/ann-zsofia-jl-a-package-for-quant-finance-with-focus-on-xvas/127816)

<div class="topic-metadata">

**Author:** [@Soel](https://discourse.julialang.org/u/Soel)\
**Replies:** 2\
**Last updated:** [April 15, 2025, 8:24am UTC](https://discourse.julialang.org/t/ann-zsofia-jl-a-package-for-quant-finance-with-focus-on-xvas/127816 "2025-04-15T08:24:19Z")

</div>

Hello all, I am pleased to announce the development of Zsofia.jl a package for quant finance emphasized on XVAs.

---

## [How to solve partial differential algebraic equations](https://discourse.julialang.org/t/how-to-solve-partial-differential-algebraic-equations/113989)

<div class="topic-metadata">

**Author:** [@Anish\_Kumar](https://discourse.julialang.org/u/Anish_Kumar)\
**Replies:** 8\
**Last updated:** [April 15, 2025, 8:09am UTC](https://discourse.julialang.org/t/how-to-solve-partial-differential-algebraic-equations/113989 "2025-04-15T08:09:10Z")

</div>

Hi all, I am quite new to Julia and programming in general. I am currently doing a modelling PhD and I have a set of couple Partial Differential Algebraic Equations (PDAE). I tried solving them on comsol but it is extre…

---

## [Large memory consumption when using Mooncake via DifferentiationInterface for Gaussian process optimisation](https://discourse.julialang.org/t/large-memory-consumption-when-using-mooncake-via-differentiationinterface-for-gaussian-process-optimisation/127289)

<div class="topic-metadata">

**Author:** [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)\
**Replies:** 19\
**Last updated:** [April 15, 2025, 7:20am UTC](https://discourse.julialang.org/t/large-memory-consumption-when-using-mooncake-via-differentiationinterface-for-gaussian-process-optimisation/127289 "2025-04-15T07:20:30Z")

</div>

Hello everyone, I am working on a model called the Gaussian process latent variable model (GPLVM). The GPLVM is a dimensionality reduction method which given a high dimensional dataset Y will return low-dimensional proj…

---

## [Gurobi's tolerance on convexity in QCP is about \`1e-13\`](https://discourse.julialang.org/t/gurobis-tolerance-on-convexity-in-qcp-is-about-1e-13/127297)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 10\
**Last updated:** [April 15, 2025, 6:18am UTC](https://discourse.julialang.org/t/gurobis-tolerance-on-convexity-in-qcp-is-about-1e-13/127297 "2025-04-15T06:18:40Z")

</div>

Following this topic I do the following test to verify the title using JuMP, Gurobi function test\_convexity(d) # if it ain't Error, the model is deemed convex (by Gurobi) model = Model(Gurobi.Optimizer) @vari…

---

## [Internal error: during type inference Encountered stack overflow. This might be caused by recursion over very long tuples or argument lists](https://discourse.julialang.org/t/internal-error-during-type-inference-encountered-stack-overflow-this-might-be-caused-by-recursion-over-very-long-tuples-or-argument-lists/128037)

<div class="topic-metadata">

**Author:** [@Viacol0916](https://discourse.julialang.org/u/Viacol0916)\
**Replies:** 2\
**Last updated:** [April 15, 2025, 2:15am UTC](https://discourse.julialang.org/t/internal-error-during-type-inference-encountered-stack-overflow-this-might-be-caused-by-recursion-over-very-long-tuples-or-argument-lists/128037 "2025-04-15T02:15:24Z")

</div>

Julia Version : 1.11.4+0.aarch64.apple.darwin14 Related package: ModelingToolkit, NonlinearSolve Our project is to use C++ to pass function parameter information to Julia, then use julia to implement numerical calculat…

---

## [Preserve sparse structure during in-place operations](https://discourse.julialang.org/t/preserve-sparse-structure-during-in-place-operations/127864)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 1\
**Last updated:** [April 15, 2025, 2:00am UTC](https://discourse.julialang.org/t/preserve-sparse-structure-during-in-place-operations/127864 "2025-04-15T02:00:02Z")

</div>

SparseArrays automatically runs dropzeros! after certain operations: for example, using SparseArrays A = spdiagm(ones(3)) println(nnz(A)) # result: 3 A .+= spdiagm(-1 .\* ones(3)) println(nnz(A)) # result: 0 How can I p…

---

## [Gtk / Gtk4: transperent window (overlay) with layers](https://discourse.julialang.org/t/gtk-gtk4-transperent-window-overlay-with-layers/128080)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 0\
**Last updated:** [April 15, 2025, 1:07am UTC](https://discourse.julialang.org/t/gtk-gtk4-transperent-window-overlay-with-layers/128080 "2025-04-15T01:07:58Z")

</div>

Hi! I want to make transparent window with several graphic layers and information. I found ‘opacity’ property, but it work with window and child canvas. So, I found partial solution: c = @GtkCanvas() win = GtkWindow(c…

---

## [Julia v1.11.5 has been released](https://discourse.julialang.org/t/julia-v1-11-5-has-been-released/128076)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [April 14, 2025, 10:34pm UTC](https://discourse.julialang.org/t/julia-v1-11-5-has-been-released/128076 "2025-04-14T22:34:19Z")

</div>

Julia version 1.11.5, the fifth patch release in the 1.11 series of releases, is now available. Binaries are available via JuliaUp and at https://julialang.org/downloads/ for macOS (Intel and M-series processors), Window…

---

## [My julia vscode system prompt](https://discourse.julialang.org/t/my-julia-vscode-system-prompt/128074)

<div class="topic-metadata">

**Author:** [@maxfreu](https://discourse.julialang.org/u/maxfreu)\
**Replies:** 0\
**Last updated:** [April 14, 2025, 8:03pm UTC](https://discourse.julialang.org/t/my-julia-vscode-system-prompt/128074 "2025-04-14T20:03:31Z")

</div>

Hi everybody! I just wanted to share my julia system (or context) prompt, which I store as julia.prompt.md somewhere on disk and use it as so-called prompt file in vscode. The purpose of this is to give the LLM some cont…

---

## [ERROR: MethodError: no method matching run\_interface](https://discourse.julialang.org/t/error-methoderror-no-method-matching-run-interface/128073)

<div class="topic-metadata">

**Author:** [@liamh](https://discourse.julialang.org/u/liamh)\
**Replies:** 0\
**Last updated:** [April 14, 2025, 7:54pm UTC](https://discourse.julialang.org/t/error-methoderror-no-method-matching-run-interface/128073 "2025-04-14T19:54:29Z")

</div>

When I insert @infiltrate in my code, execution stops as expected, but then I get the error. ERROR: MethodError: no method matching run\_interface(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface) The functio…

---

## [Repeated Convolutions With Large 1D Arrays](https://discourse.julialang.org/t/repeated-convolutions-with-large-1d-arrays/127194)

<div class="topic-metadata">

**Author:** [@donkeysaddle](https://discourse.julialang.org/u/donkeysaddle)\
**Replies:** 20\
**Last updated:** [April 14, 2025, 7:45pm UTC](https://discourse.julialang.org/t/repeated-convolutions-with-large-1d-arrays/127194 "2025-04-14T19:45:45Z")

</div>

What’s the optimal way to compute repeated convolutions with large 1D arrays? the filters, (g\_x,g\_y, & g\_z) stay the same each iteration, but the “signals” change. To be clear, the computation of the f’s is fast, the co…

---

## [Find indexes of a String in Multi -Type Matrix](https://discourse.julialang.org/t/find-indexes-of-a-string-in-multi-type-matrix/128072)

<div class="topic-metadata">

**Author:** [@Vasilis\_Dim](https://discourse.julialang.org/u/Vasilis_Dim)\
**Replies:** 2\
**Last updated:** [April 14, 2025, 7:20pm UTC](https://discourse.julialang.org/t/find-indexes-of-a-string-in-multi-type-matrix/128072 "2025-04-14T19:20:36Z")

</div>

Hello There! I have created a matrix such as: T=Union{String, Int} June=Matrix{T}(undef,10,30) Later in the code some entries of A might change to a string (let’s say “Bill”). I tried to locate the indexes where that’…

---

## [Equivalent of Clojure \`some-\>\` for nested data?](https://discourse.julialang.org/t/equivalent-of-clojure-some-for-nested-data/127641)

<div class="topic-metadata">

**Author:** [@danielmatz](https://discourse.julialang.org/u/danielmatz)\
**Replies:** 5\
**Last updated:** [April 14, 2025, 5:05pm UTC](https://discourse.julialang.org/t/equivalent-of-clojure-some-for-nested-data/127641 "2025-04-14T17:05:14Z")

</div>

I’m a happy user of both Chain.jl and Accessors.jl, but I find myself missing a few things from Clojure. I’m not sure if they exist, and I just don’t know about them, or if these are actual missing capabilities. I think…

---

## [Limitations of \`Base.convert\` for the construction of parametric types](https://discourse.julialang.org/t/limitations-of-base-convert-for-the-construction-of-parametric-types/127977)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 4\
**Last updated:** [April 11, 2025, 9:35pm UTC](https://discourse.julialang.org/t/limitations-of-base-convert-for-the-construction-of-parametric-types/127977 "2025-04-11T21:35:25Z")

</div>

I have a couple of user-defined types in which one contains the other, as in the following minimal example: struct MyType x::Float64 end struct Container c::MyType end In this example, MyType is some kind of F…

---

## [System of differential equations in Julia (BVP)](https://discourse.julialang.org/t/system-of-differential-equations-in-julia-bvp/128059)

<div class="topic-metadata">

**Author:** [@tripo](https://discourse.julialang.org/u/tripo)\
**Replies:** 2\
**Last updated:** [April 14, 2025, 2:37pm UTC](https://discourse.julialang.org/t/system-of-differential-equations-in-julia-bvp/128059 "2025-04-14T14:37:00Z")

</div>

Hello, i’m trying to solve a differential equation using DifferentialEquations.jl. In the end, i’ll try to solve the equation $$ \\ddot{\\lambda} + A\\lambda = f ,\\quad \\dot{\\lambda}(0) = a, \\ \\dot{\\lambda}(1) = b $$ wh…

---

## [\[CfP\] PAW-ATM 2025: Parallel Applications Workshop, Alternatives to MPI+X - Supercomputing 2025](https://discourse.julialang.org/t/cfp-paw-atm-2025-parallel-applications-workshop-alternatives-to-mpi-x-supercomputing-2025/128063)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 0\
**Last updated:** [April 14, 2025, 2:27pm UTC](https://discourse.julialang.org/t/cfp-paw-atm-2025-parallel-applications-workshop-alternatives-to-mpi-x-supercomputing-2025/128063 "2025-04-14T14:27:29Z")

</div>

Call for Papers PAW-ATM 2025: Parallel Applications Workshop, Alternatives To MPI+X Held in conjunction with SC25, St. Louis, MO Submissions deadline: July 24, 2025 Notification to authors: August 30, 2025 Worksho…

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

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