# Latest

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

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

**Page:** 666

---

## [Contour linestyle in Cairomakie](https://discourse.julialang.org/t/contour-linestyle-in-cairomakie/100602)

<div class="topic-metadata">

**Author:** [@Subhajit](https://discourse.julialang.org/u/Subhajit)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 4:27pm UTC](https://discourse.julialang.org/t/contour-linestyle-in-cairomakie/100602 "2023-06-21T16:27:09Z")

</div>

Hi! I’m new to Julia. I’m trying to do simple contour plot using Cairomakie. I’m not able to change the linestyle of the plot, i.e., “positive” value is for solid line and “negative” value is dotted line (it’s default…

---

## [Detecting warnings in ODE system during solving](https://discourse.julialang.org/t/detecting-warnings-in-ode-system-during-solving/100075)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 4:14pm UTC](https://discourse.julialang.org/t/detecting-warnings-in-ode-system-during-solving/100075 "2023-06-21T16:14:47Z")

</div>

I do scanning in a big number of parameters in a system of ODEs to detect possible warnings during solving by changing one parameter value at a time (increase and/or decrease by some orders of magnitude). I would like to…

---

## [Are there any pentadiagonal system solvers?](https://discourse.julialang.org/t/are-there-any-pentadiagonal-system-solvers/100665)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 0\
**Last updated:** [June 21, 2023, 4:12pm UTC](https://discourse.julialang.org/t/are-there-any-pentadiagonal-system-solvers/100665 "2023-06-21T16:12:58Z")

</div>

I have a pentadiagonal system and I was hoping that there are fast implementations of solvers related to this. I was trying to use BandedMatrices.jl and then do LU decomposition. But in this case it returns only 1 bande…

---

## [Julia kernel won't connect to jupyter](https://discourse.julialang.org/t/julia-kernel-wont-connect-to-jupyter/100625)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 3:46pm UTC](https://discourse.julialang.org/t/julia-kernel-wont-connect-to-jupyter/100625 "2023-06-21T15:46:47Z")

</div>

This is another new one. It always used to work. I do NOT use conda or the 4 gigabyte Python it brings in. I use brew install python. I use pip to install extra components needed by jupyter. Until today, it has alway…

---

## [What is a model in Julia Flux 0.13 and higher?](https://discourse.julialang.org/t/what-is-a-model-in-julia-flux-0-13-and-higher/100653)

<div class="topic-metadata">

**Author:** [@Yrogirg](https://discourse.julialang.org/u/Yrogirg)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 2:52pm UTC](https://discourse.julialang.org/t/what-is-a-model-in-julia-flux-0-13-and-higher/100653 "2023-06-21T14:52:12Z")

</div>

Cross post from stackoverflow (flux.jl - What is a model in Julia Flux 0.13 and higher? - Stack Overflow) I want to use Julia Flux for machine learning with custom models (not neural networks, so I won’t be using/combin…

---

## [Error DynamicalSystems.jl Plotting trajectories](https://discourse.julialang.org/t/error-dynamicalsystems-jl-plotting-trajectories/100655)

<div class="topic-metadata">

**Author:** [@SimonNeuroscience](https://discourse.julialang.org/u/SimonNeuroscience)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 2:46pm UTC](https://discourse.julialang.org/t/error-dynamicalsystems-jl-plotting-trajectories/100655 "2023-06-21T14:46:47Z")

</div>

Hello, I am trying to follow the Intro to DynamicalSystems.jl YouTube Video from the Official Julia programming Account: Intro to dynamical systems in Julia - YouTube I want to plot the trajectories of a simple determi…

---

## [How to set global path?](https://discourse.julialang.org/t/how-to-set-global-path/100639)

<div class="topic-metadata">

**Author:** [@tomtom](https://discourse.julialang.org/u/tomtom)\
**Replies:** 10\
**Last updated:** [June 21, 2023, 2:34pm UTC](https://discourse.julialang.org/t/how-to-set-global-path/100639 "2023-06-21T14:34:24Z")

</div>

in startup.jl: if Sys.isapple() const ROOT\_PATH = "/Users/Tom/Documents/Julia/" else const ROOT\_PATH = "/home/Tom/Documents/Julia/" end import Abc then in Abc.jl: module Abc include(joinpath(ROOT\_PATH, "exte…

---

## [How to best model different domains in Optimization, especially Manifolds?](https://discourse.julialang.org/t/how-to-best-model-different-domains-in-optimization-especially-manifolds/100390)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 40\
**Last updated:** [June 21, 2023, 2:10pm UTC](https://discourse.julialang.org/t/how-to-best-model-different-domains-in-optimization-especially-manifolds/100390 "2023-06-21T14:10:26Z")

</div>

Recently there have been some approaches here and here to introduce (my favourite topic) optimization on manifolds into general optiimization frameworks. One thing, that might be missing and that I would like to discuss…

---

## [Unhandled task error using pmap](https://discourse.julialang.org/t/unhandled-task-error-using-pmap/87927)

<div class="topic-metadata">

**Author:** [@poopsilon](https://discourse.julialang.org/u/poopsilon)\
**Replies:** 1\
**Last updated:** [June 21, 2023, 1:55pm UTC](https://discourse.julialang.org/t/unhandled-task-error-using-pmap/87927 "2023-06-21T13:55:28Z")

</div>

Hi, I’m using pmap to distribute a computation to many workers on a cluster, pretty straightforward. Here I am using 1 node and 10 processors. Things seem to be going fine for most cases, but sometimes I get an error li…

---

## [Error while using LSODA](https://discourse.julialang.org/t/error-while-using-lsoda/100614)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 15\
**Last updated:** [June 21, 2023, 1:52pm UTC](https://discourse.julialang.org/t/error-while-using-lsoda/100614 "2023-06-21T13:52:51Z")

</div>

I’m getting this error while using LSODA ERROR: UndefVarError: liblsoda not defined CODE: using DifferentialEquations, LSODA function lorenz!(du,u,p,t) a1, a2, a3 = p a, b, c = u du\[1\] = a1\*(b-a) du\[2…

---

## [Two equivalent conditioning syntaxes giving different likelihood values?](https://discourse.julialang.org/t/two-equivalent-conditioning-syntaxes-giving-different-likelihood-values/100320)

<div class="topic-metadata">

**Author:** [@BatyLeo](https://discourse.julialang.org/u/BatyLeo)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 1:45pm UTC](https://discourse.julialang.org/t/two-equivalent-conditioning-syntaxes-giving-different-likelihood-values/100320 "2023-06-21T13:45:51Z")

</div>

Hello, I’m new to Turing.j,l and probabilistic programming in general. While playing around with small example codes, I faced a behaviour I don’t understand about the conditioning syntax: If I understand well, these t…

---

## [Call for help - Network latency of RemoteREPL](https://discourse.julialang.org/t/call-for-help-network-latency-of-remoterepl/100652)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [June 21, 2023, 1:31pm UTC](https://discourse.julialang.org/t/call-for-help-network-latency-of-remoterepl/100652 "2023-06-21T13:31:33Z")

</div>

Hey everyone. I just submitted this issue about the latency of RemoteREPL. I just wanted to put a post out here, to say that any help would be appreciated, as I do not know anything about how to fix this, and it seems li…

---

## [Is PlotlyJS.add\_hline!() on y2-axis possible?](https://discourse.julialang.org/t/is-plotlyjs-add-hline-on-y2-axis-possible/100553)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 1\
**Last updated:** [June 19, 2023, 2:37pm UTC](https://discourse.julialang.org/t/is-plotlyjs-add-hline-on-y2-axis-possible/100553 "2023-06-19T14:37:34Z")

</div>

Is it possible under PlotlyJS to add hlines on “y#” (e.g. “y2”)? Here my sample code: using PlotlyJS # --- function plot\_debug\_hline() scatter1 = PlotlyJS.scatter(;y = \[ 1, 2, 3, 4\], name= "Y1") scat…

---

## [DifferentialEquation solvers not giving desired output](https://discourse.julialang.org/t/differentialequation-solvers-not-giving-desired-output/100645)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 6\
**Last updated:** [June 21, 2023, 12:57pm UTC](https://discourse.julialang.org/t/differentialequation-solvers-not-giving-desired-output/100645 "2023-06-21T12:57:00Z")

</div>

I have a model for which i already have fits in r language. Now i’m implementing same in Julia where i’m not getting any fits. Upon checking different solvers with my posterior from r, I can see none of solvers is giving…

---

## [MLJ unpack example from MLJ getting started not working](https://discourse.julialang.org/t/mlj-unpack-example-from-mlj-getting-started-not-working/100641)

<div class="topic-metadata">

**Author:** [@roeya](https://discourse.julialang.org/u/roeya)\
**Replies:** 7\
**Last updated:** [June 21, 2023, 12:06pm UTC](https://discourse.julialang.org/t/mlj-unpack-example-from-mlj-getting-started-not-working/100641 "2023-06-21T12:06:21Z")

</div>

I am trying to run the most basic example from MLJ getting started tutorial and I am getting an error when trying to unpack the iris dataset y,x = unpack(iris, ==(:target); rng=123) I get ERROR: BoundsError: attempt t…

---

## [Simple things surprisingly broken](https://discourse.julialang.org/t/simple-things-surprisingly-broken/100622)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 11:54am UTC](https://discourse.julialang.org/t/simple-things-surprisingly-broken/100622 "2023-06-21T11:54:29Z")

</div>

Days ago everything was working beautifully and fast with 1.9. Now, I have mysterious breakage that I can’t figure out. I have installed 1.9.1 and I have installed the package LazyTables. The latter should make no dif…

---

## [SymbolicNumericIntegration -- definite integral?](https://discourse.julialang.org/t/symbolicnumericintegration-definite-integral/100558)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 11:25am UTC](https://discourse.julialang.org/t/symbolicnumericintegration-definite-integral/100558 "2023-06-21T11:25:23Z")

</div>

Does SymbolicNumericIntegration support definite integration? \[I don’t find this in the documentation… I tried with \`integrate(f(x),x~x0…x1)\` and also with \`integrate(f(x), x=x0…x1)\` without much success…\] If not, it is…

---

## [Debugging performance difference between identical arrays](https://discourse.julialang.org/t/debugging-performance-difference-between-identical-arrays/96714)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 8\
**Last updated:** [June 21, 2023, 11:39am UTC](https://discourse.julialang.org/t/debugging-performance-difference-between-identical-arrays/96714 "2023-06-21T11:39:01Z")

</div>

I’m working with arrays of the following type Vector{Vector{Tuple{Int32,Float32}}} to represent an adjacency matrix. These are stored in some struct mutable struct SomeStruct ... adj::Vector{Vector{Tuple{Int32,Float…

---

## [LazyConstraintCallback not called at every solution?](https://discourse.julialang.org/t/lazyconstraintcallback-not-called-at-every-solution/100611)

<div class="topic-metadata">

**Author:** [@Eetu\_Reijonen](https://discourse.julialang.org/u/Eetu_Reijonen)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 11:36am UTC](https://discourse.julialang.org/t/lazyconstraintcallback-not-called-at-every-solution/100611 "2023-06-21T11:36:17Z")

</div>

The MathOptInterface documentation states that: there is no guarantee that the callback is called at every feasible primal solution. Is there a way to get around this using Gurobi? I have run into a problem where only …

---

## [Send composite type over TCP/UDP?](https://discourse.julialang.org/t/send-composite-type-over-tcp-udp/5233)

<div class="topic-metadata">

**Author:** [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)\
**Replies:** 7\
**Last updated:** [June 21, 2023, 8:36am UTC](https://discourse.julialang.org/t/send-composite-type-over-tcp-udp/5233 "2023-06-21T08:36:35Z")

</div>

I’m able to set up TCP and UDP to send some basic data back and forth, but I can’t figure out how to send the bits-type data from some simple immutable structs (short of sending each field separately). In C, I would just…

---

## [\[ANN\] ImageQualityIndexes.jl -- assess your algorithm quantitatively](https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081)

<div class="topic-metadata">

**Author:** [@JohnnyChen94](https://discourse.julialang.org/u/JohnnyChen94)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 5:40am UTC](https://discourse.julialang.org/t/ann-imagequalityindexes-jl-assess-your-algorithm-quantitatively/25081 "2023-06-21T05:40:28Z")

</div>

Hi all I’m glad to announce a new package ImageQualityIndexes.jl, consisting of two quantitative image quality assessment methods: PSNR (peak signal-to-noise ratio) and SSIM (structural similarity). These two indexes ar…

---

## [Bilevel model with multiple lower levels](https://discourse.julialang.org/t/bilevel-model-with-multiple-lower-levels/100113)

<div class="topic-metadata">

**Author:** [@martina.gherardi](https://discourse.julialang.org/u/martina.gherardi)\
**Replies:** 3\
**Last updated:** [June 21, 2023, 4:40am UTC](https://discourse.julialang.org/t/bilevel-model-with-multiple-lower-levels/100113 "2023-06-21T04:40:09Z")

</div>

Hi, I’m currently working on a bilevel problem that has: one lower level problem for each period a single upper level problem that considers all the periods How to code this kind of bilevel problem with “mode=Bilevel…

---

## [Pass current timestep to affect! to modify integrator values with lookup table](https://discourse.julialang.org/t/pass-current-timestep-to-affect-to-modify-integrator-values-with-lookup-table/100617)

<div class="topic-metadata">

**Author:** [@aidanboyne](https://discourse.julialang.org/u/aidanboyne)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 3:02am UTC](https://discourse.julialang.org/t/pass-current-timestep-to-affect-to-modify-integrator-values-with-lookup-table/100617 "2023-06-21T03:02:03Z")

</div>

I am trying to simulate patient response to a drug and am currently fitting a model to patient data. However the frequency and strength of the dose changes frequently, so I have the time and strength for each dose record…

---

## [How to impose absolute value greater than constraint](https://discourse.julialang.org/t/how-to-impose-absolute-value-greater-than-constraint/100631)

<div class="topic-metadata">

**Author:** [@horvetz](https://discourse.julialang.org/u/horvetz)\
**Replies:** 6\
**Last updated:** [June 21, 2023, 2:37am UTC](https://discourse.julialang.org/t/how-to-impose-absolute-value-greater-than-constraint/100631 "2023-06-21T02:37:09Z")

</div>

The following gives me an error and I don’t know how to fix it. I want entries of the matrix X to be bounded by -1 and 1, and in addition I wand |X(i,j)| \>= 0.01 for all i and j. What am I doing wrong? using JuMP mode…

---

## [Btime for loading @tensor inside loop](https://discourse.julialang.org/t/btime-for-loading-tensor-inside-loop/100613)

<div class="topic-metadata">

**Author:** [@Nellatur](https://discourse.julialang.org/u/Nellatur)\
**Replies:** 4\
**Last updated:** [June 21, 2023, 1:31am UTC](https://discourse.julialang.org/t/btime-for-loading-tensor-inside-loop/100613 "2023-06-21T01:31:17Z")

</div>

Hi, for the following code using LinearAlgebra using BenchmarkTools using TensorOperations # Initialization A = rand(100, 100) B = rand(100, 100) B\_3d = rand(100, 100, 100) n=100 C\_new = zeros(100, 100, 100) @btime…

---

## [Change to OpenLibm\_jll modifies find\_library in Libdl from Julia v1.7 to v1.9?](https://discourse.julialang.org/t/change-to-openlibm-jll-modifies-find-library-in-libdl-from-julia-v1-7-to-v1-9/100570)

<div class="topic-metadata">

**Author:** [@diadora77](https://discourse.julialang.org/u/diadora77)\
**Replies:** 2\
**Last updated:** [June 21, 2023, 1:18am UTC](https://discourse.julialang.org/t/change-to-openlibm-jll-modifies-find-library-in-libdl-from-julia-v1-7-to-v1-9/100570 "2023-06-21T01:18:23Z")

</div>

Hi - I recently updated from Julia v1.7 to v1.9. In using find\_library from Libdl.jl package, get different behavior. In v1.7, find\_library will work without specifying extension while in v1.9 it doesn’t. Both can fi…

---

## [How to cross-compile using PackageCompiler?](https://discourse.julialang.org/t/how-to-cross-compile-using-packagecompiler/100551)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 14\
**Last updated:** [June 21, 2023, 1:15am UTC](https://discourse.julialang.org/t/how-to-cross-compile-using-packagecompiler/100551 "2023-06-21T01:15:25Z")

</div>

Hi all! I am trying to use PackageCompiler to build a stand-alone app. Since I need to potentially ship it to different host systems, I need to cross-compile my project. The PackageCompiler’s docs say nothing about it (…

---

## [Unable to automatically download/install artifact 'Ghostscript' from sources listed in .../.julia/...Artifects.toml](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901)

<div class="topic-metadata">

**Author:** [@chunjiw](https://discourse.julialang.org/u/chunjiw)\
**Replies:** 3\
**Last updated:** [June 20, 2023, 10:43pm UTC](https://discourse.julialang.org/t/unable-to-automatically-download-install-artifact-ghostscript-from-sources-listed-in-julia-artifects-toml/98901 "2023-06-20T22:43:33Z")

</div>

I encounter this error using Julia 1.9.0 when adding a local package. The whole error message is Resolving package versions... Downloaded artifact: Ghostscript Downloaded artifact: Ghostscript ERROR: Unable to au…

---

## [Assemble load line vector](https://discourse.julialang.org/t/assemble-load-line-vector/100575)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 5\
**Last updated:** [June 20, 2023, 6:53pm UTC](https://discourse.julialang.org/t/assemble-load-line-vector/100575 "2023-06-20T18:53:02Z")

</div>

hi, I want to integrate applied displacement on a load line and assemble the vector on my FE test space(V0\_Disp) but it gives me error. is there anyone who knows what should i do to solve this? dirichlet\_tags = \["LeftSu…

---

## [Memory issues using command line argument](https://discourse.julialang.org/t/memory-issues-using-command-line-argument/100590)

<div class="topic-metadata">

**Author:** [@Atasattari](https://discourse.julialang.org/u/Atasattari)\
**Replies:** 4\
**Last updated:** [June 20, 2023, 6:29pm UTC](https://discourse.julialang.org/t/memory-issues-using-command-line-argument/100590 "2023-06-20T18:29:56Z")

</div>

Hi, I’m trying to run a script on a cluster for different input parameters. Instead of submitting scripts with hard-coded values, I’m trying to use command-line arguments. My code works fine when the values are hard-cod…

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

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