# Latest

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

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

**Page:** 93

---

## [My macro generates no code (?)](https://discourse.julialang.org/t/my-macro-generates-no-code/133416)

<div class="topic-metadata">

**Author:** [@Philippe\_Maincon1](https://discourse.julialang.org/u/Philippe_Maincon1)\
**Replies:** 2\
**Last updated:** [October 24, 2025, 12:25pm UTC](https://discourse.julialang.org/t/my-macro-generates-no-code/133416 "2025-10-24T12:25:18Z")

</div>

I am quite stumped! I have a macro, complicated yes, but I believe you can ignore most of its code, and still help me: If at the end of the macro definition, I @show the code it is to generate, it looks perfect. But i…

---

## [Add a constraint to a modeling toolkit model](https://discourse.julialang.org/t/add-a-constraint-to-a-modeling-toolkit-model/132553)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 1\
**Last updated:** [October 24, 2025, 12:03pm UTC](https://discourse.julialang.org/t/add-a-constraint-to-a-modeling-toolkit-model/132553 "2025-10-24T12:03:20Z")

</div>

I have a ModelingToolkit model that is a nonlinear ODE. I have made steady-state, transient and optimization analyses on this model. Now I would like to impose an additional constraint on one of the variables of the mod…

---

## [Chess.jl could use some love](https://discourse.julialang.org/t/chess-jl-could-use-some-love/130782)

<div class="topic-metadata">

**Author:** [@gwr](https://discourse.julialang.org/u/gwr)\
**Replies:** 12\
**Last updated:** [October 24, 2025, 11:55am UTC](https://discourse.julialang.org/t/chess-jl-could-use-some-love/130782 "2025-10-24T11:55:44Z")

</div>

Hi all, It looks like Chess.jl by @Tord has had no activity since April 2024 and its v0.7.6 never got registered. As a result, users still pull the deprecated Formatting.jl dependency via Chess.jl@0.7.5. I have opened…

---

## [Is the scheduler's queue ordered?](https://discourse.julialang.org/t/is-the-schedulers-queue-ordered/133414)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 0\
**Last updated:** [October 24, 2025, 10:20am UTC](https://discourse.julialang.org/t/is-the-schedulers-queue-ordered/133414 "2025-10-24T10:20:18Z")

</div>

I spawn 5 tasks in sequence 1 to 5 (I assume the function foreach is strictly ordered). If I start julia with 1 default thread, it is ordered: ❯ julia --threads=1,1 \_ \_ \_ \_(\_)\_ | Documentat…

---

## [VSCode Jupyter Notebook doesn't work with Julia 1.12](https://discourse.julialang.org/t/vscode-jupyter-notebook-doesnt-work-with-julia-1-12/133029)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 9\
**Last updated:** [October 24, 2025, 8:03am UTC](https://discourse.julialang.org/t/vscode-jupyter-notebook-doesnt-work-with-julia-1-12/133029 "2025-10-24T08:03:03Z")

</div>

Hi, With the new Julia 1.12 update, my Jupyter notebook in VSCode doesn’t execute and the cells stay stuck like that: Everything work well with Julia 1.11.7 Thanks, fdekerm

---

## [Best options for Graph Neural Network integration with Flux](https://discourse.julialang.org/t/best-options-for-graph-neural-network-integration-with-flux/133368)

<div class="topic-metadata">

**Author:** [@AriMarkowitz](https://discourse.julialang.org/u/AriMarkowitz)\
**Replies:** 5\
**Last updated:** [October 24, 2025, 7:15am UTC](https://discourse.julialang.org/t/best-options-for-graph-neural-network-integration-with-flux/133368 "2025-10-24T07:15:42Z")

</div>

Hello! I built a library that utilizes GraphNeuralNetworks.jl and Flux.jl, but the GraphNeuralNetworks.jl tests are currently failing in Julia 1.12 (and the same failure is causing my custom library to crash when used).…

---

## [Installing LibCURL\_jll specific version](https://discourse.julialang.org/t/installing-libcurl-jll-specific-version/133405)

<div class="topic-metadata">

**Author:** [@csvance](https://discourse.julialang.org/u/csvance)\
**Replies:** 0\
**Last updated:** [October 24, 2025, 5:08am UTC](https://discourse.julialang.org/t/installing-libcurl-jll-specific-version/133405 "2025-10-24T05:08:48Z")

</div>

I’m trying to update to the latest version of LibCURL\_jll, but I am having some problems making it work. This was originally to check if an issue I was encountering was a bug with curl, but it turns out it was with my co…

---

## [Updating Makie to Julia v1.12.1](https://discourse.julialang.org/t/updating-makie-to-julia-v1-12-1/133395)

<div class="topic-metadata">

**Author:** [@SergeantMike67](https://discourse.julialang.org/u/SergeantMike67)\
**Replies:** 4\
**Last updated:** [October 23, 2025, 7:34pm UTC](https://discourse.julialang.org/t/updating-makie-to-julia-v1-12-1/133395 "2025-10-23T19:34:29Z")

</div>

I am trying to update to Julia 1.12.1 from 1.11.3 and have been running into a persistent error LoadError: FieldError: type Core.TypeName has no field \`mt This is while updating packages after updating Julia to 1.12.1 …

---

## [Preserving ComponentArray structure with DifferentiationInterface](https://discourse.julialang.org/t/preserving-componentarray-structure-with-differentiationinterface/133390)

<div class="topic-metadata">

**Author:** [@charlesknipp](https://discourse.julialang.org/u/charlesknipp)\
**Replies:** 2\
**Last updated:** [October 23, 2025, 6:23pm UTC](https://discourse.julialang.org/t/preserving-componentarray-structure-with-differentiationinterface/133390 "2025-10-23T18:23:52Z")

</div>

I’m building a DSGE modeling language (lol what else is new) where I want to use something like ComponentArrays.jl for the construction of first order perturbations using DifferentiationInterface.jl. The point here is th…

---

## [Feelers for a possible SciMLCon in January?](https://discourse.julialang.org/t/feelers-for-a-possible-scimlcon-in-january/133311)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 5\
**Last updated:** [October 23, 2025, 2:48pm UTC](https://discourse.julialang.org/t/feelers-for-a-possible-scimlcon-in-january/133311 "2025-10-23T14:48:16Z")

</div>

I am putting out some feelers for a possible SciMLCon in January (/February). If we are to do something in person, I am trying to find what the right venue would be. The possibilities are: The Azores, Terceira Island. …

---

## [Beginning with PEtab, only one entry per measurement?](https://discourse.julialang.org/t/beginning-with-petab-only-one-entry-per-measurement/133388)

<div class="topic-metadata">

**Author:** [@kraqbi](https://discourse.julialang.org/u/kraqbi)\
**Replies:** 0\
**Last updated:** [October 23, 2025, 2:11pm UTC](https://discourse.julialang.org/t/beginning-with-petab-only-one-entry-per-measurement/133388 "2025-10-23T14:11:20Z")

</div>

Hello, I try PEtab for the first time and I am studying the documentation and tutorial of PEtab. I was wondering, the DataFrame I create, is it absolutely necessary to have just one entry per measurement? There is no b…

---

## [How can I merge two YAXarrays datasets](https://discourse.julialang.org/t/how-can-i-merge-two-yaxarrays-datasets/133326)

<div class="topic-metadata">

**Author:** [@Kamil\_Mroz](https://discourse.julialang.org/u/Kamil_Mroz)\
**Replies:** 3\
**Last updated:** [October 23, 2025, 1:43pm UTC](https://discourse.julialang.org/t/how-can-i-merge-two-yaxarrays-datasets/133326 "2025-10-23T13:43:45Z")

</div>

I’ve created two YAXArrays from data stored in two separate groups of an HDF5 file. They share the same dimensions, and I’d like to merge them into a single Dataset. Is there a recommended way to do this? I couldn’t f…

---

## [Is it possible to check if Variable is in YAXArray Dataset?](https://discourse.julialang.org/t/is-it-possible-to-check-if-variable-is-in-yaxarray-dataset/133378)

<div class="topic-metadata">

**Author:** [@Kamil\_Mroz](https://discourse.julialang.org/u/Kamil_Mroz)\
**Replies:** 1\
**Last updated:** [October 23, 2025, 1:37pm UTC](https://discourse.julialang.org/t/is-it-possible-to-check-if-variable-is-in-yaxarray-dataset/133378 "2025-10-23T13:37:52Z")

</div>

Hi, as in the title, is it possible to check if Variable is in YAXArray Dataset? currently I do: try ds = YAXArrays.Dataset(; ds.cubes..., b = function\_1.(ds\["a"\])) catch e …

---

## [Is the operation scheduling a task blocking?](https://discourse.julialang.org/t/is-the-operation-scheduling-a-task-blocking/133372)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 11\
**Last updated:** [October 23, 2025, 1:16pm UTC](https://discourse.julialang.org/t/is-the-operation-scheduling-a-task-blocking/133372 "2025-10-23T13:16:00Z")

</div>

Here is the doc Asynchronous Programming · The Julia Language It is common to want to create a task and schedule it right away, so the macro Threads.@spawn is provided for that purpose –- Threads.@spawn x is equivalent…

---

## [Large difference in computation time of expv from 4\*4 matrix to 3\*3 matrix](https://discourse.julialang.org/t/large-difference-in-computation-time-of-expv-from-4-4-matrix-to-3-3-matrix/133376)

<div class="topic-metadata">

**Author:** [@Xu\_Shan](https://discourse.julialang.org/u/Xu_Shan)\
**Replies:** 3\
**Last updated:** [October 23, 2025, 12:13pm UTC](https://discourse.julialang.org/t/large-difference-in-computation-time-of-expv-from-4-4-matrix-to-3-3-matrix/133376 "2025-10-23T12:13:20Z")

</div>

Hi Guys, I tried to profile the performance of ExponentialUtilities on static array as matrix. I found there is a big jump from 33 matrix to 44 matrix. May I know why? Here is the script I used for the testing: using E…

---

## [How to get ALL variable names currently accessible](https://discourse.julialang.org/t/how-to-get-all-variable-names-currently-accessible/108839)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 13\
**Last updated:** [October 23, 2025, 12:01pm UTC](https://discourse.julialang.org/t/how-to-get-all-variable-names-currently-accessible/108839 "2025-10-23T12:01:01Z")

</div>

I know about Base.names, however it ignores all the variables which are imported via using. Is there a function which also includes these? Or is there a way to tell whether a module was imported like using DataFrames? …

---

## [Wolfram Engine vs Julia](https://discourse.julialang.org/t/wolfram-engine-vs-julia/110016)

<div class="topic-metadata">

**Author:** [@photor](https://discourse.julialang.org/u/photor)\
**Replies:** 7\
**Last updated:** [October 23, 2025, 11:55am UTC](https://discourse.julialang.org/t/wolfram-engine-vs-julia/110016 "2025-10-23T11:55:01Z")

</div>

Is there any interface between Julia and Wolfram Engine?

---

## [PackageCompiler create\_sysimage options for Artifacts](https://discourse.julialang.org/t/packagecompiler-create-sysimage-options-for-artifacts/133380)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 0\
**Last updated:** [October 23, 2025, 11:30am UTC](https://discourse.julialang.org/t/packagecompiler-create-sysimage-options-for-artifacts/133380 "2025-10-23T11:30:44Z")

</div>

I succeeded making a system image for a Windows PC with a different cpu\_target. But when I started it, it failed because some artifacts (…SpecFun) were not installed. So I solved it by instantiating the packages, which…

---

## [Paper on Perceived vs Real Productivity Gains Using LLM](https://discourse.julialang.org/t/paper-on-perceived-vs-real-productivity-gains-using-llm/133322)

<div class="topic-metadata">

**Author:** [@andreeco](https://discourse.julialang.org/u/andreeco)\
**Replies:** 8\
**Last updated:** [October 23, 2025, 10:59am UTC](https://discourse.julialang.org/t/paper-on-perceived-vs-real-productivity-gains-using-llm/133322 "2025-10-23T10:59:18Z")

</div>

This is an interesting paper on the efficiency of using LLM tools for coding. A takeaway is that, in the study, the perceived productivity gains are about 24%, while in reality they are about 19% slower. In Table 3 on pa…

---

## [Make mutating function more AD-friendly](https://discourse.julialang.org/t/make-mutating-function-more-ad-friendly/133356)

<div class="topic-metadata">

**Author:** [@MrMR](https://discourse.julialang.org/u/MrMR)\
**Replies:** 10\
**Last updated:** [October 23, 2025, 9:52am UTC](https://discourse.julialang.org/t/make-mutating-function-more-ad-friendly/133356 "2025-10-23T09:52:03Z")

</div>

Dear all, since this is my first post, I want to thank you for the help I got in many years I used Julia (I always found the answer to my problems in previous posts!). Diving into the problem: what I need to do is to …

---

## [The same async program run on (Linux+AMD) vs (Win+Intel), over 6x performance difference](https://discourse.julialang.org/t/the-same-async-program-run-on-linux-amd-vs-win-intel-over-6x-performance-difference/133276)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 5\
**Last updated:** [October 23, 2025, 9:38am UTC](https://discourse.julialang.org/t/the-same-async-program-run-on-linux-amd-vs-win-intel-over-6x-performance-difference/133276 "2025-10-23T09:38:33Z")

</div>

Long story short: I wrote a async programming code which uses multithreads. The same code is run on two servers. The Linux server is 6.5 times faster than the other (both attaining the same correct results). I’m not hur…

---

## [Reading from socket causes massive amounts of memory allocation](https://discourse.julialang.org/t/reading-from-socket-causes-massive-amounts-of-memory-allocation/133206)

<div class="topic-metadata">

**Author:** [@world-peace](https://discourse.julialang.org/u/world-peace)\
**Replies:** 12\
**Last updated:** [October 23, 2025, 9:23am UTC](https://discourse.julialang.org/t/reading-from-socket-causes-massive-amounts-of-memory-allocation/133206 "2025-10-23T09:23:21Z")

</div>

Reading from network sockets appears to cause massive amounts of memory allocation. Does anyone know why? Is this a bug? raw\_data = Vector{UInt8}(undef, message\_length) read!(socket, raw\_data) What I find strange is t…

---

## [Is it possible to add legends with Makie recepies?](https://discourse.julialang.org/t/is-it-possible-to-add-legends-with-makie-recepies/133375)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 1\
**Last updated:** [October 23, 2025, 8:51am UTC](https://discourse.julialang.org/t/is-it-possible-to-add-legends-with-makie-recepies/133375 "2025-10-23T08:51:42Z")

</div>

I have a Makie.@recipe for a custom type. When creating the plot, I also supply labels to the plot elements such as line!. However, when I call Legend on the axis where the plot is, Makie complaints that there are no lab…

---

## [Scoping rules try-catch inside a while loop](https://discourse.julialang.org/t/scoping-rules-try-catch-inside-a-while-loop/133360)

<div class="topic-metadata">

**Author:** [@Maucejo](https://discourse.julialang.org/u/Maucejo)\
**Replies:** 7\
**Last updated:** [October 23, 2025, 8:09am UTC](https://discourse.julialang.org/t/scoping-rules-try-catch-inside-a-while-loop/133360 "2025-10-23T08:09:31Z")

</div>

Hi all, I have a problem due to scoping rules of while loop and try-catch block. I have read similar topics on the forum, but the answers seems to be inapplicable in my case. My problem is the following. I have a funct…

---

## [Updating to 1.12.1 failure](https://discourse.julialang.org/t/updating-to-1-12-1-failure/133271)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 9\
**Last updated:** [October 23, 2025, 5:13am UTC](https://discourse.julialang.org/t/updating-to-1-12-1-failure/133271 "2025-10-23T05:13:03Z")

</div>

I’ve run into a strange failure when I tried to update to 1.12.1 I got the following spew of messages, which I don’t understand at all. My installation is down. Any suggestions welcome! rfritz@Lobo ~ % juliaup update C…

---

## [Efficiently Retrieving Variable Values after Gurobi optimization with JuMP](https://discourse.julialang.org/t/efficiently-retrieving-variable-values-after-gurobi-optimization-with-jump/127049)

<div class="topic-metadata">

**Author:** [@Mathis\_3](https://discourse.julialang.org/u/Mathis_3)\
**Replies:** 29\
**Last updated:** [October 23, 2025, 4:45am UTC](https://discourse.julialang.org/t/efficiently-retrieving-variable-values-after-gurobi-optimization-with-jump/127049 "2025-10-23T04:45:19Z")

</div>

Hello, I’m solving a large number of LPs using Gurobi with JuMP, and I noticed that most of the computation time is spent retrieving variable values rather than optimizing the model. Is there a more efficient way to ext…

---

## [Code coverage not tracking custom EnzymeRules.augmented\_primal and EnzymeRules.reverse implementations](https://discourse.julialang.org/t/code-coverage-not-tracking-custom-enzymerules-augmented-primal-and-enzymerules-reverse-implementations/133359)

<div class="topic-metadata">

**Author:** [@kongdd](https://discourse.julialang.org/u/kongdd)\
**Replies:** 2\
**Last updated:** [October 23, 2025, 3:08am UTC](https://discourse.julialang.org/t/code-coverage-not-tracking-custom-enzymerules-augmented-primal-and-enzymerules-reverse-implementations/133359 "2025-10-23T03:08:39Z")

</div>

I’m working on a package that implements custom autodiff rules for Enzyme. I’ve defined augmented\_primal and reverse methods for EnzymeRules. These functions are called indirectly through autodiff. When I run my te…

---

## [Help reformulating nonlinear problem](https://discourse.julialang.org/t/help-reformulating-nonlinear-problem/133292)

<div class="topic-metadata">

**Author:** [@chensunn](https://discourse.julialang.org/u/chensunn)\
**Replies:** 2\
**Last updated:** [October 22, 2025, 8:57pm UTC](https://discourse.julialang.org/t/help-reformulating-nonlinear-problem/133292 "2025-10-22T20:57:29Z")

</div>

I have a nonlinear problem that I wish to solve with Ipopt and derive gradients with DiffOpt.jl. Unfortunately, I’m running into problems with the gradients from DiffOpt. I suspect that I might be able to resolve those i…

---

## [Xranklin.jl compatibility with Julia 1.12](https://discourse.julialang.org/t/xranklin-jl-compatibility-with-julia-1-12/133364)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 3\
**Last updated:** [October 22, 2025, 7:38pm UTC](https://discourse.julialang.org/t/xranklin-jl-compatibility-with-julia-1-12/133364 "2025-10-22T19:38:25Z")

</div>

I’ve been using Xranklin.jl, the intended successor to Franklin.jl for building static sites. I know @tlienart has been busy / unable to devote much time to his open source development, but it’s been mostly working fine. …

---

## [Type-stable \`(...)\` tuples of types?](https://discourse.julialang.org/t/type-stable-tuples-of-types/133361)

<div class="topic-metadata">

**Author:** [@mlange-42](https://discourse.julialang.org/u/mlange-42)\
**Replies:** 3\
**Last updated:** [October 22, 2025, 6:58pm UTC](https://discourse.julialang.org/t/type-stable-tuples-of-types/133361 "2025-10-22T18:58:14Z")

</div>

Hi all! I have an ECS (entity component system) API and try to make type-stable use of tuples of types. Currently, I have it working well with VarArgs, for example: pos, vel = get\_components(world, entity, Position, Ve…

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

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