# Latest

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

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

**Page:** 171

---

## [Use an internal struct of an extension \`ABExt\` in another extension \`ABCExt\`](https://discourse.julialang.org/t/use-an-internal-struct-of-an-extension-abext-in-another-extension-abcext/128797)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 2:08pm UTC](https://discourse.julialang.org/t/use-an-internal-struct-of-an-extension-abext-in-another-extension-abcext/128797 "2025-05-07T14:08:50Z")

</div>

For context, the full example I am working on are the two extensions Manopt.jl/ext/ManoptJuMPExt.jl at kellertuer/JuMP-vectorize · JuliaManifolds/Manopt.jl · GitHub Manopt.jl/ext/ManoptJuMPManifoldsExt.jl at kellertuer…

---

## [Estimate affine transformations between images](https://discourse.julialang.org/t/estimate-affine-transformations-between-images/128798)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 2:11pm UTC](https://discourse.julialang.org/t/estimate-affine-transformations-between-images/128798 "2025-05-07T14:11:40Z")

</div>

Is there any package implementing Lucchese’s et al. algorithm to estimate the affine transformation between two images - or a similar algorithm that does not use image features, but the whole images? If not, would it be…

---

## [Updating many curves in Makie simultaneously](https://discourse.julialang.org/t/updating-many-curves-in-makie-simultaneously/128796)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 1:31pm UTC](https://discourse.julialang.org/t/updating-many-curves-in-makie-simultaneously/128796 "2025-05-07T13:31:46Z")

</div>

As the Makie documentation points out, things are pretty straight-forward if you’re just changing one plot from one scrollbar, but it can become weird working with observables if there are many interdependecies. I’m c…

---

## [Problem with github action \`julia-docdeploy\`](https://discourse.julialang.org/t/problem-with-github-action-julia-docdeploy/128789)

<div class="topic-metadata">

