# Latest

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

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

**Page:** 154

---

## [Why are names not allowed for upper/lower bound constraints?](https://discourse.julialang.org/t/why-are-names-not-allowed-for-upper-lower-bound-constraints/129727)

<div class="topic-metadata">

**Author:** [@klamike](https://discourse.julialang.org/u/klamike)\
**Replies:** 3\
**Last updated:** [June 8, 2025, 9:36pm UTC](https://discourse.julialang.org/t/why-are-names-not-allowed-for-upper-lower-bound-constraints/129727 "2025-06-08T21:36:42Z")

</div>

I saw Implement names for constrained variables · Issue #193 · jump-dev/Dualization.jl · GitHub was recently opened based on another post Can't get the example dualization to work. What is the reasoning behind not allow…

---

## [AMDGPU on AI HX370 versioninfo() crashes](https://discourse.julialang.org/t/amdgpu-on-ai-hx370-versioninfo-crashes/129733)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 4\
**Last updated:** [June 8, 2025, 5:12pm UTC](https://discourse.julialang.org/t/amdgpu-on-ai-hx370-versioninfo-crashes/129733 "2025-06-08T17:12:12Z")

</div>

I try to use my Asus-Vivobook S16 which has an AMD AI HX370 CPU/GPU (gfx1150) . I installed ROCM under Ubuntu 24.04 davidj@vivoai:~$ rocminfo ROCk module version 6.12.12 is loaded ========== HSA Agents …

---

## [How do you like to save your data and how much customizability do you like/need?](https://discourse.julialang.org/t/how-do-you-like-to-save-your-data-and-how-much-customizability-do-you-like-need/129707)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 5\
**Last updated:** [June 8, 2025, 2:39pm UTC](https://discourse.julialang.org/t/how-do-you-like-to-save-your-data-and-how-much-customizability-do-you-like-need/129707 "2025-06-08T14:39:01Z")

</div>

I’m making an application that controls a spectrometer (among other things). The program is likely to be saving dozens if not hundreds of spectra, each being about 0.5MB. There’s also some positional metadata that comes…

---

## [Release Please: a tool for multi-package multi-language releases](https://discourse.julialang.org/t/release-please-a-tool-for-multi-package-multi-language-releases/116450)

<div class="topic-metadata">

**Author:** [@MilesCranmer](https://discourse.julialang.org/u/MilesCranmer)\
**Replies:** 16\
**Last updated:** [June 8, 2025, 1:59pm UTC](https://discourse.julialang.org/t/release-please-a-tool-for-multi-package-multi-language-releases/116450 "2025-06-08T13:59:03Z")

</div>

Release Please is this nice tool from Google for automating package releases across languages. I don’t have any involvement with it but I have trying it in a rust package and really like it. They support about ~20 langu…

---

## [Memory issue that is solved by manually calling GC.gc()](https://discourse.julialang.org/t/memory-issue-that-is-solved-by-manually-calling-gc-gc/129690)

<div class="topic-metadata">

**Author:** [@kockahonza](https://discourse.julialang.org/u/kockahonza)\
**Replies:** 2\
**Last updated:** [June 8, 2025, 1:10pm UTC](https://discourse.julialang.org/t/memory-issue-that-is-solved-by-manually-calling-gc-gc/129690 "2025-06-08T13:10:30Z")

</div>

Hi, so my problem is pretty much the title, currently my code runs and does not fail but I would quite like to get to the bottom of this as this I find it somewhat concerning. Sadly I cannot provide a MWE for this as it …

---

## [How to use \`which\`](https://discourse.julialang.org/t/how-to-use-which/129731)

<div class="topic-metadata">

**Author:** [@GHTaarn](https://discourse.julialang.org/u/GHTaarn)\
**Replies:** 1\
**Last updated:** [June 8, 2025, 5:19am UTC](https://discourse.julialang.org/t/how-to-use-which/129731 "2025-06-08T05:19:36Z")

</div>

The manual for the which function gives the following 3 variants: help?\> which search: which @which which(f, types) Returns the method of f (a Method object) that would be called for arguments of the given types. …

---

## [More flexible parametric types](https://discourse.julialang.org/t/more-flexible-parametric-types/129671)

<div class="topic-metadata">

**Author:** [@Joris\_Pinkse](https://discourse.julialang.org/u/Joris_Pinkse)\
**Replies:** 13\
**Last updated:** [June 7, 2025, 9:07pm UTC](https://discourse.julialang.org/t/more-flexible-parametric-types/129671 "2025-06-07T21:07:06Z")

</div>

I would like to have the functionality displayed in the definition of S₂. This code obviously does not work (and I understand why), but what would be the closest thing to accomplishing such functionality? Thanks! Back…

---

## [Compiling with @async](https://discourse.julialang.org/t/compiling-with-async/129726)

<div class="topic-metadata">

**Author:** [@Doug719](https://discourse.julialang.org/u/Doug719)\
**Replies:** 1\
**Last updated:** [June 7, 2025, 6:25pm UTC](https://discourse.julialang.org/t/compiling-with-async/129726 "2025-06-07T18:25:36Z")

</div>

If I enter t1 = @async begin; sleep(5); println("done1"); end at the julia REPL, I get Task (runnable, started) @0x00007f575a6c3d00 julia\> done1 If I compile and run function main() t1 = @async begin; sleep…

---

## [Dot product abbreviation](https://discourse.julialang.org/t/dot-product-abbreviation/129719)

<div class="topic-metadata">

**Author:** [@WalterMadelim](https://discourse.julialang.org/u/WalterMadelim)\
**Replies:** 4\
**Last updated:** [June 7, 2025, 3:43pm UTC](https://discourse.julialang.org/t/dot-product-abbreviation/129719 "2025-06-07T15:43:51Z")

</div>

I wonder why these can’t be parsed. julia\> a, b = 2, 3; julia\> a'b 6 julia\> 2'b 6 julia\> a'3 ERROR: ParseError: # Error @ REPL\[5\]:1:3 a'3 # ╙ ── extra tokens after end of expression Stacktrace: \[1\] top-level scope …

---

## [Chimera - Linux alike OS based on LLVM and Musl](https://discourse.julialang.org/t/chimera-linux-alike-os-based-on-llvm-and-musl/94551)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 3\
**Last updated:** [June 7, 2025, 12:32pm UTC](https://discourse.julialang.org/t/chimera-linux-alike-os-based-on-llvm-and-musl/94551 "2025-06-07T12:32:23Z")

</div>

---

## [Cycling categorical color scale for unlimited unique values in Makie?](https://discourse.julialang.org/t/cycling-categorical-color-scale-for-unlimited-unique-values-in-makie/129578)

<div class="topic-metadata">

**Author:** [@oscarvdvelde](https://discourse.julialang.org/u/oscarvdvelde)\
**Replies:** 4\
**Last updated:** [June 7, 2025, 12:29pm UTC](https://discourse.julialang.org/t/cycling-categorical-color-scale-for-unlimited-unique-values-in-makie/129578 "2025-06-07T12:29:27Z")

</div>

I am looking for a solution for a color map in Makie, for groups of points that need to be colored by their integer values (e.g. group number). There may be hundreds of unique values, so one can not see any visual differ…

---

## [Large number of memory allocations using Dict with custom key type](https://discourse.julialang.org/t/large-number-of-memory-allocations-using-dict-with-custom-key-type/129676)

<div class="topic-metadata">

**Author:** [@erenust](https://discourse.julialang.org/u/erenust)\
**Replies:** 10\
**Last updated:** [June 7, 2025, 11:13am UTC](https://discourse.julialang.org/t/large-number-of-memory-allocations-using-dict-with-custom-key-type/129676 "2025-06-07T11:13:39Z")

</div>

As part of the code I’m working on I need to find the unique elements of a collection of small integer arrays and assign a unique identifier to each one of them. To do this I could do something like the following: array…

---

## [Julia version 1.11.4](https://discourse.julialang.org/t/julia-version-1-11-4/129689)

<div class="topic-metadata">

**Author:** [@Smara\_Kazenango](https://discourse.julialang.org/u/Smara_Kazenango)\
**Replies:** 5\
**Last updated:** [June 7, 2025, 11:02am UTC](https://discourse.julialang.org/t/julia-version-1-11-4/129689 "2025-06-07T11:02:15Z")

</div>

How can I use PyPlot, Images, Image IO and Flux.Data in Julia version 1.11.4. Running the Pkg.add(“PyPlot”) seems not to include all packages such as PyCall.

---

## [Default Real (Float) kind?](https://discourse.julialang.org/t/default-real-float-kind/129631)

<div class="topic-metadata">

**Author:** [@VinceNeede](https://discourse.julialang.org/u/VinceNeede)\
**Replies:** 50\
**Last updated:** [June 7, 2025, 8:47am UTC](https://discourse.julialang.org/t/default-real-float-kind/129631 "2025-06-07T08:47:43Z")

</div>

This is somehow a follow-up to this question: Disable promotion from Float64 to BigFloat The most used Fortran compilers offer the possibility to select which real kind should be used as default, i.e. the type (or bette…

---

## [New String7 type from result of CSV.file|\>DataFrame makes my function failing (which takes a String as input)](https://discourse.julialang.org/t/new-string7-type-from-result-of-csv-file-dataframe-makes-my-function-failing-which-takes-a-string-as-input/68985)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 10\
**Last updated:** [June 7, 2025, 7:13am UTC](https://discourse.julialang.org/t/new-string7-type-from-result-of-csv-file-dataframe-makes-my-function-failing-which-takes-a-string-as-input/68985 "2025-06-07T07:13:37Z")

</div>

My script used to work till yesterday, but is now failing because of the following error ERROR: LoadError: MethodError: no method matching get\_symbols\_ta(::String7, ::String, ::String) Closest candidates are: get\_symb…

---

## [Plotting into buffer](https://discourse.julialang.org/t/plotting-into-buffer/129641)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 11\
**Last updated:** [June 7, 2025, 6:32am UTC](https://discourse.julialang.org/t/plotting-into-buffer/129641 "2025-06-07T06:32:52Z")

</div>

Is it possible and how to plot into an existing buffer with Makie.jl ? My guess is that Cairomakie.jl would be the choice, but I can’t find a solution for it. The reason for this task is, that I want to hand over the bu…

---

## [PETSC.jl MPI wrapper](https://discourse.julialang.org/t/petsc-jl-mpi-wrapper/77900)

<div class="topic-metadata">

**Author:** [@Srikumar](https://discourse.julialang.org/u/Srikumar)\
**Replies:** 8\
**Last updated:** [June 7, 2025, 3:23am UTC](https://discourse.julialang.org/t/petsc-jl-mpi-wrapper/77900 "2025-06-07T03:23:08Z")

</div>

Hello, I would love to know if someone has used PETSC wrapper in Julia for MPI? I am planning to develop a parallel code using the PETSC wrapper and would like to know how extensive the PETSC functionality is in Julia.…

---

## [How complete is PETSc.jl for parallel linear solves in FEM/CFD applications?](https://discourse.julialang.org/t/how-complete-is-petsc-jl-for-parallel-linear-solves-in-fem-cfd-applications/129227)

<div class="topic-metadata">

**Author:** [@priyanshuFSI](https://discourse.julialang.org/u/priyanshuFSI)\
**Replies:** 1\
**Last updated:** [June 7, 2025, 3:17am UTC](https://discourse.julialang.org/t/how-complete-is-petsc-jl-for-parallel-linear-solves-in-fem-cfd-applications/129227 "2025-06-07T03:17:32Z")

</div>

Hi everyone, I’m solving a finite element (FEM) problem in Julia and need to scale up the code. The main issue for me is solving large sparse linear systems in parallel. I know that in CFD and FEM communities, many peo…

---

## [Killed VS OutOfMemoryError()](https://discourse.julialang.org/t/killed-vs-outofmemoryerror/129716)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 2\
**Last updated:** [June 7, 2025, 1:55am UTC](https://discourse.julialang.org/t/killed-vs-outofmemoryerror/129716 "2025-06-07T01:55:55Z")

</div>

Why we have two different error messages? What is the difference between Killed and OutOfMemoryError() messages? julia\> A = fill(2, 5000000000) ERROR: OutOfMemoryError() slightly lower: julia\> A = fill(2, 4000000000) K…

---

## [Dropping a column from a matrix](https://discourse.julialang.org/t/dropping-a-column-from-a-matrix/33944)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 12\
**Last updated:** [June 6, 2025, 10:51pm UTC](https://discourse.julialang.org/t/dropping-a-column-from-a-matrix/33944 "2025-06-06T22:51:27Z")

</div>

I seem to be hitting a wall deciding how to drop a column from a matrix. My background in R tells me I should use a negative index but that is not idiomatic Julia (or even valid Julia). The best I have been able to com…

---

## [State of closures, Fix1/Fix2](https://discourse.julialang.org/t/state-of-closures-fix1-fix2/118997)

<div class="topic-metadata">

**Author:** [@Deduction42](https://discourse.julialang.org/u/Deduction42)\
**Replies:** 16\
**Last updated:** [June 6, 2025, 10:31pm UTC](https://discourse.julialang.org/t/state-of-closures-fix1-fix2/118997 "2025-06-06T22:31:51Z")

</div>

I’ve been seeing more Base.Fix1 and Base.Fix2 inside code-bases these days, even though I thought most of these performance issues were fixed with v1.0. Apparently they aren’t? In Performance Tips it looks like we still …

---

## [How to track total memory usage of Julia process over time](https://discourse.julialang.org/t/how-to-track-total-memory-usage-of-julia-process-over-time/91167)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 17\
**Last updated:** [June 6, 2025, 9:34pm UTC](https://discourse.julialang.org/t/how-to-track-total-memory-usage-of-julia-process-over-time/91167 "2025-06-06T21:34:01Z")

</div>

What is a good tool to track the memory usage of the Julia process over time? Ideally, I would like to find out how much memory is used by Julia at any given time, especially at peak times during, e.g., compilation, but …

---

## [Efficient Event Driven Entity Component System](https://discourse.julialang.org/t/efficient-event-driven-entity-component-system/129715)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 0\
**Last updated:** [June 6, 2025, 9:38pm UTC](https://discourse.julialang.org/t/efficient-event-driven-entity-component-system/129715 "2025-06-06T21:38:25Z")

</div>

While exploring ECS design patterns and analyzing various engine architectures, I identified a recurring trade-off between flexibility, memory locality, and query overhead. I decided to explore a different approach: an E…

---

## [For a training iteration or the evaluation simulation (after training), is burn-in period implemented in SDDP.jl?](https://discourse.julialang.org/t/for-a-training-iteration-or-the-evaluation-simulation-after-training-is-burn-in-period-implemented-in-sddp-jl/129652)

<div class="topic-metadata">

**Author:** [@Engr\_Moiz\_Ahmad](https://discourse.julialang.org/u/Engr_Moiz_Ahmad)\
**Replies:** 4\
**Last updated:** [June 6, 2025, 9:35pm UTC](https://discourse.julialang.org/t/for-a-training-iteration-or-the-evaluation-simulation-after-training-is-burn-in-period-implemented-in-sddp-jl/129652 "2025-06-06T21:35:11Z")

</div>

I am dealing with a multi-stage mixed-integer stochastic global supply chain optimization problem. In this regard, I want to determine whether the burn-in period (for the random sampling process) is already incorporated…

---

## [Indexing by names, current favorites in the package space](https://discourse.julialang.org/t/indexing-by-names-current-favorites-in-the-package-space/123097)

<div class="topic-metadata">

**Author:** [@cdawg](https://discourse.julialang.org/u/cdawg)\
**Replies:** 7\
**Last updated:** [June 6, 2025, 8:40pm UTC](https://discourse.julialang.org/t/indexing-by-names-current-favorites-in-the-package-space/123097 "2025-06-06T20:40:18Z")

</div>

I loved AxisArrays.jl. However AxisArrays is old (designed pre1.0). It still works…ok, but I miss broadcasting and Not-.indexing. I did not learn about its newer counterparts until I had written a few weeks of analysis a…

---

## [Optimizing Large-Scale Problems: One Large Problem vs. Multiple Smaller Ones](https://discourse.julialang.org/t/optimizing-large-scale-problems-one-large-problem-vs-multiple-smaller-ones/129711)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 1\
**Last updated:** [June 6, 2025, 6:50pm UTC](https://discourse.julialang.org/t/optimizing-large-scale-problems-one-large-problem-vs-multiple-smaller-ones/129711 "2025-06-06T18:50:46Z")

</div>

Hello :grinning:, By reading this example of NonlinearSolve.jl, I was asking myself if it was better to define large-scale optimization problem as 1 large problem (f2) or several small problems (f1). According to the c…

---

## [CUDA | custom structs](https://discourse.julialang.org/t/cuda-custom-structs/129579)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 3\
**Last updated:** [June 6, 2025, 6:45pm UTC](https://discourse.julialang.org/t/cuda-custom-structs/129579 "2025-06-06T18:45:00Z")

</div>

Edit and update: 2025-June-4 Hello, I’m working on converting the following custom struct # test\_struct\_CUDA.jl using FFTW Base.@kwdef struct FourierTransformPlan3D{n\_rows, n\_cols, n\_slices} # FT frequency shif…

---

## [Time range with reversed bounds](https://discourse.julialang.org/t/time-range-with-reversed-bounds/129693)

<div class="topic-metadata">

**Author:** [@Ju\_ska](https://discourse.julialang.org/u/Ju_ska)\
**Replies:** 5\
**Last updated:** [June 6, 2025, 4:51pm UTC](https://discourse.julialang.org/t/time-range-with-reversed-bounds/129693 "2025-06-06T16:51:12Z")

</div>

Hi, I have: using Dates lower\_bound = Dates.Time(23,59,00) upper\_bound = Dates.Time(00,01,00) I do: julia\> collect(upper\_bound:Dates.Minute(1):lower\_bound) 1439-element Vector{Time}: 00:01:00 00:02:00 00:03:00 ⋮ …

---

## [ForwardDiff over closed interval](https://discourse.julialang.org/t/forwarddiff-over-closed-interval/129629)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 4\
**Last updated:** [June 6, 2025, 1:32pm UTC](https://discourse.julialang.org/t/forwarddiff-over-closed-interval/129629 "2025-06-06T13:32:43Z")

</div>

I need to optimize a function f(u) defined over a closed domain u =\[0,1\]. I was happily using Newton’s method and FowardDiff for this until I tried upgrading to v1.0. Now, ForwardDiff intentionally gives the derivative o…

---

## [Error after update](https://discourse.julialang.org/t/error-after-update/129700)

<div class="topic-metadata">

**Author:** [@drarnau](https://discourse.julialang.org/u/drarnau)\
**Replies:** 8\
**Last updated:** [June 6, 2025, 1:20pm UTC](https://discourse.julialang.org/t/error-after-update/129700 "2025-06-06T13:20:53Z")

</div>

I have an old project which uses Julia 1.7.1. I just did: \] activate . and: update Then: using MyPackage I get the following error: ERROR: LoadError: UndefVarError: pkgversion not defined Any ideas about what’s g…

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

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