# Latest

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

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

**Page:** 589

---

## [GLMakie Menu Filter](https://discourse.julialang.org/t/glmakie-menu-filter/104331)

<div class="topic-metadata">

**Author:** [@matthew3245](https://discourse.julialang.org/u/matthew3245)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 10:02am UTC](https://discourse.julialang.org/t/glmakie-menu-filter/104331 "2023-09-28T10:02:54Z")

</div>

Hi, I’m just wondering if anyone has an idea on how to filter the menu items in GLMakie. I have a GUI with \>50 menu items and its really difficult scrolling to the specific item I need. Naturally when I click the menu, I…

---

## [Constant changes when optimising ODE parameters](https://discourse.julialang.org/t/constant-changes-when-optimising-ode-parameters/104318)

<div class="topic-metadata">

**Author:** [@BogTak](https://discourse.julialang.org/u/BogTak)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 9:48am UTC](https://discourse.julialang.org/t/constant-changes-when-optimising-ode-parameters/104318 "2023-09-28T09:48:01Z")

</div>

Hi! I’m trying to use Julia for optimizing parameters for an ODE system, but I’m running into the issue that the value C1 that should be constant is changed during the optimization. I currently have the following code (f…

---

## [Factorial(big(-1))==0, bug or expected behaviour?](https://discourse.julialang.org/t/factorial-big-1-0-bug-or-expected-behaviour/104298)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 8\
**Last updated:** [September 28, 2023, 8:50am UTC](https://discourse.julialang.org/t/factorial-big-1-0-bug-or-expected-behaviour/104298 "2023-09-28T08:50:23Z")

</div>

I noticed the following behaviour on my system (julia 1.8): the factorial of negative integers x disagrees when x is Int or BigInt. Is this a bug or expected behaviour? I also compare to the gamma function below (from Sp…

---

## [Julia Copenhagen Meetup - 15th of August](https://discourse.julialang.org/t/julia-copenhagen-meetup-15th-of-august/101770)

<div class="topic-metadata">

**Author:** [@wc4wc4wc4](https://discourse.julialang.org/u/wc4wc4wc4)\
**Replies:** 3\
**Last updated:** [September 28, 2023, 5:58am UTC](https://discourse.julialang.org/t/julia-copenhagen-meetup-15th-of-august/101770 "2023-09-28T05:58:45Z")

</div>

The next Julia Copenhagen Meetup will be Tuesday the 15th of August at the new Niels Bohr Building. More information to come, but save the date!

---

## [ANN: JuMP-dev 2023](https://discourse.julialang.org/t/ann-jump-dev-2023/91238)

<div class="topic-metadata">

**Author:** [@odow](https://discourse.julialang.org/u/odow)\
**Replies:** 3\
**Last updated:** [September 28, 2023, 4:22am UTC](https://discourse.julialang.org/t/ann-jump-dev-2023/91238 "2023-09-28T04:22:57Z")

</div>

Dear all, We are pleased to announce that JuMP-dev 2023 will be co-located with JuliaCon 2023. This year, JuliaCon is being held in person, 24-29 July, 2023 in Cambridge, Massachusetts. You can find more information on…

---

## [Unexpected OOM errrors in julia 1.9.0 and 1.9.1 with Distributed](https://discourse.julialang.org/t/unexpected-oom-errrors-in-julia-1-9-0-and-1-9-1-with-distributed/100103)

<div class="topic-metadata">

**Author:** [@vfonov](https://discourse.julialang.org/u/vfonov)\
**Replies:** 6\
**Last updated:** [September 28, 2023, 2:38am UTC](https://discourse.julialang.org/t/unexpected-oom-errrors-in-julia-1-9-0-and-1-9-1-with-distributed/100103 "2023-09-28T02:38:18Z")

</div>

I have a relatively simple script that used to run fine on 1.8.X version: it executes lots of relatively small jobs via pmap. Executing on julia 1.8.5 with -p 32 , creates 32 processes , each using approximately 2Gb an…

---

## [StateSpaceModels.Forecast output are not callable/iterable](https://discourse.julialang.org/t/statespacemodels-forecast-output-are-not-callable-iterable/104314)

<div class="topic-metadata">

**Author:** [@ultratrader](https://discourse.julialang.org/u/ultratrader)\
**Replies:** 2\
**Last updated:** [September 28, 2023, 2:00am UTC](https://discourse.julialang.org/t/statespacemodels-forecast-output-are-not-callable-iterable/104314 "2023-09-28T02:00:27Z")

</div>

Hi all, I tried to extract the output of the forecast function in StateSpaceModels.jl after fitting using auto\_arima() and convert it to an array for further computation. I am using Julia 1.9.2 and StateSpaceModels.jl v…

---

## [Plotting the tangent line of a vector-valued function](https://discourse.julialang.org/t/plotting-the-tangent-line-of-a-vector-valued-function/104297)

<div class="topic-metadata">

**Author:** [@Alf](https://discourse.julialang.org/u/Alf)\
**Replies:** 2\
**Last updated:** [September 27, 2023, 10:10pm UTC](https://discourse.julialang.org/t/plotting-the-tangent-line-of-a-vector-valued-function/104297 "2023-09-27T22:10:51Z")

</div>

Hi! I want to plot the tangent line of the vector valued function \\mathbf{f}(t)=(\\cos(t),\\sin(t),t) at t=\\pi, but I get an error. I can’t not understad what I am doing wrong. using SymPy, Plots @syms t::real g(t) = \[cos…

---

## [There was a short read-only maintenance (27 September)](https://discourse.julialang.org/t/there-was-a-short-read-only-maintenance-27-september/104315)

<div class="topic-metadata">

**Author:** [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Replies:** 5\
**Last updated:** [September 27, 2023, 9:24pm UTC](https://discourse.julialang.org/t/there-was-a-short-read-only-maintenance-27-september/104315 "2023-09-27T21:24:00Z")

</div>

Hey all — just a heads up that we’re expecting to have some short read-only maintenance time for discourse.julialang.org at some point today. Discourse is upgrading us to a dedicated server as our increasing number of pa…

---

## [Select point from graph, use button to store?](https://discourse.julialang.org/t/select-point-from-graph-use-button-to-store/104323)

<div class="topic-metadata">

**Author:** [@dkzwart](https://discourse.julialang.org/u/dkzwart)\
**Replies:** 1\
**Last updated:** [September 27, 2023, 6:35pm UTC](https://discourse.julialang.org/t/select-point-from-graph-use-button-to-store/104323 "2023-09-27T18:35:40Z")

</div>

I have a plot that I want to pick a point from. Once I select the correct point, I want to press a button to store it (using PostgreSQL). Currently, when I press the ‘save’ button, it selects a different point and stores…

---

## [Create concious compiler messages](https://discourse.julialang.org/t/create-concious-compiler-messages/104303)

<div class="topic-metadata">

**Author:** [@ShalokShalom](https://discourse.julialang.org/u/ShalokShalom)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 3:52pm UTC](https://discourse.julialang.org/t/create-concious-compiler-messages/104303 "2023-09-27T15:52:21Z")

</div>

Hi :+1:t3: As a newbie, one of the hardest parts of Julia for me yet, is clearly its error messages. :frowning: I find them often to be more confusing than helpful, and I am aware, that a part of this comes from the na…

---

## [Tip: macro to install/use package in temporary environment](https://discourse.julialang.org/t/tip-macro-to-install-use-package-in-temporary-environment/103190)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 26\
**Last updated:** [September 27, 2023, 3:02pm UTC](https://discourse.julialang.org/t/tip-macro-to-install-use-package-in-temporary-environment/103190 "2023-09-27T15:02:44Z")

</div>

I have been using this pattern, which loads a package from a temporary environment (to not add it to the current one): julia\> \] activate --temp (jl\_3FBlLK) pkg\> add Plots julia\> using Plots julia\> \] activate . julia\>…

---

## [Imposing constraints on solutions by DifferentialEquations.jl](https://discourse.julialang.org/t/imposing-constraints-on-solutions-by-differentialequations-jl/104255)

<div class="topic-metadata">

**Author:** [@NitinGupta](https://discourse.julialang.org/u/NitinGupta)\
**Replies:** 29\
**Last updated:** [September 27, 2023, 2:56pm UTC](https://discourse.julialang.org/t/imposing-constraints-on-solutions-by-differentialequations-jl/104255 "2023-09-27T14:56:39Z")

</div>

I have N linearly coupled ODEs that DifferentialEquations.jl is able to solve - but with a huge amount of error. I detect the error because the solutions are supposed to follow a particular constraint at all time steps b…

---

## [Why does SampledSignals.jl store a 2-channel audio as a 2-column Matrix rather than a Vector?](https://discourse.julialang.org/t/why-does-sampledsignals-jl-store-a-2-channel-audio-as-a-2-column-matrix-rather-than-a-vector/104284)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 8\
**Last updated:** [September 27, 2023, 1:21pm UTC](https://discourse.julialang.org/t/why-does-sampledsignals-jl-store-a-2-channel-audio-as-a-2-column-matrix-rather-than-a-vector/104284 "2023-09-27T13:21:29Z")

</div>

Since each sample from each channel is supposed to be read/played together, I would think that it makes sense to put samples for one channel in the odd indices of a vector, and samples from the other channel in the even …

---

## [ERROR: LAPACKException(4)](https://discourse.julialang.org/t/error-lapackexception-4/104301)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 8:13am UTC](https://discourse.julialang.org/t/error-lapackexception-4/104301 "2023-09-27T08:13:36Z")

</div>

Can someone explain what this error is about? and what could be possible solution? I can’t share my model but it is differential equations based and have equations such du\[1\] = a\*(b)^n \* c\*(k)^m + a\*b. So, it contains e…

---

## [Error in nonmutating ODE function inside Turing (but mutating version not working beyond toy example)](https://discourse.julialang.org/t/error-in-nonmutating-ode-function-inside-turing-but-mutating-version-not-working-beyond-toy-example/104244)

<div class="topic-metadata">

**Author:** [@caesoma](https://discourse.julialang.org/u/caesoma)\
**Replies:** 13\
**Last updated:** [September 27, 2023, 12:50pm UTC](https://discourse.julialang.org/t/error-in-nonmutating-ode-function-inside-turing-but-mutating-version-not-working-beyond-toy-example/104244 "2023-09-27T12:50:00Z")

</div>

Hi, all, I I am trying to implement Turing HMC/NUTS inference of parameters from a model of coupled ODEs. Simulating that model works without issue, and I believe its details are not relevant (at a first pass, at least)…

---

## [Julia HPC may need a kick(start)](https://discourse.julialang.org/t/julia-hpc-may-need-a-kick-start/104293)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [September 27, 2023, 11:54am UTC](https://discourse.julialang.org/t/julia-hpc-may-need-a-kick-start/104293 "2023-09-27T11:54:35Z")

</div>

You may or may not agree, but Julia is found lacking here: Julia Still Not Grown Up Enough to Ride Exascale Train - The Next Platform

---

## [How to achieve numerical reproducibility across platforms for scientific replication package](https://discourse.julialang.org/t/how-to-achieve-numerical-reproducibility-across-platforms-for-scientific-replication-package/104201)

<div class="topic-metadata">

**Author:** [@Gabriel\_Kreindler](https://discourse.julialang.org/u/Gabriel_Kreindler)\
**Replies:** 19\
**Last updated:** [September 27, 2023, 11:20am UTC](https://discourse.julialang.org/t/how-to-achieve-numerical-reproducibility-across-platforms-for-scientific-replication-package/104201 "2023-09-27T11:20:54Z")

</div>

I am preparing the replication package for an academic publication, and I am running into issues that my code gives different results on my local Windows 11 machine and Unix university servers. I am using the same versio…

---

## [Precedence of local and julia-shipped shared libraries](https://discourse.julialang.org/t/precedence-of-local-and-julia-shipped-shared-libraries/104258)

<div class="topic-metadata">

**Author:** [@Benedict](https://discourse.julialang.org/u/Benedict)\
**Replies:** 13\
**Last updated:** [September 27, 2023, 10:40am UTC](https://discourse.julialang.org/t/precedence-of-local-and-julia-shipped-shared-libraries/104258 "2023-09-27T10:40:44Z")

</div>

I am working together with @sloede on libtrixi, a C/Fortran-interface library to the flow solver Trixi.jl. @sloede managed to create a standalone library using PackageCompiler.jl, see How do libraries compiled by Package…

---

## [Docstring for hcat(DataFrame...) varargs returns the default Base.hcat docs](https://discourse.julialang.org/t/docstring-for-hcat-dataframe-varargs-returns-the-default-base-hcat-docs/104300)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 3\
**Last updated:** [September 27, 2023, 10:09am UTC](https://discourse.julialang.org/t/docstring-for-hcat-dataframe-varargs-returns-the-default-base-hcat-docs/104300 "2023-09-27T10:09:04Z")

</div>

Probably, this is not something specific to DataFrames.jl but a general situation. Normally the following code julia\> using DataFrames; julia\> df1 = DataFrame(a=\[1,2,3,4,5\], b=\[10,20,30,40,50\]); julia\> df2 = DataFram…

---

## [Generic array code that works with CUDA and Zygote?](https://discourse.julialang.org/t/generic-array-code-that-works-with-cuda-and-zygote/104295)

<div class="topic-metadata">

**Author:** [@mchitre](https://discourse.julialang.org/u/mchitre)\
**Replies:** 0\
**Last updated:** [September 27, 2023, 7:22am UTC](https://discourse.julialang.org/t/generic-array-code-that-works-with-cuda-and-zygote/104295 "2023-09-27T07:22:22Z")

</div>

I am interested in writing a generic function that operates on an AbstractArray and produces some output. In doing so, it needs to create an intermediate array. The function should work with CPU arrays and GPU arrays, an…

---

## [Cannot ForwardDiff through linear least squares via QR](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257)

<div class="topic-metadata">

**Author:** [@Neodym](https://discourse.julialang.org/u/Neodym)\
**Replies:** 6\
**Last updated:** [September 27, 2023, 6:26am UTC](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257 "2023-09-27T06:26:39Z")

</div>

Hey, I’d like to get derivatives for a linear least squares problem where the parameter appears in the right hand side: using LinearAlgebra using ForwardDiff A = rand(10, 3) b = rand(10) qr\_fact = qr(A) function f(p…

---

## [PowerModelsADA.jl](https://discourse.julialang.org/t/powermodelsada-jl/104290)

<div class="topic-metadata">

**Author:** [@priod](https://discourse.julialang.org/u/priod)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 12:37am UTC](https://discourse.julialang.org/t/powermodelsada-jl/104290 "2023-09-27T00:37:12Z")

</div>

Hi, I am trying to run the PowerModelsADA.jl (Power Models Alternating Distributed Algorithms) and using the Alternating Direction Method of Multipliers (ADMM) technique. I am following the example code and facing the f…

---

## [Vector with negative indices extending getindex](https://discourse.julialang.org/t/vector-with-negative-indices-extending-getindex/104286)

<div class="topic-metadata">

**Author:** [@gvdr](https://discourse.julialang.org/u/gvdr)\
**Replies:** 4\
**Last updated:** [September 27, 2023, 12:19am UTC](https://discourse.julialang.org/t/vector-with-negative-indices-extending-getindex/104286 "2023-09-27T00:19:00Z")

</div>

Hello. I’m trying to extend the method(s) for get index so to have the ability of accessing a numeric vector, Vector{T} where T\<:Number, at a negative (or zero) index and get zero(T). The intended behaviour is something…

---

## [Package/workflow for combining BenchmarkTools.jl and HyphothesisTests.jl](https://discourse.julialang.org/t/package-workflow-for-combining-benchmarktools-jl-and-hyphothesistests-jl/104252)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 6\
**Last updated:** [September 26, 2023, 10:26pm UTC](https://discourse.julialang.org/t/package-workflow-for-combining-benchmarktools-jl-and-hyphothesistests-jl/104252 "2023-09-26T22:26:03Z")

</div>

It seems to me that we should have the technology to determine if a change in the performance of a function is statistically significant, possibly with some user specified assumptions. Has anyone made a workflow or litt…

---

## [Starting Julia debugger in a given directory](https://discourse.julialang.org/t/starting-julia-debugger-in-a-given-directory/104282)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 1\
**Last updated:** [September 26, 2023, 10:20pm UTC](https://discourse.julialang.org/t/starting-julia-debugger-in-a-given-directory/104282 "2023-09-26T22:20:30Z")

</div>

I’m writing a script that read files in the same folder that contains the script itself. So the script starts with something like let wfn\_file\_name = "WFN\_co.h5", eqp\_file\_name = "eqp\_co.dat", itrs\_max = 1 …

---

## [Why this code shows the following error: ERROR: type Float64 has no field layer\_1. In this code I want to optimize 2 unknown parameters g and k for a 2D PDE with 4 boundary conditions and 3 known data points](https://discourse.julialang.org/t/why-this-code-shows-the-following-error-error-type-float64-has-no-field-layer-1-in-this-code-i-want-to-optimize-2-unknown-parameters-g-and-k-for-a-2d-pde-with-4-boundary-conditions-and-3-known-data-points/104289)

<div class="topic-metadata">

**Author:** [@ShadmanSakief](https://discourse.julialang.org/u/ShadmanSakief)\
**Replies:** 0\
**Last updated:** [September 26, 2023, 10:13pm UTC](https://discourse.julialang.org/t/why-this-code-shows-the-following-error-error-type-float64-has-no-field-layer-1-in-this-code-i-want-to-optimize-2-unknown-parameters-g-and-k-for-a-2d-pde-with-4-boundary-conditions-and-3-known-data-points/104289 "2023-09-26T22:13:52Z")

</div>

using NeuralPDE, Lux, ModelingToolkit, Optimization, OptimizationOptimJL, DifferentialEquations @parameters x y g k @variables u(..) Dx = Differential(x) Dy = Differential(y) Define the PDE eq = Dx(Dx(u(x, y))) + Dy…

---

## [Why do hitting Ctrl+Enter or cutting and pasting code in the REPL yield different results?](https://discourse.julialang.org/t/why-do-hitting-ctrl-enter-or-cutting-and-pasting-code-in-the-repl-yield-different-results/104272)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 3\
**Last updated:** [September 26, 2023, 9:00pm UTC](https://discourse.julialang.org/t/why-do-hitting-ctrl-enter-or-cutting-and-pasting-code-in-the-repl-yield-different-results/104272 "2023-09-26T21:00:19Z")

</div>

I have some code that I am working on in VSCode, where at some point I try to include a file with this line: include("./src/ModelData.jl") Then I get an error message: ERROR: SystemError: opening file "c:\\\\Users\\\\fsal…

---

## [Julia on Lego ev3dev?](https://discourse.julialang.org/t/julia-on-lego-ev3dev/104280)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 2\
**Last updated:** [September 26, 2023, 8:29pm UTC](https://discourse.julialang.org/t/julia-on-lego-ev3dev/104280 "2023-09-26T20:29:34Z")

</div>

Has anyone got any experience trying to use Julia on ARM on the Lego Mindstorms EV3 computers? My son’s school is using those in a robotics class and using RobotC for programming, but I’m wondering if a more interactive …

---

## [Vegalite bar chart strange behaviour](https://discourse.julialang.org/t/vegalite-bar-chart-strange-behaviour/104261)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 6\
**Last updated:** [September 26, 2023, 8:07pm UTC](https://discourse.julialang.org/t/vegalite-bar-chart-strange-behaviour/104261 "2023-09-26T20:07:02Z")

</div>

Hello, I have a dataframe of a single column, it contains 619245 data points. I want to make a bar char to check the distribution. Here is my code df\_BQBZ|\> @vlplot(:bar, height=250, width=500, x={:BQBZ, steps=0.3}, y…

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

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