# Latest

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

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

**Page:** 177

---

## [This month in Julia in Julia dispatch podcast](https://discourse.julialang.org/t/this-month-in-julia-in-julia-dispatch-podcast/128468)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 4\
**Last updated:** [April 28, 2025, 4:10am UTC](https://discourse.julialang.org/t/this-month-in-julia-in-julia-dispatch-podcast/128468 "2025-04-28T04:10:54Z")

</div>

I am just watching a new episode of Julia dispatch, where Chris and Michael goes over Stefan’s this month in julia. This is so great to hear little bit of technical context about individual bullets. It is much easier to …

---

## [Custom dot product for GMRES](https://discourse.julialang.org/t/custom-dot-product-for-gmres/128313)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 14\
**Last updated:** [April 28, 2025, 3:39am UTC](https://discourse.julialang.org/t/custom-dot-product-for-gmres/128313 "2025-04-28T03:39:58Z")

</div>

Is it possible to define a custom inner product for gmres in Krylov.jl ?

---

## [Prevent dual ray calculation when using \`HiGHS\`](https://discourse.julialang.org/t/prevent-dual-ray-calculation-when-using-highs/128414)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 10:23pm UTC](https://discourse.julialang.org/t/prevent-dual-ray-calculation-when-using-highs/128414 "2025-04-27T22:23:02Z")

</div>

I’m seeing the following log with an older model that I’ve just updated: Running HiGHS 1.10.0 (git hash: fd8665394e): Copyright (c) 2025 HiGHS under MIT licence terms LP has 51118 rows; 38919 cols; 128913 nonzeros Coe…

---

## [Orthonormal axes in layout of PlotlyJS plot (as set\_aspect="equal" in python)](https://discourse.julialang.org/t/orthonormal-axes-in-layout-of-plotlyjs-plot-as-set-aspect-equal-in-python/128463)

<div class="topic-metadata">

**Author:** [@jowsky](https://discourse.julialang.org/u/jowsky)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 8:39pm UTC](https://discourse.julialang.org/t/orthonormal-axes-in-layout-of-plotlyjs-plot-as-set-aspect-equal-in-python/128463 "2025-04-27T20:39:02Z")

</div>

Hello there, I am trying to plot a PlotlyJS 2D scatter plot with orthonormal axes, i.e. x and y axes of same scale, much like set\_aspect="equal" in matplotlib.pyplot in python. Unfortunately, I can’t manage to do it. I…

---

## [How do I get Test Coverage not to mess up @allocated calculations](https://discourse.julialang.org/t/how-do-i-get-test-coverage-not-to-mess-up-allocated-calculations/128418)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 3\
**Last updated:** [April 27, 2025, 8:29pm UTC](https://discourse.julialang.org/t/how-do-i-get-test-coverage-not-to-mess-up-allocated-calculations/128418 "2025-04-27T20:29:23Z")

</div>

I have a runtests.jl which does something like this. ff()=@allocated myfun(vara,varb, varc) @test ff()=0 This returns true if not running with code coverage and then it fails when testing with code-coverage. But not …

---

## [MPI.jl tasks in multiple nodes](https://discourse.julialang.org/t/mpi-jl-tasks-in-multiple-nodes/128462)

<div class="topic-metadata">

**Author:** [@kongdd](https://discourse.julialang.org/u/kongdd)\
**Replies:** 1\
**Last updated:** [April 27, 2025, 2:26pm UTC](https://discourse.julialang.org/t/mpi-jl-tasks-in-multiple-nodes/128462 "2025-04-27T14:26:12Z")

</div>

I want to submit tasks in 4 nodes, with each node 10 process. However the following script only runs on 1 node: bsub -J kongdd\_m01 \\ -o log\_all.out \\ -e log\_all.err \\ -n 40 \\ -R "span\[ptile=10\]" \\ …

---

## [\[ANN\] Streamfall.jl: A Graph-based Streamflow Modelling System](https://discourse.julialang.org/t/ann-streamfall-jl-a-graph-based-streamflow-modelling-system/128452)

<div class="topic-metadata">

**Author:** [@ConnectedSystems](https://discourse.julialang.org/u/ConnectedSystems)\
**Replies:** 0\
**Last updated:** [April 27, 2025, 4:52am UTC](https://discourse.julialang.org/t/ann-streamfall-jl-a-graph-based-streamflow-modelling-system/128452 "2025-04-27T04:52:58Z")

</div>

Announcing Streamfall.jl: A Graph-based Streamflow Modelling System Streamfall.jl is a streamflow modelling system leveraging the Julia ecosystem to provide: Quick heterogeneous modelling of stream networks in ca…

---

## [A Brief Study of Memory Bound Application Performance on M3 Ultra and M4 Max in Julia](https://discourse.julialang.org/t/a-brief-study-of-memory-bound-application-performance-on-m3-ultra-and-m4-max-in-julia/128459)

<div class="topic-metadata">

**Author:** [@PetarM](https://discourse.julialang.org/u/PetarM)\
**Replies:** 2\
**Last updated:** [April 27, 2025, 12:07pm UTC](https://discourse.julialang.org/t/a-brief-study-of-memory-bound-application-performance-on-m3-ultra-and-m4-max-in-julia/128459 "2025-04-27T12:07:10Z")

</div>

Hello everybody! I wanted to share my Linear Algebra performance findings in Julia on the M4 Max and M3 Ultra in double precision floating point. As a Julia novice, I was hugely impressed how easy it was for me to brain…

---

## [Mapping a 'getter'](https://discourse.julialang.org/t/mapping-a-getter/107276)

<div class="topic-metadata">

**Author:** [@Marco\_Antoniotti](https://discourse.julialang.org/u/Marco_Antoniotti)\
**Replies:** 33\
**Last updated:** [April 27, 2025, 10:16am UTC](https://discourse.julialang.org/t/mapping-a-getter/107276 "2025-04-27T10:16:18Z")

</div>

Hi Is there a way to use a “getter” as a function? But without defining a “getter”. Example struct Person name age end This gets me a type. Now suppose I have ps = \[Person("John", 12), Person("Alice", 14)\]…

---

## [How to change PlotlyJS theme](https://discourse.julialang.org/t/how-to-change-plotlyjs-theme/128435)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 4\
**Last updated:** [April 27, 2025, 7:39am UTC](https://discourse.julialang.org/t/how-to-change-plotlyjs-theme/128435 "2025-04-27T07:39:21Z")

</div>

I begin to use PlotlyJS and I wonder how to change the theme. I also wonder about the right Plotly julia package (PlotlyJS/PlotlyLight). Best

---

## [ERROR: LoadError: BoundsError: attempt to access 10-element Vector{Int64} at index \[11\]](https://discourse.julialang.org/t/error-loaderror-boundserror-attempt-to-access-10-element-vector-int64-at-index-11/128114)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 26\
**Last updated:** [April 27, 2025, 6:15am UTC](https://discourse.julialang.org/t/error-loaderror-boundserror-attempt-to-access-10-element-vector-int64-at-index-11/128114 "2025-04-27T06:15:49Z")

</div>

Hello, The contents of the file.txt file is as follows: 1 2 3 4 5 6 7 8 9 10 I wrote the following code to put the numbers in the file into an array: function arrayandfile() array = fill(0,10) inn = open("fil…

---

## [Why does "Doesn't exist" always print?](https://discourse.julialang.org/t/why-does-doesnt-exist-always-print/128427)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 8\
**Last updated:** [April 27, 2025, 5:31am UTC](https://discourse.julialang.org/t/why-does-doesnt-exist-always-print/128427 "2025-04-27T05:31:32Z")

</div>

Hello, Please take a look at the following code: function search() array = \[1,2,3,4,5\] low = 0 high = 0 while true print("Please enter two numbers for Low and high index: ") low, high = …

---

## [A code example on primal-dual algorithm for LP](https://discourse.julialang.org/t/a-code-example-on-primal-dual-algorithm-for-lp/128148)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 14\
**Last updated:** [April 26, 2025, 8:22am UTC](https://discourse.julialang.org/t/a-code-example-on-primal-dual-algorithm-for-lp/128148 "2025-04-26T08:22:49Z")

</div>

Here is a simplest julia realization of the barrier method on solving LP. The exemplary problem is Min x\[1\] + 2 \* x\[2\] + 3 \* x\[3\] s.t. sum(x) == 1 x .\>= 0 My code is function gapfun(x, z) return transpose(x) \* z…

---

## [Struggling to understand how to use PrecompileTools](https://discourse.julialang.org/t/struggling-to-understand-how-to-use-precompiletools/128419)

<div class="topic-metadata">

**Author:** [@freeman](https://discourse.julialang.org/u/freeman)\
**Replies:** 25\
**Last updated:** [April 26, 2025, 10:49pm UTC](https://discourse.julialang.org/t/struggling-to-understand-how-to-use-precompiletools/128419 "2025-04-26T22:49:58Z")

</div>

Hello! I wrote a bunch of libs in Julia that all work together. One lib in particular exists just to read and stream a certain data from HDF5 files. One of the functions in this lib has the job of, given one of these HD…

---

## [Julia TestItemRunner](https://discourse.julialang.org/t/julia-testitemrunner/127072)

<div class="topic-metadata">

**Author:** [@feribg](https://discourse.julialang.org/u/feribg)\
**Replies:** 1\
**Last updated:** [April 26, 2025, 8:26pm UTC](https://discourse.julialang.org/t/julia-testitemrunner/127072 "2025-04-26T20:26:48Z")

</div>

Currently there’s no way to specify or even run the testitemrunner tests outside of vscode in any meaningful repl way. Package structure is: MainPackage: Package.toml test/ Package.toml runtests.jl runtests.jl con…

---

## [Good practices for numerical array constants in tests](https://discourse.julialang.org/t/good-practices-for-numerical-array-constants-in-tests/127443)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 5\
**Last updated:** [April 26, 2025, 8:21pm UTC](https://discourse.julialang.org/t/good-practices-for-numerical-array-constants-in-tests/127443 "2025-04-26T20:21:41Z")

</div>

I have isolated a tricky numerical corner case for a package using randomly generated values. I tracked down the problem and fixed it, but want to add it to the tests too so that it does not happen again even if I refact…

---

## [QML.jl makie-plot example gives multiple errors](https://discourse.julialang.org/t/qml-jl-makie-plot-example-gives-multiple-errors/128444)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 10\
**Last updated:** [April 26, 2025, 8:12pm UTC](https://discourse.julialang.org/t/qml-jl-makie-plot-example-gives-multiple-errors/128444 "2025-04-26T20:12:57Z")

</div>

I’m trying to run this (pasting in the REPL): First error occurs on using GLMakie: ▶ Summary However, if I run using GLMakie again it seems to work. Second error occurs on figscene = fig.scene. Fixed: this is due t…

---

## [Verbose test output with highlighted differences](https://discourse.julialang.org/t/verbose-test-output-with-highlighted-differences/128067)

<div class="topic-metadata">

**Author:** [@Peter\_Hill](https://discourse.julialang.org/u/Peter_Hill)\
**Replies:** 2\
**Last updated:** [April 26, 2025, 8:07pm UTC](https://discourse.julialang.org/t/verbose-test-output-with-highlighted-differences/128067 "2025-04-26T20:07:38Z")

</div>

Is there a way to get more verbose output from @test failures? Take this minimal example: julia\> expected = \[1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21\] julia\> result = \[1, 2, 3, 4, 5, 6, …

---

## [Current best plotting package to use with QML.jl](https://discourse.julialang.org/t/current-best-plotting-package-to-use-with-qml-jl/128445)

<div class="topic-metadata">

**Author:** [@Tetrakai](https://discourse.julialang.org/u/Tetrakai)\
**Replies:** 0\
**Last updated:** [April 26, 2025, 7:41pm UTC](https://discourse.julialang.org/t/current-best-plotting-package-to-use-with-qml-jl/128445 "2025-04-26T19:41:07Z")

</div>

So far QML.jl has been amazing along with StatsPlots. I was able to develop a pretty complicated prototype for a data dashboard in about a day (unable to share it at this time). This was not what I expected from reading…

---

## [How to retrieve axis handle from figure object?](https://discourse.julialang.org/t/how-to-retrieve-axis-handle-from-figure-object/82570)

<div class="topic-metadata">

**Author:** [@hanshinlee77](https://discourse.julialang.org/u/hanshinlee77)\
**Replies:** 5\
**Last updated:** [April 26, 2025, 5:51pm UTC](https://discourse.julialang.org/t/how-to-retrieve-axis-handle-from-figure-object/82570 "2025-04-26T17:51:53Z")

</div>

Hello, I have a function that creates a Makie (CairoMakie) plot and returns its figure object. Occasionally, I need to modify some of the figure settings (e.g. axis limits) after this function is executed and the figur…

---

## [How Do You Actually Check for Type Stability in Julia?](https://discourse.julialang.org/t/how-do-you-actually-check-for-type-stability-in-julia/128364)

<div class="topic-metadata">

**Author:** [@Sakura](https://discourse.julialang.org/u/Sakura)\
**Replies:** 6\
**Last updated:** [April 26, 2025, 4:59pm UTC](https://discourse.julialang.org/t/how-do-you-actually-check-for-type-stability-in-julia/128364 "2025-04-26T16:59:15Z")

</div>

Hey everyone, I have been diving into Julia lately & loving the speed but I am still wrapping my head around some of the concepts— type stability. I have heard it is a big deal for performance but I am not totally sure …

---

## [EXCEPTION\_ACCESS\_VIOLATION on Windows but not MacOS](https://discourse.julialang.org/t/exception-access-violation-on-windows-but-not-macos/127653)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 17\
**Last updated:** [April 26, 2025, 4:29pm UTC](https://discourse.julialang.org/t/exception-access-violation-on-windows-but-not-macos/127653 "2025-04-26T16:29:13Z")

</div>

I am running the exact same code on Windows and Mac with Julia 11.4 installed on both. I have to assume this error message relates to an out of bounds request. I’ll paste the huge error message below. I can share the …

---

## [IDE: alternatives to VS Code?](https://discourse.julialang.org/t/ide-alternatives-to-vs-code/122526)

<div class="topic-metadata">

**Author:** [@chskcau](https://discourse.julialang.org/u/chskcau)\
**Replies:** 62\
**Last updated:** [April 26, 2025, 4:16pm UTC](https://discourse.julialang.org/t/ide-alternatives-to-vs-code/122526 "2025-04-26T16:16:54Z")

</div>

Hi, what IDEs are there currently that feature good support for Julia? I understand that Juno used to be a thing, but that it was given up on in favor of VS Code and the VS Code Julia plugin. Everyone now seems to be r…

---

## [Plotly causes WebIO error in Julia Notebook](https://discourse.julialang.org/t/plotly-causes-webio-error-in-julia-notebook/125918)

<div class="topic-metadata">

**Author:** [@decuser](https://discourse.julialang.org/u/decuser)\
**Replies:** 4\
**Last updated:** [April 26, 2025, 7:23am UTC](https://discourse.julialang.org/t/plotly-causes-webio-error-in-julia-notebook/125918 "2025-04-26T07:23:41Z")

</div>

When I try to use Plotly in Julia Notebook, I get the following error: WebIO not detected. Please read the troubleshooting guide for more information on how to resolve this issue. https://juliagizmos.github.io/WebIO.j…

---

## [Performance of Hermitian eigensolvers](https://discourse.julialang.org/t/performance-of-hermitian-eigensolvers/23142)

<div class="topic-metadata">

**Author:** [@Invarianz](https://discourse.julialang.org/u/Invarianz)\
**Replies:** 2\
**Last updated:** [April 26, 2025, 3:01am UTC](https://discourse.julialang.org/t/performance-of-hermitian-eigensolvers/23142 "2025-04-26T03:01:49Z")

</div>

I usually work with full diagonalisation of Hermitian matrices. After some research I realised that there are two options to retrieve the eigenvalues and eigenvectors of such a matrix. LinearAlgebra.LAPACK.syev!() and e…

---

## [Julia v1.12.0-beta2 is now available](https://discourse.julialang.org/t/julia-v1-12-0-beta2-is-now-available/128417)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [April 25, 2025, 10:55pm UTC](https://discourse.julialang.org/t/julia-v1-12-0-beta2-is-now-available/128417 "2025-04-25T22:55:10Z")

</div>

Julia version 1.12.0-beta2, the second beta pre-release in the upcoming 1.12 series of releases, is now available. Check out the NEWS.md file to see what will be new in 1.12. Binaries are available via JuliaUp and in the…

---

## [Change loss function depending on the iteration count within Optim.jl](https://discourse.julialang.org/t/change-loss-function-depending-on-the-iteration-count-within-optim-jl/128362)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 4\
**Last updated:** [April 25, 2025, 10:24pm UTC](https://discourse.julialang.org/t/change-loss-function-depending-on-the-iteration-count-within-optim-jl/128362 "2025-04-25T22:24:50Z")

</div>

Hi, let’s say I have a loss function which I want to change depending on the iteration count. For example: function l(x, target) target\_warp = f\_warp(target, iteration\_count) sum(abs2, x .- target\_warp) end I…

---

## [Custom dictionary type: fieldless keytype, fieldless valtype](https://discourse.julialang.org/t/custom-dictionary-type-fieldless-keytype-fieldless-valtype/128405)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 3\
**Last updated:** [April 25, 2025, 9:06pm UTC](https://discourse.julialang.org/t/custom-dictionary-type-fieldless-keytype-fieldless-valtype/128405 "2025-04-25T21:06:21Z")

</div>

Suppose there are some mutable struct types with no fields, and with the default (fallback) equality and hashing methods. A value of such a type has its identity as its only quality. For example: mutable struct A end mu…

---

## [Different results between 10^50 and 10.0^50](https://discourse.julialang.org/t/different-results-between-10-50-and-10-0-50/128401)

<div class="topic-metadata">

**Author:** [@quantum2025](https://discourse.julialang.org/u/quantum2025)\
**Replies:** 10\
**Last updated:** [April 25, 2025, 7:50pm UTC](https://discourse.julialang.org/t/different-results-between-10-50-and-10-0-50/128401 "2025-04-25T19:50:43Z")

</div>

I am studying the Julia language, and found a strange result, that is 10^50 and 10.0^50 generate opposite results: julia\> 10.0^200 1.0e200 julia\> 10.0^200000 Inf Can anyone tell the reason behind this result? Is it du…

---

## [Bit matrix of non-NaNs](https://discourse.julialang.org/t/bit-matrix-of-non-nans/128376)

<div class="topic-metadata">

**Author:** [@Boris](https://discourse.julialang.org/u/Boris)\
**Replies:** 8\
**Last updated:** [April 25, 2025, 7:18pm UTC](https://discourse.julialang.org/t/bit-matrix-of-non-nans/128376 "2025-04-25T19:18:32Z")

</div>

Hi. If I have a matrix with NaNs I can find them with isnan.(). Sorry for the stupid question, but how do I get the non-NaN bit matrix? suppose I have YY = rand(10,3); YY\[2,1\] = NaN; YY\[4,2\] = NaN; YY\[3,3\] = NaN; Sm = …

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

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