# Latest

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

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

**Page:** 313

---

## [Julia v1.11.0-rc4 is now available](https://discourse.julialang.org/t/julia-v1-11-0-rc4-is-now-available/119888)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [September 26, 2024, 2:06am UTC](https://discourse.julialang.org/t/julia-v1-11-0-rc4-is-now-available/119888 "2024-09-26T02:06:19Z")

</div>

The Julia developers are pleased to announce that the fourth release candidate for Julia v1.11.0 is now available. You can download binaries using JuliaUp or from https://julialang.org/downloads/ in the “upcoming release…

---

## [Efficient iteration with fixed size array types without \`@generated\` functions](https://discourse.julialang.org/t/efficient-iteration-with-fixed-size-array-types-without-generated-functions/119777)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 9\
**Last updated:** [September 26, 2024, 1:54am UTC](https://discourse.julialang.org/t/efficient-iteration-with-fixed-size-array-types-without-generated-functions/119777 "2024-09-26T01:54:40Z")

</div>

My package, CliffordNumbers.jl, has a type BitIndices{Q,C\<:AbstractCliffordNumber{Q}} \<: AbstractVector{BitIndex{Q}}, whose length is the same as that of C, and that length is known at compile time. Indexing these object…

---

## [How do you think about Codon?](https://discourse.julialang.org/t/how-do-you-think-about-codon/119842)

<div class="topic-metadata">

**Author:** [@photor](https://discourse.julialang.org/u/photor)\
**Replies:** 7\
**Last updated:** [September 26, 2024, 1:52am UTC](https://discourse.julialang.org/t/how-do-you-think-about-codon/119842 "2024-09-26T01:52:32Z")

</div>

The following comparison is on the official Codon website: CPython? Codon tries to follow CPython’s syntax, semantics and APIs as closely as possible, aside from a few cases where Codon differs from CPython for perfor…

---

## [Create dynamic functions with Macro](https://discourse.julialang.org/t/create-dynamic-functions-with-macro/119824)

<div class="topic-metadata">

**Author:** [@Ronneesley](https://discourse.julialang.org/u/Ronneesley)\
**Replies:** 15\
**Last updated:** [September 26, 2024, 12:33am UTC](https://discourse.julialang.org/t/create-dynamic-functions-with-macro/119824 "2024-09-26T00:33:22Z")

</div>

Hi, I’m trying create “dynamic” functions with macro, but it isn’t working. Let-me explain: I’ve this function: function f(::Type{T}, message) where T println("Type: ", T) println("Message: ", message) end Wh…

---

## [Differing construction and conversion for subtypes of Number](https://discourse.julialang.org/t/differing-construction-and-conversion-for-subtypes-of-number/119886)

<div class="topic-metadata">

**Author:** [@brainandforce](https://discourse.julialang.org/u/brainandforce)\
**Replies:** 0\
**Last updated:** [September 26, 2024, 12:18am UTC](https://discourse.julialang.org/t/differing-construction-and-conversion-for-subtypes-of-number/119886 "2024-09-26T00:18:48Z")

</div>

After reading a few threads here, I’ve come to understand that for subtypes of Number, construction and conversion should have nearly identical behavior (with one exception: it is expected that construction always return…

---

## [Help finding multiple roots to nonlinear equation - IntervalRootFinding not working](https://discourse.julialang.org/t/help-finding-multiple-roots-to-nonlinear-equation-intervalrootfinding-not-working/119575)

<div class="topic-metadata">

**Author:** [@lpz18](https://discourse.julialang.org/u/lpz18)\
**Replies:** 13\
**Last updated:** [September 25, 2024, 8:42pm UTC](https://discourse.julialang.org/t/help-finding-multiple-roots-to-nonlinear-equation-intervalrootfinding-not-working/119575 "2024-09-25T20:42:44Z")

</div>

I have a set of nonlinear equations (which happen to be steady-state DEs) that I am trying to solve that have multiple real roots and 3 variables (x, y, & z in the code below) In Mathematica I can get the multiple roots…

---

## [GraphNeuralNetworks.jl or GeometricFlux.jl](https://discourse.julialang.org/t/graphneuralnetworks-jl-or-geometricflux-jl/119883)

<div class="topic-metadata">

**Author:** [@depasquale](https://discourse.julialang.org/u/depasquale)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 8:13pm UTC](https://discourse.julialang.org/t/graphneuralnetworks-jl-or-geometricflux-jl/119883 "2024-09-25T20:13:03Z")

</div>

Hi all, In the least divisive tone possible, I was wondering if anyone could weigh in on the benefits/downsides of GraphNeuralNetworks.jl and GeometricFlux.jl. I am getting into GNNs in julia, and they seems to overlap.…

---

## [Basinattractionfor4D](https://discourse.julialang.org/t/basinattractionfor4d/119793)

<div class="topic-metadata">

**Author:** [@Sarbast\_Hussein\_Mika](https://discourse.julialang.org/u/Sarbast_Hussein_Mika)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 7:59pm UTC](https://discourse.julialang.org/t/basinattractionfor4d/119793 "2024-09-25T19:59:28Z")

</div>

Hello everyone Is there any code for Basin attraction for 4D nonliner differential system with line equilibrium? To classify regions Chaotic Periodic Line equilibrium Hope someone could help me in this regards

---

## [Good to copy GPU arrays back to CPU?](https://discourse.julialang.org/t/good-to-copy-gpu-arrays-back-to-cpu/119778)

<div class="topic-metadata">

**Author:** [@huiyuxie](https://discourse.julialang.org/u/huiyuxie)\
**Replies:** 6\
**Last updated:** [September 25, 2024, 7:51pm UTC](https://discourse.julialang.org/t/good-to-copy-gpu-arrays-back-to-cpu/119778 "2024-09-25T19:51:27Z")

</div>

I was wondering if it’s a good practice to always copy GPU arrays back to the CPU before a program ends. I’m running a large program that performs simulations with a large amount of data on the GPU. I know that some res…

---

## [Mismatched ForwardDiff and FiniteDifference gradients with ImplicitDifferentiation](https://discourse.julialang.org/t/mismatched-forwarddiff-and-finitedifference-gradients-with-implicitdifferentiation/119756)

<div class="topic-metadata">

**Author:** [@benjaminfaber](https://discourse.julialang.org/u/benjaminfaber)\
**Replies:** 12\
**Last updated:** [September 25, 2024, 7:31pm UTC](https://discourse.julialang.org/t/mismatched-forwarddiff-and-finitedifference-gradients-with-implicitdifferentiation/119756 "2024-09-25T19:31:05Z")

</div>

@gdalle I am attempting to use ImplicitDifferentiation with ForwardDiff to compute the gradient of an optimization problem. I’ve tried to figure out how to reduce the problem to a minimum working example, but I have not…

---

## [Change color of 'walls' in Axis3 in Makie](https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882)

<div class="topic-metadata">

**Author:** [@JonasWickman](https://discourse.julialang.org/u/JonasWickman)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 6:47pm UTC](https://discourse.julialang.org/t/change-color-of-walls-in-axis3-in-makie/119882 "2024-09-25T18:47:16Z")

</div>

Using Makie, I want to group some subfigures together with colored boxes as described here: How to draw boxes around subfigures | Makie. However, some of the subfigures are 3d plots, and the ‘walls’ and ‘floor’ of the Ax…

---

## [Switching stiff solvers when one is unstable](https://discourse.julialang.org/t/switching-stiff-solvers-when-one-is-unstable/119609)

<div class="topic-metadata">

**Author:** [@pulk\_jain](https://discourse.julialang.org/u/pulk_jain)\
**Replies:** 15\
**Last updated:** [September 25, 2024, 6:03pm UTC](https://discourse.julialang.org/t/switching-stiff-solvers-when-one-is-unstable/119609 "2024-09-25T18:03:59Z")

</div>

I am solving an ode (~40 variables) for many different initial conditions. Mostly TRBDF2 gives fastest results. But sometimes it shows that the system is unstable. In such cases I switched to Rodas5P or RadauIIA5 which g…

---

## [Solve Large Scale Underdetermined Linear Equation with per Element Equality Constraint](https://discourse.julialang.org/t/solve-large-scale-underdetermined-linear-equation-with-per-element-equality-constraint/119655)

<div class="topic-metadata">

**Author:** [@RoyiAvital](https://discourse.julialang.org/u/RoyiAvital)\
**Replies:** 16\
**Last updated:** [September 25, 2024, 5:10pm UTC](https://discourse.julialang.org/t/solve-large-scale-underdetermined-linear-equation-with-per-element-equality-constraint/119655 "2024-09-25T17:10:56Z")

</div>

I have the following linear system to solve: \\boldsymbol{A} \\boldsymbol{x} = \\boldsymbol{0}, \\quad \\text{subject to} \\; {x}\_{i} = {v}\_{i} \\; \\forall i \\in \\mathcal{V} Where \\boldsymbol{A} \\in \\mathbb{R}^{m \\times n} w…

---

## [GLMakie log10 plot UI problems](https://discourse.julialang.org/t/glmakie-log10-plot-ui-problems/119870)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 5:04pm UTC](https://discourse.julialang.org/t/glmakie-log10-plot-ui-problems/119870 "2024-09-25T17:04:09Z")

</div>

I’ve been working to get a custom GLMakie plot recipe with log scaling on the Y-axis. When I tried using DataInspector() to look at the values in the plots I find that the tooltip is either misplaced or totally not vi…

---

## [A possible change for Julia 2.0: per-argument mutation ! marks?](https://discourse.julialang.org/t/a-possible-change-for-julia-2-0-per-argument-mutation-marks/119631)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 12\
**Last updated:** [September 25, 2024, 2:39pm UTC](https://discourse.julialang.org/t/a-possible-change-for-julia-2-0-per-argument-mutation-marks/119631 "2024-09-25T14:39:31Z")

</div>

This is just a brain-dump. I find the convention of putting a ! in a function name to indicate a parameter might get changed to be less than satisfactory. Because consider this change!(a, b). What if the function chang…

---

## [This video compares a few modern languages for a simple tcp server and Julia was included. Julia did all right](https://discourse.julialang.org/t/this-video-compares-a-few-modern-languages-for-a-simple-tcp-server-and-julia-was-included-julia-did-all-right/119871)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 2:26pm UTC](https://discourse.julialang.org/t/this-video-compares-a-few-modern-languages-for-a-simple-tcp-server-and-julia-was-included-julia-did-all-right/119871 "2024-09-25T14:26:52Z")

</div>

This was the score given to Julia which is not bad considering a tcp server is within Julia’s capabilities but isn’t exactly what it’s designed for

---

## [\[solved\] Add icon to the top bar](https://discourse.julialang.org/t/solved-add-icon-to-the-top-bar/119492)

<div class="topic-metadata">

**Author:** [@ReLoneR](https://discourse.julialang.org/u/ReLoneR)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 2:11pm UTC](https://discourse.julialang.org/t/solved-add-icon-to-the-top-bar/119492 "2024-09-25T14:11:56Z")

</div>

Hello, how to add an icon to the top bar of the browser? i have an app.jl, with an interface from ui.jl.html. For some reason if i put link to the icons in head tag in .jl.html - it doesnt work. Is there a way it suppose…

---

## [Convergence of inverse problem of heat equation with PINN](https://discourse.julialang.org/t/convergence-of-inverse-problem-of-heat-equation-with-pinn/119866)

<div class="topic-metadata">

**Author:** [@AliaNajwaMY](https://discourse.julialang.org/u/AliaNajwaMY)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 1:41pm UTC](https://discourse.julialang.org/t/convergence-of-inverse-problem-of-heat-equation-with-pinn/119866 "2024-09-25T13:41:49Z")

</div>

I’m having trouble getting my inverse problem of heat equation with multiple parameters to converge using the neuromancer package (which encodes the PINN model). I am coding using python but was told that I still could a…

---

## [New to Julia. Reading Julia version numbers](https://discourse.julialang.org/t/new-to-julia-reading-julia-version-numbers/119835)

<div class="topic-metadata">

**Author:** [@pogikano](https://discourse.julialang.org/u/pogikano)\
**Replies:** 7\
**Last updated:** [September 25, 2024, 1:28pm UTC](https://discourse.julialang.org/t/new-to-julia-reading-julia-version-numbers/119835 "2024-09-25T13:28:52Z")

</div>

I have Julia version 1.10.5. I want to use the correct version of the documentation. How do I translate that into the documentation version numbering, e.g. v5.10 etc.?

---

## [Block Diagonal Factorization Performance](https://discourse.julialang.org/t/block-diagonal-factorization-performance/112294)

<div class="topic-metadata">

**Author:** [@bmit](https://discourse.julialang.org/u/bmit)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 1:28pm UTC](https://discourse.julialang.org/t/block-diagonal-factorization-performance/112294 "2024-09-25T13:28:08Z")

</div>

I’m looking to leverage the speedup that is possible by exploiting block diagonal structures during matrix factorization. Since I’m relying on existing code and inherent multiple dispatch, I need the solution to 1) use a…

---

## [Julia code crash in VSCode extension](https://discourse.julialang.org/t/julia-code-crash-in-vscode-extension/119863)

<div class="topic-metadata">

**Author:** [@s\_amap](https://discourse.julialang.org/u/s_amap)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 12:53pm UTC](https://discourse.julialang.org/t/julia-code-crash-in-vscode-extension/119863 "2024-09-25T12:53:03Z")

</div>

Greetings, I am quite new to Julia and VSCode (I come from a mostly C/C++ background), so apologies if the issue isn’t perfectly described. Using Julia 1.10.5 and the latest version of the VSCode extension, I encounter…

---

## [Multibody modeling in ModelingToolkit using Multibody.jl](https://discourse.julialang.org/t/multibody-modeling-in-modelingtoolkit-using-multibody-jl/119858)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 0\
**Last updated:** [September 25, 2024, 12:25pm UTC](https://discourse.julialang.org/t/multibody-modeling-in-modelingtoolkit-using-multibody-jl/119858 "2024-09-25T12:25:56Z")

</div>

Multibody modeling in ModelingToolkit using Multibody.jl I’m happy to announce that the repository of Multibody.jl has just been made public. Multibody.jl is a component library for ModelingToolkit that allows you to mod…

---

## [Linear solve slower with Banded Matrix](https://discourse.julialang.org/t/linear-solve-slower-with-banded-matrix/119840)

<div class="topic-metadata">

**Author:** [@RobertGregg](https://discourse.julialang.org/u/RobertGregg)\
**Replies:** 8\
**Last updated:** [September 25, 2024, 12:08pm UTC](https://discourse.julialang.org/t/linear-solve-slower-with-banded-matrix/119840 "2024-09-25T12:08:07Z")

</div>

I was trying to speed up a linear solve (Ax=b) where my A matrix is banded. Compared to just using a sparse matrix, the banded matrix took about twice as long. using Random, SparseArrays, LinearAlgebra using BenchmarkTo…

---

## [Warning when using NonlinearSolve.jl with LinearSolve.jl and MINRES](https://discourse.julialang.org/t/warning-when-using-nonlinearsolve-jl-with-linearsolve-jl-and-minres/119781)

<div class="topic-metadata">

**Author:** [@mpf01](https://discourse.julialang.org/u/mpf01)\
**Replies:** 8\
**Last updated:** [September 25, 2024, 12:04pm UTC](https://discourse.julialang.org/t/warning-when-using-nonlinearsolve-jl-with-linearsolve-jl-and-minres/119781 "2024-09-25T12:04:21Z")

</div>

I am experimenting with NonlinearSolve.jl to solve a nonlinear system of equations with a symmetric indefinite Jacobian. I am specifically interested in using MINRES to solve this system. In my code, I’ve not specified a…

---

## [Accessing remote server data locally for 3D plotting purposes](https://discourse.julialang.org/t/accessing-remote-server-data-locally-for-3d-plotting-purposes/119853)

<div class="topic-metadata">

**Author:** [@Gavin\_Held](https://discourse.julialang.org/u/Gavin_Held)\
**Replies:** 2\
**Last updated:** [September 25, 2024, 11:35am UTC](https://discourse.julialang.org/t/accessing-remote-server-data-locally-for-3d-plotting-purposes/119853 "2024-09-25T11:35:50Z")

</div>

Hello, I work with large simulation data, on the order of 100s GB- 1TB, through a remote server. The clusters on which I run and store data do not play well with GLMakie/3D plotting as the login nodes do not have a gpu…

---

## [Soft scopes & globals in \`@testitem\`s](https://discourse.julialang.org/t/soft-scopes-globals-in-testitem-s/119338)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 7\
**Last updated:** [September 25, 2024, 11:07am UTC](https://discourse.julialang.org/t/soft-scopes-globals-in-testitem-s/119338 "2024-09-25T11:07:54Z")

</div>

I just encountered the problem discussed in Best solution to Julia's soft scope problem? , but in the context of unit tests. Specifically, in code like this: @testitem "foo" begin A = 0 for i in 1:10 A …

---

## [Is ModelingToolkit.getdefault deprecated?](https://discourse.julialang.org/t/is-modelingtoolkit-getdefault-deprecated/119748)

<div class="topic-metadata">

**Author:** [@kraqbi](https://discourse.julialang.org/u/kraqbi)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 10:59am UTC](https://discourse.julialang.org/t/is-modelingtoolkit-getdefault-deprecated/119748 "2024-09-25T10:59:25Z")

</div>

Hello, In ModelingToolkit, I find it usefull to have a function to access the default values of parameters. It took me some times to find the function ModelingToolkit.getdefault() I could not find it in the tutorial a…

---

## [Gradient-based adaptative sampling in NeuralPDE](https://discourse.julialang.org/t/gradient-based-adaptative-sampling-in-neuralpde/119852)

<div class="topic-metadata">

**Author:** [@gradureau](https://discourse.julialang.org/u/gradureau)\
**Replies:** 1\
**Last updated:** [September 25, 2024, 10:15am UTC](https://discourse.julialang.org/t/gradient-based-adaptative-sampling-in-neuralpde/119852 "2024-09-25T10:15:53Z")

</div>

Hey everyone, I am testing NeuralPDE to simulate hydrodynamic shocks and I would like to try the residual/gradient adaptative sampling of data, as described in the article in the following link : Physics-informed neural…

---

## [Initial and final affect for timed periodic event in ModelingToolkeit](https://discourse.julialang.org/t/initial-and-final-affect-for-timed-periodic-event-in-modelingtoolkeit/119849)

<div class="topic-metadata">

**Author:** [@jmaedler](https://discourse.julialang.org/u/jmaedler)\
**Replies:** 3\
**Last updated:** [September 25, 2024, 9:57am UTC](https://discourse.julialang.org/t/initial-and-final-affect-for-timed-periodic-event-in-modelingtoolkeit/119849 "2024-09-25T09:57:30Z")

</div>

Hi everyone, I am working on an adapter for virtual commissioning using ModelingToolkit.jl. More specifically, I use discrete callbacks (timed → periodic) to read inputs from and write output to a soft-controller. Is th…

---

## [Custom show for a struct that contains matrix](https://discourse.julialang.org/t/custom-show-for-a-struct-that-contains-matrix/119816)

<div class="topic-metadata">

**Author:** [@azoviktor](https://discourse.julialang.org/u/azoviktor)\
**Replies:** 10\
**Last updated:** [September 25, 2024, 9:51am UTC](https://discourse.julialang.org/t/custom-show-for-a-struct-that-contains-matrix/119816 "2024-09-25T09:51:23Z")

</div>

Suppose I have a struct struct Box size::Int matrix::Matrix{ComplexF64} end and my aim is to implement a custom show method for a Box that will display its matrix in a nice rectangle form (not printing all the el…

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

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