# Latest

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

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

**Page:** 745

---

## [Is DifferentialEquations 7.7.0 slowing the REPL in Julia 1.8.5?](https://discourse.julialang.org/t/is-differentialequations-7-7-0-slowing-the-repl-in-julia-1-8-5/96482)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 2\
**Last updated:** [March 24, 2023, 1:41am UTC](https://discourse.julialang.org/t/is-differentialequations-7-7-0-slowing-the-repl-in-julia-1-8-5/96482 "2023-03-24T01:41:03Z")

</div>

I recently updated to this version of the DifferentialEquations package and observed that my code execution became considerably slower after loading the package. To ensure that this issue was isolated to the package itse…

---

## [Efficiently in-place filling an array of ForwardDiff.Dual](https://discourse.julialang.org/t/efficiently-in-place-filling-an-array-of-forwarddiff-dual/96537)

<div class="topic-metadata">

**Author:** [@cadaverous](https://discourse.julialang.org/u/cadaverous)\
**Replies:** 2\
**Last updated:** [March 24, 2023, 12:35am UTC](https://discourse.julialang.org/t/efficiently-in-place-filling-an-array-of-forwarddiff-dual/96537 "2023-03-24T00:35:29Z")

</div>

I was able to write function to handle arrays of ForwardDiff.Dual, since in theory I should be able to compute the derivative of a certain function much more efficiently than just propagating Dual numbers through it. I h…

---

## [It Is fine to split your package into multiple sub-packages? And when should i do that?](https://discourse.julialang.org/t/it-is-fine-to-split-your-package-into-multiple-sub-packages-and-when-should-i-do-that/88776)

<div class="topic-metadata">

**Author:** [@dylanxyz](https://discourse.julialang.org/u/dylanxyz)\
**Replies:** 3\
**Last updated:** [March 24, 2023, 12:08am UTC](https://discourse.julialang.org/t/it-is-fine-to-split-your-package-into-multiple-sub-packages-and-when-should-i-do-that/88776 "2023-03-24T00:08:10Z")

</div>

When i was writing Kotlin or Typescript, my way of organizing a project was to divide it into sub folders where each sub folder defines its own module, and the job of the main module was just to re-exports the sub-module…

---

## [PythonPlot taking a lot of time to precompile](https://discourse.julialang.org/t/pythonplot-taking-a-lot-of-time-to-precompile/94166)

<div class="topic-metadata">

**Author:** [@madeline](https://discourse.julialang.org/u/madeline)\
**Replies:** 5\
**Last updated:** [March 23, 2023, 11:52pm UTC](https://discourse.julialang.org/t/pythonplot-taking-a-lot-of-time-to-precompile/94166 "2023-03-23T23:52:15Z")

</div>

I’m trying to animate a simulation. I’m most familiar with matplotlib in python, so I’m trying to use the PythonPlot backend for Plots.jl, however the following code is taking a lot of time (\>10 mins) to run. using Plot…

---

## [Interpolation problem](https://discourse.julialang.org/t/interpolation-problem/96530)

<div class="topic-metadata">

**Author:** [@PaulN](https://discourse.julialang.org/u/PaulN)\
**Replies:** 2\
**Last updated:** [March 23, 2023, 11:47pm UTC](https://discourse.julialang.org/t/interpolation-problem/96530 "2023-03-23T23:47:27Z")

</div>

I am learning how to use DifferentialEquations.jl, and wrote a simple first piece to code to simulate an undamped SHO. When I solve for the motion and plot the x and v curves using DifferentialEquations.jl, I get a beaut…

---

## [Makie heatmap legend](https://discourse.julialang.org/t/makie-heatmap-legend/96494)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 3\
**Last updated:** [March 23, 2023, 10:54pm UTC](https://discourse.julialang.org/t/makie-heatmap-legend/96494 "2023-03-23T22:54:52Z")

</div>

I have a heatmap and I want a legend explaining the values of the colors. let ps = 0:.01:1 ns=1:1000:5\_000\_000 f = Figure() ax = Axis(f\[1,1\]; xgridvisible=true, ygridvisible=true, xminorgridvisible=true, ymi…

---

## [Biojulia website not accessible](https://discourse.julialang.org/t/biojulia-website-not-accessible/94870)

<div class="topic-metadata">

**Author:** [@ForestRaven](https://discourse.julialang.org/u/ForestRaven)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 10:50pm UTC](https://discourse.julialang.org/t/biojulia-website-not-accessible/94870 "2023-03-23T22:50:31Z")

</div>

Hi, I’m interested in doing bioinformatics with Julia and Google keeps redirecting me to Biojulia. However, the website does not seem to be up for at least two days. Is it still online ? Thanks,

---

## [Check if a sorting algorithm is stable](https://discourse.julialang.org/t/check-if-a-sorting-algorithm-is-stable/96536)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 9:33pm UTC](https://discourse.julialang.org/t/check-if-a-sorting-algorithm-is-stable/96536 "2023-03-23T21:33:26Z")

</div>

Say I want to know if the default float sorting algorithm is stable. How can I check? julia\> Base.Sort.defalg(rand(3)) Base.Sort.MissingOptimization( Base.Sort.BoolOptimization( Base.Sort.Small{10}( …

---

## [How to extract solution values "x" if solution is obtained using ReachabilityAnalysis.jl package?](https://discourse.julialang.org/t/how-to-extract-solution-values-x-if-solution-is-obtained-using-reachabilityanalysis-jl-package/96532)

<div class="topic-metadata">

**Author:** [@Ashu](https://discourse.julialang.org/u/Ashu)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 8:05pm UTC](https://discourse.julialang.org/t/how-to-extract-solution-values-x-if-solution-is-obtained-using-reachabilityanalysis-jl-package/96532 "2023-03-23T20:05:15Z")

</div>

Hello all, I am solving a differential equation with an initial condition in an interval using ReachabilityAnalysis.jl package as, prob = @ivp(x' = f(x), x(0) ∈ X0, dim=1) sol = solve(prob, alg=TMJets21a(abstol=1e-18),…

---

## [How to loop over the variables of a JuMP model?](https://discourse.julialang.org/t/how-to-loop-over-the-variables-of-a-jump-model/96463)

<div class="topic-metadata">

**Author:** [@geo1093](https://discourse.julialang.org/u/geo1093)\
**Replies:** 4\
**Last updated:** [March 23, 2023, 7:22pm UTC](https://discourse.julialang.org/t/how-to-loop-over-the-variables-of-a-jump-model/96463 "2023-03-23T19:22:37Z")

</div>

Hi, I hope my question is not already answered somewhere else, I couldn’t find it. Here is the beginning of a MWE (I actually have many more variables and bigger sets): using JuMP, Gurobi model = Model(Gurobi.Optimize…

---

## [Which JuMP solvers support compute\_conflict!?](https://discourse.julialang.org/t/which-jump-solvers-support-compute-conflict/95733)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 9\
**Last updated:** [March 23, 2023, 7:12pm UTC](https://discourse.julialang.org/t/which-jump-solvers-support-compute-conflict/95733 "2023-03-23T19:12:45Z")

</div>

I am trying to show the constraints of an infeasible problem in a human-readable format and found compute\_conflict! in the docs: Solutions · JuMP! The COSMO.jl solver doesn’t support the function. Is there any other pu…

---

## [The solution of JuMP model cannot splice horizontally](https://discourse.julialang.org/t/the-solution-of-jump-model-cannot-splice-horizontally/96511)

<div class="topic-metadata">

**Author:** [@kevinqiao](https://discourse.julialang.org/u/kevinqiao)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 7:07pm UTC](https://discourse.julialang.org/t/the-solution-of-jump-model-cannot-splice-horizontally/96511 "2023-03-23T19:07:07Z")

</div>

I encountered an interesting question, I defined a sub-function (it’s a model) with a variable vector of 9×1 dimension, and the variables are as follows @variable(model, varFlow\[1:9\], Bin) The problem can be solved, an…

---

## [Unable to use set\_attribute](https://discourse.julialang.org/t/unable-to-use-set-attribute/96529)

<div class="topic-metadata">

**Author:** [@lilychow233](https://discourse.julialang.org/u/lilychow233)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 7:06pm UTC](https://discourse.julialang.org/t/unable-to-use-set-attribute/96529 "2023-03-23T19:06:02Z")

</div>

Hi. My julia version is 1.8.5. I tried to run the Benders Decomposition example from However, issues occured with the Callback Method. Specifically with this line: set\_attribute(lazy\_model, MOI.LazyConstraintCallbac…

---

## [StipplePlotly.PlotLayout using Mapbox token](https://discourse.julialang.org/t/stippleplotly-plotlayout-using-mapbox-token/96524)

<div class="topic-metadata">

**Author:** [@monty](https://discourse.julialang.org/u/monty)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 5:54pm UTC](https://discourse.julialang.org/t/stippleplotly-plotlayout-using-mapbox-token/96524 "2023-03-23T17:54:23Z")

</div>

How I can specify the Mapbox token when I am using StipplePlotly.PlotLayout?

---

## [Substitution and simplification of terms that do not appear explicitly, using \`Symbolics.jl\` (and \`SymbolicUtils.jl\`)](https://discourse.julialang.org/t/substitution-and-simplification-of-terms-that-do-not-appear-explicitly-using-symbolics-jl-and-symbolicutils-jl/96458)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 5:50pm UTC](https://discourse.julialang.org/t/substitution-and-simplification-of-terms-that-do-not-appear-explicitly-using-symbolics-jl-and-symbolicutils-jl/96458 "2023-03-23T17:50:39Z")

</div>

Hi everyone. I am encountering a problem where I want to solve and simplify a specific set of equations. Even in a very simple use case I cannot get simplify(expr) to do simple substitutions if the elements to be substi…

---

## [StipplePlotly.PlotLayout using USGS layer](https://discourse.julialang.org/t/stippleplotly-plotlayout-using-usgs-layer/96523)

<div class="topic-metadata">

**Author:** [@monty](https://discourse.julialang.org/u/monty)\
**Replies:** 0\
**Last updated:** [March 23, 2023, 5:37pm UTC](https://discourse.julialang.org/t/stippleplotly-plotlayout-using-usgs-layer/96523 "2023-03-23T17:37:04Z")

</div>

How to use USGS layer in StipplePlotly.PlotLayout? according to Plotly.js website you can load USGS terrain in Plotly: import pandas as pd us\_cities = pd.read\_csv("https://raw.githubusercontent.com/plotly/datasets/mast…

---

## [What is cause of "Unable to automatically install" \_jll errors?](https://discourse.julialang.org/t/what-is-cause-of-unable-to-automatically-install-jll-errors/38992)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 4:37pm UTC](https://discourse.julialang.org/t/what-is-cause-of-unable-to-automatically-install-jll-errors/38992 "2023-03-23T16:37:48Z")

</div>

I’m getting a lot of ERROR: Unable to automatically install messages from add PkgTemplates // think it’s from Artifacts.toml or some \_jll binary downloader, but have no real clue whats going on Can anyone say what’s ha…

---

## [CUDA Format of \_\_nvvm\_\_reflect function not recognized](https://discourse.julialang.org/t/cuda-format-of-nvvm-reflect-function-not-recognized/96370)

<div class="topic-metadata">

**Author:** [@Mark\_Lau](https://discourse.julialang.org/u/Mark_Lau)\
**Replies:** 12\
**Last updated:** [March 23, 2023, 4:19pm UTC](https://discourse.julialang.org/t/cuda-format-of-nvvm-reflect-function-not-recognized/96370 "2023-03-23T16:19:27Z")

</div>

I have some code that is similar to an example from the CUDA.jl Introduction. Specifically, this one: using CUDA N = 2^20 x\_d = CUDA.fill(1.0f0, N) # a vector stored on the GPU filled with 1.0 (Float32) y\_d = CUDA.fi…

---

## [\[ANN\] ExpectationMaximization.jl - Generic EM algo to fit\_mle MixtureModels](https://discourse.julialang.org/t/ann-expectationmaximization-jl-generic-em-algo-to-fit-mle-mixturemodels/96513)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 3:06pm UTC](https://discourse.julialang.org/t/ann-expectationmaximization-jl-generic-em-algo-to-fit-mle-mixturemodels/96513 "2023-03-23T15:06:28Z")

</div>

I am happy to announce the package ExpectationMaximization.jl. The purpose is to implement in a very generic “Julia way” EM algorithm to find the maximum likelihood estimator (fit\_mle) for MixtureModels i.e. mixture of …

---

## [How to save plotly to png and is it possible to save to LaTex?](https://discourse.julialang.org/t/how-to-save-plotly-to-png-and-is-it-possible-to-save-to-latex/33509)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 3:03pm UTC](https://discourse.julialang.org/t/how-to-save-plotly-to-png-and-is-it-possible-to-save-to-latex/33509 "2023-03-23T15:03:20Z")

</div>

How to save plotly to png and is it possible to save to LaTe? Thank you.

---

## [Cannot install package because of bad certificate](https://discourse.julialang.org/t/cannot-install-package-because-of-bad-certificate/96432)

<div class="topic-metadata">

**Author:** [@Yannik](https://discourse.julialang.org/u/Yannik)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 1:52pm UTC](https://discourse.julialang.org/t/cannot-install-package-because-of-bad-certificate/96432 "2023-03-23T13:52:29Z")

</div>

When trying to install certain packages (for example: MixedModels or TuringGLM) I get an error about download/install artifact tzdata2022f. The “problematic” package seems to be TimeZones.jl. The same problem occurs if I…

---

## [Weird floating point vs rational behavior](https://discourse.julialang.org/t/weird-floating-point-vs-rational-behavior/96466)

<div class="topic-metadata">

**Author:** [@DOT](https://discourse.julialang.org/u/DOT)\
**Replies:** 6\
**Last updated:** [March 23, 2023, 12:28pm UTC](https://discourse.julialang.org/t/weird-floating-point-vs-rational-behavior/96466 "2023-03-23T12:28:54Z")

</div>

Just when you think you’ve seen it all: Could someone please explain this to me? julia\> 10\*1.1 ≤ 11 true julia\> (10//1)\*1.1 ≤ (11//1) true julia\> (10//1)\*1.1 - (11//1) ≤ 0 true julia\> 1 ≤ (11//10)/1.1 true julia\> 1.…

---

## [Search in CUDA vector](https://discourse.julialang.org/t/search-in-cuda-vector/94833)

<div class="topic-metadata">

**Author:** [@MohHizzani](https://discourse.julialang.org/u/MohHizzani)\
**Replies:** 5\
**Last updated:** [March 23, 2023, 12:35pm UTC](https://discourse.julialang.org/t/search-in-cuda-vector/94833 "2023-03-23T12:35:46Z")

</div>

I have a vector of binary values, need to find all indices that are one, and randomly select one to update another vector at the same index selected.

---

## [Isdir in Windows 67 times slower than Linux](https://discourse.julialang.org/t/isdir-in-windows-67-times-slower-than-linux/96436)

<div class="topic-metadata">

**Author:** [@Jeremy](https://discourse.julialang.org/u/Jeremy)\
**Replies:** 16\
**Last updated:** [March 23, 2023, 12:31pm UTC](https://discourse.julialang.org/t/isdir-in-windows-67-times-slower-than-linux/96436 "2023-03-23T12:31:09Z")

</div>

I need to list a large number of files and parse their names. My function works but the performance in Windows is 67 times slower despite running on a more powerful computer. The number of files is unknown and the user c…

---

## [Code jumping in julia vscode most often does not work - what is it I am doing wrong?](https://discourse.julialang.org/t/code-jumping-in-julia-vscode-most-often-does-not-work-what-is-it-i-am-doing-wrong/96376)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 10\
**Last updated:** [March 22, 2023, 3:10pm UTC](https://discourse.julialang.org/t/code-jumping-in-julia-vscode-most-often-does-not-work-what-is-it-i-am-doing-wrong/96376 "2023-03-22T15:10:04Z")

</div>

Hi there, I would like to gather some experiences about how good vscode completion is working for you. Almost all the time I have problems jumping to source code in some nested subpackges, etc… If I do a Julia: Re-inde…

---

## [Issues with MethodOfLines in SciML tutorial](https://discourse.julialang.org/t/issues-with-methodoflines-in-sciml-tutorial/96398)

<div class="topic-metadata">

**Author:** [@Naceur\_Bouziani](https://discourse.julialang.org/u/Naceur_Bouziani)\
**Replies:** 20\
**Last updated:** [March 23, 2023, 11:47am UTC](https://discourse.julialang.org/t/issues-with-methodoflines-in-sciml-tutorial/96398 "2023-03-23T11:47:50Z")

</div>

Hello everyone. I used to use MethodeOfLines to learn and start using all the great work of Chris and all this wonderful community But after running an update in the last 3 days I can’t even run the example tutorial t…

---

## [Video Processing](https://discourse.julialang.org/t/video-processing/96490)

<div class="topic-metadata">

**Author:** [@Desmond](https://discourse.julialang.org/u/Desmond)\
**Replies:** 7\
**Last updated:** [March 23, 2023, 11:45am UTC](https://discourse.julialang.org/t/video-processing/96490 "2023-03-23T11:45:37Z")

</div>

So, I took a video and svd decomposition on all the frames and I have got all my frames together. I am to look for a package that can help me put the frames together back in a video. But i can seem to find any. VideoIO,…

---

## [MTK & Linearization](https://discourse.julialang.org/t/mtk-linearization/95803)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 26\
**Last updated:** [March 23, 2023, 11:29am UTC](https://discourse.julialang.org/t/mtk-linearization/95803 "2023-03-23T11:29:34Z")

</div>

MTK documentation case I’m looking at the linearization example in the MTK documentation: using ModelingToolkit @variables t x(t)=0 y(t)=0 u(t)=0 r(t)=0 @parameters kp = 1 D = Differential(t) eqs = \[u ~ kp \* (r - y) # …

---

## [MTK and Jacobian](https://discourse.julialang.org/t/mtk-and-jacobian/96075)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 5\
**Last updated:** [March 23, 2023, 11:22am UTC](https://discourse.julialang.org/t/mtk-and-jacobian/96075 "2023-03-23T11:22:14Z")

</div>

I have an unbalanced/partial model consisting of 2 differential equations, 11 algebraic equations, and 17 unknowns/states. I want to compute the Jacobian of the model. I have 3 questions regarding the calculate\_jacobian …

---

## [Bug in algebra in REPL?](https://discourse.julialang.org/t/bug-in-algebra-in-repl/96500)

<div class="topic-metadata">

**Author:** [@Ron\_Backal](https://discourse.julialang.org/u/Ron_Backal)\
**Replies:** 1\
**Last updated:** [March 23, 2023, 11:16am UTC](https://discourse.julialang.org/t/bug-in-algebra-in-repl/96500 "2023-03-23T11:16:18Z")

</div>

I got a very absurd result when I used the REPL today for linear algebra calculations. I entered first the Windows Terminal(new version) and then typed Julia and entered the REPL. I calculated some 2 dimensional vector,…

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

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