# Latest

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

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

**Page:** 371

---

## [Do you have "General.tar.gz" in your \`.julia/registries/\`?](https://discourse.julialang.org/t/do-you-have-general-tar-gz-in-your-julia-registries/115234)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 8:25pm UTC](https://discourse.julialang.org/t/do-you-have-general-tar-gz-in-your-julia-registries/115234 "2024-07-04T20:25:52Z")

</div>

Simple question: Do you have “General.tar.gz” in your .julia/registries/ (or equivalent)? You can check it, for example, by: julia\> readdir(joinpath(DEPOT\_PATH\[1\], "registries")) 3-element Vector{String}: "General" …

---

## [Handcalcs.jl - For more readable calculations](https://discourse.julialang.org/t/handcalcs-jl-for-more-readable-calculations/109891)

<div class="topic-metadata">

**Author:** [@co1emi11er](https://discourse.julialang.org/u/co1emi11er)\
**Replies:** 27\
**Last updated:** [July 4, 2024, 4:23pm UTC](https://discourse.julialang.org/t/handcalcs-jl-for-more-readable-calculations/109891 "2024-07-04T16:23:34Z")

</div>

Hello Julia community! I am excited to announce my first registered package Handcalcs.jl! This package is inspired by the handcalcs.py package in python. It is designed to be used in either jupyter or pluto. It will re…

---

## [Get indices of points in convex hull](https://discourse.julialang.org/t/get-indices-of-points-in-convex-hull/116320)

<div class="topic-metadata">

**Author:** [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 3:14pm UTC](https://discourse.julialang.org/t/get-indices-of-points-in-convex-hull/116320 "2024-07-04T15:14:04Z")

</div>

LazySets.jl contains the function convex\_hull. to get the points that form the convex hull of a set of points. julia\> x = rand(10); y = rand(10); julia\> t = map(x, y) do xi, yi \[xi, yi\] end; julia\> h…

---

## [Volume of a Convex Hull](https://discourse.julialang.org/t/volume-of-a-convex-hull/116629)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 3:07pm UTC](https://discourse.julialang.org/t/volume-of-a-convex-hull/116629 "2024-07-04T15:07:00Z")

</div>

It is possible to compute the volume of a convex hull in julia? For example from a matrix of n rows and m columns?

---

## [How to minimize the variance of time intervals between scheduled slots?](https://discourse.julialang.org/t/how-to-minimize-the-variance-of-time-intervals-between-scheduled-slots/116591)

<div class="topic-metadata">

**Author:** [@scheidan1](https://discourse.julialang.org/u/scheidan1)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 2:37pm UTC](https://discourse.julialang.org/t/how-to-minimize-the-variance-of-time-intervals-between-scheduled-slots/116591 "2024-07-04T14:37:53Z")

</div>

Hi, I’m trying to setup an optimization in JuMP. I do not have much experience in this field but it seems trivial: The aim is assigns speaker to slots with respect to some conditions. I want to minimizes the variance o…

---

## [Is it possible to use @example in docstrings?](https://discourse.julialang.org/t/is-it-possible-to-use-example-in-docstrings/100383)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 8\
**Last updated:** [July 4, 2024, 2:33pm UTC](https://discourse.julialang.org/t/is-it-possible-to-use-example-in-docstrings/100383 "2024-07-04T14:33:57Z")

</div>

I would like to use the @example in my docstrings so that it is displayed in the api section of the documentation. The code is displayed in the documentation, but not the output. Is there a way to make it work?

---

## [Themes : Setting Default Properties: How do they work in Makie?](https://discourse.julialang.org/t/themes-setting-default-properties-how-do-they-work-in-makie/116626)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 0\
**Last updated:** [July 4, 2024, 12:21pm UTC](https://discourse.julialang.org/t/themes-setting-default-properties-how-do-they-work-in-makie/116626 "2024-07-04T12:21:52Z")

</div>

I’ve just begun diving deeper into Makie. How do themes work? What attributes need you to call a parent Struct and what attributes can you call without a struct? I can’t set a default Scene camera for instance. I can s…

---

## [Update an external Observable in Makie recipe](https://discourse.julialang.org/t/update-an-external-observable-in-makie-recipe/116617)

<div class="topic-metadata">

**Author:** [@NicoD](https://discourse.julialang.org/u/NicoD)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 12:17pm UTC](https://discourse.julialang.org/t/update-an-external-observable-in-makie-recipe/116617 "2024-07-04T12:17:35Z")

</div>

In Julia, an observable can be passed as argument to a function, and when the function updates its value, the changes are visible from outside the function (the observable declared outside is updated). Simple working ex…

---

## [Join() on iterator containing missing returns string containing "missing"](https://discourse.julialang.org/t/join-on-iterator-containing-missing-returns-string-containing-missing/116623)

<div class="topic-metadata">

**Author:** [@flxho](https://discourse.julialang.org/u/flxho)\
**Replies:** 1\
**Last updated:** [July 4, 2024, 12:07pm UTC](https://discourse.julialang.org/t/join-on-iterator-containing-missing-returns-string-containing-missing/116623 "2024-07-04T12:07:49Z")

</div>

When executing join(\[missing\]), the result is the String "missing". Is this intended behavior? I would have expected missing as a result. Is this by intention?

---

## [Can calling finalize lead to a double free?](https://discourse.julialang.org/t/can-calling-finalize-lead-to-a-double-free/116612)

<div class="topic-metadata">

**Author:** [@nhz2](https://discourse.julialang.org/u/nhz2)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 10:44am UTC](https://discourse.julialang.org/t/can-calling-finalize-lead-to-a-double-free/116612 "2024-07-04T10:44:55Z")

</div>

Are finalizers guaranteed to only run at most one time? Is there any way for a finalizer to somehow get called twice, for example, if finalize is called in multiple other finalizers, or manually called in different threa…

---

## [Automatic x/y lims cut off markers](https://discourse.julialang.org/t/automatic-x-y-lims-cut-off-markers/116582)

<div class="topic-metadata">

**Author:** [@jerlich](https://discourse.julialang.org/u/jerlich)\
**Replies:** 3\
**Last updated:** [July 4, 2024, 10:33am UTC](https://discourse.julialang.org/t/automatic-x-y-lims-cut-off-markers/116582 "2024-07-04T10:33:25Z")

</div>

when using large markers, the edge of the marker is outside of the x / y lims. e.g: scatter(\[1,2,1,2\],\[1,1,2,2\].\*0.5; markersize=60, marker='◯', figure=(;size=(200,200))) Should the auto x/y lims take into a…

---

## [All Types Except One](https://discourse.julialang.org/t/all-types-except-one/116611)

<div class="topic-metadata">

**Author:** [@alfaromartino](https://discourse.julialang.org/u/alfaromartino)\
**Replies:** 6\
**Last updated:** [July 4, 2024, 10:18am UTC](https://discourse.julialang.org/t/all-types-except-one/116611 "2024-07-04T10:18:39Z")

</div>

Is there any way to simply that I want a type that includes everything but one? I’d expect a syntax like Union{Number \\ Bool, String} I saw the answer below, but it seems that the function doesn’t exist anymore

---

## [How can I improve the computational performance of my code (ODEProblem solving)?](https://discourse.julialang.org/t/how-can-i-improve-the-computational-performance-of-my-code-odeproblem-solving/114425)

<div class="topic-metadata">

**Author:** [@chooron](https://discourse.julialang.org/u/chooron)\
**Replies:** 8\
**Last updated:** [July 4, 2024, 9:33am UTC](https://discourse.julialang.org/t/how-can-i-improve-the-computational-performance-of-my-code-odeproblem-solving/114425 "2024-07-04T09:33:20Z")

</div>

I am currently building a library that can flexibly solve and optimize a variety of hydrological models (including some equations), which typically belongs to the ODEProblem. However, to ensure the flexibility of the lib…

---

## [Is exponential Solar Power growth happening without the general public knowing?](https://discourse.julialang.org/t/is-exponential-solar-power-growth-happening-without-the-general-public-knowing/116557)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 7\
**Last updated:** [July 4, 2024, 9:30am UTC](https://discourse.julialang.org/t/is-exponential-solar-power-growth-happening-without-the-general-public-knowing/116557 "2024-07-04T09:30:44Z")

</div>

As far a most people on earth is concern, Solar Power is growing slowly but steadily. But is exponential growth happening without most people even noticing it? Whereas nuclear power is barely growing, and is shrinking a…

---

## [Save a fitted Turing model to disk](https://discourse.julialang.org/t/save-a-fitted-turing-model-to-disk/116396)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 8:49am UTC](https://discourse.julialang.org/t/save-a-fitted-turing-model-to-disk/116396 "2024-07-04T08:49:19Z")

</div>

I am struggling to find the most straightforward way (using as little additional packages as possible) to save a Chains MCMC chain object (obtained from sampling from a Turing model) on the disk. I would like to be able…

---

## [Using orthogonal collocation method solve PDE of adsorption chromatography model](https://discourse.julialang.org/t/using-orthogonal-collocation-method-solve-pde-of-adsorption-chromatography-model/114413)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 4\
**Last updated:** [July 4, 2024, 8:44am UTC](https://discourse.julialang.org/t/using-orthogonal-collocation-method-solve-pde-of-adsorption-chromatography-model/114413 "2024-07-04T08:44:21Z")

</div>

Chromatographic equation with diffusion： \\frac{\\partial c}{\\partial t} + \\frac{1 - \\epsilon}{\\epsilon} \\frac{\\partial q}{\\partial t} + u \\frac{\\partial c}{\\partial x} = D \\frac{\\partial^2 c}{\\partial x^2} \\frac{\\part…

---

## [Continuous versions of Poisson, Binomial, NegativeBinomial](https://discourse.julialang.org/t/continuous-versions-of-poisson-binomial-negativebinomial/115781)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 5\
**Last updated:** [July 4, 2024, 8:44am UTC](https://discourse.julialang.org/t/continuous-versions-of-poisson-binomial-negativebinomial/115781 "2024-07-04T08:44:08Z")

</div>

Dear All, For one of my projects, I need to have continuous versions of the Poisson, Binomial and NegativeBinomial distributions, along the lines of Padellini and Rue. Before I start the tedious task of porting these ov…

---

## [Solving differential equations for multi-component fluid flow](https://discourse.julialang.org/t/solving-differential-equations-for-multi-component-fluid-flow/116254)

<div class="topic-metadata">

**Author:** [@DanaO](https://discourse.julialang.org/u/DanaO)\
**Replies:** 7\
**Last updated:** [July 4, 2024, 8:28am UTC](https://discourse.julialang.org/t/solving-differential-equations-for-multi-component-fluid-flow/116254 "2024-07-04T08:28:12Z")

</div>

Hello everyone, I would like to model a multi-component, isothermal gas flow in a 1D pipeline. To do this, I would like to solve the following simplified differential equations: \\quad \\frac{\\partial p}{\\partial t} = -…

---

## [How to output the first integer solution found in B&B process in Mosek](https://discourse.julialang.org/t/how-to-output-the-first-integer-solution-found-in-b-b-process-in-mosek/116462)

<div class="topic-metadata">

**Author:** [@izng](https://discourse.julialang.org/u/izng)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 7:34am UTC](https://discourse.julialang.org/t/how-to-output-the-first-integer-solution-found-in-b-b-process-in-mosek/116462 "2024-07-04T07:34:18Z")

</div>

Hi, I want to know how to output the first integer solution and its objective value found within B&B process in Mosek.

---

## [Readers–writer lock using DataFrame](https://discourse.julialang.org/t/readers-writer-lock-using-dataframe/116550)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 6\
**Last updated:** [July 4, 2024, 4:49am UTC](https://discourse.julialang.org/t/readers-writer-lock-using-dataframe/116550 "2024-07-04T04:49:51Z")

</div>

Hi, I have an application where one async task updates a DataFrame with new data every minute, while multiple tasks read the DataFrame at random times. I need to make this thread-safe, possibly by using a lock, to preve…

---

## [Gridspace search different distance in each dimension](https://discourse.julialang.org/t/gridspace-search-different-distance-in-each-dimension/116287)

<div class="topic-metadata">

**Author:** [@sea\_slug](https://discourse.julialang.org/u/sea_slug)\
**Replies:** 2\
**Last updated:** [July 4, 2024, 3:50am UTC](https://discourse.julialang.org/t/gridspace-search-different-distance-in-each-dimension/116287 "2024-07-04T03:50:28Z")

</div>

I’m using agents.jl to create an ABM. Looking at the help for GridSpace I should be able to search different distances for each of the dimensions in my GridSpace (assuming metric = :chebyshev) with functions nearby\_ids() …

---

## ["Explainability is Not a Game"](https://discourse.julialang.org/t/explainability-is-not-a-game/116553)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 1\
**Last updated:** [July 4, 2024, 12:52am UTC](https://discourse.julialang.org/t/explainability-is-not-a-game/116553 "2024-07-04T00:52:02Z")

</div>

https://cacm.acm.org/research/explainability-is-not-a-game/

---

## [Using an SQLite table as a Query.jl data source (or, best way to left-join a DataFrame or Vector with a very large sqlite table)](https://discourse.julialang.org/t/using-an-sqlite-table-as-a-query-jl-data-source-or-best-way-to-left-join-a-dataframe-or-vector-with-a-very-large-sqlite-table/116410)

<div class="topic-metadata">

**Author:** [@sleak](https://discourse.julialang.org/u/sleak)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 10:50pm UTC](https://discourse.julialang.org/t/using-an-sqlite-table-as-a-query-jl-data-source-or-best-way-to-left-join-a-dataframe-or-vector-with-a-very-large-sqlite-table/116410 "2024-07-03T22:50:24Z")

</div>

I have a vector (of strings) that I want to left-join with an SQLite table (to find an “id” corresponding to each string). The SQLite table is too big to load into memory - but the left join should return only as many ro…

---

## [Multi-step prediction of autoregressive model from StatsModels](https://discourse.julialang.org/t/multi-step-prediction-of-autoregressive-model-from-statsmodels/113089)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 4\
**Last updated:** [July 3, 2024, 7:43pm UTC](https://discourse.julialang.org/t/multi-step-prediction-of-autoregressive-model-from-statsmodels/113089 "2024-07-03T19:43:50Z")

</div>

If I have some electricity demand, it is reasonable to assume that it will be similar to the day before. So with hourly data, 24 steps before. Additional influences are also present: using StatsModels, DataFrames, GLM N…

---

## [Assign solution set to a matrix](https://discourse.julialang.org/t/assign-solution-set-to-a-matrix/116600)

<div class="topic-metadata">

**Author:** [@Iverson\_Wang](https://discourse.julialang.org/u/Iverson_Wang)\
**Replies:** 0\
**Last updated:** [July 3, 2024, 5:13pm UTC](https://discourse.julialang.org/t/assign-solution-set-to-a-matrix/116600 "2024-07-03T17:13:57Z")

</div>

Here is the set of equations that I get the solutions: using HomotopyContinuation @var a2 a3 b2 b3 s3=1 + a2^3 + a3^3 s2t= 3(a2^2)\*b2 + 3(a3^2)\*b3 st2= 3a2\*(b2^2) + 3a3\*(b3^2) t3=1 + b2^3 + b3^3 f=System(\[s3,s2t,s…

---

## [Effects of using empty!(scene) in Makie.jl](https://discourse.julialang.org/t/effects-of-using-empty-scene-in-makie-jl/116570)

<div class="topic-metadata">

**Author:** [@Jeff\_Wack](https://discourse.julialang.org/u/Jeff_Wack)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 5:03pm UTC](https://discourse.julialang.org/t/effects-of-using-empty-scene-in-makie-jl/116570 "2024-07-03T17:03:59Z")

</div>

The following script throws an error: using CairoMakie s = Scene() scatter!(s,\[0,0,1/2,1/2\],\[0,1/2,0,1/2\]) display(s) empty!(s) scatter!(s,\[0,0,-1/2,-1/2\],\[0,-1/2,0,-1/2\]) display(s) KeyError: key :markercolor…

---

## [Using the Integrator block from ModelingToolkitStandardLibrary with vector input](https://discourse.julialang.org/t/using-the-integrator-block-from-modelingtoolkitstandardlibrary-with-vector-input/116593)

<div class="topic-metadata">

**Author:** [@a\_tudor\_b](https://discourse.julialang.org/u/a_tudor_b)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 4:22pm UTC](https://discourse.julialang.org/t/using-the-integrator-block-from-modelingtoolkitstandardlibrary-with-vector-input/116593 "2024-07-03T16:22:57Z")

</div>

Hi, I’m trying to build a multi-input multi-output control system using ModelingToolkit and the ModelingToolkitStandardLibrary. I’ve come to the Integrator block and I can’t figure out how to configure it for a vector i…

---

## [Instability in StatsModels.jl term creation](https://discourse.julialang.org/t/instability-in-statsmodels-jl-term-creation/116571)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 4:12pm UTC](https://discourse.julialang.org/t/instability-in-statsmodels-jl-term-creation/116571 "2024-07-03T16:12:04Z")

</div>

I am trying to follow closely the documentation of StatsModels.jl to get a function term working as syntaxic sugar to define survival response in regression models. The issue is that i get a lot of type instabilities… I …

---

## [Bad performance from parametric struct dispatch](https://discourse.julialang.org/t/bad-performance-from-parametric-struct-dispatch/116594)

<div class="topic-metadata">

**Author:** [@quantumtwist](https://discourse.julialang.org/u/quantumtwist)\
**Replies:** 9\
**Last updated:** [July 3, 2024, 4:03pm UTC](https://discourse.julialang.org/t/bad-performance-from-parametric-struct-dispatch/116594 "2024-07-03T16:03:30Z")

</div>

While trying to optimize the hot loop of my code, I ran into a very strange performance footgun that is reducing the speed of a simple function by at least ~100ns, which is a 10x performance hit for my use case. Questio…

---

## [Jupyter and Jupytext through IJulia.jl (Jupytext does not really work)](https://discourse.julialang.org/t/jupyter-and-jupytext-through-ijulia-jl-jupytext-does-not-really-work/116330)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 4\
**Last updated:** [July 3, 2024, 3:51pm UTC](https://discourse.julialang.org/t/jupyter-and-jupytext-through-ijulia-jl-jupytext-does-not-really-work/116330 "2024-07-03T15:51:34Z")

</div>

Is anyone using IJulia to provide jupyter-lab and employing the jupytext extension? I was unable to configure my Arch Linux do to so. I did a fresh install of Julia 1.10.4, then installed the IJulia in an environment, an…

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

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