# Latest

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

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

**Page:** 167

---

## [Mousetrap says screen not DRI3 capable](https://discourse.julialang.org/t/mousetrap-says-screen-not-dri3-capable/129023)

<div class="topic-metadata">

**Author:** [@phma](https://discourse.julialang.org/u/phma)\
**Replies:** 2\
**Last updated:** [May 15, 2025, 2:53pm UTC](https://discourse.julialang.org/t/mousetrap-says-screen-not-dri3-capable/129023 "2025-05-15T14:53:17Z")

</div>

I’m starting a new project using Mousetrap, and I ran these commands to install it: pkg\> add https://github.com/clemapfel/mousetrap\_jll pkg\> add https://github.com/clemapfel/mousetrap.jl I got output ending like this: …

---

## [Space issue with the @. macro](https://discourse.julialang.org/t/space-issue-with-the-macro/129032)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [May 15, 2025, 1:36pm UTC](https://discourse.julialang.org/t/space-issue-with-the-macro/129032 "2025-05-15T13:36:33Z")

</div>

Is this normal/documented ? julia\> x = 1 1 julia\> b = x -3 \* x^2 -2 julia\> x = \[1,2,3\] 3-element Vector{Int64}: 1 2 3 julia\> b = @. x - 3 \* x^2 3-element Vector{Int64}: -2 -10 -24 julia\> b = @. x -3 \* x^2 ERR…

---

## [Registrator broken?: Unexpected error in registration](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026)

<div class="topic-metadata">

**Author:** [@srs](https://discourse.julialang.org/u/srs)\
**Replies:** 4\
**Last updated:** [May 15, 2025, 11:35am UTC](https://discourse.julialang.org/t/registrator-broken-unexpected-error-in-registration/129026 "2025-05-15T11:35:08Z")

</div>

Hey guys, registrator isn’t working. Is something down here? I tried both the web app and the github app and they both give me “Unexpected error in registration” (very helpful) The repo is this one, but it shouldn’t mat…

---

## [\[ANN\] LinearCombinations.jl: formal linear combinations + (multi)linear maps](https://discourse.julialang.org/t/ann-linearcombinations-jl-formal-linear-combinations-multi-linear-maps/129031)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 0\
**Last updated:** [May 15, 2025, 11:30am UTC](https://discourse.julialang.org/t/ann-linearcombinations-jl-formal-linear-combinations-multi-linear-maps/129031 "2025-05-15T11:30:59Z")

</div>

LinearCombinations.jl This package addresses a very specific part of symbolic computation: formal linear combinations and linear maps between them. Multilinear maps and tensors are also supported. Formal linear combinati…

---

## [Genie app with live, shared data](https://discourse.julialang.org/t/genie-app-with-live-shared-data/129030)

<div class="topic-metadata">

**Author:** [@Joseph\_Bradley](https://discourse.julialang.org/u/Joseph_Bradley)\
**Replies:** 0\
**Last updated:** [May 15, 2025, 11:11am UTC](https://discourse.julialang.org/t/genie-app-with-live-shared-data/129030 "2025-05-15T11:11:27Z")

</div>

I’m trying to make a Genie app that will let multiple users collaborate on a web app. It’s just a project tracker, but Excel isn’t quite enough for what we want. There will be a table df that exists on the cloud somewhe…

---

## [Energy Machines - Heat pumps - Copenhagen, Denmark](https://discourse.julialang.org/t/energy-machines-heat-pumps-copenhagen-denmark/129027)

<div class="topic-metadata">

**Author:** [@Matthew1](https://discourse.julialang.org/u/Matthew1)\
**Replies:** 0\
**Last updated:** [May 15, 2025, 10:16am UTC](https://discourse.julialang.org/t/energy-machines-heat-pumps-copenhagen-denmark/129027 "2025-05-15T10:16:21Z")

</div>

This is the only company I am aware of that is using ModelingToolkit for thermofluid modeling. The job ad only mentions one line of Julia, but I have talked to the people before, and they use a combination of Python, Jul…

---

## [Estimating parameter and function in an ODE model](https://discourse.julialang.org/t/estimating-parameter-and-function-in-an-ode-model/126109)

<div class="topic-metadata">

**Author:** [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Replies:** 11\
**Last updated:** [May 15, 2025, 9:50am UTC](https://discourse.julialang.org/t/estimating-parameter-and-function-in-an-ode-model/126109 "2025-05-15T09:50:17Z")

</div>

Hi all, I’m working on an ODE model where I want to infer a parameter μ and a function ϕ(t), and I’m looking for recommendations for tools or approaches in Julia to solve this problem. My dataset is small, with just 7 d…

---

## [Faster way to peform rank-1 update to matrix inverse](https://discourse.julialang.org/t/faster-way-to-peform-rank-1-update-to-matrix-inverse/129001)

<div class="topic-metadata">

**Author:** [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Replies:** 5\
**Last updated:** [May 15, 2025, 9:10am UTC](https://discourse.julialang.org/t/faster-way-to-peform-rank-1-update-to-matrix-inverse/129001 "2025-05-15T09:10:45Z")

</div>

I want to update a matrix inverse using the Sherman-Morrison formula (A + uv’)^-1 = A^-1 - (A^-1 uv’ A^-1)/(1 + v’A^-1u) for a large non-sparse matrix inside a loop (a coordinate descent algorithm). Here is a minimum …

---

## [How to think about the cost of vJ and Jv (pullback and pushforward)](https://discourse.julialang.org/t/how-to-think-about-the-cost-of-vj-and-jv-pullback-and-pushforward/129021)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [May 15, 2025, 8:58am UTC](https://discourse.julialang.org/t/how-to-think-about-the-cost-of-vj-and-jv-pullback-and-pushforward/129021 "2025-05-15T08:58:49Z")

</div>

In a calculation involving an f: R^n \\to R^m function, where n ranges from 50 to a few hundred and m \\ge n with a similar scale, I have the option of either calculating the Jacobian J once and saving it, or calcula…

---

## [JuliaHEP 2025 Workshop Announcement](https://discourse.julialang.org/t/juliahep-2025-workshop-announcement/125777)

<div class="topic-metadata">

**Author:** [@szabo137](https://discourse.julialang.org/u/szabo137)\
**Replies:** 1\
**Last updated:** [May 15, 2025, 8:19am UTC](https://discourse.julialang.org/t/juliahep-2025-workshop-announcement/125777 "2025-05-15T08:19:02Z")

</div>

Dear Julia friends, I am thrilled to share the exciting news about our upcoming event! The third JuliaHEP 2025 Workshop will be hosted at Princeton from 28 to 31 July 2025. Registration is now open, and we eagerly invi…

---

## [\[ANN\] OLSPlots.jl: a package to generate diagnostic plots for lm models](https://discourse.julialang.org/t/ann-olsplots-jl-a-package-to-generate-diagnostic-plots-for-lm-models/129017)

<div class="topic-metadata">

**Author:** [@technocrat](https://discourse.julialang.org/u/technocrat)\
**Replies:** 0\
**Last updated:** [May 15, 2025, 4:21am UTC](https://discourse.julialang.org/t/ann-olsplots-jl-a-package-to-generate-diagnostic-plots-for-lm-models/129017 "2025-05-15T04:21:32Z")

</div>

\[OLSPlots\](https://github.com/technocrat/OLSPlots.jl/tree/new) is a single-function package that provides R-style diagnostic plots for ordinary least squares regression models.

---

## [Custom serializer for arrays of Union types](https://discourse.julialang.org/t/custom-serializer-for-arrays-of-union-types/129016)

<div class="topic-metadata">

**Author:** [@Kirby\_Zhang](https://discourse.julialang.org/u/Kirby_Zhang)\
**Replies:** 2\
**Last updated:** [May 15, 2025, 4:08am UTC](https://discourse.julialang.org/t/custom-serializer-for-arrays-of-union-types/129016 "2025-05-15T04:08:59Z")

</div>

I’m looking to speed up serialization of arrays that allow for missing values. Performance falls by an order of magnitude according to the following test: N = Int(1e8); buffer = Vector{UInt8}(undef, 8 \* N); io = IOBu…

---

## [Why the free variables in function body don't get bound at function definition time?](https://discourse.julialang.org/t/why-the-free-variables-in-function-body-dont-get-bound-at-function-definition-time/128860)

<div class="topic-metadata">

**Author:** [@Leon\_Niceday](https://discourse.julialang.org/u/Leon_Niceday)\
**Replies:** 52\
**Last updated:** [May 14, 2025, 8:54pm UTC](https://discourse.julialang.org/t/why-the-free-variables-in-function-body-dont-get-bound-at-function-definition-time/128860 "2025-05-14T20:54:08Z")

</div>

Hi, What is the advantage to having such a difference between how variables use another variables vs how functions use them? # Assigning to variable julia\> a=1; julia\> b=a 1 julia\> a="asdf"; julia\> b 1 # OK, as expe…

---

## [Why convergence behavior of SDDiP algorithm is different with different mixed-integer programming solvers?](https://discourse.julialang.org/t/why-convergence-behavior-of-sddip-algorithm-is-different-with-different-mixed-integer-programming-solvers/128913)

<div class="topic-metadata">

**Author:** [@Engr\_Moiz\_Ahmad](https://discourse.julialang.org/u/Engr_Moiz_Ahmad)\
**Replies:** 11\
**Last updated:** [May 15, 2025, 1:45am UTC](https://discourse.julialang.org/t/why-convergence-behavior-of-sddip-algorithm-is-different-with-different-mixed-integer-programming-solvers/128913 "2025-05-15T01:45:49Z")

</div>

I am dealing with a multi-stage mixed-integer stochastic global supply chain optimization problem and want to solve it using the SDDiP algorithm using the SDDP.jl package in Julia. In this regard, I tried various mixed-…

---

## [Non-github (non gitlab) git repositories... anyone using them ? Good or bad idea for Julia packages?](https://discourse.julialang.org/t/non-github-non-gitlab-git-repositories-anyone-using-them-good-or-bad-idea-for-julia-packages/128999)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [May 15, 2025, 1:12am UTC](https://discourse.julialang.org/t/non-github-non-gitlab-git-repositories-anyone-using-them-good-or-bad-idea-for-julia-packages/128999 "2025-05-15T01:12:18Z")

</div>

I have just discover today the likes of codeborg and Forgejo, i.e. “community” driven (or even self-hosted) git repository hosting, and wondered if anyone use them in place of more mainstream github or even gitlab altern…

---

## [\[ANN\] Metida.jl: mixed-effects models fitting package](https://discourse.julialang.org/t/ann-metida-jl-mixed-effects-models-fitting-package/54723)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 23\
**Last updated:** [May 15, 2025, 12:27am UTC](https://discourse.julialang.org/t/ann-metida-jl-mixed-effects-models-fitting-package/54723 "2025-05-15T00:27:11Z")

</div>

Metida.jl is a Julia package for fitting mixed-effects models with flexible covariance structure. Implemented covariance structures: Scaled Identity (SI) Diagonal (DIAG) Autoregressive (AR) Heterogeneous Autoregressiv…

---

## [Lexical scope vs. Dynamic scope](https://discourse.julialang.org/t/lexical-scope-vs-dynamic-scope/78829)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 28\
**Last updated:** [May 14, 2025, 11:13pm UTC](https://discourse.julialang.org/t/lexical-scope-vs-dynamic-scope/78829 "2025-05-14T23:13:59Z")

</div>

What are the advantages of the lexical scope in general compared to dynamic scope? Isn’t inheriting from the parent scope similar to global variables? Why did Julia chose this approach and what are the perfomance differ…

---

## [Sporadic error when installing a package](https://discourse.julialang.org/t/sporadic-error-when-installing-a-package/128809)

<div class="topic-metadata">

**Author:** [@Alexandre\_Bergel](https://discourse.julialang.org/u/Alexandre_Bergel)\
**Replies:** 1\
**Last updated:** [May 14, 2025, 8:29pm UTC](https://discourse.julialang.org/t/sporadic-error-when-installing-a-package/128809 "2025-05-14T20:29:35Z")

</div>

ReLint is run on every single commit in my organization. It works great, however, sometimes some unexplainable error happens, e.g.,: ERROR: Error when installing package StructTypes: IOError: readdir("/home/runner/.juli…

---

## [\[ANN\] Fortuna.jl: Structural and System Reliability Analysis in Julia](https://discourse.julialang.org/t/ann-fortuna-jl-structural-and-system-reliability-analysis-in-julia/129005)

<div class="topic-metadata">

**Author:** [@AkchurinDA](https://discourse.julialang.org/u/AkchurinDA)\
**Replies:** 0\
**Last updated:** [May 14, 2025, 5:48pm UTC](https://discourse.julialang.org/t/ann-fortuna-jl-structural-and-system-reliability-analysis-in-julia/129005 "2025-05-14T17:48:32Z")

</div>

Hi all, Looking to calculate probability of failure or reliability index of your system under uncertainty? Look no further! I would like to officially announce the release of Fortuna.jl, a general-purpose package for s…

---

## [Faster \`findmin\` without LoopVectorization.jl](https://discourse.julialang.org/t/faster-findmin-without-loopvectorization-jl/121742)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 35\
**Last updated:** [May 14, 2025, 4:06pm UTC](https://discourse.julialang.org/t/faster-findmin-without-loopvectorization-jl/121742 "2025-05-14T16:06:48Z")

</div>

@graeme-a-stewart has this faster alternative of Base.findmin: julia\> using LoopVectorization, Chairmarks julia\> function fast\_findmin(dij, n) best = 1 @inbounds dij\_min = dij\[1\] @turbo…

---

## [JuliaCon 2025: Schedule Released, Early Bird Tickets, Posters](https://discourse.julialang.org/t/juliacon-2025-schedule-released-early-bird-tickets-posters/129000)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [May 14, 2025, 4:01pm UTC](https://discourse.julialang.org/t/juliacon-2025-schedule-released-early-bird-tickets-posters/129000 "2025-05-14T16:01:03Z")

</div>

Here are a round up of updates from JuliaCon: The schedule is now released! Speakers, make sure to confirm your talk and update your availability to avoid scheduling conflicts. We have extended early bird pricing to Ma…

---

## [\[ANN\] DocumenterVitepress 0.2 with breaking changes](https://discourse.julialang.org/t/ann-documentervitepress-0-2-with-breaking-changes/128989)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 0\
**Last updated:** [May 14, 2025, 9:32am UTC](https://discourse.julialang.org/t/ann-documentervitepress-0-2-with-breaking-changes/128989 "2025-05-14T09:32:48Z")

</div>

I have just released DocumenterVitepress 0.2 which is breaking, so your docs workflows will break unless you have compat set to 0.1. Many people don’t have compat settings in their docs/Project.toml (myself included) so …

---

## [\[ANN\] TypedMatrices.jl v1.2.0 - Package for Numerical Computation: Enhanced Matrix Search, Properties, Group Management, and Usability](https://discourse.julialang.org/t/ann-typedmatrices-jl-v1-2-0-package-for-numerical-computation-enhanced-matrix-search-properties-group-management-and-usability/128996)

<div class="topic-metadata">

**Author:** [@Andy\_Zhang](https://discourse.julialang.org/u/Andy_Zhang)\
**Replies:** 0\
**Last updated:** [May 14, 2025, 1:34pm UTC](https://discourse.julialang.org/t/ann-typedmatrices-jl-v1-2-0-package-for-numerical-computation-enhanced-matrix-search-properties-group-management-and-usability/128996 "2025-05-14T13:34:21Z")

</div>

Hi everyone, I’m happy to announce the release of TypedMatrices.jl v1.2.0! :tada: This version marks a feature-complete and stable milestone, ready for use in research, teaching, and numerical software development. Ov…

---

## [Specialisation rules for function objects and type parameters](https://discourse.julialang.org/t/specialisation-rules-for-function-objects-and-type-parameters/128991)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 2\
**Last updated:** [May 14, 2025, 11:29am UTC](https://discourse.julialang.org/t/specialisation-rules-for-function-objects-and-type-parameters/128991 "2025-05-14T11:29:39Z")

</div>

The Julia docs say: I am wondering if this applies recursively or not? For example, struct Wrapper{F\<:Function} f::F end (w::Wrapper{F})(x) where {F} = w.f(x) f\_func(f, num) = ntuple(f, div(num, 2)) Would f\_func …

---

## [Reusing NoiseProcess in StochasticDiffEq](https://discourse.julialang.org/t/reusing-noiseprocess-in-stochasticdiffeq/128947)

<div class="topic-metadata">

**Author:** [@ymuv1](https://discourse.julialang.org/u/ymuv1)\
**Replies:** 2\
**Last updated:** [May 14, 2025, 9:33am UTC](https://discourse.julialang.org/t/reusing-noiseprocess-in-stochasticdiffeq/128947 "2025-05-14T09:33:13Z")

</div>

I am trying to use the same NoiseProcess in two different SDE integrations. I don’t mean to just use the same type of noise, but the same values as well (and potentially values in intermediate times obtained via the brid…

---

## [How to use monotonic interpolation instead of linear?](https://discourse.julialang.org/t/how-to-use-monotonic-interpolation-instead-of-linear/128958)

<div class="topic-metadata">

**Author:** [@dg.aragones](https://discourse.julialang.org/u/dg.aragones)\
**Replies:** 4\
**Last updated:** [May 14, 2025, 9:30am UTC](https://discourse.julialang.org/t/how-to-use-monotonic-interpolation-instead-of-linear/128958 "2025-05-14T09:30:15Z")

</div>

Hi everyone, I’ve been using a simple interpolation function like this: Φ(ϕ, t) = interpolate((0 : 7/length(ϕ) : 7,), vcat(0, ϕ), Gridded(Linear()))(t) This uses linear interpolation with Interpolations.jl, and it wor…

---

## [\[ANN\] TestPicker - Interactive tool for testing based on fzf and bat](https://discourse.julialang.org/t/ann-testpicker-interactive-tool-for-testing-based-on-fzf-and-bat/128273)

<div class="topic-metadata">

**Author:** [@theogf](https://discourse.julialang.org/u/theogf)\
**Replies:** 7\
**Last updated:** [May 14, 2025, 8:31am UTC](https://discourse.julialang.org/t/ann-testpicker-interactive-tool-for-testing-based-on-fzf-and-bat/128273 "2025-05-14T08:31:20Z")

</div>

We all know testing does not necessarily has the best support in Julia. And if there are great frameworks like ReTest.jl or TestItemRunner.jl to mention these only, they still rely on replacing the traditional Test.jl fr…

---

## [Slow package precompilation of Julia packages in Colab due to filesystem](https://discourse.julialang.org/t/slow-package-precompilation-of-julia-packages-in-colab-due-to-filesystem/128956)

<div class="topic-metadata">

**Author:** [@Tato\_Khundadze](https://discourse.julialang.org/u/Tato_Khundadze)\
**Replies:** 5\
**Last updated:** [May 14, 2025, 12:49am UTC](https://discourse.julialang.org/t/slow-package-precompilation-of-julia-packages-in-colab-due-to-filesystem/128956 "2025-05-14T00:49:33Z")

</div>

Hi everyone, I’m new to Julia and currently using it in Google Colab for some modeling work. I’ve noticed that package installation is quite slow — it takes several minutes. Is this expected behavior, or am I missing so…

---

## [Gurobi12 reports OPTIMAL to an NLP which is actually UNbounded](https://discourse.julialang.org/t/gurobi12-reports-optimal-to-an-nlp-which-is-actually-unbounded/127293)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 9\
**Last updated:** [May 14, 2025, 1:07am UTC](https://discourse.julialang.org/t/gurobi12-reports-optimal-to-an-nlp-which-is-actually-unbounded/127293 "2025-05-14T01:07:05Z")

</div>

Continuing the discussion from Gurobi12 Reports unbounded to a nonconvex QP which is actually bounded: import JuMP, Gurobi NLP = JuMP.Model(Gurobi.Optimizer); JuMP.@variable(NLP, x); JuMP.@objective(NLP, Min, (x + 1) \* …

---

## [Gurobi12 Reports unbounded to a nonconvex QP which is actually bounded](https://discourse.julialang.org/t/gurobi12-reports-unbounded-to-a-nonconvex-qp-which-is-actually-bounded/126657)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 15\
**Last updated:** [May 14, 2025, 1:03am UTC](https://discourse.julialang.org/t/gurobi12-reports-unbounded-to-a-nonconvex-qp-which-is-actually-bounded/126657 "2025-05-14T01:03:45Z")

</div>

import JuMP import Gurobi function objf(x, y) return (y - 2)^2/4 - x \* y end B = JuMP.Model(() -\> Gurobi.Optimizer()); # A bilinear program JuMP.@variable(B, 0 \<= x \<= 1); JuMP.@variable(B, y); # this variable is free Ju…

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

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