# Latest

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

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

**Page:** 625

---

## [Avoiding closure in uODE with ComponentArrays causes minor numerical differences](https://discourse.julialang.org/t/avoiding-closure-in-uode-with-componentarrays-causes-minor-numerical-differences/102609)

<div class="topic-metadata">

**Author:** [@T\_J](https://discourse.julialang.org/u/T_J)\
**Replies:** 4\
**Last updated:** [August 9, 2023, 11:01am UTC](https://discourse.julialang.org/t/avoiding-closure-in-uode-with-componentarrays-causes-minor-numerical-differences/102609 "2023-08-09T11:01:56Z")

</div>

Hello, I would like to pass additional parameters to a uODE and avoid the closure relationship. Here is an example with the lotka-volterra system. # SciML Tools using OrdinaryDiffEq, ModelingToolkit, DataDrivenDiffEq,…

---

## [PhD student @ Max Planck Institute for Biogeochemistry (Jena, Germany)](https://discourse.julialang.org/t/phd-student-max-planck-institute-for-biogeochemistry-jena-germany/102626)

<div class="topic-metadata">

**Author:** [@BernhardAhrens](https://discourse.julialang.org/u/BernhardAhrens)\
**Replies:** 0\
**Last updated:** [August 9, 2023, 9:58am UTC](https://discourse.julialang.org/t/phd-student-max-planck-institute-for-biogeochemistry-jena-germany/102626 "2023-08-09T09:58:38Z")

</div>

Interested in what’s happening beneath your feet (= soil :wink:) and Julia? Join us for a PhD project where we want to learn the parameters of a mechanistic soil organic carbon and porosity model. We will try to link ne…

---

## [How to measure precompilation time?](https://discourse.julialang.org/t/how-to-measure-precompilation-time/102617)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 11\
**Last updated:** [August 9, 2023, 9:39am UTC](https://discourse.julialang.org/t/how-to-measure-precompilation-time/102617 "2023-08-09T09:39:07Z")

</div>

Source of latency Measurement method Precompilation time ??? Load time @time\_imports using MyPackage Compilation time @time MyPackage.myfunc() I could do @time Pkg.add("MyPackage") but it combines the down…

---

## [Documentation of ImplicitRKMil - StochasticDiffEq.jl](https://discourse.julialang.org/t/documentation-of-implicitrkmil-stochasticdiffeq-jl/102104)

<div class="topic-metadata">

**Author:** [@lappet](https://discourse.julialang.org/u/lappet)\
**Replies:** 3\
**Last updated:** [August 9, 2023, 9:34am UTC](https://discourse.julialang.org/t/documentation-of-implicitrkmil-stochasticdiffeq-jl/102104 "2023-08-09T09:34:52Z")

</div>

My goal is to undertsand the actual implementation of the ImplicitRKMil algorithm here. Are there any notes or book sections directly relating to the code here? The perspective of my question is this: I have a bunch of …

---

## [Matrix assignment problem: performance advice?](https://discourse.julialang.org/t/matrix-assignment-problem-performance-advice/102601)

<div class="topic-metadata">

**Author:** [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Replies:** 10\
**Last updated:** [August 9, 2023, 9:09am UTC](https://discourse.julialang.org/t/matrix-assignment-problem-performance-advice/102601 "2023-08-09T09:09:39Z")

</div>

I have an assignment problem with the following aims: there are nstudents, each of whom belongs to one of several different graduate programs. Each program has multiple students in it. (For a sense of scale, in our cas…

---

## [Plots, InitError: UndefVarError: GR\_jll not defined](https://discourse.julialang.org/t/plots-initerror-undefvarerror-gr-jll-not-defined/102448)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 4\
**Last updated:** [August 9, 2023, 8:31am UTC](https://discourse.julialang.org/t/plots-initerror-undefvarerror-gr-jll-not-defined/102448 "2023-08-09T08:31:44Z")

</div>

In some circumstances, a user may encounter the following error. Failed to precompile Plots \[91a5bcdd-55d7-5caf-9e0b-520d859cae80\] to "~/.julia/compiled/v1.9/Plots/jl\_crbDAx". ERROR: LoadError: InitError: UndefVarError:…

---

## [Digital Signal Processing Engineer](https://discourse.julialang.org/t/digital-signal-processing-engineer/102060)

<div class="topic-metadata">

**Author:** [@benguela](https://discourse.julialang.org/u/benguela)\
**Replies:** 1\
**Last updated:** [August 9, 2023, 8:01am UTC](https://discourse.julialang.org/t/digital-signal-processing-engineer/102060 "2023-08-09T08:01:56Z")

</div>

We have another job opportunity open for a Digital Signal Processing Engineer. In this position you will develop and implement advanced signal processing algorithms for AESA Radars and fully digital RADARs in Julia. htt…

---

## [State of the art object tracking with neural networks](https://discourse.julialang.org/t/state-of-the-art-object-tracking-with-neural-networks/101710)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [August 9, 2023, 7:04am UTC](https://discourse.julialang.org/t/state-of-the-art-object-tracking-with-neural-networks/101710 "2023-08-09T07:04:45Z")

</div>

Anyone following the latest models for object tracking in computer vision? Object tracking consists of identifying an object (or bounding box of the object) on every single frame of a video. It usually combines object d…

---

## [Append! produces #undef values from missings. Related to WeakRefStrings / JDF](https://discourse.julialang.org/t/append-produces-undef-values-from-missings-related-to-weakrefstrings-jdf/102613)

<div class="topic-metadata">

**Author:** [@Parazetamol](https://discourse.julialang.org/u/Parazetamol)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 7:45pm UTC](https://discourse.julialang.org/t/append-produces-undef-values-from-missings-related-to-weakrefstrings-jdf/102613 "2023-08-08T19:45:25Z")

</div>

Hi there, i’m afraid I discovered a bug while working with DataFrames and JDF. But the problem seems to be related to WeakRefStrings: What do you think? Greetings Parazetamol using DataFrames, JDF # DataFrames v1.…

---

## [Overloading a function within a loop](https://discourse.julialang.org/t/overloading-a-function-within-a-loop/102615)

<div class="topic-metadata">

**Author:** [@Daniel1](https://discourse.julialang.org/u/Daniel1)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 8:35pm UTC](https://discourse.julialang.org/t/overloading-a-function-within-a-loop/102615 "2023-08-08T20:35:19Z")

</div>

This question is closely related to the package iTensors, but it is really a Julia programming question, no knowledge of the package is needed. I need to overload a function provided by the package. The canonical way to…

---

## [Define a function in global scope inside another function](https://discourse.julialang.org/t/define-a-function-in-global-scope-inside-another-function/102597)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 6\
**Last updated:** [August 8, 2023, 7:06pm UTC](https://discourse.julialang.org/t/define-a-function-in-global-scope-inside-another-function/102597 "2023-08-08T19:06:52Z")

</div>

I want to define a function a(x) inside a function b(a), but make a in global scope, example: a(x) = 3 + x function b(a) global a(x) = a + x end This gives an error currently: ERROR: syntax: Global method definiti…

---

## [\[ANN\] CrudePythonTranslator](https://discourse.julialang.org/t/ann-crudepythontranslator/102538)

<div class="topic-metadata">

**Author:** [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 6:48pm UTC](https://discourse.julialang.org/t/ann-crudepythontranslator/102538 "2023-08-08T18:48:29Z")

</div>

Introducing CrudePythonTranslator, a tool to help with porting Python code to Julia. It’s crude in the sense that the output most of the time will be a mix of Python and Julia which can’t be run. It also doesn’t save yo…

---

## [Neural Hybrid DE](https://discourse.julialang.org/t/neural-hybrid-de/102599)

<div class="topic-metadata">

**Author:** [@Mieszko](https://discourse.julialang.org/u/Mieszko)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 6:14pm UTC](https://discourse.julialang.org/t/neural-hybrid-de/102599 "2023-08-08T18:14:17Z")

</div>

Hey, I am following this article Neural Hybrid Differential Equations | juliabloggers.com concerning Neural Hybrid DE. Currently, I am stuck at this moment with my code. using DiffEqFlux, DifferentialEquations, Flux, …

---

## [Makie - 3d plot with positive Z axis pointing down?](https://discourse.julialang.org/t/makie-3d-plot-with-positive-z-axis-pointing-down/102544)

<div class="topic-metadata">

**Author:** [@Undermine28](https://discourse.julialang.org/u/Undermine28)\
**Replies:** 6\
**Last updated:** [August 8, 2023, 6:08pm UTC](https://discourse.julialang.org/t/makie-3d-plot-with-positive-z-axis-pointing-down/102544 "2023-08-08T18:08:37Z")

</div>

I am trying to visualize an aircraft trajectory. We define the local z vector as down. I see how to do this in the 2d axis but no options to invert the Z axis in Axis3. Basically, I am hoping to have the Z-axis positiv…

---

## [Intended way to learn parameters in a PDE system?](https://discourse.julialang.org/t/intended-way-to-learn-parameters-in-a-pde-system/100345)

<div class="topic-metadata">

**Author:** [@masinister](https://discourse.julialang.org/u/masinister)\
**Replies:** 9\
**Last updated:** [August 8, 2023, 6:07pm UTC](https://discourse.julialang.org/t/intended-way-to-learn-parameters-in-a-pde-system/100345 "2023-08-08T18:07:01Z")

</div>

My end goal is to train a UDE which is solved via MethodOfLines. For now, my minimal example tries to learn a single parameter \\alpha (the initial condition), but gets a warning I don’t understand: Warning: : no method…

---

## [Initialize some functions at every remake in PDEProblem](https://discourse.julialang.org/t/initialize-some-functions-at-every-remake-in-pdeproblem/102078)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 4\
**Last updated:** [August 8, 2023, 6:03pm UTC](https://discourse.julialang.org/t/initialize-some-functions-at-every-remake-in-pdeproblem/102078 "2023-08-08T18:03:36Z")

</div>

Hello, Is there a way to initialize a function in MethodOfLines so that I can “compile” it once for every parameter set, here’s an example: using ModelingToolkit, MethodOfLines, LinearAlgebra, OrdinaryDiffEq, DomainSet…

---

## [Mix of index-based and slice based indexing across different dimensions](https://discourse.julialang.org/t/mix-of-index-based-and-slice-based-indexing-across-different-dimensions/102603)

<div class="topic-metadata">

**Author:** [@AlexanderNenninger](https://discourse.julialang.org/u/AlexanderNenninger)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 4:00pm UTC](https://discourse.julialang.org/t/mix-of-index-based-and-slice-based-indexing-across-different-dimensions/102603 "2023-08-08T16:00:39Z")

</div>

Given an k-dimensional array, e.g. A = LinearIndices((2,2,2)) 2×2×2 LinearIndices{3, Tuple{Base.OneTo{Int64}, Base.OneTo{Int64}, Base.OneTo{Int64}}}: \[:, :, 1\] = 1 3 2 4 \[:, :, 2\] = 5 7 6 8 and a list of row-c…

---

## [Markershape not working with pluto.jl and plotly backend](https://discourse.julialang.org/t/markershape-not-working-with-pluto-jl-and-plotly-backend/102585)

<div class="topic-metadata">

**Author:** [@JacobC](https://discourse.julialang.org/u/JacobC)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 2:52pm UTC](https://discourse.julialang.org/t/markershape-not-working-with-pluto-jl-and-plotly-backend/102585 "2023-08-08T14:52:09Z")

</div>

I am using the plotly() backend for plots in pluto.jl and for some reason cannot change the marker shape, I am wondering if I am misunderstanding or calling it wrong, but I haven’t found a solution after a decent amount …

---

## [Phase field TO in gridap](https://discourse.julialang.org/t/phase-field-to-in-gridap/102607)

<div class="topic-metadata">

**Author:** [@mary](https://discourse.julialang.org/u/mary)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 2:27pm UTC](https://discourse.julialang.org/t/phase-field-to-in-gridap/102607 "2023-08-08T14:27:35Z")

</div>

hi, I am using gridap to do topology optimization along with phase field model. it is mentioned that the adjoint vector should be calculated in each load increament in backward manner. It is confusing for me. by this i s…

---

## [Discovery of mechanistic terms from UODE vs using the UODE](https://discourse.julialang.org/t/discovery-of-mechanistic-terms-from-uode-vs-using-the-uode/101940)

<div class="topic-metadata">

**Author:** [@gsh19](https://discourse.julialang.org/u/gsh19)\
**Replies:** 3\
**Last updated:** [August 8, 2023, 1:28pm UTC](https://discourse.julialang.org/t/discovery-of-mechanistic-terms-from-uode-vs-using-the-uode/101940 "2023-08-08T13:28:09Z")

</div>

Hi everyone, Going through the missing physics example, there is a section on symbolic regression via sparse regression. I understand that this has the advantage of more clearly exposing the relationship between the sys…

---

## [Memory Management](https://discourse.julialang.org/t/memory-management/102567)

<div class="topic-metadata">

**Author:** [@Jad\_Zeitouni](https://discourse.julialang.org/u/Jad_Zeitouni)\
**Replies:** 7\
**Last updated:** [August 8, 2023, 12:56pm UTC](https://discourse.julialang.org/t/memory-management/102567 "2023-08-08T12:56:04Z")

</div>

I’m trying to understand how Julia allocates memory. I ran into some trouble when I tried to run multiple threads with the below code because memory wasn’t being cleared. struct Container field::Vector{Matrix{Float6…

---

## [What does @inbounds actually mean?](https://discourse.julialang.org/t/what-does-inbounds-actually-mean/102592)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 8\
**Last updated:** [August 8, 2023, 12:40pm UTC](https://discourse.julialang.org/t/what-does-inbounds-actually-mean/102592 "2023-08-08T12:40:16Z")

</div>

In the discussion on https://github.com/JuliaLang/julia/issues/48245 it was mentioned that Just to be clear, the reason we want to remove it is it requires us to compile the code more conservatively, leading to signifi…

---

## [Makie: Using a theme to set the margin of \`axislegend\`](https://discourse.julialang.org/t/makie-using-a-theme-to-set-the-margin-of-axislegend/102600)

<div class="topic-metadata">

**Author:** [@barucden](https://discourse.julialang.org/u/barucden)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 12:33pm UTC](https://discourse.julialang.org/t/makie-using-a-theme-to-set-the-margin-of-axislegend/102600 "2023-08-08T12:33:02Z")

</div>

Hello! Consider the following code: using CairoMakie x = 1:100 y = randn(length(x)) theme = Theme( Legend=( padding=(50, 10, 10, 10), margin=(50, 50, 50, 50) ) ) with\_theme(theme) do fig…

---

## [What else can cause "UNHANDLED TASK ERROR: EOFError: read end of file"?](https://discourse.julialang.org/t/what-else-can-cause-unhandled-task-error-eoferror-read-end-of-file/102596)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 10:29am UTC](https://discourse.julialang.org/t/what-else-can-cause-unhandled-task-error-eoferror-read-end-of-file/102596 "2023-08-08T10:29:01Z")

</div>

When using Pluto for long running Pluto notebooks, after some days, I am running into the following Worker 6 terminated. UNHANDLED TASK ERROR: EOFError: read end of file Stacktrace: \[1\] wait\_locked @ ./stream.jl:947…

---

## [Class of variables](https://discourse.julialang.org/t/class-of-variables/83892)

<div class="topic-metadata">

**Author:** [@uje](https://discourse.julialang.org/u/uje)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 10:17am UTC](https://discourse.julialang.org/t/class-of-variables/83892 "2023-08-08T10:17:09Z")

</div>

The Julia 1.7.3 documentation says this: “”"A particular class of variable names is one that contains only underscores. These identifiers can only be assigned values but cannot be used to assign values to other variabl…

---

## [How to increase space between axes for topo array](https://discourse.julialang.org/t/how-to-increase-space-between-axes-for-topo-array/102568)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 9:40am UTC](https://discourse.julialang.org/t/how-to-increase-space-between-axes-for-topo-array/102568 "2023-08-08T09:40:43Z")

</div>

I am creating topo array with this code: using CairoMakie using TopoPlots function topo\_array(f, times=nothing) f = Figure() times = nothing data, pos = TopoPlots.example\_data() data = data\[1:30,:,1\] pos…

---

## [Cache Data Structure for Lazy Array](https://discourse.julialang.org/t/cache-data-structure-for-lazy-array/102388)

<div class="topic-metadata">

**Author:** [@AlexanderNenninger](https://discourse.julialang.org/u/AlexanderNenninger)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 9:28am UTC](https://discourse.julialang.org/t/cache-data-structure-for-lazy-array/102388 "2023-08-08T09:28:00Z")

</div>

I’ve got an implementation of a lazy array (lazyarrays.jl · GitHub), the entries of which are computed on the fly by function calls. From what we can tell it’s already quite fast. Although many algorithms do access the s…

---

## [Creating gifs with Makie is much slower than creating mp4s](https://discourse.julialang.org/t/creating-gifs-with-makie-is-much-slower-than-creating-mp4s/102537)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 8:50am UTC](https://discourse.julialang.org/t/creating-gifs-with-makie-is-much-slower-than-creating-mp4s/102537 "2023-08-08T08:50:06Z")

</div>

I’ve noticed that when creating relatively large movies using Makie.jl, saving them to .gif is significantly slower (several times) than saving to .mp4. I tried profiling the plotting script, and found that in both cases…

---

## [How to use different solver of NonlinearSolve.jl?](https://discourse.julialang.org/t/how-to-use-different-solver-of-nonlinearsolve-jl/102547)

<div class="topic-metadata">

**Author:** [@baizhan](https://discourse.julialang.org/u/baizhan)\
**Replies:** 4\
**Last updated:** [August 8, 2023, 8:13am UTC](https://discourse.julialang.org/t/how-to-use-different-solver-of-nonlinearsolve-jl/102547 "2023-08-08T08:13:07Z")

</div>

I am using NonlinearSolve but have some stupid problem. I can run the following example script: using NonlinearSolve, StaticArrays f(u, p) = u .\* u .- p u0 = @SVector\[1.0, 1.0\] p = 2.0 probN = NonlinearProblem(f, u0, …

---

## [How to do context menus in Gtk4?](https://discourse.julialang.org/t/how-to-do-context-menus-in-gtk4/102569)

<div class="topic-metadata">

**Author:** [@mwlidar](https://discourse.julialang.org/u/mwlidar)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 7:49am UTC](https://discourse.julialang.org/t/how-to-do-context-menus-in-gtk4/102569 "2023-08-08T07:49:45Z")

</div>

Hi! After some trying I learned how to make a popup-menu over a widget (context-menu) in Gtk3. Now I’m trying to do the same in Gtk4, where all seems to have changed. The code below defines a GtkPopoverMenu from a GMen…

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

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