# Latest

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

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

**Page:** 443

---

## [Troubleshooting Precompilation Failure of the NMoons Package in Julia](https://discourse.julialang.org/t/troubleshooting-precompilation-failure-of-the-nmoons-package-in-julia/112512)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 0\
**Last updated:** [April 4, 2024, 10:11am UTC](https://discourse.julialang.org/t/troubleshooting-precompilation-failure-of-the-nmoons-package-in-julia/112512 "2024-04-04T10:11:16Z")

</div>

I have the following problem: Stacktrace: \[1\] error(s::String) @ Base ./error.jl:35 \[2\] compilecache(pkg::Base.PkgId, path::String, internal\_stderr::IO, internal\_stdout::IO, keep\_loaded\_modules::Bool) @ Base…

---

## [IDA is allocating a lot](https://discourse.julialang.org/t/ida-is-allocating-a-lot/112383)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 28\
**Last updated:** [April 4, 2024, 10:06am UTC](https://discourse.julialang.org/t/ida-is-allocating-a-lot/112383 "2024-04-04T10:06:24Z")

</div>

I am using the IDA solver from Sundials.jl to solve a system of DAEs. It works fine, but each time step needs a lot of allocations, even though my callback function does not allocate at all. MWE: using KiteModels kps4…

---

## [Tagbot is not triggered](https://discourse.julialang.org/t/tagbot-is-not-triggered/112136)

<div class="topic-metadata">

**Author:** [@charlesll](https://discourse.julialang.org/u/charlesll)\
**Replies:** 7\
**Last updated:** [April 4, 2024, 8:51am UTC](https://discourse.julialang.org/t/tagbot-is-not-triggered/112136 "2024-04-04T08:51:13Z")

</div>

Hi, I am attempting to produce a new version of my package, Spectra, after a few years of silence as it is mostly stable. The repo is visible here: However, the process of publishing new versions changed quite a lot …

---

## [Using numpy array in the function that calculates residuals in DAEProblem (diffeqpy)](https://discourse.julialang.org/t/using-numpy-array-in-the-function-that-calculates-residuals-in-daeproblem-diffeqpy/112450)

<div class="topic-metadata">

**Author:** [@anjali](https://discourse.julialang.org/u/anjali)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 8:32am UTC](https://discourse.julialang.org/t/using-numpy-array-in-the-function-that-calculates-residuals-in-daeproblem-diffeqpy/112450 "2024-04-04T08:32:36Z")

</div>

I am trying to use diffeqpy to use DAESolver from my python code. The following code works: # the residual calculation function def f(du, u, p, t): resid1 = -0.04 \* u\[0\] + 1e4 \* u\[1\] \* u\[2\] - du\[0\] resid2 = +0.…

---

## [Possible to know if a certain method supports a certain keyword?](https://discourse.julialang.org/t/possible-to-know-if-a-certain-method-supports-a-certain-keyword/112498)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [April 4, 2024, 8:22am UTC](https://discourse.julialang.org/t/possible-to-know-if-a-certain-method-supports-a-certain-keyword/112498 "2024-04-04T08:22:18Z")

</div>

Is it possible to know if a certain method supports a certain keyword argument, or one has to use exceptions?

---

## [ModelingToolkit.jl for material flow analyis (MFA)](https://discourse.julialang.org/t/modelingtoolkit-jl-for-material-flow-analyis-mfa/112454)

<div class="topic-metadata">

**Author:** [@gvdeynde](https://discourse.julialang.org/u/gvdeynde)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 8:18am UTC](https://discourse.julialang.org/t/modelingtoolkit-jl-for-material-flow-analyis-mfa/112454 "2024-04-04T08:18:33Z")

</div>

I was wondering if there are any people working on material flow analysis problems using ModelingToolkit.jl? And has developed/is working on extensions like the ones in ModelingToolkitStandardLibrary.jl? MFA tracks mate…

---

## [Using Luxor.Table to visualize Julia 2D matrix results in transposed view](https://discourse.julialang.org/t/using-luxor-table-to-visualize-julia-2d-matrix-results-in-transposed-view/112484)

<div class="topic-metadata">

**Author:** [@Julia2001](https://discourse.julialang.org/u/Julia2001)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 7:34am UTC](https://discourse.julialang.org/t/using-luxor-table-to-visualize-julia-2d-matrix-results-in-transposed-view/112484 "2024-04-04T07:34:55Z")

</div>

Hi, I’m stumbling across the fact that Luxor.Table looks row-major but Julia matrices are column-major. How can I “swap” dimension indices between source matrix read access and Luxor.Table write access? using Luxor wi…

---

## [Anything to be wary of when registering a subpackage?](https://discourse.julialang.org/t/anything-to-be-wary-of-when-registering-a-subpackage/112459)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 6\
**Last updated:** [April 4, 2024, 6:46am UTC](https://discourse.julialang.org/t/anything-to-be-wary-of-when-registering-a-subpackage/112459 "2024-04-04T06:46:18Z")

</div>

I have a repo with a package and a subpackage, and I wanna register both. I suppose it will work just fine, but is there anything I should be careful about? Feedback from people who manage monorepos?

---

## [Help wanted: need 3 graphic assets for upcoming JuliaCon talk](https://discourse.julialang.org/t/help-wanted-need-3-graphic-assets-for-upcoming-juliacon-talk/112329)

<div class="topic-metadata">

**Author:** [@mitiemannn](https://discourse.julialang.org/u/mitiemannn)\
**Replies:** 6\
**Last updated:** [April 4, 2024, 5:48am UTC](https://discourse.julialang.org/t/help-wanted-need-3-graphic-assets-for-upcoming-juliacon-talk/112329 "2024-04-04T05:48:21Z")

</div>

Hello, world! :slight\_smile: After lots of discussion about my JuliaCon Local 2023 talk, I’ll give a follow-up talk at JuliaCon 2024. For this, I want to include three specific graphics that I’ve got in mind. My proble…

---

## [Names that are not exported from a package can also be imported into another project](https://discourse.julialang.org/t/names-that-are-not-exported-from-a-package-can-also-be-imported-into-another-project/112424)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 19\
**Last updated:** [April 4, 2024, 5:47am UTC](https://discourse.julialang.org/t/names-that-are-not-exported-from-a-package-can-also-be-imported-into-another-project/112424 "2024-04-04T05:47:05Z")

</div>

I’m encountered with a fairly strange circumstance where the names that are not exported from a package can also be imported into another project environment. Detail: There is a package named MyPkg that is just in devel…

---

## [Defining methods without binding variables](https://discourse.julialang.org/t/defining-methods-without-binding-variables/112485)

<div class="topic-metadata">

**Author:** [@awasserman](https://discourse.julialang.org/u/awasserman)\
**Replies:** 2\
**Last updated:** [April 4, 2024, 4:48am UTC](https://discourse.julialang.org/t/defining-methods-without-binding-variables/112485 "2024-04-04T04:48:24Z")

</div>

I’ve seen many examples of Julia code where methods are defined without any variable name bindings. My usage of terminology my be inaccurate here, but for example: eltype(::Type{\<:AbstractArray{T}}) where {T} = T As f…

---

## [Artifacts: Can basic authentication be used?](https://discourse.julialang.org/t/artifacts-can-basic-authentication-be-used/54453)

<div class="topic-metadata">

**Author:** [@Erik\_Engheim](https://discourse.julialang.org/u/Erik_Engheim)\
**Replies:** 4\
**Last updated:** [April 4, 2024, 12:34am UTC](https://discourse.julialang.org/t/artifacts-can-basic-authentication-be-used/54453 "2024-04-04T00:34:40Z")

</div>

I am using the Julia Artifacts system and setting up a Artifacts.toml file where the binaries are for internal private usage. We are using something like JFrog Artifactory, where one typically does Basic authentication u…

---

## [Using MKL, MKLSparse causes error](https://discourse.julialang.org/t/using-mkl-mklsparse-causes-error/112443)

<div class="topic-metadata">

**Author:** [@yhuang](https://discourse.julialang.org/u/yhuang)\
**Replies:** 1\
**Last updated:** [April 4, 2024, 12:10am UTC](https://discourse.julialang.org/t/using-mkl-mklsparse-causes-error/112443 "2024-04-04T00:10:28Z")

</div>

Hi, I noticed that using MKL and MKLSparse together gives me an error. Here is one example: using MKL using LinearAlgebra using SparseArrays using MKLSparse using BenchmarkTools @show BLAS.get\_config() BLAS.set\_num\_…

---

## [Macros: Mutate input expressions or not?](https://discourse.julialang.org/t/macros-mutate-input-expressions-or-not/112495)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 0\
**Last updated:** [April 3, 2024, 11:45pm UTC](https://discourse.julialang.org/t/macros-mutate-input-expressions-or-not/112495 "2024-04-03T23:45:43Z")

</div>

Is there any advice on whether it’s ok to mutate the input expressions to a macro? Is it better practice to create new Expr objects? What are the pros and cons of mutating or not mutating? Below is a simple example with…

---

## [What is still needed in the Julia ecosystem to make a good data science microservice in Julia?](https://discourse.julialang.org/t/what-is-still-needed-in-the-julia-ecosystem-to-make-a-good-data-science-microservice-in-julia/112446)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 1\
**Last updated:** [April 3, 2024, 10:34pm UTC](https://discourse.julialang.org/t/what-is-still-needed-in-the-julia-ecosystem-to-make-a-good-data-science-microservice-in-julia/112446 "2024-04-03T22:34:44Z")

</div>

Julia is a language with a focus on the data science ecosystem. However, integrating Julia into existing ecosystem can be challenging. Targeting data science microservice can be a good way to increase Julia use and allow…

---

## [Approximate string matching for two lists of names in Julia](https://discourse.julialang.org/t/approximate-string-matching-for-two-lists-of-names-in-julia/112448)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 8\
**Last updated:** [April 3, 2024, 10:29pm UTC](https://discourse.julialang.org/t/approximate-string-matching-for-two-lists-of-names-in-julia/112448 "2024-04-03T22:29:23Z")

</div>

I have two lists of names that are approximately similar. So I wanted to figure out the best way to find the matches. For example, some sample data, the lists might look like: list1 = \["Colby, James"; "Arnoldson, Robert…

---

## [MUMPS returned INFO(1) = -9 and requires more memory, reallocating](https://discourse.julialang.org/t/mumps-returned-info-1-9-and-requires-more-memory-reallocating/112466)

<div class="topic-metadata">

**Author:** [@Jack21](https://discourse.julialang.org/u/Jack21)\
**Replies:** 3\
**Last updated:** [April 3, 2024, 9:06pm UTC](https://discourse.julialang.org/t/mumps-returned-info-1-9-and-requires-more-memory-reallocating/112466 "2024-04-03T21:06:43Z")

</div>

Hello everyone! I have recently run into this message when using JuMP with the Ipopt solver. From what I can tell, it is due to MUMPS reaching its memory limit, and it changes a variable, which then slows down every ite…

---

## [REPL development vs script file paths](https://discourse.julialang.org/t/repl-development-vs-script-file-paths/112435)

<div class="topic-metadata">

**Author:** [@ruairidh](https://discourse.julialang.org/u/ruairidh)\
**Replies:** 3\
**Last updated:** [April 3, 2024, 6:07pm UTC](https://discourse.julialang.org/t/repl-development-vs-script-file-paths/112435 "2024-04-03T18:07:07Z")

</div>

I’ve never worked out how to deal with the following situation where I’m developing a script which includes some other files in the REPL, but I also want the LSP to recognise any included functions. Problem . ├── script…

---

## [CI on Github](https://discourse.julialang.org/t/ci-on-github/112471)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [April 3, 2024, 5:55pm UTC](https://discourse.julialang.org/t/ci-on-github/112471 "2024-04-03T17:55:31Z")

</div>

I get the following warnings when running a CI job on Github: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/cache@4d4ae6ae148a43d0fd1eda1800170683e9882738, pyTooling/A…

---

## [How can I read the names of variables/object stored/saved/written in a file using HDF5 in Julia](https://discourse.julialang.org/t/how-can-i-read-the-names-of-variables-object-stored-saved-written-in-a-file-using-hdf5-in-julia/43204)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 11\
**Last updated:** [April 3, 2024, 3:55pm UTC](https://discourse.julialang.org/t/how-can-i-read-the-names-of-variables-object-stored-saved-written-in-a-file-using-hdf5-in-julia/43204 "2024-04-03T15:55:40Z")

</div>

Hi guys, I hope you all have been safe from this covid19 virus. I have built a code that runs different experiments and automatically build folders for those experiments and inside them subfolders for for different para…

---

## [How to add groups for group distribution plot?](https://discourse.julialang.org/t/how-to-add-groups-for-group-distribution-plot/112119)

<div class="topic-metadata">

**Author:** [@faizanazar](https://discourse.julialang.org/u/faizanazar)\
**Replies:** 4\
**Last updated:** [April 3, 2024, 3:53pm UTC](https://discourse.julialang.org/t/how-to-add-groups-for-group-distribution-plot/112119 "2024-04-03T15:53:53Z")

</div>

Hello ! I am new to julia programming language and I am trying to do tutorial for group distribution plot as mentioned in the script but everytime I am getting an error of UndefVarError: SolventGroup not defined Stackt…

---

## [How to make a line break and empty line in Literate.jl?](https://discourse.julialang.org/t/how-to-make-a-line-break-and-empty-line-in-literate-jl/112462)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 9\
**Last updated:** [April 3, 2024, 3:50pm UTC](https://discourse.julialang.org/t/how-to-make-a-line-break-and-empty-line-in-literate-jl/112462 "2024-04-03T15:50:51Z")

</div>

How to make a line break and blank line in Literate.jl (separately)? For some reason it differs from the methods used in typical Markdown. Simple question, but it breaks my mind.

---

## [Error message report](https://discourse.julialang.org/t/error-message-report/112047)

<div class="topic-metadata">

**Author:** [@Andromeda258](https://discourse.julialang.org/u/Andromeda258)\
**Replies:** 11\
**Last updated:** [April 3, 2024, 2:52pm UTC](https://discourse.julialang.org/t/error-message-report/112047 "2024-04-03T14:52:54Z")

</div>

I am encountering a program crash with the following error message: Please submit a bug report with steps to reproduce this fault, and any error messages that follow (in their entirety). Thanks. Exception: EXCEPTION\_AC…

---

## [Code compiled with PackageCompiler allocates more](https://discourse.julialang.org/t/code-compiled-with-packagecompiler-allocates-more/112470)

<div class="topic-metadata">

**Author:** [@Kruxigt](https://discourse.julialang.org/u/Kruxigt)\
**Replies:** 0\
**Last updated:** [April 3, 2024, 12:55pm UTC](https://discourse.julialang.org/t/code-compiled-with-packagecompiler-allocates-more/112470 "2024-04-03T12:55:46Z")

</div>

If I compile some code with PackageCompiler and then run julia\> v = \[1,2,3,4\]; julia\> q = view(v,1:2); julia\> @time collect(q); 0.000108 seconds (33 allocations: 1008 bytes) while if I do the same in the standard Jul…

---

## [StaticTools](https://discourse.julialang.org/t/statictools/112456)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 2\
**Last updated:** [April 3, 2024, 12:09pm UTC](https://discourse.julialang.org/t/statictools/112456 "2024-04-03T12:09:06Z")

</div>

Hi, First: I am very much looking forward to StaticCompiler.jl on Windows, I will be putting it to good use! I understand it’s early days, but I wanted to try out StaticTools.jl to get a feel for the “static dialect”. …

---

## [This month in Julia world - 2024-03](https://discourse.julialang.org/t/this-month-in-julia-world-2024-03/112442)

<div class="topic-metadata">

**Author:** [@Krastanov](https://discourse.julialang.org/u/Krastanov)\
**Replies:** 4\
**Last updated:** [April 3, 2024, 11:26am UTC](https://discourse.julialang.org/t/this-month-in-julia-world-2024-03/112442 "2024-04-03T11:26:17Z")

</div>

A monthly newsletter, mostly on julia internals, digestible for casual observers. A biased, incomplete, editorialized list of what I found interesting this month, with contributions from the community. “Internals” Fora …

---

## [Method error composing quadqk and forwarddiff](https://discourse.julialang.org/t/method-error-composing-quadqk-and-forwarddiff/112461)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 8\
**Last updated:** [April 3, 2024, 10:51am UTC](https://discourse.julialang.org/t/method-error-composing-quadqk-and-forwarddiff/112461 "2024-04-03T10:51:26Z")

</div>

Greetings! Listed below is a small piece of code that composes QuadGK and ForwardDiff and that fails. Including the resulting method error message for the function extract\_derivative(). I have two questions regarding thi…

---

## [Failure to add package Gmsh](https://discourse.julialang.org/t/failure-to-add-package-gmsh/30652)

<div class="topic-metadata">

**Author:** [@egcjm](https://discourse.julialang.org/u/egcjm)\
**Replies:** 9\
**Last updated:** [April 3, 2024, 9:49am UTC](https://discourse.julialang.org/t/failure-to-add-package-gmsh/30652 "2024-04-03T09:49:22Z")

</div>

I fail to install package Gmsh. After Pkg.add(“Gmsh”), using Gmsh and Pkg.build(“Gmsh”) produce the errors below. I am an administrator on my Windows 10 environment running Julia 1.2 yet Pkg.build command seems to thi…

---

## [Why can I \`deepcopy(nothing)\` but not \`copy(nothing)\`?](https://discourse.julialang.org/t/why-can-i-deepcopy-nothing-but-not-copy-nothing/112429)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 5\
**Last updated:** [April 3, 2024, 6:11am UTC](https://discourse.julialang.org/t/why-can-i-deepcopy-nothing-but-not-copy-nothing/112429 "2024-04-03T06:11:47Z")

</div>

I know it sounds silly but it is currently blocking an AD package of mine ^^ julia\> deepcopy(nothing) julia\> copy(nothing) ERROR: MethodError: no method matching copy(::Nothing)

---

## [@async macro not recommended?](https://discourse.julialang.org/t/async-macro-not-recommended/112404)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 5\
**Last updated:** [April 3, 2024, 5:57am UTC](https://discourse.julialang.org/t/async-macro-not-recommended/112404 "2024-04-03T05:57:30Z")

</div>

According to the documentation: It is strongly encouraged to favor Threads.@spawn over @async always even when no parallelism is required especially in publicly distributed libraries. This is because a use of @async di…

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

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