# Latest

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

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

**Page:** 368

---

## [Crash: illegal instruction 4, StackOverflowError, or freeze](https://discourse.julialang.org/t/crash-illegal-instruction-4-stackoverflowerror-or-freeze/116754)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 4:39am UTC](https://discourse.julialang.org/t/crash-illegal-instruction-4-stackoverflowerror-or-freeze/116754 "2024-07-09T04:39:37Z")

</div>

\[Edit 2: I’ve just posted a small program that reproduces this error in a separate message below.\] Can someone give me advice as to how to proceed when Julia crashes? At first, I got the following error \[8865\] signal…

---

## [Understanding JULIA\_CPU\_TARGET](https://discourse.julialang.org/t/understanding-julia-cpu-target/116774)

<div class="topic-metadata">

**Author:** [@amanif0ld](https://discourse.julialang.org/u/amanif0ld)\
**Replies:** 5\
**Last updated:** [July 9, 2024, 3:42am UTC](https://discourse.julialang.org/t/understanding-julia-cpu-target/116774 "2024-07-09T03:42:38Z")

</div>

I am trying to generate precompiled files for packages that are reusable across a number of computers that share a common DEPOT\_PATH through a shared filesystem. I would ideally want to precompile package .so and .ji fil…

---

## [How to animate multiple stochastic processes with GLMakie](https://discourse.julialang.org/t/how-to-animate-multiple-stochastic-processes-with-glmakie/116718)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 10:16pm UTC](https://discourse.julialang.org/t/how-to-animate-multiple-stochastic-processes-with-glmakie/116718 "2024-07-08T22:16:56Z")

</div>

I would like to animate a stochastic process with GLMakie. I have two related questions. First, in the code below, how do I fix the conversion error? Second, how can I programatically generate lines based on the number o…

---

## [Macros for compositional modeling in Catalyst not working](https://discourse.julialang.org/t/macros-for-compositional-modeling-in-catalyst-not-working/116568)

<div class="topic-metadata">

**Author:** [@VincentW](https://discourse.julialang.org/u/VincentW)\
**Replies:** 6\
**Last updated:** [July 8, 2024, 9:11pm UTC](https://discourse.julialang.org/t/macros-for-compositional-modeling-in-catalyst-not-working/116568 "2024-07-08T21:11:45Z")

</div>

Dear all, I try to get into compositional modeling of reaction systems using the Catalyst.jl package. However, when I want to execute just their tutorial from the documentation, using Catalyst degradation\_component = …

---

## [Looping through NamedTuple is slow](https://discourse.julialang.org/t/looping-through-namedtuple-is-slow/116745)

<div class="topic-metadata">

**Author:** [@z-wang](https://discourse.julialang.org/u/z-wang)\
**Replies:** 7\
**Last updated:** [July 8, 2024, 8:47pm UTC](https://discourse.julialang.org/t/looping-through-namedtuple-is-slow/116745 "2024-07-08T20:47:54Z")

</div>

Hi, i was comparing the performance between NamedTuple and Dict, and the results are very confusing. In the following code, if the elements inside containers are accessed through a loop, the performance of NamedTuple is…

---

## [Anonymous function's type and methods last forever?](https://discourse.julialang.org/t/anonymous-functions-type-and-methods-last-forever/116676)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 8\
**Last updated:** [July 5, 2024, 8:24pm UTC](https://discourse.julialang.org/t/anonymous-functions-type-and-methods-last-forever/116676 "2024-07-05T20:24:58Z")

</div>

My understanding is that an anonymous function is implemented as an instance of a type assigned to a generated name in the global scope, and the type and its methods should thus persist for the rest of the process. Howev…

---

## [Memory Allocation when using mul! with sparse arrays and views](https://discourse.julialang.org/t/memory-allocation-when-using-mul-with-sparse-arrays-and-views/111276)

<div class="topic-metadata">

**Author:** [@leespen1](https://discourse.julialang.org/u/leespen1)\
**Replies:** 4\
**Last updated:** [July 8, 2024, 6:30pm UTC](https://discourse.julialang.org/t/memory-allocation-when-using-mul-with-sparse-arrays-and-views/111276 "2024-07-08T18:30:07Z")

</div>

I am writing code which performs a five argument mul! operation (from LinearAlgebra) inside a for loop where performance is critical. When using a sparse array instead of a matrix, the operation allocates memory: julia\>…

---

## [Nonlinear optimization with ODE solution in nonlinear constraint](https://discourse.julialang.org/t/nonlinear-optimization-with-ode-solution-in-nonlinear-constraint/116730)

<div class="topic-metadata">

**Author:** [@afossa](https://discourse.julialang.org/u/afossa)\
**Replies:** 6\
**Last updated:** [July 8, 2024, 5:51pm UTC](https://discourse.julialang.org/t/nonlinear-optimization-with-ode-solution-in-nonlinear-constraint/116730 "2024-07-08T17:51:54Z")

</div>

Hello, I am trying to model and solve a fairly complex constrained nonlinear optimization problem. The main issue is that to compute some equality constraints I need to solve an ODE numerically. So far, I have been abl…

---

## [Julia on Copilot+ PCs?](https://discourse.julialang.org/t/julia-on-copilot-pcs/116772)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 3\
**Last updated:** [July 8, 2024, 5:11pm UTC](https://discourse.julialang.org/t/julia-on-copilot-pcs/116772 "2024-07-08T17:11:03Z")

</div>

Microsoft has defined CoPilot+ PCs as PCs with NPUs that offer a minimum of 40 TOPS (Apple has similar plans, I think). I’m not the kind of guy who tends to socialize with a machine, so I’m interested if this can be util…

---

## [What's the best practice to dev a package with pluto and Revise when i need to change struct very often?](https://discourse.julialang.org/t/whats-the-best-practice-to-dev-a-package-with-pluto-and-revise-when-i-need-to-change-struct-very-often/58814)

<div class="topic-metadata">

**Author:** [@ChunXi\_Zhang](https://discourse.julialang.org/u/ChunXi_Zhang)\
**Replies:** 14\
**Last updated:** [July 8, 2024, 4:29pm UTC](https://discourse.julialang.org/t/whats-the-best-practice-to-dev-a-package-with-pluto-and-revise-when-i-need-to-change-struct-very-often/58814 "2024-07-08T16:29:53Z")

</div>

The main issue is i need to change the definition of struct very frequently when developing my package, but revise cannot deal with that, which is a known limitation of Revise.jl. So everytime I changed something with m…

---

## [Segmentation Fault with FFTW plans and multi-threading](https://discourse.julialang.org/t/segmentation-fault-with-fftw-plans-and-multi-threading/116777)

<div class="topic-metadata">

**Author:** [@leonardromano](https://discourse.julialang.org/u/leonardromano)\
**Replies:** 1\
**Last updated:** [July 8, 2024, 3:47pm UTC](https://discourse.julialang.org/t/segmentation-fault-with-fftw-plans-and-multi-threading/116777 "2024-07-08T15:47:14Z")

</div>

I am trying to optimize a routine that performs FFTs on timeseries of various 3D boxes with fixed but different sizes (typically 256 - 512 cells per dimension). For each box I thus had in mind to plan an FFT using FFTWs…

---

## [Higher derivative gives NAN](https://discourse.julialang.org/t/higher-derivative-gives-nan/116763)

<div class="topic-metadata">

**Author:** [@gkeee](https://discourse.julialang.org/u/gkeee)\
**Replies:** 4\
**Last updated:** [July 8, 2024, 3:39pm UTC](https://discourse.julialang.org/t/higher-derivative-gives-nan/116763 "2024-07-08T15:39:26Z")

</div>

I want to compute the higher derivatives of f1(x) = exp(im \* 2π \* x) / (im \* x). For example 8th derivative, ı used nth\_derivative function with ForwardDiff, but 8th derivatives gives NAN. I changed the function as f2(x…

---

## [Reparametrized Beta(μ, σ²) in Turing: how to set a prior that depends on another parameter?](https://discourse.julialang.org/t/reparametrized-beta-in-turing-how-to-set-a-prior-that-depends-on-another-parameter/116753)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 4\
**Last updated:** [July 8, 2024, 3:35pm UTC](https://discourse.julialang.org/t/reparametrized-beta-in-turing-how-to-set-a-prior-that-depends-on-another-parameter/116753 "2024-07-08T15:35:19Z")

</div>

I am trying to model data between \]0, 1\[ using Bayesian regressions in Turing. It is fairly common to use a Mean/Variance parametrization to the Beta (see Wikipedia), allowing to express priors on intuitive quantities. …

---

## [HPC BOF time please](https://discourse.julialang.org/t/hpc-bof-time-please/116780)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 1\
**Last updated:** [July 8, 2024, 3:21pm UTC](https://discourse.julialang.org/t/hpc-bof-time-please/116780 "2024-07-08T15:21:32Z")

</div>

Forgive me - there is a HPC BOF session at JuliaCon if I remember correctly. I cannot find it on the schedule very easily

---

## [Rubbish values from gpu kernel](https://discourse.julialang.org/t/rubbish-values-from-gpu-kernel/116632)

<div class="topic-metadata">

**Author:** [@Abdelrahman912](https://discourse.julialang.org/u/Abdelrahman912)\
**Replies:** 5\
**Last updated:** [July 8, 2024, 3:06pm UTC](https://discourse.julialang.org/t/rubbish-values-from-gpu-kernel/116632 "2024-07-08T15:06:46Z")

</div>

Hi, I am trying to assemble global stiffness matrix using GPU and coloring algorithm, so after coloring (i.e. group non adjacent cells in the same color) I have to launch a kernel for each color and by doing so, we don’…

---

## [Falling Behind - Julia for genomics?](https://discourse.julialang.org/t/falling-behind-julia-for-genomics/116552)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 7\
**Last updated:** [July 8, 2024, 2:57pm UTC](https://discourse.julialang.org/t/falling-behind-julia-for-genomics/116552 "2024-07-08T14:57:04Z")

</div>

I just saw in BioRxiv that a group has developed a pythonic pipeline for parallel processing of 3d epigenetic profiles. Other than the rather forced attempt at alliteration and the distinct lack of creativity in naming …

---

## [Dangling / inexistant Genie app](https://discourse.julialang.org/t/dangling-inexistant-genie-app/116776)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 2:39pm UTC](https://discourse.julialang.org/t/dangling-inexistant-genie-app/116776 "2024-07-08T14:39:15Z")

</div>

I have a few folders that do not exist any more, see screenshot. Can anyone please tell me where GenieBuilder.jl stores this list of folders (such that I can edit it). The screenshot is from VSCode.

---

## [Avoid namespace pollution from startup.jl](https://discourse.julialang.org/t/avoid-namespace-pollution-from-startup-jl/116743)

<div class="topic-metadata">

**Author:** [@PeterSimon](https://discourse.julialang.org/u/PeterSimon)\
**Replies:** 11\
**Last updated:** [July 8, 2024, 2:30pm UTC](https://discourse.julialang.org/t/avoid-namespace-pollution-from-startup-jl/116743 "2024-07-08T14:30:13Z")

</div>

I have startup.jl file that I’m mostly happy with. Any time Julia is updated and I start an interactive session without explicitly activating some environment, startup.jl adds a few key packages to the base environment.…

---

## [ERROR: InitError: KeyError: key "get\_cmap" not found](https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542)

<div class="topic-metadata">

**Author:** [@loisel](https://discourse.julialang.org/u/loisel)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 1:53pm UTC](https://discourse.julialang.org/t/error-initerror-keyerror-key-get-cmap-not-found/116542 "2024-07-08T13:53:34Z")

</div>

I tried to make a new release of my package. My unit tests all pass (i.e. green checkmark in GitHub’s CI). However, @JuliaRegistrator is refusing to merge here because “automerge guidelines not met”. The log file reveals…

---

## [How to accelerate the imfiter() operation?](https://discourse.julialang.org/t/how-to-accelerate-the-imfiter-operation/102965)

<div class="topic-metadata">

**Author:** [@RunguangLi](https://discourse.julialang.org/u/RunguangLi)\
**Replies:** 8\
**Last updated:** [July 8, 2024, 11:06am UTC](https://discourse.julialang.org/t/how-to-accelerate-the-imfiter-operation/102965 "2024-07-08T11:06:53Z")

</div>

My task contains hundreds of thousands of convolution operations like the following one. Each cost 11s now. I wonder if anyone can help to accelerate it. using ImageFiltering @time imfilter(Float32, rand(Int8, 300, 300,…

---

## [PythonCall Segmentation Fault](https://discourse.julialang.org/t/pythoncall-segmentation-fault/116742)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 4\
**Last updated:** [July 8, 2024, 11:31am UTC](https://discourse.julialang.org/t/pythoncall-segmentation-fault/116742 "2024-07-08T11:31:31Z")

</div>

Hi there, I don’t have a reproducible minimal example yet, but maybe someone stumpled into the same thing I get a Segmentation fault almost right at the beginning when using PythonCall inside Pluto. The key trigger is \_…

---

## [Where will be JuliaCon 2025?](https://discourse.julialang.org/t/where-will-be-juliacon-2025/116656)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 17\
**Last updated:** [July 8, 2024, 11:23am UTC](https://discourse.julialang.org/t/where-will-be-juliacon-2025/116656 "2024-07-08T11:23:22Z")

</div>

Just out of curiosity, is the location for JuliaCon 2025 already been defined?

---

## [\[ANN\] NetSurvival.jl: A pure-Julia take on standard net survival routines](https://discourse.julialang.org/t/ann-netsurvival-jl-a-pure-julia-take-on-standard-net-survival-routines/116722)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 0\
**Last updated:** [July 7, 2024, 2:15pm UTC](https://discourse.julialang.org/t/ann-netsurvival-jl-a-pure-julia-take-on-standard-net-survival-routines/116722 "2024-07-07T14:15:34Z")

</div>

Hi there ! I wanted to officially announce JuliaSurv/NetSurvival.jl, a new Julia package that gathers implementation of net survival related routines, joint work with @rimhajal. Net survival is a specialized branch of S…

---

## [MTK MethodError with SymbolicUtils.BasicSymbolic{Real} - how to debug?](https://discourse.julialang.org/t/mtk-methoderror-with-symbolicutils-basicsymbolic-real-how-to-debug/116735)

<div class="topic-metadata">

**Author:** [@Bumlebi](https://discourse.julialang.org/u/Bumlebi)\
**Replies:** 2\
**Last updated:** [July 8, 2024, 9:06am UTC](https://discourse.julialang.org/t/mtk-methoderror-with-symbolicutils-basicsymbolic-real-how-to-debug/116735 "2024-07-08T09:06:55Z")

</div>

I’m in the process of building a set of modeling blocks for a gas system, and I’m currently on working on orifices. Despite having registered my functions and symbolics, I get MethodError for what I can only assume to be…

---

## [Polynomial manipulation](https://discourse.julialang.org/t/polynomial-manipulation/114313)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 45\
**Last updated:** [July 8, 2024, 9:02am UTC](https://discourse.julialang.org/t/polynomial-manipulation/114313 "2024-07-08T09:02:36Z")

</div>

This is not my field of expertise, but I’m curious about whether Julia has some package that can solve my problem… I have some fraction f(x) of polynomials consisting of a numerator polynomial n(x) and a denominator pol…

---

## [\[ANN\] Rembus.jl](https://discourse.julialang.org/t/ann-rembus-jl/112372)

<div class="topic-metadata">

**Author:** [@attdona](https://discourse.julialang.org/u/attdona)\
**Replies:** 22\
**Last updated:** [July 8, 2024, 6:35am UTC](https://discourse.julialang.org/t/ann-rembus-jl/112372 "2024-07-08T06:35:21Z")

</div>

I’m very pleased to announce the new package Rembus.jl. Rembus provide RPC and Pub/Sub communication styles to streamline the implementation of distributed applications. There are a lot of features built into Rembus, a…

---

## [Custom color gradient transition points for heatmap in Plots using pyplot backend](https://discourse.julialang.org/t/custom-color-gradient-transition-points-for-heatmap-in-plots-using-pyplot-backend/116724)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 5\
**Last updated:** [July 8, 2024, 8:24am UTC](https://discourse.julialang.org/t/custom-color-gradient-transition-points-for-heatmap-in-plots-using-pyplot-backend/116724 "2024-07-08T08:24:55Z")

</div>

Hello, I am trying to plot a heatmap using a custom color gradient. More precisely, I want to space out the colors in a particular way. However, I am unable to set the color gradient appropriately using the pyplot pack…

---

## [\[ANN\] SemanticCaches.jl: Save Time and Money with Request Caching](https://discourse.julialang.org/t/ann-semanticcaches-jl-save-time-and-money-with-request-caching/116758)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 8:07am UTC](https://discourse.julialang.org/t/ann-semanticcaches-jl-save-time-and-money-with-request-caching/116758 "2024-07-08T08:07:21Z")

</div>

Introducing SemanticCaches.jl: Save Time and Money with Request Caching Are you tired of repeated LLM API calls slowing down your AI application and eating into your budget? Look no further than SemanticCaches.jl, a cac…

---

## [\[ANN\] FlashRank.jl: Fast and Efficient Document Ranking](https://discourse.julialang.org/t/ann-flashrank-jl-fast-and-efficient-document-ranking/116756)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 0\
**Last updated:** [July 8, 2024, 8:00am UTC](https://discourse.julialang.org/t/ann-flashrank-jl-fast-and-efficient-document-ranking/116756 "2024-07-08T08:00:18Z")

</div>

Introducing FlashRank.jl: Fast and Efficient Document Ranking We are excited to announce the release of FlashRank.jl, a Julia package that provides a fast and efficient way to rank documents relevant to a given query wi…

---

## [Trying to solve a large system of highly stiff differential equations](https://discourse.julialang.org/t/trying-to-solve-a-large-system-of-highly-stiff-differential-equations/114728)

<div class="topic-metadata">

**Author:** [@balaji\_sriram](https://discourse.julialang.org/u/balaji_sriram)\
**Replies:** 13\
**Last updated:** [June 6, 2024, 12:57pm UTC](https://discourse.julialang.org/t/trying-to-solve-a-large-system-of-highly-stiff-differential-equations/114728 "2024-06-06T12:57:11Z")

</div>

Hi. I have a system of differential equations containing 62500 simultaneous equations. The system dynamics are linear and of the form: \[dU/dt\] = \[Jacobian\]x\[U\]. The jacobian is sparse (non-zero vals ~ 0.6%) and banded.…

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

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