# Latest

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

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

**Page:** 211

---

## [Optimization of states and parameters with Multibody.jl and ModelingToolkit](https://discourse.julialang.org/t/optimization-of-states-and-parameters-with-multibody-jl-and-modelingtoolkit/126156)

<div class="topic-metadata">

**Author:** [@Odie](https://discourse.julialang.org/u/Odie)\
**Replies:** 1\
**Last updated:** [March 2, 2025, 10:15pm UTC](https://discourse.julialang.org/t/optimization-of-states-and-parameters-with-multibody-jl-and-modelingtoolkit/126156 "2025-03-02T22:15:20Z")

</div>

Hi all, I’m working with a large model created with Multibody.jl and would like to use it to run some optimizations. The optimization variables could be model parameters as well as model states (see a simple problem exa…

---

## [Question and error about optimization for Nueral ode](https://discourse.julialang.org/t/question-and-error-about-optimization-for-nueral-ode/125950)

<div class="topic-metadata">

**Author:** [@yyyyyyyy](https://discourse.julialang.org/u/yyyyyyyy)\
**Replies:** 1\
**Last updated:** [March 2, 2025, 10:02pm UTC](https://discourse.julialang.org/t/question-and-error-about-optimization-for-nueral-ode/125950 "2025-03-02T22:02:35Z")

</div>

Hi i am running the below code in 1.11.1 using ComponentArrays, Lux, DiffEqFlux, Optimization, Random, Plots, OptimizationOptimisers rng = Random.default\_rng() u0 = Float32\[2.0; 0.0\] datasize = 30 tspan = (0.0f0, 1.5f…

---

## [Precompilation error when installing Makie/GLMakie](https://discourse.julialang.org/t/precompilation-error-when-installing-makie-glmakie/126460)

<div class="topic-metadata">

**Author:** [@LucasMSpereira](https://discourse.julialang.org/u/LucasMSpereira)\
**Replies:** 11\
**Last updated:** [March 2, 2025, 10:00pm UTC](https://discourse.julialang.org/t/precompilation-error-when-installing-makie-glmakie/126460 "2025-03-02T22:00:54Z")

</div>

When trying to add Makie, precompilation errors are triggered (with GLMakie, Pango\_jll and GLMakie also show up in this list): Precompiling project... ✗ OpenEXR ✗ Cairo\_jll ✗ HarfBuzz\_jll ✗ libass\_jll ✗ FFMPEG…

---

## [Creating a shared library with juliac](https://discourse.julialang.org/t/creating-a-shared-library-with-juliac/126477)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 1\
**Last updated:** [March 2, 2025, 8:03pm UTC](https://discourse.julialang.org/t/creating-a-shared-library-with-juliac/126477 "2025-03-02T20:03:39Z")

</div>

I would like to experiment with using R’s .Call interface to call Julia functions compiled into a shared library. See Using rcopy and sexp methods to create a .Call interface to a compiled Julia library · Issue #556 · J…

---

## [Intermittent JLD2 Save Error on HPC](https://discourse.julialang.org/t/intermittent-jld2-save-error-on-hpc/126401)

<div class="topic-metadata">

**Author:** [@Gattu\_Mytraya](https://discourse.julialang.org/u/Gattu_Mytraya)\
**Replies:** 5\
**Last updated:** [March 2, 2025, 3:30pm UTC](https://discourse.julialang.org/t/intermittent-jld2-save-error-on-hpc/126401 "2025-03-02T15:30:01Z")

</div>

Hi, I routinely use JLD2 to save the results of simulations to the disk on my university’s HPC. However, about 1 in 100 times, I get the following error: ERROR: LoadError: IOError: stat("/storage/home/mvg6042/scratch/q…

---

## [Updating to latest release using \`juliaup\`](https://discourse.julialang.org/t/updating-to-latest-release-using-juliaup/113718)

<div class="topic-metadata">

**Author:** [@Devansh1106](https://discourse.julialang.org/u/Devansh1106)\
**Replies:** 3\
**Last updated:** [March 2, 2025, 5:52am UTC](https://discourse.julialang.org/t/updating-to-latest-release-using-juliaup/113718 "2025-03-02T05:52:21Z")

</div>

I am updating julia to latest release in WSL but it seems to have some error while updating. I am using juliaup update command. Following is the error message: devansh@MSI:~$ juliaup update Installing Julia 1.10.3+0.x64…

---

## [Semicolons inside function declaration](https://discourse.julialang.org/t/semicolons-inside-function-declaration/101970)

<div class="topic-metadata">

**Author:** [@enderw88](https://discourse.julialang.org/u/enderw88)\
**Replies:** 17\
**Last updated:** [March 1, 2025, 6:48pm UTC](https://discourse.julialang.org/t/semicolons-inside-function-declaration/101970 "2025-03-01T18:48:20Z")

</div>

I am picking up a stale package that reads a specific type of text file (IGC file if anyone out there flies gliders). I have seen a few instances of including a semi-colon inside the function declaration, like function…

---

## [In-place mapslices?](https://discourse.julialang.org/t/in-place-mapslices/126415)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [March 1, 2025, 4:46pm UTC](https://discourse.julialang.org/t/in-place-mapslices/126415 "2025-03-01T16:46:43Z")

</div>

I want to apply a function that operates on a vector, to each column of a matrix. So, I use mapslices(). But, how to modify the matrix in-place? The following is a failed attempt: function f!(xs) a = xs\[1\] @. xs = …

---

## [Recommended way to introspect a Union type?](https://discourse.julialang.org/t/recommended-way-to-introspect-a-union-type/126380)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 2\
**Last updated:** [March 1, 2025, 4:23pm UTC](https://discourse.julialang.org/t/recommended-way-to-introspect-a-union-type/126380 "2025-03-01T16:23:20Z")

</div>

I want to introspect a union type. More concretely I want a function that takes a type T of the form T = Union{X,Y} and returns Set((X,Y)). I can do this like X = T.a and Y = T.b. But that feels like internals. Is the…

---

## [How to document a struct with two constructors?](https://discourse.julialang.org/t/how-to-document-a-struct-with-two-constructors/126453)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [March 1, 2025, 3:04pm UTC](https://discourse.julialang.org/t/how-to-document-a-struct-with-two-constructors/126453 "2025-03-01T15:04:05Z")

</div>

using Parameters, StaticArrays const MVec3 = MVector{3, Float64} """ Section Represents a wing section with leading edge, trailing edge, and aerodynamic properties. # Fields - \`LE\_point::MVec3\` = zeros(MVec3):…

---

## [No method error (reshape) when solving ODE with ComponentArrays.jl](https://discourse.julialang.org/t/no-method-error-reshape-when-solving-ode-with-componentarrays-jl/126342)

<div class="topic-metadata">

**Author:** [@Wen-Wei\_Tseng](https://discourse.julialang.org/u/Wen-Wei_Tseng)\
**Replies:** 1\
**Last updated:** [March 1, 2025, 2:44pm UTC](https://discourse.julialang.org/t/no-method-error-reshape-when-solving-ode-with-componentarrays-jl/126342 "2025-03-01T14:44:56Z")

</div>

Hi, I was using ComponentArrays.jl to solve the ODE problem in the README and got an error. using ComponentArrays using OrdinaryDiffEq using SimpleUnPack: @unpack tspan = (0.0, 20.0) function lorenz!(D, u, p, t; f=0.0…

---

## [Backtesting App Development](https://discourse.julialang.org/t/backtesting-app-development/111772)

<div class="topic-metadata">

**Author:** [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)\
**Replies:** 5\
**Last updated:** [March 1, 2025, 12:39pm UTC](https://discourse.julialang.org/t/backtesting-app-development/111772 "2025-03-01T12:39:41Z")

</div>

Hi! Last few years I have developed a backtesting framework in Julia. It’s now in its alpha stage. The core of the framework is closed source and the aim is to monetize it at a future stage. I’m now looking for a partn…

---

## [Linear system solution not working in CUDA](https://discourse.julialang.org/t/linear-system-solution-not-working-in-cuda/126398)

<div class="topic-metadata">

**Author:** [@eveningsilverfox](https://discourse.julialang.org/u/eveningsilverfox)\
**Replies:** 4\
**Last updated:** [March 1, 2025, 11:51am UTC](https://discourse.julialang.org/t/linear-system-solution-not-working-in-cuda/126398 "2025-03-01T11:51:39Z")

</div>

I am trying to do a linear solve using LU decomposition and ldiv! on my GPU. However, the results from the GPU do not match those from the CPU. Any ideas where I am going wrong? EDIT: I tried using the simple backslash …

---

## [Exporting figures to static HTML](https://discourse.julialang.org/t/exporting-figures-to-static-html/125896)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 31\
**Last updated:** [March 1, 2025, 11:48am UTC](https://discourse.julialang.org/t/exporting-figures-to-static-html/125896 "2025-03-01T11:48:57Z")

</div>

Hi! I am trying to embed my makie plots as html files in my github pages website which uses jekyll. I found this blog post which explains how it can be done: using Julia to do web based interactive plotting | Aaron Tro…

---

## [Problems creating App with PackageCompiler.jl](https://discourse.julialang.org/t/problems-creating-app-with-packagecompiler-jl/126181)

<div class="topic-metadata">

**Author:** [@Alex\_73](https://discourse.julialang.org/u/Alex_73)\
**Replies:** 5\
**Last updated:** [March 1, 2025, 10:27am UTC](https://discourse.julialang.org/t/problems-creating-app-with-packagecompiler-jl/126181 "2025-03-01T10:27:57Z")

</div>

\*\* environment: linux with Version 1.11.3 (2025-01-21) of julia and the latest version of PackageCompiler.jl I started studying the PackageCompiler.jl documentation and tried to reproduce the example sample. More preci…

---

## [Alternatives for parallel programming with nvidia cards with CUDA versions lower than 9-10](https://discourse.julialang.org/t/alternatives-for-parallel-programming-with-nvidia-cards-with-cuda-versions-lower-than-9-10/118345)

<div class="topic-metadata">

**Author:** [@Alex\_73](https://discourse.julialang.org/u/Alex_73)\
**Replies:** 0\
**Last updated:** [August 18, 2024, 8:36pm UTC](https://discourse.julialang.org/t/alternatives-for-parallel-programming-with-nvidia-cards-with-cuda-versions-lower-than-9-10/118345 "2024-08-18T20:36:43Z")

</div>

I’m starting to study parallel programming and would like to use the nvidia drivers. In my case, I have a GeForce 820M video card with drivers 390.157, the latest for this hardware. I also tried to install the CUDA versi…

---

## [Vscode + Julia :: Error while communicating with the LS. check](https://discourse.julialang.org/t/vscode-julia-error-while-communicating-with-the-ls-check/121441)

<div class="topic-metadata">

**Author:** [@lionisxn](https://discourse.julialang.org/u/lionisxn)\
**Replies:** 4\
**Last updated:** [March 1, 2025, 5:02am UTC](https://discourse.julialang.org/t/vscode-julia-error-while-communicating-with-the-ls-check/121441 "2025-03-01T05:02:11Z")

</div>

The shortcut of "shift + enter " doesn’t work in my vscode (1.94.2) with the julia extension (v1.124.2 ), an error prompts like this Any idea on how to solve it?

---

## [Manually Trigger Mark Phase of GC](https://discourse.julialang.org/t/manually-trigger-mark-phase-of-gc/126429)

<div class="topic-metadata">

**Author:** [@ejmeitz](https://discourse.julialang.org/u/ejmeitz)\
**Replies:** 7\
**Last updated:** [March 1, 2025, 2:47am UTC](https://discourse.julialang.org/t/manually-trigger-mark-phase-of-gc/126429 "2025-03-01T02:47:35Z")

</div>

Hello, I was wondering if there is a way to manually trigger the mark phase of the garbage collector to manually call finalizers on objects which are marked as unreachable? I have lots of foreign objects owned by C++ a…

---

## [Enzyme - Incorrect (?) Forward results on function that returns a literal value within a tuple](https://discourse.julialang.org/t/enzyme-incorrect-forward-results-on-function-that-returns-a-literal-value-within-a-tuple/126443)

<div class="topic-metadata">

**Author:** [@jl\_enthusiast](https://discourse.julialang.org/u/jl_enthusiast)\
**Replies:** 3\
**Last updated:** [March 1, 2025, 2:35am UTC](https://discourse.julialang.org/t/enzyme-incorrect-forward-results-on-function-that-returns-a-literal-value-within-a-tuple/126443 "2025-03-01T02:35:45Z")

</div>

The issue can be reduced to the following semi-MWE: Consider a function that return a literal number, and some vector(s): using Enzyme function tester(x::AbstractVector{T}) where T return (T(pi), sum(x), x.^2) end…

---

## [\[ANN\] VortexStepMethod.jl Aerodynamic models of 3D wings using the Vortex Step Method](https://discourse.julialang.org/t/ann-vortexstepmethod-jl-aerodynamic-models-of-3d-wings-using-the-vortex-step-method/126442)

<div class="topic-metadata">

**Author:** [@Bart\_van\_de\_Lint](https://discourse.julialang.org/u/Bart_van_de_Lint)\
**Replies:** 4\
**Last updated:** [March 1, 2025, 1:50am UTC](https://discourse.julialang.org/t/ann-vortexstepmethod-jl-aerodynamic-models-of-3d-wings-using-the-vortex-step-method/126442 "2025-03-01T01:50:17Z")

</div>

The Vortex Step Method (VSM) is an enhanced lifting line method that improves upon the classic approach by solving the circulation system at the three-quarter chord position, among the most important details. This adjust…

---

## [Practical Grassmann.jl examples?](https://discourse.julialang.org/t/practical-grassmann-jl-examples/126439)

<div class="topic-metadata">

**Author:** [@jada](https://discourse.julialang.org/u/jada)\
**Replies:** 1\
**Last updated:** [March 1, 2025, 12:54am UTC](https://discourse.julialang.org/t/practical-grassmann-jl-examples/126439 "2025-03-01T00:54:33Z")

</div>

I am looking for examples how to work with forms, e.g. how to evaluate a form on a vector field, pull back a form, do external derivatives and so on. I already failed at replicating the tutorial linked below, which give…

---

## [Inconsistent Behavior of Revise.jl in VSCode](https://discourse.julialang.org/t/inconsistent-behavior-of-revise-jl-in-vscode/126381)

<div class="topic-metadata">

**Author:** [@Matt\_jl](https://discourse.julialang.org/u/Matt_jl)\
**Replies:** 1\
**Last updated:** [March 1, 2025, 12:13am UTC](https://discourse.julialang.org/t/inconsistent-behavior-of-revise-jl-in-vscode/126381 "2025-03-01T00:13:42Z")

</div>

Hi everyone, I’m having serious trouble using Revise in VSCode. Sometimes it works perfectly, other times it doesn’t, and the behavior seems extremely inconsistent. I can’t figure out what’s going on. I don’t even know…

---

## [Github - How to clone/install specific branch?](https://discourse.julialang.org/t/github-how-to-clone-install-specific-branch/23572)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 13\
**Last updated:** [February 28, 2025, 10:00pm UTC](https://discourse.julialang.org/t/github-how-to-clone-install-specific-branch/23572 "2025-02-28T22:00:01Z")

</div>

Hey guys! I started using Github for my package (GitHub - AhmedSalih3d/PostSPH.jl: Easing the process of post-processing simulations done in DualSPHysics) and I have two different branches, “master” and “dev”. If I do t…

---

## [AI Simulation and Control Engineer in London (Up to £150k + Generous equity)](https://discourse.julialang.org/t/ai-simulation-and-control-engineer-in-london-up-to-150k-generous-equity/124583)

<div class="topic-metadata">

**Author:** [@DaveH](https://discourse.julialang.org/u/DaveH)\
**Replies:** 2\
**Last updated:** [February 28, 2025, 6:44pm UTC](https://discourse.julialang.org/t/ai-simulation-and-control-engineer-in-london-up-to-150k-generous-equity/124583 "2025-02-28T18:44:34Z")

</div>

Optimal is building AI agents to control the world’s most critical infrastructure - from factories, to datacenters, and starting with high-tech greenhouses. We are backed by the Director of AI Research at Google DeepMin…

---

## [Getting unbounded ray in JuMP](https://discourse.julialang.org/t/getting-unbounded-ray-in-jump/126097)

<div class="topic-metadata">

**Author:** [@Shuvomoy\_Das\_Gupta](https://discourse.julialang.org/u/Shuvomoy_Das_Gupta)\
**Replies:** 5\
**Last updated:** [February 28, 2025, 6:33pm UTC](https://discourse.julialang.org/t/getting-unbounded-ray-in-jump/126097 "2025-02-28T18:33:29Z")

</div>

I have an unbounded linear program that I am solving using Gurobi with the attribute: set\_attribute(model, "InfUnbdInfo", 1) set\_attribute(model, "DualReductions", 0) and the model is indeed unbounded. I want to get …

---

## [Julia Consulting by Julius Technologies](https://discourse.julialang.org/t/julia-consulting-by-julius-technologies/105121)

<div class="topic-metadata">

**Author:** [@James\_Lee](https://discourse.julialang.org/u/James_Lee)\
**Replies:** 1\
**Last updated:** [February 28, 2025, 6:23pm UTC](https://discourse.julialang.org/t/julia-consulting-by-julius-technologies/105121 "2025-02-28T18:23:41Z")

</div>

I am thrilled to introduce Julius Technologies Consulting, the consulting arm for Julius Technologies. As you may already know, Julius Technologies offers a low-code graph computing solution that makes it simple for dev…

---

## [Position as Modeling and Optimization Engineer in Switzerland](https://discourse.julialang.org/t/position-as-modeling-and-optimization-engineer-in-switzerland/124533)

<div class="topic-metadata">

**Author:** [@ncs](https://discourse.julialang.org/u/ncs)\
**Replies:** 6\
**Last updated:** [February 28, 2025, 6:16pm UTC](https://discourse.julialang.org/t/position-as-modeling-and-optimization-engineer-in-switzerland/124533 "2025-02-28T18:16:54Z")

</div>

Hi everyone, We are a startup developing software for decarbonizing cities. We’re currently looking for a Modeling and Optimization Engineer who will be responsible for developing, scaling, and accelerating our models o…

---

## [Looking for a freelancer for scientific computing, nonlinear optimization, and data reconciliation](https://discourse.julialang.org/t/looking-for-a-freelancer-for-scientific-computing-nonlinear-optimization-and-data-reconciliation/119045)

<div class="topic-metadata">

**Author:** [@udiekman](https://discourse.julialang.org/u/udiekman)\
**Replies:** 4\
**Last updated:** [February 28, 2025, 6:15pm UTC](https://discourse.julialang.org/t/looking-for-a-freelancer-for-scientific-computing-nonlinear-optimization-and-data-reconciliation/119045 "2025-02-28T18:15:28Z")

</div>

We are seeking a Julia developer to create a prototype for analyzing mass flows, energy flows, substance concentrations, and performing data reconciliation. The mathematical tools are solving (bilinear) least-squares …

---

## [\[ANN\] B7nSecretsManagerUnoffClient.jl - An unofficial Julia client for Bitwarden Secrets Manager](https://discourse.julialang.org/t/ann-b7nsecretsmanagerunoffclient-jl-an-unofficial-julia-client-for-bitwarden-secrets-manager/126427)

<div class="topic-metadata">

**Author:** [@scelles](https://discourse.julialang.org/u/scelles)\
**Replies:** 0\
**Last updated:** [February 28, 2025, 4:14pm UTC](https://discourse.julialang.org/t/ann-b7nsecretsmanagerunoffclient-jl-an-unofficial-julia-client-for-bitwarden-secrets-manager/126427 "2025-02-28T16:14:12Z")

</div>

Hello Julia Community! I’m excited to share my work on BitwardenSecretsManagerUnofficialClient.jl, an unofficial Julia client for Bitwarden Secrets Manager. What is Bitwarden Secrets Manager? For those unfamiliar, Bitw…

---

## [Bitwarden Password Manager and Secrets Manager](https://discourse.julialang.org/t/bitwarden-password-manager-and-secrets-manager/126205)

<div class="topic-metadata">

**Author:** [@scelles](https://discourse.julialang.org/u/scelles)\
**Replies:** 8\
**Last updated:** [February 28, 2025, 4:34pm UTC](https://discourse.julialang.org/t/bitwarden-password-manager-and-secrets-manager/126205 "2025-02-28T16:34:48Z")

</div>

Hello, I’m using Bitwarden Password Manager as password manager. I’m looking for a Julia client to retrieve API keys stored in Bitwarden Secret Manager. (Instead of string into flat .env file or any other solution lik…

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

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