# Latest

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

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

**Page:** 134

---

## [Segment fault when calling shared library from node plotting png using CairoMakie library](https://discourse.julialang.org/t/segment-fault-when-calling-shared-library-from-node-plotting-png-using-cairomakie-library/130794)

<div class="topic-metadata">

**Author:** [@zkbitcoin](https://discourse.julialang.org/u/zkbitcoin)\
**Replies:** 3\
**Last updated:** [July 20, 2025, 4:01pm UTC](https://discourse.julialang.org/t/segment-fault-when-calling-shared-library-from-node-plotting-png-using-cairomakie-library/130794 "2025-07-20T16:01:08Z")

</div>

have simple .jl (below are source files) program flow is: test.js calls c program which calls julia program when using svg extension const result = generate\_c(‘td’, 250, 250, ‘test\_draw.svg’); image is generated w…

---

## [How to clean Highlighted Error Line in VS Code?](https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 2\
**Last updated:** [July 20, 2025, 10:56am UTC](https://discourse.julialang.org/t/how-to-clean-highlighted-error-line-in-vs-code/130875 "2025-07-20T10:56:12Z")

</div>

Sometimes when I execute code with “Shift + Enter” in VS Code if there’s error problematic line in the VS Code Editor get highlighted with red. But when I change code, this red line still stays the same, which is very an…

---

## [\[ANN\] WaveMixings.jl Nonlinear spectroscopy based on the doorway-window approximation](https://discourse.julialang.org/t/ann-wavemixings-jl-nonlinear-spectroscopy-based-on-the-doorway-window-approximation/130879)

<div class="topic-metadata">

**Author:** [@apolion](https://discourse.julialang.org/u/apolion)\
**Replies:** 0\
**Last updated:** [July 20, 2025, 9:43am UTC](https://discourse.julialang.org/t/ann-wavemixings-jl-nonlinear-spectroscopy-based-on-the-doorway-window-approximation/130879 "2025-07-20T09:43:22Z")

</div>

INTRODUCTION After almost two year of work :woman\_lifting\_weights:, finally I am introducing WaveMixings.jl, a numerical implementation of the quasi-classical doorway-window approximation, specifically designed for on-th…

---

## [Why doesn't Random.seed! allocate for StableRNGs.LehmerRNG?](https://discourse.julialang.org/t/why-doesnt-random-seed-allocate-for-stablerngs-lehmerrng/130621)

<div class="topic-metadata">

**Author:** [@RoyW](https://discourse.julialang.org/u/RoyW)\
**Replies:** 1\
**Last updated:** [July 20, 2025, 9:36am UTC](https://discourse.julialang.org/t/why-doesnt-random-seed-allocate-for-stablerngs-lehmerrng/130621 "2025-07-20T09:36:09Z")

</div>

I ran the following code on my machine: import StableRNGs using BenchmarkTools, Random const T = Float64 rng = StableRNGs.LehmerRNG(0) rng2 = Random.Xoshiro(0) rng3 = Random.MersenneTwister(0) @btime randn($rng, T) @…

---

## [Unhelpful interpolation for solution from differential equation](https://discourse.julialang.org/t/unhelpful-interpolation-for-solution-from-differential-equation/130857)

<div class="topic-metadata">

**Author:** [@miles-1](https://discourse.julialang.org/u/miles-1)\
**Replies:** 3\
**Last updated:** [July 20, 2025, 1:40am UTC](https://discourse.julialang.org/t/unhelpful-interpolation-for-solution-from-differential-equation/130857 "2025-07-20T01:40:23Z")

</div>

I am trying to use the solution from my differential equation to find local maxima. I am following the example found here, but am running into an issue. I have found that the interpolation of my solution is very poor. He…

---

## [Does AMDGPU.jl support integrated graphics?](https://discourse.julialang.org/t/does-amdgpu-jl-support-integrated-graphics/130675)

<div class="topic-metadata">

**Author:** [@Mend-Amar\_Badral](https://discourse.julialang.org/u/Mend-Amar_Badral)\
**Replies:** 3\
**Last updated:** [July 19, 2025, 10:21pm UTC](https://discourse.julialang.org/t/does-amdgpu-jl-support-integrated-graphics/130675 "2025-07-19T22:21:44Z")

</div>

I have ubuntu 24.04 and my gpu1 is nvidia gpu and gpu0 is AMD ATI Radeon RX Vega 6. I was wondering if it is possible to use AMDGPU.jl to use integrated gpu.

---

## [Accessing values from XML files using XML.jl](https://discourse.julialang.org/t/accessing-values-from-xml-files-using-xml-jl/130832)

<div class="topic-metadata">

**Author:** [@jarredclloyd](https://discourse.julialang.org/u/jarredclloyd)\
**Replies:** 5\
**Last updated:** [July 19, 2025, 10:07pm UTC](https://discourse.julialang.org/t/accessing-values-from-xml-files-using-xml-jl/130832 "2025-07-19T22:07:40Z")

</div>

Hello, I’m struggling to understand how to use XML.jl to read a file and acquire data from it by using the tags at specific depths. Here is an abbreviated version of the XML that contains the basic structure of the XML …

---

## [Kernel with dynamic parallelism seems to be calling CPU functions](https://discourse.julialang.org/t/kernel-with-dynamic-parallelism-seems-to-be-calling-cpu-functions/130829)

<div class="topic-metadata">

**Author:** [@victor\_vhrn](https://discourse.julialang.org/u/victor_vhrn)\
**Replies:** 4\
**Last updated:** [July 19, 2025, 6:19pm UTC](https://discourse.julialang.org/t/kernel-with-dynamic-parallelism-seems-to-be-calling-cpu-functions/130829 "2025-07-19T18:19:25Z")

</div>

I’m trying to implement the adjoint\_v1\_custom\_kernel! using dynamic parallelism (See code below). I’m not sure why, but when trying to run it I get A LOT of unsupported call errors, after a dwarf warning. I tried to fol…

---

## [User defined ELBO in AdvancedVI or Turing](https://discourse.julialang.org/t/user-defined-elbo-in-advancedvi-or-turing/130833)

<div class="topic-metadata">

**Author:** [@Garren\_Hermanus](https://discourse.julialang.org/u/Garren_Hermanus)\
**Replies:** 1\
**Last updated:** [July 19, 2025, 4:40pm UTC](https://discourse.julialang.org/t/user-defined-elbo-in-advancedvi-or-turing/130833 "2025-07-19T16:40:57Z")

</div>

Hi all, I am fairly new to ADVI and Turing (and sub-packages in general). I get the general idea of ADVI in that we make a set of parameter transformations to obtain an estimator to the intractable expectation \\mathbb{…

---

## [How to change "julia\>" prompt to "\>" in console and vscode?](https://discourse.julialang.org/t/how-to-change-julia-prompt-to-in-console-and-vscode/130861)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 8\
**Last updated:** [July 19, 2025, 4:19pm UTC](https://discourse.julialang.org/t/how-to-change-julia-prompt-to-in-console-and-vscode/130861 "2025-07-19T16:19:39Z")

</div>

And hide Julia initial info too, so the repl will be nice and clean.

---

## [Importing \`DifferentialEquations\` and \`BifurcationKit\` together unpredictably fails](https://discourse.julialang.org/t/importing-differentialequations-and-bifurcationkit-together-unpredictably-fails/130831)

<div class="topic-metadata">

**Author:** [@lpz18](https://discourse.julialang.org/u/lpz18)\
**Replies:** 5\
**Last updated:** [July 19, 2025, 3:36pm UTC](https://discourse.julialang.org/t/importing-differentialequations-and-bifurcationkit-together-unpredictably-fails/130831 "2025-07-19T15:36:09Z")

</div>

Importing DifferentialEquations and BifurcationKit together unpredictably fails. I have 3 pluto notebooks: a new one (A), an “intermediate” one (B), and an old one (C) The notebooks import many packages but I isolated …

---

## [Custom hash not called for field in another struct – expected?](https://discourse.julialang.org/t/custom-hash-not-called-for-field-in-another-struct-expected/130869)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 4\
**Last updated:** [July 19, 2025, 2:56pm UTC](https://discourse.julialang.org/t/custom-hash-not-called-for-field-in-another-struct-expected/130869 "2025-07-19T14:56:16Z")

</div>

The Julia docs say: But when I do this, it seems to ignore my custom hash function in certain contexts: julia\> struct Foo end julia\> Base.hash(::Foo, h::UInt) = error() The following calls are what I would ex…

---

## [Avoiding a copy after removing missings from a vector](https://discourse.julialang.org/t/avoiding-a-copy-after-removing-missings-from-a-vector/130866)

<div class="topic-metadata">

**Author:** [@s-baumann](https://discourse.julialang.org/u/s-baumann)\
**Replies:** 9\
**Last updated:** [July 19, 2025, 2:27pm UTC](https://discourse.julialang.org/t/avoiding-a-copy-after-removing-missings-from-a-vector/130866 "2025-07-19T14:27:34Z")

</div>

In Julia I am trying to write a function that will (without copying) compute something from two vectors. As an example think of Pearson correlation (although it is not that). What I have got is: function get\_valid\_entr…

---

## [GLMakie -- text versus annotation -- annotation not working?](https://discourse.julialang.org/t/glmakie-text-versus-annotation-annotation-not-working/130854)

<div class="topic-metadata">

**Author:** [@diadora77](https://discourse.julialang.org/u/diadora77)\
**Replies:** 5\
**Last updated:** [July 19, 2025, 11:55am UTC](https://discourse.julialang.org/t/glmakie-text-versus-annotation-annotation-not-working/130854 "2025-07-19T11:55:45Z")

</div>

Hi- Tried using annotation according to the docs and receiving a recipe error. A minimum viable example is provide below which is very similar to the docs example. ts = rand(10,2) lbs = string.(1:10) f = Figure() ax…

---

## [Active Bruno.jl maintainers](https://discourse.julialang.org/t/active-bruno-jl-maintainers/130864)

<div class="topic-metadata">

**Author:** [@BioinfoBuggaBoo](https://discourse.julialang.org/u/BioinfoBuggaBoo)\
**Replies:** 0\
**Last updated:** [July 19, 2025, 8:37am UTC](https://discourse.julialang.org/t/active-bruno-jl-maintainers/130864 "2025-07-19T08:37:10Z")

</div>

Just posting here to see if any maintainers of Bruno.jl are active here? I’m using the package regularly at present and am keen to discuss Issue 45 and possibly any work they may have been half way through completing be…

---

## [Why are the entries identical in \`zeros(JuMP.AffExpr, N)\`](https://discourse.julialang.org/t/why-are-the-entries-identical-in-zeros-jump-affexpr-n/130860)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 9\
**Last updated:** [July 19, 2025, 8:04am UTC](https://discourse.julialang.org/t/why-are-the-entries-identical-in-zeros-jump-affexpr-n/130860 "2025-07-19T08:04:07Z")

</div>

My understanding about the zeros function in julia is that it has independent entries. But today I find a weird behavior which I cannot explain why. Compare the following unexpected outcome 🔴 and the expected outcome ✅ …

---

## [\[solved\] How to load Modules on demand? To speed up](https://discourse.julialang.org/t/solved-how-to-load-modules-on-demand-to-speed-up/130862)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 8\
**Last updated:** [July 19, 2025, 5:50am UTC](https://discourse.julialang.org/t/solved-how-to-load-modules-on-demand-to-speed-up/130862 "2025-07-19T05:50:04Z")

</div>

I want to speed up running Julia script. Some code executed rarely and require heavy libraries. The problem is ERROR: LoadError: syntax: "import" expression not at top level. Eval doesn’t work ether, it complains abou…

---

## [Getting warning, but model works well](https://discourse.julialang.org/t/getting-warning-but-model-works-well/130850)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 5\
**Last updated:** [July 19, 2025, 2:11am UTC](https://discourse.julialang.org/t/getting-warning-but-model-works-well/130850 "2025-07-19T02:11:41Z")

</div>

I am getting this warning during mtkcompile, while I was not getting it before. It might be related to an update in StructuralTransformations. The model still works fine. How can I disable the warning? ┌ Warning: Intern…

---

## [Python virtual env incorrectly sourced on \`Julia: Start REPL\`](https://discourse.julialang.org/t/python-virtual-env-incorrectly-sourced-on-julia-start-repl/114932)

<div class="topic-metadata">

**Author:** [@mpf01](https://discourse.julialang.org/u/mpf01)\
**Replies:** 1\
**Last updated:** [July 19, 2025, 1:24am UTC](https://discourse.julialang.org/t/python-virtual-env-incorrectly-sourced-on-julia-start-repl/114932 "2025-07-19T01:24:49Z")

</div>

My current working directory contains a Python virtual env (.venv). After the vscode command Julia: Start REPL starts the Julia REPL, this command is automatically executed in the REPL source /Users/mpf/Documents/projec…

---

## [Tyler Plotting Error](https://discourse.julialang.org/t/tyler-plotting-error/130816)

<div class="topic-metadata">

**Author:** [@elipivo](https://discourse.julialang.org/u/elipivo)\
**Replies:** 8\
**Last updated:** [July 18, 2025, 8:50pm UTC](https://discourse.julialang.org/t/tyler-plotting-error/130816 "2025-07-18T20:50:50Z")

</div>

I’m getting the following error using Tyler right out of the box. The versions of the packages are… (temp) pkg\> st Status \`(path)\\Project.toml\` ⌃ \[e9467ef8\] GLMakie v0.10.18 ⌃ \[e170d443\] Tyler v0.1.5 ⌃ \[e9467ef8\] GLMaki…

---

## [A gotcha with OffsetArrays](https://discourse.julialang.org/t/a-gotcha-with-offsetarrays/130858)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 3\
**Last updated:** [July 18, 2025, 7:45pm UTC](https://discourse.julialang.org/t/a-gotcha-with-offsetarrays/130858 "2025-07-18T19:45:37Z")

</div>

With using OffsetArrays import Base: length, size, lastindex, firstindex, eachindex, getindex, setindex!, show, display struct Polly{T} \<: AbstractVector{ T } d :: Int a :: OffsetArray{ T, 1 } functio…

---

## [Reading csv files with missing lines](https://discourse.julialang.org/t/reading-csv-files-with-missing-lines/130853)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 2\
**Last updated:** [July 18, 2025, 5:45pm UTC](https://discourse.julialang.org/t/reading-csv-files-with-missing-lines/130853 "2025-07-18T17:45:35Z")

</div>

I have to read the following csv file: #Turbine Time(s) dt(s) nacelle yaw angle (degrees) 0 20000 0.5 255 1 20000 0.5 255 2 20000 0.5 255 3 20000 0.5 255 4 20000 0.5 255 5 20000 0.5 255 6 20000 0.5 255 7 20000 …

---

## [Why can svgplugin.dll not be found? (for PackageCompiler binary, bundled artifacts)](https://discourse.julialang.org/t/why-can-svgplugin-dll-not-be-found-for-packagecompiler-binary-bundled-artifacts/130848)

<div class="topic-metadata">

**Author:** [@testmax](https://discourse.julialang.org/u/testmax)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 5:31pm UTC](https://discourse.julialang.org/t/why-can-svgplugin-dll-not-be-found-for-packagecompiler-binary-bundled-artifacts/130848 "2025-07-18T17:31:47Z")

</div>

Hello all! I would like to understand, how the DLLs are loaded by the EXE generated with PackageCompiler.jl. The issue is that I have a problem with a compiled program and the GR\_jll.jl DLLs. Specifically, when exporti…

---

## [Plots.jl, GR.jl broken due to GR\_jll v0.69.1+1](https://discourse.julialang.org/t/plots-jl-gr-jl-broken-due-to-gr-jll-v0-69-1-1/89708)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 5\
**Last updated:** [July 18, 2025, 5:33pm UTC](https://discourse.julialang.org/t/plots-jl-gr-jl-broken-due-to-gr-jll-v0-69-1-1/89708 "2025-07-18T17:33:18Z")

</div>

Hi all, I may have broken Plots.jl and GR.jl by introducing v0.69.1+1 of GR\_jll. In particular, you might see an issue when trying to use any GR plugins. For example, the bug creates an issue when using SVG output withi…

---

## [Basic question about type alias](https://discourse.julialang.org/t/basic-question-about-type-alias/130844)

<div class="topic-metadata">

**Author:** [@Nikos\_Gianniotis](https://discourse.julialang.org/u/Nikos_Gianniotis)\
**Replies:** 5\
**Last updated:** [July 18, 2025, 2:40pm UTC](https://discourse.julialang.org/t/basic-question-about-type-alias/130844 "2025-07-18T14:40:50Z")

</div>

For the first time, I defined my own type alias and was surprised by the following behaviour: const VecScalar{T\<:Number} = Tuple{Vector{T}, T} x::VecScalar{Float64} = (\[1.0, 2.0\], 3.0) # works as expected. x::VecScal…

---

## [Cleaning ImageMorphology boundary data](https://discourse.julialang.org/t/cleaning-imagemorphology-boundary-data/130561)

<div class="topic-metadata">

**Author:** [@solace](https://discourse.julialang.org/u/solace)\
**Replies:** 8\
**Last updated:** [July 18, 2025, 1:59pm UTC](https://discourse.julialang.org/t/cleaning-imagemorphology-boundary-data/130561 "2025-07-18T13:59:09Z")

</div>

Hi all, this is my first post on discourse so apologies in advance if I haven’t formatted things correctly. I have read the “Please read: make it easier to help you” discussion. I have a matrix of float values represent…

---

## [Julia package orphanage](https://discourse.julialang.org/t/julia-package-orphanage/130554)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 8\
**Last updated:** [July 18, 2025, 12:33pm UTC](https://discourse.julialang.org/t/julia-package-orphanage/130554 "2025-07-18T12:33:26Z")

</div>

Some Emacs maintainers started emacsorphanage, a git org for managing Emacs packages that are not maintained. The idea is that instead of archiving your source repo, you can transfer it to them, and they will do very bas…

---

## [Energy conserving (or symplectic) solvers for differential equations?](https://discourse.julialang.org/t/energy-conserving-or-symplectic-solvers-for-differential-equations/130840)

<div class="topic-metadata">

**Author:** [@Flow](https://discourse.julialang.org/u/Flow)\
**Replies:** 2\
**Last updated:** [July 18, 2025, 10:52am UTC](https://discourse.julialang.org/t/energy-conserving-or-symplectic-solvers-for-differential-equations/130840 "2025-07-18T10:52:41Z")

</div>

Hello there, I am relatively new to Julia and am currently trying to calculate trajectories of a physical system on GPUs, which in generally works like a charm, as long as I do not include an minimum coupling term in my…

---

## [Franklin: utils.jl produces JavaScript scripts locally but not on GitHub Pages](https://discourse.julialang.org/t/franklin-utils-jl-produces-javascript-scripts-locally-but-not-on-github-pages/130836)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 1\
**Last updated:** [July 18, 2025, 10:53am UTC](https://discourse.julialang.org/t/franklin-utils-jl-produces-javascript-scripts-locally-but-not-on-github-pages/130836 "2025-07-18T10:53:35Z")

</div>

I’ve been trying to modularize my Franklin-powered website’s code by using Julia to build pieces of JavaScript code in the website that are fairly repetitive. To achieve this, I used this Julia code in my utils.jl file: …

---

## [JuMP : Vector version of set\_lower\_bound and set\_upper\_bound?](https://discourse.julialang.org/t/jump-vector-version-of-set-lower-bound-and-set-upper-bound/130703)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 13\
**Last updated:** [July 18, 2025, 10:05am UTC](https://discourse.julialang.org/t/jump-vector-version-of-set-lower-bound-and-set-upper-bound/130703 "2025-07-18T10:05:14Z")

</div>

Hi, I work on a project involving the resolution of numerous (10K) linear optimization problems. JuMP is very expressive and convenient allowing to work with different backend solvers : many thanks to the JuMP devs for…

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

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