# Latest

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

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

**Page:** 328

---

## [Preview of Documenter site for a PR branch](https://discourse.julialang.org/t/preview-of-documenter-site-for-a-pr-branch/119059)

<div class="topic-metadata">

**Author:** [@mike.ingold](https://discourse.julialang.org/u/mike.ingold)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 3:14pm UTC](https://discourse.julialang.org/t/preview-of-documenter-site-for-a-pr-branch/119059 "2024-09-05T15:14:53Z")

</div>

I have a repo on GitHub with Documenter deplored in the standard configuration. When a PR is created, a Documenter action is being run that seems to build the site for that branch, but I can’t figure out how to actually …

---

## [Verifiable computing in julia](https://discourse.julialang.org/t/verifiable-computing-in-julia/119067)

<div class="topic-metadata">

**Author:** [@sgaure](https://discourse.julialang.org/u/sgaure)\
**Replies:** 5\
**Last updated:** [September 5, 2024, 2:26pm UTC](https://discourse.julialang.org/t/verifiable-computing-in-julia/119067 "2024-09-05T14:26:07Z")

</div>

An upcoming field is verifiable computing. The typical topic is that you provide a proof that you have run a program with an input which resulted in a particular output. Even without revealing the input. E.g. f(x::BigIn…

---

## [Extracting each iteration result in KissABC.jl](https://discourse.julialang.org/t/extracting-each-iteration-result-in-kissabc-jl/118658)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 1:34pm UTC](https://discourse.julialang.org/t/extracting-each-iteration-result-in-kissabc-jl/118658 "2024-09-05T13:34:45Z")

</div>

Hello everyone, I was wondering Is it possible to extract results from each iteration in smc( ) run in kissABC package ? I was reading the documentation link but I don’t see much there. Thank you :slight\_smile:

---

## [Backport releases for packages?](https://discourse.julialang.org/t/backport-releases-for-packages/119037)

<div class="topic-metadata">

**Author:** [@j-fu](https://discourse.julialang.org/u/j-fu)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 12:48pm UTC](https://discourse.julialang.org/t/backport-releases-for-packages/119037 "2024-09-05T12:48:15Z")

</div>

Is it possible to manage backport releases with JuliaRegistrator? Or is there another standard procedure ? The use case: Assume I have version v1.5 of MyPkg.jl and already released v2.0. Some users will need some time …

---

## [Error while reproducing example of continuous normalizing flows documentation](https://discourse.julialang.org/t/error-while-reproducing-example-of-continuous-normalizing-flows-documentation/118957)

<div class="topic-metadata">

**Author:** [@l8l](https://discourse.julialang.org/u/l8l)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 10:32am UTC](https://discourse.julialang.org/t/error-while-reproducing-example-of-continuous-normalizing-flows-documentation/118957 "2024-09-05T10:32:39Z")

</div>

I am executing an exact copy of the code in the documentation about continuous normalizing flow (CNF): Continuous Normalizing Flows · DiffEqFlux.jl However, I get an error in the line res1 = Optimization.solve(optprob, …

---

## [Accessing elements of a ComponentArray based on a variable](https://discourse.julialang.org/t/accessing-elements-of-a-componentarray-based-on-a-variable/119066)

<div class="topic-metadata">

**Author:** [@julien-arino](https://discourse.julialang.org/u/julien-arino)\
**Replies:** 1\
**Last updated:** [September 5, 2024, 8:48am UTC](https://discourse.julialang.org/t/accessing-elements-of-a-componentarray-based-on-a-variable/119066 "2024-09-05T08:48:36Z")

</div>

Warning: newbie here. Suppose I have something like using ComponentArrays p = ComponentArray() p = ComponentArray(p; thing = 1) tmp = ComponentArray{Int32}() tmp = ComponentArray(tmp; a = 2) tmp = ComponentArray(tmp; b …

---

## [Why was the original Union return type parsed as type Any?](https://discourse.julialang.org/t/why-was-the-original-union-return-type-parsed-as-type-any/119065)

<div class="topic-metadata">

**Author:** [@aaoo](https://discourse.julialang.org/u/aaoo)\
**Replies:** 2\
**Last updated:** [September 5, 2024, 7:58am UTC](https://discourse.julialang.org/t/why-was-the-original-union-return-type-parsed-as-type-any/119065 "2024-09-05T07:58:49Z")

</div>

I have a question about the following code. It can be manually inferred that the return type of ttest must be Union{Nothing,ClassA,ClassB,ClassC}, and I even annotate the type of the return value, c, to the compiler. But…

---

## [Why is Julia's performance more sensitive to memory allocations than Numpy's?](https://discourse.julialang.org/t/why-is-julias-performance-more-sensitive-to-memory-allocations-than-numpys/119013)

<div class="topic-metadata">

**Author:** [@maxkapur](https://discourse.julialang.org/u/maxkapur)\
**Replies:** 19\
**Last updated:** [September 5, 2024, 7:49am UTC](https://discourse.julialang.org/t/why-is-julias-performance-more-sensitive-to-memory-allocations-than-numpys/119013 "2024-09-05T07:49:15Z")

</div>

This is a general, “deepening my understanding”-type question and it isn’t about a particular piece of code. If you read the performance section of this forum, a common pattern is for people to write code that does som…

---

## [Best type for passing parameters to an ODE](https://discourse.julialang.org/t/best-type-for-passing-parameters-to-an-ode/118968)

<div class="topic-metadata">

**Author:** [@julien-arino](https://discourse.julialang.org/u/julien-arino)\
**Replies:** 3\
**Last updated:** [September 5, 2024, 7:30am UTC](https://discourse.julialang.org/t/best-type-for-passing-parameters-to-an-ode/118968 "2024-09-05T07:30:48Z")

</div>

New to julia, apologies if this is trivial. I am struggling to work out how to pass parameters to an ODE. In short, I have two systems: one 7N dimensional (with N in the hundreds or thousands) and a 7-D one. I am not ev…

---

## [Add more specialized methods to CategoricalArrays.jl?](https://discourse.julialang.org/t/add-more-specialized-methods-to-categoricalarrays-jl/119043)

<div class="topic-metadata">

**Author:** [@croberts](https://discourse.julialang.org/u/croberts)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 4:59am UTC](https://discourse.julialang.org/t/add-more-specialized-methods-to-categoricalarrays-jl/119043 "2024-09-05T04:59:26Z")

</div>

Question to package authors of CategoricalArrays.jl Is there a reason why you haven’t added more specialized methods to your package for, e.g., Base.Broadcasted.broadcasted ? These are not passive-aggressive questions …

---

## [\`read(stdin, Char)\` in REPL vs script](https://discourse.julialang.org/t/read-stdin-char-in-repl-vs-script/119014)

<div class="topic-metadata">

**Author:** [@sadish-d](https://discourse.julialang.org/u/sadish-d)\
**Replies:** 4\
**Last updated:** [September 5, 2024, 2:26am UTC](https://discourse.julialang.org/t/read-stdin-char-in-repl-vs-script/119014 "2024-09-05T02:26:21Z")

</div>

I have a .jl file with one line script: i = read(stdin, Char) If I run it, and type ab in the REPL (without pressing the return key), I get: a'b': ASCII/Unicode U+0062 (category Ll: Letter, lowercase) julia\> i 'b': A…

---

## [Parse string representation of a vector into floats](https://discourse.julialang.org/t/parse-string-representation-of-a-vector-into-floats/119025)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 17\
**Last updated:** [September 5, 2024, 1:04am UTC](https://discourse.julialang.org/t/parse-string-representation-of-a-vector-into-floats/119025 "2024-09-05T01:04:30Z")

</div>

How can I parse the following string: "Float32\[0.0, 8.455541, 16.61883, 24.443338, 31.901924, 38.97408, 45.642822, 46.02448, 47.268967, 47.10146, 47.10146\]" as vector of Float32 values?

---

## [JuMP takes long time to load the problem/model](https://discourse.julialang.org/t/jump-takes-long-time-to-load-the-problem-model/118593)

<div class="topic-metadata">

**Author:** [@fstwn](https://discourse.julialang.org/u/fstwn)\
**Replies:** 23\
**Last updated:** [September 4, 2024, 11:07pm UTC](https://discourse.julialang.org/t/jump-takes-long-time-to-load-the-problem-model/118593 "2024-09-04T23:07:18Z")

</div>

Hi I use JuMP and CPLEX solver to solve the optimization problem in time-space network. I write this code to the JuMP with the data. I tried to model network design model in time-space network. using JuMP, CPLEX, DataFr…

---

## [Using notebooks or Julia markdown with Documenter.jl](https://discourse.julialang.org/t/using-notebooks-or-julia-markdown-with-documenter-jl/119024)

<div class="topic-metadata">

**Author:** [@msw](https://discourse.julialang.org/u/msw)\
**Replies:** 4\
**Last updated:** [September 4, 2024, 6:30pm UTC](https://discourse.julialang.org/t/using-notebooks-or-julia-markdown-with-documenter-jl/119024 "2024-09-04T18:30:05Z")

</div>

I would like to use notebooks or Julia markdown (jmd) with Documenter.jl similarly to mkdocs-jupyter, but I cannot find any tutorials or examples on how to do so. My first idea was to use Weave.jl to generate markdown f…

---

## [New package: HasseDiagrams](https://discourse.julialang.org/t/new-package-hassediagrams/119051)

<div class="topic-metadata">

**Author:** [@scheinerman](https://discourse.julialang.org/u/scheinerman)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 5:34pm UTC](https://discourse.julialang.org/t/new-package-hassediagrams/119051 "2024-09-04T17:34:49Z")

</div>

I’m pleased to announce the release of HasseDiagrams — a package for drawing pictures of (the recently announced) Posets. This package comes with three layout functions, and it is easy to add others. Documentation and s…

---

## [Name conflicts when communicating between workers using @fetchfrom](https://discourse.julialang.org/t/name-conflicts-when-communicating-between-workers-using-fetchfrom/119048)

<div class="topic-metadata">

**Author:** [@frkalbayrock](https://discourse.julialang.org/u/frkalbayrock)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 4:52pm UTC](https://discourse.julialang.org/t/name-conflicts-when-communicating-between-workers-using-fetchfrom/119048 "2024-09-04T16:52:25Z")

</div>

Hi all, I’ve encountered an issue with using the @fetchfrom macro to communicate data between different workers in a parallel computing setup in Julia. I am working on a problem where I need to manage a localized arrays…

---

## [CairoMakie ylabel allignment not working](https://discourse.julialang.org/t/cairomakie-ylabel-allignment-not-working/118722)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 2\
**Last updated:** [September 4, 2024, 5:01pm UTC](https://discourse.julialang.org/t/cairomakie-ylabel-allignment-not-working/118722 "2024-09-04T17:01:56Z")

</div>

Hello, I’m new to Makie (used to use Plots before). I’ve been trying to align the ylabels for many subplots using the CairoMakie package. I’m able to align them, but for some reason there is some overlap with the tick m…

---

## [Branch and Bound Algorithm Using Bonobo Package](https://discourse.julialang.org/t/branch-and-bound-algorithm-using-bonobo-package/119017)

<div class="topic-metadata">

**Author:** [@Mohammadreza\_Iranpou](https://discourse.julialang.org/u/Mohammadreza_Iranpou)\
**Replies:** 0\
**Last updated:** [September 4, 2024, 4:42am UTC](https://discourse.julialang.org/t/branch-and-bound-algorithm-using-bonobo-package/119017 "2024-09-04T04:42:08Z")

</div>

Hello everyone, I am a beginner in Julia and am currently exploring the Bonobo package for solving branch and bound algorithms. However, I’m finding it a bit challenging to get started. Could someone please provide me w…

---

## [GLMakie issue with select\_rectangle](https://discourse.julialang.org/t/glmakie-issue-with-select-rectangle/119008)

<div class="topic-metadata">

**Author:** [@sc-dyer](https://discourse.julialang.org/u/sc-dyer)\
**Replies:** 2\
**Last updated:** [September 4, 2024, 3:52pm UTC](https://discourse.julialang.org/t/glmakie-issue-with-select-rectangle/119008 "2024-09-04T15:52:44Z")

</div>

I was trying to run a GLMakie script that used to work but doesn’t any more. Here is a reproduction of the error I am getting: using GLMakie fig = Figure(); display(GLMakie.Screen(),fig) ax = Axis(fig\[1,1\]) lines!(ax,…

---

## [Batch matrix/vector operations with CUDA.jl](https://discourse.julialang.org/t/batch-matrix-vector-operations-with-cuda-jl/117869)

<div class="topic-metadata">

**Author:** [@TimHargreaves](https://discourse.julialang.org/u/TimHargreaves)\
**Replies:** 5\
**Last updated:** [September 4, 2024, 1:34pm UTC](https://discourse.julialang.org/t/batch-matrix-vector-operations-with-cuda-jl/117869 "2024-09-04T13:34:39Z")

</div>

I’m trying to perform various operations such as multiplication, inversion, solving, Cholesky decomposition in batches with CUDA.jl. As far as I’m aware, there is no high-level API for doing this, as is the case with Te…

---

## [Fitting gaussian to spectral data has unexpected results](https://discourse.julialang.org/t/fitting-gaussian-to-spectral-data-has-unexpected-results/118961)

<div class="topic-metadata">

**Author:** [@Amnesian](https://discourse.julialang.org/u/Amnesian)\
**Replies:** 3\
**Last updated:** [September 4, 2024, 11:58am UTC](https://discourse.julialang.org/t/fitting-gaussian-to-spectral-data-has-unexpected-results/118961 "2024-09-04T11:58:54Z")

</div>

My data Trying to fit a gaussian (not Normal, because it has arbitrary amplitude) on a peak in my data produces very bad parameter values. Expected should be close to my initial guesses, but it outputs \[14936.1701885188…

---

## [Testing GPU compatability in CI](https://discourse.julialang.org/t/testing-gpu-compatability-in-ci/119021)

<div class="topic-metadata">

**Author:** [@AntonReinhard](https://discourse.julialang.org/u/AntonReinhard)\
**Replies:** 2\
**Last updated:** [September 4, 2024, 11:10am UTC](https://discourse.julialang.org/t/testing-gpu-compatability-in-ci/119021 "2024-09-04T11:10:41Z")

</div>

I have a package in which I want to add support for some GPU types via package extensions and weak dependencies to them. Now I want to set up tests that conditionally only run when those GPU packages are installed, th…

---

## [Makie and Plots recipes](https://discourse.julialang.org/t/makie-and-plots-recipes/119023)

<div class="topic-metadata">

**Author:** [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Replies:** 4\
**Last updated:** [September 4, 2024, 10:54am UTC](https://discourse.julialang.org/t/makie-and-plots-recipes/119023 "2024-09-04T10:54:13Z")

</div>

I’ve got an old package (TreatmentPanels.jl) to wrangle data sets into shape for specific use cases in other packages, and as part of this have defined some Plots.jl recipes to visualise the data. Over the last year or …

---

## [How to force an update?](https://discourse.julialang.org/t/how-to-force-an-update/73071)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 23\
**Last updated:** [September 4, 2024, 8:27am UTC](https://discourse.julialang.org/t/how-to-force-an-update/73071 "2024-09-04T08:27:06Z")

</div>

For some reason my environment has StatsFuns v0.9.7, even though StatsFuns v0.9.14 is available, but I cannot update it: (???) pkg\> up StatsFuns Updating registry at \`~/.julia/registries/General.toml\` No Changes t…

---

## [MethodError for same type after includes / modules](https://discourse.julialang.org/t/methoderror-for-same-type-after-includes-modules/118771)

<div class="topic-metadata">

**Author:** [@lcm](https://discourse.julialang.org/u/lcm)\
**Replies:** 10\
**Last updated:** [September 4, 2024, 8:17am UTC](https://discourse.julialang.org/t/methoderror-for-same-type-after-includes-modules/118771 "2024-09-04T08:17:09Z")

</div>

If you define a type / struct in one file (here typetest\_types.jl): module Types struct TestType end end and then use it in a separate file in different modules, both including typetest\_types.jl, then one module can no…

---

## [How to produce sparse array with conditional array comprehension](https://discourse.julialang.org/t/how-to-produce-sparse-array-with-conditional-array-comprehension/118996)

<div class="topic-metadata">

**Author:** [@juan\_hb](https://discourse.julialang.org/u/juan_hb)\
**Replies:** 6\
**Last updated:** [September 4, 2024, 7:46am UTC](https://discourse.julialang.org/t/how-to-produce-sparse-array-with-conditional-array-comprehension/118996 "2024-09-04T07:46:57Z")

</div>

When creating variable or constraint containers in JuMP, one can use conditionals and a sparse array is produced, where the entries that do not met the conditions are left empty. For example: typeof(@variable(model, \[i …

---

## [Working with Symbolics.jl... how to extract terms from a sum etc?](https://discourse.julialang.org/t/working-with-symbolics-jl-how-to-extract-terms-from-a-sum-etc/95886)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 3\
**Last updated:** [September 4, 2024, 7:40am UTC](https://discourse.julialang.org/t/working-with-symbolics-jl-how-to-extract-terms-from-a-sum-etc/95886 "2024-09-04T07:40:43Z")

</div>

I have a simple example I’m trying to construct in which I define an expression in h that has a variable f, substitute f for a linear function of h and then expand that to get a polynomial in h. So far, so good… Now what…

---

## [VS Code julia environment dosen't match REPL environment](https://discourse.julialang.org/t/vs-code-julia-environment-dosent-match-repl-environment/86517)

<div class="topic-metadata">

**Author:** [@cstook](https://discourse.julialang.org/u/cstook)\
**Replies:** 7\
**Last updated:** [September 4, 2024, 7:22am UTC](https://discourse.julialang.org/t/vs-code-julia-environment-dosent-match-repl-environment/86517 "2024-09-04T07:22:11Z")

</div>

Should the environment activated in the REPL match the Julia env in the VS Code status bar?

---

## [Package for simple personal financial planning](https://discourse.julialang.org/t/package-for-simple-personal-financial-planning/117208)

<div class="topic-metadata">

**Author:** [@kylebeggs](https://discourse.julialang.org/u/kylebeggs)\
**Replies:** 4\
**Last updated:** [September 4, 2024, 4:43am UTC](https://discourse.julialang.org/t/package-for-simple-personal-financial-planning/117208 "2024-09-04T04:43:33Z")

</div>

I’m looking for a package that has the basic functions already for rudimentary financial planning such as forecasting how much X asset will grow in Y years and how many years until I reach Z assets, etc.? I know these ar…

---

## [Multiple Methods](https://discourse.julialang.org/t/multiple-methods/119006)

<div class="topic-metadata">

**Author:** [@Mirsad\_Cosovic](https://discourse.julialang.org/u/Mirsad_Cosovic)\
**Replies:** 10\
**Last updated:** [September 4, 2024, 2:05am UTC](https://discourse.julialang.org/t/multiple-methods/119006 "2024-09-04T02:05:27Z")

</div>

Hello, I have multiple methods with the same name but different argument types. When I add a fourth method with a distinct argument type, I observe a significant increase in memory allocations during the first run. I un…

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

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