# Latest

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

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

**Page:** 65

---

## [Iterating over integer simplex](https://discourse.julialang.org/t/iterating-over-integer-simplex/135060)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 14\
**Last updated:** [January 16, 2026, 12:29pm UTC](https://discourse.julialang.org/t/iterating-over-integer-simplex/135060 "2026-01-16T12:29:59Z")

</div>

I need to iterate over all K-tuples of nonnegative Ints that sum to N. Eg if K is 3 and N==3, (0,0,3) (0,1,2) (0,2,1) (0,3,0) (1,0,2) (1,1,1) (1,2,0) (2,0,1) (2,1,0) (3,0,0) Ordering does not matter, just full travers…

---

## [Revise.jl never works for me](https://discourse.julialang.org/t/revise-jl-never-works-for-me/135072)

<div class="topic-metadata">

**Author:** [@fireking07](https://discourse.julialang.org/u/fireking07)\
**Replies:** 6\
**Last updated:** [January 16, 2026, 11:53am UTC](https://discourse.julialang.org/t/revise-jl-never-works-for-me/135072 "2026-01-16T11:53:40Z")

</div>

I have been trying to configure Revise.jl on VS Code (I am new to VS Code since I found Julia to be fiddly with emacs). I enabled using Revise.jl to be executed when I start a new REPL. I am developing a package. Essent…

---

## [Save module/function using PackageCompiler](https://discourse.julialang.org/t/save-module-function-using-packagecompiler/135064)

<div class="topic-metadata">

**Author:** [@stelmo](https://discourse.julialang.org/u/stelmo)\
**Replies:** 7\
**Last updated:** [January 16, 2026, 1:01am UTC](https://discourse.julialang.org/t/save-module-function-using-packagecompiler/135064 "2026-01-16T01:01:46Z")

</div>

Is it possible to save the compiled version of a function, f, which is not in a package, using PackageCompiler? For example, suppose I have a file model.jl which contains: module Model include("func.jl") end f(rand(2…

---

## [Can one set the memory effect of a function to \`?m\`?](https://discourse.julialang.org/t/can-one-set-the-memory-effect-of-a-function-to-m/135087)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 0\
**Last updated:** [January 15, 2026, 9:55pm UTC](https://discourse.julialang.org/t/can-one-set-the-memory-effect-of-a-function-to-m/135087 "2026-01-15T21:55:06Z")

</div>

The docstring for the (non-public) function Base.infer\_effects lists among other things inaccessiblememonly (m): - +m (green): ALWAYS\_TRUE - -m (red): ALWAYS\_FALSE - ?m (yellow): INACCESSIBLEMEM\_OR\_ARGMEMONLY The …

---

## [Best practice for calling Julia functions via API](https://discourse.julialang.org/t/best-practice-for-calling-julia-functions-via-api/135086)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 0\
**Last updated:** [January 15, 2026, 8:04pm UTC](https://discourse.julialang.org/t/best-practice-for-calling-julia-functions-via-api/135086 "2026-01-15T20:04:30Z")

</div>

In my setup, a Julia function calls a C/Rust function play(agent, environment), which spawns some threads, and call functions on agent. agent and environment are Julia objects. Each of these foreign threads gets registe…

---

## [How to reference a function's arguments inside the function as a list](https://discourse.julialang.org/t/how-to-reference-a-functions-arguments-inside-the-function-as-a-list/135084)

<div class="topic-metadata">

**Author:** [@teacup775](https://discourse.julialang.org/u/teacup775)\
**Replies:** 1\
**Last updated:** [January 15, 2026, 7:20pm UTC](https://discourse.julialang.org/t/how-to-reference-a-functions-arguments-inside-the-function-as-a-list/135084 "2026-01-15T19:20:01Z")

</div>

I have a general boilerplate coding workflow.. function dosomething(df, a, b, c, d .. n) push!(df, \[ all those arguments \]) end In other words, I would like to find a way where I don’t have to hand transcribe the inp…

---

## [Reset model parameters Flux.jl](https://discourse.julialang.org/t/reset-model-parameters-flux-jl/35021)

<div class="topic-metadata">

**Author:** [@luboshanus](https://discourse.julialang.org/u/luboshanus)\
**Replies:** 3\
**Last updated:** [January 15, 2026, 4:05pm UTC](https://discourse.julialang.org/t/reset-model-parameters-flux-jl/35021 "2026-01-15T16:05:48Z")

</div>

Hi, I’d like to ask how to reset model parameters without saving initial parameters of the model such as init\_theta = Flux.params(model) and then loading them to the model when reseting. I would like to use built in Flu…

---

## [Probit marginal effects](https://discourse.julialang.org/t/probit-marginal-effects/124773)

<div class="topic-metadata">

**Author:** [@hendri54](https://discourse.julialang.org/u/hendri54)\
**Replies:** 1\
**Last updated:** [January 15, 2026, 3:33pm UTC](https://discourse.julialang.org/t/probit-marginal-effects/124773 "2026-01-15T15:33:26Z")

</div>

I am looking for a package that can estimate probit regressions and calculate marginal effects. GLM.jl can estimate the regression, but (to my knowledge) not calculate the marginal effects. Effects.jl appears to only app…

---

## [How do set Julia version in VSCode when using juliaup](https://discourse.julialang.org/t/how-do-set-julia-version-in-vscode-when-using-juliaup/105619)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 19\
**Last updated:** [January 15, 2026, 3:29pm UTC](https://discourse.julialang.org/t/how-do-set-julia-version-in-vscode-when-using-juliaup/105619 "2026-01-15T15:29:43Z")

</div>

I am using Juliaup to manage my Julai version. It is now using the 1.10 beta by default. However, for one application, I need to quickly run something in 1.9. I almost exclusively use VSCode. Is there a way, when using …

---

## [Unit testing iterators](https://discourse.julialang.org/t/unit-testing-iterators/135078)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 0\
**Last updated:** [January 15, 2026, 1:49pm UTC](https://discourse.julialang.org/t/unit-testing-iterators/135078 "2026-01-15T13:49:12Z")

</div>

Is there a package to test that a type implements the iteration interface correctly? Just some basic sanity checks, eg if get the size/eltype traits, check that they are consistent, compare repeatedly calling iterate un…

---

## [Bonito.jl color picker](https://discourse.julialang.org/t/bonito-jl-color-picker/135075)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 0\
**Last updated:** [January 15, 2026, 1:07pm UTC](https://discourse.julialang.org/t/bonito-jl-color-picker/135075 "2026-01-15T13:07:06Z")

</div>

I want to enable users to change a color in a Bonito.jl app. Is there a preexisting color picker? Also: If I have a simple TextField, is it safe to parse this as colorant"$(textfield.value)"?

---

## [Best practice to use sources on a monorepository](https://discourse.julialang.org/t/best-practice-to-use-sources-on-a-monorepository/135074)

<div class="topic-metadata">

**Author:** [@termi-official](https://discourse.julialang.org/u/termi-official)\
**Replies:** 0\
**Last updated:** [January 15, 2026, 12:49pm UTC](https://discourse.julialang.org/t/best-practice-to-use-sources-on-a-monorepository/135074 "2026-01-15T12:49:51Z")

</div>

Hi everyone, I am wondering if there is an easy way to source a full monorepository without adding all subdirectories manually to the sources section. The problem from my perspective is essentially that adding all subdi…

---

## [Steady state solution in ModelingToolkit fails with SSRootFind due to current\_time](https://discourse.julialang.org/t/steady-state-solution-in-modelingtoolkit-fails-with-ssrootfind-due-to-current-time/135070)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 10:43am UTC](https://discourse.julialang.org/t/steady-state-solution-in-modelingtoolkit-fails-with-ssrootfind-due-to-current-time/135070 "2026-01-15T10:43:15Z")

</div>

While playing with a small example to test different functionalities of MTK it seems that SSRootFind fails to solve for the steady state, contrarily to DynamicSS, on a current\_time call. Here is a MWE to reproduce usin…

---

## [Optimizing the parameters of a MTK model with automatic differetiation](https://discourse.julialang.org/t/optimizing-the-parameters-of-a-mtk-model-with-automatic-differetiation/135063)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 2\
**Last updated:** [January 15, 2026, 10:18am UTC](https://discourse.julialang.org/t/optimizing-the-parameters-of-a-mtk-model-with-automatic-differetiation/135063 "2026-01-15T10:18:10Z")

</div>

I’m trying to optimize some parameters of a MTK model to reach some steady-state solution objective, using the recommendations in Frequently Asked Questions · ModelingToolkit.jl. This works fine with finite differences c…

---

## [IJulia notebook() yields notebook that cannot save/export files](https://discourse.julialang.org/t/ijulia-notebook-yields-notebook-that-cannot-save-export-files/135062)

<div class="topic-metadata">

**Author:** [@JM\_Beckers](https://discourse.julialang.org/u/JM_Beckers)\
**Replies:** 3\
**Last updated:** [January 15, 2026, 7:50am UTC](https://discourse.julialang.org/t/ijulia-notebook-yields-notebook-that-cannot-save-export-files/135062 "2026-01-15T07:50:06Z")

</div>

I have a fresh installation on a new windows computer, latest Julia version available via juliaup Julia Version 1.12.4 Commit 01a2eadb04 (2026-01-06 16:56 UTC) Build Info: Official https://julialang.org release Platfo…

---

## [CUDA Warning about freeing DeviceMemory](https://discourse.julialang.org/t/cuda-warning-about-freeing-devicememory/135042)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 1\
**Last updated:** [January 15, 2026, 7:37am UTC](https://discourse.julialang.org/t/cuda-warning-about-freeing-devicememory/135042 "2026-01-15T07:37:09Z")

</div>

I’m using Flux.jl for machine learning. When I run training, I got this error (seems to be generated from compiled code in Zygote) ERROR: LoadError: CUDA error: an illegal memory access was encountered (code 700, ERROR\_…

---

## [\[ANN\] SINDBAD Terrestrial Ecosystem Model-Data Integration Framework and Related Packages](https://discourse.julialang.org/t/ann-sindbad-terrestrial-ecosystem-model-data-integration-framework-and-related-packages/134896)

<div class="topic-metadata">

**Author:** [@dr-ko](https://discourse.julialang.org/u/dr-ko)\
**Replies:** 2\
**Last updated:** [January 14, 2026, 10:53pm UTC](https://discourse.julialang.org/t/ann-sindbad-terrestrial-ecosystem-model-data-integration-framework-and-related-packages/134896 "2026-01-14T22:53:44Z")

</div>

After many years of development, we (all current and previous SINDBAD developers) are excited to announce the release of the SINDBAD (Strategies to INtegrate Data and Biogeochemical moDels) suite of Julia packages for te…

---

## [Ternary plots in GMT.jl](https://discourse.julialang.org/t/ternary-plots-in-gmt-jl/63181)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 14\
**Last updated:** [January 14, 2026, 6:11pm UTC](https://discourse.julialang.org/t/ternary-plots-in-gmt-jl/63181 "2026-01-14T18:11:49Z")

</div>

The ternary plots topic has been raised here several times. I’ve added ternary plots to GMT.jl. Unfortunately it’s still not yet possible to slant the ticks, which helps a lot in reading the graphs, as that it will have …

---

## [Clarifications on JULIA\_CPU\_TARGET](https://discourse.julialang.org/t/clarifications-on-julia-cpu-target/134807)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 3:59pm UTC](https://discourse.julialang.org/t/clarifications-on-julia-cpu-target/134807 "2026-01-14T15:59:05Z")

</div>

I’m looking into adjusting JULIA\_CPU\_TARGET for a container deployed on AWS, and think I’m close to understanding it. These threads have helped: Understanding JULIA\_CPU\_TARGET Questions about JULIA\_CPU\_TARGET Arm64 ju…

---

## [Writing a static value-keyed container with dynamic lookup when inlining isn't possible](https://discourse.julialang.org/t/writing-a-static-value-keyed-container-with-dynamic-lookup-when-inlining-isnt-possible/135057)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 0\
**Last updated:** [January 14, 2026, 3:32pm UTC](https://discourse.julialang.org/t/writing-a-static-value-keyed-container-with-dynamic-lookup-when-inlining-isnt-possible/135057 "2026-01-14T15:32:18Z")

</div>

Hi all, I’m experimenting with a container that is conceptually similar to a NamedTuple, except that the “keys” are arbitrary isbits values, not Symbols. struct ValueNamedTuple{Vals,K} vals::Vals …

---

## [ModelingToolkit complex system of equations](https://discourse.julialang.org/t/modelingtoolkit-complex-system-of-equations/113370)

<div class="topic-metadata">

**Author:** [@ograsdijk](https://discourse.julialang.org/u/ograsdijk)\
**Replies:** 4\
**Last updated:** [January 14, 2026, 2:47pm UTC](https://discourse.julialang.org/t/modelingtoolkit-complex-system-of-equations/113370 "2026-01-14T14:47:30Z")

</div>

A few years ago I had a similar problem regarding a system of complex equations and I had found a workaround: ModelingToolkit matrix form system of equations and complex values. As far as I can tell complex symbolics ar…

---

## [Length limit for topic headlines?](https://discourse.julialang.org/t/length-limit-for-topic-headlines/135054)

<div class="topic-metadata">

**Author:** [@matthias314](https://discourse.julialang.org/u/matthias314)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 2:32pm UTC](https://discourse.julialang.org/t/length-limit-for-topic-headlines/135054 "2026-01-14T14:32:19Z")

</div>

Some posts have extremely long headlines, for example this one. Is there a way for the site maintainers to set a maximal length for the headline? Reading overly long headlines just takes time way when scanning topics.

---

## [Margins.jl and FormulaCompiler.jl: Marginal effects for Julia](https://discourse.julialang.org/t/margins-jl-and-formulacompiler-jl-marginal-effects-for-julia/135038)

<div class="topic-metadata">

**Author:** [@emfeltham](https://discourse.julialang.org/u/emfeltham)\
**Replies:** 2\
**Last updated:** [January 14, 2026, 2:24pm UTC](https://discourse.julialang.org/t/margins-jl-and-formulacompiler-jl-marginal-effects-for-julia/135038 "2026-01-14T14:24:38Z")

</div>

Marginal effects analysis is fundamental to interpreting statistical models, yet existing implementations face computational constraints that limit analysis at scale. I introduce two Julia packages that address this gap.…

---

## [\[ANN\] ExplicitImports.jl: tooling to help use and maintain explicit imports in your package](https://discourse.julialang.org/t/ann-explicitimports-jl-tooling-to-help-use-and-maintain-explicit-imports-in-your-package/110973)

<div class="topic-metadata">

**Author:** [@ericphanson](https://discourse.julialang.org/u/ericphanson)\
**Replies:** 25\
**Last updated:** [January 14, 2026, 11:16am UTC](https://discourse.julialang.org/t/ann-explicitimports-jl-tooling-to-help-use-and-maintain-explicit-imports-in-your-package/110973 "2026-01-14T11:16:33Z")

</div>

Background: what are implicit and explicit imports? An explicit import is a statement like using SomePkg: foo or import SomePkg: foo which explicitly brings the name foo into your module (often another package). In contr…

---

## [Another mystery in IJulia](https://discourse.julialang.org/t/another-mystery-in-ijulia/135017)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 3\
**Last updated:** [January 14, 2026, 8:50am UTC](https://discourse.julialang.org/t/another-mystery-in-ijulia/135017 "2026-01-14T08:50:31Z")

</div>

What does this mean? This occurs in a jupyter notebook when I try to use a local package added to my packages with Pkg.develop(). I do using mypkg and the result is: SYSTEM: caught exception of type :MethodError whil…

---

## [Multi-thread for nested loop with internal conditions, tricky](https://discourse.julialang.org/t/multi-thread-for-nested-loop-with-internal-conditions-tricky/135041)

<div class="topic-metadata">

**Author:** [@apolion](https://discourse.julialang.org/u/apolion)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 7:09am UTC](https://discourse.julialang.org/t/multi-thread-for-nested-loop-with-internal-conditions-tricky/135041 "2026-01-14T07:09:08Z")

</div>

Hello everyone, I am computing some interactions between systems from the results of other simulations, sort of post-processing. As noted in the code, for system 1 I have 1000 simulations (variations), system 2 has 400. …

---

## [Can anyone tell me why this figure is appearing in the corner?](https://discourse.julialang.org/t/can-anyone-tell-me-why-this-figure-is-appearing-in-the-corner/135014)

<div class="topic-metadata">

**Author:** [@Mervyn\_Larrier](https://discourse.julialang.org/u/Mervyn_Larrier)\
**Replies:** 3\
**Last updated:** [January 14, 2026, 5:05am UTC](https://discourse.julialang.org/t/can-anyone-tell-me-why-this-figure-is-appearing-in-the-corner/135014 "2026-01-14T05:05:08Z")

</div>

I’m new to GLMakie; I typically use CairoMakie. While the code runs and the plot does appear, it appears at the bottom left corner of the window, invariably. Can anyone tell me why? It feels like it might be something ob…

---

## [Question about data races](https://discourse.julialang.org/t/question-about-data-races/135037)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 1\
**Last updated:** [January 14, 2026, 2:25am UTC](https://discourse.julialang.org/t/question-about-data-races/135037 "2026-01-14T02:25:21Z")

</div>

Say we have a struct Foo: mutable struct Foo dee::Int fee::Int = 3 end We then define an array of Foo’s arrFoo = \[Foo(1), Foo(1), Foo(2), Foo(3)\] Then we have a function that, when given foo and a specific item…

---

## [Trademark Guidelines/Fair-Use Policy for Julia name/logo](https://discourse.julialang.org/t/trademark-guidelines-fair-use-policy-for-julia-name-logo/3404)

<div class="topic-metadata">

**Author:** [@helgee](https://discourse.julialang.org/u/helgee)\
**Replies:** 9\
**Last updated:** [January 13, 2026, 11:26pm UTC](https://discourse.julialang.org/t/trademark-guidelines-fair-use-policy-for-julia-name-logo/3404 "2026-01-13T23:26:17Z")

</div>

I am currently trying to come up with a name for a project which might become a commercial product. My best idea so far is JADE (Julia AstroDynamics Environment). Now I am asking myself whether or not it will be a probl…

---

## [Julia vs code extension reports opening package not part of my current envirionment](https://discourse.julialang.org/t/julia-vs-code-extension-reports-opening-package-not-part-of-my-current-envirionment/135016)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 2\
**Last updated:** [January 13, 2026, 9:34pm UTC](https://discourse.julialang.org/t/julia-vs-code-extension-reports-opening-package-not-part-of-my-current-envirionment/135016 "2026-01-13T21:34:37Z")

</div>

When a VS Code is opened with a project in the file explorer and a workbook is opened in a tab that comes from a different directory than the current project the extension reports You opened a Julia package that is not p…

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

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