# Latest

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

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

**Page:** 182

---

## [BroadcastStyle of a SubArray](https://discourse.julialang.org/t/broadcaststyle-of-a-subarray/128181)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 0\
**Last updated:** [April 18, 2025, 7:50am UTC](https://discourse.julialang.org/t/broadcaststyle-of-a-subarray/128181 "2025-04-18T07:50:46Z")

</div>

The broadcast style of SubArrray (i.e. as obtained using view) is a DefaultArrayStyle: julia\> Base.BroadcastStyle(typeof(view(rand(10,10),2:3,3:4))) Base.Broadcast.DefaultArrayStyle{2}() yet it would be extremely usefu…

---

## [Overdetermined ODEProblem after upgrading from MTK v8.75.0 to MTK v9.72.0](https://discourse.julialang.org/t/overdetermined-odeproblem-after-upgrading-from-mtk-v8-75-0-to-mtk-v9-72-0/128163)

<div class="topic-metadata">

**Author:** [@celia.bat](https://discourse.julialang.org/u/celia.bat)\
**Replies:** 2\
**Last updated:** [April 18, 2025, 7:25am UTC](https://discourse.julialang.org/t/overdetermined-odeproblem-after-upgrading-from-mtk-v8-75-0-to-mtk-v9-72-0/128163 "2025-04-18T07:25:03Z")

</div>

Hi all :waving\_hand: I’m currently upgrading a model from ModelingToolkit v8.75.0 (which worked fine), to v9.72.0. I’m now running into an issue where my ODEProblem fails to initialize, even though my model contains c…

---

## [Error with jac\_prototype in Mass Matrix Form of ODEFunction (svd! on Sparse Matrix)](https://discourse.julialang.org/t/error-with-jac-prototype-in-mass-matrix-form-of-odefunction-svd-on-sparse-matrix/127513)

<div class="topic-metadata">

**Author:** [@sanjeev](https://discourse.julialang.org/u/sanjeev)\
**Replies:** 5\
**Last updated:** [April 18, 2025, 3:31am UTC](https://discourse.julialang.org/t/error-with-jac-prototype-in-mass-matrix-form-of-odefunction-svd-on-sparse-matrix/127513 "2025-04-18T03:31:04Z")

</div>

Hi all, I’m solving a DAE system using DifferentialEquations.jl in the mass matrix form. The issue arises when I include jac\_prototype in the ODEFunction. If I define ODEFunction without jac\_prototype, everything works …

---

## [\[ANN\] AbstractMetaArrays.jl – A Framework for Metadata-Aware Arrays](https://discourse.julialang.org/t/ann-abstractmetaarrays-jl-a-framework-for-metadata-aware-arrays/128123)

<div class="topic-metadata">

**Author:** [@marco\_menarini](https://discourse.julialang.org/u/marco_menarini)\
**Replies:** 4\
**Last updated:** [April 17, 2025, 9:50pm UTC](https://discourse.julialang.org/t/ann-abstractmetaarrays-jl-a-framework-for-metadata-aware-arrays/128123 "2025-04-17T21:50:23Z")

</div>

I’m pleased to announce the registration of AbstractMetaArrays.jl, a Julia package that provides a flexible framework for creating arrays enriched with metadata. The package should become available in the General registr…

---

## [Get the transpose of Vector{Vector{Float64}}](https://discourse.julialang.org/t/get-the-transpose-of-vector-vector-float64/128141)

<div class="topic-metadata">

**Author:** [@15et7dtwq](https://discourse.julialang.org/u/15et7dtwq)\
**Replies:** 9\
**Last updated:** [April 17, 2025, 8:36pm UTC](https://discourse.julialang.org/t/get-the-transpose-of-vector-vector-float64/128141 "2025-04-17T20:36:50Z")

</div>

I am coming from numpy, trying tosee if Julia can be faster. Right now I am dealing with a function that generates for me what I thought had to be a matrix, but no, it’s a vector of vector. Fine. How do I make it’s trans…

---

## ["Illegal" macro names](https://discourse.julialang.org/t/illegal-macro-names/128136)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 6\
**Last updated:** [April 17, 2025, 6:35pm UTC](https://discourse.julialang.org/t/illegal-macro-names/128136 "2025-04-17T18:35:13Z")

</div>

I am wondering if there is any reason to avoid macro names which the parser would normally reject? For example, in BorrowChecker.jl, I want to define the @& macro: julia\> @& Vector Union{Vector, Borrowed{\<:Vector}, Lazy…

---

## [Warning both package a and b export the same function](https://discourse.julialang.org/t/warning-both-package-a-and-b-export-the-same-function/128160)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 10\
**Last updated:** [April 17, 2025, 6:30pm UTC](https://discourse.julialang.org/t/warning-both-package-a-and-b-export-the-same-function/128160 "2025-04-17T18:30:11Z")

</div>

With Julia 1.10 I get the following warning: WARNING: both VortexStepMethod and NonlinearSolve export "solve!"; uses of it in module KiteModels must be qualified I don’t get it with Julia 1.11. Any idea why? What is t…

---

## [IncompleteLU.jl efficiency much worse than Matlab ilu](https://discourse.julialang.org/t/incompletelu-jl-efficiency-much-worse-than-matlab-ilu/106062)

<div class="topic-metadata">

**Author:** [@rli1996](https://discourse.julialang.org/u/rli1996)\
**Replies:** 3\
**Last updated:** [April 17, 2025, 6:01pm UTC](https://discourse.julialang.org/t/incompletelu-jl-efficiency-much-worse-than-matlab-ilu/106062 "2025-04-17T18:01:11Z")

</div>

Hello Julia user, I’m developing a model with large matrix and systems of linear equation solver. I plan to change the original matlab code in Julia as I heard Julia is much faster than MatLab. However, I found ilu in …

---

## [Memory limitation for large notebooks](https://discourse.julialang.org/t/memory-limitation-for-large-notebooks/128078)

<div class="topic-metadata">

**Author:** [@Kirby\_Zhang](https://discourse.julialang.org/u/Kirby_Zhang)\
**Replies:** 5\
**Last updated:** [April 17, 2025, 5:04pm UTC](https://discourse.julialang.org/t/memory-limitation-for-large-notebooks/128078 "2025-04-17T17:04:46Z")

</div>

I’ve been appreciating Pluto for its reactivity and consistency. But it’s occurring to me now that the reactive model may hit limits for large reports. I’m interested in using Pluto for large reports that may involve rep…

---

## [Macro to generate 2 keyword function parameters](https://discourse.julialang.org/t/macro-to-generate-2-keyword-function-parameters/128161)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 3\
**Last updated:** [April 17, 2025, 3:43pm UTC](https://discourse.julialang.org/t/macro-to-generate-2-keyword-function-parameters/128161 "2025-04-17T15:43:57Z")

</div>

Let’s say I have this function import Dates: DateTime function myfun1(; ena::Int=1, offsettime::DateTime, entrytime::DateTime, dio::Int) return nothing end with the parameters being :($(Expr(:parameters, :($(Expr(…

---

## [StructArrays + custom broadcasting + Makie](https://discourse.julialang.org/t/structarrays-custom-broadcasting-makie/128140)

<div class="topic-metadata">

**Author:** [@DanielIngraham](https://discourse.julialang.org/u/DanielIngraham)\
**Replies:** 4\
**Last updated:** [April 17, 2025, 1:20pm UTC](https://discourse.julialang.org/t/structarrays-custom-broadcasting-makie/128140 "2025-04-17T13:20:43Z")

</div>

I’d like to customize broadcasting for a type, such that Julia will allocate the result using a StructArray from the StructArrays.jl package instead of a plain array. This is actually very easy to do: julia\> struct Foo{…

---

## [Example of wavelet analysis of a surface](https://discourse.julialang.org/t/example-of-wavelet-analysis-of-a-surface/128050)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 3\
**Last updated:** [April 17, 2025, 11:49am UTC](https://discourse.julialang.org/t/example-of-wavelet-analysis-of-a-surface/128050 "2025-04-17T11:49:48Z")

</div>

Dear all, I would like to analysis images of surface with variable roughness in space. In practice, I would like to quantify the roughness of signals and report it on 2D maps (in the original spatial coordinates). It se…

---

## [Mutable structs seem cause way more allocations in multithreaded code](https://discourse.julialang.org/t/mutable-structs-seem-cause-way-more-allocations-in-multithreaded-code/128156)

<div class="topic-metadata">

**Author:** [@Salmon](https://discourse.julialang.org/u/Salmon)\
**Replies:** 2\
**Last updated:** [April 17, 2025, 10:10am UTC](https://discourse.julialang.org/t/mutable-structs-seem-cause-way-more-allocations-in-multithreaded-code/128156 "2025-04-17T10:10:34Z")

</div>

Hi everyone, I have encountered a pretty annoying performance bottleneck when using StatsBase.Weights, which is a mutable struct (whatever may be the reason for that :P) , in a multithreaded setting. After going down t…

---

## [Postdoc & RSE position at Weierstrass Institute](https://discourse.julialang.org/t/postdoc-rse-position-at-weierstrass-institute/128157)

<div class="topic-metadata">

**Author:** [@j-fu](https://discourse.julialang.org/u/j-fu)\
**Replies:** 0\
**Last updated:** [April 17, 2025, 10:08am UTC](https://discourse.julialang.org/t/postdoc-rse-position-at-weierstrass-institute/128157 "2025-04-17T10:08:14Z")

</div>

See Scientist and Research Software Engineer (f/m/d) (Ref. 25/05) at Weierstraß-Institut für Angewandte Analysis und Stochastik | softgarden

---

## [Blink GUI closes immediately after wait(w) when launched via PyJulia](https://discourse.julialang.org/t/blink-gui-closes-immediately-after-wait-w-when-launched-via-pyjulia/128138)

<div class="topic-metadata">

**Author:** [@dmr07](https://discourse.julialang.org/u/dmr07)\
**Replies:** 5\
**Last updated:** [April 17, 2025, 9:37am UTC](https://discourse.julialang.org/t/blink-gui-closes-immediately-after-wait-w-when-launched-via-pyjulia/128138 "2025-04-17T09:37:35Z")

</div>

This is a sample of a program im trying to run. My endgoal is to compile it into a .exe file to share. I’m new to Julia and coding in general. The window immediately closes after I run it. How can I fix this?

---

## [Get \`ERROR: julia: -t,--threads=\<n\>\[,auto|\<m\>\]; n must be an integer \>= 1\` when running test](https://discourse.julialang.org/t/get-error-julia-t-threads-n-auto-m-n-must-be-an-integer-1-when-running-test/128131)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 5\
**Last updated:** [April 17, 2025, 8:52am UTC](https://discourse.julialang.org/t/get-error-julia-t-threads-n-auto-m-n-must-be-an-integer-1-when-running-test/128131 "2025-04-17T08:52:23Z")

</div>

Not sure what to do here. I have a laptop I haven’t really worked much on for like 6 months. Running Julia on it has been fine. However, now I tried to run the tests of a package that I develop. I activate the environmen…

---

## [Pointers of Float to be used in MPI?](https://discourse.julialang.org/t/pointers-of-float-to-be-used-in-mpi/128146)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 0\
**Last updated:** [April 17, 2025, 2:46am UTC](https://discourse.julialang.org/t/pointers-of-float-to-be-used-in-mpi/128146 "2025-04-17T02:46:04Z")

</div>

The following is a MWE that fails: using MPI MPI.Init() mutable struct Foo bar::Float64 end rank = MPI.Comm\_rank(MPI.COMM\_WORLD) foo = Foo(rank) println("$(rank)\\t$(foo.bar)") if rank == 0 MPI.API.MPI\_Recv(Re…

---

## [PythonCall SSL Verify Error when calling pd.read\_csv](https://discourse.julialang.org/t/pythoncall-ssl-verify-error-when-calling-pd-read-csv/115922)

<div class="topic-metadata">

**Author:** [@jaketothepast](https://discourse.julialang.org/u/jaketothepast)\
**Replies:** 5\
**Last updated:** [March 10, 2025, 11:25am UTC](https://discourse.julialang.org/t/pythoncall-ssl-verify-error-when-calling-pd-read-csv/115922 "2025-03-10T11:25:04Z")

</div>

Hello, I’m trying to read a CSV file with Pandas, and I’m getting the following error: function example52() points = pd.read\_csv("https://raw.githubusercontent.com/thomasnield/machine-learning-demo-data/master/regre…

---

## [Leveraging the GDAL VSI for “raw” access to NetCDF/HDF5 files inside a Zip archive?](https://discourse.julialang.org/t/leveraging-the-gdal-vsi-for-raw-access-to-netcdf-hdf5-files-inside-a-zip-archive/128129)

<div class="topic-metadata">

**Author:** [@Oblomov](https://discourse.julialang.org/u/Oblomov)\
**Replies:** 9\
**Last updated:** [April 17, 2025, 6:27am UTC](https://discourse.julialang.org/t/leveraging-the-gdal-vsi-for-raw-access-to-netcdf-hdf5-files-inside-a-zip-archive/128129 "2025-04-17T06:27:47Z")

</div>

Hello all, I have an interesting conundrum. My situation is the following: I have some data which is distributed as a zip archive of .nc files. The files are rather large, so I would prefer to not unzip the archive to r…

---

## [Smallest magnitude sparse generalized eigenvalues](https://discourse.julialang.org/t/smallest-magnitude-sparse-generalized-eigenvalues/128095)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 13\
**Last updated:** [April 17, 2025, 6:13am UTC](https://discourse.julialang.org/t/smallest-magnitude-sparse-generalized-eigenvalues/128095 "2025-04-17T06:13:13Z")

</div>

Hi, I am trying to find the neig=5 smallest eigenvalues (in magnitude) of a generalised problem (K-val\*M)\*vec = 0 where K is real symmetric positive indefinite and M is real symmetric positive definite. This is close…

---

## [Vim LaTeX-to-Unicode substitutions](https://discourse.julialang.org/t/vim-latex-to-unicode-substitutions/128109)

<div class="topic-metadata">

**Author:** [@Doug719](https://discourse.julialang.org/u/Doug719)\
**Replies:** 3\
**Last updated:** [April 16, 2025, 11:09pm UTC](https://discourse.julialang.org/t/vim-latex-to-unicode-substitutions/128109 "2025-04-16T23:09:11Z")

</div>

I am using vim on macos, latest version. I have tried the installation instructions in JuliaEditorSupport/julia-vim. The LaTex-to-Unicode substitutions do not work. I would appreciate some detailed advice on how to ge…

---

## [Copying folder including subfolders](https://discourse.julialang.org/t/copying-folder-including-subfolders/104065)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 10\
**Last updated:** [April 16, 2025, 8:02pm UTC](https://discourse.julialang.org/t/copying-folder-including-subfolders/104065 "2025-04-16T20:02:33Z")

</div>

Is there an easy way to copy the contents of one folder, including all subfolders, to another folder? It seems that cp() supported the recursive keyword at one point, but not anymore.

---

## [Error: peer didn't connect](https://discourse.julialang.org/t/error-peer-didnt-connect/128130)

<div class="topic-metadata">

**Author:** [@liamh](https://discourse.julialang.org/u/liamh)\
**Replies:** 0\
**Last updated:** [April 16, 2025, 4:08pm UTC](https://discourse.julialang.org/t/error-peer-didnt-connect/128130 "2025-04-16T16:08:46Z")

</div>

Occasionally I get a message like this. The last time it happened, I lost all the work from a two-week computation. What causes it and how can I prevent it? Update: I have found this post and have tried setting Distribu…

---

## [Undo channelview command](https://discourse.julialang.org/t/undo-channelview-command/109070)

<div class="topic-metadata">

**Author:** [@Afonso\_Britto](https://discourse.julialang.org/u/Afonso_Britto)\
**Replies:** 2\
**Last updated:** [April 16, 2025, 4:22pm UTC](https://discourse.julialang.org/t/undo-channelview-command/109070 "2025-04-16T16:22:20Z")

</div>

I’m using Julia for a image processing program and I had to use the channelview command to acess the channels. But I’m wondering if there is any chance I can undo the command. What I want is J to be back to type Matrix{R…

---

## [Fancy LLVM loop transformation pass that deoptimize the code](https://discourse.julialang.org/t/fancy-llvm-loop-transformation-pass-that-deoptimize-the-code/128100)

<div class="topic-metadata">

**Author:** [@JohnnyChen94](https://discourse.julialang.org/u/JohnnyChen94)\
**Replies:** 2\
**Last updated:** [April 16, 2025, 11:27am UTC](https://discourse.julialang.org/t/fancy-llvm-loop-transformation-pass-that-deoptimize-the-code/128100 "2025-04-16T11:27:00Z")

</div>

Recently we’ve seen one strange performance regression report, and the following is a MWE we can get: using BenchmarkTools function rand\_n\_1(a,n) r = Vector{UInt}(undef,n) @inbounds for i in 1:n p = a\[1…

---

## [Julia vscode language server startup time](https://discourse.julialang.org/t/julia-vscode-language-server-startup-time/128122)

<div class="topic-metadata">

**Author:** [@Amnesian](https://discourse.julialang.org/u/Amnesian)\
**Replies:** 0\
**Last updated:** [April 16, 2025, 11:57am UTC](https://discourse.julialang.org/t/julia-vscode-language-server-startup-time/128122 "2025-04-16T11:57:02Z")

</div>

My Julia language server takes very long to start up after opening vscode - over a minute every time. Is there anything I can do to improve this? I saw after a bit of searching that others do not seem to have this issu…

---

## [Composing functions in Modeling Toolkit](https://discourse.julialang.org/t/composing-functions-in-modeling-toolkit/128116)

<div class="topic-metadata">

**Author:** [@JaviJR](https://discourse.julialang.org/u/JaviJR)\
**Replies:** 5\
**Last updated:** [April 16, 2025, 11:45am UTC](https://discourse.julialang.org/t/composing-functions-in-modeling-toolkit/128116 "2025-04-16T11:45:36Z")

</div>

Hello, I’m exploring the ModelingToolkit environment and I’ve encountered a question when composing systems. When I define a complete model using a function, it works without any issues. However, when I split the model …

---

## [Creating an array](https://discourse.julialang.org/t/creating-an-array/128113)

<div class="topic-metadata">

**Author:** [@hack3rcon](https://discourse.julialang.org/u/hack3rcon)\
**Replies:** 4\
**Last updated:** [April 16, 2025, 11:30am UTC](https://discourse.julialang.org/t/creating-an-array/128113 "2025-04-16T11:30:58Z")

</div>

Hello, Which of the following methods is best for creating an array? Array1 = fill(0,100) Array2 = Array{Int64}(undef,100) Thank you.

---

## [Automatic Unit Conversion Function](https://discourse.julialang.org/t/automatic-unit-conversion-function/128121)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 0\
**Last updated:** [April 16, 2025, 10:57am UTC](https://discourse.julialang.org/t/automatic-unit-conversion-function/128121 "2025-04-16T10:57:33Z")

</div>

Hi Is it possible in Unitful.jl or DynamicQuantities.jl given a set of preferred units e.g. \[u"ms",u"mm",u"mJ",u"g"\] to have a function that can convert any given value e.g. 10u"W" to the correct units. I have tried upr…

---

## [What to do when packages fail PkgEval because of JET?](https://discourse.julialang.org/t/what-to-do-when-packages-fail-pkgeval-because-of-jet/123525)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 15\
**Last updated:** [April 16, 2025, 5:23am UTC](https://discourse.julialang.org/t/what-to-do-when-packages-fail-pkgeval-because-of-jet/123525 "2025-04-16T05:23:50Z")

</div>

I love JET.jl. It’s really useful to detect typos, type instabilities and other issues with my code. Unfortunately, it is deeply tied to Julia internals, which means that it often breaks on the nightly version of the lan…

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

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