**Author:** [@loisel](https://discourse.julialang.org/u/loisel)\
**Replies:** 1\
**Last updated:** [May 7, 2025, 12:55pm UTC](https://discourse.julialang.org/t/problem-with-github-action-julia-docdeploy/128789 "2025-05-07T12:55:32Z")

</div>

I’m getting this error on github action julia-docdeploy (log): ERROR: LoadError: InitError: could not load library "/home/runner/.julia/artifacts/a696e1e3e6b8d3c2c4b67609357ebc5c35eabde1/lib/libssl.so" /lib/x86\_64-linux…

---

## [Avoiding segfault on exit when using QML.jl](https://discourse.julialang.org/t/avoiding-segfault-on-exit-when-using-qml-jl/128737)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 11\
**Last updated:** [May 7, 2025, 11:02am UTC](https://discourse.julialang.org/t/avoiding-segfault-on-exit-when-using-qml-jl/128737 "2025-05-07T11:02:51Z")

</div>

My real code runs great, but for some reason gives a segfault when exiting the Julia REPL. Then I saw JuliaPropertyMaps should be a function in the docs . I modified the doc example to show my problem (I need “Hi” to be…

---

## [Initial equations possible in MTK?](https://discourse.julialang.org/t/initial-equations-possible-in-mtk/128767)

<div class="topic-metadata">

**Author:** [@Matthew1](https://discourse.julialang.org/u/Matthew1)\
**Replies:** 1\
**Last updated:** [May 7, 2025, 10:56am UTC](https://discourse.julialang.org/t/initial-equations-possible-in-mtk/128767 "2025-05-07T10:56:35Z")

</div>

As mentioned here \[MTK -- how to set initial unknowns introduced by MTK?\] and here \[GitHub · Where software is built\], there are many cases where it is helpful to specify initial equations, i.e. specifying initial values…

---

## [Inner product grammar is neater than sum(index) in JuMP modeling, But triggers Warning?](https://discourse.julialang.org/t/inner-product-grammar-is-neater-than-sum-index-in-jump-modeling-but-triggers-warning/124528)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 28\
**Last updated:** [May 6, 2025, 2:34am UTC](https://discourse.julialang.org/t/inner-product-grammar-is-neater-than-sum-index-in-jump-modeling-but-triggers-warning/124528 "2025-05-06T02:34:44Z")

</div>

Continuing the discussion from JuMP slow model generation: I figured out a novel neat way to write a particular kind of constraint, however it trigger warnings like the above post did. Can we somehow improve this? see …

---

## [GSoC 2025 – Forgot to include my GitHub repo in the proposal (DarwinCode.jl)](https://discourse.julialang.org/t/gsoc-2025-forgot-to-include-my-github-repo-in-the-proposal-darwincode-jl/128781)

<div class="topic-metadata">

**Author:** [@Gabriele\_Vitale](https://discourse.julialang.org/u/Gabriele_Vitale)\
**Replies:** 0\
**Last updated:** [May 7, 2025, 9:30am UTC](https://discourse.julialang.org/t/gsoc-2025-forgot-to-include-my-github-repo-in-the-proposal-darwincode-jl/128781 "2025-05-07T09:30:11Z")

</div>

Hi everyone, I’m Gabriele Vitale, and I submitted a GSoC 2025 proposal for The Julia Language titled DarwinCode.jl. Unfortunately, I realized too late that I forgot to include the link to the GitHub repository with my …

---

## [Possible speedup in matrix-diagonal products?](https://discourse.julialang.org/t/possible-speedup-in-matrix-diagonal-products/68474)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 6\
**Last updated:** [May 7, 2025, 9:11am UTC](https://discourse.julialang.org/t/possible-speedup-in-matrix-diagonal-products/68474 "2025-05-07T09:11:24Z")

</div>

Right multiplication by a Diagonal matrix effectively scales the columns of a matrix. Currently the default Matrix-Diagonal product appears to use copy\_similar: (\*)(A::AbstractMatrix, D::Diagonal) = rmul!(copy\_simil…

---

## [Set default julia version for a given folder (in VS Code)](https://discourse.julialang.org/t/set-default-julia-version-for-a-given-folder-in-vs-code/128656)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 4\
**Last updated:** [May 7, 2025, 7:35am UTC](https://discourse.julialang.org/t/set-default-julia-version-for-a-given-folder-in-vs-code/128656 "2025-05-07T07:35:58Z")

</div>

Hi, for a given project I’m restricted to a given version of julia. However, I’d like to work with the release version of julia when I’m just tinkering around with some julia code. I’ve tried juliaup to override the chan…

---

## [Fill a bounding box behind text in Makie](https://discourse.julialang.org/t/fill-a-bounding-box-behind-text-in-makie/101502)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 8\
**Last updated:** [May 7, 2025, 6:16am UTC](https://discourse.julialang.org/t/fill-a-bounding-box-behind-text-in-makie/101502 "2025-05-07T06:16:07Z")

</div>

Is there now a way to fill a text bounding box? This question was asked a couple of years ago, but there was not a direct implementation at that time and a lot has changed since then. Basically, what I’d like to do is h…

---

## [Are there a Chordal sparse matrix function?](https://discourse.julialang.org/t/are-there-a-chordal-sparse-matrix-function/21611)

<div class="topic-metadata">

**Author:** [@erikfilias](https://discourse.julialang.org/u/erikfilias)\
**Replies:** 1\
**Last updated:** [May 7, 2025, 1:03am UTC](https://discourse.julialang.org/t/are-there-a-chordal-sparse-matrix-function/21611 "2025-05-07T01:03:50Z")

</div>

I work in Convex Optimization, and I look for any function like a Python’s Chordal Matrix Package. Are there something like that in JuliaLang?

---

## [Is there a collection of matrices like Matlab's gallery?](https://discourse.julialang.org/t/is-there-a-collection-of-matrices-like-matlabs-gallery/128770)

<div class="topic-metadata">

**Author:** [@HMegh](https://discourse.julialang.org/u/HMegh)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 10:37pm UTC](https://discourse.julialang.org/t/is-there-a-collection-of-matrices-like-matlabs-gallery/128770 "2025-05-06T22:37:12Z")

</div>

Hi everyone, Since Julia is very suitable for experimenting with new numerical methods, I was wondering if there is a collection of “famous” matrices somewhere. I am thinking of something like Matlab’s gallery of matric…

---

## [Parquet2.jl](https://discourse.julialang.org/t/parquet2-jl/128639)

<div class="topic-metadata">

**Author:** [@Sam\_P](https://discourse.julialang.org/u/Sam_P)\
**Replies:** 3\
**Last updated:** [May 6, 2025, 10:00pm UTC](https://discourse.julialang.org/t/parquet2-jl/128639 "2025-05-06T22:00:34Z")

</div>

Hi all, just a quick question regarding Parquet2.jl. Love the package and it has been a life-saver more than once. However, when starting a new repo I noticed that it is blocking LazyArrays from updating. LazyArrays v1.…

---

## [Passing a BigInt (mpz\_t for GMP) array to C](https://discourse.julialang.org/t/passing-a-bigint-mpz-t-for-gmp-array-to-c/123622)

<div class="topic-metadata">

**Author:** [@Questioner](https://discourse.julialang.org/u/Questioner)\
**Replies:** 20\
**Last updated:** [May 6, 2025, 8:36pm UTC](https://discourse.julialang.org/t/passing-a-bigint-mpz-t-for-gmp-array-to-c/123622 "2025-05-06T20:36:14Z")

</div>

Lately, I’ve managed to pass a BigInt to C and back (Passing GMP variables from C(++) to Julia - #10 by Questioner). Now suppose I want to generate Fibonacci numbers in C and pass them to Julia. I thought I just take the…

---

## [NonlinearSolve.jl with Sparse Jacobian: J isn't square?!](https://discourse.julialang.org/t/nonlinearsolve-jl-with-sparse-jacobian-j-isnt-square/128768)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 0\
**Last updated:** [May 6, 2025, 8:22pm UTC](https://discourse.julialang.org/t/nonlinearsolve-jl-with-sparse-jacobian-j-isnt-square/128768 "2025-05-06T20:22:15Z")

</div>

I’m trying to use NonlinearSolve.jl’s LevenbergMarquardt solver on a powerflow. The solve call yields an error: LoadError: ArgumentError: KLU only accepts square matrices. That seems nonsensical: J0 is square. I expect t…

---

## [How to compute inner product of MPS with another MPS translated by 1 right sites](https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756)

<div class="topic-metadata">

**Author:** [@Juan\_D](https://discourse.julialang.org/u/Juan_D)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 8:10pm UTC](https://discourse.julialang.org/t/how-to-compute-inner-product-of-mps-with-another-mps-translated-by-1-right-sites/128756 "2025-05-06T20:10:43Z")

</div>

Hello everyone, I would like to ask if there is a way to compute the inner product ⟨ψ | T₁ | ψ⟩, where T₁ is a cyclic translation operator that shifts site n-to-n+1, by successively applying ITensor’s movesite functions…

---

## [Removing directory contents recursively](https://discourse.julialang.org/t/removing-directory-contents-recursively/128761)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 6\
**Last updated:** [May 6, 2025, 4:31pm UTC](https://discourse.julialang.org/t/removing-directory-contents-recursively/128761 "2025-05-06T16:31:50Z")

</div>

Hi all, still struggling with this. I want to run command rm -rf /path/to/dir/\*, so that I delete the content but not the dir itself. I get this julia\> Base.run(\`rm -rf $(ReproData.root())/code/"\*"\`) Process(\`rm -rf '/…

---

## [Robust control with CRONE controllers](https://discourse.julialang.org/t/robust-control-with-crone-controllers/128733)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [May 6, 2025, 3:36pm UTC](https://discourse.julialang.org/t/robust-control-with-crone-controllers/128733 "2025-05-06T15:36:59Z")

</div>

Today I heard the first time about CRONE controllers. “The CRONE controller uses fractional-order calculus (non-integer order derivatives and integrals), offering more tuning flexibility and robustness, whereas tradition…

---

## [Quoting in shell commands](https://discourse.julialang.org/t/quoting-in-shell-commands/6781)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 5\
**Last updated:** [October 30, 2017, 6:46pm UTC](https://discourse.julialang.org/t/quoting-in-shell-commands/6781 "2017-10-30T18:46:27Z")

</div>

I don’t understand the new behavior of the shell wrt quotation. Assuming that there are files in the current directory starting by img, how do I execute the following shell command from julia? $ ls -l img\* The foll…

---

## [Calling module specific method with same type signature (AbstractFFT, FFTW, FFTA)](https://discourse.julialang.org/t/calling-module-specific-method-with-same-type-signature-abstractfft-fftw-ffta/128750)

<div class="topic-metadata">

**Author:** [@jtravs](https://discourse.julialang.org/u/jtravs)\
**Replies:** 1\
**Last updated:** [May 6, 2025, 2:59pm UTC](https://discourse.julialang.org/t/calling-module-specific-method-with-same-type-signature-abstractfft-fftw-ffta/128750 "2025-05-06T14:59:12Z")

</div>

Consider the following example. If I run using FFTA a = rand(ComplexF64, 128) p = FFTA.plan\_fft(a) typeof(p) I get FFTA.FFTAPlan\_cx{ComplexF64, 1} but if I run using FFTA, FFTW a = rand(ComplexF64, 128) p = FFTA.pl…

---

## [Latency discrepancy in a busy loop with IO and without](https://discourse.julialang.org/t/latency-discrepancy-in-a-busy-loop-with-io-and-without/128718)

<div class="topic-metadata">

**Author:** [@Dmitry\_Vels](https://discourse.julialang.org/u/Dmitry_Vels)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 2:56pm UTC](https://discourse.julialang.org/t/latency-discrepancy-in-a-busy-loop-with-io-and-without/128718 "2025-05-06T14:56:03Z")

</div>

Hi! I am trying to use Julia in the same domain where previously I used C/C++ (low latency) In general if you avoid allocations, and do everything proper (type stable) the speed is impressive, and comparable with C++. …

---

## [HTTP.jl client layer](https://discourse.julialang.org/t/http-jl-client-layer/128098)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 4\
**Last updated:** [May 6, 2025, 2:44pm UTC](https://discourse.julialang.org/t/http-jl-client-layer/128098 "2025-05-06T14:44:21Z")

</div>

I’m trying to implement an auth layer for HTTP.jl module ApiClient import HTTP import Dates import JSON Base.@kwdef struct TokenInfo access\_token::String = "" expires\_at::Dates.DateTime = Dates.now(Dates.UTC) …

---

## [Why \`∋\` (\`\\ni\`) is not a method of \`contains\`?](https://discourse.julialang.org/t/why-ni-is-not-a-method-of-contains/128748)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 3\
**Last updated:** [May 6, 2025, 2:30pm UTC](https://discourse.julialang.org/t/why-ni-is-not-a-method-of-contains/128748 "2025-05-06T14:30:15Z")

</div>

in(x) is a convenient function generator to check whether other variables are contained in x (e.g. for filtering). I was looking for a generator of functions that do the opposite (check if other variables contain x), and…

---

## [Notebook cells hung up in VS Code](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 42\
**Last updated:** [May 6, 2025, 2:22pm UTC](https://discourse.julialang.org/t/notebook-cells-hung-up-in-vs-code/78492 "2025-05-06T14:22:25Z")

</div>

I’m just getting started with Julia in VS Code, and I’m running into an issue where notebook cells run for hours with the progress wheels spinning. Even this simple calculation seems to be too much for my computer to han…

---

## [Libpcre2-8-0.dll not found with pyjulia / proper way to use julia functions in Python](https://discourse.julialang.org/t/libpcre2-8-0-dll-not-found-with-pyjulia-proper-way-to-use-julia-functions-in-python/128752)

<div class="topic-metadata">

**Author:** [@Owen77S](https://discourse.julialang.org/u/Owen77S)\
**Replies:** 1\
**Last updated:** [May 6, 2025, 1:59pm UTC](https://discourse.julialang.org/t/libpcre2-8-0-dll-not-found-with-pyjulia-proper-way-to-use-julia-functions-in-python/128752 "2025-05-06T13:59:02Z")

</div>

I have a Julia environnement called env and structured this way : env/ │ ├── Project.toml ├── Manifest.toml ├── folder/ │ └── funcs.jl │ └── script.py │ └── script.jl My file funcs.jl is using packages ins…

---

## [Patient Level Prediction in Julia Blog Series](https://discourse.julialang.org/t/patient-level-prediction-in-julia-blog-series/128758)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 0\
**Last updated:** [May 6, 2025, 1:42pm UTC](https://discourse.julialang.org/t/patient-level-prediction-in-julia-blog-series/128758 "2025-05-06T13:42:18Z")

</div>

NOTE: JuliaHealth contributor, @kosuri-indu, wrote a great series on Patient Level Prediction Julia workflows! She can’t post links to Discourse so I am posting her work below! Introduction Hello everyone! I’m Kosuri …

---

## [UV mapping](https://discourse.julialang.org/t/uv-mapping/128720)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 4\
**Last updated:** [May 6, 2025, 12:58pm UTC](https://discourse.julialang.org/t/uv-mapping/128720 "2025-05-06T12:58:27Z")

</div>

Hi, is there any package that does (or can help in doing) UV mapping? More specifically: I have a 3D mesh made of triangles, and I want to “unwrap it” mapping each of its 3D points to a 2D plane.

---

## [Moments of censored distributions](https://discourse.julialang.org/t/moments-of-censored-distributions/128753)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 0\
**Last updated:** [May 6, 2025, 12:32pm UTC](https://discourse.julialang.org/t/moments-of-censored-distributions/128753 "2025-05-06T12:32:59Z")

</div>

(I’ve deleted the post at it seemed to be incorrect, but I somehow can’t remove the post)

---

## [Specifying the Hessian for some (but not all) user-defined operators](https://discourse.julialang.org/t/specifying-the-hessian-for-some-but-not-all-user-defined-operators/128741)

<div class="topic-metadata">

**Author:** [@franckgaga](https://discourse.julialang.org/u/franckgaga)\
**Replies:** 2\
**Last updated:** [May 6, 2025, 11:41am UTC](https://discourse.julialang.org/t/specifying-the-hessian-for-some-but-not-all-user-defined-operators/128741 "2025-05-06T11:41:35Z")

</div>

In ModelPredictiveControl.jl, I build the nonlinear optimization problem of NonLinMPC using multiple user-defined operators in JuMP.jl. One operator is for the objective function, the other operators appear in the nonlin…

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

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