# Latest

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

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

**Page:** 470

---

## [Julia on Atom, no uber-juno found](https://discourse.julialang.org/t/julia-on-atom-no-uber-juno-found/110966)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 7\
**Last updated:** [March 1, 2024, 2:25pm UTC](https://discourse.julialang.org/t/julia-on-atom-no-uber-juno-found/110966 "2024-03-01T14:25:47Z")

</div>

Hello, I usually run Julia with Atom/Juno, but I had to reinstall the whole operative system (Ubuntu 22.04) and now the new Atom installation does not find uber-juno, juno, and actually does not give any packages: I…

---

## [How to make a vector of observables in GLMakie](https://discourse.julialang.org/t/how-to-make-a-vector-of-observables-in-glmakie/111012)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 2:22pm UTC](https://discourse.julialang.org/t/how-to-make-a-vector-of-observables-in-glmakie/111012 "2024-03-01T14:22:00Z")

</div>

I am trying to make an interactive plot of a SIV model using GLMakie. I have created the parameters as observable. I now need to make the parameters to pass to the solver. One is u0 that stores the initial values of the …

---

## [Using Gridap for a 1D heat transfer equation](https://discourse.julialang.org/t/using-gridap-for-a-1d-heat-transfer-equation/111010)

<div class="topic-metadata">

**Author:** [@Mishal](https://discourse.julialang.org/u/Mishal)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 1:29pm UTC](https://discourse.julialang.org/t/using-gridap-for-a-1d-heat-transfer-equation/111010 "2024-03-01T13:29:22Z")

</div>

Hi Guys So I have just started my journey learning Julia and really keen on Starting to use Gridap. I am still brushing up my knowledge on various topics. Please refer to the below code, this code uses the differential…

---

## [Troubleshooting compatibility issues (preventing RL from downgrading Metal to 0.2)](https://discourse.julialang.org/t/troubleshooting-compatibility-issues-preventing-rl-from-downgrading-metal-to-0-2/110651)

<div class="topic-metadata">

**Author:** [@joelreymont](https://discourse.julialang.org/u/joelreymont)\
**Replies:** 10\
**Last updated:** [March 1, 2024, 1:20pm UTC](https://discourse.julialang.org/t/troubleshooting-compatibility-issues-preventing-rl-from-downgrading-metal-to-0-2/110651 "2024-03-01T13:20:57Z")

</div>

I find that installing ReinforcementLearning downgrades my Metal to version 0.2. This cuts my ability to run Lux on the Apple Silicon GPU, for example. I’m new to Julia and haven’t been able to figure out who requires Me…

---

## [Survival analysis in Julia](https://discourse.julialang.org/t/survival-analysis-in-julia/969)

<div class="topic-metadata">

**Author:** [@piever](https://discourse.julialang.org/u/piever)\
**Replies:** 22\
**Last updated:** [March 1, 2024, 12:33pm UTC](https://discourse.julialang.org/t/survival-analysis-in-julia/969 "2024-03-01T12:33:11Z")

</div>

Hi all, What are good packages for survival analysis in Julia (i.e. working with truncated data, Kaplan-Meier estimator, Cox model and so on…)? So far I only found packages that seemed incomplete/abandoned (e.g.\[https:/…

---

## [The Spanish pangram on the JuliaMono website is incomplete](https://discourse.julialang.org/t/the-spanish-pangram-on-the-juliamono-website-is-incomplete/110996)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 11:57am UTC](https://discourse.julialang.org/t/the-spanish-pangram-on-the-juliamono-website-is-incomplete/110996 "2024-03-01T11:57:39Z")

</div>

It lacks the word: “exquisita”. The complete sentence should be: “Benjamín pidió una bebida de kiwi y fresa. Noé, sin vergüenza, la más exquisita champaña del menú.” I can’t find the website repository. How can I contac…

---

## [Trouble with function calls](https://discourse.julialang.org/t/trouble-with-function-calls/110940)

<div class="topic-metadata">

**Author:** [@andreasvarga](https://discourse.julialang.org/u/andreasvarga)\
**Replies:** 5\
**Last updated:** [March 1, 2024, 11:34am UTC](https://discourse.julialang.org/t/trouble-with-function-calls/110940 "2024-03-01T11:34:57Z")

</div>

The following commands produce a side effect which I can not explain: julia\> using LinearAlgebra julia\> A = 2\*Matrix(I(2)) 2×2 Matrix{Int64}: 2 0 0 2 julia\> B = 3\*Matrix(I(2)) 2×2 Matrix{Int64}: 3 0 0 3 julia\>…

---

## [Difference between \[1, 2, 3, 4\] / \[1, 2, 3, 4\] vs \[1, 2, 3, 4\] ./ \[1, 2, 3, 4\]](https://discourse.julialang.org/t/difference-between-1-2-3-4-1-2-3-4-vs-1-2-3-4-1-2-3-4/110999)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 9\
**Last updated:** [March 1, 2024, 10:58am UTC](https://discourse.julialang.org/t/difference-between-1-2-3-4-1-2-3-4-vs-1-2-3-4-1-2-3-4/110999 "2024-03-01T10:58:50Z")

</div>

Hello, Does someone know what exactly happens in background when we do \[1, 2, 3, 4\] / \[1, 2, 3, 4\]. For \[1, 2, 3, 4\] ./ \[1, 2, 3, 4\] is clear that it’s doing element-wise division as shown below. But what about \[1, 2…

---

## [Strange method overwriting case -\> precompilation issue](https://discourse.julialang.org/t/strange-method-overwriting-case-precompilation-issue/110835)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 8\
**Last updated:** [March 1, 2024, 10:28am UTC](https://discourse.julialang.org/t/strange-method-overwriting-case-precompilation-issue/110835 "2024-03-01T10:28:37Z")

</div>

Hey, I have a module: Arithmetics.jl I have precompilation issue due to. mean(arr; dims) = sum(arr, dims=dims) / prod(size(arr, r) for r in dims) mean(arr) = sum(arr) / length(arr) It says that mean(arr) is overwritt…

---

## [Getting quarto and IJulia to work](https://discourse.julialang.org/t/getting-quarto-and-ijulia-to-work/110939)

<div class="topic-metadata">

**Author:** [@mateuszbaran](https://discourse.julialang.org/u/mateuszbaran)\
**Replies:** 11\
**Last updated:** [March 1, 2024, 10:04am UTC](https://discourse.julialang.org/t/getting-quarto-and-ijulia-to-work/110939 "2024-03-01T10:04:17Z")

</div>

I have some issues getting Quarto and IJulia to work on my computer (Linux Mint) and standard tips don’t seem to work. What happens is the following: Trying to render a Quarto notebook results in the following error me…

---

## [ERROR: LoadError: InitError: UndefVarError: \`GR\_jll\` not defined](https://discourse.julialang.org/t/error-loaderror-initerror-undefvarerror-gr-jll-not-defined/110945)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 31\
**Last updated:** [March 1, 2024, 9:19am UTC](https://discourse.julialang.org/t/error-loaderror-initerror-undefvarerror-gr-jll-not-defined/110945 "2024-03-01T09:19:30Z")

</div>

It reports error when using Plots: Precompiling project... ✗ GR\_jll ✗ Plots 43 dependencies successfully precompiled in 44 seconds. 123 already precompiled. 1 skipped during auto due to previous errors. 2 depend…

---

## [How to redirect messages from worker procecces into \`stderr\` on the master procecces](https://discourse.julialang.org/t/how-to-redirect-messages-from-worker-procecces-into-stderr-on-the-master-procecces/111000)

<div class="topic-metadata">

**Author:** [@mdyuki](https://discourse.julialang.org/u/mdyuki)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 8:30am UTC](https://discourse.julialang.org/t/how-to-redirect-messages-from-worker-procecces-into-stderr-on-the-master-procecces/111000 "2024-03-01T08:30:40Z")

</div>

Hello, I am writing a program that uses Distributed package for parallelization. I have a question about messages passed from the workers to master. It seems to be printed on the stdout, even if the message is originally…

---

## [Preallocation and data race in parallelization](https://discourse.julialang.org/t/preallocation-and-data-race-in-parallelization/110831)

<div class="topic-metadata">

**Author:** [@physh](https://discourse.julialang.org/u/physh)\
**Replies:** 9\
**Last updated:** [March 1, 2024, 8:16am UTC](https://discourse.julialang.org/t/preallocation-and-data-race-in-parallelization/110831 "2024-03-01T08:16:18Z")

</div>

Hi all, I wonder what is the best way to deal with temporary arrays in function calls within a parallelized calculation. The (very reduced) structure of my code is something like function fun1() p = SA\[1,2,3,4\] …

---

## [BARON - ERROR: IOError: could not spawn](https://discourse.julialang.org/t/baron-error-ioerror-could-not-spawn/44430)

<div class="topic-metadata">

**Author:** [@trathi](https://discourse.julialang.org/u/trathi)\
**Replies:** 16\
**Last updated:** [March 1, 2024, 8:05am UTC](https://discourse.julialang.org/t/baron-error-ioerror-could-not-spawn/44430 "2024-03-01T08:05:59Z")

</div>

I am solving a non-linear optimization problem using BARON. The BARON.jl package version I am using is 0.6.2 and it seems to be working fine. But after I update the package to 0.6.3 or 0.6.4, following error is displayed…

---

## [How to make a air mouse using webcam using julia](https://discourse.julialang.org/t/how-to-make-a-air-mouse-using-webcam-using-julia/110993)

<div class="topic-metadata">

**Author:** [@Sujan\_Das](https://discourse.julialang.org/u/Sujan_Das)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 4:34am UTC](https://discourse.julialang.org/t/how-to-make-a-air-mouse-using-webcam-using-julia/110993 "2024-03-01T04:34:21Z")

</div>

Please help me out with the required packages and if possible a guide to create my project

---

## [Plots causes Julia exit](https://discourse.julialang.org/t/plots-causes-julia-exit/110980)

<div class="topic-metadata">

**Author:** [@rtapia](https://discourse.julialang.org/u/rtapia)\
**Replies:** 3\
**Last updated:** [March 1, 2024, 2:13am UTC](https://discourse.julialang.org/t/plots-causes-julia-exit/110980 "2024-03-01T02:13:34Z")

</div>

I am using PyPlot and as soon as I define a figure Julia closes instantly. I am new to Julia and PyPlot in general. Windows 11, Julia 1.10.1 Thanks

---

## [PolyesterForwardDiff - backend choice is not available](https://discourse.julialang.org/t/polyesterforwarddiff-backend-choice-is-not-available/110985)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 4\
**Last updated:** [March 1, 2024, 1:25am UTC](https://discourse.julialang.org/t/polyesterforwarddiff-backend-choice-is-not-available/110985 "2024-03-01T01:25:57Z")

</div>

Hi everybody, I’m trying to use PolyesterForwardDiff in my code but stumbling upon an error for which the MWE is inspired by the doc: julia\> using Optimization, OptimizationOptimJL, ForwardDiff, PolyesterForwardDiff j…

---

## [LinearAlgebra help](https://discourse.julialang.org/t/linearalgebra-help/110964)

<div class="topic-metadata">

**Author:** [@tushargayan2324](https://discourse.julialang.org/u/tushargayan2324)\
**Replies:** 4\
**Last updated:** [February 29, 2024, 6:23pm UTC](https://discourse.julialang.org/t/linearalgebra-help/110964 "2024-02-29T18:23:36Z")

</div>

I am trying to solve a certain question; Question: There is a 2-d square grid of nodes, with resistors placed randomly to connect those nodes. And eventually, those connections may extend from one end to the other end. …

---

## [Semantics of :: in return type vs. argument type annotations](https://discourse.julialang.org/t/semantics-of-in-return-type-vs-argument-type-annotations/109838)

<div class="topic-metadata">

**Author:** [@mnemnion](https://discourse.julialang.org/u/mnemnion)\
**Replies:** 76\
**Last updated:** [March 1, 2024, 12:47am UTC](https://discourse.julialang.org/t/semantics-of-in-return-type-vs-argument-type-annotations/109838 "2024-03-01T00:47:03Z")

</div>

That utterly baffled me when I found out. A return annotation has the same appearance as an argument annotation, but a subtly different semantic. I still use them, but I don’t like having to think about whether I shoul…

---

## [Multi-threads error (undefRefError) in simple ABM with Agents.jl](https://discourse.julialang.org/t/multi-threads-error-undefreferror-in-simple-abm-with-agents-jl/110900)

<div class="topic-metadata">

**Author:** [@elisadonati23](https://discourse.julialang.org/u/elisadonati23)\
**Replies:** 21\
**Last updated:** [February 29, 2024, 8:57pm UTC](https://discourse.julialang.org/t/multi-threads-error-undefreferror-in-simple-abm-with-agents-jl/110900 "2024-02-29T20:57:26Z")

</div>

Dear all, I am working on an ABM and now I am trying to improve performance through in-model parallelization using @threads since I have 10^6 agents (I am working with fish populations and simulation is in 0D for now, I …

---

## [What is the best way to introduce multiple variables in column generation scheme?](https://discourse.julialang.org/t/what-is-the-best-way-to-introduce-multiple-variables-in-column-generation-scheme/110963)

<div class="topic-metadata">

**Author:** [@lucasximenes](https://discourse.julialang.org/u/lucasximenes)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 8:09pm UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-introduce-multiple-variables-in-column-generation-scheme/110963 "2024-02-29T20:09:56Z")

</div>

Hello! I was wondering what is the optimal way to introduce a group of new variables into an existing variable container, and then update their values in the objective function. My main concern is that my current implem…

---

## [\`in\` vs \`=\` in loop expressions](https://discourse.julialang.org/t/in-vs-in-loop-expressions/110569)

<div class="topic-metadata">

**Author:** [@Mason](https://discourse.julialang.org/u/Mason)\
**Replies:** 3\
**Last updated:** [February 25, 2024, 2:34am UTC](https://discourse.julialang.org/t/in-vs-in-loop-expressions/110569 "2024-02-25T02:34:22Z")

</div>

Continuing the discussion from Supporting syntax \`x not in y\` as alias for \`!(x in y)\`: While I agree, I will note that the parser disagrees with you, and literally does treat in as syntactic sugar for = in loop expres…

---

## [TimerOutputs.jl : How to correctly stop timing?](https://discourse.julialang.org/t/timeroutputs-jl-how-to-correctly-stop-timing/110924)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 1\
**Last updated:** [February 29, 2024, 7:24pm UTC](https://discourse.julialang.org/t/timeroutputs-jl-how-to-correctly-stop-timing/110924 "2024-02-29T19:24:44Z")

</div>

Hi all! I have a need to “freeze” a timer object and ensure that it stops counting the time. I have the following example code: using TimerOutputs # Create a new timer object const MyTimer = TimerOutput() function si…

---

## [How to compile Android library](https://discourse.julialang.org/t/how-to-compile-android-library/83519)

<div class="topic-metadata">

**Author:** [@ZR233](https://discourse.julialang.org/u/ZR233)\
**Replies:** 1\
**Last updated:** [February 29, 2024, 7:08pm UTC](https://discourse.julialang.org/t/how-to-compile-android-library/83519 "2024-02-29T19:08:50Z")

</div>

I want to make a library for android app, but PackageCompiler doc didn’t tell how to do it.

---

## [Change ylabel after twinx is generated?](https://discourse.julialang.org/t/change-ylabel-after-twinx-is-generated/110969)

<div class="topic-metadata">

**Author:** [@Iddingsite](https://discourse.julialang.org/u/Iddingsite)\
**Replies:** 1\
**Last updated:** [February 29, 2024, 6:20pm UTC](https://discourse.julialang.org/t/change-ylabel-after-twinx-is-generated/110969 "2024-02-29T18:20:09Z")

</div>

Hey everyone, I would like to know if it is possible to change only one label name of a simple plot containing a twin axis using Plots. Of course I know that you can do that when calling twinx, but for one of my use, I …

---

## [\`import \<module\>\` makes all objects available without prefix](https://discourse.julialang.org/t/import-module-makes-all-objects-available-without-prefix/110931)

<div class="topic-metadata">

**Author:** [@suiato](https://discourse.julialang.org/u/suiato)\
**Replies:** 3\
**Last updated:** [February 29, 2024, 6:17pm UTC](https://discourse.julialang.org/t/import-module-makes-all-objects-available-without-prefix/110931 "2024-02-29T18:17:00Z")

</div>

I have a simple question: what is import \<module\> supposed to do? Say, a module A.jl is module A export sayA function sayA() println("This is A.") end end and, test.jl is import A sayA() They are in the same di…

---

## [Minimizing a logsumexp function with many terms (Convex.jl)](https://discourse.julialang.org/t/minimizing-a-logsumexp-function-with-many-terms-convex-jl/110853)

<div class="topic-metadata">

**Author:** [@leapsheep](https://discourse.julialang.org/u/leapsheep)\
**Replies:** 11\
**Last updated:** [February 29, 2024, 6:02pm UTC](https://discourse.julialang.org/t/minimizing-a-logsumexp-function-with-many-terms-convex-jl/110853 "2024-02-29T18:02:26Z")

</div>

I am trying to minimize a function that depends on only few parameters, but contains a logsumexp with many terms in the sum, i.e. a function of the form f(x) = \\log \\left(\\sum\_{i=1}^n e^{a\_i \\cdot x}\\right) where where…

---

## [Default constructor for any type?](https://discourse.julialang.org/t/default-constructor-for-any-type/110546)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 94\
**Last updated:** [February 29, 2024, 5:08pm UTC](https://discourse.julialang.org/t/default-constructor-for-any-type/110546 "2024-02-29T17:08:22Z")

</div>

I am trying to create generic defaults in an immutable struct for a parametric type. Say that I am trying to create a linked list, like this: struct List{T} value::T next::RefValue{List{T}} List(value::\_T)…

---

## [List of supported fluids in Clapeyron.jl](https://discourse.julialang.org/t/list-of-supported-fluids-in-clapeyron-jl/110903)

<div class="topic-metadata">

**Author:** [@Sushrut\_Deshpande](https://discourse.julialang.org/u/Sushrut_Deshpande)\
**Replies:** 4\
**Last updated:** [February 29, 2024, 5:04pm UTC](https://discourse.julialang.org/t/list-of-supported-fluids-in-clapeyron-jl/110903 "2024-02-29T17:04:11Z")

</div>

Hello, I am trying to use the Clapeyron.jl package for Thermodynamic properties. My question: is there an available list of the fluids that is supported by default?

---

## [DuckDB.jl and S3?](https://discourse.julialang.org/t/duckdb-jl-and-s3/98738)

<div class="topic-metadata">

**Author:** [@StatisticalMouse](https://discourse.julialang.org/u/StatisticalMouse)\
**Replies:** 13\
**Last updated:** [February 29, 2024, 4:58pm UTC](https://discourse.julialang.org/t/duckdb-jl-and-s3/98738 "2024-02-29T16:58:49Z")

</div>

I noticed to my delight that there is a DuckDB.jl package for DuckDB. I now want to read in some Parquet data from an in-house S3 storage. According to the documentation I need the httpfs extension for DuckDB, but how s…

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

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