# Latest

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

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

**Page:** 636

---

## [Fusing measurement results](https://discourse.julialang.org/t/fusing-measurement-results/102100)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [July 26, 2023, 11:12am UTC](https://discourse.julialang.org/t/fusing-measurement-results/102100 "2023-07-26T11:12:21Z")

</div>

I have n measurements, statistically independant with n values x\_i and n standard deviations \\sigma\_i. How can I combine them to get one value and one standard deviation?

---

## [Updating registry (recent issue)](https://discourse.julialang.org/t/updating-registry-recent-issue/102108)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 1\
**Last updated:** [July 26, 2023, 11:05am UTC](https://discourse.julialang.org/t/updating-registry-recent-issue/102108 "2023-07-26T11:05:27Z")

</div>

Hi, I recently experienced the below issue (a bit out of nowhere) Any idea how to solve it? Thank you \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_…

---

## [Tuple type don't inherit as expected](https://discourse.julialang.org/t/tuple-type-dont-inherit-as-expected/17636)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 5\
**Last updated:** [July 26, 2023, 10:06am UTC](https://discourse.julialang.org/t/tuple-type-dont-inherit-as-expected/17636 "2023-07-26T10:06:55Z")

</div>

just did some experimentations with Tuple types. Take the following example d = Dict{Int, Int} d\_unionall = Type{T} where T \<: Dict u = Union{String, Int} u\_unionall = Type{T} where T\>:String isa(d, d\_unionall) # true …

---

## [Likelihood from Turing model](https://discourse.julialang.org/t/likelihood-from-turing-model/102022)

<div class="topic-metadata">

**Author:** [@99dB](https://discourse.julialang.org/u/99dB)\
**Replies:** 6\
**Last updated:** [July 26, 2023, 8:37am UTC](https://discourse.julialang.org/t/likelihood-from-turing-model/102022 "2023-07-26T08:37:47Z")

</div>

Hello all, From the following Turing ODE tutorial: https://turing.ml/v0.22/tutorials/10-bayesian-differential-equations/ I wonder if there is an easy way to compute the likelihood for each ode model variable, directly …

---

## [How To Use Lua and Julia to Create Plugins for Neovim?](https://discourse.julialang.org/t/how-to-use-lua-and-julia-to-create-plugins-for-neovim/101903)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 4\
**Last updated:** [July 26, 2023, 5:49am UTC](https://discourse.julialang.org/t/how-to-use-lua-and-julia-to-create-plugins-for-neovim/101903 "2023-07-26T05:49:07Z")

</div>

Hi all, @ExpandingMan and I had a fun conversation about perhaps one day creating neovim plugins that use Julia. Neovim plugins tend to really be written in Lua or Fennel these days and it got me wondering, how do I cal…

---

## [How to Make Precompiling Faster?](https://discourse.julialang.org/t/how-to-make-precompiling-faster/101865)

<div class="topic-metadata">

**Author:** [@Freya\_the\_Goddess](https://discourse.julialang.org/u/Freya_the_Goddess)\
**Replies:** 19\
**Last updated:** [July 26, 2023, 4:49am UTC](https://discourse.julialang.org/t/how-to-make-precompiling-faster/101865 "2023-07-26T04:49:44Z")

</div>

I add InteractiveDynamics and the precompilation of OrdinaryDiffEq took 5 hours. What are required to make the precompiling fast? high RAM or internet connection or processor power?

---

## [Book on probability distributions?](https://discourse.julialang.org/t/book-on-probability-distributions/101977)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 6\
**Last updated:** [July 26, 2023, 2:16am UTC](https://discourse.julialang.org/t/book-on-probability-distributions/101977 "2023-07-26T02:16:29Z")

</div>

I discovered a book online a while back that specifically was about probability distributions the connections between them and some generalized forms that captured big families of distributions. I believe someone linked …

---

## [Makie - Example of simple type recipe not working](https://discourse.julialang.org/t/makie-example-of-simple-type-recipe-not-working/102049)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 10\
**Last updated:** [July 26, 2023, 12:43am UTC](https://discourse.julialang.org/t/makie-example-of-simple-type-recipe-not-working/102049 "2023-07-26T00:43:27Z")

</div>

The docs explain how to write “type recipes”. Can you please provide a MWE with a completely new type? As you can see below, just following the instructions in the docs leads to errors: import Makie # custom type struc…

---

## ['update\_varmap!' Not defined in MethodOfLines](https://discourse.julialang.org/t/update-varmap-not-defined-in-methodoflines/102063)

<div class="topic-metadata">

**Author:** [@WillSimpkins](https://discourse.julialang.org/u/WillSimpkins)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 11:35pm UTC](https://discourse.julialang.org/t/update-varmap-not-defined-in-methodoflines/102063 "2023-07-25T23:35:53Z")

</div>

I am modelling a PDE describing the deformations of a beam, this has the form of a second order PDE in time along with an integral condition on the beam’s strain. I am attempting to discretise this using ModelingToolkit …

---

## [How to cleanly initialize structure with lots of members](https://discourse.julialang.org/t/how-to-cleanly-initialize-structure-with-lots-of-members/102085)

<div class="topic-metadata">

**Author:** [@hshackle](https://discourse.julialang.org/u/hshackle)\
**Replies:** 6\
**Last updated:** [July 25, 2023, 10:39pm UTC](https://discourse.julialang.org/t/how-to-cleanly-initialize-structure-with-lots-of-members/102085 "2023-07-25T22:39:38Z")

</div>

I have a struct with lots of different members, all of which get initialized in a standard way. Currently, my code looks like struct A a::Int b::Int c::Int function A() a = 1 b = 1 …

---

## [Creating a standalone app on different platforms](https://discourse.julialang.org/t/creating-a-standalone-app-on-different-platforms/102089)

<div class="topic-metadata">

**Author:** [@merlion](https://discourse.julialang.org/u/merlion)\
**Replies:** 2\
**Last updated:** [July 25, 2023, 9:47pm UTC](https://discourse.julialang.org/t/creating-a-standalone-app-on-different-platforms/102089 "2023-07-25T21:47:17Z")

</div>

Apologies if this is slightly off-topic. I hope it’s relevant to more people in the community, and haven’t overlooked any obvious Julia documentation pages to achieve what I’m trying. I’m currently developing some softw…

---

## [Challenge: Can you beat Python and C++ in Int4 Matrix-Vector Multiply Op?](https://discourse.julialang.org/t/challenge-can-you-beat-python-and-c-in-int4-matrix-vector-multiply-op/101588)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 10\
**Last updated:** [July 25, 2023, 9:44pm UTC](https://discourse.julialang.org/t/challenge-can-you-beat-python-and-c-in-int4-matrix-vector-multiply-op/101588 "2023-07-25T21:44:29Z")

</div>

TL;DR How close can we get to 4x speedup if we move from Float16 to Int4 in mat-vec multiply? Hi everyone, It’s challenge time! I’m calling on the Julia community to show Python bitsandbytes (recent release with 2-4x s…

---

## [Multithreading - schedule tasks with dependencies?](https://discourse.julialang.org/t/multithreading-schedule-tasks-with-dependencies/102062)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [July 25, 2023, 9:40pm UTC](https://discourse.julialang.org/t/multithreading-schedule-tasks-with-dependencies/102062 "2023-07-25T21:40:41Z")

</div>

My only experience with multithreading is decorating for-loops with Threads.@threads, as well as using the parallelized functions in the ThreadsX package, but I’d like to learn multithreading at a lower level. Suppose I’…

---

## [Variable number of arguments with different types](https://discourse.julialang.org/t/variable-number-of-arguments-with-different-types/102035)

<div class="topic-metadata">

**Author:** [@linwaytin](https://discourse.julialang.org/u/linwaytin)\
**Replies:** 8\
**Last updated:** [July 25, 2023, 9:36pm UTC](https://discourse.julialang.org/t/variable-number-of-arguments-with-different-types/102035 "2023-07-25T21:36:10Z")

</div>

This might be a strange question, but I really want to know if there is a way to construct a function where the first few variables are Int, while the rest are Float64, so that I can call it using like fn(1, 2, 3.2, 3.4,…

---

## [Is there any good way to call functions from a set of functions in a CUDA kernel](https://discourse.julialang.org/t/is-there-any-good-way-to-call-functions-from-a-set-of-functions-in-a-cuda-kernel/102051)

<div class="topic-metadata">

**Author:** [@huiyuxie](https://discourse.julialang.org/u/huiyuxie)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 7:49pm UTC](https://discourse.julialang.org/t/is-there-any-good-way-to-call-functions-from-a-set-of-functions-in-a-cuda-kernel/102051 "2023-07-25T19:49:55Z")

</div>

Hi! I had some problem with calling functions from a function set in CUDA kernels. For example, if I define a function set like below and then call the kernel # Define function f1, f2, f3, f4, f5 ... # Create a NamedTu…

---

## [\[ANN\] Caching.jl, yet another memoizer with more features](https://discourse.julialang.org/t/ann-caching-jl-yet-another-memoizer-with-more-features/21565)

<div class="topic-metadata">

**Author:** [@zgornel](https://discourse.julialang.org/u/zgornel)\
**Replies:** 4\
**Last updated:** [July 25, 2023, 7:27pm UTC](https://discourse.julialang.org/t/ann-caching-jl-yet-another-memoizer-with-more-features/21565 "2023-07-25T19:27:02Z")

</div>

Caching.jl aims to provide a simple non-intrusive memoization mechanism with disk, compression, record and size limits support. While it’s not the fastest, it should pretty easy to use, understand and extend. It is still…

---

## [Why exporting plots in Jupyter returns false?](https://discourse.julialang.org/t/why-exporting-plots-in-jupyter-returns-false/102004)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 6:38pm UTC](https://discourse.julialang.org/t/why-exporting-plots-in-jupyter-returns-false/102004 "2023-07-25T18:38:56Z")

</div>

Hello, I can plot, for example I do p |\> SVG("bin25.svg",30cm,25cm) It returns “false” However, the svg plot is created. So it’s not a big issue, but it’s irritating. Any idea? I don’t have this if I use PNG instead…

---

## [Community-driven JuliaPowerPack - Patching Pains and Incubating New Ideas](https://discourse.julialang.org/t/community-driven-juliapowerpack-patching-pains-and-incubating-new-ideas/101988)

<div class="topic-metadata">

**Author:** [@algunion](https://discourse.julialang.org/u/algunion)\
**Replies:** 2\
**Last updated:** [July 25, 2023, 6:31pm UTC](https://discourse.julialang.org/t/community-driven-juliapowerpack-patching-pains-and-incubating-new-ideas/101988 "2023-07-25T18:31:00Z")

</div>

This idea was triggered by a recent discussion on this topic. Specifically, by @gdalle idea of a functionswith besides the existing methodswith. Now - about the JuliaPowerPack (or JuliaExtensions - I don’t insist on a p…

---

## [Recommendations to parallelize "MultistartOptimization.jl"](https://discourse.julialang.org/t/recommendations-to-parallelize-multistartoptimization-jl/102087)

<div class="topic-metadata">

**Author:** [@Zerosum](https://discourse.julialang.org/u/Zerosum)\
**Replies:** 0\
**Last updated:** [July 25, 2023, 6:21pm UTC](https://discourse.julialang.org/t/recommendations-to-parallelize-multistartoptimization-jl/102087 "2023-07-25T18:21:00Z")

</div>

I’ve recently found this amazing package, and I wondered what would be a good strategy to parallelize the optimization process under the package. I have 17 parameters for the optimization, and I’ve been trying to use SA…

---

## [Optimizing small systems of NonLinear equations with Optim.jl](https://discourse.julialang.org/t/optimizing-small-systems-of-nonlinear-equations-with-optim-jl/102068)

<div class="topic-metadata">

**Author:** [@The\_Mastermage](https://discourse.julialang.org/u/The_Mastermage)\
**Replies:** 2\
**Last updated:** [July 25, 2023, 6:19pm UTC](https://discourse.julialang.org/t/optimizing-small-systems-of-nonlinear-equations-with-optim-jl/102068 "2023-07-25T18:19:06Z")

</div>

Hello there I have a very small system of nonlinear equation and i do not quite understand how I can use this using Optim.jl. So far I have only figured out how to do one equation but I have a system (3 Equations): The …

---

## [Why is -t auto not the default for auto-threading? And what to do about it? Would users want it by default?](https://discourse.julialang.org/t/why-is-t-auto-not-the-default-for-auto-threading-and-what-to-do-about-it-would-users-want-it-by-default/101858)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 14\
**Last updated:** [July 25, 2023, 3:20pm UTC](https://discourse.julialang.org/t/why-is-t-auto-not-the-default-for-auto-threading-and-what-to-do-about-it-would-users-want-it-by-default/101858 "2023-07-25T15:20:49Z")

</div>

I realize I can start my program like this: $ julia -t auto test.jl but I would also want to be able to just click on the file to run it (e.g. in Windows, where a file extension should run it with julia for me) or run …

---

## [JuliaCon 2023: Live Streaming](https://discourse.julialang.org/t/juliacon-2023-live-streaming/102082)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [July 25, 2023, 2:56pm UTC](https://discourse.julialang.org/t/juliacon-2023-live-streaming/102082 "2023-07-25T14:56:59Z")

</div>

Hello all, We hope you are having a good time at the JuliaCon! Please be aware that the workshops will NOT be live-streamed. They are recorded and uploaded at a later date. Live streaming will begin tomorrow fro 8:30 A…

---

## [Please assist with AbstractArray child struct overload](https://discourse.julialang.org/t/please-assist-with-abstractarray-child-struct-overload/102000)

<div class="topic-metadata">

**Author:** [@talonmyburgh](https://discourse.julialang.org/u/talonmyburgh)\
**Replies:** 14\
**Last updated:** [July 25, 2023, 2:53pm UTC](https://discourse.julialang.org/t/please-assist-with-abstractarray-child-struct-overload/102000 "2023-07-25T14:53:54Z")

</div>

As may be apparent by my use of the word “child”, I come from an OOP background. I want to replicate some code I have in Python in Julia as I find this language amazing. I created a simplified example for below, but I w…

---

## [How to find functions operating on type](https://discourse.julialang.org/t/how-to-find-functions-operating-on-type/101976)

<div class="topic-metadata">

**Author:** [@The\_Mastermage](https://discourse.julialang.org/u/The_Mastermage)\
**Replies:** 13\
**Last updated:** [July 25, 2023, 2:35pm UTC](https://discourse.julialang.org/t/how-to-find-functions-operating-on-type/101976 "2023-07-25T14:35:40Z")

</div>

I did mention in a few prior posts that i am new to Julia so I still have some questions for the best usage. I come from very OO languages like C# and Python where you can simply call all the functions defined on a type…

---

## [Pin the YouTube stream post](https://discourse.julialang.org/t/pin-the-youtube-stream-post/102053)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 1\
**Last updated:** [July 25, 2023, 2:22pm UTC](https://discourse.julialang.org/t/pin-the-youtube-stream-post/102053 "2023-07-25T14:22:16Z")

</div>

We are still working on updating live.juliacon.org. In the meantime could we make JuliaCon 2023 Streams will be on YouTube more visible on Discourse so people can find the stream.

---

## [How to extract solver info from ODE solution](https://discourse.julialang.org/t/how-to-extract-solver-info-from-ode-solution/102076)

<div class="topic-metadata">

**Author:** [@aleppersico](https://discourse.julialang.org/u/aleppersico)\
**Replies:** 4\
**Last updated:** [July 25, 2023, 1:38pm UTC](https://discourse.julialang.org/t/how-to-extract-solver-info-from-ode-solution/102076 "2023-07-25T13:38:57Z")

</div>

Hello, I am trying to obtain the solver metadata after having calculated the solution of an ODE problem. I am used to MATLAB out.SimulationMetadata.ModelInfo.SolverInfo, but I cannot find any similar feature in Julia. C…

---

## [Pluto can't find developmental package](https://discourse.julialang.org/t/pluto-cant-find-developmental-package/102018)

<div class="topic-metadata">

**Author:** [@Allan\_Baker](https://discourse.julialang.org/u/Allan_Baker)\
**Replies:** 6\
**Last updated:** [July 25, 2023, 1:25pm UTC](https://discourse.julialang.org/t/pluto-cant-find-developmental-package/102018 "2023-07-25T13:25:52Z")

</div>

It seems like this should be a common work flow, but I’ve been messing with this for over an hour and none of the examples seem to be what I need or I’m messing something up. I have a great new project I’m developing. …

---

## [Streamplots: Streamlines to be plotted from a streamfunction matrix](https://discourse.julialang.org/t/streamplots-streamlines-to-be-plotted-from-a-streamfunction-matrix/102075)

<div class="topic-metadata">

**Author:** [@Aran](https://discourse.julialang.org/u/Aran)\
**Replies:** 0\
**Last updated:** [July 25, 2023, 12:21pm UTC](https://discourse.julialang.org/t/streamplots-streamlines-to-be-plotted-from-a-streamfunction-matrix/102075 "2023-07-25T12:21:35Z")

</div>

Hello all, I have a streamfunction \\Psi that is known in a matrix from (it has been calculated using finite differences with even gridspaces in x and y), and I am trying to understand how to produce streamline plots in…

---

## [Can't make the animation work](https://discourse.julialang.org/t/cant-make-the-animation-work/101934)

<div class="topic-metadata">

**Author:** [@zff3141592](https://discourse.julialang.org/u/zff3141592)\
**Replies:** 8\
**Last updated:** [July 25, 2023, 11:44am UTC](https://discourse.julialang.org/t/cant-make-the-animation-work/101934 "2023-07-25T11:44:54Z")

</div>

using DifferentialEquations using Plots function rotchain!(du, u, p, x) # Differential equation of the rotating chain in 3D w, g, μ = p # Unpack the parameters du\[1\] = u\[2\] du\[2\] = -u\[2\]/x + (μ \* g) / (…

---

## [Does BBox work with GridLayout?](https://discourse.julialang.org/t/does-bbox-work-with-gridlayout/102023)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 3\
**Last updated:** [July 25, 2023, 11:03am UTC](https://discourse.julialang.org/t/does-bbox-work-with-gridlayout/102023 "2023-07-25T11:03:15Z")

</div>

I want to create a graph with multiple axis and move them across the plot. I worked perfectly with Figure(), but do not work with GridLayout(), which I need to make combined figure. How can I solve this problem? How it…

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

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