# Latest

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

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

**Page:** 469

---

## [Events in progress and non exclusive active events](https://discourse.julialang.org/t/events-in-progress-and-non-exclusive-active-events/111077)

<div class="topic-metadata">

**Author:** [@JBH\_84](https://discourse.julialang.org/u/JBH_84)\
**Replies:** 0\
**Last updated:** [March 3, 2024, 12:39am UTC](https://discourse.julialang.org/t/events-in-progress-and-non-exclusive-active-events/111077 "2024-03-03T00:39:32Z")

</div>

Hello I am trying to figure out an efficient way to set up an “events in progress” problem in dataframes.jl. I have two tables. the first is a performance log that tracks what units are doing by hour. The second is an e…

---

## [Why are self-referential struct parameters impossible?](https://discourse.julialang.org/t/why-are-self-referential-struct-parameters-impossible/110982)

<div class="topic-metadata">

**Author:** [@mnemnion](https://discourse.julialang.org/u/mnemnion)\
**Replies:** 19\
**Last updated:** [March 2, 2024, 11:46pm UTC](https://discourse.julialang.org/t/why-are-self-referential-struct-parameters-impossible/110982 "2024-03-02T23:46:18Z")

</div>

Neither of these compiles: struct Tree{V\<:Any,T\<:Union{Tree,Nothing}} value::V left::T right::T end struct Tree{V,T} where {V\<:Any,T\<:Union{Tree,Nothing}} value::V left::T right::T end It m…

---

## [JuMP + Alpine: Handling scalar functions with vector input using @NLexpression](https://discourse.julialang.org/t/jump-alpine-handling-scalar-functions-with-vector-input-using-nlexpression/111019)

<div class="topic-metadata">

**Author:** [@smallpondtom](https://discourse.julialang.org/u/smallpondtom)\
**Replies:** 5\
**Last updated:** [March 2, 2024, 11:13pm UTC](https://discourse.julialang.org/t/jump-alpine-handling-scalar-functions-with-vector-input-using-nlexpression/111019 "2024-03-02T23:13:20Z")

</div>

Hi everyone, I am trying to reproduce this optimization below using JuMP. I’ve written a function below to solve this optimization. function LEDOA(V::Function, V\_dot::Function, N::Int) model = Model(Ipopt.Optim…

---

## [Error deserializing a remote exception from worker 2](https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017)

<div class="topic-metadata">

**Author:** [@kurtspiteri](https://discourse.julialang.org/u/kurtspiteri)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 10:39pm UTC](https://discourse.julialang.org/t/error-deserializing-a-remote-exception-from-worker-2/111017 "2024-03-02T22:39:39Z")

</div>

As from yesterday morning, I keep on getting the following error or something similar every time I try to run something involving some Figure on a Pluto Notebook. The notebook also takes a very long time to load. I have…

---

## [Efficient approach to generate optimised methods for special cases of a general function](https://discourse.julialang.org/t/efficient-approach-to-generate-optimised-methods-for-special-cases-of-a-general-function/110892)

<div class="topic-metadata">

**Author:** [@TimHargreaves](https://discourse.julialang.org/u/TimHargreaves)\
**Replies:** 5\
**Last updated:** [March 2, 2024, 6:46pm UTC](https://discourse.julialang.org/t/efficient-approach-to-generate-optimised-methods-for-special-cases-of-a-general-function/110892 "2024-03-02T18:46:55Z")

</div>

I am a fairly new user of Julia so may have misconceptions about the language’s capabilities and behaviour. Problem Statement I have implemented the most general form of an algorithm I am interested in, which is parame…

---

## [Transform! changes the type of my variable](https://discourse.julialang.org/t/transform-changes-the-type-of-my-variable/110968)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 7\
**Last updated:** [March 2, 2024, 8:36pm UTC](https://discourse.julialang.org/t/transform-changes-the-type-of-my-variable/110968 "2024-03-02T20:36:44Z")

</div>

I have a mix of strings and missing values, so I have defined my DF column to be Union{String,Missing} In rare cases, all the values in this column might be missing. In this case, transform! will convert the column to b…

---

## [Directory issue](https://discourse.julialang.org/t/directory-issue/111055)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 3\
**Last updated:** [March 2, 2024, 9:10pm UTC](https://discourse.julialang.org/t/directory-issue/111055 "2024-03-02T21:10:20Z")

</div>

This is a little code: const file\_path::String = "./try" file\_out = open(file\_path, "w") a::Int64 = 1 write(file\_out, a) close(file\_out) file\_in = open(file\_path, "r") b::Int64 = read(file\_in, Int64) close(file\_in) pri…

---

## [Easy way to update text in terminal (instead of printing more text)?](https://discourse.julialang.org/t/easy-way-to-update-text-in-terminal-instead-of-printing-more-text/81818)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 7\
**Last updated:** [March 2, 2024, 8:50pm UTC](https://discourse.julialang.org/t/easy-way-to-update-text-in-terminal-instead-of-printing-more-text/81818 "2024-03-02T20:50:48Z")

</div>

I would like to show progress of a for loop, updating the text like like “1/100”, “2/200”, until “100/100”. The rest of the program, before or after the loop, would print text in the usual way without changing old text. …

---

## [Makie not triggering on scroll/zoom events](https://discourse.julialang.org/t/makie-not-triggering-on-scroll-zoom-events/111070)

<div class="topic-metadata">

**Author:** [@bryaan](https://discourse.julialang.org/u/bryaan)\
**Replies:** 0\
**Last updated:** [March 2, 2024, 7:48pm UTC](https://discourse.julialang.org/t/makie-not-triggering-on-scroll-zoom-events/111070 "2024-03-02T19:48:17Z")

</div>

I am using this code from docs but I am not getting the event on scroll/zoom. on(events(ax.scene).scroll) do event focus\[\] = false end Any ideas as to why?

---

## [Vcat for Vector{Any}](https://discourse.julialang.org/t/vcat-for-vector-any/111065)

<div class="topic-metadata">

**Author:** [@Enlil50](https://discourse.julialang.org/u/Enlil50)\
**Replies:** 1\
**Last updated:** [March 2, 2024, 3:57pm UTC](https://discourse.julialang.org/t/vcat-for-vector-any/111065 "2024-03-02T15:57:39Z")

</div>

I have this part of code: #can't be change len::Int64 = 4 a = rand(Float64, len) a\_1 = Int64.(floor.(@view a\[1:2:len\])) a\_2 = @view a\[2:2:len\] display(a\_1) #can be changed b = vcat\[Vector{Any}(a\_1), a\_2\] It throws th…

---

## [Plots and PlotlyKaleido version mismatch when using PlutoSliderServer (v0.3.28)](https://discourse.julialang.org/t/plots-and-plotlykaleido-version-mismatch-when-using-plutosliderserver-v0-3-28/111050)

<div class="topic-metadata">

**Author:** [@KajWiik](https://discourse.julialang.org/u/KajWiik)\
**Replies:** 6\
**Last updated:** [March 2, 2024, 1:45pm UTC](https://discourse.julialang.org/t/plots-and-plotlykaleido-version-mismatch-when-using-plutosliderserver-v0-3-28/111050 "2024-03-02T13:45:44Z")

</div>

I am publishing my notebooks using PlutoSliderServer with this .gitlab-ci.yml script. It is strange that locally the notebook renders just fine but the published notebook gives a warning PlotlyKaleido 2.2.2 is not compat…

---

## [Smoothing surface in GLMakie](https://discourse.julialang.org/t/smoothing-surface-in-glmakie/110957)

<div class="topic-metadata">

**Author:** [@Alicanter](https://discourse.julialang.org/u/Alicanter)\
**Replies:** 7\
**Last updated:** [March 2, 2024, 12:12pm UTC](https://discourse.julialang.org/t/smoothing-surface-in-glmakie/110957 "2024-03-02T12:12:55Z")

</div>

I have data from a simulation (test.csv.gz) and I am trying to plot it as a surface. The equations have a singularity at a certain threshold, so there is a cutoff in the values of the surface. The problem I am facing i…

---

## [Parsing strings into Float32 handling empty values](https://discourse.julialang.org/t/parsing-strings-into-float32-handling-empty-values/111057)

<div class="topic-metadata">

**Author:** [@Pino](https://discourse.julialang.org/u/Pino)\
**Replies:** 1\
**Last updated:** [March 2, 2024, 12:08pm UTC](https://discourse.julialang.org/t/parsing-strings-into-float32-handling-empty-values/111057 "2024-03-02T12:08:40Z")

</div>

Hi, I’m trying to get a Float32 dataframe from SQL data extracted as strings df\[!, "Equity"\] = parse.(Float32, df\[!, "Equity"\]) # Convert to Float32 But I’ve empty rows, therefore I’ve ERROR: ArgumentError: cannot pa…

---

## [Some errors from PlasmoPlots](https://discourse.julialang.org/t/some-errors-from-plasmoplots/111047)

<div class="topic-metadata">

**Author:** [@lichen2023905](https://discourse.julialang.org/u/lichen2023905)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 8:43am UTC](https://discourse.julialang.org/t/some-errors-from-plasmoplots/111047 "2024-03-02T08:43:21Z")

</div>

Some functions such as matrix\_layout, layoutplot will show undefined when called UndefVarError: matrix\_layout not defined UndefVarError: layoutplot not defined

---

## [No method matching error](https://discourse.julialang.org/t/no-method-matching-error/111044)

<div class="topic-metadata">

**Author:** [@IgorESMelo](https://discourse.julialang.org/u/IgorESMelo)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 8:30am UTC](https://discourse.julialang.org/t/no-method-matching-error/111044 "2024-03-02T08:30:55Z")

</div>

Hello everyone, I’m trying to build a mathematical model to minimize the variance of 4 variables. However, when I try to compute the variance julia have returned the follow error: ERROR: MethodError: no method matching…

---

## [How to link observables with ODE to make interactive plot?](https://discourse.julialang.org/t/how-to-link-observables-with-ode-to-make-interactive-plot/111043)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [March 2, 2024, 8:01am UTC](https://discourse.julialang.org/t/how-to-link-observables-with-ode-to-make-interactive-plot/111043 "2024-03-02T08:01:57Z")

</div>

I would like to make an interactive plot of a SIV model using GLMakie. But how can I link GLMakie with DifferentialEquations? The latter requires parameters that are passed to the solver and these parameters are made of …

---

## [Seasonal plot is not smooth -- where am I going wrong?](https://discourse.julialang.org/t/seasonal-plot-is-not-smooth-where-am-i-going-wrong/111042)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 0\
**Last updated:** [March 2, 2024, 6:09am UTC](https://discourse.julialang.org/t/seasonal-plot-is-not-smooth-where-am-i-going-wrong/111042 "2024-03-02T06:09:56Z")

</div>

Howdy friends, I am attempting to plot the seasonal variability within the GPS data so that, in the future, I am able to have a de-trended/residual plot of GPS positions. Shown here is only the vertical component of a …

---

## [Maybe this is off topic but I don't think so](https://discourse.julialang.org/t/maybe-this-is-off-topic-but-i-dont-think-so/111040)

<div class="topic-metadata">

**Author:** [@skypuppy](https://discourse.julialang.org/u/skypuppy)\
**Replies:** 0\
**Last updated:** [March 2, 2024, 3:31am UTC](https://discourse.julialang.org/t/maybe-this-is-off-topic-but-i-dont-think-so/111040 "2024-03-02T03:31:58Z")

</div>

As a present to myself, I built my Christmas gift: Ryzen 9 9750 on an Asrock mobo, 64 gb main memory (128 implementation still has problems AIUI,) and a Unicorn for main NVMe drive (gen 4!- gen 5 still not available to m…

---

## [Julia v1.10.2 and v1.11.0-alpha1 have been released](https://discourse.julialang.org/t/julia-v1-10-2-and-v1-11-0-alpha1-have-been-released/111037)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [March 2, 2024, 2:47am UTC](https://discourse.julialang.org/t/julia-v1-10-2-and-v1-11-0-alpha1-have-been-released/111037 "2024-03-02T02:47:53Z")

</div>

Julia version 1.10.2, the second patch release in the 1.10 series of releases, is now available. Binaries are available via Juliaup and at https://julialang.org/downloads/ for macOS (Intel and M-series processors), Windo…

---

## [LOAD\_PATH, meaning of the content](https://discourse.julialang.org/t/load-path-meaning-of-the-content/111031)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 2\
**Last updated:** [March 2, 2024, 12:37am UTC](https://discourse.julialang.org/t/load-path-meaning-of-the-content/111031 "2024-03-02T00:37:53Z")

</div>

julia\> LOAD\_PATH 3-element Vector{String}: "@" "@v#.#" "@stdlib" What does the three elements here mean? I am interested in this variable because I saw the following code at the beginning of a script push!(LOAD\_PAT…

---

## [MPI.jl + Zygote OOM on embarrassingly parallel tasks](https://discourse.julialang.org/t/mpi-jl-zygote-oom-on-embarrassingly-parallel-tasks/110622)

<div class="topic-metadata">

**Author:** [@richardr2926](https://discourse.julialang.org/u/richardr2926)\
**Replies:** 11\
**Last updated:** [March 1, 2024, 11:29pm UTC](https://discourse.julialang.org/t/mpi-jl-zygote-oom-on-embarrassingly-parallel-tasks/110622 "2024-03-01T23:29:16Z")

</div>

We have simple NN: using MPI using Zygote using CUDA using Flux using LinearAlgebra MPI.Init() comm = MPI.COMM\_WORLD rank = MPI.Comm\_rank(comm) size = MPI.Comm\_size(comm) nx, ny, nz, nt = parse.(Int, ARGS\[1:4\]) T = F…

---

## [JupyterLite, Julia and WebAssembly?](https://discourse.julialang.org/t/jupyterlite-julia-and-webassembly/74496)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 5\
**Last updated:** [March 1, 2024, 10:32pm UTC](https://discourse.julialang.org/t/jupyterlite-julia-and-webassembly/74496 "2024-03-01T22:32:28Z")

</div>

Looks like JupyterLite is getting more traction for teaching, demos, and so on. Does anyone have concrete plans regarding Julia at this point? I know @Keno, @vchuravy and others have work going on in https://github.com/…

---

## [Different time scales in ODE system](https://discourse.julialang.org/t/different-time-scales-in-ode-system/111030)

<div class="topic-metadata">

**Author:** [@Nick1](https://discourse.julialang.org/u/Nick1)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 9:08pm UTC](https://discourse.julialang.org/t/different-time-scales-in-ode-system/111030 "2024-03-01T21:08:57Z")

</div>

Hi everyone, I have an ODE system that involves reactions that happen in different time scales (minutes and seconds). I know I can convert all the ODEs to seconds but I am curious if there is a way to tackle different t…

---

## [Distributed computing using addprocs](https://discourse.julialang.org/t/distributed-computing-using-addprocs/110984)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 4\
**Last updated:** [March 1, 2024, 8:02pm UTC](https://discourse.julialang.org/t/distributed-computing-using-addprocs/110984 "2024-03-01T20:02:31Z")

</div>

I have a simple question on using Distributed.jl. I am working on an 8-core machine. Now, I have a simple loop that I can parallelize. So I carry out the following commands: using Distributed addprocs(30) @everywhere …

---

## [Why so many libraries on github say that their builds are failing?](https://discourse.julialang.org/t/why-so-many-libraries-on-github-say-that-their-builds-are-failing/111027)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 7:34pm UTC](https://discourse.julialang.org/t/why-so-many-libraries-on-github-say-that-their-builds-are-failing/111027 "2024-03-01T19:34:59Z")

</div>

This has been going on more months and I’m not sure why. Like even the official one say this.

---

## [CairoMakie Legend Line Too Short](https://discourse.julialang.org/t/cairomakie-legend-line-too-short/110990)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 6\
**Last updated:** [March 1, 2024, 5:11pm UTC](https://discourse.julialang.org/t/cairomakie-legend-line-too-short/110990 "2024-03-01T17:11:57Z")

</div>

Hello, I am trying to determine how I can increase the line thickness of the lines in the legend. Please consider the following MWE and resulting image. The lines in the legend are too short and it is hard to tell whic…

---

## [Progress in End-to-End Optimization of Detectors for Fundamental Physics with Differentiable Programming](https://discourse.julialang.org/t/progress-in-end-to-end-optimization-of-detectors-for-fundamental-physics-with-differentiable-programming/111024)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [March 1, 2024, 4:41pm UTC](https://discourse.julialang.org/t/progress-in-end-to-end-optimization-of-detectors-for-fundamental-physics-with-differentiable-programming/111024 "2024-03-01T16:41:42Z")

</div>

This looks to be a very interesting paper https://lss.fnal.gov/archive/2023/pub/fermilab-pub-23-608-csaid-ppd.pdf In this article we examine recent developments in the research area concerning the creation of end-to-e…

---

## [Tyler maps sometimes show, sometimes they don't in vscode](https://discourse.julialang.org/t/tyler-maps-sometimes-show-sometimes-they-dont-in-vscode/110196)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 3:28pm UTC](https://discourse.julialang.org/t/tyler-maps-sometimes-show-sometimes-they-dont-in-vscode/110196 "2024-03-01T15:28:33Z")

</div>

In vscode I’m running the most basic example for Tyler.jl, namely: using Tyler, GLMakie tyler = Tyler.Map(Rect2f(-0.0921, 51.5, 0.04, 0.025)) Sometimes the map shows, sometimes it doesn’t (in which case it isn’t liste…

---

## [Turing.jl - Create priors dynamically](https://discourse.julialang.org/t/turing-jl-create-priors-dynamically/110587)

<div class="topic-metadata">

**Author:** [@Rafalel\_Jupio](https://discourse.julialang.org/u/Rafalel_Jupio)\
**Replies:** 2\
**Last updated:** [March 1, 2024, 3:22pm UTC](https://discourse.julialang.org/t/turing-jl-create-priors-dynamically/110587 "2024-03-01T15:22:34Z")

</div>

Hello everyone, So in the problem I am currently working on, my parameter space changes a lot, meaning the number of parameters I want to make inference on (using Bayesian statistics, through the Turing.jl package) is n…

---

## [Are these type functors the same as Outer Constructors?](https://discourse.julialang.org/t/are-these-type-functors-the-same-as-outer-constructors/110598)

<div class="topic-metadata">

**Author:** [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Replies:** 7\
**Last updated:** [March 1, 2024, 2:26pm UTC](https://discourse.julialang.org/t/are-these-type-functors-the-same-as-outer-constructors/110598 "2024-03-01T14:26:02Z")

</div>

I found this approach in Rotations.jl. Why code it this way? Note that AngleAxis is a concrete type, so AA can only be one type. @inline function (::Type{AA})(q::QuatRotation) where AA \<: AngleAxis w = real(q.q) …

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

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