# Latest

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

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

**Page:** 244

---

## [RCall: function / method conflict with R functions](https://discourse.julialang.org/t/rcall-function-method-conflict-with-r-functions/124370)

<div class="topic-metadata">

**Author:** [@hatmatrix](https://discourse.julialang.org/u/hatmatrix)\
**Replies:** 11\
**Last updated:** [January 6, 2025, 4:17pm UTC](https://discourse.julialang.org/t/rcall-function-method-conflict-with-r-functions/124370 "2025-01-06T16:17:18Z")

</div>

Hello everyone, I am trying to figure out the resolution order of conflicting methods, particularly as it regards to the theme function in ggplot2 from R and Plots in Julia. Following up on the question here: I’ve tr…

---

## [Matlab-like code-loading?](https://discourse.julialang.org/t/matlab-like-code-loading/124469)

<div class="topic-metadata">

**Author:** [@Stephen\_Vavasis](https://discourse.julialang.org/u/Stephen_Vavasis)\
**Replies:** 1\
**Last updated:** [January 6, 2025, 4:20pm UTC](https://discourse.julialang.org/t/matlab-like-code-loading/124469 "2025-01-06T16:20:37Z")

</div>

Users of my package need to write small functions and small scripts that invoke those functions. The users are familiar with Matlab, and I would like to mimic Matlab’s code-loading protocol to ease the users’ learning c…

---

## [Intermittent non-Julia error](https://discourse.julialang.org/t/intermittent-non-julia-error/124465)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 5\
**Last updated:** [January 6, 2025, 4:06pm UTC](https://discourse.julialang.org/t/intermittent-non-julia-error/124465 "2025-01-06T16:06:42Z")

</div>

I have a deved copy of XLSX.jl which I’m working on. It currently passes all tests. When I try to use it in my own code, it works some of the time and fails others. This is not a run time failure that produces a normal J…

---

## [JuliaHub Datasets](https://discourse.julialang.org/t/juliahub-datasets/105669)

<div class="topic-metadata">

**Author:** [@HashBrown](https://discourse.julialang.org/u/HashBrown)\
**Replies:** 4\
**Last updated:** [January 6, 2025, 3:27pm UTC](https://discourse.julialang.org/t/juliahub-datasets/105669 "2025-01-06T15:27:56Z")

</div>

This may not be the right place to ask this question, but I think a lot of people who are very active in this forum work at/founded JuliaHub so just posting here for now. I see that there is the ability to load datasets…

---

## [Project.toml with dev used](https://discourse.julialang.org/t/project-toml-with-dev-used/124431)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [January 6, 2025, 3:10pm UTC](https://discourse.julialang.org/t/project-toml-with-dev-used/124431 "2025-01-06T15:10:09Z")

</div>

I have a package that has dependencies on packages from the General registry and other packages developed here. The output of the Pkg.status command is: Status \`C:\\Users\\jakez\\.julia\\dev\\Foo\\Project.toml\` \[a93c6f00\] …

---

## [Openssl artifact carries old openssl version](https://discourse.julialang.org/t/openssl-artifact-carries-old-openssl-version/124420)

<div class="topic-metadata">

**Author:** [@olaca09](https://discourse.julialang.org/u/olaca09)\
**Replies:** 3\
**Last updated:** [January 6, 2025, 2:54pm UTC](https://discourse.julialang.org/t/openssl-artifact-carries-old-openssl-version/124420 "2025-01-06T14:54:47Z")

</div>

I’ve encountered a strange issue, which I suspect might be system specific, but I am not well versed enough in these matters to understand how. My Plots.jl stopped precompiling the other day, together with a handful of …

---

## [How to use \`NonlinearSolve\` to perform least squares fitting?](https://discourse.julialang.org/t/how-to-use-nonlinearsolve-to-perform-least-squares-fitting/124449)

<div class="topic-metadata">

**Author:** [@thudjx](https://discourse.julialang.org/u/thudjx)\
**Replies:** 3\
**Last updated:** [January 6, 2025, 12:50pm UTC](https://discourse.julialang.org/t/how-to-use-nonlinearsolve-to-perform-least-squares-fitting/124449 "2025-01-06T12:50:30Z")

</div>

I am trying to use NonlinearSolve to perform least squares fitting, as shown in this example. One difference from that is in the model function, I have performed some operations on a matrix. And as shown in the figure be…

---

## [JuliaHub at SciTech 2025](https://discourse.julialang.org/t/juliahub-at-scitech-2025/124456)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [January 6, 2025, 1:18am UTC](https://discourse.julialang.org/t/juliahub-at-scitech-2025/124456 "2025-01-06T01:18:10Z")

</div>

Hey all, JuliaHub will be at SciTech 2025 at Orlando from Jan 6 - 10, 2025. We are setting up a booth (Booth #514) and have two presentations as well! Active Learning Enhanced Surrogate Modeling of Jet Engines in Juli…

---

## [Why rank 0 cannot receive stdin input?](https://discourse.julialang.org/t/why-rank-0-cannot-receive-stdin-input/124450)

<div class="topic-metadata">

**Author:** [@Blumenkranz](https://discourse.julialang.org/u/Blumenkranz)\
**Replies:** 3\
**Last updated:** [January 6, 2025, 10:22am UTC](https://discourse.julialang.org/t/why-rank-0-cannot-receive-stdin-input/124450 "2025-01-06T10:22:58Z")

</div>

using MPI input\_channel = Channel{String}(1) test = Ref(false) function listen\_for\_input() @async begin println("Rank 0: Listening for input...") while true input = readline(stdin) …

---

## [ODE solving is fast on DifferentialEquation@7.9.0 but significantly slower on later versions](https://discourse.julialang.org/t/ode-solving-is-fast-on-differentialequation-7-9-0-but-significantly-slower-on-later-versions/124377)

<div class="topic-metadata">

**Author:** [@equi](https://discourse.julialang.org/u/equi)\
**Replies:** 10\
**Last updated:** [January 6, 2025, 10:12am UTC](https://discourse.julialang.org/t/ode-solving-is-fast-on-differentialequation-7-9-0-but-significantly-slower-on-later-versions/124377 "2025-01-06T10:12:14Z")

</div>

When solving the same ODE (a 100-dimensional strongly slow-fast system, where the non-smooth component is approximated using hyperbolic tangent function ) problem using DifferentialEquations.jl , I noticed that ODE solvi…

---

## [Big performance slowdown increasing Julia threads but keeping parallelism the same?](https://discourse.julialang.org/t/big-performance-slowdown-increasing-julia-threads-but-keeping-parallelism-the-same/124385)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 4\
**Last updated:** [January 3, 2025, 1:19pm UTC](https://discourse.julialang.org/t/big-performance-slowdown-increasing-julia-threads-but-keeping-parallelism-the-same/124385 "2025-01-03T13:19:30Z")

</div>

I have some code for processing files in parallel like so (simplified): function process\_files\_parallel(paths, n\_parallel = 12) # create to-do list todo\_channel = Channel{eltype(paths)}(length(paths)) for p …

---

## [Speculator.jl: Reduce latency through speculative compilation](https://discourse.julialang.org/t/speculator-jl-reduce-latency-through-speculative-compilation/124344)

<div class="topic-metadata">

**Author:** [@jakobjpeters](https://discourse.julialang.org/u/jakobjpeters)\
**Replies:** 17\
**Last updated:** [January 6, 2025, 1:51am UTC](https://discourse.julialang.org/t/speculator-jl-reduce-latency-through-speculative-compilation/124344 "2025-01-06T01:51:40Z")

</div>

Introduction Hi everyone! I’m excited to announce Speculator.jl, which reduces latency by automatically searching for compilable method specializations. Features The primary feature is the function speculate. It wi…

---

## [How to avoid catastrophic cancellation Bessel Integrals](https://discourse.julialang.org/t/how-to-avoid-catastrophic-cancellation-bessel-integrals/124363)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 2\
**Last updated:** [January 5, 2025, 11:52pm UTC](https://discourse.julialang.org/t/how-to-avoid-catastrophic-cancellation-bessel-integrals/124363 "2025-01-05T23:52:51Z")

</div>

Recently, I needed to evaluate some integrals involving linear combinations of J\_m and Y\_m. There are well-known analytical expressions for those, which are However, I am finding that when \\alpha and \\beta are very c…

---

## [Unable to install NeuralPDE](https://discourse.julialang.org/t/unable-to-install-neuralpde/124432)

<div class="topic-metadata">

**Author:** [@StarecZosima](https://discourse.julialang.org/u/StarecZosima)\
**Replies:** 4\
**Last updated:** [January 5, 2025, 10:20pm UTC](https://discourse.julialang.org/t/unable-to-install-neuralpde/124432 "2025-01-05T22:20:41Z")

</div>

I am trying to install NeuralPDE on my MacOS M1 machine and regretfully running into an error. I first tried Pkg.add("NeuralPDE") on a Jupyter notebook and the relevant part of the traceback seems Error building \`FFM…

---

## [Building a deb package out of PackageCompiler generated binary](https://discourse.julialang.org/t/building-a-deb-package-out-of-packagecompiler-generated-binary/124187)

<div class="topic-metadata">

**Author:** [@Lior\_Assouline](https://discourse.julialang.org/u/Lior_Assouline)\
**Replies:** 3\
**Last updated:** [January 5, 2025, 4:17pm UTC](https://discourse.julialang.org/t/building-a-deb-package-out-of-packagecompiler-generated-binary/124187 "2025-01-05T16:17:53Z")

</div>

Hi All, I’m looking for the old and and wise in this forum for a specific issue I’m running when trying to package a binary generated with PackageCompiler into a regular deb pkg. In shlibdeps stage the deb packger trie…

---

## [How to run RISC-V Julia on other architectures?](https://discourse.julialang.org/t/how-to-run-risc-v-julia-on-other-architectures/124399)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 4\
**Last updated:** [January 5, 2025, 3:00pm UTC](https://discourse.julialang.org/t/how-to-run-risc-v-julia-on-other-architectures/124399 "2025-01-05T15:00:48Z")

</div>

I want to try RISC-V Julia on my laptop which have x86-64 architecture. How to run RISC-V Julia on other architectures also?

---

## [Using PackageCompiler Header file time modified even content not changed using force](https://discourse.julialang.org/t/using-packagecompiler-header-file-time-modified-even-content-not-changed-using-force/124441)

<div class="topic-metadata">

**Author:** [@xgdgsc](https://discourse.julialang.org/u/xgdgsc)\
**Replies:** 1\
**Last updated:** [January 5, 2025, 2:00pm UTC](https://discourse.julialang.org/t/using-packagecompiler-header-file-time-modified-even-content-not-changed-using-force/124441 "2025-01-05T14:00:00Z")

</div>

Currently the build command create\_library(".", "MyLib"; lib\_name="libmine", precompile\_execution\_file="build/generate\_precompile.jl", precompile\_statements\_file="build/additional\_precompile.jl", header\_…

---

## [How to sort NTuple](https://discourse.julialang.org/t/how-to-sort-ntuple/11535)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 5\
**Last updated:** [January 5, 2025, 12:57pm UTC](https://discourse.julialang.org/t/how-to-sort-ntuple/11535 "2025-01-05T12:57:53Z")

</div>

I have several integers input from a function like this function foo(a::Int...) end How do I sort a? I have to collect it first and sort it as a vector at the moment. Will it possible to sort it directly?

---

## [Note on eachindex behavior with GroupedDataFrame](https://discourse.julialang.org/t/note-on-eachindex-behavior-with-groupeddataframe/124439)

<div class="topic-metadata">

**Author:** [@George9000](https://discourse.julialang.org/u/George9000)\
**Replies:** 1\
**Last updated:** [January 5, 2025, 10:56am UTC](https://discourse.julialang.org/t/note-on-eachindex-behavior-with-groupeddataframe/124439 "2025-01-05T10:56:04Z")

</div>

eachindex used on a GroupedDataFrame, returns a GroupKey, such as GroupKey: (site = 'b',). When using the indices to create figure layouts in Makie or other plotting packages, (Axis(fig\[i, 1\]), one should explicitly ask…

---

## [Changing font size when using julia-mono-listings](https://discourse.julialang.org/t/changing-font-size-when-using-julia-mono-listings/119861)

<div class="topic-metadata">

**Author:** [@pao](https://discourse.julialang.org/u/pao)\
**Replies:** 2\
**Last updated:** [January 5, 2025, 9:08am UTC](https://discourse.julialang.org/t/changing-font-size-when-using-julia-mono-listings/119861 "2025-01-05T09:08:15Z")

</div>

Hi, folks anybody knows how to change the font size when using julia-mono-listings to write Julia codes in articles and books? The default looks too big for two-columns typesetting. The standard LaTeX commands (\\sm…

---

## ["Quality of life" functions for CUDA.jl or GPUArrays.jl](https://discourse.julialang.org/t/quality-of-life-functions-for-cuda-jl-or-gpuarrays-jl/124220)

<div class="topic-metadata">

**Author:** [@anprasad](https://discourse.julialang.org/u/anprasad)\
**Replies:** 1\
**Last updated:** [January 5, 2025, 8:35am UTC](https://discourse.julialang.org/t/quality-of-life-functions-for-cuda-jl-or-gpuarrays-jl/124220 "2025-01-05T08:35:26Z")

</div>

First off, I want to thank the maintainers of JuliaGPU for the unbelievable work they’re doing. Even for someone like me who’s just beginning to write basic GPU kernels, it’s been easier and more illuminating to do so in…

---

## [Call libcuda cuLaunchKernel from Julia](https://discourse.julialang.org/t/call-libcuda-culaunchkernel-from-julia/124314)

<div class="topic-metadata">

**Author:** [@miniskar](https://discourse.julialang.org/u/miniskar)\
**Replies:** 2\
**Last updated:** [January 5, 2025, 8:30am UTC](https://discourse.julialang.org/t/call-libcuda-culaunchkernel-from-julia/124314 "2025-01-05T08:30:55Z")

</div>

I am trying to analyze the overheads of launching a CUDA task from Julia and also from C++. I see some gaps in Julia after successive launch of CUDA “saxpy\_cuda” kernel to non-blocking streams. I am wondering if it is be…

---

## [Matrix diagonalization (linear algebra)](https://discourse.julialang.org/t/matrix-diagonalization-linear-algebra/124405)

<div class="topic-metadata">

**Author:** [@fanzhy171](https://discourse.julialang.org/u/fanzhy171)\
**Replies:** 24\
**Last updated:** [January 5, 2025, 8:11am UTC](https://discourse.julialang.org/t/matrix-diagonalization-linear-algebra/124405 "2025-01-05T08:11:00Z")

</div>

Hello everyone, I have a problem related to using Linear algebra package to help me diagonalize a matrix. Normally, one would use function like eig(). But as I found out that the returned eigenvalues are sorted automatic…

---

## [Identifying barriers to new contributions to Julia and its ecosystem](https://discourse.julialang.org/t/identifying-barriers-to-new-contributions-to-julia-and-its-ecosystem/124342)

<div class="topic-metadata">

**Author:** [@Lilith](https://discourse.julialang.org/u/Lilith)\
**Replies:** 14\
**Last updated:** [January 5, 2025, 7:25am UTC](https://discourse.julialang.org/t/identifying-barriers-to-new-contributions-to-julia-and-its-ecosystem/124342 "2025-01-05T07:25:42Z")

</div>

Hey folks, I’ve been investigating pathways to contribution to the Julia ecosystem. Specifically, I’m looking for barriers to new contributors joining open source Julia projects and how to alleviate them. If you have id…

---

## [Blackbox optim: customize stopping rule](https://discourse.julialang.org/t/blackbox-optim-customize-stopping-rule/124440)

<div class="topic-metadata">

**Author:** [@jgr](https://discourse.julialang.org/u/jgr)\
**Replies:** 0\
**Last updated:** [January 5, 2025, 5:44am UTC](https://discourse.julialang.org/t/blackbox-optim-customize-stopping-rule/124440 "2025-01-05T05:44:24Z")

</div>

Hi, I am using “bboptimize” in Julia for minimization. I tried to change the tolerance rule by setting FitnessTol=tol, result = bboptimize(funcblackbox; MaxSteps = maxiter, FitnessTol=tol) The problem I…

---

## [How to define vector-valued @operator in JuMP](https://discourse.julialang.org/t/how-to-define-vector-valued-operator-in-jump/124438)

<div class="topic-metadata">

**Author:** [@Rick](https://discourse.julialang.org/u/Rick)\
**Replies:** 4\
**Last updated:** [January 5, 2025, 4:43am UTC](https://discourse.julialang.org/t/how-to-define-vector-valued-operator-in-jump/124438 "2025-01-05T04:43:07Z")

</div>

Hi, I am trying to solve a nonlinear model using JuMP. Part of the constraints come from the gradient of a nonlinear function. I am trying to compute it using ForwardDiff. As such, I need to define an operator and then …

---

## [Get plot coordinates of a GLMakie mouse event](https://discourse.julialang.org/t/get-plot-coordinates-of-a-glmakie-mouse-event/124437)

<div class="topic-metadata">

**Author:** [@janonime](https://discourse.julialang.org/u/janonime)\
**Replies:** 0\
**Last updated:** [January 4, 2025, 11:26pm UTC](https://discourse.julialang.org/t/get-plot-coordinates-of-a-glmakie-mouse-event/124437 "2025-01-04T23:26:50Z")

</div>

It is easy to get the position of a mouse event in pixel coordinates: using GLMakie fig = Figure() ax = Axis(fig\[1,1\]) on(events(ax).mousebutton) do event if event.button == Mouse.left if event.action == M…

---

## [Storing sortedness for numeric vectors](https://discourse.julialang.org/t/storing-sortedness-for-numeric-vectors/124381)

<div class="topic-metadata">

**Author:** [@ajinkya-k](https://discourse.julialang.org/u/ajinkya-k)\
**Replies:** 14\
**Last updated:** [January 4, 2025, 11:07pm UTC](https://discourse.julialang.org/t/storing-sortedness-for-numeric-vectors/124381 "2025-01-04T23:07:17Z")

</div>

Hello! I was wondering if it would be a good idea to store whether a numeric Vector is sorted in the vector struct itself. The current implementation Vector has the fields (:ref,:size), what I am suggesting for numeric …

---

## [Neovim tree-sitter error when loading julia file: invalid node type "function\_expression"](https://discourse.julialang.org/t/neovim-tree-sitter-error-when-loading-julia-file-invalid-node-type-function-expression/122864)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 8\
**Last updated:** [January 4, 2025, 6:58pm UTC](https://discourse.julialang.org/t/neovim-tree-sitter-error-when-loading-julia-file-invalid-node-type-function-expression/122864 "2025-01-04T18:58:21Z")

</div>

After updating my neovim setup I get the following error My guess is I am not alone here (?) Searching a bit around I think a fix is already available from this commit But I don’t know when this will land to the l…

---

## [Precompilation errors while adding self-developed package to another package](https://discourse.julialang.org/t/precompilation-errors-while-adding-self-developed-package-to-another-package/124028)

<div class="topic-metadata">

**Author:** [@jmaedler](https://discourse.julialang.org/u/jmaedler)\
**Replies:** 7\
**Last updated:** [January 4, 2025, 6:53pm UTC](https://discourse.julialang.org/t/precompilation-errors-while-adding-self-developed-package-to-another-package/124028 "2025-01-04T18:53:02Z")

</div>

Hi folks, I am still fairly new to Julia… especially to package development. Currently, I am running into an issue while adding a package with some ModelingToolkit model library I developed myself. When I try to precomp…

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

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