# Latest

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

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

**Page:** 192

---

## [Error with Ipopt.jl and ipopt.out file](https://discourse.julialang.org/t/error-with-ipopt-jl-and-ipopt-out-file/127596)

<div class="topic-metadata">

**Author:** [@nico](https://discourse.julialang.org/u/nico)\
**Replies:** 3\
**Last updated:** [April 2, 2025, 7:16pm UTC](https://discourse.julialang.org/t/error-with-ipopt-jl-and-ipopt-out-file/127596 "2025-04-02T19:16:29Z")

</div>

Hi, I have a simple test code, that used to work and now gives an error. When I run the code the first time, Ipopt manages to solve the toy problem and print the output to a .txt file. The second time I run the code, …

---

## [Makie plot with arrows to follow the trajectory of optimization solver](https://discourse.julialang.org/t/makie-plot-with-arrows-to-follow-the-trajectory-of-optimization-solver/127612)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 3\
**Last updated:** [April 2, 2025, 6:30pm UTC](https://discourse.julialang.org/t/makie-plot-with-arrows-to-follow-the-trajectory-of-optimization-solver/127612 "2025-04-02T18:30:16Z")

</div>

I am trying write a notebook to display some nonlinear optimization descent solvers. Using CairoMakie, I wanted to make a plot that looks something like this. The arrows should have their tail at the current point in…

---

## [GraphMakie distance between nodes](https://discourse.julialang.org/t/graphmakie-distance-between-nodes/127624)

<div class="topic-metadata">

**Author:** [@contejuz](https://discourse.julialang.org/u/contejuz)\
**Replies:** 3\
**Last updated:** [April 2, 2025, 6:15pm UTC](https://discourse.julialang.org/t/graphmakie-distance-between-nodes/127624 "2025-04-02T18:15:11Z")

</div>

Is there a way to adjust the distance between nodes? I have a simple graph like this that works: begin g2 = cycle\_digraph(3) fg=Figure(size=(800,800)) axg=Axis(fg\[1,1\]) GraphMakie.graphplot!(axg,g2; …

---

## [Encrypt/Decrypt Serialized Julia Objects](https://discourse.julialang.org/t/encrypt-decrypt-serialized-julia-objects/127608)

<div class="topic-metadata">

**Author:** [@Deduction42](https://discourse.julialang.org/u/Deduction42)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 4:56pm UTC](https://discourse.julialang.org/t/encrypt-decrypt-serialized-julia-objects/127608 "2025-04-02T16:56:56Z")

</div>

I am currently working with serialized objects, but would like to have them safely stored in a file system without the host being able to see what is inside the objects. The files would be generated and consumed by the s…

---

## [Pkg generate error](https://discourse.julialang.org/t/pkg-generate-error/127627)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 4\
**Last updated:** [April 2, 2025, 3:09pm UTC](https://discourse.julialang.org/t/pkg-generate-error/127627 "2025-04-02T15:09:24Z")

</div>

I am trying to generate a package using Pkg generate. Pkg\>generate test gave ERROR: GitError(Code:ERROR, Class:SSL, Your Julia is built with a SSL/TLS engine that libgit2 doesn't know how to configure to use a file or…

---

## [Multi-line expressions](https://discourse.julialang.org/t/multi-line-expressions/16096)

<div class="topic-metadata">

**Author:** [@albi3ro](https://discourse.julialang.org/u/albi3ro)\
**Replies:** 5\
**Last updated:** [April 2, 2025, 2:39pm UTC](https://discourse.julialang.org/t/multi-line-expressions/16096 "2025-04-02T14:39:51Z")

</div>

I remember being able to extend expressions over multiple lines without a problem in earlier versions of julia. How do I wrap an expression over multiple lines now when it gets too long? Particularly, I want to break a…

---

## [@defined "not working" inside macro](https://discourse.julialang.org/t/defined-not-working-inside-macro/127621)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 8\
**Last updated:** [April 2, 2025, 12:03pm UTC](https://discourse.julialang.org/t/defined-not-working-inside-macro/127621 "2025-04-02T12:03:42Z")

</div>

Predictably, when I do metaprogramming, I end up confused. I create functions that take user-defined function as an input - very flexible. But when the user writes a script to use my function, each time they parse the …

---

## [Facing problem in computing error in transient problem](https://discourse.julialang.org/t/facing-problem-in-computing-error-in-transient-problem/127628)

<div class="topic-metadata">

**Author:** [@Stayal](https://discourse.julialang.org/u/Stayal)\
**Replies:** 0\
**Last updated:** [April 2, 2025, 1:24pm UTC](https://discourse.julialang.org/t/facing-problem-in-computing-error-in-transient-problem/127628 "2025-04-02T13:24:06Z")

</div>

Hello everyone using Gridap using Printf domain = (0.0, 1.0, 0.0, 1.0) partition = (4, 4) model = CartesianDiscreteModel(domain, partition) order = 1 reffe = ReferenceFE(lagrangian, Float64, order) u\_ex(t) = x -\> t\*t…

---

## [Efficient way compute do WX+b?](https://discourse.julialang.org/t/efficient-way-compute-do-wx-b/127385)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 7\
**Last updated:** [April 2, 2025, 12:36pm UTC](https://discourse.julialang.org/t/efficient-way-compute-do-wx-b/127385 "2025-04-02T12:36:57Z")

</div>

Which is in Julia the most efficient CPU-way to compute Wx+b where W is a (JxI) matrix, X is a I-dimensional vector and b is a J dimensional vector ? (context: NN layers) I have saw this thread but I can’t understand…

---

## [Why does the Sobol Sensitivity (S1) so large in my model](https://discourse.julialang.org/t/why-does-the-sobol-sensitivity-s1-so-large-in-my-model/127507)

<div class="topic-metadata">

**Author:** [@Xu\_Shan](https://discourse.julialang.org/u/Xu_Shan)\
**Replies:** 18\
**Last updated:** [April 2, 2025, 12:12pm UTC](https://discourse.julialang.org/t/why-does-the-sobol-sensitivity-s1-so-large-in-my-model/127507 "2025-04-02T12:12:44Z")

</div>

I am running a model in Julia with 42 parameters (they are somehow inner-correlated with each other) and 6 outputs, and trying to use the function gsa from the package GlobalSensitivity.jl to diagnose the ST and S1 sensi…

---

## [Catalyst and BifurcationKit](https://discourse.julialang.org/t/catalyst-and-bifurcationkit/127087)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 11\
**Last updated:** [April 2, 2025, 12:12pm UTC](https://discourse.julialang.org/t/catalyst-and-bifurcationkit/127087 "2025-04-02T12:12:43Z")

</div>

Hi, Is there any reason why BifurcationKit is blocked at 0.4.4 in Catalyst?

---

## [A conformal LSTM classifier to detect anomalies](https://discourse.julialang.org/t/a-conformal-lstm-classifier-to-detect-anomalies/127580)

<div class="topic-metadata">

**Author:** [@Unnathi\_R\_Shaiva](https://discourse.julialang.org/u/Unnathi_R_Shaiva)\
**Replies:** 1\
**Last updated:** [April 2, 2025, 11:45am UTC](https://discourse.julialang.org/t/a-conformal-lstm-classifier-to-detect-anomalies/127580 "2025-04-02T11:45:26Z")

</div>

a conformal LSTM classifier to detect anomalies: and here is the code can somebody help me with the code correction I am new to julia: Install required packages using Pkg Pkg.add(\[“Flux”, “ConformalPrediction”, “DataFr…

---

## [Run the Gemma 2 9B LLM in Julia and without a GPU?](https://discourse.julialang.org/t/run-the-gemma-2-9b-llm-in-julia-and-without-a-gpu/124155)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 5\
**Last updated:** [April 2, 2025, 11:01am UTC](https://discourse.julialang.org/t/run-the-gemma-2-9b-llm-in-julia-and-without-a-gpu/124155 "2025-04-02T11:01:37Z")

</div>

I’m ignorant about LLMs, machine learning, etc.; but I want to run the Gemma 2 9B large language model. I’m not interested in using it as a chat bot, rather the reason I want to use it is the fact that it defines the eva…

---

## [\[ANN\] StravaAPI.jl: access Strava in Julia](https://discourse.julialang.org/t/ann-stravaapi-jl-access-strava-in-julia/127602)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 9:59am UTC](https://discourse.julialang.org/t/ann-stravaapi-jl-access-strava-in-julia/127602 "2025-04-02T09:59:19Z")

</div>

I’m happy to announce that I finally registered “my” package: StravaAPI.jl. Strava is one of the most popular activity (mostly running, cycling, hiking) tracking/social media app and as the name suggests this package let…

---

## [How to set DateTime format of xlabel using Makie](https://discourse.julialang.org/t/how-to-set-datetime-format-of-xlabel-using-makie/127397)

<div class="topic-metadata">

**Author:** [@dk-zen](https://discourse.julialang.org/u/dk-zen)\
**Replies:** 3\
**Last updated:** [April 2, 2025, 9:19am UTC](https://discourse.julialang.org/t/how-to-set-datetime-format-of-xlabel-using-makie/127397 "2025-04-02T09:19:21Z")

</div>

I want to get xlabel like “HH:MM”, Part of my code as follows. It doesn’t work as I want, but without throwing out an error. Anyone can give some suggestions? fig = Figure(; size=(1000, 600)) ax1 = Axis(fig\[1, 1\], ylabe…

---

## [GeoTiff files retrieving metadata by using Rasters.jl as in rasterio.py](https://discourse.julialang.org/t/geotiff-files-retrieving-metadata-by-using-rasters-jl-as-in-rasterio-py/127587)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 12\
**Last updated:** [April 2, 2025, 8:45am UTC](https://discourse.julialang.org/t/geotiff-files-retrieving-metadata-by-using-rasters-jl-as-in-rasterio-py/127587 "2025-04-02T08:45:44Z")

</div>

Hi, I am looking how to retrive metadata from GeoTiff files by using Julia language. I can obtain the relevant information by using the rasterio.jl python package, but I am struggling to perform the same commands by u…

---

## [IOError: close: i/o error (EIO) when using Pkg on cluster](https://discourse.julialang.org/t/ioerror-close-i-o-error-eio-when-using-pkg-on-cluster/127620)

<div class="topic-metadata">

**Author:** [@kira](https://discourse.julialang.org/u/kira)\
**Replies:** 0\
**Last updated:** [April 2, 2025, 7:14am UTC](https://discourse.julialang.org/t/ioerror-close-i-o-error-eio-when-using-pkg-on-cluster/127620 "2025-04-02T07:14:59Z")

</div>

I am trying to use Julia on an HPC cluster. However, when I try to add any packages, I get the error message below. The same error happens with any command in Pkg (status, activate environment, add). When I launch Julia …

---

## [What's under the hood of Julia's remote call procedure?](https://discourse.julialang.org/t/whats-under-the-hood-of-julias-remote-call-procedure/127572)

<div class="topic-metadata">

**Author:** [@NonDairyNeutrino](https://discourse.julialang.org/u/NonDairyNeutrino)\
**Replies:** 2\
**Last updated:** [April 2, 2025, 6:21am UTC](https://discourse.julialang.org/t/whats-under-the-hood-of-julias-remote-call-procedure/127572 "2025-04-02T06:21:16Z")

</div>

As I’ve been using Julia’s Distributed.jl for my master’s thesis (which has been really easy to use; thanks!), I was interested to learn more about distributed computing in general. I’ve just gone down the rabbit hole o…

---

## [Why does explicit declaration of ::INT save 40% runtime?](https://discourse.julialang.org/t/why-does-explicit-declaration-of-int-save-40-runtime/127575)

<div class="topic-metadata">

**Author:** [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Replies:** 17\
**Last updated:** [April 2, 2025, 6:14am UTC](https://discourse.julialang.org/t/why-does-explicit-declaration-of-int-save-40-runtime/127575 "2025-04-02T06:14:08Z")

</div>

I am relatively new to Julia and I wrote some scripts my main issue is that my scripts perform always poor and I don’t understand why or what I am doing wrong. Take this code as example where I am failing: dimension = …

---

## [Need help implementing evenness test for larger integer types](https://discourse.julialang.org/t/need-help-implementing-evenness-test-for-larger-integer-types/127607)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 5\
**Last updated:** [April 2, 2025, 4:50am UTC](https://discourse.julialang.org/t/need-help-implementing-evenness-test-for-larger-integer-types/127607 "2025-04-02T04:50:34Z")

</div>

I need to check if built-in integers are even or odd, so I asked ChatGPT to make a function for me: function even(x::UInt8) if x==0 true elseif x==1 false elseif x==2 true elseif x==3 false # con…

---

## [Subset a NamedTuple?](https://discourse.julialang.org/t/subset-a-namedtuple/127085)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 26\
**Last updated:** [April 2, 2025, 2:57am UTC](https://discourse.julialang.org/t/subset-a-namedtuple/127085 "2025-04-02T02:57:10Z")

</div>

Is there a function to subset a NamedTuple? Like nt = (a = 1, b = "hello", c = 3.14) s = Base.subset(nt, :a, :c) The above code, which doesn’t work, was generate by ChatGPT. It also generated another solution, which do…

---

## [Cdf for multinomial](https://discourse.julialang.org/t/cdf-for-multinomial/103917)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 21\
**Last updated:** [April 2, 2025, 1:35am UTC](https://discourse.julialang.org/t/cdf-for-multinomial/103917 "2025-04-02T01:35:33Z")

</div>

Is it possible to get a cdf for the multinomial distribution? julia\> let n = 1000000 k = 10 d = Multinomial(n,k) r = rand(1:k,n) cdf(d, r) end ERROR: MethodError: n…

---

## [Performance drop from HiGHS 1.14.0 to HiGHS 1.15.0](https://discourse.julialang.org/t/performance-drop-from-highs-1-14-0-to-highs-1-15-0/127522)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 9\
**Last updated:** [April 1, 2025, 10:39pm UTC](https://discourse.julialang.org/t/performance-drop-from-highs-1-14-0-to-highs-1-15-0/127522 "2025-04-01T22:39:21Z")

</div>

Hi, I am trying to reduce allocations using JuMP and HiGHS for solving numerous small LPs and I just noticed that these allocations have increased dramatically (x2) by updating HiGHS 1.14 to 1.15.0: 1.14 \[ Info: Launc…

---

## [Awkward case with multiple-dispatch and type heirachy](https://discourse.julialang.org/t/awkward-case-with-multiple-dispatch-and-type-heirachy/127606)

<div class="topic-metadata">

**Author:** [@LEXUGE](https://discourse.julialang.org/u/LEXUGE)\
**Replies:** 5\
**Last updated:** [April 1, 2025, 9:36pm UTC](https://discourse.julialang.org/t/awkward-case-with-multiple-dispatch-and-type-heirachy/127606 "2025-04-01T21:36:23Z")

</div>

Some disclaimer: I am still learning Julia and I think it’s natural for me to compare it with a language I am fluent in – Rust. But I am not here arguing Rust is better than Julia or vice versa. I am totally happy and o…

---

## [A semicolon (;) fails to suppress showing in Julia REPL](https://discourse.julialang.org/t/a-semicolon-fails-to-suppress-showing-in-julia-repl/127583)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 5\
**Last updated:** [April 1, 2025, 5:27pm UTC](https://discourse.julialang.org/t/a-semicolon-fails-to-suppress-showing-in-julia-repl/127583 "2025-04-01T17:27:15Z")

</div>

The title is observed by the behavior like this julia\> JuMP.@constraint(lpr, c\_rlt\[r in 1:R1, c in 1:R2\], sm(A1\[r, :\] \* A2\[c, :\]', cross\_multrix) \>= 0); # 8×18 Matrix{JuMP.ConstraintRef{JuMP.Model, MathOptInterface.Cons…

---

## [\[CfP\] EOOLT 2025: 10th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools](https://discourse.julialang.org/t/cfp-eoolt-2025-10th-international-workshop-on-equation-based-object-oriented-modeling-languages-and-tools/125134)

<div class="topic-metadata">

**Author:** [@benoit\_caillaud](https://discourse.julialang.org/u/benoit_caillaud)\
**Replies:** 1\
**Last updated:** [April 1, 2025, 2:59pm UTC](https://discourse.julialang.org/t/cfp-eoolt-2025-10th-international-workshop-on-equation-based-object-oriented-modeling-languages-and-tools/125134 "2025-04-01T14:59:10Z")

</div>

EOOLT 2025: 10th International Workshop on Equation-Based Object-Oriented Modeling Languages and Tools 1st call for papers Venue Hochschule Bielefeld, University of Applied Sciences Bielefeld, Germany June 13, 2025 …

---

## [Bifurcation problem](https://discourse.julialang.org/t/bifurcation-problem/127590)

<div class="topic-metadata">

**Author:** [@Mkriti\_Marco](https://discourse.julialang.org/u/Mkriti_Marco)\
**Replies:** 5\
**Last updated:** [April 1, 2025, 2:43pm UTC](https://discourse.julialang.org/t/bifurcation-problem/127590 "2025-04-01T14:43:44Z")

</div>

Hi, I have a parameter p = \[ P1 and P2\] and I compute my residual and Jacobian of my problem by varying only the P2 but passing p as the input. In Julia when I try to pass just the P2 Parameter to bifurcation problem wh…

---

## [Pkg dev: change path from C drive to D drive](https://discourse.julialang.org/t/pkg-dev-change-path-from-c-drive-to-d-drive/127547)

<div class="topic-metadata">

**Author:** [@JosephPollacco](https://discourse.julialang.org/u/JosephPollacco)\
**Replies:** 4\
**Last updated:** [April 1, 2025, 2:32pm UTC](https://discourse.julialang.org/t/pkg-dev-change-path-from-c-drive-to-d-drive/127547 "2025-04-01T14:32:49Z")

</div>

Hi, I have a simple question. I would like to change the location of the downloaded package e.g. pkg.dev(Wflow) The sustem automatically puts the package into: C:\\Users\\jpollacco\\.julia\\dev And I simply would like t…

---

## [Transfering existing code to Pkg package structure](https://discourse.julialang.org/t/transfering-existing-code-to-pkg-package-structure/127594)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 5\
**Last updated:** [April 1, 2025, 2:22pm UTC](https://discourse.julialang.org/t/transfering-existing-code-to-pkg-package-structure/127594 "2025-04-01T14:22:17Z")

</div>

I have a (relatively) large Module where all the code is organized in my homegrown file and directory structure. I now want to transfer this code into the directory structure of a Pkg package (i.e project/manifest.toml, …

---

## [Package versioning](https://discourse.julialang.org/t/package-versioning/127593)

<div class="topic-metadata">

**Author:** [@Magnus\_Lilledahl](https://discourse.julialang.org/u/Magnus_Lilledahl)\
**Replies:** 3\
**Last updated:** [April 1, 2025, 2:15pm UTC](https://discourse.julialang.org/t/package-versioning/127593 "2025-04-01T14:15:41Z")

</div>

When adding packages using Pkg one can choose version using @x.y.z syntax after the package name. Is this number tied to the version entry in the project.toml file? Is this unrelated to any versioning in git (ie tag?). I…

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

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