# Latest

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

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

**Page:** 747

---

## [GLMakie: help concerning SliderGrid](https://discourse.julialang.org/t/glmakie-help-concerning-slidergrid/96446)

<div class="topic-metadata">

**Author:** [@afyon](https://discourse.julialang.org/u/afyon)\
**Replies:** 0\
**Last updated:** [March 22, 2023, 2:32pm UTC](https://discourse.julialang.org/t/glmakie-help-concerning-slidergrid/96446 "2023-03-22T14:32:46Z")

</div>

Hello, By updating my Julia version, I just remarked that labelslidergrid! is deprecated. Thus, I had to use SliderGrid. However, there is no way to increase the fontsize of both the label and the current slider value. …

---

## [Vscode debugger fail](https://discourse.julialang.org/t/vscode-debugger-fail/96444)

<div class="topic-metadata">

**Author:** [@jackmarry](https://discourse.julialang.org/u/jackmarry)\
**Replies:** 0\
**Last updated:** [March 22, 2023, 1:44pm UTC](https://discourse.julialang.org/t/vscode-debugger-fail/96444 "2023-03-22T13:44:46Z")

</div>

┌ Error: Some Julia code in the VS Code extension crashed └ @ VSCodeDebugger c:\\Users\\good.vscode\\extensions\\julialang.language-julia-1.38.2\\scripts\\error\_handler.jl:15 ERROR: ArgumentError: lowering returned an error,…

---

## [Score function error for simple custom Gaussian node in RxInfer](https://discourse.julialang.org/t/score-function-error-for-simple-custom-gaussian-node-in-rxinfer/96368)

<div class="topic-metadata">

**Author:** [@John\_Boik](https://discourse.julialang.org/u/John_Boik)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 12:46pm UTC](https://discourse.julialang.org/t/score-function-error-for-simple-custom-gaussian-node-in-rxinfer/96368 "2023-03-22T12:46:05Z")

</div>

I’m testing a simple Gaussian custom node in RxInfer just to make sure I have the syntax correct, but I’m having trouble with the score function for Bethe free energy. My inference() function runs fine and returns BFE if…

---

## [Issue with MethodOfLines.jl Heat equation example](https://discourse.julialang.org/t/issue-with-methodoflines-jl-heat-equation-example/96411)

<div class="topic-metadata">

**Author:** [@dan\_tud](https://discourse.julialang.org/u/dan_tud)\
**Replies:** 5\
**Last updated:** [March 22, 2023, 12:36pm UTC](https://discourse.julialang.org/t/issue-with-methodoflines-jl-heat-equation-example/96411 "2023-03-22T12:36:05Z")

</div>

Hi there, I am new to Julia and I am currently working through the examples for the MethodOfLines.jl package. Whilst running the code for the Heat Equation in 1D with Neumann boundary conditions I seem to get the follow…

---

## [Error: Missing source file for PackageCompiler](https://discourse.julialang.org/t/error-missing-source-file-for-packagecompiler/90044)

<div class="topic-metadata">

**Author:** [@clarakoehne](https://discourse.julialang.org/u/clarakoehne)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 11:24am UTC](https://discourse.julialang.org/t/error-missing-source-file-for-packagecompiler/90044 "2023-03-22T11:24:29Z")

</div>

Hello there! I am trying to compile my julia program using the create\_app function from PackageCompiler. The function call looks like this: create\_app(force = true, projectdirectory, outdirectory, precompile\_statements\_…

---

## [Error: Missing source file for JSON](https://discourse.julialang.org/t/error-missing-source-file-for-json/67975)

<div class="topic-metadata">

**Author:** [@sim](https://discourse.julialang.org/u/sim)\
**Replies:** 4\
**Last updated:** [March 22, 2023, 11:21am UTC](https://discourse.julialang.org/t/error-missing-source-file-for-json/67975 "2023-03-22T11:21:17Z")

</div>

Hi, on a fresh installation of Julia on Ubuntu 16.04, I cannot install packages. Each add Pkgname results in a 1 dependency errored. To see a full report either run import Pkg; Pkg.precompile() or load the package an…

---

## [Error Precomping Lathe](https://discourse.julialang.org/t/error-precomping-lathe/73559)

<div class="topic-metadata">

**Author:** [@daler6](https://discourse.julialang.org/u/daler6)\
**Replies:** 4\
**Last updated:** [March 22, 2023, 10:38am UTC](https://discourse.julialang.org/t/error-precomping-lathe/73559 "2023-03-22T10:38:47Z")

</div>

I recently installed Julia 1.7.1. When I try using Lathe, I get the following error: \[ Info: Precompiling Lathe \[38d8eb38-e7b1-11e9-0012-376b6c802672\] ERROR: LoadError: InitError: could not load symbol “LLVMExtraInitia…

---

## [Asking for RadixSort](https://discourse.julialang.org/t/asking-for-radixsort/96416)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 1\
**Last updated:** [March 22, 2023, 6:53am UTC](https://discourse.julialang.org/t/asking-for-radixsort/96416 "2023-03-22T06:53:55Z")

</div>

The version 1.9.0-rc1: Asking for RadixSort (similarly what one can do for QuickSort) sort!(prm; alg=Base.Sort.QuickSort, order=Base.Order.Perm(Base.Order.Forward, rows), scratch=scratcha); fails. Any clues why, and h…

---

## [Downloads directory location](https://discourse.julialang.org/t/downloads-directory-location/96420)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 5\
**Last updated:** [March 22, 2023, 2:45am UTC](https://discourse.julialang.org/t/downloads-directory-location/96420 "2023-03-22T02:45:58Z")

</div>

I am confused about where files end up when I download them with Downloads.jl. Unfortunately there are no examples in the documentation to follow, so it’s hard to know what I’m doing wrong. Here’s my attempt at download…

---

## [Performance help for first passage time simulation](https://discourse.julialang.org/t/performance-help-for-first-passage-time-simulation/96392)

<div class="topic-metadata">

**Author:** [@Bill\_Holmes](https://discourse.julialang.org/u/Bill_Holmes)\
**Replies:** 24\
**Last updated:** [March 22, 2023, 12:58am UTC](https://discourse.julialang.org/t/performance-help-for-first-passage-time-simulation/96392 "2023-03-22T00:58:40Z")

</div>

I’m relatively new to Julia but it seems fantastic! I am still learning optimization tricks and am hoping someone can help. More details below, but my basic problem is that I have a simd type of problem; run 10k relativ…

---

## [How to solve a Markov decision process with randomness](https://discourse.julialang.org/t/how-to-solve-a-markov-decision-process-with-randomness/96426)

<div class="topic-metadata">

**Author:** [@Jian\_ZUO](https://discourse.julialang.org/u/Jian_ZUO)\
**Replies:** 0\
**Last updated:** [March 22, 2023, 12:24am UTC](https://discourse.julialang.org/t/how-to-solve-a-markov-decision-process-with-randomness/96426 "2023-03-22T00:24:21Z")

</div>

Hi, I have a Markov decision process as follows: states: S1, S2; the increment of S1 follows a Gamma law, i.e. S1(t+d)-S1(t) ~ gamma(alpha, beta), S1 has a fixed range of zero to a failure threshold FT (thus the transi…

---

## [Towards the creation of an interface testing package](https://discourse.julialang.org/t/towards-the-creation-of-an-interface-testing-package/82182)

<div class="topic-metadata">

**Author:** [@Raf](https://discourse.julialang.org/u/Raf)\
**Replies:** 26\
**Last updated:** [March 21, 2023, 11:20pm UTC](https://discourse.julialang.org/t/towards-the-creation-of-an-interface-testing-package/82182 "2023-03-21T23:20:32Z")

</div>

To get something actionable out of this thread, I keep thinking about an interface testing package. I also just found a glaring bug in DimensionalData.jl with mixed Int/CartesianIndex indexing. Because I just forgot to …

---

## [How to solve inequalities of this kind?](https://discourse.julialang.org/t/how-to-solve-inequalities-of-this-kind/96404)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 3\
**Last updated:** [March 21, 2023, 9:04pm UTC](https://discourse.julialang.org/t/how-to-solve-inequalities-of-this-kind/96404 "2023-03-21T21:04:59Z")

</div>

Hello, good afternoon How to solve inequalities of this kind? 4 \<= 3x - 2 \< 13

---

## [Minibatching neural ODEs with different initial conditions](https://discourse.julialang.org/t/minibatching-neural-odes-with-different-initial-conditions/96361)

<div class="topic-metadata">

**Author:** [@kaido975](https://discourse.julialang.org/u/kaido975)\
**Replies:** 7\
**Last updated:** [March 21, 2023, 8:18pm UTC](https://discourse.julialang.org/t/minibatching-neural-odes-with-different-initial-conditions/96361 "2023-03-21T20:18:39Z")

</div>

I am trying to train a neural ODE on different time trajectories, starting with different initial conditions. I am able to observe a reduction in loss with ADAM (with good outputs), but BFGS does not work at all. Why is …

---

## [Robotics and Julia at the Boston Dynamics AI Institute](https://discourse.julialang.org/t/robotics-and-julia-at-the-boston-dynamics-ai-institute/96415)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 6:26pm UTC](https://discourse.julialang.org/t/robotics-and-julia-at-the-boston-dynamics-ai-institute/96415 "2023-03-21T18:26:28Z")

</div>

I’m excited to announce that The Boston Dynamics AI Institute (theaiinstitute.com/) is looking for skilled and senior (5+ years industry experience) software engineers to join. Our company is at the forefront of the robo…

---

## [Surprisingly inaccurate sparse Cholesky factorization](https://discourse.julialang.org/t/surprisingly-inaccurate-sparse-cholesky-factorization/96410)

<div class="topic-metadata">

**Author:** [@jarapo](https://discourse.julialang.org/u/jarapo)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 6:01pm UTC](https://discourse.julialang.org/t/surprisingly-inaccurate-sparse-cholesky-factorization/96410 "2023-03-21T18:01:41Z")

</div>

I am surprised by how inaccurate cholesky() can be for sparse matrices; so much so it me wonder if I am not using it correctly. Define a finite different matrix A: L=2; dvec=-2\*ones(2^L);restvec=ones(2^L-1); A =sparse(…

---

## [Fast permutation vector: code needed](https://discourse.julialang.org/t/fast-permutation-vector-code-needed/96357)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 38\
**Last updated:** [March 21, 2023, 5:58pm UTC](https://discourse.julialang.org/t/fast-permutation-vector-code-needed/96357 "2023-03-21T17:58:57Z")

</div>

Hello all, I need to sort integer vectors, with entries of arbitrary size relative to the length of the vector. At the moment I use sort!(prm, Base.Sort.DEFAULT\_UNSTABLE, Base.Order.Perm(Base.Order.Forward, rows)) to…

---

## [Creating Adjacency matrix from a DataFrame](https://discourse.julialang.org/t/creating-adjacency-matrix-from-a-dataframe/96395)

<div class="topic-metadata">

**Author:** [@le\_ackerman](https://discourse.julialang.org/u/le_ackerman)\
**Replies:** 6\
**Last updated:** [March 21, 2023, 5:24pm UTC](https://discourse.julialang.org/t/creating-adjacency-matrix-from-a-dataframe/96395 "2023-03-21T17:24:55Z")

</div>

I want to create an adjacency matrix with first two columns of a dataframe and the weights will be taken from the 3rd column. for reference, say the dataframe looks like: index Name\_A Name\_B 0 Adam Ben 1 …

---

## [DiffEqJump/Catalyst, Turing possible?](https://discourse.julialang.org/t/diffeqjump-catalyst-turing-possible/83479)

<div class="topic-metadata">

**Author:** [@jae0](https://discourse.julialang.org/u/jae0)\
**Replies:** 4\
**Last updated:** [March 21, 2023, 5:52pm UTC](https://discourse.julialang.org/t/diffeqjump-catalyst-turing-possible/83479 "2023-03-21T17:52:09Z")

</div>

Hi, I am wondering if it is possible to do parameter inference using Turing for a DiffEqJump model? I understand that this type of problem might be better handled using an optimizer, but I am curious if it can be done …

---

## [Problem in getting a solution using the package "ReachabilityAnalysis.jl"](https://discourse.julialang.org/t/problem-in-getting-a-solution-using-the-package-reachabilityanalysis-jl/96409)

<div class="topic-metadata">

**Author:** [@Ashu](https://discourse.julialang.org/u/Ashu)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 5:47pm UTC](https://discourse.julialang.org/t/problem-in-getting-a-solution-using-the-package-reachabilityanalysis-jl/96409 "2023-03-21T17:47:57Z")

</div>

Hello all, I am trying to solve a differential equation with interval coefficients using the packages “IntervalArithmetic.jl” and “ReachabilityAnalysis.jl” in Pluto.jl notebook. When I tried to plot the solution I got t…

---

## [How to use hovertemplate with Plotly Python via Pycall](https://discourse.julialang.org/t/how-to-use-hovertemplate-with-plotly-python-via-pycall/96337)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 6\
**Last updated:** [March 21, 2023, 4:54pm UTC](https://discourse.julialang.org/t/how-to-use-hovertemplate-with-plotly-python-via-pycall/96337 "2023-03-21T16:54:18Z")

</div>

I’d like to create this plotly example in Julia by using PyCall to access python plotly. Below is the code from the example converted to julia: using PyCall go = pyimport("plotly.graph\_objects") subplots = pyimport("plo…

---

## [Force reloading of shared C library](https://discourse.julialang.org/t/force-reloading-of-shared-c-library/96399)

<div class="topic-metadata">

**Author:** [@Alseidon](https://discourse.julialang.org/u/Alseidon)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 4:12pm UTC](https://discourse.julialang.org/t/force-reloading-of-shared-c-library/96399 "2023-03-21T16:12:12Z")

</div>

Hi, I am calling a C function, compiled with gcc -shared -fPIC as it should be. Until then, no problem; however, if I modify and compile the C code again, the changes won’t appear in Julia. I tested this by going in the…

---

## [Understand vectorized dot operators](https://discourse.julialang.org/t/understand-vectorized-dot-operators/96388)

<div class="topic-metadata">

**Author:** [@ahmed-desoki](https://discourse.julialang.org/u/ahmed-desoki)\
**Replies:** 8\
**Last updated:** [March 21, 2023, 3:25pm UTC](https://discourse.julialang.org/t/understand-vectorized-dot-operators/96388 "2023-03-21T15:25:10Z")

</div>

Dear folks I’m an old Matlab user who is trying to switch to Julia. In Matlab, I use array (element-wise) arithmetic a lot. When I tried to make element-wise arithmetic using Julia, I noticed the following strange beha…

---

## [Creating Cmds with variable number of args](https://discourse.julialang.org/t/creating-cmds-with-variable-number-of-args/96397)

<div class="topic-metadata">

**Author:** [@Conrad\_Wiebe](https://discourse.julialang.org/u/Conrad_Wiebe)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 3:12pm UTC](https://discourse.julialang.org/t/creating-cmds-with-variable-number-of-args/96397 "2023-03-21T15:12:41Z")

</div>

I’m trying to create a scp command to copy over a variable number of files to another computer. I’d like for it to be a single scp call rather than one per file as it is much more efficient. I have something looking like…

---

## [@threads :Static seems not doing static scheduling?](https://discourse.julialang.org/t/threads-static-seems-not-doing-static-scheduling/96386)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 8\
**Last updated:** [March 21, 2023, 2:54pm UTC](https://discourse.julialang.org/t/threads-static-seems-not-doing-static-scheduling/96386 "2023-03-21T14:54:16Z")

</div>

I start julia with set JULIA\_EXCLUSIVE=1 and julia -t 2 and I have multi-threaded code. Meanwhile running it, I don’t know why I can not see two cores working with their maximum? but rather a switching between cores al…

---

## [\[ANN\] SmallZarrGroups.jl - Save and load hierarchy of arrays and metadata](https://discourse.julialang.org/t/ann-smallzarrgroups-jl-save-and-load-hierarchy-of-arrays-and-metadata/96394)

<div class="topic-metadata">

**Author:** [@nhz2](https://discourse.julialang.org/u/nhz2)\
**Replies:** 0\
**Last updated:** [March 21, 2023, 2:36pm UTC](https://discourse.julialang.org/t/ann-smallzarrgroups-jl-save-and-load-hierarchy-of-arrays-and-metadata/96394 "2023-03-21T14:36:01Z")

</div>

Hello all, I was looking for a way to save snapshots of my simulation state to disk for restart, archival, and analysis purposes. I wanted these snapshots to be easily readable from python. Lastly, I didn’t care about w…

---

## [Predefined Dates Locale](https://discourse.julialang.org/t/predefined-dates-locale/81250)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 2:19pm UTC](https://discourse.julialang.org/t/predefined-dates-locale/81250 "2023-03-21T14:19:13Z")

</div>

I am aware of the possibility of adding a locale to Dates, see e.g. here But I am wondering if there is a repository somewhere which already has some ‘common’ locales predefined. Right now I am looking for Swedish.

---

## [How to create a list of (x, y) labels from an n x 2 matrix of x, y data pairs?](https://discourse.julialang.org/t/how-to-create-a-list-of-x-y-labels-from-an-n-x-2-matrix-of-x-y-data-pairs/96316)

<div class="topic-metadata">

**Author:** [@Gary\_Church](https://discourse.julialang.org/u/Gary_Church)\
**Replies:** 3\
**Last updated:** [March 21, 2023, 2:18pm UTC](https://discourse.julialang.org/t/how-to-create-a-list-of-x-y-labels-from-an-n-x-2-matrix-of-x-y-data-pairs/96316 "2023-03-21T14:18:54Z")

</div>

Greetings, I’m using Julia 1.8.5, Plots and the plotly backend. I have an n x 2 matrix of x, y data pairs called “data” which I plot using: scatter(data\[:,1\], data\[:,2\]) I want to annotate each of the plotted data poi…

---

## [Non-existing package MatchedPairs.jl hallucinated by a LLM](https://discourse.julialang.org/t/non-existing-package-matchedpairs-jl-hallucinated-by-a-llm/96367)

<div class="topic-metadata">

**Author:** [@ajsagit](https://discourse.julialang.org/u/ajsagit)\
**Replies:** 2\
**Last updated:** [March 21, 2023, 1:53pm UTC](https://discourse.julialang.org/t/non-existing-package-matchedpairs-jl-hallucinated-by-a-llm/96367 "2023-03-21T13:53:44Z")

</div>

To install the MatchedPairs package in Julia, you can use the following commands in the Julia REPL: using Pkg Pkg.add("MatchedPairs") Once the package is installed, you can use the following code to use the MatchedPa…

---

## [Profiling memory allocations](https://discourse.julialang.org/t/profiling-memory-allocations/96385)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 1\
**Last updated:** [March 21, 2023, 1:12pm UTC](https://discourse.julialang.org/t/profiling-memory-allocations/96385 "2023-03-21T13:12:10Z")

</div>

I have written some code in functional/immutable style, with the aim of not allocating any memory (on the heap). The code is weird because this is a mock-up of something I then want to create a macro to generate from si…

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

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