# Latest

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

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

**Page:** 99

---

## [Expected 'end' message not the most helpful in throw function](https://discourse.julialang.org/t/expected-end-message-not-the-most-helpful-in-throw-function/133071)

<div class="topic-metadata">

**Author:** [@Tigerbyte](https://discourse.julialang.org/u/Tigerbyte)\
**Replies:** 14\
**Last updated:** [October 12, 2025, 4:58am UTC](https://discourse.julialang.org/t/expected-end-message-not-the-most-helpful-in-throw-function/133071 "2025-10-12T04:58:08Z")

</div>

If you forget that “throw” in Julia is a function (as I probably always will) expect to get this message, which I found to be misleading. How about Function "throw" needs a left parenthesis for j in 1:1 thr…

---

## [Using JuliaC from R/Python?](https://discourse.julialang.org/t/using-juliac-from-r-python/132857)

<div class="topic-metadata">

**Author:** [@biona001](https://discourse.julialang.org/u/biona001)\
**Replies:** 7\
**Last updated:** [October 12, 2025, 3:23am UTC](https://discourse.julialang.org/t/using-juliac-from-r-python/132857 "2025-10-12T03:23:50Z")

</div>

Hi, Now that JuliaC.jl is released, I want to try something I’ve always wanted: being able to pass a matrix from R into Julia, have it do something, then returning a scalar/vector/matrix back into R. I’m thinking of com…

---

## [What's Base.Int and Base.UInt32\_cold? And will former (both?) "change or be removed in future versions"?](https://discourse.julialang.org/t/whats-base-int-and-base-uint32-cold-and-will-former-both-change-or-be-removed-in-future-versions/133077)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [October 11, 2025, 10:13pm UTC](https://discourse.julialang.org/t/whats-base-int-and-base-uint32-cold-and-will-former-both-change-or-be-removed-in-future-versions/133077 "2025-10-11T22:13:27Z")

</div>

I noticed Base.Int in code and it seems Base. prefix is redundant, but: help?\> Base.Int │ Warning │ │ The following bindings may be internal; they may change or be removed in future versions: │ │ • Base.Int …

---

## [Can i propagate @invoke?](https://discourse.julialang.org/t/can-i-propagate-invoke/133074)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 3\
**Last updated:** [October 11, 2025, 9:05pm UTC](https://discourse.julialang.org/t/can-i-propagate-invoke/133074 "2025-10-11T21:05:47Z")

</div>

Hey, I always thought that @invoke would not allow functions in the call stack to know the true argument’s type, but i just realised today that i am wrong: abstract type AbstractA end struct A \<: AbstractA x::Floa…

---

## [Inconsistent results from using #undef](https://discourse.julialang.org/t/inconsistent-results-from-using-undef/133033)

<div class="topic-metadata">

**Author:** [@Tigerbyte](https://discourse.julialang.org/u/Tigerbyte)\
**Replies:** 14\
**Last updated:** [October 11, 2025, 8:50pm UTC](https://discourse.julialang.org/t/inconsistent-results-from-using-undef/133033 "2025-10-11T20:50:05Z")

</div>

vktr = Vector{T}(undef,4) if T is Float64 or Int64 this fills in a number instead of undef if T is Complex, Symbol, String, etc, this makes a Vector of undef julia\> versioninfo() Julia Version 1.12.0 Commit b907bd060…

---

## [\[ANN\] jlrs 0.22: Julia version autodetection, async closure support, and more!](https://discourse.julialang.org/t/ann-jlrs-0-22-julia-version-autodetection-async-closure-support-and-more/133073)

<div class="topic-metadata">

**Author:** [@Taaitaaiger](https://discourse.julialang.org/u/Taaitaaiger)\
**Replies:** 0\
**Last updated:** [October 11, 2025, 3:49pm UTC](https://discourse.julialang.org/t/ann-jlrs-0-22-julia-version-autodetection-async-closure-support-and-more/133073 "2025-10-11T15:49:06Z")

</div>

jlrs is a crate for the Rust programming language for interop between Rust and Julia, version 0.22 brings many changes. The tutorial has been updated to this new version. Version and juliaup support Julia versions 1.10 …

---

## [Introspection for checking an implementation](https://discourse.julialang.org/t/introspection-for-checking-an-implementation/132495)

<div class="topic-metadata">

**Author:** [@Mikhail\_Kagalenko](https://discourse.julialang.org/u/Mikhail_Kagalenko)\
**Replies:** 10\
**Last updated:** [October 11, 2025, 3:25pm UTC](https://discourse.julialang.org/t/introspection-for-checking-an-implementation/132495 "2025-10-11T15:25:20Z")

</div>

I am trying to implement an automated checking procedure for programming assignments. For example, I may ask a user to write function my\_sum() for computing the sum of elements of a vector, then verify that he did not u…

---

## [Help making HTTP.request for Manifold](https://discourse.julialang.org/t/help-making-http-request-for-manifold/133069)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 2\
**Last updated:** [October 11, 2025, 2:30pm UTC](https://discourse.julialang.org/t/help-making-http-request-for-manifold/133069 "2025-10-11T14:30:08Z")

</div>

Hello. I am trying to submit a request to Manifold.markets via HTTP.jl, but I am having trouble with the setup. The API description is posted here. Here is one thing I tried. Code using HTTP header = Dict( "Author…

---

## [How to add \`PGFPlotsX.Coordinates()\` object to raw LaTeX command?](https://discourse.julialang.org/t/how-to-add-pgfplotsx-coordinates-object-to-raw-latex-command/133070)

<div class="topic-metadata">

**Author:** [@tapyu](https://discourse.julialang.org/u/tapyu)\
**Replies:** 0\
**Last updated:** [October 11, 2025, 2:26pm UTC](https://discourse.julialang.org/t/how-to-add-pgfplotsx-coordinates-object-to-raw-latex-command/133070 "2025-10-11T14:26:48Z")

</div>

\#!/usr/bin/env julia # using Pkg; Pkg.add("PGFPlotsX") # run once using PGFPlotsX empty!(PGFPlotsX.CUSTOM\_PREAMBLE) push!(PGFPlotsX.CUSTOM\_PREAMBLE, raw"\\usetikzlibrary{calc,spy}") origin = PGFPlotsX.Coordinate(0, 0)…

---

## [\[Guide\] Using sum types to define dynamic C APIs for Julia 1.12 \`--trim\`](https://discourse.julialang.org/t/guide-using-sum-types-to-define-dynamic-c-apis-for-julia-1-12-trim/132111)

<div class="topic-metadata">

**Author:** [@RomeoV](https://discourse.julialang.org/u/RomeoV)\
**Replies:** 29\
**Last updated:** [October 11, 2025, 12:07pm UTC](https://discourse.julialang.org/t/guide-using-sum-types-to-define-dynamic-c-apis-for-julia-1-12-trim/132111 "2025-10-11T12:07:14Z")

</div>

I have recently spent a lot of time trying to get one of my libraries ready for the Julia 1.12 --trim feature such that I can ship it as a C library and wrap it into a python module. During this work I learned a lot and …

---

## [CUDA.jl not loading in julia 1.12.0](https://discourse.julialang.org/t/cuda-jl-not-loading-in-julia-1-12-0/133022)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 10\
**Last updated:** [October 11, 2025, 8:06am UTC](https://discourse.julialang.org/t/cuda-jl-not-loading-in-julia-1-12-0/133022 "2025-10-11T08:06:57Z")

</div>

Hi, I’ve just upgraded from 1.11.7 to 1.12.0 and went though the packages installation from scratch. I installed CUDA.jl from pkg.add() and it did install fine. I then restarted the machine to make sure all is clear, an…

---

## [CUDA.jl calling kernels in parallel?](https://discourse.julialang.org/t/cuda-jl-calling-kernels-in-parallel/133032)

<div class="topic-metadata">

**Author:** [@jjgarzella](https://discourse.julialang.org/u/jjgarzella)\
**Replies:** 1\
**Last updated:** [October 11, 2025, 5:52am UTC](https://discourse.julialang.org/t/cuda-jl-calling-kernels-in-parallel/133032 "2025-10-11T05:52:43Z")

</div>

Hi, I’m trying to use CUDA.jl and CUBLAS to implement a mod N matrix multiplication using Algorithm 1 of this paper (see the HAL preprint). The inner loop of the algorithm requires alternating calls to CUBLAS with a broa…

---

## [Problem solving DDE: "no method matching \_initialize\_dae!"](https://discourse.julialang.org/t/problem-solving-dde-no-method-matching-initialize-dae/133049)

<div class="topic-metadata">

**Author:** [@Tangjuan](https://discourse.julialang.org/u/Tangjuan)\
**Replies:** 2\
**Last updated:** [October 11, 2025, 3:32am UTC](https://discourse.julialang.org/t/problem-solving-dde-no-method-matching-initialize-dae/133049 "2025-10-11T03:32:53Z")

</div>

I am trying to solve a DDEProblem in Julia, but I encounter the error no method matching \_initialize\_dae!. Could anyone explain why this happens and how to fix it?

---

## [VS Code extension language server crashing with Julia v1.12](https://discourse.julialang.org/t/vs-code-extension-language-server-crashing-with-julia-v1-12/133030)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 9:54pm UTC](https://discourse.julialang.org/t/vs-code-extension-language-server-crashing-with-julia-v1-12/133030 "2025-10-10T21:54:35Z")

</div>

When I have the release juliaup channel added, my Julia Language Server can’t start in VS Code. It gives this at the start of the output: \[ Info: Starting LS with Julia 1.12.0 Activating project at \`~/.vscode/extensi…

---

## [Julia 1.12 new --trim feature for MCU compiler](https://discourse.julialang.org/t/julia-1-12-new-trim-feature-for-mcu-compiler/133050)

<div class="topic-metadata">

**Author:** [@yvikhlya](https://discourse.julialang.org/u/yvikhlya)\
**Replies:** 7\
**Last updated:** [October 10, 2025, 9:50pm UTC](https://discourse.julialang.org/t/julia-1-12-new-trim-feature-for-mcu-compiler/133050 "2025-10-10T21:50:26Z")

</div>

./build/bin/app\_test\_exe Hello World! ls -lh build/bin/app\_test\_exe -rwxr-xr-x@ 1 gabrielbaraldi staff 1.1M Oct 6 17:22 ./build/bin/app\_test\_exe\* So, when Julia for MCUs? Comon, we have to show to all those micropy…

---

## [Open multiple figure windows using Plots](https://discourse.julialang.org/t/open-multiple-figure-windows-using-plots/130859)

<div class="topic-metadata">

**Author:** [@bernardofpc](https://discourse.julialang.org/u/bernardofpc)\
**Replies:** 8\
**Last updated:** [October 10, 2025, 5:29pm UTC](https://discourse.julialang.org/t/open-multiple-figure-windows-using-plots/130859 "2025-10-10T17:29:12Z")

</div>

I would like to use scripts, in the REPL, to display multiple figures from a function. Using PyPlot and plt.figure allows it, but Plots does not seem to have a way of doing so. My MWE: using Plots import PyPlot plt = …

---

## [Type instability in custom Lux masking layer when using Enzyme/Reactant](https://discourse.julialang.org/t/type-instability-in-custom-lux-masking-layer-when-using-enzyme-reactant/133042)

<div class="topic-metadata">

**Author:** [@pietro-butti](https://discourse.julialang.org/u/pietro-butti)\
**Replies:** 5\
**Last updated:** [October 10, 2025, 5:25pm UTC](https://discourse.julialang.org/t/type-instability-in-custom-lux-masking-layer-when-using-enzyme-reactant/133042 "2025-10-10T17:25:01Z")

</div>

I’m encountering issues when implementing a custom Lux layer that performs masking (as commonly used in RealNVPs). Example in 1D with checkerboard masking: \[x1, x2, x3, x4\] → (\[x1,0,x3,0\], \[0,x2,0,x4\]) Goal I want to …

---

## [V1.11.7 Precompilation errors (Windows)](https://discourse.julialang.org/t/v1-11-7-precompilation-errors-windows/132497)

<div class="topic-metadata">

**Author:** [@braamvandyk](https://discourse.julialang.org/u/braamvandyk)\
**Replies:** 4\
**Last updated:** [October 10, 2025, 4:27pm UTC](https://discourse.julialang.org/t/v1-11-7-precompilation-errors-windows/132497 "2025-10-10T16:27:26Z")

</div>

I updated to Julia 1.11.7 and then ran a script to update packages in a set of projects. On two of the projects, a Windows error message popup appears: The first is for LERC\_jll while compilng Plots → UnitfulExt and the …

---

## [Identifying performant data structures](https://discourse.julialang.org/t/identifying-performant-data-structures/132992)

<div class="topic-metadata">

**Author:** [@geoffD](https://discourse.julialang.org/u/geoffD)\
**Replies:** 8\
**Last updated:** [October 10, 2025, 2:23pm UTC](https://discourse.julialang.org/t/identifying-performant-data-structures/132992 "2025-10-10T14:23:47Z")

</div>

Hi, I am coding a simulation and have a couple of possibilities for structuring the data. I’d like to sort out which is likely to be the most efficient. I’ve written toy examples for some of the options, but the results …

---

## [Non-DSLs for solving intertemporal optimization problems (not just for econ)](https://discourse.julialang.org/t/non-dsls-for-solving-intertemporal-optimization-problems-not-just-for-econ/85011)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 3\
**Last updated:** [October 10, 2025, 1:48pm UTC](https://discourse.julialang.org/t/non-dsls-for-solving-intertemporal-optimization-problems-not-just-for-econ/85011 "2025-10-10T13:48:41Z")

</div>

This post will discuss various approaches to designing solvers for intertemporal optimization problems (in economics and hopefully other domains). Consider a fairly generic intertemporal optimization problem with 1-stat…

---

## [VegaLite.jl equivalent of \`facet\_wrap\`?](https://discourse.julialang.org/t/vegalite-jl-equivalent-of-facet-wrap/21961)

<div class="topic-metadata">

**Author:** [@sam81](https://discourse.julialang.org/u/sam81)\
**Replies:** 7\
**Last updated:** [October 10, 2025, 1:25pm UTC](https://discourse.julialang.org/t/vegalite-jl-equivalent-of-facet-wrap/21961 "2025-10-10T13:25:51Z")

</div>

is there a way to wrap around the panels of multiple plots (similar to \`facet\_wrap in ggplot2)? For example would it be possible to arrange the Anscombe’s quartet plot shown in the docs (http://fredo-dedup.github.io/Veg…

---

## [Bug in StatsPlots' call to groupedhist with normalize=:true?](https://discourse.julialang.org/t/bug-in-statsplots-call-to-groupedhist-with-normalize-true/133023)

<div class="topic-metadata">

**Author:** [@mocalvao](https://discourse.julialang.org/u/mocalvao)\
**Replies:** 5\
**Last updated:** [October 10, 2025, 11:36am UTC](https://discourse.julialang.org/t/bug-in-statsplots-call-to-groupedhist-with-normalize-true/133023 "2025-10-10T11:36:54Z")

</div>

Hi there, Consider the following data.csv file: Class\_Name Grade Turma 6 4.2 Turma 4 3.5 Turma 6 0.2 Turma 3 Especial 1.6 Turma 2 Piloto 7.8 Turma 4 1.4 Turma 5 1.6 Turma 6 3.8000000000000003 Turma 6 1.5 Turma 6 5.8000…

---

## [Grid plot and Label with CairoMakie](https://discourse.julialang.org/t/grid-plot-and-label-with-cairomakie/133034)

<div class="topic-metadata">

**Author:** [@fdekerme](https://discourse.julialang.org/u/fdekerme)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 11:23am UTC](https://discourse.julialang.org/t/grid-plot-and-label-with-cairomakie/133034 "2025-10-10T11:23:58Z")

</div>

Hi everyone, I want to make a plot like this one (illustration from http://dx.doi.org/10.1118/1.4947485) with CairoMakie.jl: S nothing crazy. However, after several attempts (see code below), I am unable to obtain s…

---

## [About the adaptive time steps of Tsit5()](https://discourse.julialang.org/t/about-the-adaptive-time-steps-of-tsit5/133036)

<div class="topic-metadata">

**Author:** [@k\_zhou](https://discourse.julialang.org/u/k_zhou)\
**Replies:** 0\
**Last updated:** [October 10, 2025, 7:24am UTC](https://discourse.julialang.org/t/about-the-adaptive-time-steps-of-tsit5/133036 "2025-10-10T07:24:14Z")

</div>

Hello！ I have a short problem about the time steps of Tsit5(). Would the maximum-allowed time step of Tsit5() be larger than the limit of CFL condition? N = Int(ceil(40 \* Lc / lamda)) x\_grid = range(0, stop = Lc, len…

---

## [Does Julia BLAS DGEMV use multithreading?](https://discourse.julialang.org/t/does-julia-blas-dgemv-use-multithreading/133025)

<div class="topic-metadata">

**Author:** [@freestatelabs](https://discourse.julialang.org/u/freestatelabs)\
**Replies:** 2\
**Last updated:** [October 10, 2025, 2:21am UTC](https://discourse.julialang.org/t/does-julia-blas-dgemv-use-multithreading/133025 "2025-10-10T02:21:14Z")

</div>

Question about DGEMV called via Julia’s BLAS link: I’m teaching myself some performance programming practices in C. I wanted to use Julia’s BLAS to benchmark my work against, for convenience. I’m developing on MacOS (M1…

---

## [\[ANN\] Bonito.jl](https://discourse.julialang.org/t/ann-bonito-jl/132946)

<div class="topic-metadata">

**Author:** [@sdanisch](https://discourse.julialang.org/u/sdanisch)\
**Replies:** 10\
**Last updated:** [October 10, 2025, 1:43am UTC](https://discourse.julialang.org/t/ann-bonito-jl/132946 "2025-10-10T01:43:33Z")

</div>

Bonito has been on a journey from being a pretty neglected prototype to something offering similar functionality to established libraries like Shiny/Dash/Streamlit. It is kind of funny, but I don’t think I’ve ever offic…

---

## [PooledArray.PooledVector causing StackOverflowError in GeoStats when using viz/plot, expected?](https://discourse.julialang.org/t/pooledarray-pooledvector-causing-stackoverflowerror-in-geostats-when-using-viz-plot-expected/132962)

<div class="topic-metadata">

**Author:** [@diadora77](https://discourse.julialang.org/u/diadora77)\
**Replies:** 8\
**Last updated:** [October 10, 2025, 12:11am UTC](https://discourse.julialang.org/t/pooledarray-pooledvector-causing-stackoverflowerror-in-geostats-when-using-viz-plot-expected/132962 "2025-10-10T00:11:44Z")

</div>

I ran into a situation that had me going in circle in that GeoStats viz/plot does not play well with PooledArray.PooledVector of anything(?). Situation was reading in a csv file into a dataframe then using GeoStats viz …

---

## [Controlling external monitor brightness using Julia](https://discourse.julialang.org/t/controlling-external-monitor-brightness-using-julia/133031)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 0\
**Last updated:** [October 9, 2025, 11:09pm UTC](https://discourse.julialang.org/t/controlling-external-monitor-brightness-using-julia/133031 "2025-10-09T23:09:27Z")

</div>

I found these software packages that can control brightness, Contrast, Sharpness and temperature etc. of an external monitor. Do such packages also exist in Julia ? Package in Python. Package in C. How to make s…

---

## [Usability improvements in TestItemRunner.@testmodule](https://discourse.julialang.org/t/usability-improvements-in-testitemrunner-testmodule/132513)

<div class="topic-metadata">

**Author:** [@Ken\_Williams](https://discourse.julialang.org/u/Ken_Williams)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 9:53pm UTC](https://discourse.julialang.org/t/usability-improvements-in-testitemrunner-testmodule/132513 "2025-10-09T21:53:29Z")

</div>

There are a couple of usability improvements I’d love to see in the @testmodule functionality from TestItemRunner: The ability to load a testing module from the REPL, so I could do something like TestEnv.activate() lo…

---

## [What is included in the output of \`--trace-compile\`?](https://discourse.julialang.org/t/what-is-included-in-the-output-of-trace-compile/133016)

<div class="topic-metadata">

**Author:** [@lkdvos](https://discourse.julialang.org/u/lkdvos)\
**Replies:** 2\
**Last updated:** [October 9, 2025, 9:47pm UTC](https://discourse.julialang.org/t/what-is-included-in-the-output-of-trace-compile/133016 "2025-10-09T21:47:32Z")

</div>

I’m playing around a bit with the new --trace-compile-timing flag for julia 1.12, and while I am excited about this feature, there are a couple questions I’m having for which I can’t seem to easily find an answer. The s…

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

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