# Latest

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

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

**Page:** 95

---

## [CUDA in Julia 1.12 - problem with run time and instalation](https://discourse.julialang.org/t/cuda-in-julia-1-12-problem-with-run-time-and-instalation/133321)

<div class="topic-metadata">

**Author:** [@Lord\_Xaradar](https://discourse.julialang.org/u/Lord_Xaradar)\
**Replies:** 1\
**Last updated:** [October 21, 2025, 11:22am UTC](https://discourse.julialang.org/t/cuda-in-julia-1-12-problem-with-run-time-and-instalation/133321 "2025-10-21T11:22:42Z")

</div>

Yesterday i installad new version of Julia nad had to install packages once more and when i was instaling CUDA.jl i get warnings, when i call for CUDA in repl i get: ┌ Error: CUDA.jl could not find an appropriate CUDA r…

---

## [\[ANN\] Manifest2Nix.jl](https://discourse.julialang.org/t/ann-manifest2nix-jl/133315)

<div class="topic-metadata">

**Author:** [@Chrysoberyl](https://discourse.julialang.org/u/Chrysoberyl)\
**Replies:** 5\
**Last updated:** [October 21, 2025, 8:37am UTC](https://discourse.julialang.org/t/ann-manifest2nix-jl/133315 "2025-10-21T08:37:14Z")

</div>

I wrote a Nix library for creating reproducible environments in Julia called GitHub - lenianiva/Manifest2Nix.jl: (Mirror) A Nix library for creating reproducible Julia builds. (also hosted on Codeberg). For a simple exa…

---

## [A slightly more comprehensible \`Fix{N}\`](https://discourse.julialang.org/t/a-slightly-more-comprehensible-fix-n/133268)

<div class="topic-metadata">

**Author:** [@sgaure](https://discourse.julialang.org/u/sgaure)\
**Replies:** 14\
**Last updated:** [October 21, 2025, 8:28am UTC](https://discourse.julialang.org/t/a-slightly-more-comprehensible-fix-n/133268 "2025-10-21T08:28:31Z")

</div>

I had the pleasure to fix several variables with Base.Fix. Iterating with Fix{2}(Fix{5}(Fix{1}(...)))) isn’t very …er… ergonomic. I wrote a slightly different Fix which can take a tuple of positions as a parameter, so o…

---

## [Strange speed gain from eachindex and writing in a useless array?](https://discourse.julialang.org/t/strange-speed-gain-from-eachindex-and-writing-in-a-useless-array/132724)

<div class="topic-metadata">

**Author:** [@nicolas](https://discourse.julialang.org/u/nicolas)\
**Replies:** 13\
**Last updated:** [October 21, 2025, 7:53am UTC](https://discourse.julialang.org/t/strange-speed-gain-from-eachindex-and-writing-in-a-useless-array/132724 "2025-10-21T07:53:33Z")

</div>

This code doesn’t do anything useful, it is just intended as a MWE. my\_func! outputs the sum s in ≈ 120μs on my computer. Strangely, when I uncomment the lines adding to the array useless, it seems to do the same computa…

---

## [Rerelease of MTK driven PowerDynamics.jl](https://discourse.julialang.org/t/rerelease-of-mtk-driven-powerdynamics-jl/133323)

<div class="topic-metadata">

**Author:** [@hexaeder](https://discourse.julialang.org/u/hexaeder)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 7:49am UTC](https://discourse.julialang.org/t/rerelease-of-mtk-driven-powerdynamics-jl/133323 "2025-10-21T07:49:41Z")

</div>

Today I want to announce a major rerelease of PowerDynamics.jl! For the past 1½ years, we’ve been working on essentially rewriting the entire library, with a main focus on MTK-based modeling and tight integration with…

---

## [CMake configuration for working with juliac-compiled libraries](https://discourse.julialang.org/t/cmake-configuration-for-working-with-juliac-compiled-libraries/133320)

<div class="topic-metadata">

**Author:** [@xlxs4](https://discourse.julialang.org/u/xlxs4)\
**Replies:** 0\
**Last updated:** [October 21, 2025, 7:17am UTC](https://discourse.julialang.org/t/cmake-configuration-for-working-with-juliac-compiled-libraries/133320 "2025-10-21T07:17:06Z")

</div>

Yesterday I gave juliac a spin to compile Julia code to a library I can then use from other languages that are C ABI compatible. I wanted to share what I ended up with. The project structure is very simple. I keep all o…

---

## [What do generated functions actually disallow?](https://discourse.julialang.org/t/what-do-generated-functions-actually-disallow/133294)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 5\
**Last updated:** [October 21, 2025, 6:46am UTC](https://discourse.julialang.org/t/what-do-generated-functions-actually-disallow/133294 "2025-10-21T06:46:12Z")

</div>

The Manual states the following restrictions: Generated functions are only permitted to call functions that were defined before the definition of the generated function. (Failure to follow this may result in getting M…

---

## [PR and running Julia test](https://discourse.julialang.org/t/pr-and-running-julia-test/129931)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 5\
**Last updated:** [October 21, 2025, 2:05am UTC](https://discourse.julialang.org/t/pr-and-running-julia-test/129931 "2025-10-21T02:05:47Z")

</div>

Hi, I am able to build Julia locally on my computer and I would eventually like to submit a PR to Julia. But before doing so I would like to add tests and make sure that these tests work. Can someone let me know how d…

---

## [MethodofLines - Staggered Grids - MethodError by function discretize()](https://discourse.julialang.org/t/methodoflines-staggered-grids-methoderror-by-function-discretize/133312)

<div class="topic-metadata">

**Author:** [@ziolai](https://discourse.julialang.org/u/ziolai)\
**Replies:** 0\
**Last updated:** [October 20, 2025, 4:57pm UTC](https://discourse.julialang.org/t/methodoflines-staggered-grids-methoderror-by-function-discretize/133312 "2025-10-20T16:57:20Z")

</div>

Greetings, The tutorial example on staggered grids at staggered results in the method error MethodError: no method matching view(::Nothing, ::UnitRange{Int64}) The function \`view\` exists, but no method is defined for t…

---

## [Seven Lines of Julia (examples sought)](https://discourse.julialang.org/t/seven-lines-of-julia-examples-sought/50416)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 184\
**Last updated:** [October 20, 2025, 3:57pm UTC](https://discourse.julialang.org/t/seven-lines-of-julia-examples-sought/50416 "2025-10-20T15:57:51Z")

</div>

I am looking for examples: show me some real computational power in seven or fewer lines of Julia that read clearly. It is ok to be using other packages, though no more than four (and it is ok to use fewer). Each examp…

---

## [Julia install issue (foreign name)](https://discourse.julialang.org/t/julia-install-issue-foreign-name/114522)

<div class="topic-metadata">

**Author:** [@Sihyun\_Kim](https://discourse.julialang.org/u/Sihyun_Kim)\
**Replies:** 16\
**Last updated:** [October 20, 2025, 2:31pm UTC](https://discourse.julialang.org/t/julia-install-issue-foreign-name/114522 "2025-10-20T14:31:28Z")

</div>

I installed Julia, and am trying to execute it by typing julia in Windows PowerShell. Then, the terminal shows PS C:\\Users\\김시현\> julia ERROR: could not load library "C:\\Users\\김?�현\\.julia\\juliaup\\julia-1.10.3+0.x64.w64.mi…

---

## [\`waitall(tasks)\` doesn't throw as \`foreach(wait, tasks)\` does](https://discourse.julialang.org/t/waitall-tasks-doesnt-throw-as-foreach-wait-tasks-does/133260)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 4\
**Last updated:** [October 20, 2025, 1:42pm UTC](https://discourse.julialang.org/t/waitall-tasks-doesnt-throw-as-foreach-wait-tasks-does/133260 "2025-10-20T13:42:03Z")

</div>

I have a tasks which is a vector of Tasks. If I use foreach(wait, tasks), then it will throw like this (which is expected behavior) julia\> fill\_model\_D\_X!(inn, X) rest = 1, j = 40304412 Warning: 1.760797410756771e9 te…

---

## [Tags system for General registry ("Quality badges")](https://discourse.julialang.org/t/tags-system-for-general-registry-quality-badges/133283)

<div class="topic-metadata">

**Author:** [@Eben60](https://discourse.julialang.org/u/Eben60)\
**Replies:** 3\
**Last updated:** [October 20, 2025, 12:33pm UTC](https://discourse.julialang.org/t/tags-system-for-general-registry-quality-badges/133283 "2025-10-20T12:33:50Z")

</div>

This is a continuation of Should General have a guideline or rule preventing registration of vibe-coded packages? , as suggested there in the post #68 by ericphanson. There appears to be consensus that the registration …

---

## [Type instability with (fairly) simple Tuples](https://discourse.julialang.org/t/type-instability-with-fairly-simple-tuples/133304)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 7\
**Last updated:** [October 20, 2025, 12:25pm UTC](https://discourse.julialang.org/t/type-instability-with-fairly-simple-tuples/133304 "2025-10-20T12:25:03Z")

</div>

Should I expect the following to be type-stable? I think the types are inferrable in principle, but maybe the Tuple-of-Pairs structure is just too ‘complicated’? julia\> using Cthulhu julia\> function foo(t::Pair{Symbol,…

---

## [Sun's trajectory around earth](https://discourse.julialang.org/t/suns-trajectory-around-earth/81485)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 19\
**Last updated:** [October 20, 2025, 10:52am UTC](https://discourse.julialang.org/t/suns-trajectory-around-earth/81485 "2025-10-20T10:52:07Z")

</div>

Hi All, My father (82) has decided to put a photovoltaic panels to his flat roof. And since he is a die hard engineer and wants to optimizing everything, he decided that he will allow to change angle of panels, but only…

---

## [MbedTLS error on WSL](https://discourse.julialang.org/t/mbedtls-error-on-wsl/133173)

<div class="topic-metadata">

**Author:** [@sschmidhuber](https://discourse.julialang.org/u/sschmidhuber)\
**Replies:** 3\
**Last updated:** [October 20, 2025, 10:41am UTC](https://discourse.julialang.org/t/mbedtls-error-on-wsl/133173 "2025-10-20T10:41:48Z")

</div>

Hello, I run Julia on Win 11 within WSL2 (Debian), in general without issues so far. But recently I encountered the following issue with MbedTLS, when I attempt to create a SSLConfig. MWE # installing MbedTLS in a cle…

---

## [Using \`...\` syntax and \`--trim\`](https://discourse.julialang.org/t/using-syntax-and-trim/133201)

<div class="topic-metadata">

**Author:** [@apozharski](https://discourse.julialang.org/u/apozharski)\
**Replies:** 4\
**Last updated:** [October 20, 2025, 10:20am UTC](https://discourse.julialang.org/t/using-syntax-and-trim/133201 "2025-10-20T10:20:04Z")

</div>

Hello, I am working on a package for building c interfaces for an NLP solver packages and have run into something of an impasse regarding the --trim functionality and calling functions with keyword arguments which need …

---

## [Standard/common/popular command-line arg parser?](https://discourse.julialang.org/t/standard-common-popular-command-line-arg-parser/133038)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [October 20, 2025, 10:09am UTC](https://discourse.julialang.org/t/standard-common-popular-command-line-arg-parser/133038 "2025-10-20T10:09:24Z")

</div>

I used ArgMacros.jl for one of my Julia scripts. But it’s been broken with Julia 1.12.0. The initial bug report was 3 weeks ago (for the pre-release version of 1.12.0). I’m not complaining at all. I just wonder whether …

---

## [Dynamic Type in CxxWrap.jl](https://discourse.julialang.org/t/dynamic-type-in-cxxwrap-jl/133007)

<div class="topic-metadata">

**Author:** [@phK3](https://discourse.julialang.org/u/phK3)\
**Replies:** 1\
**Last updated:** [October 20, 2025, 9:56am UTC](https://discourse.julialang.org/t/dynamic-type-in-cxxwrap-jl/133007 "2025-10-20T09:56:31Z")

</div>

I want to use CxxWrap.jl to create a Julia wrapper for a C++ library. On the Julia side, I want to dispatch on the type of my arguments. But when using CxxWrap, the Julia side only seems to know about the static return…

---

## [Performance drop x10 if \`missing\` used or two values returned from function](https://discourse.julialang.org/t/performance-drop-x10-if-missing-used-or-two-values-returned-from-function/133200)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 13\
**Last updated:** [October 20, 2025, 5:08am UTC](https://discourse.julialang.org/t/performance-drop-x10-if-missing-used-or-two-values-returned-from-function/133200 "2025-10-20T05:08:49Z")

</div>

Hi, while doning GARCH fitting I discovered strange performance drop: Case 1 Returning two values instead of one is x10 times slower 1.5ms vs 23μs. See place marked with CHANGE1. Is that a known issue and should not be …

---

## [How can I stop a Gurobi solve in JuMP in real time (like Ctrl+C) and still keep the solution?](https://discourse.julialang.org/t/how-can-i-stop-a-gurobi-solve-in-jump-in-real-time-like-ctrl-c-and-still-keep-the-solution/132841)

<div class="topic-metadata">

**Author:** [@amit\_97](https://discourse.julialang.org/u/amit_97)\
**Replies:** 11\
**Last updated:** [October 20, 2025, 1:47am UTC](https://discourse.julialang.org/t/how-can-i-stop-a-gurobi-solve-in-jump-in-real-time-like-ctrl-c-and-still-keep-the-solution/132841 "2025-10-20T01:47:50Z")

</div>

I am using JuMP with Gurobi.jl to solve a MIP. In Julia, pressing Ctrl+C usually kills the entire Julia process instead of just stopping Gurobi. My goal is: Stop the optimization at any arbitrary time (not using MIPG…

---

## [Policy to replace registered packages by major version updates](https://discourse.julialang.org/t/policy-to-replace-registered-packages-by-major-version-updates/133289)

<div class="topic-metadata">

**Author:** [@heliosdrm](https://discourse.julialang.org/u/heliosdrm)\
**Replies:** 1\
**Last updated:** [October 19, 2025, 9:50pm UTC](https://discourse.julialang.org/t/policy-to-replace-registered-packages-by-major-version-updates/133289 "2025-10-19T21:50:35Z")

</div>

The recent discussion on Should General have a guideline or rule preventing registration of vibe-coded packages? raised again the problem of the General registry being polluted with “trash packages”, which is a problem b…

---

## [How to set up a monorepo with multiple Julia packages and GitHub Actions?](https://discourse.julialang.org/t/how-to-set-up-a-monorepo-with-multiple-julia-packages-and-github-actions/133044)

<div class="topic-metadata">

**Author:** [@stevenhughes](https://discourse.julialang.org/u/stevenhughes)\
**Replies:** 6\
**Last updated:** [October 19, 2025, 7:40pm UTC](https://discourse.julialang.org/t/how-to-set-up-a-monorepo-with-multiple-julia-packages-and-github-actions/133044 "2025-10-19T19:40:52Z")

</div>

Hey everyone, I could use some guidance from folks who’ve gone through this before. I’ve been developing locally with a setup that has about ten Julia modules in a single repo. Each module is in its own sub-directory …

---

## [Change \`ScopedValue\` default outside of \`with\`](https://discourse.julialang.org/t/change-scopedvalue-default-outside-of-with/130631)

<div class="topic-metadata">

**Author:** [@disberd](https://discourse.julialang.org/u/disberd)\
**Replies:** 6\
**Last updated:** [October 19, 2025, 7:19pm UTC](https://discourse.julialang.org/t/change-scopedvalue-default-outside-of-with/130631 "2025-10-19T19:19:49Z")

</div>

Hi All, I like the recently introduced ScopedValue type, but found myself wanting to be able to change it’s default value persistently outside of ScopedValues.with calls. An example for this is that in GitHub - JuliaPl…

---

## [Computing Steady State With Known Constraints](https://discourse.julialang.org/t/computing-steady-state-with-known-constraints/132489)

<div class="topic-metadata">

**Author:** [@Aviv\_Barnea](https://discourse.julialang.org/u/Aviv_Barnea)\
**Replies:** 5\
**Last updated:** [October 19, 2025, 6:51pm UTC](https://discourse.julialang.org/t/computing-steady-state-with-known-constraints/132489 "2025-10-19T18:51:10Z")

</div>

Hi, new to ModelingToolkit.jl, and trying to port some models in Nuclear Reactor computations. So here’s the simplest model (point reactor) I wrote: using ModelingToolkit, Plots, OrdinaryDiffEq using ModelingToolkit: t\_…

---

## [Julia 1.13 feature freeze: Monday, October 27, 2025](https://discourse.julialang.org/t/julia-1-13-feature-freeze-monday-october-27-2025/133087)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 2\
**Last updated:** [October 19, 2025, 6:20pm UTC](https://discourse.julialang.org/t/julia-1-13-feature-freeze-monday-october-27-2025/133087 "2025-10-19T18:20:10Z")

</div>

We have set the feature freeze for Julia 1.13 to Monday, October 27, 2025. If there are any feature PRs that you’d like to get into Julia 1.13, they’ll need to be merged prior to that date. For context, the Julia 1.12…

---

## [How do ScopedValues actually work?](https://discourse.julialang.org/t/how-do-scopedvalues-actually-work/133270)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 3\
**Last updated:** [October 19, 2025, 6:00pm UTC](https://discourse.julialang.org/t/how-do-scopedvalues-actually-work/133270 "2025-10-19T18:00:47Z")

</div>

I understand that a ScopedValue is a key into Scope (a wrapper for a PersistentDict) that is accessible by Core.current\_scope(). I understand that @with creates a new Scope with the specified value. What I don’t unders…

---

## [Links to online help in command line help?](https://discourse.julialang.org/t/links-to-online-help-in-command-line-help/133281)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 8\
**Last updated:** [October 19, 2025, 5:24pm UTC](https://discourse.julialang.org/t/links-to-online-help-in-command-line-help/133281 "2025-10-19T17:24:02Z")

</div>

Sometimes, the doc strings are too short: help?\> import search: import export import\_log isqrt ispow2 isperm insorted Cshort sort hypot import import Foo will load the module or package Foo. Names from the importe…

---

## [\[ANN\] Announcing ImageClipboard.jl](https://discourse.julialang.org/t/ann-announcing-imageclipboard-jl/63169)

<div class="topic-metadata">

**Author:** [@hyrodium](https://discourse.julialang.org/u/hyrodium)\
**Replies:** 4\
**Last updated:** [October 19, 2025, 4:28pm UTC](https://discourse.julialang.org/t/ann-announcing-imageclipboard-jl/63169 "2025-10-19T16:28:08Z")

</div>

Hi all, I’m pleased to announce that I’ve registered ImageClipboard.jl, a package that can handle images on the system clipboard. The followings are sample scripts and screenshots from the README. using Images, ImageC…

---

## [Constraints in the Genetic Algorithm implemented in \`Metaheuristics.jl\`](https://discourse.julialang.org/t/constraints-in-the-genetic-algorithm-implemented-in-metaheuristics-jl/123628)

<div class="topic-metadata">

**Author:** [@AkchurinDA](https://discourse.julialang.org/u/AkchurinDA)\
**Replies:** 7\
**Last updated:** [October 19, 2025, 12:48pm UTC](https://discourse.julialang.org/t/constraints-in-the-genetic-algorithm-implemented-in-metaheuristics-jl/123628 "2025-10-19T12:48:51Z")

</div>

Opening a fresh thread based on the recommendation from @pierre-haessig. My original question was: How does the Genetic Algorithm implemented in Metaheuristics.jl “penalize” the objective function for not satisfying th…

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

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