# Latest

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

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

**Page:** 788

---

## [How to Pkg.launder("my dirty registry") for Automerge?](https://discourse.julialang.org/t/how-to-pkg-launder-my-dirty-registry-for-automerge/94299)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 1\
**Last updated:** [February 8, 2023, 8:05pm UTC](https://discourse.julialang.org/t/how-to-pkg-launder-my-dirty-registry-for-automerge/94299 "2023-02-08T20:05:39Z")

</div>

AFAIK, I addressed all the suggestions previously provided by the bot, but now it says the registry is dirty but doesn’t suggest a fix.

---

## [Why can Flux not reduce this?](https://discourse.julialang.org/t/why-can-flux-not-reduce-this/94071)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 7:57pm UTC](https://discourse.julialang.org/t/why-can-flux-not-reduce-this/94071 "2023-02-08T19:57:55Z")

</div>

Hello I am trying: using CUDA S = rand(SVector{3,Float32},5) DST = zeros(SVector{3,Float32},5) I = \[3,1,2,5,4\] # Works great on CPU @CUDA.time NNlib.scatter!(+, DST,S,I) 0.000004 seconds 5-element Vecto…

---

## [Matrix Multiplication of a Large Number of Small Matrices](https://discourse.julialang.org/t/matrix-multiplication-of-a-large-number-of-small-matrices/93531)

<div class="topic-metadata">

**Author:** [@andrewkhardy](https://discourse.julialang.org/u/andrewkhardy)\
**Replies:** 12\
**Last updated:** [February 8, 2023, 7:47pm UTC](https://discourse.julialang.org/t/matrix-multiplication-of-a-large-number-of-small-matrices/93531 "2023-02-08T19:47:04Z")

</div>

Im interested in computing the matrix multiplication of 2x2 matrices, but these are sampled at a very large number of points. Here is my current benchmark using Tullio,TensorCast, LinearAlgebra, StaticArrays function M…

---

## [Arrow operator -\>](https://discourse.julialang.org/t/arrow-operator/94195)

<div class="topic-metadata">

**Author:** [@Students](https://discourse.julialang.org/u/Students)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 6:58pm UTC](https://discourse.julialang.org/t/arrow-operator/94195 "2023-02-08T18:58:47Z")

</div>

Hello, I was reading a code and I came across the following: r(x, δ, b) = \[ δ\[i\] - norm(x - b\[:,i\]) for i in 1:length(δ) \] J(x) = ForwardDiff.jacobian(x-\>r(x, δ, b), x) xs, err = gauss\_newton(x-\>r(x, δ, b), J, x0) Cou…

---

## [chatGPT policy needed?](https://discourse.julialang.org/t/chatgpt-policy-needed/91625)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 39\
**Last updated:** [December 22, 2022, 4:43pm UTC](https://discourse.julialang.org/t/chatgpt-policy-needed/91625 "2022-12-22T16:43:21Z")

</div>

I’ve seen some recent posts involving chatGPT “answers” and I am concerned about the confusion of actual Discourse discussion versus AI “fake discussion” especially in searches of our forum. A number of threads got po…

---

## [How to define multiple random variables in SDDP](https://discourse.julialang.org/t/how-to-define-multiple-random-variables-in-sddp/94231)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 6:52pm UTC](https://discourse.julialang.org/t/how-to-define-multiple-random-variables-in-sddp/94231 "2023-02-08T18:52:25Z")

</div>

Hi everyone, I have a small stochastic hydropower problem. As you may know, water inflows are considered random variables in most hydropower problems, just like my problem. There is a well-structured example here: htt…

---

## [How to key-in vertical matrices?](https://discourse.julialang.org/t/how-to-key-in-vertical-matrices/94291)

<div class="topic-metadata">

**Author:** [@vsoler](https://discourse.julialang.org/u/vsoler)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 6:26pm UTC](https://discourse.julialang.org/t/how-to-key-in-vertical-matrices/94291 "2023-02-08T18:26:03Z")

</div>

A horizontal matrix can be keyed-in like this: \[1 2 3\] A rectangular matrix can be keyed-in like this: (“;” denotes new row) \[1 2 3 ; 4 5 6\] I was expecting a vertical matrix to be keyed in like this: \[1; 2; 3\] How…

---

## [Makie: how to make a vertical (rotated by 90deg) lines! plot](https://discourse.julialang.org/t/makie-how-to-make-a-vertical-rotated-by-90deg-lines-plot/94207)

<div class="topic-metadata">

**Author:** [@kaltsoplyn](https://discourse.julialang.org/u/kaltsoplyn)\
**Replies:** 3\
**Last updated:** [February 8, 2023, 5:45pm UTC](https://discourse.julialang.org/t/makie-how-to-make-a-vertical-rotated-by-90deg-lines-plot/94207 "2023-02-08T17:45:46Z")

</div>

I can’t figure out a reasonably simple answer to this, and I’d guess the must be one. I want to create a lines plot rotated 90 degrees. Like, everything rotated: axis, labels, curves, the whole thing. Here’s a minimum w…

---

## [Save main scene (with axis ticks and spines) to file without closing current window](https://discourse.julialang.org/t/save-main-scene-with-axis-ticks-and-spines-to-file-without-closing-current-window/64684)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 3\
**Last updated:** [February 8, 2023, 5:39pm UTC](https://discourse.julialang.org/t/save-main-scene-with-axis-ticks-and-spines-to-file-without-closing-current-window/64684 "2023-02-08T17:39:17Z")

</div>

The following works more or less. But, it will be better to actually save the scene with all the spines and ticks values, plus the window is closing when I hit the button save. Any suggestions? using GLMakie with\_theme(…

---

## [EulerLawson fixed time step parameter](https://discourse.julialang.org/t/eulerlawson-fixed-time-step-parameter/94001)

<div class="topic-metadata">

**Author:** [@yoshi](https://discourse.julialang.org/u/yoshi)\
**Replies:** 8\
**Last updated:** [February 8, 2023, 4:32pm UTC](https://discourse.julialang.org/t/eulerlawson-fixed-time-step-parameter/94001 "2023-02-08T16:32:42Z")

</div>

I’m trying to use the exponential runga kutta methods but I’m recieving the following error LoadError: Fixed timestep methods require a choice of dt or choosing the tstops When I go to supply the keyword dt = .1 to sol…

---

## [Julia in VS Code not recognizing Mathematical Italics Unicode characters](https://discourse.julialang.org/t/julia-in-vs-code-not-recognizing-mathematical-italics-unicode-characters/94286)

<div class="topic-metadata">

**Author:** [@cdestael](https://discourse.julialang.org/u/cdestael)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 4:08pm UTC](https://discourse.julialang.org/t/julia-in-vs-code-not-recognizing-mathematical-italics-unicode-characters/94286 "2023-02-08T16:08:48Z")

</div>

Hello, I am working with code from a co-author and in it are various Unicode characters in Mathematical Italics. Unfortunately in the VS Code editor I’m using, it does not seem to recognize when I type \\mitx\[TAB\] or the…

---

## [JuliaCon 2023 early bird tickets are now on sale!](https://discourse.julialang.org/t/juliacon-2023-early-bird-tickets-are-now-on-sale/94280)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 2:41pm UTC](https://discourse.julialang.org/t/juliacon-2023-early-bird-tickets-are-now-on-sale/94280 "2023-02-08T14:41:15Z")

</div>

The 3+ year wait is over… in-person early bird JuliaCon 2023 tickets are now on sale ! :tada: Please help us spread the word: https://twitter.com/JuliaLanguage/status/1623320106003464194

---

## [Create graph from public Mastodon data](https://discourse.julialang.org/t/create-graph-from-public-mastodon-data/90637)

<div class="topic-metadata">

**Author:** [@mmeer](https://discourse.julialang.org/u/mmeer)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 2:33pm UTC](https://discourse.julialang.org/t/create-graph-from-public-mastodon-data/90637 "2023-02-08T14:33:31Z")

</div>

Hi there, I have written a script to fetch an array of accounts that I follow on Mastodon. Each account is represented by a dictionary with KeySet for a Dict{String, Any} with 21 entries. Keys: "acct" "locked" "c…

---

## [GPU code has a high amount of CPU allocations?](https://discourse.julialang.org/t/gpu-code-has-a-high-amount-of-cpu-allocations/94092)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 7\
**Last updated:** [February 8, 2023, 2:17pm UTC](https://discourse.julialang.org/t/gpu-code-has-a-high-amount-of-cpu-allocations/94092 "2023-02-08T14:17:50Z")

</div>

Hello! More of a “meta” question. I need some pointers on this. I have some Julia code which allocates 0 times on the GPU other than the initial making of arrays for memory etc. But I have such a high number of CPU al…

---

## [Unitful divide error (but not multiply)](https://discourse.julialang.org/t/unitful-divide-error-but-not-multiply/94249)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 2:08pm UTC](https://discourse.julialang.org/t/unitful-divide-error-but-not-multiply/94249 "2023-02-08T14:08:56Z")

</div>

I am getting an error when dividing with Unitful but not when I multiply by the inverse of the divisor. For example: julia\> using Unitful julia\> a = 1250u"mm" 1250 mm julia\> b = (0.865:0.01:2.0)u"m"; julia\> (a .+ b)…

---

## [Deprecated Modules in Julia](https://discourse.julialang.org/t/deprecated-modules-in-julia/94269)

<div class="topic-metadata">

**Author:** [@qjulia](https://discourse.julialang.org/u/qjulia)\
**Replies:** 5\
**Last updated:** [February 8, 2023, 1:49pm UTC](https://discourse.julialang.org/t/deprecated-modules-in-julia/94269 "2023-02-08T13:49:52Z")

</div>

Hello, I am trying to run the following two lines and I am having giant errors: using DifferentialEquations, Flux, DiffEqFlux, Optim,SciMLSensitivity , Plots, OrdinaryDiffEq, Zygote, StaticArrays, LinearAlgebra, Benchm…

---

## [Pandas equivalent library](https://discourse.julialang.org/t/pandas-equivalent-library/26501)

<div class="topic-metadata">

**Author:** [@Prithviraj\_Dutta](https://discourse.julialang.org/u/Prithviraj_Dutta)\
**Replies:** 26\
**Last updated:** [February 8, 2023, 1:44pm UTC](https://discourse.julialang.org/t/pandas-equivalent-library/26501 "2023-02-08T13:44:29Z")

</div>

Hi …I am a new comer to Julia. Is there a library which does function similar to pandas. I have been struggling to read from excel spreadsheets. Thanks

---

## [Type stability with Flux gradient of loss function requiring parameters](https://discourse.julialang.org/t/type-stability-with-flux-gradient-of-loss-function-requiring-parameters/94156)

<div class="topic-metadata">

**Author:** [@PatrickMcFarlane](https://discourse.julialang.org/u/PatrickMcFarlane)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 1:37pm UTC](https://discourse.julialang.org/t/type-stability-with-flux-gradient-of-loss-function-requiring-parameters/94156 "2023-02-08T13:37:07Z")

</div>

Hello, I’m using Flux to replicate an economics application of machine learning (originally done in Python/Tensor flow here). In this problem, neural networks are used to solve a functional equation of the form g(f(x),…

---

## [Bug in BenchmarkTools?](https://discourse.julialang.org/t/bug-in-benchmarktools/94273)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 1:17pm UTC](https://discourse.julialang.org/t/bug-in-benchmarktools/94273 "2023-02-08T13:17:47Z")

</div>

Is this a bug, or am I missing something? julia\> using StaticArrays julia\> m = rand(SMatrix{3,3,Float64}); julia\> f(m::SMatrix{N,N,T}) where {N,T} = SMatrix{N,N,T,N\*N}(m\[c\] for c in CartesianIndices(m)) f (generic fun…

---

## [Makie will not use \`texfont()\`](https://discourse.julialang.org/t/makie-will-not-use-texfont/94146)

<div class="topic-metadata">

**Author:** [@cmarcotte](https://discourse.julialang.org/u/cmarcotte)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 12:34pm UTC](https://discourse.julialang.org/t/makie-will-not-use-texfont/94146 "2023-02-08T12:34:42Z")

</div>

I am having a strange problem with using LaTeX font for the axis and labels in Makie. In GLMakie@0.7.0, the classic method of setting font=texfont() works without issue. I can not get the axes and labels to use the same …

---

## [What is the diffence between abstract type and singleton type](https://discourse.julialang.org/t/what-is-the-diffence-between-abstract-type-and-singleton-type/94258)

<div class="topic-metadata">

**Author:** [@zhangwfjh](https://discourse.julialang.org/u/zhangwfjh)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 12:04pm UTC](https://discourse.julialang.org/t/what-is-the-diffence-between-abstract-type-and-singleton-type/94258 "2023-02-08T12:04:15Z")

</div>

I think both abstract type and singleton type are used for multiple dispatching. So what are their differences and how do I choose? I know that abstract type cannot be instantialized.

---

## [OpenGL/GLFW error building GLMakie](https://discourse.julialang.org/t/opengl-glfw-error-building-glmakie/47598)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 11\
**Last updated:** [February 8, 2023, 11:16am UTC](https://discourse.julialang.org/t/opengl-glfw-error-building-glmakie/47598 "2023-02-08T11:16:41Z")

</div>

Hello, I wanted to give a try to Makie but I got the following error while trying to install it: (@v1.5) pkg\> build GLMakie Building ModernGL → \`~/.julia/packages/ModernGL/rVuW2/deps/build.log\` Building FFTW ────→…

---

## [Symbolically solve a linear system of equations](https://discourse.julialang.org/t/symbolically-solve-a-linear-system-of-equations/93989)

<div class="topic-metadata">

**Author:** [@Damiano](https://discourse.julialang.org/u/Damiano)\
**Replies:** 1\
**Last updated:** [February 7, 2023, 10:01pm UTC](https://discourse.julialang.org/t/symbolically-solve-a-linear-system-of-equations/93989 "2023-02-07T22:01:39Z")

</div>

Dear all, I am trying to symbolically solve a system of equation with Julia. I have spent some time in the LinearAlgebra.jl documentation and in the Symbolics.jl documentation. I have also searched (quite) a bit in the …

---

## [OpenFAST with Julia](https://discourse.julialang.org/t/openfast-with-julia/94267)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [February 8, 2023, 10:42am UTC](https://discourse.julialang.org/t/openfast-with-julia/94267 "2023-02-08T10:42:17Z")

</div>

OpenFAST is the standard wind turbine simulation tool from NREL, written in Fortran. OpenFAST · GitHub If I want to use it in Julia on Linux, what is the best approach? There are wrappers for Matlab and Python, but not…

---

## [How to create a graphic simulator?](https://discourse.julialang.org/t/how-to-create-a-graphic-simulator/94256)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 4\
**Last updated:** [February 8, 2023, 9:59am UTC](https://discourse.julialang.org/t/how-to-create-a-graphic-simulator/94256 "2023-02-08T09:59:04Z")

</div>

Julia has MANY packages to create static vector graphics. But I want to create a simulation. A RealTime simulation. I don’t want to create GIFs or MP4s or anything. Realtime simulations that render in a window. And I am …

---

## [CUDNN produces a lot of errors and warnings](https://discourse.julialang.org/t/cudnn-produces-a-lot-of-errors-and-warnings/93940)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 2\
**Last updated:** [February 8, 2023, 9:14am UTC](https://discourse.julialang.org/t/cudnn-produces-a-lot-of-errors-and-warnings/93940 "2023-02-08T09:14:54Z")

</div>

I have lately been getting a lot of errors emanating from CUDNN.jl when training Flux models. This happens also with code I really think has or would have worked before. Does anyone understand this? ┌ Error: CuDNN (v83…

---

## [MOI: Re-evaluate custom bridge & \`direct\_model(...)\` bridging](https://discourse.julialang.org/t/moi-re-evaluate-custom-bridge-direct-model-bridging/94219)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 9\
**Last updated:** [February 8, 2023, 7:36am UTC](https://discourse.julialang.org/t/moi-re-evaluate-custom-bridge-direct-model-bridging/94219 "2023-02-08T07:36:20Z")

</div>

As far as I understand, when I add a custom bridge (struct MyCustomBridge{T} \<: MOI.Bridges.Constraint.AbstractBridge end) to my model using model = JuMP.Model(HiGHS.Optimizer) MOI.Bridges.add\_bridge(JuMP.backend(model…

---

## [Matrix multiplication convergence](https://discourse.julialang.org/t/matrix-multiplication-convergence/94042)

<div class="topic-metadata">

**Author:** [@WhY](https://discourse.julialang.org/u/WhY)\
**Replies:** 10\
**Last updated:** [February 8, 2023, 7:30am UTC](https://discourse.julialang.org/t/matrix-multiplication-convergence/94042 "2023-02-08T07:30:37Z")

</div>

I am trying to coding a transition matrix I generated using Rouwenhorst converge to a idempotent by multiply itself multiple times in Julia using if loop, but I am new to Julia and don’t know how. Basic enviroment: \\Pi…

---

## [How to use FluxMPI on slurm?](https://discourse.julialang.org/t/how-to-use-fluxmpi-on-slurm/94251)

<div class="topic-metadata">

**Author:** [@Emrick\_Liu](https://discourse.julialang.org/u/Emrick_Liu)\
**Replies:** 0\
**Last updated:** [February 8, 2023, 4:16am UTC](https://discourse.julialang.org/t/how-to-use-fluxmpi-on-slurm/94251 "2023-02-08T04:16:08Z")

</div>

Hi, I tried to use FluxMPI on Slurm, couldn’t figure out the configuration. Can anyone provide a minimum example? Currently, I’m basically doing something like this: #SBATCH --ntasks=3 export JULIA\_CUDA\_MEMORY\_POOL=no…

---

## [Importing an existing package without re-precompiling](https://discourse.julialang.org/t/importing-an-existing-package-without-re-precompiling/94248)

<div class="topic-metadata">

**Author:** [@RomeoV](https://discourse.julialang.org/u/RomeoV)\
**Replies:** 3\
**Last updated:** [February 8, 2023, 5:34am UTC](https://discourse.julialang.org/t/importing-an-existing-package-without-re-precompiling/94248 "2023-02-08T05:34:30Z")

</div>

Often, I need functionality of a low-level package, say ChainRulesCore.jl, which is already included by other packages and thus in the Manifest.toml, but not yet in the Project.toml. Therefore I \]add ChainRulesCore, how…

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

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