# Latest

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

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

**Page:** 562

---

## [\[Documenter\] docstrings not included in the manual](https://discourse.julialang.org/t/documenter-docstrings-not-included-in-the-manual/70299)

<div class="topic-metadata">

**Author:** [@sami1](https://discourse.julialang.org/u/sami1)\
**Replies:** 1\
**Last updated:** [November 5, 2023, 8:55am UTC](https://discourse.julialang.org/t/documenter-docstrings-not-included-in-the-manual/70299 "2023-11-05T08:55:10Z")

</div>

Hi, I’m developing a bridge sampling package and I’m struggling with automatizing the documentation. When I run make.jl, the docstrings are actually detected but I get this warning : 1 docstring not included in the manu…

---

## [Memory allocation when using permutedims](https://discourse.julialang.org/t/memory-allocation-when-using-permutedims/105806)

<div class="topic-metadata">

**Author:** [@jisutich](https://discourse.julialang.org/u/jisutich)\
**Replies:** 1\
**Last updated:** [November 5, 2023, 6:28am UTC](https://discourse.julialang.org/t/memory-allocation-when-using-permutedims/105806 "2023-11-05T06:28:20Z")

</div>

Hi, I am trying to do some operations on some large tensor (roughly 2^(24)-2^(26) complex elements). I need to use reshape and permutedims frequently. Considering the large size of the tensor I consider, I am a little w…

---

## [Why \`const\` fields in a \`mutable struct\` instead of \`mutable\` field in ordinary \`struct\`?](https://discourse.julialang.org/t/why-const-fields-in-a-mutable-struct-instead-of-mutable-field-in-ordinary-struct/103454)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 9\
**Last updated:** [November 5, 2023, 3:02am UTC](https://discourse.julialang.org/t/why-const-fields-in-a-mutable-struct-instead-of-mutable-field-in-ordinary-struct/103454 "2023-11-05T03:02:41Z")

</div>

The documentation praises immutable structs: Composite objects declared with struct are immutable; they cannot be modified after construction. This may seem odd at first, but it has several advantages: It can be more…

---

## [\[Very Off Topic\] Julia, a novel (Retelling Orwell's 1984 from Julia's PoV)](https://discourse.julialang.org/t/very-off-topic-julia-a-novel-retelling-orwells-1984-from-julias-pov/105797)

<div class="topic-metadata">

**Author:** [@cormullion](https://discourse.julialang.org/u/cormullion)\
**Replies:** 2\
**Last updated:** [November 4, 2023, 10:00pm UTC](https://discourse.julialang.org/t/very-off-topic-julia-a-novel-retelling-orwells-1984-from-julias-pov/105797 "2023-11-04T22:00:14Z")

</div>

My local bookshop is promoting a book called Julia, by Sandra Newman, with an eye-catching cover. It’s a novel, re-telling the story of the character Julia in George Orwell’s famous book, “1984”. “1984” entered the p…

---

## [M2 Ultra running Julia](https://discourse.julialang.org/t/m2-ultra-running-julia/104642)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 11\
**Last updated:** [November 4, 2023, 3:02pm UTC](https://discourse.julialang.org/t/m2-ultra-running-julia/104642 "2023-11-04T15:02:40Z")

</div>

Apple M2 Ultra with 24-core CPU, 60-core GPU, 32‑core Neural Engine 192GB unified memory How fast would Julia be on this compared with “equivalent” Intel hw? Serial and threaded, if you have those numbers… Thanks. E…

---

## [Defining predetermined values on surface of domain](https://discourse.julialang.org/t/defining-predetermined-values-on-surface-of-domain/105799)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [November 4, 2023, 6:47pm UTC](https://discourse.julialang.org/t/defining-predetermined-values-on-surface-of-domain/105799 "2023-11-04T18:47:23Z")

</div>

Hi, I am using gridap to evaluate 3 different variables density, displacement and phase field. my domain is a rectangle and there are 3 small rectangles around supports and load that i want to assign value of 1 to those …

---

## [Anyone developing anything for Julia regarding SPH?](https://discourse.julialang.org/t/anyone-developing-anything-for-julia-regarding-sph/23708)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 7\
**Last updated:** [November 4, 2023, 6:03pm UTC](https://discourse.julialang.org/t/anyone-developing-anything-for-julia-regarding-sph/23708 "2023-11-04T18:03:42Z")

</div>

Where SPH, stands for Smoothed Particle Hydrodynamics. Does anyone happen to have a special interest in the field or done something in Julia regarding this methodology? Kind regards

---

## [Removing coefficients in GLM](https://discourse.julialang.org/t/removing-coefficients-in-glm/105772)

<div class="topic-metadata">

**Author:** [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Replies:** 3\
**Last updated:** [November 4, 2023, 5:22pm UTC](https://discourse.julialang.org/t/removing-coefficients-in-glm/105772 "2023-11-04T17:22:03Z")

</div>

Hello I have the following result for my GLM analysis: julia\> gm1 = fit(GeneralizedLinearModel, @formula(compte ~ exp27 + exp26 + exp25+ exp24 + exp27\*exp26\*exp25\*exp24), viewbits, Poisson()) StatsModels.TableRegressio…

---

## [Package extensions - structs inside extensions](https://discourse.julialang.org/t/package-extensions-structs-inside-extensions/101849)

<div class="topic-metadata">

**Author:** [@iabraham](https://discourse.julialang.org/u/iabraham)\
**Replies:** 6\
**Last updated:** [November 4, 2023, 5:19pm UTC](https://discourse.julialang.org/t/package-extensions-structs-inside-extensions/101849 "2023-11-04T17:19:07Z")

</div>

How can one make a struct defined in a package extension available to the user once the extension is loaded? Suppose we have: module MainFoo using SomeLightDeps lightweight\_func1 = ... lightweight\_func2 = ... end…

---

## [Could not load library libLLVM-15jl.so](https://discourse.julialang.org/t/could-not-load-library-libllvm-15jl-so/105790)

<div class="topic-metadata">

**Author:** [@Fourier](https://discourse.julialang.org/u/Fourier)\
**Replies:** 2\
**Last updated:** [November 4, 2023, 4:54pm UTC](https://discourse.julialang.org/t/could-not-load-library-libllvm-15jl-so/105790 "2023-11-04T16:54:46Z")

</div>

When I try to precompile the ParalelStencil Package I get an error: ERROR: LoadError: InitError: could not load library "/home/caspar/.julia/artifacts/a80fabdc38a167e0757ca96c55bda6be7c65e1b4/lib/libEnzyme-15.so" libLLV…

---

## [Did Julia community do something to improve its correctness?](https://discourse.julialang.org/t/did-julia-community-do-something-to-improve-its-correctness/102515)

<div class="topic-metadata">

**Author:** [@LarkyJulia](https://discourse.julialang.org/u/LarkyJulia)\
**Replies:** 216\
**Last updated:** [November 4, 2023, 4:18pm UTC](https://discourse.julialang.org/t/did-julia-community-do-something-to-improve-its-correctness/102515 "2023-11-04T16:18:27Z")

</div>

I hope I can use it for control system simulation and deep learning. I want to introduce Julia to my students, but I heard many things about its correctness. I learned Julia but never use it to do any real job. I hope th…

---

## [Showing percentage different between bar of grouped bar chart in Plotly](https://discourse.julialang.org/t/showing-percentage-different-between-bar-of-grouped-bar-chart-in-plotly/105681)

<div class="topic-metadata">

**Author:** [@nnguyengiatan](https://discourse.julialang.org/u/nnguyengiatan)\
**Replies:** 3\
**Last updated:** [November 4, 2023, 1:33pm UTC](https://discourse.julialang.org/t/showing-percentage-different-between-bar-of-grouped-bar-chart-in-plotly/105681 "2023-11-04T13:33:26Z")

</div>

Hello all, As you can see in the example below, I would like to label my grouped bar chart with the % differential between each group of bars. Could anyone point me to documentation or examples that would cover that? H…

---

## [Funny Benchmark with Julia (no longer) at the bottom](https://discourse.julialang.org/t/funny-benchmark-with-julia-no-longer-at-the-bottom/104611)

<div class="topic-metadata">

**Author:** [@algunion](https://discourse.julialang.org/u/algunion)\
**Replies:** 149\
**Last updated:** [November 4, 2023, 1:32pm UTC](https://discourse.julialang.org/t/funny-benchmark-with-julia-no-longer-at-the-bottom/104611 "2023-11-04T13:32:17Z")

</div>

A. S. To prevent any confusion: at the time when this was originally posted, Julia’s run was about 600ms and was ~20x slower than Rust. This is not longer the case. Resuming the original post… … → I stumbled upon thi…

---

## [Plotting interaction from a fixed effects panel model](https://discourse.julialang.org/t/plotting-interaction-from-a-fixed-effects-panel-model/105792)

<div class="topic-metadata">

**Author:** [@mgmtprofessor](https://discourse.julialang.org/u/mgmtprofessor)\
**Replies:** 1\
**Last updated:** [November 4, 2023, 11:53am UTC](https://discourse.julialang.org/t/plotting-interaction-from-a-fixed-effects-panel-model/105792 "2023-11-04T11:53:45Z")

</div>

I just started using Julia yesterday (coming from Stata) and I am looking for a way of plotting interactions and creating graphs like the one I link below my code. I’m still newish to Python. Any resources would also be …

---

## [Multi-objective MINLP problem in JuMP](https://discourse.julialang.org/t/multi-objective-minlp-problem-in-jump/103117)

<div class="topic-metadata">

**Author:** [@ashefa](https://discourse.julialang.org/u/ashefa)\
**Replies:** 38\
**Last updated:** [November 4, 2023, 8:44am UTC](https://discourse.julialang.org/t/multi-objective-minlp-problem-in-jump/103117 "2023-11-04T08:44:23Z")

</div>

In the continuation of this comment and this post, I was wondering about the implementation of a multi-objective MINLP problem in JuMP using MOA. Since @Arpit\_Bhatia used MOA for a nonlinear multi-objective portfolio op…

---

## [Code optimization using SIMD or LoopVectorization](https://discourse.julialang.org/t/code-optimization-using-simd-or-loopvectorization/105782)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 7\
**Last updated:** [November 4, 2023, 7:13am UTC](https://discourse.julialang.org/t/code-optimization-using-simd-or-loopvectorization/105782 "2023-11-04T07:13:21Z")

</div>

Dear Julia experts, I have implemented the probability density function for the Pearson-IV distribution. This implementation is based on the R-package “PearsonDS”. Here is the code: import SpecialFunctions: lgamma, gam…

---

## [Providing @testset option with macro depending on Julia version](https://discourse.julialang.org/t/providing-testset-option-with-macro-depending-on-julia-version/105689)

<div class="topic-metadata">

**Author:** [@AnHeuermann](https://discourse.julialang.org/u/AnHeuermann)\
**Replies:** 1\
**Last updated:** [November 4, 2023, 6:57am UTC](https://discourse.julialang.org/t/providing-testset-option-with-macro-depending-on-julia-version/105689 "2023-11-04T06:57:08Z")

</div>

I want to use Test.@testset with option failfast=true in my unit testing. But this feature requires at least Julia 1.9 and I’m testing on both newer and older versions of Julia. I would like to define a macro or functio…

---

## [Peculiar GPU behavior: zero performance cost for math functions?](https://discourse.julialang.org/t/peculiar-gpu-behavior-zero-performance-cost-for-math-functions/105764)

<div class="topic-metadata">

**Author:** [@bremez](https://discourse.julialang.org/u/bremez)\
**Replies:** 5\
**Last updated:** [November 4, 2023, 4:24am UTC](https://discourse.julialang.org/t/peculiar-gpu-behavior-zero-performance-cost-for-math-functions/105764 "2023-11-04T04:24:15Z")

</div>

I have a use case where the performance bottleneck is in computing trigonometric functions. I thought that maybe it would benefit from some more parallelism, and realized that having access to a university computing clus…

---

## [Julia v1.10.0-rc1 is now available](https://discourse.julialang.org/t/julia-v1-10-0-rc1-is-now-available/105781)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [November 4, 2023, 2:06am UTC](https://discourse.julialang.org/t/julia-v1-10-0-rc1-is-now-available/105781 "2023-11-04T02:06:53Z")

</div>

The Julia developers are pleased to announce that the first release candidate for Julia v1.10.0 is now available. You can download binaries for v1.10.0-rc1 at https://julialang.org/downloads/ in the “upcoming release” se…

---

## [Registry.toml missing](https://discourse.julialang.org/t/registry-toml-missing/24152)

<div class="topic-metadata">

**Author:** [@pnotequalnp](https://discourse.julialang.org/u/pnotequalnp)\
**Replies:** 10\
**Last updated:** [November 3, 2023, 10:26pm UTC](https://discourse.julialang.org/t/registry-toml-missing/24152 "2023-11-03T22:26:08Z")

</div>

Julia 1.1, Windows 10 64-bit. Just installed, doing ‘add \[package\]’ in the package REPL gives Cloning default registries into \`C:\\Users\\User\\.julia\` Cloning registry from "https://github.com/JuliaRegistries/General.git…

---

## [HTTP Streamed Response BufferedInputStream(http::HTTP.Stream) Warning](https://discourse.julialang.org/t/http-streamed-response-bufferedinputstream-http-http-stream-warning/105777)

<div class="topic-metadata">

**Author:** [@JohnDuffy](https://discourse.julialang.org/u/JohnDuffy)\
**Replies:** 1\
**Last updated:** [November 3, 2023, 9:39pm UTC](https://discourse.julialang.org/t/http-streamed-response-bufferedinputstream-http-http-stream-warning/105777 "2023-11-03T21:39:06Z")

</div>

Hi I’m streaming JSON from a REST API successfully (it appears) using: HTTP.open(:GET, url, headers) do http for line in eachline(http) print(line) end end However, I getting this warning at the beginn…

---

## [Connecting Julia to DB2 LUW database](https://discourse.julialang.org/t/connecting-julia-to-db2-luw-database/105770)

<div class="topic-metadata">

**Author:** [@brianhfield](https://discourse.julialang.org/u/brianhfield)\
**Replies:** 4\
**Last updated:** [November 3, 2023, 9:14pm UTC](https://discourse.julialang.org/t/connecting-julia-to-db2-luw-database/105770 "2023-11-03T21:14:28Z")

</div>

Fairly new to Julia. I am trying to determine if it is possible to query a DB2 LUW database directly with Julia and I haven’t found any definitive answers so far. Does anyone here happen to know? Is there a package I …

---

## [Different visual types for different y axis variables](https://discourse.julialang.org/t/different-visual-types-for-different-y-axis-variables/105771)

<div class="topic-metadata">

**Author:** [@gsinha](https://discourse.julialang.org/u/gsinha)\
**Replies:** 0\
**Last updated:** [November 3, 2023, 7:41pm UTC](https://discourse.julialang.org/t/different-visual-types-for-different-y-axis-variables/105771 "2023-11-03T19:41:34Z")

</div>

How would I get y to be a scatter and yhat to be a scatterline in the following statement? data(df) \* mapping(:x, \[y, yhat\], color = dims(1) =\> renamer(\["Actual", "Predicted"\])) |\> draw;

---

## [Kernel random numbers generation entropy / randomness issues](https://discourse.julialang.org/t/kernel-random-numbers-generation-entropy-randomness-issues/105637)

<div class="topic-metadata">

**Author:** [@ReWoP](https://discourse.julialang.org/u/ReWoP)\
**Replies:** 25\
**Last updated:** [November 3, 2023, 4:19pm UTC](https://discourse.julialang.org/t/kernel-random-numbers-generation-entropy-randomness-issues/105637 "2023-11-03T16:19:05Z")

</div>

Hi all! I’m implementing with some algorithms in the GPU (CUDA) that are stochastic in nature, meaning that they rely on random numbers (namely uniformly distributed random numbers in \[0,1\]) to achieve results. When pr…

---

## [Problem when adding up Function expressions](https://discourse.julialang.org/t/problem-when-adding-up-function-expressions/105710)

<div class="topic-metadata">

**Author:** [@Raunak12775](https://discourse.julialang.org/u/Raunak12775)\
**Replies:** 4\
**Last updated:** [November 3, 2023, 7:01pm UTC](https://discourse.julialang.org/t/problem-when-adding-up-function-expressions/105710 "2023-11-03T19:01:31Z")

</div>

I am trying to have a function that returns Function type in a vector, now I want to add all the elements of the vector to return again a Function type and then I want plot this Function. Here is my code snippet. functi…

---

## [In closure, compile away a step in a calculation internal to some function called in a closure?](https://discourse.julialang.org/t/in-closure-compile-away-a-step-in-a-calculation-internal-to-some-function-called-in-a-closure/105765)

<div class="topic-metadata">

**Author:** [@croberts](https://discourse.julialang.org/u/croberts)\
**Replies:** 4\
**Last updated:** [November 3, 2023, 4:46pm UTC](https://discourse.julialang.org/t/in-closure-compile-away-a-step-in-a-calculation-internal-to-some-function-called-in-a-closure/105765 "2023-11-03T16:46:06Z")

</div>

I probably should have posted this thread in ‘internals’ rather than ‘general usage’. Is there a way to compile away a step in a calculation internal to some function called in a closure but without manually decomposing…

---

## [\[ANN\] Pipette.jl: Insert pipe operator with Ctrl+right, or with double-tapping right at end of line](https://discourse.julialang.org/t/ann-pipette-jl-insert-pipe-operator-with-ctrl-right-or-with-double-tapping-right-at-end-of-line/105763)

<div class="topic-metadata">

**Author:** [@martin.auer](https://discourse.julialang.org/u/martin.auer)\
**Replies:** 0\
**Last updated:** [November 3, 2023, 4:14pm UTC](https://discourse.julialang.org/t/ann-pipette-jl-insert-pipe-operator-with-ctrl-right-or-with-double-tapping-right-at-end-of-line/105763 "2023-11-03T16:14:46Z")

</div>

Happy to announce Pipette.jl – it lets you smoothly insert " |\> " in your REPL session! You can either double-tap cursor-right \[-\>\] at the end of a line, or just use \[Ctrl + -\>\] anywhere on the line. Try it out with p…

---

## [Distributed programming with callable mutable types/"functors"](https://discourse.julialang.org/t/distributed-programming-with-callable-mutable-types-functors/105543)

<div class="topic-metadata">

**Author:** [@hijit](https://discourse.julialang.org/u/hijit)\
**Replies:** 5\
**Last updated:** [November 3, 2023, 3:45pm UTC](https://discourse.julialang.org/t/distributed-programming-with-callable-mutable-types-functors/105543 "2023-11-03T15:45:01Z")

</div>

Hello I have a question regarding distributed programming with callable mutable types and how they are handled by workers when used in a @distributed loop. In particular if I have an instance of a callable mutable type (…

---

## [What is happening with the nightly precompile cache?](https://discourse.julialang.org/t/what-is-happening-with-the-nightly-precompile-cache/105736)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 1\
**Last updated:** [November 3, 2023, 3:39pm UTC](https://discourse.julialang.org/t/what-is-happening-with-the-nightly-precompile-cache/105736 "2023-11-03T15:39:18Z")

</div>

In every update I do I see the pre-compile cache file increase size. Just did now and the cache file grew 14 MB from what it was from a version with 5 days. For GMT (with a reduced number of pre-compile cases than last r…

---

## [Compiler tools and workflow for compiler optimization](https://discourse.julialang.org/t/compiler-tools-and-workflow-for-compiler-optimization/100016)

<div class="topic-metadata">

**Author:** [@martin.d.maas](https://discourse.julialang.org/u/martin.d.maas)\
**Replies:** 18\
**Last updated:** [November 3, 2023, 3:33pm UTC](https://discourse.julialang.org/t/compiler-tools-and-workflow-for-compiler-optimization/100016 "2023-11-03T15:33:32Z")

</div>

Hi, I’m trying to teach myself how to work with the native Julia compiler, and was trying to get the basics of how would you set up a workflow to try to write a compiler optimization pass. So the tools I found out there…

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

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