# Latest

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

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

**Page:** 428

---

## [/dev/gpiomem error for BaremetalPi (Mmap.mmap regression)](https://discourse.julialang.org/t/dev-gpiomem-error-for-baremetalpi-mmap-mmap-regression/112611)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 8\
**Last updated:** [April 23, 2024, 10:55am UTC](https://discourse.julialang.org/t/dev-gpiomem-error-for-baremetalpi-mmap-mmap-regression/112611 "2024-04-23T10:55:58Z")

</div>

On a Raspberry PI 4 with 8 gig memory, I have upgraded the OS to Bookworm. Now when I execute the function init\_gpio() it gives me the error Could not map /dev/gpiomem . Make sure you have the required permissions. W…

---

## [Using CUDA hangs with P100 GPU](https://discourse.julialang.org/t/using-cuda-hangs-with-p100-gpu/113337)

<div class="topic-metadata">

**Author:** [@Donald](https://discourse.julialang.org/u/Donald)\
**Replies:** 2\
**Last updated:** [April 23, 2024, 9:53am UTC](https://discourse.julialang.org/t/using-cuda-hangs-with-p100-gpu/113337 "2024-04-23T09:53:01Z")

</div>

Hello. I’m trying to install CUDA.jl inside an interactive session on a cluster node with an NVIDIA Tesla P100 GPU. The output of nvidia-smi is +--------------------------------------------------------------------------…

---

## [MPI error for compiled bundle](https://discourse.julialang.org/t/mpi-error-for-compiled-bundle/113380)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 0\
**Last updated:** [April 23, 2024, 8:53am UTC](https://discourse.julialang.org/t/mpi-error-for-compiled-bundle/113380 "2024-04-23T08:53:43Z")

</div>

Because I use MPI.jl in my code, the compiled bundle will contain MPI in it, and I’ve always been using that MPI for consistence. However, recently this MPI fails. After some digging, I think the problem is in the 4.2.0+…

---

## [Learning Julia for scientists who are beginning programmers](https://discourse.julialang.org/t/learning-julia-for-scientists-who-are-beginning-programmers/108638)

<div class="topic-metadata">

**Author:** [@austin-putz](https://discourse.julialang.org/u/austin-putz)\
**Replies:** 43\
**Last updated:** [April 23, 2024, 7:21am UTC](https://discourse.julialang.org/t/learning-julia-for-scientists-who-are-beginning-programmers/108638 "2024-04-23T07:21:46Z")

</div>

Many of us coming from a biological field have taken 0 programming courses. So we will need to learn from books and online manuals that teach programming with Julia as the only language to understand. Most of us never de…

---

## [BLAS vs Threads on a cluster](https://discourse.julialang.org/t/blas-vs-threads-on-a-cluster/113332)

<div class="topic-metadata">

**Author:** [@SpuriousEigenstate](https://discourse.julialang.org/u/SpuriousEigenstate)\
**Replies:** 6\
**Last updated:** [April 23, 2024, 8:06am UTC](https://discourse.julialang.org/t/blas-vs-threads-on-a-cluster/113332 "2024-04-23T08:06:29Z")

</div>

I’m developing a script which, at its core, is mainly diagonalizing a large number of Hermitian matrices, i.e., eigen(Hermitian(A)). I want to run the code on a cluster (on a single machine, 96 threads) and am looking in…

---

## [Parameter bounds and confidence intervals in LsqFit.jl?](https://discourse.julialang.org/t/parameter-bounds-and-confidence-intervals-in-lsqfit-jl/113366)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 1\
**Last updated:** [April 23, 2024, 7:40am UTC](https://discourse.julialang.org/t/parameter-bounds-and-confidence-intervals-in-lsqfit-jl/113366 "2024-04-23T07:40:03Z")

</div>

HI all, I’m trying to use LsqFit.jl to fit a model in the form of: model(t, p) = @. p\[1\] \* t^3 + p\[2\] \* t + p\[5\]\*sin(2\*π\*p\[3\]\*t + p\[4\]) However, I need p\[4\] to be strictly between 0 and pi. Is it possible to do it? I…

---

## [Typevariables - how about \`struct MyType{T isa MyEnum} end\`?](https://discourse.julialang.org/t/typevariables-how-about-struct-mytype-t-isa-myenum-end/113340)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 1\
**Last updated:** [April 23, 2024, 4:58am UTC](https://discourse.julialang.org/t/typevariables-how-about-struct-mytype-t-isa-myenum-end/113340 "2024-04-23T04:58:30Z")

</div>

Hi there, I am thinking about a good way to selfdocument type variables. My first attempt is using @enum, but it seems this is not really useful, as the different enum instances are values and no types and hence cannot …

---

## [Hybrid Sorting Algorithmn Timsort and Introsort](https://discourse.julialang.org/t/hybrid-sorting-algorithmn-timsort-and-introsort/113365)

<div class="topic-metadata">

**Author:** [@StevenSiew](https://discourse.julialang.org/u/StevenSiew)\
**Replies:** 2\
**Last updated:** [April 23, 2024, 3:20am UTC](https://discourse.julialang.org/t/hybrid-sorting-algorithmn-timsort-and-introsort/113365 "2024-04-23T03:20:12Z")

</div>

Does anyone know if there is a package to implement this two hybrid sorting algorithmn in Julia. I noticed that it is NOT implemented in the BASE sort function in Julia. Timsort - Wikipedia (used by Python) Introsort …

---

## [S3 Multipart Upload failed with SignatureDoesNotMatch error](https://discourse.julialang.org/t/s3-multipart-upload-failed-with-signaturedoesnotmatch-error/113363)

<div class="topic-metadata">

**Author:** [@Chamika\_Kasun](https://discourse.julialang.org/u/Chamika_Kasun)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 11:14pm UTC](https://discourse.julialang.org/t/s3-multipart-upload-failed-with-signaturedoesnotmatch-error/113363 "2024-04-22T23:14:24Z")

</div>

I tried to do the multipart upload with the S3 methods as follows using AWS.ji library, but every time it gives me the following error, appreciate if someone can point out the mistake that I’ve made. \<Error\>\<Code\>Signat…

---

## [Solving the 4 quadrants of dynamic optimization problems in Julia. Help Wanted!](https://discourse.julialang.org/t/solving-the-4-quadrants-of-dynamic-optimization-problems-in-julia-help-wanted/73285)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 35\
**Last updated:** [April 22, 2024, 10:54pm UTC](https://discourse.julialang.org/t/solving-the-4-quadrants-of-dynamic-optimization-problems-in-julia-help-wanted/73285 "2024-04-22T22:54:24Z")

</div>

Solving dynamic optimization problems is at the heart of economics (and many other fields). The goal of this post is to explore various tools for solving dynamic optimization problems in the Julia Eco-system and to hope…

---

## [Community package for Delaunay triangulation and Voronoi cells](https://discourse.julialang.org/t/community-package-for-delaunay-triangulation-and-voronoi-cells/113249)

<div class="topic-metadata">

**Author:** [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Replies:** 9\
**Last updated:** [April 22, 2024, 9:45pm UTC](https://discourse.julialang.org/t/community-package-for-delaunay-triangulation-and-voronoi-cells/113249 "2024-04-22T21:45:13Z")

</div>

I have been using a variety of julia packages for delaunnay triangulations and voronoi cell generation, all of which seem to become deprecated. First, I used VoronoiCells, but it is pretty limited in its implementation, …

---

## [Multithreading: cannot access struct member in another thread in ModernGL/GLFW app](https://discourse.julialang.org/t/multithreading-cannot-access-struct-member-in-another-thread-in-moderngl-glfw-app/113359)

<div class="topic-metadata">

**Author:** [@karna48](https://discourse.julialang.org/u/karna48)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 8:42pm UTC](https://discourse.julialang.org/t/multithreading-cannot-access-struct-member-in-another-thread-in-moderngl-glfw-app/113359 "2024-04-22T20:42:40Z")

</div>

I’m trying to play audio in another thread using WAV.jl via @Threads.spawn . I do run julia with multiple threads via --threads parameter. (referenced data: SnakeGameCollection/common\_data at main · karna48/SnakeGameCo…

---

## [ModelingToolkit and Linearization](https://discourse.julialang.org/t/modelingtoolkit-and-linearization/113241)

<div class="topic-metadata">

**Author:** [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Replies:** 15\
**Last updated:** [April 22, 2024, 7:44pm UTC](https://discourse.julialang.org/t/modelingtoolkit-and-linearization/113241 "2024-04-22T19:44:18Z")

</div>

Continuing a former discussion in Optimization of parameters of a dynamic problem with ModelingToolkit - #4 by BambOoxX, I’m now trying to model and linearize a mass-spring-damper system as an example to test MTKs capabi…

---

## [Vector of vector of gradients](https://discourse.julialang.org/t/vector-of-vector-of-gradients/113348)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 2\
**Last updated:** [April 22, 2024, 6:37pm UTC](https://discourse.julialang.org/t/vector-of-vector-of-gradients/113348 "2024-04-22T18:37:08Z")

</div>

I am to extend the scalar case of a gradient of a function, i.e., foo = Vector{Function}(undef,2) gnu = Vector{Function}(undef,2) foo\[1\] = (x,y) -\> x+y foo\[2\] = (x,y) -\> x-y A = \[1. 2.; 3. 4.\] gnu = (x,y) -\> B \* \[foo\[…

---

## [Julia 1.10.3 testing period](https://discourse.julialang.org/t/julia-1-10-3-testing-period/113354)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 6:09pm UTC](https://discourse.julialang.org/t/julia-1-10-3-testing-period/113354 "2024-04-22T18:09:18Z")

</div>

The release-1.10 branch on the Julia repository now contains the set of commits we’re planning to tag as v1.10.3. The list of commits included since v1.10.2 is available here . As a patch release, it should be non-breaki…

---

## [ArbNumerics.jl | questions regarding use](https://discourse.julialang.org/t/arbnumerics-jl-questions-regarding-use/113320)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 8:11am UTC](https://discourse.julialang.org/t/arbnumerics-jl-questions-regarding-use/113320 "2024-04-22T08:11:35Z")

</div>

Hello, WSL 2 | Ubuntu 22.04.4 Julia 1.10.2 ArbNumerics 1.5.0 My first go at using extended precision in Julia. Ball arithmetic as implemented in the package ArbNumerics.jl is the method that I would like to use. To…

---

## [How to install NeuralOperators as a CPU-Version?](https://discourse.julialang.org/t/how-to-install-neuraloperators-as-a-cpu-version/113283)

<div class="topic-metadata">

**Author:** [@Andrew-Milestone](https://discourse.julialang.org/u/Andrew-Milestone)\
**Replies:** 3\
**Last updated:** [April 22, 2024, 4:52pm UTC](https://discourse.julialang.org/t/how-to-install-neuraloperators-as-a-cpu-version/113283 "2024-04-22T16:52:26Z")

</div>

Hello, i’m new to using julia, but have extensive experience in python and mathematica. unfortunately, i have an old laptop with a non-cuda compatible graphics card. so i’d like to include the NeuralOperators package as…

---

## [Resize widgets in gtk.jl](https://discourse.julialang.org/t/resize-widgets-in-gtk-jl/113346)

<div class="topic-metadata">

**Author:** [@Votline](https://discourse.julialang.org/u/Votline)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 3:54pm UTC](https://discourse.julialang.org/t/resize-widgets-in-gtk-jl/113346 "2024-04-22T15:54:36Z")

</div>

How can I change the size of the widget or set a fixed value for the window (so that it is not stretched by widgets)? (resize!(win, x, y) does not set a fixed value))

---

## [Do not launch browser when plotting with WGLMakie](https://discourse.julialang.org/t/do-not-launch-browser-when-plotting-with-wglmakie/113344)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 3:24pm UTC](https://discourse.julialang.org/t/do-not-launch-browser-when-plotting-with-wglmakie/113344 "2024-04-22T15:24:37Z")

</div>

Following the docs I cannot seem to find a way to block the browser from launching when I plot something in the server using WGLMakie. Since I always log in using x-forwarding with ssh this terribly slows done my machine…

---

## [My function works on it's own but not in NonLinearSolve](https://discourse.julialang.org/t/my-function-works-on-its-own-but-not-in-nonlinearsolve/113204)

<div class="topic-metadata">

**Author:** [@Laura](https://discourse.julialang.org/u/Laura)\
**Replies:** 10\
**Last updated:** [April 22, 2024, 3:13pm UTC](https://discourse.julialang.org/t/my-function-works-on-its-own-but-not-in-nonlinearsolve/113204 "2024-04-22T15:13:41Z")

</div>

I have a set of equations that I would like to solve using the non linear equation solver NonLinearSolve.jl. I have writen a function for this which runs fine on it’s own but when I try to solve it I get an error message…

---

## [Installation Issues for TidierDB with Tidier](https://discourse.julialang.org/t/installation-issues-for-tidierdb-with-tidier/112967)

<div class="topic-metadata">

**Author:** [@jjAtNxtPt](https://discourse.julialang.org/u/jjAtNxtPt)\
**Replies:** 6\
**Last updated:** [April 22, 2024, 2:53pm UTC](https://discourse.julialang.org/t/installation-issues-for-tidierdb-with-tidier/112967 "2024-04-22T14:53:47Z")

</div>

I’m pretty new to using Julia and was trying to test out the Tidier packages and add in the TidierDB. However, when I try to add the TidierDB package after already having Tidier installed I get a requirements issue. It…

---

## [Performance issue: Axelrod model of dissemination of culture optimization](https://discourse.julialang.org/t/performance-issue-axelrod-model-of-dissemination-of-culture-optimization/113326)

<div class="topic-metadata">

**Author:** [@alex180500](https://discourse.julialang.org/u/alex180500)\
**Replies:** 6\
**Last updated:** [April 22, 2024, 1:30pm UTC](https://discourse.julialang.org/t/performance-issue-axelrod-model-of-dissemination-of-culture-optimization/113326 "2024-04-22T13:30:40Z")

</div>

Hello! I’m implementing an Agent Based Model (axelrod model of dissemination of culture). Every node has an associated vector of “opinions” (data) on different subjects (number of features is feat). Each step two nodes a…

---

## [Display plot in GTK without saving to PNG](https://discourse.julialang.org/t/display-plot-in-gtk-without-saving-to-png/113330)

<div class="topic-metadata">

**Author:** [@C1wan](https://discourse.julialang.org/u/C1wan)\
**Replies:** 1\
**Last updated:** [April 22, 2024, 1:07pm UTC](https://discourse.julialang.org/t/display-plot-in-gtk-without-saving-to-png/113330 "2024-04-22T13:07:13Z")

</div>

Hello, I have an application where I display a plot in a GTK window, but for that I save it in a png with savefig and CairoImageSurface. Now I want do display the plot without saving i to a PNG file. Normally this shou…

---

## [Why does julia launch kernel threads?](https://discourse.julialang.org/t/why-does-julia-launch-kernel-threads/113053)

<div class="topic-metadata">

**Author:** [@SpuriousEigenstate](https://discourse.julialang.org/u/SpuriousEigenstate)\
**Replies:** 5\
**Last updated:** [April 22, 2024, 12:26pm UTC](https://discourse.julialang.org/t/why-does-julia-launch-kernel-threads/113053 "2024-04-22T12:26:52Z")

</div>

I’m currently trying to parallelize my code to run on a cluster, and using Threads.@threads. I noticed that in htop the cpu usage indicates that the running threads are “kernel threads” (red), meaning (insofar I underst…

---

## [SciML NumFOCUS small development grant: Collocation Methods for Boundary Value Differential-Algebraic Equations](https://discourse.julialang.org/t/sciml-numfocus-small-development-grant-collocation-methods-for-boundary-value-differential-algebraic-equations/113329)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 0\
**Last updated:** [April 22, 2024, 11:08am UTC](https://discourse.julialang.org/t/sciml-numfocus-small-development-grant-collocation-methods-for-boundary-value-differential-algebraic-equations/113329 "2024-04-22T11:08:03Z")

</div>

I am happy to announce the latest funded project in SciML: Collocation Methods for Boundary Value Differential-Algebraic Equations. This is highly requested functionality and thus I am happy to announce our plans to buil…

---

## [JuMP.jl vs Optimization.jl](https://discourse.julialang.org/t/jump-jl-vs-optimization-jl/112736)

<div class="topic-metadata">

**Author:** [@aris](https://discourse.julialang.org/u/aris)\
**Replies:** 17\
**Last updated:** [April 22, 2024, 9:33am UTC](https://discourse.julialang.org/t/jump-jl-vs-optimization-jl/112736 "2024-04-22T09:33:23Z")

</div>

Hello everyone, Not sure whether anyone else has the same problem, but I find it a bit hard to understand what’s the actual difference between Optimization.jl and JuMP.jl. To my untrained eye, it seems like they both o…

---

## [Deep learning in Julia](https://discourse.julialang.org/t/deep-learning-in-julia/112844)

<div class="topic-metadata">

**Author:** [@cpfiffer](https://discourse.julialang.org/u/cpfiffer)\
**Replies:** 35\
**Last updated:** [April 22, 2024, 9:11am UTC](https://discourse.julialang.org/t/deep-learning-in-julia/112844 "2024-04-22T09:11:44Z")

</div>

I’m been wondering about the general status of the deep learning ecosystem in Julia. We obviously have the big project Flux.jl, as well as a similar but mutable version in Lux.jl. I bring this up because it would be FAN…

---

## [JuliaUserGroupMunich: Giovanni Pagliarini - Modal Decision Trees & Forests](https://discourse.julialang.org/t/juliausergroupmunich-giovanni-pagliarini-modal-decision-trees-forests/112411)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [April 22, 2024, 9:05am UTC](https://discourse.julialang.org/t/juliausergroupmunich-giovanni-pagliarini-modal-decision-trees-forests/112411 "2024-04-22T09:05:19Z")

</div>

:round\_pushpin:online, organized via meetup :spiral\_calendar: Monday 15. April 2024 :clock4: CET 16:00 Modal Decision Trees & Forests ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ It is about interpretable models for native time-series & …

---

## [Spending a lot of time resetting and reduction of arrays in custom simulation](https://discourse.julialang.org/t/spending-a-lot-of-time-resetting-and-reduction-of-arrays-in-custom-simulation/113073)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 8\
**Last updated:** [April 22, 2024, 8:06am UTC](https://discourse.julialang.org/t/spending-a-lot-of-time-resetting-and-reduction-of-arrays-in-custom-simulation/113073 "2024-04-22T08:06:59Z")

</div>

Hello! I am using TimerOutputs.jl to time the performance of specific componenets, which to be clear is really awesome and great. It has made me aware of how long I actually spend setting values back to zero: …

---

## [Julia in VSCode takes ages to first execution](https://discourse.julialang.org/t/julia-in-vscode-takes-ages-to-first-execution/113299)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 3\
**Last updated:** [April 22, 2024, 7:10am UTC](https://discourse.julialang.org/t/julia-in-vscode-takes-ages-to-first-execution/113299 "2024-04-22T07:10:42Z")

</div>

Hi there, I don’t quite know if that’s a Julia issue or a general VS Code issue. So let me explain the behaviour: I open VS Code and therein a Julia script. I do Shift + Enter to execute a line and then I have to wait …

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

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