# Latest

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

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

**Page:** 222

---

## [Moving a new package to GitHub](https://discourse.julialang.org/t/moving-a-new-package-to-github/125741)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 6\
**Last updated:** [February 11, 2025, 10:29pm UTC](https://discourse.julialang.org/t/moving-a-new-package-to-github/125741 "2025-02-11T22:29:20Z")

</div>

I’m getting ready to upload my little experimental package to GitHub, though still not read to publish it to the world. Any free advice? And how do I separate tooling I don’t even want to see on GitHub from the package i…

---

## [Is Compat.jl worth it for the \`public\` keyword?](https://discourse.julialang.org/t/is-compat-jl-worth-it-for-the-public-keyword/119041)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 37\
**Last updated:** [February 11, 2025, 9:10pm UTC](https://discourse.julialang.org/t/is-compat-jl-worth-it-for-the-public-keyword/119041 "2025-02-11T21:10:10Z")

</div>

With the introduction of public by @Lilith, many packages will want to mark their unexported public symbols that way. Since public is only available in Julia 1.11, the current recommended way to do this in 1.10 is with t…

---

## [Plots.jl bug with twinx and link](https://discourse.julialang.org/t/plots-jl-bug-with-twinx-and-link/125809)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 0\
**Last updated:** [February 11, 2025, 9:02pm UTC](https://discourse.julialang.org/t/plots-jl-bug-with-twinx-and-link/125809 "2025-02-11T21:02:04Z")

</div>

I was doing some plotting and wondering why my x-axis behaved strangely when using link=:x. First the code using Plots x1 = 0:0.1:π x2 = 0:0.1:3; p1 = plot(x1,sin.(x1)) p1 = plot!(twinx(), x2,cos.(x2)) p2 = plot(…

---

## [\_str string interpolation?](https://discourse.julialang.org/t/str-string-interpolation/125766)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 12\
**Last updated:** [February 11, 2025, 7:55pm UTC](https://discourse.julialang.org/t/str-string-interpolation/125766 "2025-02-11T19:55:43Z")

</div>

I am not sure what is the issue, but I would like to this to work: julia\> macro test\_str(s) :($(esc(s))) end @test\_str (macro with 1 method) julia\> test"a 1" # "works" "a 1" julia\> i = 1 1 julia\> t…

---

## [Circular dependency](https://discourse.julialang.org/t/circular-dependency/125794)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [February 11, 2025, 5:42pm UTC](https://discourse.julialang.org/t/circular-dependency/125794 "2025-02-11T17:42:53Z")

</div>

After updating my package KiteModels.jl I get the following warning: ┌ Warning: Circular dependency detected. │ Precompilation will be skipped for dependencies in this cycle: │ ┌ LinearSolve → LinearSolveSparseArraysEx…

---

## [\[ANN\] PDFmerger.jl: produce multiple plots on separate pages in one PDF file](https://discourse.julialang.org/t/ann-pdfmerger-jl-produce-multiple-plots-on-separate-pages-in-one-pdf-file/74788)

<div class="topic-metadata">

**Author:** [@scheidan1](https://discourse.julialang.org/u/scheidan1)\
**Replies:** 9\
**Last updated:** [February 11, 2025, 4:57pm UTC](https://discourse.julialang.org/t/ann-pdfmerger-jl-produce-multiple-plots-on-separate-pages-in-one-pdf-file/74788 "2025-02-11T16:57:34Z")

</div>

Hi all, I’m happy to announce the little PDFmerger.jl package to merge PDF (Portable Document Format) files. It is tested on Linux, OS X, and Windows and does not require (manual) installation of external tools. Beside…

---

## [Interpolations on scatter data of fun= f(x,y,z)](https://discourse.julialang.org/t/interpolations-on-scatter-data-of-fun-f-x-y-z/125754)

<div class="topic-metadata">

**Author:** [@Van\_Sy\_Tnut](https://discourse.julialang.org/u/Van_Sy_Tnut)\
**Replies:** 4\
**Last updated:** [February 11, 2025, 4:41pm UTC](https://discourse.julialang.org/t/interpolations-on-scatter-data-of-fun-f-x-y-z/125754 "2025-02-11T16:41:59Z")

</div>

Hello everyone, If I have scatter data of control points with x, y, z coordinates and its corresponding output (A). How can I find the interpolation for A = f(x,y,z) ? where x, y, z and A are vectors. Thank you so much…

---

## [Pushing the Limits of Small Binary Creation](https://discourse.julialang.org/t/pushing-the-limits-of-small-binary-creation/120989)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 7\
**Last updated:** [February 11, 2025, 4:35pm UTC](https://discourse.julialang.org/t/pushing-the-limits-of-small-binary-creation/120989 "2025-02-11T16:35:09Z")

</div>

Hi all, quick story: It was at a hotel bar the other day that @asinghvi17 , @avik , @mortenpi , Professor Rebecca Killick, and I did an impromptu hackathon for about 5 hours to see what could be possible with the newly …

---

## ["simple" Dates one line question](https://discourse.julialang.org/t/simple-dates-one-line-question/125465)

<div class="topic-metadata">

**Author:** [@Perrin\_Meyer](https://discourse.julialang.org/u/Perrin_Meyer)\
**Replies:** 6\
**Last updated:** [February 11, 2025, 4:06pm UTC](https://discourse.julialang.org/t/simple-dates-one-line-question/125465 "2025-02-11T16:06:24Z")

</div>

can a Dates guru help me with the one line function DateString(now()) that returns a string: Sat 01 Feb 2025 2:33pm I can’t figure out why Date(now()),DateFormat("yyyy-mm-dd")) is not valid… but I’m also being lazy… …

---

## [Time dependent inputs to reaction network in Catalyst](https://discourse.julialang.org/t/time-dependent-inputs-to-reaction-network-in-catalyst/121078)

<div class="topic-metadata">

**Author:** [@contejuz](https://discourse.julialang.org/u/contejuz)\
**Replies:** 5\
**Last updated:** [February 11, 2025, 3:20pm UTC](https://discourse.julialang.org/t/time-dependent-inputs-to-reaction-network-in-catalyst/121078 "2025-02-11T15:20:25Z")

</div>

I’m trying to create a simple reaction network that takes external input. Here is one example (adapted from the docs): # Create model. model = @reaction\_network begin kB\*I(t), S + E --\> SE kD, SE --\> S + E k…

---

## [Allow docstring on the right of string fields](https://discourse.julialang.org/t/allow-docstring-on-the-right-of-string-fields/125786)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 3:08pm UTC](https://discourse.julialang.org/t/allow-docstring-on-the-right-of-string-fields/125786 "2025-02-11T15:08:31Z")

</div>

In the era of super-wide screens, would allowing docstring on the right of struct fields be breaking ? Compare this: To this:

---

## [Minimum Working Example (MWE) showing error in Universal Differential Equation (UDE) implementation](https://discourse.julialang.org/t/minimum-working-example-mwe-showing-error-in-universal-differential-equation-ude-implementation/125366)

<div class="topic-metadata">

**Author:** [@Ashima\_Kalathingal](https://discourse.julialang.org/u/Ashima_Kalathingal)\
**Replies:** 10\
**Last updated:** [February 11, 2025, 3:04pm UTC](https://discourse.julialang.org/t/minimum-working-example-mwe-showing-error-in-universal-differential-equation-ude-implementation/125366 "2025-02-11T15:04:56Z")

</div>

The following code gives a Minimum Working Example for UDE which I wrote. But unfortunately it is showing error. When I run the code in VS Code the terminal crashes. using OrdinaryDiffEq , SciMLSensitivity ,Optimization…

---

## [SavingCallback when using Ensemble Simulations](https://discourse.julialang.org/t/savingcallback-when-using-ensemble-simulations/88483)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 13\
**Last updated:** [February 11, 2025, 2:58pm UTC](https://discourse.julialang.org/t/savingcallback-when-using-ensemble-simulations/88483 "2025-02-11T14:58:24Z")

</div>

Hello, I’m able to use SavingCallback with single simulations, for example using LinearAlgebra using SparseArrays using DifferentialEquations H0 = sprand(ComplexF64, 10, 10, 0.5) H0 \*= H0' ψ0 = normalize(rand(ComplexF…

---

## [Arrow's DictEncode to CategoricalArray?](https://discourse.julialang.org/t/arrows-dictencode-to-categoricalarray/112451)

<div class="topic-metadata">

**Author:** [@elenev](https://discourse.julialang.org/u/elenev)\
**Replies:** 18\
**Last updated:** [February 11, 2025, 2:30pm UTC](https://discourse.julialang.org/t/arrows-dictencode-to-categoricalarray/112451 "2025-02-11T14:30:28Z")

</div>

I am using Arrow.jl to store a dataframe to disk. The dataframe has some columns of CategoricalArray{T} type, where T is either String or Int64. When I read the dataframe back in, the categorical-ness of these columns i…

---

## [Save model when training with Distributed Data Parallel](https://discourse.julialang.org/t/save-model-when-training-with-distributed-data-parallel/125790)

<div class="topic-metadata">

**Author:** [@niltsz](https://discourse.julialang.org/u/niltsz)\
**Replies:** 0\
**Last updated:** [February 11, 2025, 1:24pm UTC](https://discourse.julialang.org/t/save-model-when-training-with-distributed-data-parallel/125790 "2025-02-11T13:24:45Z")

</div>

Hey all, I want to parallelize my machine learning model on GPUs using DDP from Flux. I get the code to run with adapting what is written on the Flux GPU Support page, but when I try to save the model I get the error u…

---

## [ODE parameter estimation, parameter not updating](https://discourse.julialang.org/t/ode-parameter-estimation-parameter-not-updating/125783)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 2\
**Last updated:** [February 11, 2025, 1:16pm UTC](https://discourse.julialang.org/t/ode-parameter-estimation-parameter-not-updating/125783 "2025-02-11T13:16:47Z")

</div>

Hi, I have this code to estimate the parameters of a ODE system. I do not know why it is not updating the parameters inside the optimization. I print them and they do not change. This is a test sample of the code: impor…

---

## [Extracting warmup samples in turing.jl](https://discourse.julialang.org/t/extracting-warmup-samples-in-turing-jl/125262)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 1:08pm UTC](https://discourse.julialang.org/t/extracting-warmup-samples-in-turing-jl/125262 "2025-02-11T13:08:50Z")

</div>

Hello, Im running inference for my model in turing.jl. Im using NUTS() sampler where I give some warmup. I was wondering that if I can extract these warmup samples ? rather than getting chain plot with just samples afte…

---

## [Unicode in vscode on Raspberry Pi 5](https://discourse.julialang.org/t/unicode-in-vscode-on-raspberry-pi-5/125740)

<div class="topic-metadata">

**Author:** [@Alis](https://discourse.julialang.org/u/Alis)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 10:19am UTC](https://discourse.julialang.org/t/unicode-in-vscode-on-raspberry-pi-5/125740 "2025-02-11T10:19:08Z")

</div>

Hello there, On my Windows machine, I successfully use Julia and vscode. In the editor, I make use of unicode for Greek letters. But, I have installed Julia and vscode on my Raspberry Pi, and the unicode works in the J…

---

## [Is it possible to use CuStaticSharedArray(T, n) with n const?](https://discourse.julialang.org/t/is-it-possible-to-use-custaticsharedarray-t-n-with-n-const/125756)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 2\
**Last updated:** [February 11, 2025, 8:59am UTC](https://discourse.julialang.org/t/is-it-possible-to-use-custaticsharedarray-t-n-with-n-const/125756 "2025-02-11T08:59:19Z")

</div>

Hello, I would like to compare the size of different block to see how the calculation speed-up or not. I use SharedArray of size CuStaticSharedArray(Float64, (B+2,B+2)) with B from 16 to 32, and now I am changing B by …

---

## [Plot Taylor diagrams](https://discourse.julialang.org/t/plot-taylor-diagrams/56406)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 3\
**Last updated:** [February 11, 2025, 7:34am UTC](https://discourse.julialang.org/t/plot-taylor-diagrams/56406 "2025-02-11T07:34:16Z")

</div>

I am looking for a Julia function to create a Taylor diagram (a diagram that compares measured against estimated values for a certain variable), like in: Please, do you have any suggestions? Thanks in advance.

---

## [Makie Categorical colors](https://discourse.julialang.org/t/makie-categorical-colors/118967)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 5\
**Last updated:** [February 11, 2025, 7:03am UTC](https://discourse.julialang.org/t/makie-categorical-colors/118967 "2025-02-11T07:03:52Z")

</div>

How to map a categorical column to a categorical color palette in Makie? using CairoMakie,AlgebraOfGraphics,RDatasets diamonds = dataset("ggplot2","diamonds") In AoG it’s just data(diamonds) \* mapping(:Carat, :Price; …

---

## [How to solve an advection-reaction system](https://discourse.julialang.org/t/how-to-solve-an-advection-reaction-system/125719)

<div class="topic-metadata">

**Author:** [@ctessum](https://discourse.julialang.org/u/ctessum)\
**Replies:** 6\
**Last updated:** [February 11, 2025, 2:02am UTC](https://discourse.julialang.org/t/how-to-solve-an-advection-reaction-system/125719 "2025-02-11T02:02:09Z")

</div>

I have a system that I would like to solve which is basically a reaction advection system. The full-size version is here, but the sake of this issue, let’s just say that we have a system state that consists of a number …

---

## [Trouble creating Package Extension](https://discourse.julialang.org/t/trouble-creating-package-extension/125767)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 4\
**Last updated:** [February 10, 2025, 8:41pm UTC](https://discourse.julialang.org/t/trouble-creating-package-extension/125767 "2025-02-10T20:41:23Z")

</div>

I’m trying to create a package extension (see 5. Creating Packages · Pkg.jl) for a package I’ve created, triggered by the Plots package. I have the following in my package’s Project.toml file: \[extensions\] Plotting = "…

---

## [How to use CLArray with OpenCL 0.10](https://discourse.julialang.org/t/how-to-use-clarray-with-opencl-0-10/125757)

<div class="topic-metadata">

**Author:** [@jheinen](https://discourse.julialang.org/u/jheinen)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 7:47pm UTC](https://discourse.julialang.org/t/how-to-use-clarray-with-opencl-0-10/125757 "2025-02-10T19:47:44Z")

</div>

I migrated the GR Mandelbrot example to OpenCL 0.10 (based on this notebook). Unfortunately I could not use the access parameter in CLArray(). Does this feature require special package versions?

---

## [Julia is slower than Python when appending elements to untyped arrays](https://discourse.julialang.org/t/julia-is-slower-than-python-when-appending-elements-to-untyped-arrays/125745)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 41\
**Last updated:** [February 10, 2025, 7:15pm UTC](https://discourse.julialang.org/t/julia-is-slower-than-python-when-appending-elements-to-untyped-arrays/125745 "2025-02-10T19:15:24Z")

</div>

An equivalent Julia code to this small Python benchmark runs nearly 10x slower, even with higher levels of optimization enabled. import time def main(): N = 100000000 data = \[\] for i in range(N): v…

---

## [Zygote and ODESolution Manipulation/Indexing Compatibility](https://discourse.julialang.org/t/zygote-and-odesolution-manipulation-indexing-compatibility/125668)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 3\
**Last updated:** [February 10, 2025, 5:07pm UTC](https://discourse.julialang.org/t/zygote-and-odesolution-manipulation-indexing-compatibility/125668 "2025-02-10T17:07:45Z")

</div>

I’m trying to write fairly complicated loss functions which tend to require manipulation of the ODESolution object. I would like to perform reverse mode differentiation using Zygote.jl over my loss function so I can obt…

---

## [Custom loss functions in \`Lux.jl\`](https://discourse.julialang.org/t/custom-loss-functions-in-lux-jl/125661)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 5\
**Last updated:** [February 10, 2025, 4:28pm UTC](https://discourse.julialang.org/t/custom-loss-functions-in-lux-jl/125661 "2025-02-10T16:28:29Z")

</div>

I am currently getting accustomed to the Lux.jl package. I want to use a custom loss function which includes a l\_2-regression term consisting of the model weights. I defined my custom loss function as function loss\_func…

---

## [Seeking Change](https://discourse.julialang.org/t/seeking-change/125354)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 4\
**Last updated:** [February 10, 2025, 3:14pm UTC](https://discourse.julialang.org/t/seeking-change/125354 "2025-02-10T15:14:24Z")

</div>

Hi Julia community! My name is Matt Helm, and I currently work in government. After 15 years of public service, the time has come to pursue a career in private industry where I can apply my programming and data science …

---

## [Compiler performance regression](https://discourse.julialang.org/t/compiler-performance-regression/125729)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 4\
**Last updated:** [February 10, 2025, 2:36pm UTC](https://discourse.julialang.org/t/compiler-performance-regression/125729 "2025-02-10T14:36:55Z")

</div>

Hi, We are currently developing a Julia package. Running this demo script (branch “dev”) results in 10x longer compilation in Julia 1.11.3, compared to 1.10.x. The package relies heavily on automatic differentiation, …

---

## [Reduce allocations & lock conflicts and speed up when using multithreads](https://discourse.julialang.org/t/reduce-allocations-lock-conflicts-and-speed-up-when-using-multithreads/125749)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 1\
**Last updated:** [February 10, 2025, 2:11pm UTC](https://discourse.julialang.org/t/reduce-allocations-lock-conflicts-and-speed-up-when-using-multithreads/125749 "2025-02-10T14:11:41Z")

</div>

Hello there, performance enhancement help wanted: ▶ Initial function which gives 309.934138 seconds (5.00 M allocations: 1.982 GiB, 0.23% gc time, 2007 lock conflicts, 0.52% compilation time) 48-element Vector{String}: …

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

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