# Latest

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

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

**Page:** 120

---

## [Reading input parameters from a text file](https://discourse.julialang.org/t/reading-input-parameters-from-a-text-file/131737)

<div class="topic-metadata">

**Author:** [@prconlin](https://discourse.julialang.org/u/prconlin)\
**Replies:** 19\
**Last updated:** [August 21, 2025, 12:04pm UTC](https://discourse.julialang.org/t/reading-input-parameters-from-a-text-file/131737 "2025-08-21T12:04:33Z")

</div>

Hello, I’m writing a simple simulation program, and I want the input parameters to be read from a text file at runtime. My strategy is to read all of the parameters into a dictionary, which works, but feels very clumsy…

---

## [When does it make sense to use \`Base.MultiplicativeInverses\`](https://discourse.julialang.org/t/when-does-it-make-sense-to-use-base-multiplicativeinverses/131711)

<div class="topic-metadata">

**Author:** [@kunzaatko](https://discourse.julialang.org/u/kunzaatko)\
**Replies:** 6\
**Last updated:** [August 19, 2025, 4:18pm UTC](https://discourse.julialang.org/t/when-does-it-make-sense-to-use-base-multiplicativeinverses/131711 "2025-08-19T16:18:05Z")

</div>

When does it make sense to use the Base.MultiplicativeInverses? I am considering storing the MultiplicativeInverse in my AbstractArray subtype which uses some index calculations based on some fields and the parent array.…

---

## [Intermittent Segfault](https://discourse.julialang.org/t/intermittent-segfault/131694)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 2\
**Last updated:** [August 21, 2025, 12:57am UTC](https://discourse.julialang.org/t/intermittent-segfault/131694 "2025-08-21T00:57:42Z")

</div>

Hello, I have recently started experiencing an intermittent segfault when using Julia with the vscode extension. I’ve been developing with this setup for well over a year and never experienced this before. I don’t even …

---

## [\[ANN\] OneTimePasswords.jl](https://discourse.julialang.org/t/ann-onetimepasswords-jl/131679)

<div class="topic-metadata">

**Author:** [@andreeco](https://discourse.julialang.org/u/andreeco)\
**Replies:** 0\
**Last updated:** [August 18, 2025, 2:14pm UTC](https://discourse.julialang.org/t/ann-onetimepasswords-jl/131679 "2025-08-18T14:14:19Z")

</div>

I’m happy to share OneTimePasswords.jl, a Julia package providing implementations for HOTP, TOTP, and OCRA. The package includes: • Generation and verification of HOTP, TOTP, and OCRA codes. • Flexible time windows and…

---

## [Macros to fill keyword arguments](https://discourse.julialang.org/t/macros-to-fill-keyword-arguments/25454)

<div class="topic-metadata">

**Author:** [@dstarerstor](https://discourse.julialang.org/u/dstarerstor)\
**Replies:** 6\
**Last updated:** [August 20, 2025, 4:40pm UTC](https://discourse.julialang.org/t/macros-to-fill-keyword-arguments/25454 "2025-08-20T16:40:10Z")

</div>

Hi everyone, I’m having a difficult time understanding how to properly use macros. I’m trying to make a macro @passkwargs that will turn foo(; @passkwargs(x,y)) into foo(; x=x, y=y) I’m just starting to work with ma…

---

## [What is the correct way to use multiple GPUs in Slurm cluster?](https://discourse.julialang.org/t/what-is-the-correct-way-to-use-multiple-gpus-in-slurm-cluster/131740)

<div class="topic-metadata">

**Author:** [@ytdHuang](https://discourse.julialang.org/u/ytdHuang)\
**Replies:** 0\
**Last updated:** [August 20, 2025, 3:52pm UTC](https://discourse.julialang.org/t/what-is-the-correct-way-to-use-multiple-gpus-in-slurm-cluster/131740 "2025-08-20T15:52:11Z")

</div>

Hello Julia community, I am trying to distribute my computation using multiple GPUs in Slurm cluster. The code can be executed correctly while I’m using single GPU board in Slurm. However, when I try to use more than on…

---

## [Resetting threads with \`:static\` scheduling](https://discourse.julialang.org/t/resetting-threads-with-static-scheduling/131738)

<div class="topic-metadata">

**Author:** [@jlchan](https://discourse.julialang.org/u/jlchan)\
**Replies:** 0\
**Last updated:** [August 20, 2025, 3:15pm UTC](https://discourse.julialang.org/t/resetting-threads-with-static-scheduling/131738 "2025-08-20T15:15:56Z")

</div>

When I ctrl-c a threaded loop with :static scheduling, I cannot re-run that threaded loop until I restart the REPL. If I try to re-run a threaded loop after breaking, I get the error message ERROR: @threads :static can…

---

## [Hash collision with small vectors](https://discourse.julialang.org/t/hash-collision-with-small-vectors/131702)

<div class="topic-metadata">

**Author:** [@mxhbl](https://discourse.julialang.org/u/mxhbl)\
**Replies:** 16\
**Last updated:** [August 20, 2025, 2:33pm UTC](https://discourse.julialang.org/t/hash-collision-with-small-vectors/131702 "2025-08-20T14:33:00Z")

</div>

Hi everyone, I recently ran into a hash collision with very small vectors (I’m on Julia 11.2): julia\> a = \[0x0000000000000080, 0x0000000000100000, 0x0000000000000400, 0x0000000000000100\] 4-element Vector{UInt64}: 0x00…

---

## [Stereonet diagram](https://discourse.julialang.org/t/stereonet-diagram/73121)

<div class="topic-metadata">

**Author:** [@Gravlax](https://discourse.julialang.org/u/Gravlax)\
**Replies:** 13\
**Last updated:** [August 20, 2025, 12:49pm UTC](https://discourse.julialang.org/t/stereonet-diagram/73121 "2025-08-20T12:49:14Z")

</div>

Dear all, I was wondering if any of you have came across a package that could be use for making stereonets (stereographic projections on a Wulff/Schmidt nets), e.g.: I’ve not found any examples of such diagram constr…

---

## [One thread concurrency: realized in REPL, but failed in a function](https://discourse.julialang.org/t/one-thread-concurrency-realized-in-repl-but-failed-in-a-function/131621)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 17\
**Last updated:** [August 20, 2025, 12:20pm UTC](https://discourse.julialang.org/t/one-thread-concurrency-realized-in-repl-but-failed-in-a-function/131621 "2025-08-20T12:20:35Z")

</div>

I did a test on the concurrency using @spawn, and find what the title suggests. I don’t know where is the twist. Here are my code import Base.Threads.@spawn Threads.nthreads() # use only one thread in this test s(x) = …

---

## [WSL or Linux for Julia and beyond](https://discourse.julialang.org/t/wsl-or-linux-for-julia-and-beyond/131572)

<div class="topic-metadata">

**Author:** [@NoFishLikeIan](https://discourse.julialang.org/u/NoFishLikeIan)\
**Replies:** 16\
**Last updated:** [August 16, 2025, 4:06pm UTC](https://discourse.julialang.org/t/wsl-or-linux-for-julia-and-beyond/131572 "2025-08-16T16:06:50Z")

</div>

Due to circumstances outside of my control, I will have to give up my Macbook pro and move to a 5 year old Lenovo thinkpad very soon. I am now considering whether to use Windows + WSL or to directly install a Linux distr…

---

## [Need perf help on paralel var](https://discourse.julialang.org/t/need-perf-help-on-paralel-var/131716)

<div class="topic-metadata">

**Author:** [@yolhan\_mannes](https://discourse.julialang.org/u/yolhan_mannes)\
**Replies:** 4\
**Last updated:** [August 19, 2025, 9:36pm UTC](https://discourse.julialang.org/t/need-perf-help-on-paralel-var/131716 "2025-08-19T21:36:39Z")

</div>

Hello, I’m trying to add Statistics to AcceleratedKernels.jl in Add Statistics in KA, (only mean and var implemented) by yolhan83 · Pull Request #64 · JuliaGPU/AcceleratedKernels.jl · GitHub, GPU results seems nice but b…

---

## [Version \`CXXABI\_1.3.15' not found when loading matplotlib through PythonCall](https://discourse.julialang.org/t/version-cxxabi-1-3-15-not-found-when-loading-matplotlib-through-pythoncall/131671)

<div class="topic-metadata">

**Author:** [@zhzhang](https://discourse.julialang.org/u/zhzhang)\
**Replies:** 23\
**Last updated:** [August 19, 2025, 9:26pm UTC](https://discourse.julialang.org/t/version-cxxabi-1-3-15-not-found-when-loading-matplotlib-through-pythoncall/131671 "2025-08-19T21:26:09Z")

</div>

Hi folks, I want to call some functions from the Python package matplotlib in Julia through PythonCall.jl. However, it prompts version 'CXXABI\_1.3.15' not found. Here is the error message: julia\> using PythonCall juli…

---

## [Abusing \`convert\` as an alternative to \`Union{Nothing, Int64}\`](https://discourse.julialang.org/t/abusing-convert-as-an-alternative-to-union-nothing-int64/131534)

<div class="topic-metadata">

**Author:** [@nhz2](https://discourse.julialang.org/u/nhz2)\
**Replies:** 15\
**Last updated:** [August 19, 2025, 8:14pm UTC](https://discourse.julialang.org/t/abusing-convert-as-an-alternative-to-union-nothing-int64/131534 "2025-08-19T20:14:52Z")

</div>

In C it is common to have functions that return a positive integer result on success, or a negative integer if an error happens. When I use these functions, I tend to forget the possible error values and do integer arith…

---

## [Include c files while building Julia](https://discourse.julialang.org/t/include-c-files-while-building-julia/131717)

<div class="topic-metadata">

**Author:** [@gitboy16](https://discourse.julialang.org/u/gitboy16)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 7:54pm UTC](https://discourse.julialang.org/t/include-c-files-while-building-julia/131717 "2025-08-19T19:54:27Z")

</div>

Hi, I know that it is possible to include some custom julia code in userimg.jl while building Julia. I was wondering if it is possible to also include C code that gets automatically compiled during the build process of…

---

## ["Circular dependency detected" preventing precompile](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 3\
**Last updated:** [August 19, 2025, 6:22pm UTC](https://discourse.julialang.org/t/circular-dependency-detected-preventing-precompile/131715 "2025-08-19T18:22:42Z")

</div>

julia\> using GLMakie ┌ Warning: Circular dependency detected. │ Precompilation will be skipped for dependencies in this cycle: │ ┌ FilePathsBase → FilePathsBaseMmapExt │ └─ FilePathsBase → FilePathsBaseTestExt │ Precom…

---

## [Confused by "Type"](https://discourse.julialang.org/t/confused-by-type/131714)

<div class="topic-metadata">

**Author:** [@alan](https://discourse.julialang.org/u/alan)\
**Replies:** 4\
**Last updated:** [August 19, 2025, 5:34pm UTC](https://discourse.julialang.org/t/confused-by-type/131714 "2025-08-19T17:34:28Z")

</div>

I’m confused by this snippet from https://docs.julialang.org/en/v1/manual/interfaces/#man-interface-array: julia\> struct SquaresVector \<: AbstractArray{Int, 1} count::Int end julia\> Base.IndexStyle(::…

---

## [Viz!( ) Color mapping on many grids](https://discourse.julialang.org/t/viz-color-mapping-on-many-grids/131423)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 4\
**Last updated:** [August 11, 2025, 11:28pm UTC](https://discourse.julialang.org/t/viz-color-mapping-on-many-grids/131423 "2025-08-11T23:28:04Z")

</div>

I am using Meshes.jl to create a polar coordinate grid. I have different grids with different r, ϕ and nrho values. I see that there color mapping is done for each grid individually. There is repetition of colors for eve…

---

## [Regular println vs Core.stdout](https://discourse.julialang.org/t/regular-println-vs-core-stdout/131685)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 10\
**Last updated:** [August 19, 2025, 12:38pm UTC](https://discourse.julialang.org/t/regular-println-vs-core-stdout/131685 "2025-08-19T12:38:39Z")

</div>

@time println(Core.stdout, "Hello") Hello 0.000027 seconds julia\> @time println("Hello") Hello 0.000074 seconds julia\> @time print(Core.stdout, "Hello") Hello 0.000020 seconds Why is it 3 times faster \[see my fol…

---

## [\[ANN\] ProtoBuf.jl 1.0.0](https://discourse.julialang.org/t/ann-protobuf-jl-1-0-0/85885)

<div class="topic-metadata">

**Author:** [@drvi](https://discourse.julialang.org/u/drvi)\
**Replies:** 19\
**Last updated:** [August 19, 2025, 1:08pm UTC](https://discourse.julialang.org/t/ann-protobuf-jl-1-0-0/85885 "2025-08-19T13:08:58Z")

</div>

ProtoBuf.jl 1.0.0 At RelationalAI, we created a new Julia package for working with the Protocol Buffers format and I’m happy to announce that this complete rewrite will soon be registered as a (very) breaking version of …

---

## [DistributedNext FYI](https://discourse.julialang.org/t/distributednext-fyi/131706)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 11:16am UTC](https://discourse.julialang.org/t/distributednext-fyi/131706 "2025-08-19T11:16:56Z")

</div>

Continuing the discussion from I want Best Practices for Working With Python & Julia Together: Yes, new to me, note “Bleeding-edge fork of Distributed.jl” and “This is a soft fork of Distributed.jl for the purposes of …

---

## [Julia Greece goes to PyCon Greece 2025](https://discourse.julialang.org/t/julia-greece-goes-to-pycon-greece-2025/128757)

<div class="topic-metadata">

**Author:** [@xlxs4](https://discourse.julialang.org/u/xlxs4)\
**Replies:** 7\
**Last updated:** [August 19, 2025, 11:46am UTC](https://discourse.julialang.org/t/julia-greece-goes-to-pycon-greece-2025/128757 "2025-08-19T11:46:11Z")

</div>

Julia at PyCon Greece 2025 - Opportunity to Showcase Our Language We’re excited to share that 2025 will mark the inaugural PyCon Greece conference. The organizing team has done exceptional work establishing this event, i…

---

## [Using particle filter to estimate the state through the observations of another parameter that depends on state](https://discourse.julialang.org/t/using-particle-filter-to-estimate-the-state-through-the-observations-of-another-parameter-that-depends-on-state/131690)

<div class="topic-metadata">

**Author:** [@Tanya123](https://discourse.julialang.org/u/Tanya123)\
**Replies:** 1\
**Last updated:** [August 19, 2025, 11:42am UTC](https://discourse.julialang.org/t/using-particle-filter-to-estimate-the-state-through-the-observations-of-another-parameter-that-depends-on-state/131690 "2025-08-19T11:42:20Z")

</div>

My goal is to estimate the basal friction field (β) of a glacier using surface velocity observations. Direct observations of β are unavailable, but velocity measurements at the surface are accessible via sensors. The cu…

---

## [Function signature with vector types](https://discourse.julialang.org/t/function-signature-with-vector-types/131704)

<div class="topic-metadata">

**Author:** [@Mastomaki](https://discourse.julialang.org/u/Mastomaki)\
**Replies:** 1\
**Last updated:** [August 19, 2025, 11:18am UTC](https://discourse.julialang.org/t/function-signature-with-vector-types/131704 "2025-08-19T11:18:18Z")

</div>

Suppose I have a function which plots timeseries stored in TSFrames.jl TSFrames. plot\_multirowts(x::Vector{TSFrame}}, seriesnames::Vector{String}) Sometimes, such as when subsetting dataframes, my data will have type V…

---

## [ODE solver takes 10x more steps without tstops](https://discourse.julialang.org/t/ode-solver-takes-10x-more-steps-without-tstops/131682)

<div class="topic-metadata">

**Author:** [@mleseach](https://discourse.julialang.org/u/mleseach)\
**Replies:** 2\
**Last updated:** [August 19, 2025, 10:28am UTC](https://discourse.julialang.org/t/ode-solver-takes-10x-more-steps-without-tstops/131682 "2025-08-19T10:28:21Z")

</div>

Hi everyone, I’m experiencing what seems like counterintuitive performance behavior with RDPK3Sp35() and I’m wondering if this is expected or worth investigating as a potential bug. I’m solving the same ODE with RDPK3…

---

## [Trying to parallelize using CUSOLVERRF.jl with @threads](https://discourse.julialang.org/t/trying-to-parallelize-using-cusolverrf-jl-with-threads/131457)

<div class="topic-metadata">

**Author:** [@mhunke](https://discourse.julialang.org/u/mhunke)\
**Replies:** 7\
**Last updated:** [August 19, 2025, 9:09am UTC](https://discourse.julialang.org/t/trying-to-parallelize-using-cusolverrf-jl-with-threads/131457 "2025-08-19T09:09:29Z")

</div>

Hi everyone, I’m working with CUSOLVERRF.jl to solve multiple sparse linear systems on the GPU, using the high-level RFLU API: GitHub - exanauts/CUSOLVERRF.jl: A Julia wrapper for cusolverRF All systems share the same …

---

## [Time-Axis Linked Bar Plot with Gaps](https://discourse.julialang.org/t/time-axis-linked-bar-plot-with-gaps/131632)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 6\
**Last updated:** [August 18, 2025, 4:12pm UTC](https://discourse.julialang.org/t/time-axis-linked-bar-plot-with-gaps/131632 "2025-08-18T16:12:41Z")

</div>

I am trying to replicate a plot from timewarrior that looks something like this: Basically, you have date on the y-axis and blocks of time on the x-axis from 0 - 23 representing 24 hours in a day. I don’t care about …

---

## [\[ANN\] RealtimeMusicTheory.jl](https://discourse.julialang.org/t/ann-realtimemusictheory-jl/131695)

<div class="topic-metadata">

**Author:** [@myersm0](https://discourse.julialang.org/u/myersm0)\
**Replies:** 1\
**Last updated:** [August 19, 2025, 8:01am UTC](https://discourse.julialang.org/t/ann-realtimemusictheory-jl/131695 "2025-08-19T08:01:25Z")

</div>

I’m happy to announce a new package I’ve made, RealtimeMusicTheory. Initially, my main goal was to take the package MusicTheory.jl by @dpsanders and see what I could do in the way of refactoring it for performance, in o…

---

## [How to restore Preview Editor original size in VS Code after maximising it?](https://discourse.julialang.org/t/how-to-restore-preview-editor-original-size-in-vs-code-after-maximising-it/131698)

<div class="topic-metadata">

**Author:** [@Alex1](https://discourse.julialang.org/u/Alex1)\
**Replies:** 0\
**Last updated:** [August 19, 2025, 7:35am UTC](https://discourse.julialang.org/t/how-to-restore-preview-editor-original-size-in-vs-code-after-maximising-it/131698 "2025-08-19T07:35:36Z")

</div>

The Preview Editor in VS Code used to display plot. It’s possible to double click on its title and it will be maximised to see plot better. But when it double clicking again to exit max mode and put it back to original…

---

## [NonlinearSolve.jl: Possible to store solution in-place of initial guess?](https://discourse.julialang.org/t/nonlinearsolve-jl-possible-to-store-solution-in-place-of-initial-guess/131208)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 16\
**Last updated:** [August 19, 2025, 7:23am UTC](https://discourse.julialang.org/t/nonlinearsolve-jl-possible-to-store-solution-in-place-of-initial-guess/131208 "2025-08-19T07:23:49Z")

</div>

The standard workfllow to access the solution of a nonlinear\_eq = NonlinearProblem is something like sol = SciMLBase.solve(nonlinear\_eq, NewtonRaphson(autodiff = AutoFiniteDiff())); Is it possible to suppress the build…

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

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