# Latest

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

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

**Page:** 138

---

## [Julia's type system : what am I missing?](https://discourse.julialang.org/t/julias-type-system-what-am-i-missing/130618)

<div class="topic-metadata">

**Author:** [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Replies:** 11\
**Last updated:** [July 11, 2025, 3:41am UTC](https://discourse.julialang.org/t/julias-type-system-what-am-i-missing/130618 "2025-07-11T03:41:44Z")

</div>

Consider this MWE: using Unitful # 1. Get the type of a quantity constructed from the Unitful macro t1 = typeof(1u"m") # 2. Manually construct a type with the same structure t2 = Unitful.Quantity{Int64, Unitful.𝐋, Uni…

---

## [Nested loop is slow when indices are in a struct](https://discourse.julialang.org/t/nested-loop-is-slow-when-indices-are-in-a-struct/130639)

<div class="topic-metadata">

**Author:** [@omicron8](https://discourse.julialang.org/u/omicron8)\
**Replies:** 2\
**Last updated:** [July 11, 2025, 11:31am UTC](https://discourse.julialang.org/t/nested-loop-is-slow-when-indices-are-in-a-struct/130639 "2025-07-11T11:31:03Z")

</div>

I have a function that loops over a 2D array. For the second dimension only some of the indices are used, and they are passed in as a unit range. It seems to make a big difference to performance if the range is part of a…

---

## [About Julia's development policy regarding Windows](https://discourse.julialang.org/t/about-julias-development-policy-regarding-windows/128011)

<div class="topic-metadata">

**Author:** [@uwestoehr](https://discourse.julialang.org/u/uwestoehr)\
**Replies:** 119\
**Last updated:** [July 11, 2025, 10:21am UTC](https://discourse.julialang.org/t/about-julias-development-policy-regarding-windows/128011 "2025-07-11T10:21:55Z")

</div>

This is just a thread to give feedback as a new user working with Windows and the problems I have. I am a medical engineer and wanted to use Julia to develop software others can use (other engineers, laboratory workers,…

---

## [Will the latency issues with Julia 1.12-beta4 be fixed before the release?](https://discourse.julialang.org/t/will-the-latency-issues-with-julia-1-12-beta4-be-fixed-before-the-release/130634)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [July 11, 2025, 9:09am UTC](https://discourse.julialang.org/t/will-the-latency-issues-with-julia-1-12-beta4-be-fixed-before-the-release/130634 "2025-07-11T09:09:52Z")

</div>

The load time for packages increased a lot from Julia 1.10 to 1.11 to 1.12-beta4. See: Package load time regressions in 1.12 · Issue #57436 · JuliaLang/julia · GitHub I think this problem has mostly be fixed in two PRs: …

---

## [😤 Multi-line expressions aren't fully computed](https://discourse.julialang.org/t/multi-line-expressions-arent-fully-computed/130599)

<div class="topic-metadata">

**Author:** [@bpsomu](https://discourse.julialang.org/u/bpsomu)\
**Replies:** 22\
**Last updated:** [July 11, 2025, 7:46am UTC](https://discourse.julialang.org/t/multi-line-expressions-arent-fully-computed/130599 "2025-07-11T07:46:14Z")

</div>

I had a KernelAbstractions.jl based Kernel function with a multi-line expression as below: using KernelAbstractions @kernel function karniadakis\_update!( n\_eₜ₊₁, n\_eₜ, n\_eₜ₋₁, n\_eₜ₋₂, e\_rhsₜ, e\_rhsₜ₋₁, e\_rhsₜ₋₂, …

---

## [Channel not unblocking during some iteration situations](https://discourse.julialang.org/t/channel-not-unblocking-during-some-iteration-situations/130364)

<div class="topic-metadata">

**Author:** [@depial](https://discourse.julialang.org/u/depial)\
**Replies:** 2\
**Last updated:** [July 11, 2025, 7:01am UTC](https://discourse.julialang.org/t/channel-not-unblocking-during-some-iteration-situations/130364 "2025-07-11T07:01:09Z")

</div>

I’ve been fiddling around with iteration of a tree traversal to learn about interfaces and channels, and I’ve run into something I can’t seem to get around. When using an unbuffered Channel(), iteration in a for loop bl…

---

## [Easiest and most complete package for PostgreSQL right now (Feb 2022)?](https://discourse.julialang.org/t/easiest-and-most-complete-package-for-postgresql-right-now-feb-2022/75920)

<div class="topic-metadata">

**Author:** [@Ouji](https://discourse.julialang.org/u/Ouji)\
**Replies:** 48\
**Last updated:** [July 11, 2025, 1:52am UTC](https://discourse.julialang.org/t/easiest-and-most-complete-package-for-postgresql-right-now-feb-2022/75920 "2025-07-11T01:52:51Z")

</div>

What is the most straightforward, easiest and most complete package to use for PostgreSQL? This may pertain to documentation quality too. More particularly, it should allow me to also parse SQL/PostgreSQL syntax embedd…

---

## [Repair(0) vs Repair(1) & creating color values](https://discourse.julialang.org/t/repair-0-vs-repair-1-creating-color-values/130580)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 11:16pm UTC](https://discourse.julialang.org/t/repair-0-vs-repair-1-creating-color-values/130580 "2025-07-10T23:16:56Z")

</div>

I want to get smooth(interpolated) color mapping for elements but it is not supported in GLMakie.jl. So i am converting cell body values(color) to vertices values. I am taking vertex value to be equal to average of surro…

---

## [Gridap.jl's Linear Elasticity Problem: Access to Global and Local Stiffness matrixes](https://discourse.julialang.org/t/gridap-jls-linear-elasticity-problem-access-to-global-and-local-stiffness-matrixes/130544)

<div class="topic-metadata">

**Author:** [@Van\_Sy\_Tnut](https://discourse.julialang.org/u/Van_Sy_Tnut)\
**Replies:** 2\
**Last updated:** [July 10, 2025, 10:53pm UTC](https://discourse.julialang.org/t/gridap-jls-linear-elasticity-problem-access-to-global-and-local-stiffness-matrixes/130544 "2025-07-10T22:53:29Z")

</div>

Hello everyone! I solved the Linear elasticity problem for a cantilever beam. Now I want to compute the compliance of structures as follows: c = \\mathbf{U}^T \\mathbf{K} \\mathbf{U} = \\sum\_{e=1}^{N} \\mathbf{u}\_e^T \\…

---

## [Passing the next proposed time step as a parameter into your ODEFunction where du depends on dt](https://discourse.julialang.org/t/passing-the-next-proposed-time-step-as-a-parameter-into-your-odefunction-where-du-depends-on-dt/130623)

<div class="topic-metadata">

**Author:** [@jrr2102](https://discourse.julialang.org/u/jrr2102)\
**Replies:** 7\
**Last updated:** [July 10, 2025, 10:04pm UTC](https://discourse.julialang.org/t/passing-the-next-proposed-time-step-as-a-parameter-into-your-odefunction-where-du-depends-on-dt/130623 "2025-07-10T22:04:39Z")

</div>

I am trying to keep my solver autodiff compatible to be able to take advantage of the ForwardDiff capabilities in Julia. I have a function f(du, u, t, p) where computing du depends on dt. I want to be able to pass the Ju…

---

## [Weird histogram looking](https://discourse.julialang.org/t/weird-histogram-looking/130601)

<div class="topic-metadata">

**Author:** [@elisadonati23](https://discourse.julialang.org/u/elisadonati23)\
**Replies:** 4\
**Last updated:** [July 10, 2025, 8:29pm UTC](https://discourse.julialang.org/t/weird-histogram-looking/130601 "2025-07-10T20:29:50Z")

</div>

Dear all, can someone help me to understand why I get this histogram? agent\_adults\_last is 1236145-element Vector{Float64} with balues between 7.0 and 25.0 Never happened to me. it seems that it is a large sample …

---

## [Python JIT not yet fast](https://discourse.julialang.org/t/python-jit-not-yet-fast/130606)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 10\
**Last updated:** [August 7, 2025, 4:20am UTC](https://discourse.julialang.org/t/python-jit-not-yet-fast/130606 "2025-08-07T04:20:04Z")

</div>

Python JIT not yet fast:

---

## [Julia 1.11.6 installed with DMG installer on MacOS appears as 1.11.5](https://discourse.julialang.org/t/julia-1-11-6-installed-with-dmg-installer-on-macos-appears-as-1-11-5/130617)

<div class="topic-metadata">

**Author:** [@lewis](https://discourse.julialang.org/u/lewis)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 6:50pm UTC](https://discourse.julialang.org/t/julia-1-11-6-installed-with-dmg-installer-on-macos-appears-as-1-11-5/130617 "2025-07-10T18:50:05Z")

</div>

Last commit is Commit 760b2e5b739 (2025-04-14 06:53 UTC) Here is my versioninfo output: Julia Version 1.11.5 Commit 760b2e5b739 (2025-04-14 06:53 UTC) Build Info: Official https://julialang.org/ release Platform Info…

---

## [Ctags or cscope tool for julia with vim](https://discourse.julialang.org/t/ctags-or-cscope-tool-for-julia-with-vim/130613)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 6:25pm UTC](https://discourse.julialang.org/t/ctags-or-cscope-tool-for-julia-with-vim/130613 "2025-07-10T18:25:36Z")

</div>

I’m using vim+repl as my IDE. Is there anything like ctags or cscope julia code support available to explore and understand large julia code?

---

## [Julia v1.11.6 has been released](https://discourse.julialang.org/t/julia-v1-11-6-has-been-released/130614)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [July 10, 2025, 5:56pm UTC](https://discourse.julialang.org/t/julia-v1-11-6-has-been-released/130614 "2025-07-10T17:56:06Z")

</div>

Julia version 1.11.6, the sixth patch release in the 1.11 series of releases, is now available. Binaries are available via JuliaUp and at https://julialang.org/downloads/ for macOS (Intel and M-series processors), Window…

---

## [Start debugger after an error occurs](https://discourse.julialang.org/t/start-debugger-after-an-error-occurs/108663)

<div class="topic-metadata">

**Author:** [@Oto\_Brzobohaty](https://discourse.julialang.org/u/Oto_Brzobohaty)\
**Replies:** 2\
**Last updated:** [July 10, 2025, 5:33pm UTC](https://discourse.julialang.org/t/start-debugger-after-an-error-occurs/108663 "2025-07-10T17:33:37Z")

</div>

I am running for cycle where I load text data files and post process them. One of the files is corrupted and I got an error. Is there possibility to run the julia program in vscode and start debbuging after the error. S…

---

## [Raddar/spider image](https://discourse.julialang.org/t/raddar-spider-image/130608)

<div class="topic-metadata">

**Author:** [@AbdelazimHussien](https://discourse.julialang.org/u/AbdelazimHussien)\
**Replies:** 0\
**Last updated:** [July 10, 2025, 1:20pm UTC](https://discourse.julialang.org/t/raddar-spider-image/130608 "2025-07-10T13:20:38Z")

</div>

Hello I am developing a package for metaheuristics algorithms named MetaheuristicsAlgorithms I wanna make a raddar image I write the following trace = scatterpolar( r = mean\_fitness, theta = label…

---

## [AMD Developer Community](https://discourse.julialang.org/t/amd-developer-community/130610)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [July 10, 2025, 2:41pm UTC](https://discourse.julialang.org/t/amd-developer-community/130610 "2025-07-10T14:41:42Z")

</div>

Building Bridges: AMD Developer Community Discord Is Here In a major first step toward building a closer connection between AMD and developers worldwide, we’ve launched the AMD Developer Community Discord server — a spac…

---

## [Type stability in hierarchichal function calls](https://discourse.julialang.org/t/type-stability-in-hierarchichal-function-calls/130603)

<div class="topic-metadata">

**Author:** [@thomasc791](https://discourse.julialang.org/u/thomasc791)\
**Replies:** 2\
**Last updated:** [July 10, 2025, 2:39pm UTC](https://discourse.julialang.org/t/type-stability-in-hierarchichal-function-calls/130603 "2025-07-10T14:39:51Z")

</div>

Hi all, I have a question on how type stability traverses into layers of function calls. Meaning, if I have a function assembly that is not completely type stable, because it contains a Vector{Types}. In assembly I call…

---

## [How to disable "warning" banner in on-line julia manuals](https://discourse.julialang.org/t/how-to-disable-warning-banner-in-on-line-julia-manuals/130609)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 0\
**Last updated:** [July 10, 2025, 1:40pm UTC](https://discourse.julialang.org/t/how-to-disable-warning-banner-in-on-line-julia-manuals/130609 "2025-07-10T13:40:11Z")

</div>

I’m using the LTS Julia release to reduce package churn and bitrot in software development. The On-line manual for LTS julia has a bright red “warning” banner that the documentation I am using is not the latest stabl…

---

## [Why is the loss function increasing when fitting a line?](https://discourse.julialang.org/t/why-is-the-loss-function-increasing-when-fitting-a-line/130600)

<div class="topic-metadata">

**Author:** [@\_jovian](https://discourse.julialang.org/u/_jovian)\
**Replies:** 2\
**Last updated:** [July 10, 2025, 1:37pm UTC](https://discourse.julialang.org/t/why-is-the-loss-function-increasing-when-fitting-a-line/130600 "2025-07-10T13:37:12Z")

</div>

Hello everyone, I’m following the “Fitting a Line” from the Flux.jl guide. It works as expected with the given data, as well as when modifying the predicted function (e.g. actual(x) = 3x - 1). I was trying to change th…

---

## [Polynomial optimization without sum of squares](https://discourse.julialang.org/t/polynomial-optimization-without-sum-of-squares/130478)

<div class="topic-metadata">

**Author:** [@joemaik](https://discourse.julialang.org/u/joemaik)\
**Replies:** 11\
**Last updated:** [July 10, 2025, 1:24pm UTC](https://discourse.julialang.org/t/polynomial-optimization-without-sum-of-squares/130478 "2025-07-10T13:24:13Z")

</div>

TL-DR: I would like to solve a linear program, but the problem itself involves multivariate polynomials. So I need tools to transform polynomials to their vectors of coefficients and back. Moreoever, in the end, after so…

---

## [How to undo \`unsafe\_string\` call](https://discourse.julialang.org/t/how-to-undo-unsafe-string-call/130605)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 11:57am UTC](https://discourse.julialang.org/t/how-to-undo-unsafe-string-call/130605 "2025-07-10T11:57:09Z")

</div>

I’m using a library (Instruments.jl) that does a bunch of ccalls to return a string. It does this by calling unsafe\_string(pointer(buf)) where buf isa Vector{UInt8}. Can I undo this call to unsafe\_string to just get th…

---

## [Read/write locks and wait/wake on atomics: are there Julia futexes?](https://discourse.julialang.org/t/read-write-locks-and-wait-wake-on-atomics-are-there-julia-futexes/130602)

<div class="topic-metadata">

**Author:** [@iago-lito](https://discourse.julialang.org/u/iago-lito)\
**Replies:** 1\
**Last updated:** [July 10, 2025, 11:08am UTC](https://discourse.julialang.org/t/read-write-locks-and-wait-wake-on-atomics-are-there-julia-futexes/130602 "2025-07-10T11:08:57Z")

</div>

I wished there was a read-write lock in Julia but I couldn’t find any. But there are atomics so I figured I could write one myself, inspiring from this (inspiring) book on the nasty-gritty low-level details of concurrenc…

---

## [ReactiveECS.jl v2.0.0: Breaking Changes for Massive Performance Boosts](https://discourse.julialang.org/t/reactiveecs-jl-v2-0-0-breaking-changes-for-massive-performance-boosts/130564)

<div class="topic-metadata">

**Author:** [@Gesee](https://discourse.julialang.org/u/Gesee)\
**Replies:** 3\
**Last updated:** [July 10, 2025, 10:00am UTC](https://discourse.julialang.org/t/reactiveecs-jl-v2-0-0-breaking-changes-for-massive-performance-boosts/130564 "2025-07-10T10:00:19Z")

</div>

Hi everyone! I’m happy to present ReactiveECS.jl v2.0.0! For those unfamiliar with the package, you can check out the original post. This new version follows v1.0.0, which received heavy criticism on the Flecs Discord—…

---

## [Who is maintainer of the General registry?](https://discourse.julialang.org/t/who-is-maintainer-of-the-general-registry/130596)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [July 10, 2025, 7:48am UTC](https://discourse.julialang.org/t/who-is-maintainer-of-the-general-registry/130596 "2025-07-10T07:48:42Z")

</div>

It would be nice if one of the maintainers would find the time to have a look at my pull request: Move KiteUtils, KiteModels and AtmosphericModels to OpenSourceAWE organization by ufechner7 · Pull Request #134420 · Julia…

---

## [Relaxing Big-M constraint](https://discourse.julialang.org/t/relaxing-big-m-constraint/130592)

<div class="topic-metadata">

**Author:** [@leila\_Ra](https://discourse.julialang.org/u/leila_Ra)\
**Replies:** 5\
**Last updated:** [July 10, 2025, 3:15am UTC](https://discourse.julialang.org/t/relaxing-big-m-constraint/130592 "2025-07-10T03:15:20Z")

</div>

Hi, I’m formulating an optimization problem in JuMP and need some advice on relaxing a logical constraint. The logic is as follows: If x\>260, then Z=0. (Note: Z can only be either 0 or Zmax no values in between.) I’…

---

## [Package for partial sorting output iterator](https://discourse.julialang.org/t/package-for-partial-sorting-output-iterator/130408)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 7\
**Last updated:** [July 10, 2025, 1:14am UTC](https://discourse.julialang.org/t/package-for-partial-sorting-output-iterator/130408 "2025-07-10T01:14:48Z")

</div>

Is there an implementation that partial sorts an iterator without allocating the whole output? Eg suppose that I need the n largest elements by f from an iterator itr that has N \\gg n elements. partialsort!(collect(itr…

---

## [Should our package export an init! function?](https://discourse.julialang.org/t/should-our-package-export-an-init-function/130585)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [July 10, 2025, 12:05am UTC](https://discourse.julialang.org/t/should-our-package-export-an-init-function/130585 "2025-07-10T00:05:56Z")

</div>

We have two packages, that both export an init! function (working on different types). This is causing problems. What is the suggested solution? not having packages exporting common names not importing packages with u…

---

## [Interpolating data on a spherical shell](https://discourse.julialang.org/t/interpolating-data-on-a-spherical-shell/130584)

<div class="topic-metadata">

**Author:** [@trung](https://discourse.julialang.org/u/trung)\
**Replies:** 4\
**Last updated:** [July 9, 2025, 9:35pm UTC](https://discourse.julialang.org/t/interpolating-data-on-a-spherical-shell/130584 "2025-07-09T21:35:31Z")

</div>

I currently have data that is set on a spherical shell. The data that I have is something like temperature. The coordinates associated with temperature are in latitude and longitude. The latitude has a regular spacing of…

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

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