# Latest

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

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

**Page:** 372

---

## [Rrule (or frule) with kwargs](https://discourse.julialang.org/t/rrule-or-frule-with-kwargs/114150)

<div class="topic-metadata">

**Author:** [@RainerHeintzmann](https://discourse.julialang.org/u/RainerHeintzmann)\
**Replies:** 9\
**Last updated:** [July 3, 2024, 3:05pm UTC](https://discourse.julialang.org/t/rrule-or-frule-with-kwargs/114150 "2024-07-03T15:05:34Z")

</div>

How does one define an rrule for a function, where the argument you want the derivative for is a key word argument (kwargs) ? Here is some previous discussion but this is a while ago and the whole structure seems to h…

---

## [Comparing mutable structs with identical field values in Julia](https://discourse.julialang.org/t/comparing-mutable-structs-with-identical-field-values-in-julia/116586)

<div class="topic-metadata">

**Author:** [@baiango](https://discourse.julialang.org/u/baiango)\
**Replies:** 5\
**Last updated:** [July 3, 2024, 3:03pm UTC](https://discourse.julialang.org/t/comparing-mutable-structs-with-identical-field-values-in-julia/116586 "2024-07-03T15:03:26Z")

</div>

Description I am working on a project that involves comparing mutable structs with identical field values in Julia. However, I am encountering unexpected results when using the == and === operators, as they return false …

---

## [Large numbers multiplication](https://discourse.julialang.org/t/large-numbers-multiplication/116574)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 2:01pm UTC](https://discourse.julialang.org/t/large-numbers-multiplication/116574 "2024-07-03T14:01:05Z")

</div>

Hello everyone, Im doing some concentration conversion and I noticed this issue. julia\> 3.321155762205247e-10 \* 6.022e23 \* 0.5e-3 \* 1e-6 100000.0 now if I put last three numbers in a variable. x = 6.022e23 \* 0.5e-3 \*…

---

## [Is there a simpler way to plot less points?](https://discourse.julialang.org/t/is-there-a-simpler-way-to-plot-less-points/75786)

<div class="topic-metadata">

**Author:** [@Fred\_He](https://discourse.julialang.org/u/Fred_He)\
**Replies:** 12\
**Last updated:** [July 3, 2024, 1:29pm UTC](https://discourse.julialang.org/t/is-there-a-simpler-way-to-plot-less-points/75786 "2024-07-03T13:29:25Z")

</div>

I have a solution for PDE with a lot of points. Is there any keyword in Plots.jl that can directly easily plot fewer points? If not, maybe we can manage to add one?

---

## [Problem constructing reaction system from SBML Biomodel](https://discourse.julialang.org/t/problem-constructing-reaction-system-from-sbml-biomodel/116548)

<div class="topic-metadata">

**Author:** [@jchitpin](https://discourse.julialang.org/u/jchitpin)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 1:16pm UTC](https://discourse.julialang.org/t/problem-constructing-reaction-system-from-sbml-biomodel/116548 "2024-07-03T13:16:12Z")

</div>

I am encountering difficulties loading an SBML file from BioModels (see here). Following the SBMLToolKit instructions, I loaded the SBML file but am having issues constructing the reaction system with warnings that certa…

---

## [Time Calculation for Recurring Function Calls](https://discourse.julialang.org/t/time-calculation-for-recurring-function-calls/116578)

<div class="topic-metadata">

**Author:** [@usaer](https://discourse.julialang.org/u/usaer)\
**Replies:** 6\
**Last updated:** [July 3, 2024, 1:04pm UTC](https://discourse.julialang.org/t/time-calculation-for-recurring-function-calls/116578 "2024-07-03T13:04:26Z")

</div>

Hi all, I have a function xyz which I call at different positions inside my main function. Is there any way that I could get the cummulative sum of computational time for all the function xyz calls?

---

## [Short-term scientific programmer for crop-growth modelling](https://discourse.julialang.org/t/short-term-scientific-programmer-for-crop-growth-modelling/109251)

<div class="topic-metadata">

**Author:** [@veddox](https://discourse.julialang.org/u/veddox)\
**Replies:** 2\
**Last updated:** [July 3, 2024, 12:21pm UTC](https://discourse.julialang.org/t/short-term-scientific-programmer-for-crop-growth-modelling/109251 "2024-07-03T12:21:33Z")

</div>

We are looking for a developer to help us translate an open-source crop growth model into Julia, and integrate it into our model of agricultural ecosystems. As part of a project on sustainable farming in the EU, our tea…

---

## [Arm64 julia/docker on AWS EC2: cpu target recommendations](https://discourse.julialang.org/t/arm64-julia-docker-on-aws-ec2-cpu-target-recommendations/115776)

<div class="topic-metadata">

**Author:** [@Graham\_Gill](https://discourse.julialang.org/u/Graham_Gill)\
**Replies:** 7\
**Last updated:** [July 3, 2024, 12:13pm UTC](https://discourse.julialang.org/t/arm64-julia-docker-on-aws-ec2-cpu-target-recommendations/115776 "2024-07-03T12:13:55Z")

</div>

I’m just looking for some addtional info here from people who have more experience. Can anyone recommend JULIA\_CPU\_TARGET settings for running Julia inside a Linux docker image on arm64 Amazon EC2? Can anyone provide s…

---

## [Workflow and environments question](https://discourse.julialang.org/t/workflow-and-environments-question/116551)

<div class="topic-metadata">

**Author:** [@sob](https://discourse.julialang.org/u/sob)\
**Replies:** 5\
**Last updated:** [July 3, 2024, 11:08am UTC](https://discourse.julialang.org/t/workflow-and-environments-question/116551 "2024-07-03T11:08:49Z")

</div>

I’m working alone on a decently sized Julia project (or at least it’s decent size for me) and find myself working on different (and unrelated) areas of the project concurrently. I’m already using Git (for various reason…

---

## [Convert Markdown.MD to string in Julia](https://discourse.julialang.org/t/convert-markdown-md-to-string-in-julia/116559)

<div class="topic-metadata">

**Author:** [@anastasia21112](https://discourse.julialang.org/u/anastasia21112)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 10:34am UTC](https://discourse.julialang.org/t/convert-markdown-md-to-string-in-julia/116559 "2024-07-03T10:34:47Z")

</div>

I’m trying to parse a Markdown.MD table object into a string in Julia so that I can gather the list of things that are in the table and use them as strings later on in the code. I was wondering if there was any command t…

---

## [Running CI for Julia 1.6 on Github MacOS runners seems to fail?](https://discourse.julialang.org/t/running-ci-for-julia-1-6-on-github-macos-runners-seems-to-fail/116577)

<div class="topic-metadata">

**Author:** [@vettert](https://discourse.julialang.org/u/vettert)\
**Replies:** 3\
**Last updated:** [July 3, 2024, 10:03am UTC](https://discourse.julialang.org/t/running-ci-for-julia-1-6-on-github-macos-runners-seems-to-fail/116577 "2024-07-03T10:03:54Z")

</div>

I am trying to get tests for a package to pass on Julia 1.6 and different OS. Here is my CI file: Open62541.jl/.github/workflows/CI.yml at main · martinkosch/Open62541.jl Things are going fine, except for MacOS X, whic…

---

## [Alternatives to inv() in Julia](https://discourse.julialang.org/t/alternatives-to-inv-in-julia/116514)

<div class="topic-metadata">

**Author:** [@usaer](https://discourse.julialang.org/u/usaer)\
**Replies:** 4\
**Last updated:** [July 3, 2024, 9:08am UTC](https://discourse.julialang.org/t/alternatives-to-inv-in-julia/116514 "2024-07-03T09:08:06Z")

</div>

Hi, I wanted to ask if there more optimal way w.r.t to Performance to find the inverse of a matrix than inv() from Linear Algebra package

---

## [How to modify the axis in a recipe](https://discourse.julialang.org/t/how-to-modify-the-axis-in-a-recipe/116405)

<div class="topic-metadata">

**Author:** [@Jeff\_Wack](https://discourse.julialang.org/u/Jeff_Wack)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 8:22am UTC](https://discourse.julialang.org/t/how-to-modify-the-axis-in-a-recipe/116405 "2024-07-03T08:22:49Z")

</div>

I am trying to create a Makie recipe to make a plot from a custom datatype. In these plots I would like to have a completely blank white background, in other words have no visible axis. Normally to make a plot like this…

---

## [Slow code to compute b=A\*x](https://discourse.julialang.org/t/slow-code-to-compute-b-a-x/116562)

<div class="topic-metadata">

**Author:** [@ww1g11](https://discourse.julialang.org/u/ww1g11)\
**Replies:** 7\
**Last updated:** [July 3, 2024, 7:55am UTC](https://discourse.julialang.org/t/slow-code-to-compute-b-a-x/116562 "2024-07-03T07:55:35Z")

</div>

Hi all, I wrote a very simple code to compute b=A\*x and found that it is slow, please see the following codes to compare sum1, sum2 and sum3: using TimerOutputs const timer = TimerOutput() function test(N=20000) A…

---

## [Set as zero low values in symbolic expressions](https://discourse.julialang.org/t/set-as-zero-low-values-in-symbolic-expressions/114793)

<div class="topic-metadata">

**Author:** [@GiorgioSimonini](https://discourse.julialang.org/u/GiorgioSimonini)\
**Replies:** 3\
**Last updated:** [July 3, 2024, 6:59am UTC](https://discourse.julialang.org/t/set-as-zero-low-values-in-symbolic-expressions/114793 "2024-07-03T06:59:14Z")

</div>

Hello everyone, I am seeking a way to simplify a symbolic expression setting as zero floating point numbers that are below a certain threshold. For example the expression ‘1e-17\*x + y’ should return ‘y’. I tried to us…

---

## [Experiments with Julia Stack Sizes and Enzyme](https://discourse.julialang.org/t/experiments-with-julia-stack-sizes-and-enzyme/116511)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 1\
**Last updated:** [July 3, 2024, 12:48am UTC](https://discourse.julialang.org/t/experiments-with-julia-stack-sizes-and-enzyme/116511 "2024-07-03T00:48:40Z")

</div>

I’ve been trying to get Enzyme.jl working as an AD backend for SymbolicRegression.jl for a couple of years now, and recently got a working demonstration with a hack to increase the stack size: Extremely long compilation …

---

## [How can I plot a scatter plot over a heatmap with a different color gradient?](https://discourse.julialang.org/t/how-can-i-plot-a-scatter-plot-over-a-heatmap-with-a-different-color-gradient/116493)

<div class="topic-metadata">

**Author:** [@schwob](https://discourse.julialang.org/u/schwob)\
**Replies:** 8\
**Last updated:** [July 2, 2024, 8:04pm UTC](https://discourse.julialang.org/t/how-can-i-plot-a-scatter-plot-over-a-heatmap-with-a-different-color-gradient/116493 "2024-07-02T20:04:15Z")

</div>

I want to overlay a scatter plot onto a heatmap, where the points in the scatter plot are colored based on values at those points. If the values of the scatter points are in the same range as the heatmap’s values, this i…

---

## [Disable Rectangle Zoom Makie](https://discourse.julialang.org/t/disable-rectangle-zoom-makie/116537)

<div class="topic-metadata">

**Author:** [@Ian\_L](https://discourse.julialang.org/u/Ian_L)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 6:15pm UTC](https://discourse.julialang.org/t/disable-rectangle-zoom-makie/116537 "2024-07-02T18:15:49Z")

</div>

Hi, I am making an interactive plot in (W)GLMakie, and am wondering how to disable the default Axis interactivity. I have disabled zoom and panning, but I’m having trouble disabling rectangle zoom. What I have: using GL…

---

## [Overflow with Iterators.product](https://discourse.julialang.org/t/overflow-with-iterators-product/116532)

<div class="topic-metadata">

**Author:** [@minjaep](https://discourse.julialang.org/u/minjaep)\
**Replies:** 7\
**Last updated:** [July 2, 2024, 6:01pm UTC](https://discourse.julialang.org/t/overflow-with-iterators-product/116532 "2024-07-02T18:01:38Z")

</div>

I need to deal with values assigned to a d-dimensional cube, where the dimension d varies. Say L is the side length of a cube. To access a d-dimensional array with L^d entries I used the following. idx = Iterators.produ…

---

## [FYI: C++20 std:jthread vs Julia's threads](https://discourse.julialang.org/t/fyi-c-20-std-jthread-vs-julias-threads/116502)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 4\
**Last updated:** [July 2, 2024, 5:05pm UTC](https://discourse.julialang.org/t/fyi-c-20-std-jthread-vs-julias-threads/116502 "2024-07-02T17:05:07Z")

</div>

I notices Julia’s GC relies on C++ code. I though the GC was written in C, and only the LLVM and parts related to it written in C++, but at least by now Julia’s GC relies on C++11, i.e. on std:thread. All t…

---

## [Can't Get Implicit Package Directories to Work](https://discourse.julialang.org/t/cant-get-implicit-package-directories-to-work/116525)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 6\
**Last updated:** [July 2, 2024, 4:37pm UTC](https://discourse.julialang.org/t/cant-get-implicit-package-directories-to-work/116525 "2024-07-02T16:37:18Z")

</div>

I’m trying to create multiple packages in one repository following the implicit package directories method outlined here: Code Loading · The Julia Language The ultimate goal is to split our large single-package codebase…

---

## [Neovim + LanguageServer.jl](https://discourse.julialang.org/t/neovim-languageserver-jl/37286)

<div class="topic-metadata">

**Author:** [@kdheepak](https://discourse.julialang.org/u/kdheepak)\
**Replies:** 100\
**Last updated:** [July 2, 2024, 4:30pm UTC](https://discourse.julialang.org/t/neovim-languageserver-jl/37286 "2024-07-02T16:30:42Z")

</div>

neovim has built in lsp support and can be integrated with any language server. I thought I’d describe the set up for using LanguageServer.jl and neovim. You need to use the latest version of neovim at the moment. I’m u…

---

## [Problems with AD inference on wrapper function](https://discourse.julialang.org/t/problems-with-ad-inference-on-wrapper-function/116454)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 7\
**Last updated:** [July 2, 2024, 2:59pm UTC](https://discourse.julialang.org/t/problems-with-ad-inference-on-wrapper-function/116454 "2024-07-02T14:59:31Z")

</div>

I’m trying to fix inference issues within a Zygote gradient for DynamicExpressions.jl – with the goal of using fast AD in SymbolicRegression.jl. Right now Zygote.gradient is inferring Any as a return value and I can’t fi…

---

## [Neovim + DebugAdapter.jl](https://discourse.julialang.org/t/neovim-debugadapter-jl/116529)

<div class="topic-metadata">

**Author:** [@kdheepak](https://discourse.julialang.org/u/kdheepak)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 2:39pm UTC](https://discourse.julialang.org/t/neovim-debugadapter-jl/116529 "2024-07-02T14:39:22Z")

</div>

Hi neovim users, Similar to Neovim + LanguageServer.jl I thought I’d make a post about neovim and DebugAdapter.jl. You might already know that neovim supports the Microsoft Debug Adapter Protocol (DAP) using mfussenegg…

---

## [Custom divergent colormap with unequal sides](https://discourse.julialang.org/t/custom-divergent-colormap-with-unequal-sides/115484)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 10\
**Last updated:** [July 2, 2024, 2:35pm UTC](https://discourse.julialang.org/t/custom-divergent-colormap-with-unequal-sides/115484 "2024-07-02T14:35:44Z")

</div>

I am working with Makie.jl and I wish to create a custom colormap. Taking any divergent colormap provided by Makie, such as :balance for example, I want to make a colormap that has the same colors as :balance or :delta, …

---

## [Wrong largest Lyapunov exponent?](https://discourse.julialang.org/t/wrong-largest-lyapunov-exponent/116523)

<div class="topic-metadata">

**Author:** [@rpalmaa](https://discourse.julialang.org/u/rpalmaa)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 1:32pm UTC](https://discourse.julialang.org/t/wrong-largest-lyapunov-exponent/116523 "2024-07-02T13:32:55Z")

</div>

I’m calculating the Lyapunov exponents of the Rössler oscillator using chaostools lyapunovspectrum, but I’m getting a weird result: For the fixed point, the largest Lyapunov exponent (LLE) is smaller than the LLE for th…

---

## [Running agents.jl model with run!()](https://discourse.julialang.org/t/running-agents-jl-model-with-run/116477)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 6\
**Last updated:** [July 2, 2024, 1:01pm UTC](https://discourse.julialang.org/t/running-agents-jl-model-with-run/116477 "2024-07-02T13:01:10Z")

</div>

How can I avoid saving data after run in agent based model. I thought if we don’t give adata. It should automatically not save data and its not saving as in end dataframes are 0\*0 in size but its taking same amount of t…

---

## [Post about your JuliaCon 2024 Talk Here!](https://discourse.julialang.org/t/post-about-your-juliacon-2024-talk-here/114469)

<div class="topic-metadata">

**Author:** [@rayegun](https://discourse.julialang.org/u/rayegun)\
**Replies:** 6\
**Last updated:** [July 2, 2024, 12:13pm UTC](https://discourse.julialang.org/t/post-about-your-juliacon-2024-talk-here/114469 "2024-07-02T12:13:19Z")

</div>

The JuliaCon Organizing Committee, in partnership with Cormullion, has released some marketing templates that we’d love for you to use! They can be found at: https://juliacon.org/2024/marketingmaterials/ Please post the…

---

## [Why there is no documentation for \`merge\`](https://discourse.julialang.org/t/why-there-is-no-documentation-for-merge/116509)

<div class="topic-metadata">

**Author:** [@VinodV](https://discourse.julialang.org/u/VinodV)\
**Replies:** 4\
**Last updated:** [July 2, 2024, 12:09pm UTC](https://discourse.julialang.org/t/why-there-is-no-documentation-for-merge/116509 "2024-07-02T12:09:51Z")

</div>

merge is a useful function. Why there is no documentation found for it in the julia command line. Documentation is here : Collections and Data Structures · The Julia Language julia\> a Dict{I…

---

## [How to make a numeric list in Literate.jl](https://discourse.julialang.org/t/how-to-make-a-numeric-list-in-literate-jl/116517)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 11:59am UTC](https://discourse.julialang.org/t/how-to-make-a-numeric-list-in-literate-jl/116517 "2024-07-02T11:59:35Z")

</div>

In Literate.jl I just want to make number list 1. 2. 3. And as pictures below show it doesn’t work. How to solve this?

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

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