# Latest

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

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

**Page:** 236

---

## [Makie - Need Help with Animation](https://discourse.julialang.org/t/makie-need-help-with-animation/124890)

<div class="topic-metadata">

**Author:** [@parf](https://discourse.julialang.org/u/parf)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 8:30pm UTC](https://discourse.julialang.org/t/makie-need-help-with-animation/124890 "2025-01-18T20:30:36Z")

</div>

Hello everyone! I have a function that plots a graph for a given frame (time point): function create\_figure(frame) time = (frame-1)\*t\_step xs = range(0, L, length=500) ys = range(0, L, length=500) zs =…

---

## [Median of complex numbers different from Matlab output](https://discourse.julialang.org/t/median-of-complex-numbers-different-from-matlab-output/117352)

<div class="topic-metadata">

**Author:** [@shindelr](https://discourse.julialang.org/u/shindelr)\
**Replies:** 15\
**Last updated:** [December 2, 2024, 2:14pm UTC](https://discourse.julialang.org/t/median-of-complex-numbers-different-from-matlab-output/117352 "2024-12-02T14:14:36Z")

</div>

Hi there everyone! This is my first ever post in the Julia community and since I’m unfamiliar with the various tags and categories on here, I just put this question in General. I’m currently in the process of porting a …

---

## [Julia can only run as root--- why](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905)

<div class="topic-metadata">

**Author:** [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 7:45pm UTC](https://discourse.julialang.org/t/julia-can-only-run-as-root-why/124905 "2025-01-18T19:45:40Z")

</div>

Hi, after some time I wanted to do something in Julia again, how ever I observe the following error when I start julia as normal user; ERROR: Unable to load dependent library /home/matfi/.julia/julia-1.11.2/bin/../lib/j…

---

## [\[ANN\] Makie v0.22](https://discourse.julialang.org/t/ann-makie-v0-22/124894)

<div class="topic-metadata">

**Author:** [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Replies:** 4\
**Last updated:** [January 18, 2025, 5:46pm UTC](https://discourse.julialang.org/t/ann-makie-v0-22/124894 "2025-01-18T17:46:24Z")

</div>

The next breaking release for Makie is here at last, with lots of fixes and new features! :tada: We’re also excited to announce a new collaboration with the Sovereign Tech Agency for 2024–25! Read all about it and find…

---

## [What is the elegant way to use julia (or/and juliaup) portably?](https://discourse.julialang.org/t/what-is-the-elegant-way-to-use-julia-or-and-juliaup-portably/124899)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 0\
**Last updated:** [January 18, 2025, 4:08pm UTC](https://discourse.julialang.org/t/what-is-the-elegant-way-to-use-julia-or-and-juliaup-portably/124899 "2025-01-18T16:08:33Z")

</div>

If I want to use julia on a portable drive, and keep all the user settings (e.g., the startup.jl file) along with the installation path, and, I also want to update julia and manage its different versions conveniently, th…

---

## [Fine grained control of \_\_precompile\_\_(false)?](https://discourse.julialang.org/t/fine-grained-control-of-precompile-false/124811)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 3\
**Last updated:** [January 18, 2025, 3:28pm UTC](https://discourse.julialang.org/t/fine-grained-control-of-precompile-false/124811 "2025-01-18T15:28:35Z")

</div>

I am mostly using Julia 1.11.2 but sometimes 1.10.7. I have some code where a few function definitions cause a precompile warning and then the precompile fails. I have not been able to figure out a way to fix these fun…

---

## [Question about mutual information calculation](https://discourse.julialang.org/t/question-about-mutual-information-calculation/124884)

<div class="topic-metadata">

**Author:** [@adannenberg](https://discourse.julialang.org/u/adannenberg)\
**Replies:** 5\
**Last updated:** [January 18, 2025, 3:08pm UTC](https://discourse.julialang.org/t/question-about-mutual-information-calculation/124884 "2025-01-18T15:08:39Z")

</div>

I came across this article which points out that A(x,y) = sqrt(1 - exp(-2 \* MI(x,y))) (where MI(x,y) is the mutual information shared by data samples x and y) is a very nice measure of association between x and y. One…

---

## [Is it possible to fetch results from solved model asynchronously](https://discourse.julialang.org/t/is-it-possible-to-fetch-results-from-solved-model-asynchronously/124888)

<div class="topic-metadata">

**Author:** [@Betristor](https://discourse.julialang.org/u/Betristor)\
**Replies:** 1\
**Last updated:** [January 18, 2025, 6:46am UTC](https://discourse.julialang.org/t/is-it-possible-to-fetch-results-from-solved-model-asynchronously/124888 "2025-01-18T06:46:11Z")

</div>

Suppose I have a model as follows: using CSV using JuMP using HiGHS using Random using DataFrames Random.seed!(2025) Z = 3 T = 8760 coef = rand(Float64, (Z,T)) m = Model(HiGHS.Optimizer) @variable(m, x1\[z in 1:Z, t in…

---

## [Ispublic returns wrong result for types](https://discourse.julialang.org/t/ispublic-returns-wrong-result-for-types/124850)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 11\
**Last updated:** [January 18, 2025, 3:30am UTC](https://discourse.julialang.org/t/ispublic-returns-wrong-result-for-types/124850 "2025-01-18T03:30:20Z")

</div>

Even though I have types declared as public, the function Base.ispublic returns false for them. MWE: Creating a minimal package: module PubEx hiworld() = println("Hello World") struct PubStr foo end struct ExpSt…

---

## [Revise doesn't work with macros?](https://discourse.julialang.org/t/revise-doesnt-work-with-macros/124826)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 3\
**Last updated:** [January 18, 2025, 12:25am UTC](https://discourse.julialang.org/t/revise-doesnt-work-with-macros/124826 "2025-01-18T00:25:00Z")

</div>

Can it be true that Revise doesn’t work with macros. I experienced the problem when developing a package that has functions that use a macro. Then when I change the macro, the functions are not updated. But a similar m…

---

## [How to concatenate TypstStrings in Typstry.jl?](https://discourse.julialang.org/t/how-to-concatenate-typststrings-in-typstry-jl/124886)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 2\
**Last updated:** [January 18, 2025, 12:16am UTC](https://discourse.julialang.org/t/how-to-concatenate-typststrings-in-typstry-jl/124886 "2025-01-18T00:16:42Z")

</div>

I’m trying to make a custom string macro that effectively adds some initial boilerplate to the start of a Typst string. The effect would be julia\> T"important" == typst""" #set \`some pretty rule\` important """ true I …

---

## [LU factorisation of a block tridiagonal square matrix](https://discourse.julialang.org/t/lu-factorisation-of-a-block-tridiagonal-square-matrix/124852)

<div class="topic-metadata">

**Author:** [@eveningsilverfox](https://discourse.julialang.org/u/eveningsilverfox)\
**Replies:** 3\
**Last updated:** [January 17, 2025, 8:55pm UTC](https://discourse.julialang.org/t/lu-factorisation-of-a-block-tridiagonal-square-matrix/124852 "2025-01-17T20:55:56Z")

</div>

Following up on Fastest way to perform A \* B \* A’ Given a block tridiagonal matrix X with size NxN, having blocks of size MxM (M\<N and N%M=0), I define A = inv(I-X). I also define B having the same size as A, and it is …

---

## [Efficient tuple concatenation](https://discourse.julialang.org/t/efficient-tuple-concatenation/5398)

<div class="topic-metadata">

**Author:** [@pablosanjose](https://discourse.julialang.org/u/pablosanjose)\
**Replies:** 16\
**Last updated:** [January 17, 2025, 7:42pm UTC](https://discourse.julialang.org/t/efficient-tuple-concatenation/5398 "2025-01-17T19:42:51Z")

</div>

I was needing a way to concatenate an undefined number of tuples. I came up with tuplejoin(t1::Tuple, t2::Tuple, t3...) = tuplejoin((t1..., t2...), t3...) tuplejoin(t::Tuple) = t This works julia\> tuplejoin((1,2),(3,4…

---

## [Computational Chemistry and Materials Science Minisymposium: Call For Proposals](https://discourse.julialang.org/t/computational-chemistry-and-materials-science-minisymposium-call-for-proposals/124883)

<div class="topic-metadata">

**Author:** [@Leticia-maria](https://discourse.julialang.org/u/Leticia-maria)\
**Replies:** 0\
**Last updated:** [January 17, 2025, 7:30pm UTC](https://discourse.julialang.org/t/computational-chemistry-and-materials-science-minisymposium-call-for-proposals/124883 "2025-01-17T19:30:15Z")

</div>

If you’re using Julia in chemistry or materials science (at all , whether or not it specifically uses JuliaMolSim ecosystem tools!), we encourage you to submit a proposal to the Computational Chemistry and Materials Scie…

---

## [Golfing question](https://discourse.julialang.org/t/golfing-question/124864)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 9\
**Last updated:** [January 17, 2025, 4:39pm UTC](https://discourse.julialang.org/t/golfing-question/124864 "2025-01-17T16:39:59Z")

</div>

Hi, I often have the following structure in my code: a function Bar calls a function Foo with multiple outputs and then uses all its outputs to return something (MWE below). Is there a performant way of golfing such func…

---

## [Announcing TinyMachines.jl](https://discourse.julialang.org/t/announcing-tinymachines-jl/124881)

<div class="topic-metadata">

**Author:** [@cirobr](https://discourse.julialang.org/u/cirobr)\
**Replies:** 0\
**Last updated:** [January 17, 2025, 4:02pm UTC](https://discourse.julialang.org/t/announcing-tinymachines-jl/124881 "2025-01-17T16:02:42Z")

</div>

Cheers, Happy to announce my first Julia package, TinyMachines.jl. Module contains compact machine learning models written in Flux.jl for semantic segmentation of images. All of them provide access to internal feature …

---

## [Error: Structure using its function](https://discourse.julialang.org/t/error-structure-using-its-function/124617)

<div class="topic-metadata">

**Author:** [@Bogdan\_Virag](https://discourse.julialang.org/u/Bogdan_Virag)\
**Replies:** 4\
**Last updated:** [January 17, 2025, 3:43pm UTC](https://discourse.julialang.org/t/error-structure-using-its-function/124617 "2025-01-17T15:43:58Z")

</div>

Hi! I want to create this structure for generalized linear models (GLM) but I get the following error message: ERROR: type GLM has no field train! Stacktrace: \[1\] getproperty @ ./Base.jl:49 \[inlined\] \[2\] main() @ …

---

## [Exit the safe mode without running the notebook?](https://discourse.julialang.org/t/exit-the-safe-mode-without-running-the-notebook/121842)

<div class="topic-metadata">

**Author:** [@uri](https://discourse.julialang.org/u/uri)\
**Replies:** 3\
**Last updated:** [January 17, 2025, 3:35pm UTC](https://discourse.julialang.org/t/exit-the-safe-mode-without-running-the-notebook/121842 "2025-01-17T15:35:15Z")

</div>

Hi, I want to open a saved a Pluto notebook as a .jl file but not in safe mode. Is it possible?, may I disable the mode once it is opened or somewhere inside the .jl file before open it? Do something similar to kernel…

---

## [Groupedhist with missing values](https://discourse.julialang.org/t/groupedhist-with-missing-values/124792)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 8\
**Last updated:** [January 17, 2025, 3:13pm UTC](https://discourse.julialang.org/t/groupedhist-with-missing-values/124792 "2025-01-17T15:13:57Z")

</div>

Hi, I have a dataframe df with several columns, among which :P1, whose eltype is Union{Missing,Float64} and :Nome\_Turma, whose eltype is String. I want to make a groupedhist, from StatsPlots.jl (or otherwise), but I get…

---

## [Using MTH229 and SymPy to Convolve 2 Probability Distribution Functions](https://discourse.julialang.org/t/using-mth229-and-sympy-to-convolve-2-probability-distribution-functions/124879)

<div class="topic-metadata">

**Author:** [@PazzyBoardman449](https://discourse.julialang.org/u/PazzyBoardman449)\
**Replies:** 0\
**Last updated:** [January 17, 2025, 2:47pm UTC](https://discourse.julialang.org/t/using-mth229-and-sympy-to-convolve-2-probability-distribution-functions/124879 "2025-01-17T14:47:19Z")

</div>

Hi there, I am trying to plot a probability distribution (PDF) which can only be calculated using integration. Essentially I’m trying to plot the function: P(y) = \\int\_{-\\infty}^{\\infty} P(y|x) P(x) dx Where P(y|x) is…

---

## [Is @fastmath less accurate on M-series macs?](https://discourse.julialang.org/t/is-fastmath-less-accurate-on-m-series-macs/124875)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 7\
**Last updated:** [January 17, 2025, 2:31pm UTC](https://discourse.julialang.org/t/is-fastmath-less-accurate-on-m-series-macs/124875 "2025-01-17T14:31:09Z")

</div>

I have a repo where the CI fails for macOS-latest but succeeds for windows-latest and ubuntu-lastest. The failed tests are accuracy tests. I have yet to write up an isolated minimal working example. Has anyone encountere…

---

## [Calculating statistics of SubArray of CuArray](https://discourse.julialang.org/t/calculating-statistics-of-subarray-of-cuarray/124874)

<div class="topic-metadata">

**Author:** [@chrissm23](https://discourse.julialang.org/u/chrissm23)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 2:13pm UTC](https://discourse.julialang.org/t/calculating-statistics-of-subarray-of-cuarray/124874 "2025-01-17T14:13:14Z")

</div>

Hello everyone! I am working with CuArrays of complex numbers. After some previous processing, I would like to calculate the variance of only the real part of the array along the first dimension. In order to avoid copyi…

---

## [Redirect \`@time\` output into a string](https://discourse.julialang.org/t/redirect-time-output-into-a-string/124872)

<div class="topic-metadata">

**Author:** [@alex180500](https://discourse.julialang.org/u/alex180500)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 1:47pm UTC](https://discourse.julialang.org/t/redirect-time-output-into-a-string/124872 "2025-01-17T13:47:53Z")

</div>

Hello! working in a for loop I want to time a long computation with @time and I want to output the stdout into a string (that i’m using later in the for loop). for \_ in 1:num\_loops @time myvar = longcomputation() en…

---

## [REPL hangs](https://discourse.julialang.org/t/repl-hangs/124410)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 4\
**Last updated:** [January 17, 2025, 1:35pm UTC](https://discourse.julialang.org/t/repl-hangs/124410 "2025-01-17T13:35:14Z")

</div>

Hi all I am having issues with a code snipped in REPL. As seen in the video the REPL hangs (or at least it is VERY slow) at two lines. Surprisingly the first line is a comment line. The other line with the issue is th…

---

## [JuMP - Update constraint with matrix coefficient](https://discourse.julialang.org/t/jump-update-constraint-with-matrix-coefficient/124844)

<div class="topic-metadata">

**Author:** [@luccafaro](https://discourse.julialang.org/u/luccafaro)\
**Replies:** 2\
**Last updated:** [January 17, 2025, 12:43pm UTC](https://discourse.julialang.org/t/jump-update-constraint-with-matrix-coefficient/124844 "2025-01-17T12:43:33Z")

</div>

Hi everyone :grinning: I’m trying to iteratively solve an optimisation problem in which most of the elements (e.g. objective function and constraints) remain the same over the iterations, but the constraint below needs …

---

## [AMDGPU error on Fedora 40](https://discourse.julialang.org/t/amdgpu-error-on-fedora-40/124779)

<div class="topic-metadata">

**Author:** [@billmclean](https://discourse.julialang.org/u/billmclean)\
**Replies:** 3\
**Last updated:** [January 17, 2025, 11:31am UTC](https://discourse.julialang.org/t/amdgpu-error-on-fedora-40/124779 "2025-01-17T11:31:05Z")

</div>

When I run using AMDGPU I get the error message : CommandLine Error: Option 'disassemble' registered more than once! LLVM ERROR: inconsistency in registered CommandLine options \[10292\] signal (6.-6): Aborted in express…

---

## [Do LLMs (chatGPT) help in reducing basic questions happening in discourse (slack)?](https://discourse.julialang.org/t/do-llms-chatgpt-help-in-reducing-basic-questions-happening-in-discourse-slack/124821)

<div class="topic-metadata">

**Author:** [@isentropic](https://discourse.julialang.org/u/isentropic)\
**Replies:** 9\
**Last updated:** [January 17, 2025, 10:53am UTC](https://discourse.julialang.org/t/do-llms-chatgpt-help-in-reducing-basic-questions-happening-in-discourse-slack/124821 "2025-01-17T10:53:07Z")

</div>

Not sure if this has been asked before, if it was please direct me to that thread. I just wonder, if today in 2025 do you there are less questions from students or other newcomers to Julia appearing in Discourse or Slac…

---

## [Does Juliaup have a portable version?](https://discourse.julialang.org/t/does-juliaup-have-a-portable-version/124699)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 3\
**Last updated:** [January 17, 2025, 10:27am UTC](https://discourse.julialang.org/t/does-juliaup-have-a-portable-version/124699 "2025-01-17T10:27:23Z")

</div>

We know that julia has corresponding portable version, but does Juliaup also have a portable version?

---

## [Call for Proposals: JuliaHealth Mini-Symposium at JuliaCon 2025](https://discourse.julialang.org/t/call-for-proposals-juliahealth-mini-symposium-at-juliacon-2025/124463)

<div class="topic-metadata">

**Author:** [@amandanicotina](https://discourse.julialang.org/u/amandanicotina)\
**Replies:** 0\
**Last updated:** [January 6, 2025, 11:50am UTC](https://discourse.julialang.org/t/call-for-proposals-juliahealth-mini-symposium-at-juliacon-2025/124463 "2025-01-06T11:50:27Z")

</div>

The JuliaHealth Admin Team is excited to announce that we will have a JuliaHealth Mini-Symposium at JuliaCon 2025 in Pittsburgh, PA, from July 21–26, 2025! This mini-symposium aims to show how Julia is used in biomedica…

---

## [Engineering with Julia: Call for Proposals](https://discourse.julialang.org/t/engineering-with-julia-call-for-proposals/124841)

<div class="topic-metadata">

**Author:** [@AkchurinDA](https://discourse.julialang.org/u/AkchurinDA)\
**Replies:** 0\
**Last updated:** [January 16, 2025, 4:20pm UTC](https://discourse.julialang.org/t/engineering-with-julia-call-for-proposals/124841 "2025-01-16T16:20:50Z")

</div>

Engineering with Julia We are pleased to invite engineering researchers, industry professionals, and educators to submit their latest work to the “Engineering with Julia” minisymposium, which will be held as part of Juli…

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

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