# Latest

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

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

**Page:** 1072

---

## [How to solve failure to load CSV in Julia?](https://discourse.julialang.org/t/how-to-solve-failure-to-load-csv-in-julia/79335)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [April 11, 2022, 9:28am UTC](https://discourse.julialang.org/t/how-to-solve-failure-to-load-csv-in-julia/79335 "2022-04-11T09:28:25Z")

</div>

Hello, I wanted to load CSV in the environment but I got this error: julia\> using CSV \[ Info: Precompiling CSV \[336ed68f-0bac-5ca0-87d4-7b16caf5d00b\] ERROR: LoadError: MethodError: no method matching Parsers.Options(::M…

---

## [Error with Catalyst.jl bifurcation diagram tutorial](https://discourse.julialang.org/t/error-with-catalyst-jl-bifurcation-diagram-tutorial/79202)

<div class="topic-metadata">

**Author:** [@Dragolonth](https://discourse.julialang.org/u/Dragolonth)\
**Replies:** 13\
**Last updated:** [April 11, 2022, 7:51am UTC](https://discourse.julialang.org/t/error-with-catalyst-jl-bifurcation-diagram-tutorial/79202 "2022-04-11T07:51:54Z")

</div>

Hello everyone! I’m still fairly new to Julia and programming in general. I’ve been following the tutorial in the Catalyst.jl documentation for bifurcation diagrams, and I’ve run into an issue. My code (which is copied f…

---

## [Hyperopt.jl Baysean Optimization Hyperband for Neural Networks](https://discourse.julialang.org/t/hyperopt-jl-baysean-optimization-hyperband-for-neural-networks/79332)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 7:34am UTC](https://discourse.julialang.org/t/hyperopt-jl-baysean-optimization-hyperband-for-neural-networks/79332 "2022-04-11T07:34:28Z")

</div>

Has anyone successfully found optimal neural networks using Hyperopt.jl’s Baysean Optimization Hyperband (BOHB) ? I seem to have run into the fundamental issue that from what I can tell, that the package wants the state…

---

## [JuMP docs on SDP replace \`logdet\` with \`tr\`—is this correct?](https://discourse.julialang.org/t/jump-docs-on-sdp-replace-logdet-with-tr-is-this-correct/79324)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 4\
**Last updated:** [April 11, 2022, 6:28am UTC](https://discourse.julialang.org/t/jump-docs-on-sdp-replace-logdet-with-tr-is-this-correct/79324 "2022-04-11T06:28:49Z")

</div>

The JuMP documentation gives, as an example of a semidefinite program, the problem of finding the minimum-volume ellipse that contains a given list of ellipses centered at the origin: minimize trace(WX) subject to X…

---

## [Searching JuliaCon video about finding bifurcations in images](https://discourse.julialang.org/t/searching-juliacon-video-about-finding-bifurcations-in-images/79327)

<div class="topic-metadata">

**Author:** [@Mo-Gul](https://discourse.julialang.org/u/Mo-Gul)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 4:54am UTC](https://discourse.julialang.org/t/searching-juliacon-video-about-finding-bifurcations-in-images/79327 "2022-04-11T04:54:23Z")

</div>

I am new to Julia and had a look at many of the amazing videos of JuliaCon. Thank you for that! I remember that I have seen a video about finding bifurcation in images. The speaker said that he had an x-times improvemen…

---

## [How to avoid type instability in the return type of my function?](https://discourse.julialang.org/t/how-to-avoid-type-instability-in-the-return-type-of-my-function/79291)

<div class="topic-metadata">

**Author:** [@ultrapoci](https://discourse.julialang.org/u/ultrapoci)\
**Replies:** 3\
**Last updated:** [April 11, 2022, 4:35am UTC](https://discourse.julialang.org/t/how-to-avoid-type-instability-in-the-return-type-of-my-function/79291 "2022-04-11T04:35:59Z")

</div>

I have a struct and a simple function: struct SU2Element \<: AbstractMatrix{ComplexF64} t₁::ComplexF64 t₂::ComplexF64 function SU2Element(t₁::Number, t₂::Number) SU2Element(ComplexF64(t₁), ComplexF64(t₂)) end fu…

---

## [Pivoting in sparse QR](https://discourse.julialang.org/t/pivoting-in-sparse-qr/79306)

<div class="topic-metadata">

**Author:** [@00shiv](https://discourse.julialang.org/u/00shiv)\
**Replies:** 6\
**Last updated:** [April 11, 2022, 3:11am UTC](https://discourse.julialang.org/t/pivoting-in-sparse-qr/79306 "2022-04-11T03:11:43Z")

</div>

I have a skinny sparse matrix that I have taken care to order its rows and columns in such a way as to ensure that the sparse QR factorization should be fast \[O(n) space and time\]. However when I call qr in Julia 1.7.2 i…

---

## [\[ANN\] MLJ: Outlier Detection, Text Analysis, Improved Pipelines and Serialization](https://discourse.julialang.org/t/ann-mlj-outlier-detection-text-analysis-improved-pipelines-and-serialization/79320)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 0\
**Last updated:** [April 11, 2022, 1:40am UTC](https://discourse.julialang.org/t/ann-mlj-outlier-detection-text-analysis-improved-pipelines-and-serialization/79320 "2022-04-11T01:40:38Z")

</div>

There have been quite a few releases (two breaking) since our last announcement. Here are some highlights, available in MLJ 0.18. Tutorial: MLJ for Data Scientists in Two Hours We have added a new tutorial focused on th…

---

## [How to add a custom footer to my Documenter-generated pages?](https://discourse.julialang.org/t/how-to-add-a-custom-footer-to-my-documenter-generated-pages/79044)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [April 10, 2022, 10:45pm UTC](https://discourse.julialang.org/t/how-to-add-a-custom-footer-to-my-documenter-generated-pages/79044 "2022-04-10T22:45:30Z")

</div>

Hello, I need to add a \`\`\`\`@raw HTML\` block at the end of each of my .md pages to embed a script that uses GitHub issues as page comments. I could add it manually to every page, but it is not elegant, and I don’t want t…

---

## [What does \`$(Expr(:static\_parameter, 1))\` do?](https://discourse.julialang.org/t/what-does-expr-static-parameter-1-do/79302)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 8\
**Last updated:** [April 10, 2022, 10:19pm UTC](https://discourse.julialang.org/t/what-does-expr-static-parameter-1-do/79302 "2022-04-10T22:19:27Z")

</div>

After I ran across this here, @dfdx pointed me to @Oscar\_Smith 's suggestion of better documentation for this here. But I still have no idea what this does, or how to handle it when working with ASTs. Can someone give so…

---

## [\[C-API\]: relocation against \`jl\_gc\_have\_ pending\_finalizers' in read-only section \`.text'](https://discourse.julialang.org/t/c-api-relocation-against-jl-gc-have-pending-finalizers-in-read-only-section-text/79314)

<div class="topic-metadata">

**Author:** [@Clemapfel](https://discourse.julialang.org/u/Clemapfel)\
**Replies:** 1\
**Last updated:** [April 10, 2022, 9:03pm UTC](https://discourse.julialang.org/t/c-api-relocation-against-jl-gc-have-pending-finalizers-in-read-only-section-text/79314 "2022-04-10T21:03:50Z")

</div>

Hi, I have a simple C++ executable using the julia C-API: CMakeLists.txt cmake\_minimum\_required(VERSION 3.12) project(MyProject VERSION 0.0.0 LANGUAGES CXX) add\_executable(hello\_world ${CMAKE\_SOURCE\_DIR}/main.cpp) tar…

---

## [Tullio seems two times slower than basic LoopVectorization](https://discourse.julialang.org/t/tullio-seems-two-times-slower-than-basic-loopvectorization/79298)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 3\
**Last updated:** [April 10, 2022, 5:44pm UTC](https://discourse.julialang.org/t/tullio-seems-two-times-slower-than-basic-loopvectorization/79298 "2022-04-10T17:44:01Z")

</div>

I wanted to use Tullio to get rid of lots of nested loops in my code and write Einstein notation instead. Code I’m trying to compute a simple sum: elbo\_tullio(G::AbstractMatrix, p::AbstractVector, mu::AbstractVector, v…

---

## [StochasticPrograms.jl - DIfficulties with vector @uncertain inputs](https://discourse.julialang.org/t/stochasticprograms-jl-difficulties-with-vector-uncertain-inputs/45957)

<div class="topic-metadata">

**Author:** [@elalaouifaris](https://discourse.julialang.org/u/elalaouifaris)\
**Replies:** 10\
**Last updated:** [April 10, 2022, 4:43pm UTC](https://discourse.julialang.org/t/stochasticprograms-jl-difficulties-with-vector-uncertain-inputs/45957 "2022-04-10T16:43:36Z")

</div>

Hi, I’m testing the StochasticPrograms.jl package (Awesome work by the way!) on a simple renewables energy sizing use case. I have difficulty figuring out how to use uncertain parameters in the 2nd stage with array inpu…

---

## [VS Code Language Server crashing](https://discourse.julialang.org/t/vs-code-language-server-crashing/78067)

<div class="topic-metadata">

**Author:** [@regan](https://discourse.julialang.org/u/regan)\
**Replies:** 2\
**Last updated:** [April 10, 2022, 3:18pm UTC](https://discourse.julialang.org/t/vs-code-language-server-crashing/78067 "2022-04-10T15:18:28Z")

</div>

Hi all, When writing a viewing/writing a benign generator expression in Julia in VSCode, the Language Server crashes repeatedly making developing impossible. I am using the Julia extension 1.6.3 at the moment, with Juli…

---

## [Bounds error for MINST training](https://discourse.julialang.org/t/bounds-error-for-minst-training/79296)

<div class="topic-metadata">

**Author:** [@Fergaloc](https://discourse.julialang.org/u/Fergaloc)\
**Replies:** 2\
**Last updated:** [April 10, 2022, 2:47pm UTC](https://discourse.julialang.org/t/bounds-error-for-minst-training/79296 "2022-04-10T14:47:20Z")

</div>

Hi I am new to Julia Pluto and was wondering if you could help. I have a bounds error and not sure what would be causing this issue, I understand what a bounds issue is I’m just not sure what is causing it. any help woul…

---

## [Talkon.jl is a Telegram bot for mutual help within community, helping Ukrainian refugees and volunteers](https://discourse.julialang.org/t/talkon-jl-is-a-telegram-bot-for-mutual-help-within-community-helping-ukrainian-refugees-and-volunteers/79299)

<div class="topic-metadata">

**Author:** [@Tadas\_Surkys](https://discourse.julialang.org/u/Tadas_Surkys)\
**Replies:** 0\
**Last updated:** [April 10, 2022, 2:16pm UTC](https://discourse.julialang.org/t/talkon-jl-is-a-telegram-bot-for-mutual-help-within-community-helping-ukrainian-refugees-and-volunteers/79299 "2022-04-10T14:16:13Z")

</div>

Hello, Talkon.jl is a Telegram bot project in process with it’s vision to connect Ukrainian refugees and voliunteers immidiatelly to solve their problems. Please contribute to it, so it would become trully functional! C…

---

## [The purpose of ThreadingUtilities.jl and Polyester.jl](https://discourse.julialang.org/t/the-purpose-of-threadingutilities-jl-and-polyester-jl/79226)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 9\
**Last updated:** [April 10, 2022, 2:12pm UTC](https://discourse.julialang.org/t/the-purpose-of-threadingutilities-jl-and-polyester-jl/79226 "2022-04-10T14:12:34Z")

</div>

As far as I understand, both ThreadingUtilities.jl and Polyster.jl provide the threads with low overhead. Could someone (@Elrod) elaborate the precise difference between the packages and when one should be preferred ove…

---

## [Writing Messages to a Log file](https://discourse.julialang.org/t/writing-messages-to-a-log-file/79266)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 2\
**Last updated:** [April 10, 2022, 1:05pm UTC](https://discourse.julialang.org/t/writing-messages-to-a-log-file/79266 "2022-04-10T13:05:58Z")

</div>

Hello, I’d like to write a function that will print all logging statements to a file. I’ve tried the following based on the Logging documentation but nothing gets written to the file. My naive first pass was to wrap my…

---

## [Makie rotate colorbar label](https://discourse.julialang.org/t/makie-rotate-colorbar-label/79263)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 5\
**Last updated:** [April 10, 2022, 12:44pm UTC](https://discourse.julialang.org/t/makie-rotate-colorbar-label/79263 "2022-04-10T12:44:41Z")

</div>

How do I rotate the label on the colorbar in Makie? MWE: using CairoMakie M = rand(10, 10) fig = CairoMakie.Figure() ax = Axis(fig\[1,1\]) cplot = CairoMakie.contourf!(fig\[1,1\], 1:10, 1:10, M) Colorbar(fig\[1,2\], cplot, …

---

## [CairoMakie contourf set colour limits](https://discourse.julialang.org/t/cairomakie-contourf-set-colour-limits/79261)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 13\
**Last updated:** [April 10, 2022, 11:12am UTC](https://discourse.julialang.org/t/cairomakie-contourf-set-colour-limits/79261 "2022-04-10T11:12:16Z")

</div>

How do I change the limits for my colour scale in a CairoMakie contourf plot? For instance say I want to plot my data on a contour plot, with a colour bar: using CairoMakie M = rand(10, 10) / 10. # get data ∈ \[0, 1\] a…

---

## [Using spectral methods and optimization to find period of a set of nonlinear autonomous differential equations](https://discourse.julialang.org/t/using-spectral-methods-and-optimization-to-find-period-of-a-set-of-nonlinear-autonomous-differential-equations/79293)

<div class="topic-metadata">

**Author:** [@Gummala\_Navneeth](https://discourse.julialang.org/u/Gummala_Navneeth)\
**Replies:** 0\
**Last updated:** [April 10, 2022, 10:48am UTC](https://discourse.julialang.org/t/using-spectral-methods-and-optimization-to-find-period-of-a-set-of-nonlinear-autonomous-differential-equations/79293 "2022-04-10T10:48:07Z")

</div>

hi all, I’m very new to Julia. I’m following these lectures to solve optimization problem. I will be providing a toy problem (2 DoF) which mimics my actual problem (12 DoF). I have a set of nonlinear non-autonomous dif…

---

## [Why is matrix times matrix transpose not a Symmetric / Hermitian matrix](https://discourse.julialang.org/t/why-is-matrix-times-matrix-transpose-not-a-symmetric-hermitian-matrix/10538)

<div class="topic-metadata">

**Author:** [@zsoerenm](https://discourse.julialang.org/u/zsoerenm)\
**Replies:** 12\
**Last updated:** [April 10, 2022, 10:19am UTC](https://discourse.julialang.org/t/why-is-matrix-times-matrix-transpose-not-a-symmetric-hermitian-matrix/10538 "2022-04-10T10:19:23Z")

</div>

I often write code like this: A \* A' where A is either a real or complex matrix. Obviously the outcome is a symmetric or a hermitian matrix respectively. I wondered why this is not saved as a Symmetric matrix, e.g. jul…

---

## [How to fit a FitzHugh-Nagumo model with DiffEqFlux.jl?](https://discourse.julialang.org/t/how-to-fit-a-fitzhugh-nagumo-model-with-diffeqflux-jl/79194)

<div class="topic-metadata">

**Author:** [@PikaPei](https://discourse.julialang.org/u/PikaPei)\
**Replies:** 3\
**Last updated:** [April 10, 2022, 10:14am UTC](https://discourse.julialang.org/t/how-to-fit-a-fitzhugh-nagumo-model-with-diffeqflux-jl/79194 "2022-04-10T10:14:45Z")

</div>

I try to apply the DiffEqFlux to the FitzHugh-Nagumo model, an excitable neuron model. Basically, I only replace the differential equations in this tutorial (Neural Ordinary Differential Equations with sciml\_train) with…

---

## [How do I use functions in a project that are not registered in a package online](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205)

<div class="topic-metadata">

**Author:** [@xingxian](https://discourse.julialang.org/u/xingxian)\
**Replies:** 10\
**Last updated:** [April 10, 2022, 9:12am UTC](https://discourse.julialang.org/t/how-do-i-use-functions-in-a-project-that-are-not-registered-in-a-package-online/79205 "2022-04-10T09:12:17Z")

</div>

I want to run code: https://github.com/slimgroup/Software.SEG2021/tree/main/WavefieldRecoveryUQ.jl There was an error when I ran code test\_hint\_interpolation.ji in WavefieldRecoveryUQ:ERROR: LoadError: UndefVarError: pu…

---

## [Linear algebra of sparse matrices on GPU](https://discourse.julialang.org/t/linear-algebra-of-sparse-matrices-on-gpu/79287)

<div class="topic-metadata">

**Author:** [@Vahid\_Hosseinzadeh](https://discourse.julialang.org/u/Vahid_Hosseinzadeh)\
**Replies:** 0\
**Last updated:** [April 10, 2022, 7:41am UTC](https://discourse.julialang.org/t/linear-algebra-of-sparse-matrices-on-gpu/79287 "2022-04-10T07:41:43Z")

</div>

Hello everyone, I have a code with some computations in LinearAlgebra using SparseArrays. How can I use that to be performed on GPU? Can I use Cuda.jl? what functions are available in linear algebra? In my case, I need…

---

## [Creating my first package/ How to test my simple function](https://discourse.julialang.org/t/creating-my-first-package-how-to-test-my-simple-function/79281)

<div class="topic-metadata">

**Author:** [@o.eleftherakou](https://discourse.julialang.org/u/o.eleftherakou)\
**Replies:** 8\
**Last updated:** [April 10, 2022, 5:26am UTC](https://discourse.julialang.org/t/creating-my-first-package-how-to-test-my-simple-function/79281 "2022-04-10T05:26:24Z")

</div>

Hi! I decided to create my very first package. This “baby” package contains only one function (I give an example): using Plots using Distributions function easy(x::Vector{Float64}) a = print("The mean is:", mean(x)) b…

---

## [Sundials: High memory usage](https://discourse.julialang.org/t/sundials-high-memory-usage/79270)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [April 9, 2022, 9:57pm UTC](https://discourse.julialang.org/t/sundials-high-memory-usage/79270 "2022-04-09T21:57:52Z")

</div>

I am using the package Sundials, which belongs to DifferentialEquations. I have a residual function with zero memory allocations, but the IDA solver of Sundials has a quite high memory usage. I have the following code fo…

---

## [Errors with Flux RNN set](https://discourse.julialang.org/t/errors-with-flux-rnn-set/79272)

<div class="topic-metadata">

**Author:** [@stmorg](https://discourse.julialang.org/u/stmorg)\
**Replies:** 1\
**Last updated:** [April 9, 2022, 9:42pm UTC](https://discourse.julialang.org/t/errors-with-flux-rnn-set/79272 "2022-04-09T21:42:08Z")

</div>

Hi everyone, I’m currently working on a final project that involves developing an RNN to represent a parameterized dynamic model. I have been able to do this fairly easily with a feedforward ANN in Flux but I have had ma…

---

## [Require all arrays in struct to be of same kind and type](https://discourse.julialang.org/t/require-all-arrays-in-struct-to-be-of-same-kind-and-type/79237)

<div class="topic-metadata">

**Author:** [@Chiil](https://discourse.julialang.org/u/Chiil)\
**Replies:** 7\
**Last updated:** [April 9, 2022, 6:56pm UTC](https://discourse.julialang.org/t/require-all-arrays-in-struct-to-be-of-same-kind-and-type/79237 "2022-04-09T18:56:58Z")

</div>

I have a struct that I would like to consist of only Array or CuArray, but I would like a mix of different kinds to throw. I can enforce uniform types by using the {T}, but how do I define my struct to make the vel\_mix c…

---

## [Can anyone recommend a GUI developing Environment](https://discourse.julialang.org/t/can-anyone-recommend-a-gui-developing-environment/79264)

<div class="topic-metadata">

**Author:** [@tjk](https://discourse.julialang.org/u/tjk)\
**Replies:** 2\
**Last updated:** [April 9, 2022, 4:19pm UTC](https://discourse.julialang.org/t/can-anyone-recommend-a-gui-developing-environment/79264 "2022-04-09T16:19:02Z")

</div>

Hello! I am new to julia, and I am looking for an GUI developing enivronment on ubuntu system for julia language on which I can check the created variables, save plots and edit codes (like in spyder). Can anyone recomme…

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

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