# Latest

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

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

**Page:** 576

---

## [Need to find out all eigenvalues and vectors of large Hermitian matrices](https://discourse.julialang.org/t/need-to-find-out-all-eigenvalues-and-vectors-of-large-hermitian-matrices/105048)

<div class="topic-metadata">

**Author:** [@AliceandBob](https://discourse.julialang.org/u/AliceandBob)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 5:25am UTC](https://discourse.julialang.org/t/need-to-find-out-all-eigenvalues-and-vectors-of-large-hermitian-matrices/105048 "2023-10-17T05:25:40Z")

</div>

Hi. I need to find out ALL the eigenvalues and eigenvectors of large Hermitian matrices. Half of the entries are zeros so maybe it is worth using the sparse matrix. I am now using eigen() from the standard library Linear…

---

## [Using MVector in CUDA without memory errors](https://discourse.julialang.org/t/using-mvector-in-cuda-without-memory-errors/105016)

<div class="topic-metadata">

**Author:** [@snowgum](https://discourse.julialang.org/u/snowgum)\
**Replies:** 3\
**Last updated:** [October 17, 2023, 2:46am UTC](https://discourse.julialang.org/t/using-mvector-in-cuda-without-memory-errors/105016 "2023-10-17T02:46:19Z")

</div>

I have an application where allocating a small fixed-sized vector for temporary storage inside a kernel is very beneficial. From reading this forum, issue 340 on CUDAnative.jl and an issue 38 comment, I am assuming it is…

---

## [Rename just one of imported names with "using"](https://discourse.julialang.org/t/rename-just-one-of-imported-names-with-using/105026)

<div class="topic-metadata">

**Author:** [@RaulDurand](https://discourse.julialang.org/u/RaulDurand)\
**Replies:** 12\
**Last updated:** [October 17, 2023, 12:33am UTC](https://discourse.julialang.org/t/rename-just-one-of-imported-names-with-using/105026 "2023-10-17T00:33:55Z")

</div>

I want to use Luxor in my package, which also has a Point structure. One alternative would be to rename the Point name from Luxor (e.g., as Pt) to avoid conflicts. Luxor exports hundreds of other symbols, but Point is …

---

## [Does Julia support any hardware developement?](https://discourse.julialang.org/t/does-julia-support-any-hardware-developement/105024)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 5\
**Last updated:** [October 17, 2023, 12:54am UTC](https://discourse.julialang.org/t/does-julia-support-any-hardware-developement/105024 "2023-10-17T00:54:58Z")

</div>

I mean, is Julia available as a programming language for some hardware development, such as microcontroller unit or single chip microcomputer?

---

## [Latex in Luxor](https://discourse.julialang.org/t/latex-in-luxor/78985)

<div class="topic-metadata">

**Author:** [@marcfish](https://discourse.julialang.org/u/marcfish)\
**Replies:** 11\
**Last updated:** [October 16, 2023, 11:48pm UTC](https://discourse.julialang.org/t/latex-in-luxor/78985 "2023-10-16T23:48:45Z")

</div>

i want to text latex in luxor but it seems wrong with fonts ther is the code: using Luxor using MathTeXEngine @svg begin background("khaki") f(t) = Point(4cos(t) + 2cos(5t), 4sin(t) + 2sin(5t)) setline(15) fontsize(3…

---

## [Penalty for not defining mutable struct fields types](https://discourse.julialang.org/t/penalty-for-not-defining-mutable-struct-fields-types/105020)

<div class="topic-metadata">

**Author:** [@jondavis847](https://discourse.julialang.org/u/jondavis847)\
**Replies:** 10\
**Last updated:** [October 16, 2023, 8:20pm UTC](https://discourse.julialang.org/t/penalty-for-not-defining-mutable-struct-fields-types/105020 "2023-10-16T20:20:01Z")

</div>

Hello, I have a rather large and complicated mutable struct which I use to just house pre-allocated Vector{SArray} 's of a system. I can then pass this struct to my functions which get called many times without allocati…

---

## [Does \`@inbounds\` work for functions with keyword arguments?](https://discourse.julialang.org/t/does-inbounds-work-for-functions-with-keyword-arguments/105032)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 4\
**Last updated:** [October 16, 2023, 7:09pm UTC](https://discourse.julialang.org/t/does-inbounds-work-for-functions-with-keyword-arguments/105032 "2023-10-16T19:09:01Z")

</div>

Consider the following functions: @inline function f1(n) @boundscheck n == 0 && error("zero") n end @inline function f2(n; m = 0) @boundscheck n == 0 && error("zero") n+m end g1(n) = @inbounds f1(n) g2…

---

## [NeuralPDE features and GPU compatibility](https://discourse.julialang.org/t/neuralpde-features-and-gpu-compatibility/104870)

<div class="topic-metadata">

**Author:** [@PetrosStefanou](https://discourse.julialang.org/u/PetrosStefanou)\
**Replies:** 9\
**Last updated:** [October 16, 2023, 4:55pm UTC](https://discourse.julialang.org/t/neuralpde-features-and-gpu-compatibility/104870 "2023-10-16T16:55:40Z")

</div>

Hello everyone. I am new to Julia, but somewhat experienced in physics-informed neural networks. I have some questions about several features of NeuralPDE, their compatibility with GPUs and some choices made in the exam…

---

## [Test the new wiki posts. Edit me](https://discourse.julialang.org/t/test-the-new-wiki-posts-edit-me/104812)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 10\
**Last updated:** [October 16, 2023, 4:47pm UTC](https://discourse.julialang.org/t/test-the-new-wiki-posts-edit-me/104812 "2023-10-16T16:47:16Z")

</div>

This is a test: I see a wiki option, and I want to know what it does. I have marked this as a “wiki post”. Can you edit this post? List of people who have edited this post: @gustaphe was first, and you cannot prove …

---

## [Trouble with PProf: no data?](https://discourse.julialang.org/t/trouble-with-pprof-no-data/105022)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 3:45pm UTC](https://discourse.julialang.org/t/trouble-with-pprof-no-data/105022 "2023-10-16T15:45:12Z")

</div>

I do Profile.Allocs.clear() Profile.Allocs.@profile K = conductivity(femm, geom, Temp) PProf.Allocs.pprof() I get but in the browser There is nothing there! When I click on View/Source I get the error m…

---

## [Why does THIS allocate? No hairs were harmed in this experiment ('cause I am bald...)](https://discourse.julialang.org/t/why-does-this-allocate-no-hairs-were-harmed-in-this-experiment-cause-i-am-bald/104989)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 16\
**Last updated:** [October 16, 2023, 3:48pm UTC](https://discourse.julialang.org/t/why-does-this-allocate-no-hairs-were-harmed-in-this-experiment-cause-i-am-bald/104989 "2023-10-16T15:48:53Z")

</div>

One more puzzle: julia\> function cross3!( …

---

## [Problem in my code](https://discourse.julialang.org/t/problem-in-my-code/105021)

<div class="topic-metadata">

**Author:** [@Alex\_Beck](https://discourse.julialang.org/u/Alex_Beck)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 3:31pm UTC](https://discourse.julialang.org/t/problem-in-my-code/105021 "2023-10-16T15:31:47Z")

</div>

Hello, can you please correct my code ? I have to do un small presentation and I’ve look for hours… I can’t find anything… Here is the error: and here the file of the code: using Plots function propagation\_virus(t…

---

## [What is the difference between nonlinear "functions with vector outputs" and nonlinear "operators with vector outputs"?](https://discourse.julialang.org/t/what-is-the-difference-between-nonlinear-functions-with-vector-outputs-and-nonlinear-operators-with-vector-outputs/105012)

<div class="topic-metadata">

**Author:** [@justinberi](https://discourse.julialang.org/u/justinberi)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 3:13pm UTC](https://discourse.julialang.org/t/what-is-the-difference-between-nonlinear-functions-with-vector-outputs-and-nonlinear-operators-with-vector-outputs/105012 "2023-10-16T15:13:57Z")

</div>

The JuMP documentation and this answer suggests that nonlinear user-defined functions with vector outputs need to be defined using many @operators. The documentation actually says “User-defined operators …”. This post …

---

## [Can I avoid inverting a matrix?](https://discourse.julialang.org/t/can-i-avoid-inverting-a-matrix/105011)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [October 16, 2023, 2:59pm UTC](https://discourse.julialang.org/t/can-i-avoid-inverting-a-matrix/105011 "2023-10-16T14:59:28Z")

</div>

I have the following code: M = s\*I-SS.A G = SS.C\*inv(M)\*SS.B + SS.D It calculates the transfer function of a linear system in state space form. Can I avoid inverting the matrix M? I heard that this can result in b…

---

## [Dynamic selection of columns Query.jl](https://discourse.julialang.org/t/dynamic-selection-of-columns-query-jl/79526)

<div class="topic-metadata">

**Author:** [@davide-f](https://discourse.julialang.org/u/davide-f)\
**Replies:** 4\
**Last updated:** [October 16, 2023, 2:56pm UTC](https://discourse.julialang.org/t/dynamic-selection-of-columns-query-jl/79526 "2023-10-16T14:56:25Z")

</div>

Dear Community, I am trying to dynamically select columns using Query.jl like in the following script, but I am unable to do so. Any ideas? Thank you list\_cols = \[“col1”, “col2”…\] select = df |\> @select(∈(list\_cols)…

---

## [Port icecream from python?](https://discourse.julialang.org/t/port-icecream-from-python/105015)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 3\
**Last updated:** [October 16, 2023, 2:48pm UTC](https://discourse.julialang.org/t/port-icecream-from-python/105015 "2023-10-16T14:48:05Z")

</div>

I recently came across a Python package called icecream. It allows for quick and easy printing of useful debug info. See the github page for some examples. You’ll also see (at the bottom) that it has been ported to a lar…

---

## [Is there a version of "enumerate" in the reverse order?](https://discourse.julialang.org/t/is-there-a-version-of-enumerate-in-the-reverse-order/38374)

<div class="topic-metadata">

**Author:** [@HugoTrentesaux](https://discourse.julialang.org/u/HugoTrentesaux)\
**Replies:** 3\
**Last updated:** [October 16, 2023, 2:40pm UTC](https://discourse.julialang.org/t/is-there-a-version-of-enumerate-in-the-reverse-order/38374 "2023-10-16T14:40:49Z")

</div>

I would like to enumerate an iterator with known length in reverse order. Something like: julia\> for t in enumerate(\["a","b","c"\], reverse=true); println(t); end (3, "c") (2, "b") (1, "a") Is there something builtin? F…

---

## [Makie PairPlot](https://discourse.julialang.org/t/makie-pairplot/39298)

<div class="topic-metadata">

**Author:** [@Dustin\_Hess](https://discourse.julialang.org/u/Dustin_Hess)\
**Replies:** 7\
**Last updated:** [October 16, 2023, 1:56pm UTC](https://discourse.julialang.org/t/makie-pairplot/39298 "2023-10-16T13:56:30Z")

</div>

Hi all I am trying to make a pairplot similar to what you get with the Seaborn library but with Makie. I am using MakieLayouts and StatsMakie. I am using the classic Iris data to test it before using it elsewhere. The …

---

## [Package incompatibility after upgrade](https://discourse.julialang.org/t/package-incompatibility-after-upgrade/99318)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 1:13pm UTC](https://discourse.julialang.org/t/package-incompatibility-after-upgrade/99318 "2023-10-16T13:13:25Z")

</div>

I have just upgraded from julia 1.8 to 1.9 and there is now an incompatibility between the Winston (version 1.0.0) package and ImageView (version 0.11.5) package. julia\> import Winston julia\> import ImageView (julia:…

---

## [@constraint with ForwardDiff.gradient](https://discourse.julialang.org/t/constraint-with-forwarddiff-gradient/104949)

<div class="topic-metadata">

**Author:** [@justinberi](https://discourse.julialang.org/u/justinberi)\
**Replies:** 3\
**Last updated:** [October 16, 2023, 1:05pm UTC](https://discourse.julialang.org/t/constraint-with-forwarddiff-gradient/104949 "2023-10-16T13:05:56Z")

</div>

Hi All, Thanks in advance for any help and suggestions. I’m new to Julia (and JuMP) so go easy. Is there a way to use ForwardDiff.gradient within a nonlinear constraint in JuMP? An example is # Solve using JuMP inter…

---

## [Proportion plot in CairoMakie](https://discourse.julialang.org/t/proportion-plot-in-cairomakie/104743)

<div class="topic-metadata">

**Author:** [@alicepiller](https://discourse.julialang.org/u/alicepiller)\
**Replies:** 4\
**Last updated:** [October 16, 2023, 1:01pm UTC](https://discourse.julialang.org/t/proportion-plot-in-cairomakie/104743 "2023-10-16T13:01:16Z")

</div>

I am trying to make a proportion plot, where the x-axis is the year (2000 - 2004) and the y-axis is from 0 - 1. Each bar has a height of 1 and should be stacked to show the proportion of the different health score catego…

---

## [How do I interactively test functions inside of a module?](https://discourse.julialang.org/t/how-do-i-interactively-test-functions-inside-of-a-module/105002)

<div class="topic-metadata">

**Author:** [@fxgn](https://discourse.julialang.org/u/fxgn)\
**Replies:** 4\
**Last updated:** [October 16, 2023, 12:16pm UTC](https://discourse.julialang.org/t/how-do-i-interactively-test-functions-inside-of-a-module/105002 "2023-10-16T12:16:52Z")

</div>

In VSCode, I can send a function definition to the REPL and test it interactively from there. However, I can’t do that if the function is inside of a module but is not exported. How do I test private module functions whi…

---

## [Neural ode usage](https://discourse.julialang.org/t/neural-ode-usage/105007)

<div class="topic-metadata">

**Author:** [@Mak](https://discourse.julialang.org/u/Mak)\
**Replies:** 6\
**Last updated:** [October 16, 2023, 12:07pm UTC](https://discourse.julialang.org/t/neural-ode-usage/105007 "2023-10-16T12:07:18Z")

</div>

How can I pre train the net? let me explain. Neural ode is very slow if I don’t give the network information. My ode and exogenous variables are the ones seen in the file. how can I incorporate them to my structure to sp…

---

## [How to download the full content of the dynamic web page?](https://discourse.julialang.org/t/how-to-download-the-full-content-of-the-dynamic-web-page/104998)

<div class="topic-metadata">

**Author:** [@programista](https://discourse.julialang.org/u/programista)\
**Replies:** 1\
**Last updated:** [October 16, 2023, 11:11am UTC](https://discourse.julialang.org/t/how-to-download-the-full-content-of-the-dynamic-web-page/104998 "2023-10-16T11:11:57Z")

</div>

How to download the full content of the link path=("https://wybory.gov.pl/sejmsenat2023/pl/sejm/wynik/okr/1") ? The download(path,“file.html”) command generates just a fragment of the path page. Thx!

---

## [Root finding with zero lower bound](https://discourse.julialang.org/t/root-finding-with-zero-lower-bound/104970)

<div class="topic-metadata">

**Author:** [@JakeWren](https://discourse.julialang.org/u/JakeWren)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 11:03am UTC](https://discourse.julialang.org/t/root-finding-with-zero-lower-bound/104970 "2023-10-16T11:03:23Z")

</div>

Hi, I want to use: find\_zero((f,fp), x\_{0}, Roots.Newton()) for root finding. However, my domain is non-negative. Is there a way to impose this? Thanks!

---

## [MethodError: no method matching -(::SymbolicUtils.BasicSymbolic{Real}, ::Symbolics.Equation)](https://discourse.julialang.org/t/methoderror-no-method-matching-symbolicutils-basicsymbolic-real-symbolics-equation/105005)

<div class="topic-metadata">

**Author:** [@sabbraxcaddabra](https://discourse.julialang.org/u/sabbraxcaddabra)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 10:43am UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-symbolicutils-basicsymbolic-real-symbolics-equation/105005 "2023-10-16T10:43:37Z")

</div>

Hello everyone! I try to model simple internal ballistics model in ModelingToolkit.jl framework. using ModelingToolkit, DifferentialEquations, Plots begin @variables t D = Differential(t) end function terminate\_affect…

---

## [Accuracy of ModelingToolkit linearizations](https://discourse.julialang.org/t/accuracy-of-modelingtoolkit-linearizations/104902)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [October 16, 2023, 9:32am UTC](https://discourse.julialang.org/t/accuracy-of-modelingtoolkit-linearizations/104902 "2023-10-16T09:32:34Z")

</div>

I have a non-linear model with about 16 equations. I linearize it with different inputs and outputs around different operating point. I use both the linearize() function and the linerize\_symbolic() function. This works a…

---

## [Modifying the element in the vector of vectors](https://discourse.julialang.org/t/modifying-the-element-in-the-vector-of-vectors/104994)

<div class="topic-metadata">

**Author:** [@MKY](https://discourse.julialang.org/u/MKY)\
**Replies:** 2\
**Last updated:** [October 16, 2023, 7:36am UTC](https://discourse.julialang.org/t/modifying-the-element-in-the-vector-of-vectors/104994 "2023-10-16T07:36:12Z")

</div>

What should I do if I just want to modify the fifth element in the third vector?

---

## [Lack of performances in Flux MLP](https://discourse.julialang.org/t/lack-of-performances-in-flux-mlp/104973)

<div class="topic-metadata">

**Author:** [@Mak](https://discourse.julialang.org/u/Mak)\
**Replies:** 6\
**Last updated:** [October 16, 2023, 2:17am UTC](https://discourse.julialang.org/t/lack-of-performances-in-flux-mlp/104973 "2023-10-16T02:17:44Z")

</div>

using CSV, DataFrames using Flux, Statistics, ProgressMeter using Plots using CUDA,AMDGPU; # Read the CSV file into a DataFrame df = CSV.File("real\_values\_ex\_00\_fixed\_time\_step.csv") |\> DataFrame # Extract the tem…

---

## [De-serialisation conflicts when multiple definitions in the Union](https://discourse.julialang.org/t/de-serialisation-conflicts-when-multiple-definitions-in-the-union/104991)

<div class="topic-metadata">

**Author:** [@ravitimm](https://discourse.julialang.org/u/ravitimm)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 12:33am UTC](https://discourse.julialang.org/t/de-serialisation-conflicts-when-multiple-definitions-in-the-union/104991 "2023-10-16T00:33:48Z")

</div>

I wonder why the following de-serialisation code does not work. In the Geometry struct, if I remove one of the types (Vector{Float64} or Vector{Vector{Float64}), it works. They appear to be conflicting somehow. If I c…

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

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