# Latest

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

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

**Page:** 232

---

## [Parameter estimation ODE with custom Loss function](https://discourse.julialang.org/t/parameter-estimation-ode-with-custom-loss-function/124835)

<div class="topic-metadata">

**Author:** [@Marta\_Pardo\_Araujo](https://discourse.julialang.org/u/Marta_Pardo_Araujo)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 3:11pm UTC](https://discourse.julialang.org/t/parameter-estimation-ode-with-custom-loss-function/124835 "2025-01-24T15:11:31Z")

</div>

Hi, I am trying to estimate the parameters of my systems of ODE’s. I have done it before using the L2Loss() and it worked. Now I would like to do a custom loss function where I take the mean of the solutions of the Odes …

---

## [Juliaup: Error: Failed to update versions db. Alway safe to just reinstall?](https://discourse.julialang.org/t/juliaup-error-failed-to-update-versions-db-alway-safe-to-just-reinstall/125128)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 3:02pm UTC](https://discourse.julialang.org/t/juliaup-error-failed-to-update-versions-db-alway-safe-to-just-reinstall/125128 "2025-01-24T15:02:43Z")

</div>

I get: $ juliaup update Error: Failed to update versions db. Caused by: ETag header not found in response I get this for many commands, including: $ juliaup add 1.11.3 Though no error for: $ juliaup default 1.1…

---

## [Understanding macro lexical bindings](https://discourse.julialang.org/t/understanding-macro-lexical-bindings/125105)

<div class="topic-metadata">

**Author:** [@nietzsche](https://discourse.julialang.org/u/nietzsche)\
**Replies:** 2\
**Last updated:** [January 23, 2025, 12:59pm UTC](https://discourse.julialang.org/t/understanding-macro-lexical-bindings/125105 "2025-01-23T12:59:55Z")

</div>

Hello, the macroexpand in the code below lead to an Error. UndefVarError: i not defined Ther error is clear, but how can I solve it? Or how can I put the “i” from the for loop in the right environment? macro dlamdba(…

---

## [Help making ForwardDiff.derivative work](https://discourse.julialang.org/t/help-making-forwarddiff-derivative-work/125167)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 1:42pm UTC](https://discourse.julialang.org/t/help-making-forwarddiff-derivative-work/125167 "2025-01-24T13:42:45Z")

</div>

Hi there, I define my custom parametric types as follows: struct Parameters{T} """ inmutable type to pack the parameters estimated. """ ϕ::T λ::T γ₁::T end struct MarketPostEstimation{T} …

---

## [Plot panel copy/cut doesn't work](https://discourse.julialang.org/t/plot-panel-copy-cut-doesnt-work/78251)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 11\
**Last updated:** [January 24, 2025, 1:30pm UTC](https://discourse.julialang.org/t/plot-panel-copy-cut-doesnt-work/78251 "2025-01-24T13:30:42Z")

</div>

(Right Mouse Click) I used GR backend above and i need them. Why they doesn’t work? Is this VS code issue? ps. I don’t get why ‘paste’ exists.

---

## [Sum over tuple slower than sum over array](https://discourse.julialang.org/t/sum-over-tuple-slower-than-sum-over-array/125162)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 3\
**Last updated:** [January 24, 2025, 12:34pm UTC](https://discourse.julialang.org/t/sum-over-tuple-slower-than-sum-over-array/125162 "2025-01-24T12:34:18Z")

</div>

Hi there, I wrote a trivial sum function: function my\_sum(collection) s = zero(eltype(collection)) for i in eachindex(collection) s += collection\[i\] end return s end When I apply it to a tuple …

---

## [How to save Plots.jl with pgfplotsx() without dimensions and other properties?](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 11:31am UTC](https://discourse.julialang.org/t/how-to-save-plots-jl-with-pgfplotsx-without-dimensions-and-other-properties/112158 "2025-01-24T11:31:10Z")

</div>

Plots.jl saves pgfplotsx() figures like this: ... width={150.4mm}, height={99.6mm}, xlabel style={...}, ylabel style={...}, ... How do I prevent these properties from being written to the file?

---

## [Non-Differentiable Constraints](https://discourse.julialang.org/t/non-differentiable-constraints/125113)

<div class="topic-metadata">

**Author:** [@Alessio\_Bellisomi](https://discourse.julialang.org/u/Alessio_Bellisomi)\
**Replies:** 3\
**Last updated:** [January 24, 2025, 10:18am UTC](https://discourse.julialang.org/t/non-differentiable-constraints/125113 "2025-01-24T10:18:03Z")

</div>

I am trying to write an optimization routine for insurance book. The target is to be able to increase the return without affecting the tail value at risk by modifying the shares for each contract. This is an example of …

---

## [Feature proposal: Saving symbolic derivatives](https://discourse.julialang.org/t/feature-proposal-saving-symbolic-derivatives/124956)

<div class="topic-metadata">

**Author:** [@KSepetanc](https://discourse.julialang.org/u/KSepetanc)\
**Replies:** 2\
**Last updated:** [January 24, 2025, 9:55am UTC](https://discourse.julialang.org/t/feature-proposal-saving-symbolic-derivatives/124956 "2025-01-24T09:55:14Z")

</div>

@odow I am starting discussion about new feature for MathOptSymbolicAD.jl . I think adding option to save symbolic derivative expressions to file would be useful. Many of us develop applications where we do not care ab…

---

## [Dispatch size static array: looking for good examples](https://discourse.julialang.org/t/dispatch-size-static-array-looking-for-good-examples/125138)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 1\
**Last updated:** [January 24, 2025, 9:12am UTC](https://discourse.julialang.org/t/dispatch-size-static-array-looking-for-good-examples/125138 "2025-01-24T09:12:40Z")

</div>

Given a struct defining an element, e.g., using StaticArrays const Point2D = SVector{2,Float64}; # struct to hold a single mesh element struct Element p1::Point2D # coordinates first node p2::Po…

---

## [How to refer to a JuMP variable using a string when the model is defined in a module?](https://discourse.julialang.org/t/how-to-refer-to-a-jump-variable-using-a-string-when-the-model-is-defined-in-a-module/125122)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [January 24, 2025, 8:23am UTC](https://discourse.julialang.org/t/how-to-refer-to-a-jump-variable-using-a-string-when-the-model-is-defined-in-a-module/125122 "2025-01-24T08:23:26Z")

</div>

Hello, in a JuMP model I need to fix some variables, and these variables to fix are defined in a dictionary. This works: using JuMP, Ipopt fvars = Dict{String,Float64}("c" =\> 5) m = Model(Ipopt.Optimizer) # \[...\] @va…

---

## [1.10.7-alpine docker tag missing](https://discourse.julialang.org/t/1-10-7-alpine-docker-tag-missing/124817)

<div class="topic-metadata">

**Author:** [@nsslh](https://discourse.julialang.org/u/nsslh)\
**Replies:** 5\
**Last updated:** [January 24, 2025, 7:06am UTC](https://discourse.julialang.org/t/1-10-7-alpine-docker-tag-missing/124817 "2025-01-24T07:06:58Z")

</div>

I need to update a few of my docker container services to Julia 1.10.7. They are FROM julia:1.10.2-alpine3.19. I expected to be able to affect the upgrade with FROM julia:1.10.7-alpine3.20 or FROM julia:1.10.7-alpine3.21.…

---

## [MLX and Apple silicon](https://discourse.julialang.org/t/mlx-and-apple-silicon/125136)

<div class="topic-metadata">

**Author:** [@Hareruya](https://discourse.julialang.org/u/Hareruya)\
**Replies:** 4\
**Last updated:** [January 24, 2025, 2:44am UTC](https://discourse.julialang.org/t/mlx-and-apple-silicon/125136 "2025-01-24T02:44:02Z")

</div>

Good evening. I have recently bought an M4 MacbookPro Max and have been using it to do some programming in my free time, messing around with image processing on the side. The machine is very powerful and energy efficien…

---

## [Julia cloud app development](https://discourse.julialang.org/t/julia-cloud-app-development/125146)

<div class="topic-metadata">

**Author:** [@monty](https://discourse.julialang.org/u/monty)\
**Replies:** 0\
**Last updated:** [January 23, 2025, 9:05pm UTC](https://discourse.julialang.org/t/julia-cloud-app-development/125146 "2025-01-23T21:05:11Z")

</div>

Our company (EnviTrace; https://envitrace.com ) is aiming to contract work related to the development of AI/ML software and interactive web/mobile applications in Julia. We are looking to contract the work with a US-bas…

---

## [Bug in sleep() function - main thread work affecting sleep duration on running tasks](https://discourse.julialang.org/t/bug-in-sleep-function-main-thread-work-affecting-sleep-duration-on-running-tasks/101911)

<div class="topic-metadata">

**Author:** [@algunion](https://discourse.julialang.org/u/algunion)\
**Replies:** 47\
**Last updated:** [January 23, 2025, 8:36pm UTC](https://discourse.julialang.org/t/bug-in-sleep-function-main-thread-work-affecting-sleep-duration-on-running-tasks/101911 "2025-01-23T20:36:44Z")

</div>

What triggered the present experiment was my failure to find a reasonable solution for the issue raised by this topic. It turned out that the issue was unrelated to the HTTP.jl package and went deeper. Now, the experim…

---

## [Tryjulia page](https://discourse.julialang.org/t/tryjulia-page/125143)

<div class="topic-metadata">

**Author:** [@r23j5a](https://discourse.julialang.org/u/r23j5a)\
**Replies:** 3\
**Last updated:** [January 23, 2025, 8:15pm UTC](https://discourse.julialang.org/t/tryjulia-page/125143 "2025-01-23T20:15:58Z")

</div>

Maybe it has already been asked (couldn’t find it though), but does https://julialang.org/learning/tryjulia/ still work? It’s the fist in Google search results for Julia playground, but it doesn’t seem to be functional …

---

## [Automatic differentiation minisymposium at JuliaCon](https://discourse.julialang.org/t/automatic-differentiation-minisymposium-at-juliacon/125145)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 0\
**Last updated:** [January 23, 2025, 8:08pm UTC](https://discourse.julialang.org/t/automatic-differentiation-minisymposium-at-juliacon/125145 "2025-01-23T20:08:44Z")

</div>

Some love Julia for its speed. Some love it for its scientific computing packages. Some love it because the people are nice. But we love it for one reason and one reason only: because it makes our gradients go brrrrr …

---

## [Precompilation error in cluster](https://discourse.julialang.org/t/precompilation-error-in-cluster/125083)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 10\
**Last updated:** [January 23, 2025, 7:52pm UTC](https://discourse.julialang.org/t/precompilation-error-in-cluster/125083 "2025-01-23T19:52:48Z")

</div>

Any idea what can be going on here? \[lmartine@coaraci ~\]$ julia +1.10 --startup-file=no \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_ \_ \_| |\_ \_\_ \_ …

---

## [Intriguing performance comparison results.... threads, comprehensions, etc](https://discourse.julialang.org/t/intriguing-performance-comparison-results-threads-comprehensions-etc/125093)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 11\
**Last updated:** [January 23, 2025, 7:03pm UTC](https://discourse.julialang.org/t/intriguing-performance-comparison-results-threads-comprehensions-etc/125093 "2025-01-23T19:03:56Z")

</div>

Can anyone provide me with intuition for the poor performance of the dynamic threads for loop in the example below? (all second run times) Thanks! using LinearAlgebra, .Threads function test( Y, ::Val{1} ) X = …

---

## [Call for Proposals: Quantum Physics and Information Minisymposium](https://discourse.julialang.org/t/call-for-proposals-quantum-physics-and-information-minisymposium/125141)

<div class="topic-metadata">

**Author:** [@kslimes](https://discourse.julialang.org/u/kslimes)\
**Replies:** 0\
**Last updated:** [January 23, 2025, 6:12pm UTC](https://discourse.julialang.org/t/call-for-proposals-quantum-physics-and-information-minisymposium/125141 "2025-01-23T18:12:19Z")

</div>

Working at the intersection of quantum software and Julia, or know someone who is? The JuliaCon 2025 quantum minisymposium has an open call for quantum software topics through January 31, 2025 (by 23:59 EST). We’re reac…

---

## [How to access the monotonic "steady" clock?](https://discourse.julialang.org/t/how-to-access-the-monotonic-steady-clock/125078)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 2\
**Last updated:** [January 23, 2025, 6:10pm UTC](https://discourse.julialang.org/t/how-to-access-the-monotonic-steady-clock/125078 "2025-01-23T18:10:31Z")

</div>

POSIX systems offer a “system clock”, represented as time since the UNIX epoch (1-1-1970), nowadays usually represented with a nanoseconds resolution. There’s also supposed to be a “monotonic clock”, also known as “stead…

---

## [Plots.jl fails to pre-compile in GitHub deployment but it has (?)](https://discourse.julialang.org/t/plots-jl-fails-to-pre-compile-in-github-deployment-but-it-has/125076)

<div class="topic-metadata">

**Author:** [@acroscarrillo](https://discourse.julialang.org/u/acroscarrillo)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 5:43pm UTC](https://discourse.julialang.org/t/plots-jl-fails-to-pre-compile-in-github-deployment-but-it-has/125076 "2025-01-23T17:43:37Z")

</div>

Hi it’s me again! Context: I am trying to deploy a very minimal documentation on GitHub using Documenter.jl. I have managed to deploy my toy documentation if I dont use any Plots.jl by just following this YouTube tutor…

---

## [JuliaCon needs your help reviewing proposals](https://discourse.julialang.org/t/juliacon-needs-your-help-reviewing-proposals/125139)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [January 23, 2025, 5:42pm UTC](https://discourse.julialang.org/t/juliacon-needs-your-help-reviewing-proposals/125139 "2025-01-23T17:42:07Z")

</div>

JuliaCon needs your help! As always, JuliaCon is peer-reviewed and we strive for 3 reviews per submission! As several attendees need an accepted talk to get travel funding and/or travel visa, getting reviews handled pro…

---

## [Removing nested abstract containers](https://discourse.julialang.org/t/removing-nested-abstract-containers/125118)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 4\
**Last updated:** [January 23, 2025, 4:39pm UTC](https://discourse.julialang.org/t/removing-nested-abstract-containers/125118 "2025-01-23T16:39:55Z")

</div>

In my code, I define several structs in which I carry along an AbstractMatrix: sometimes it is an actual matrix, sometimes a transpose, etc. The type of the entries in the matrix also varies (Float64, Int, Dual, etc.). …

---

## [Memory leak in Julia 1.11.x](https://discourse.julialang.org/t/memory-leak-in-julia-1-11-x/125120)

<div class="topic-metadata">

**Author:** [@Miroboru](https://discourse.julialang.org/u/Miroboru)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 3:18pm UTC](https://discourse.julialang.org/t/memory-leak-in-julia-1-11-x/125120 "2025-01-23T15:18:55Z")

</div>

I have a simulation written in Julia that I have been developing and running for a few years. It is a rather complex simulation with runtimes measured in days when using multicore computers, and it relies mainly on Flux,…

---

## [Placing dotplot over violin plot](https://discourse.julialang.org/t/placing-dotplot-over-violin-plot/115253)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 6\
**Last updated:** [January 23, 2025, 3:42pm UTC](https://discourse.julialang.org/t/placing-dotplot-over-violin-plot/115253 "2025-01-23T15:42:41Z")

</div>

I am trying to create a violin plot with the individual data points overlayed over the violin plot. IF I create a violin using Plots.violin(data) and then dotplot!(data) I get a result of side-by-side rather than overlay…

---

## [SymPy makes REPL to stuck](https://discourse.julialang.org/t/sympy-makes-repl-to-stuck/124814)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 19\
**Last updated:** [January 23, 2025, 2:47pm UTC](https://discourse.julialang.org/t/sympy-makes-repl-to-stuck/124814 "2025-01-23T14:47:43Z")

</div>

When I tried the following in REPL, it gets stuck when I types the last line. I cannot keep typing. The command top shows that Julia is using all the CPU. Any suggestion on how to trouble shoot the problem? I thought it…

---

## [Endless "Authentication failed" loop when updating packages](https://discourse.julialang.org/t/endless-authentication-failed-loop-when-updating-packages/125079)

<div class="topic-metadata">

**Author:** [@stefkuypers](https://discourse.julialang.org/u/stefkuypers)\
**Replies:** 3\
**Last updated:** [January 23, 2025, 2:20pm UTC](https://discourse.julialang.org/t/endless-authentication-failed-loop-when-updating-packages/125079 "2025-01-23T14:20:55Z")

</div>

I’m getting stuck in an endless :Authentication failed" loop when I try to update my packages. I first got warnings that the authorisation for the toll v2 files could not be done and started looking for answers to that.…

---

## [How to launch interactive GLMakie script from terminal](https://discourse.julialang.org/t/how-to-launch-interactive-glmakie-script-from-terminal/124695)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 5\
**Last updated:** [January 23, 2025, 2:11pm UTC](https://discourse.julialang.org/t/how-to-launch-interactive-glmakie-script-from-terminal/124695 "2025-01-23T14:11:19Z")

</div>

I have a script for an interactive plot made with GLMakie. The script works on REPL (launched via VS Code). However, I would like to launch the script from terminal directly. Thus, I wrote a script in bash to launch the…

---

## [DifferentialEquations failing to precompile](https://discourse.julialang.org/t/differentialequations-failing-to-precompile/125097)

<div class="topic-metadata">

**Author:** [@koppa](https://discourse.julialang.org/u/koppa)\
**Replies:** 7\
**Last updated:** [January 23, 2025, 10:45am UTC](https://discourse.julialang.org/t/differentialequations-failing-to-precompile/125097 "2025-01-23T10:45:29Z")

</div>

Hi, i recently installed Julia 1.11.2 from scratch in Ubuntu 24, and my first Pkg to install was DifferentialEquations. At the end there were only two dependencies precompiling: BoundaryValueDiffEqFIRK and BoundaryValueD…

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

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