# Latest

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

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

**Page:** 229

---

## [Vscode julia language server cannot load on recent nixos](https://discourse.julialang.org/t/vscode-julia-language-server-cannot-load-on-recent-nixos/125352)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [January 30, 2025, 9:27am UTC](https://discourse.julialang.org/t/vscode-julia-language-server-cannot-load-on-recent-nixos/125352 "2025-01-30T09:27:37Z")

</div>

after upgrading my nixos, the juliaup julia process cannot start the vscode language server because of some curl dependency. Is this not managed inside julia? Usually on nixos things only break if the program depends i…

---

## [Publishing from Codeberg](https://discourse.julialang.org/t/publishing-from-codeberg/125363)

<div class="topic-metadata">

**Author:** [@Soel](https://discourse.julialang.org/u/Soel)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 10:47pm UTC](https://discourse.julialang.org/t/publishing-from-codeberg/125363 "2025-01-29T22:47:08Z")

</div>

Hello Julians, I am trying to publish a package… developing on codeberg (codeberg.org), I wonder how to publish it from there. Mirror it to github and try to register? Thanks.

---

## [Incorrect mean in the EnsembleSummary plot?](https://discourse.julialang.org/t/incorrect-mean-in-the-ensemblesummary-plot/125325)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 5:51pm UTC](https://discourse.julialang.org/t/incorrect-mean-in-the-ensemblesummary-plot/125325 "2025-01-29T17:51:48Z")

</div>

I have the following snippet: module mwe using OrdinaryDiffEq using Plots using Distributions using Statistics tspan = (0.0, 10.0) Δt = 0.5 g(u, p, t) = p\[1\] \* t x0 = 0.0 # base problem prob\_x = ODEProblem(g, x0, tsp…

---

## [Return inequality direction for normalized constraint](https://discourse.julialang.org/t/return-inequality-direction-for-normalized-constraint/125356)

<div class="topic-metadata">

**Author:** [@karlzhu](https://discourse.julialang.org/u/karlzhu)\
**Replies:** 2\
**Last updated:** [January 29, 2025, 9:08pm UTC](https://discourse.julialang.org/t/return-inequality-direction-for-normalized-constraint/125356 "2025-01-29T21:08:06Z")

</div>

I’m implementing something from a paper that assumes I have an LP of the following form: So for each constraint i in my specific model I need to figure out what the vectors u\_i, g\_i and element b\_i are. I’m able to g…

---

## [JuliaMolSim community](https://discourse.julialang.org/t/juliamolsim-community/125362)

<div class="topic-metadata">

**Author:** [@rkurchin](https://discourse.julialang.org/u/rkurchin)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 8:46pm UTC](https://discourse.julialang.org/t/juliamolsim-community/125362 "2025-01-29T20:46:16Z")

</div>

Hey everyone! I want to make a plug for the JuliaMolSim community – a home for anyone engaged in molecular and materials modeling in Julia! We maintain some community interface packages (GH) like AtomsBase and AtomsCalcu…

---

## [Julialauncher vs Julia REPL](https://discourse.julialang.org/t/julialauncher-vs-julia-repl/125308)

<div class="topic-metadata">

**Author:** [@Owen77S](https://discourse.julialang.org/u/Owen77S)\
**Replies:** 7\
**Last updated:** [January 29, 2025, 8:24pm UTC](https://discourse.julialang.org/t/julialauncher-vs-julia-repl/125308 "2025-01-29T20:24:42Z")

</div>

Hi, I’m a new user of Julia and I’m a bit confused something. What’s the difference between launching julia in a terminal (with the command julia) and launching it by executing a random file ?

---

## [Why is CUDA.FFT slow only when performed over the second dimension of a 3D array?](https://discourse.julialang.org/t/why-is-cuda-fft-slow-only-when-performed-over-the-second-dimension-of-a-3d-array/125358)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 0\
**Last updated:** [January 29, 2025, 6:49pm UTC](https://discourse.julialang.org/t/why-is-cuda-fft-slow-only-when-performed-over-the-second-dimension-of-a-3d-array/125358 "2025-01-29T18:49:19Z")

</div>

Consider the following test on the CPU: using CUDA, FFTW, BenchmarkTools x = randn(ComplexF32, 2^7, 2^7, 2^7) for dim ∈ 1:ndims(x) @info "FFT along dimension $dim" display(@benchmark CUDA.@sync fft($x, $dim)) …

---

## [What is the difference between rand and sample?](https://discourse.julialang.org/t/what-is-the-difference-between-rand-and-sample/52297)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 18\
**Last updated:** [January 29, 2025, 6:14pm UTC](https://discourse.julialang.org/t/what-is-the-difference-between-rand-and-sample/52297 "2025-01-29T18:14:17Z")

</div>

What is the difference between rand(array, n) and sample(array, n)?

---

## [Using invoke() to call more general method](https://discourse.julialang.org/t/using-invoke-to-call-more-general-method/125324)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 4\
**Last updated:** [January 29, 2025, 6:05pm UTC](https://discourse.julialang.org/t/using-invoke-to-call-more-general-method/125324 "2025-01-29T18:05:18Z")

</div>

I have a method for convert() that I use on various subtypes of a ConfigStruct type, to initialize from a dictionary. For a couple of subtypes, I want to define specific behaviors (e.g., catch deprecated keys and map th…

---

## [Macro for linking Julia fcn to @ccall of C fcn, given names and arg types](https://discourse.julialang.org/t/macro-for-linking-julia-fcn-to-ccall-of-c-fcn-given-names-and-arg-types/125326)

<div class="topic-metadata">

**Author:** [@luke-kiernan](https://discourse.julialang.org/u/luke-kiernan)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 5:29pm UTC](https://discourse.julialang.org/t/macro-for-linking-julia-fcn-to-ccall-of-c-fcn-given-names-and-arg-types/125326 "2025-01-29T17:29:02Z")

</div>

I have a bunch of C functions, that I want to write Julia wrappers for. Here’s an example: const LIBSPARSE = "/System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/"\* "vecLib.framewor…

---

## [\[Workgroup\] JuliaHealth Meeting (Americas/Europe/Africa) -- January 29th, 2024](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-americas-europe-africa-january-29th-2024/125283)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 5:02pm UTC](https://discourse.julialang.org/t/workgroup-juliahealth-meeting-americas-europe-africa-january-29th-2024/125283 "2025-01-29T17:02:25Z")

</div>

Hi Everyone! :wave: It is a new year and it is time to have our first JuliaHealth monthly meeting! This month’s meeting will be a little different: we are running for 2 hours to reflect on this past year, think about the…

---

## [Efficient link all x-axis for updating limits and zooming in x direction](https://discourse.julialang.org/t/efficient-link-all-x-axis-for-updating-limits-and-zooming-in-x-direction/79288)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 4:46pm UTC](https://discourse.julialang.org/t/efficient-link-all-x-axis-for-updating-limits-and-zooming-in-x-direction/79288 "2025-01-29T16:46:53Z")

</div>

I am making an interactive app that has some series of axis with the same x axis. For efficiency reasons, I am linking the x-axes, so that I only update the x limits of one axis. I’ve noticed, with the way I do it now (s…

---

## [@latest tag in Github actions](https://discourse.julialang.org/t/latest-tag-in-github-actions/125328)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 1:30pm UTC](https://discourse.julialang.org/t/latest-tag-in-github-actions/125328 "2025-01-29T13:30:28Z")

</div>

I just learned about the @latest tag in Github Actions, as in - uses: julia-actions/setup-julia@latest I am wondering if it would make sense to use this in my YML files for all actions, eg actions/checkout@latest,…

---

## [Debugging "could not load symbol ..." from \_jll package](https://discourse.julialang.org/t/debugging-could-not-load-symbol-from-jll-package/125340)

<div class="topic-metadata">

**Author:** [@suvayu](https://discourse.julialang.org/u/suvayu)\
**Replies:** 5\
**Last updated:** [January 29, 2025, 1:17pm UTC](https://discourse.julialang.org/t/debugging-could-not-load-symbol-from-jll-package/125340 "2025-01-29T13:17:14Z")

</div>

I’m trying to debug an upstream issue with one of my dependencies (DuckDB). To summarise briefly, for the latest release everything works as expected on Linux, but the windows package fails to load a symbol from DuckDB\_…

---

## [Questions about JULIA\_CPU\_TARGET](https://discourse.julialang.org/t/questions-about-julia-cpu-target/125339)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 4\
**Last updated:** [January 29, 2025, 12:29pm UTC](https://discourse.julialang.org/t/questions-about-julia-cpu-target/125339 "2025-01-29T12:29:10Z")

</div>

I want to build a docker container that will run on Amazon EC2 M6a and M7a instances. These have Zen 3 / Zen 4 based AMD Epyc processors. Now the docker container should contain some already precompiled juila packages. …

---

## [How can I define a vector in ModelingToolkit](https://discourse.julialang.org/t/how-can-i-define-a-vector-in-modelingtoolkit/107278)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 5\
**Last updated:** [January 29, 2025, 11:12am UTC](https://discourse.julialang.org/t/how-can-i-define-a-vector-in-modelingtoolkit/107278 "2025-01-29T11:12:55Z")

</div>

The following code fails: # Example one: # Falling mass. using ModelingToolkit, OrdinaryDiffEq G\_EARTH = Float64\[0.0, 0.0, -9.81\] # gravitational acceleration # model @variables t pos(t)\[1:3\]=\[0.0, 0.0, 0.0\] @va…

---

## [Still looking for a way to use units meaningfully with SciML ecosystem](https://discourse.julialang.org/t/still-looking-for-a-way-to-use-units-meaningfully-with-sciml-ecosystem/103678)

<div class="topic-metadata">

**Author:** [@Ickaser](https://discourse.julialang.org/u/Ickaser)\
**Replies:** 17\
**Last updated:** [January 29, 2025, 11:47am UTC](https://discourse.julialang.org/t/still-looking-for-a-way-to-use-units-meaningfully-with-sciml-ecosystem/103678 "2025-01-29T11:47:11Z")

</div>

I’ve spent frustrating hours now working on an optimization problem across what should be a relatively simple set of ODEs. I am working in a field where some very commonly used units are frankly unpleasant (e.g. cm^2\\cd…

---

## [Julia 1.11.3 precompile errors](https://discourse.julialang.org/t/julia-1-11-3-precompile-errors/125253)

<div class="topic-metadata">

**Author:** [@ChrisNabold](https://discourse.julialang.org/u/ChrisNabold)\
**Replies:** 2\
**Last updated:** [January 29, 2025, 11:20am UTC](https://discourse.julialang.org/t/julia-1-11-3-precompile-errors/125253 "2025-01-29T11:20:54Z")

</div>

I tried to upgrade Julia 1-.11.2 to 1.11.3 but the package DifferentialEquations errors when precompiling

---

## [Refreshing a WGLMakie plot in realtime in jupyter notebook](https://discourse.julialang.org/t/refreshing-a-wglmakie-plot-in-realtime-in-jupyter-notebook/125300)

<div class="topic-metadata">

**Author:** [@photor](https://discourse.julialang.org/u/photor)\
**Replies:** 7\
**Last updated:** [January 29, 2025, 11:09am UTC](https://discourse.julialang.org/t/refreshing-a-wglmakie-plot-in-realtime-in-jupyter-notebook/125300 "2025-01-29T11:09:57Z")

</div>

The concept is just like the above picture (a Mathematica notebook). The use case is monitoring in realtime a field in numerical evolution. Is it possible using WGLMakie in jupyter notebook? Or other alternative sugge…

---

## [Can remake be used with specific ODEProblem types?](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135)

<div class="topic-metadata">

**Author:** [@homocomputeris](https://discourse.julialang.org/u/homocomputeris)\
**Replies:** 3\
**Last updated:** [January 29, 2025, 10:36am UTC](https://discourse.julialang.org/t/can-remake-be-used-with-specific-odeproblem-types/110135 "2025-01-29T10:36:43Z")

</div>

When I try to remake a SecondOrderODEProblem with remake(secondorderprob; u0 = x\[1\], du0 = x\[2\]) I get Unrecognized keyword arguments found. The only allowed keyword arguments to \`solve\` are: (:dense, :saveat, …

---

## [Differential equation Symbolics.jl output using Latexify.jl](https://discourse.julialang.org/t/differential-equation-symbolics-jl-output-using-latexify-jl/125309)

<div class="topic-metadata">

**Author:** [@jpg1](https://discourse.julialang.org/u/jpg1)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 10:04am UTC](https://discourse.julialang.org/t/differential-equation-symbolics-jl-output-using-latexify-jl/125309 "2025-01-29T10:04:13Z")

</div>

Hi! Enjoying using Julia greatly so far. I’ve been learning to use Symbolics.jl for differential equations, and rendering the output with Latexify.jl. However, I was wondering if it was possible to get the latexify outp…

---

## [Using multi-node Distributed.jl in a slurm cluster](https://discourse.julialang.org/t/using-multi-node-distributed-jl-in-a-slurm-cluster/121997)

<div class="topic-metadata">

**Author:** [@CarlosP24](https://discourse.julialang.org/u/CarlosP24)\
**Replies:** 1\
**Last updated:** [January 29, 2025, 8:44am UTC](https://discourse.julialang.org/t/using-multi-node-distributed-jl-in-a-slurm-cluster/121997 "2025-01-29T08:44:48Z")

</div>

I have found that many of the (not so) documented workflows for using Distributed.jl to distribute proccesses in several nodes of a slurm cluster have several drawbacks, specially for clusters that do not allow ssh conne…

---

## [Solve discretized PDE with new initial conditions](https://discourse.julialang.org/t/solve-discretized-pde-with-new-initial-conditions/125319)

<div class="topic-metadata">

**Author:** [@oswaldo](https://discourse.julialang.org/u/oswaldo)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:40pm UTC](https://discourse.julialang.org/t/solve-discretized-pde-with-new-initial-conditions/125319 "2025-01-28T19:40:46Z")

</div>

Hi I’m discretizing a PDE system using MethodOfLines.jl with mixed boundary conditions. It works well. I would like to solve the discretized PDE (ODE) system with new initial conditions (at each discretized point). I do n…

---

## ["Unsafe" inner constructors of parametric types](https://discourse.julialang.org/t/unsafe-inner-constructors-of-parametric-types/125312)

<div class="topic-metadata">

**Author:** [@danielmatz](https://discourse.julialang.org/u/danielmatz)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 10:35pm UTC](https://discourse.julialang.org/t/unsafe-inner-constructors-of-parametric-types/125312 "2025-01-28T22:35:11Z")

</div>

I’ve recently learned that you can create functions inside a struct definition other than the inner constructor. One use is to create “unsafe” inner constructors, as discussed here: Bypass inner constructor / call \`new\` …

---

## [Julia-based USRA in Mathematics at the University of Western Ontario](https://discourse.julialang.org/t/julia-based-usra-in-mathematics-at-the-university-of-western-ontario/125323)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 9:21pm UTC](https://discourse.julialang.org/t/julia-based-usra-in-mathematics-at-the-university-of-western-ontario/125323 "2025-01-28T21:21:38Z")

</div>

The Department of Mathematics at the University of Western Ontario (London, Ontario, Canada) is advertising several Undergraduate Student Research Awards (USRA) for the summer 2025. The official announcement is here. Can…

---

## [Load dynamically libjulia.dll fails on Win32?](https://discourse.julialang.org/t/load-dynamically-libjulia-dll-fails-on-win32/125317)

<div class="topic-metadata">

**Author:** [@Nelson-numerical-sof](https://discourse.julialang.org/u/Nelson-numerical-sof)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:19pm UTC](https://discourse.julialang.org/t/load-dynamically-libjulia-dll-fails-on-win32/125317 "2025-01-28T19:19:46Z")

</div>

Hi, I try to load libjulia.dll dynamically win32 version libjulia.dll on Windows but loadlibrary fails. using LoadLibrary from C++ It fails on win32 with error: Unable to load dependent library D:\\julia-1.11.3-win32\\…

---

## [Fully-funded PhD positions in SciML at the University of Bristol](https://discourse.julialang.org/t/fully-funded-phd-positions-in-sciml-at-the-university-of-bristol/125316)

<div class="topic-metadata">

**Author:** [@dawbarton](https://discourse.julialang.org/u/dawbarton)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:04pm UTC](https://discourse.julialang.org/t/fully-funded-phd-positions-in-sciml-at-the-university-of-bristol/125316 "2025-01-28T19:04:25Z")

</div>

6 fully-funded PhD positions in (applications of) scientific machine learning at the University of Bristol, UK, as part of a new cohort-based doctoral programme. See Data-Driven Engineering and Sciences for more details …

---

## [Does the new LLVM SPIR-V backend help Julia in any way?](https://discourse.julialang.org/t/does-the-new-llvm-spir-v-backend-help-julia-in-any-way/125307)

<div class="topic-metadata">

**Author:** [@xiaoxi](https://discourse.julialang.org/u/xiaoxi)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 5:42pm UTC](https://discourse.julialang.org/t/does-the-new-llvm-spir-v-backend-help-julia-in-any-way/125307 "2025-01-28T17:42:15Z")

</div>

It appears that LLVM 20 will have a SPIR-V backend. Does this new backend help Julia in any way?

---

## [MicroMamba is not currently supported on your platform (FreeBSD)](https://discourse.julialang.org/t/micromamba-is-not-currently-supported-on-your-platform-freebsd/124813)

<div class="topic-metadata">

**Author:** [@ko56](https://discourse.julialang.org/u/ko56)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 4:02pm UTC](https://discourse.julialang.org/t/micromamba-is-not-currently-supported-on-your-platform-freebsd/124813 "2025-01-28T16:02:47Z")

</div>

I’m trying to install PythonPlot in Julia v1.11, on FreeBSD 14.2. CondaPkg and MicroMamba are giving me a problem which I don’t know how to resolve. The error report from build PythonPlot follows: julia\> err PkgPrecom…

---

## [REPL does not handle multi line inputs bigger than the screen well on windows](https://discourse.julialang.org/t/repl-does-not-handle-multi-line-inputs-bigger-than-the-screen-well-on-windows/125211)

<div class="topic-metadata">

**Author:** [@cshen](https://discourse.julialang.org/u/cshen)\
**Replies:** 2\
**Last updated:** [January 28, 2025, 3:41pm UTC](https://discourse.julialang.org/t/repl-does-not-handle-multi-line-inputs-bigger-than-the-screen-well-on-windows/125211 "2025-01-28T15:41:52Z")

</div>

EDIT: linked wrong issue… Hello, I’ve encountered this issue again: REPL does not handle well multi-line input bigger than the screen · Issue #24049 · JuliaLang/julia, which is marked as resolved but I still encounter …

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

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