# Latest

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

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

**Page:** 111

---

## [\[ANN\] New package: WordFrequencyDistributions.jl](https://discourse.julialang.org/t/ann-new-package-wordfrequencydistributions-jl/132360)

<div class="topic-metadata">

**Author:** [@myersm0](https://discourse.julialang.org/u/myersm0)\
**Replies:** 0\
**Last updated:** [September 13, 2025, 10:28pm UTC](https://discourse.julialang.org/t/ann-new-package-wordfrequencydistributions-jl/132360 "2025-09-13T22:28:54Z")

</div>

I’d like to belatedly announce a little package that I made, WordFrequencyDistributions.jl: a Julia implementation of some of the techniques for estimating and analyzing word frequency statistics, from R. Harald Baayen’s…

---

## [\*Should\* Julia packages use Boost license (for juliac; maybe Julia itself too)?](https://discourse.julialang.org/t/should-julia-packages-use-boost-license-for-juliac-maybe-julia-itself-too/132359)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [September 13, 2025, 10:18pm UTC](https://discourse.julialang.org/t/should-julia-packages-use-boost-license-for-juliac-maybe-julia-itself-too/132359 "2025-09-13T22:18:50Z")

</div>

The Boost Software License is not just for Boost libraries. Everyone can, and should, use it. I added the bold, and below: Why You Should Use the Boost Software License? Because it doesn’t require attribution for …

---

## [Why won't this simple differential equation work correctly?](https://discourse.julialang.org/t/why-wont-this-simple-differential-equation-work-correctly/132344)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 5\
**Last updated:** [September 13, 2025, 7:30pm UTC](https://discourse.julialang.org/t/why-wont-this-simple-differential-equation-work-correctly/132344 "2025-09-13T19:30:52Z")

</div>

Hello, I am new to differential equations and I am trying to implement as simple differential equation model describe here. The basic model is described in equation 4. I am able to reproduce the expected behavior of cas…

---

## [Praise: CUDA.allowscalar(false) is great](https://discourse.julialang.org/t/praise-cuda-allowscalar-false-is-great/132355)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 0\
**Last updated:** [September 13, 2025, 6:22pm UTC](https://discourse.julialang.org/t/praise-cuda-allowscalar-false-is-great/132355 "2025-09-13T18:22:54Z")

</div>

One single line makes me substantially more productive (at writing GPU code), and I’d like to highlight how much I love this pattern. I’ve had vague ideas on how to express this kind of concept before, but CUDA.allowscal…

---

## [ForwardDiff.jl Jacobian with NonlinearSolve.jl](https://discourse.julialang.org/t/forwarddiff-jl-jacobian-with-nonlinearsolve-jl/132353)

<div class="topic-metadata">

**Author:** [@Jskacines](https://discourse.julialang.org/u/Jskacines)\
**Replies:** 1\
**Last updated:** [September 13, 2025, 5:39pm UTC](https://discourse.julialang.org/t/forwarddiff-jl-jacobian-with-nonlinearsolve-jl/132353 "2025-09-13T17:39:14Z")

</div>

Hello, I am new to Julia, so let me know if i’m missing any basics. I am using NonlinearSolve.jl to solve a nonlinear system, and I wish to take the jacobian of this solution with respect to input parameters. The code …

---

## [Can a function know if it called with a "!" in the name?](https://discourse.julialang.org/t/can-a-function-know-if-it-called-with-a-in-the-name/132343)

<div class="topic-metadata">

**Author:** [@dankelley](https://discourse.julialang.org/u/dankelley)\
**Replies:** 10\
**Last updated:** [September 13, 2025, 2:32pm UTC](https://discourse.julialang.org/t/can-a-function-know-if-it-called-with-a-in-the-name/132343 "2025-09-13T14:32:35Z")

</div>

I’m writing a specialized plotting function (let’s call it A(), say) that does quite a lot of logic, and then calls plot() to generate a new plot. Is there a way that I can make a paired function (let’s call it A!(), s…

---

## [Mutating a flag in a nonmutating struct](https://discourse.julialang.org/t/mutating-a-flag-in-a-nonmutating-struct/132341)

<div class="topic-metadata">

**Author:** [@mesonepigreco](https://discourse.julialang.org/u/mesonepigreco)\
**Replies:** 5\
**Last updated:** [September 13, 2025, 1:04pm UTC](https://discourse.julialang.org/t/mutating-a-flag-in-a-nonmutating-struct/132341 "2025-09-13T13:04:18Z")

</div>

Dear Julia Community. I have a struct that contains both Bool flags and arrays. I want to be able to change the value of some of the Bool flags, but I would like to avoid having a mutable struct, which I believe can cr…

---

## [Precompilation in a sandbox](https://discourse.julialang.org/t/precompilation-in-a-sandbox/132312)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 1\
**Last updated:** [September 13, 2025, 5:25am UTC](https://discourse.julialang.org/t/precompilation-in-a-sandbox/132312 "2025-09-13T05:25:03Z")

</div>

I’m making sandboxed and reproducible Julia builds. One way I do this is by compiling each Julia package using Pkg.API.precompile(). I ensure that $JULIA\_DEPOT is set to a list of paths which contains compiled/v1.11/Logg…

---

## [VSCode - debugger crashes when I am using TestItems](https://discourse.julialang.org/t/vscode-debugger-crashes-when-i-am-using-testitems/132329)

<div class="topic-metadata">

**Author:** [@tdm](https://discourse.julialang.org/u/tdm)\
**Replies:** 0\
**Last updated:** [September 13, 2025, 3:15am UTC](https://discourse.julialang.org/t/vscode-debugger-crashes-when-i-am-using-testitems/132329 "2025-09-13T03:15:20Z")

</div>

Using Julia debugger in VSCode is generally buggy (as other posts attest), but I have not seen this problem reported yet: If I am using TestItems (see below) then it’s impossible to debug - The debugger crashes on start…

---

## [Observe: no window created; process returns to prompt with no visible UI.Need Assistance on Ui visibility on my julia code](https://discourse.julialang.org/t/observe-no-window-created-process-returns-to-prompt-with-no-visible-ui-need-assistance-on-ui-visibility-on-my-julia-code/132314)

<div class="topic-metadata">

**Author:** [@adrian-254](https://discourse.julialang.org/u/adrian-254)\
**Replies:** 2\
**Last updated:** [September 12, 2025, 5:10pm UTC](https://discourse.julialang.org/t/observe-no-window-created-process-returns-to-prompt-with-no-visible-ui-need-assistance-on-ui-visibility-on-my-julia-code/132314 "2025-09-12T17:10:11Z")

</div>

I created a boid simulation using julia and the pkgs i used were Gamezero and Colors, but i cant view my code and i dont know what is wrong with it, i’ve hosted it on my github and here is the repo link GitHub - adrian-2…

---

## [Writing a macro that generates a function](https://discourse.julialang.org/t/writing-a-macro-that-generates-a-function/132315)

<div class="topic-metadata">

**Author:** [@SeSodesa](https://discourse.julialang.org/u/SeSodesa)\
**Replies:** 19\
**Last updated:** [September 12, 2025, 4:53pm UTC](https://discourse.julialang.org/t/writing-a-macro-that-generates-a-function/132315 "2025-09-12T16:53:55Z")

</div>

I would like to do define a macro that allows me sum together vector-like structs, whose fields might be heterogeneous in terms of their types. I tried something like the following inside of a module: """ A heterogeneou…

---

## [🌏 Pluto in different languages!](https://discourse.julialang.org/t/pluto-in-different-languages/131540)

<div class="topic-metadata">

**Author:** [@fonsp](https://discourse.julialang.org/u/fonsp)\
**Replies:** 6\
**Last updated:** [September 12, 2025, 12:56pm UTC](https://discourse.julialang.org/t/pluto-in-different-languages/131540 "2025-09-12T12:56:52Z")

</div>

We want to make Julia and Pluto more accessible to a wider audience! Since 0.20.14 (August 2025), Pluto has a localization system, which means that the Pluto UI interface can be used in a different language, not just in …

---

## [MethodOfLines: How can I compute the Jacobian of the system of ODEs?](https://discourse.julialang.org/t/methodoflines-how-can-i-compute-the-jacobian-of-the-system-of-odes/132127)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 7\
**Last updated:** [September 12, 2025, 12:28pm UTC](https://discourse.julialang.org/t/methodoflines-how-can-i-compute-the-jacobian-of-the-system-of-odes/132127 "2025-09-12T12:28:29Z")

</div>

How can I compute the Jacobian of the system of ODEs obtained by spatially discretising a linear advection equation? A MWE follows: using OrdinaryDiffEq, ModelingToolkit, MethodOfLines, DomainSets @independent\_variable…

---

## [How to control Optimization.solve() termination smartly](https://discourse.julialang.org/t/how-to-control-optimization-solve-termination-smartly/132182)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 1\
**Last updated:** [September 12, 2025, 12:08pm UTC](https://discourse.julialang.org/t/how-to-control-optimization-solve-termination-smartly/132182 "2025-09-12T12:08:11Z")

</div>

I am using Optimization.jl to train a neural network. I’d like to be able to terminate the convergence based on the behavior of the loss as evaluated on a validation dataset, rather than just setting a limit for number o…

---

## [Error in Using DataInterpolations.jl and Enzyme.jl for Real-Time Interpolation and Gradient Computation in ODE Problems](https://discourse.julialang.org/t/error-in-using-datainterpolations-jl-and-enzyme-jl-for-real-time-interpolation-and-gradient-computation-in-ode-problems/132244)

<div class="topic-metadata">

**Author:** [@chooron](https://discourse.julialang.org/u/chooron)\
**Replies:** 1\
**Last updated:** [September 12, 2025, 12:05pm UTC](https://discourse.julialang.org/t/error-in-using-datainterpolations-jl-and-enzyme-jl-for-real-time-interpolation-and-gradient-computation-in-ode-problems/132244 "2025-09-12T12:05:57Z")

</div>

Hello, I currently have an ODE problem where I need to use DataInterpolations.jl to interpolate and obtain real-time values, which are then used for computing du. Next, I need to use Enzyme.jl to compute the gradients of…

---

## [Makie.jl: How to choose a slice of a colormap in ColorBar](https://discourse.julialang.org/t/makie-jl-how-to-choose-a-slice-of-a-colormap-in-colorbar/132279)

<div class="topic-metadata">

**Author:** [@JaydevSR](https://discourse.julialang.org/u/JaydevSR)\
**Replies:** 1\
**Last updated:** [September 12, 2025, 9:53am UTC](https://discourse.julialang.org/t/makie-jl-how-to-choose-a-slice-of-a-colormap-in-colorbar/132279 "2025-09-12T09:53:49Z")

</div>

I am trying to plot a colorbar for my plot where I have used a particular slice of a colormap for different lines. But I can’t figure out how to restrict the colorbar to only display that section of the colormap and not …

---

## [I want to build a hydrogeology model program](https://discourse.julialang.org/t/i-want-to-build-a-hydrogeology-model-program/132129)

<div class="topic-metadata">

**Author:** [@GeodeticR](https://discourse.julialang.org/u/GeodeticR)\
**Replies:** 14\
**Last updated:** [September 12, 2025, 9:51am UTC](https://discourse.julialang.org/t/i-want-to-build-a-hydrogeology-model-program/132129 "2025-09-12T09:51:08Z")

</div>

Hi everyone. I’m not really sure how to preface this. so I guess I’ll just provide my background, and my reason for wanting to try and build something useful in Julia for my usage. I recently finished my master’s degre…

---

## [How to call a function with a keyword argument whose name is stored in a variable](https://discourse.julialang.org/t/how-to-call-a-function-with-a-keyword-argument-whose-name-is-stored-in-a-variable/113744)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [September 12, 2025, 7:13am UTC](https://discourse.julialang.org/t/how-to-call-a-function-with-a-keyword-argument-whose-name-is-stored-in-a-variable/113744 "2025-09-12T07:13:16Z")

</div>

If someone need it.. or for myself when I will forget it :wink: This snippet allows to call a function with a keyword argument whose name is stored in a variable: foo(x;extra=0) = x+extra keyword = "extra" foo(2,extra=…

---

## [Gurobi reports UNKNOWN\_RESULT\_STATUS when Solution count = 10](https://discourse.julialang.org/t/gurobi-reports-unknown-result-status-when-solution-count-10/132311)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 3\
**Last updated:** [September 12, 2025, 6:26am UTC](https://discourse.julialang.org/t/gurobi-reports-unknown-result-status-when-solution-count-10/132311 "2025-09-12T06:26:38Z")

</div>

I cannot figure out why the JuMP.primal\_status(model) is UNKNOWN\_RESULT\_STATUS here julia\> model # a model that is solved before and modified A JuMP Model ├ solver: Gurobi ├ objective\_sense: MIN\_SENSE │ └ objective\_func…

---

## [Recommendations for comparing printouts e.g. \`@code\_\`](https://discourse.julialang.org/t/recommendations-for-comparing-printouts-e-g-code/132308)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 3\
**Last updated:** [September 12, 2025, 1:46am UTC](https://discourse.julialang.org/t/recommendations-for-comparing-printouts-e-g-code/132308 "2025-09-12T01:46:20Z")

</div>

Looking for an offline tool with a nice UI for highlighting differences between 2 or more chunks of text. Bonus if I can hide some intermediate lines in the comparison. Could be a Julia package for strings, could be some…

---

## [Passing arguments separately versus packing them into a struct](https://discourse.julialang.org/t/passing-arguments-separately-versus-packing-them-into-a-struct/132291)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 5\
**Last updated:** [September 12, 2025, 1:38am UTC](https://discourse.julialang.org/t/passing-arguments-separately-versus-packing-them-into-a-struct/132291 "2025-09-12T01:38:09Z")

</div>

I regularly have a large number of arguments to carry around, where each of the arguments has a concrete type, but where the concrete types can be different (multiple dispatch). The arguments are typically more complica…

---

## [Error using delay\_fnn](https://discourse.julialang.org/t/error-using-delay-fnn/132297)

<div class="topic-metadata">

**Author:** [@dylanmcn](https://discourse.julialang.org/u/dylanmcn)\
**Replies:** 3\
**Last updated:** [September 11, 2025, 9:41pm UTC](https://discourse.julialang.org/t/error-using-delay-fnn/132297 "2025-09-11T21:41:28Z")

</div>

Hello, I am trying to use the delay\_fnn function in the DynamicalSystems package and I keep getting the following error: ERROR: MethodError: no method matching StateSpaceSet{2, Float64, SVector{2, Float64}, Nothing}(::…

---

## [Question about translating R code to Julia](https://discourse.julialang.org/t/question-about-translating-r-code-to-julia/132301)

<div class="topic-metadata">

**Author:** [@mpampuch](https://discourse.julialang.org/u/mpampuch)\
**Replies:** 3\
**Last updated:** [September 11, 2025, 8:26pm UTC](https://discourse.julialang.org/t/question-about-translating-r-code-to-julia/132301 "2025-09-11T20:26:53Z")

</div>

I am working on improving a Bioconductor package for analyzing high-throughput genetic assays by porting it from R to Julia. Currently it works well on statistical benchmarks, but one of the main limitations is speed, wh…

---

## [How does Julia handle precompilation?](https://discourse.julialang.org/t/how-does-julia-handle-precompilation/132251)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 5\
**Last updated:** [September 11, 2025, 8:05pm UTC](https://discourse.julialang.org/t/how-does-julia-handle-precompilation/132251 "2025-09-11T20:05:38Z")

</div>

I am trying to make an app using PackageCompiler.jl I would like to use a precompile\_statements\_file. My understanding is that I basically call julia --trace-compile=precompile\_statements.jl --project=@. precompile.jl…

---

## [How to create an Objective C Library Wrapper](https://discourse.julialang.org/t/how-to-create-an-objective-c-library-wrapper/132299)

<div class="topic-metadata">

**Author:** [@skolari93](https://discourse.julialang.org/u/skolari93)\
**Replies:** 5\
**Last updated:** [September 11, 2025, 7:42pm UTC](https://discourse.julialang.org/t/how-to-create-an-objective-c-library-wrapper/132299 "2025-09-11T19:42:06Z")

</div>

I want to write a wrapper for an Objective C library (Syphon Framework). I am not sure how to proceed and which packages to use. I did build the library in my directory for testing. But I am not sure how to proceed, as …

---

## [LinkFunctions.jl: help with package development and registration](https://discourse.julialang.org/t/linkfunctions-jl-help-with-package-development-and-registration/132296)

<div class="topic-metadata">

**Author:** [@giovannitinervia9](https://discourse.julialang.org/u/giovannitinervia9)\
**Replies:** 2\
**Last updated:** [September 11, 2025, 5:12pm UTC](https://discourse.julialang.org/t/linkfunctions-jl-help-with-package-development-and-registration/132296 "2025-09-11T17:12:43Z")

</div>

Hi everyone, I’m a new Julia user currently learning the language, and I’m interested in developing packages for distribution regression model fitting. For this work, I need to use link functions, which are implemented …

---

## [Taking power with float exponent x^y is slower than exp(y\*log(x))?](https://discourse.julialang.org/t/taking-power-with-float-exponent-x-y-is-slower-than-exp-y-log-x/132270)

<div class="topic-metadata">

**Author:** [@Norman](https://discourse.julialang.org/u/Norman)\
**Replies:** 8\
**Last updated:** [September 11, 2025, 4:27pm UTC](https://discourse.julialang.org/t/taking-power-with-float-exponent-x-y-is-slower-than-exp-y-log-x/132270 "2025-09-11T16:27:28Z")

</div>

Updated results: There was some sloppiness on my benchmark approach. The discrepancy isn’t that large. julia\> @benchmark x^1.5 setup=(x=rand()) samples=100000 BenchmarkTools.Trial: 100000 samples with 998 evaluations pe…

---

## [How to update a symmetric matrix respecting API boundaries?](https://discourse.julialang.org/t/how-to-update-a-symmetric-matrix-respecting-api-boundaries/132246)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 8\
**Last updated:** [September 11, 2025, 4:23pm UTC](https://discourse.julialang.org/t/how-to-update-a-symmetric-matrix-respecting-api-boundaries/132246 "2025-09-11T16:23:22Z")

</div>

Suppose I have a symmetric matrix H, and I would like to update it in place. For the purposes of this MWE, the update is adding f(i,j) to elements, based on index. How can I do this while respecting API boundaries? seti…

---

## [Accessing df\_agent in agents.jl](https://discourse.julialang.org/t/accessing-df-agent-in-agents-jl/132285)

<div class="topic-metadata">

**Author:** [@geoffD](https://discourse.julialang.org/u/geoffD)\
**Replies:** 0\
**Last updated:** [September 11, 2025, 1:59pm UTC](https://discourse.julialang.org/t/accessing-df-agent-in-agents-jl/132285 "2025-09-11T13:59:50Z")

</div>

Hi, all. I am noticing that upon running simulations with Agents.jl, the agent dataframe (adf) and presumably the underlying agent data stored in df\_agent contain one record per agent per timestep. For one of my models,…

---

## [Can I notify a generated function to recompile if called again](https://discourse.julialang.org/t/can-i-notify-a-generated-function-to-recompile-if-called-again/132271)

<div class="topic-metadata">

**Author:** [@Tortar](https://discourse.julialang.org/u/Tortar)\
**Replies:** 4\
**Last updated:** [September 11, 2025, 1:22pm UTC](https://discourse.julialang.org/t/can-i-notify-a-generated-function-to-recompile-if-called-again/132271 "2025-09-11T13:22:10Z")

</div>

Let’s say I have a @generated function of some kind which already triggered compilation at some point given the types of some arguments. Say that something changes in those arguments (fields), and I can catch that this h…

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

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