# Latest

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

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

**Page:** 116

---

## [Agents.jl: OpenStreetMaps example of zombie outbreak not running](https://discourse.julialang.org/t/agents-jl-openstreetmaps-example-of-zombie-outbreak-not-running/131909)

<div class="topic-metadata">

**Author:** [@xlejx-rodsxn](https://discourse.julialang.org/u/xlejx-rodsxn)\
**Replies:** 7\
**Last updated:** [September 1, 2025, 1:59pm UTC](https://discourse.julialang.org/t/agents-jl-openstreetmaps-example-of-zombie-outbreak-not-running/131909 "2025-09-01T13:59:01Z")

</div>

Hi, currently learning Julia and the Agents.jl library. So far, I’ve managed to reproduce other examples in the package tutorials, so I guess it has nothing to do with versions(?). The code is taken from Zombie Outbreak…

---

## [Performance implications of computations in keyword arguments](https://discourse.julialang.org/t/performance-implications-of-computations-in-keyword-arguments/131977)

<div class="topic-metadata">

**Author:** [@loisel](https://discourse.julialang.org/u/loisel)\
**Replies:** 9\
**Last updated:** [September 1, 2025, 11:54am UTC](https://discourse.julialang.org/t/performance-implications-of-computations-in-keyword-arguments/131977 "2025-09-01T11:54:19Z")

</div>

Long story short, I’m putting my entire function into default values of keyword arguments, and I want to know if this is bad. I’m working on a Julia package to solve PDEs. The “driver code” of such solvers often has a z…

---

## [Failure to download artifact: CUDA\_Compiler](https://discourse.julialang.org/t/failure-to-download-artifact-cuda-compiler/131580)

<div class="topic-metadata">

**Author:** [@mukund-gupta](https://discourse.julialang.org/u/mukund-gupta)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 11:19am UTC](https://discourse.julialang.org/t/failure-to-download-artifact-cuda-compiler/131580 "2025-09-01T11:19:14Z")

</div>

Hi everyone, I am new to CUDA.jl and am receiving the following error issues when performing using CUDA on a GPU node of a Linux cluster. Precompiling CUDA... 22064.9 ms ✓ InvertedIndices 22158.5 ms ✓ LaTeXString…

---

## [Understanding random numbers in a GPU kernel](https://discourse.julialang.org/t/understanding-random-numbers-in-a-gpu-kernel/131771)

<div class="topic-metadata">

**Author:** [@jwtkeeble](https://discourse.julialang.org/u/jwtkeeble)\
**Replies:** 4\
**Last updated:** [September 1, 2025, 11:15am UTC](https://discourse.julialang.org/t/understanding-random-numbers-in-a-gpu-kernel/131771 "2025-09-01T11:15:41Z")

</div>

Hi All, I’m trying to understand the use of random numbers inside CUDA kerrnels in Julia. Below I have a simple script to estimate pi, but I have a few questions regarding its implementation. Is my implementation of r…

---

## [Custom color palette (including associated value range)](https://discourse.julialang.org/t/custom-color-palette-including-associated-value-range/131949)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 3\
**Last updated:** [August 31, 2025, 8:37pm UTC](https://discourse.julialang.org/t/custom-color-palette-including-associated-value-range/131949 "2025-08-31T20:37:27Z")

</div>

I am looking to how create a custom “legend” for my plots where I associate given colours to custom ranges, for example: 0:0.5 =\> darkdarkred 0.0:0.75 =\> darkred 0.75:1 =\> red 1:1.25 =\> green 1.25:1.5 =\> darkgree…

---

## [Use and define free\_aligned\_sized, aligned\_alloc (and free\_sized)](https://discourse.julialang.org/t/use-and-define-free-aligned-sized-aligned-alloc-and-free-sized/131967)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 11:01am UTC](https://discourse.julialang.org/t/use-and-define-free-aligned-sized-aligned-alloc-and-free-sized/131967 "2025-09-01T11:01:01Z")

</div>

E.g. for Libc. Currently Julia uses posix\_memalign (except on Windows) for itself (sometimes) and corresponding free, not special free for aligned, as needed on Windows, but we likely should everywhere: Several heap…

---

## [Using CPLEX Piecewise Linear function](https://discourse.julialang.org/t/using-cplex-piecewise-linear-function/28403)

<div class="topic-metadata">

**Author:** [@Codzilla](https://discourse.julialang.org/u/Codzilla)\
**Replies:** 8\
**Last updated:** [September 1, 2025, 10:48am UTC](https://discourse.julialang.org/t/using-cplex-piecewise-linear-function/28403 "2025-09-01T10:48:51Z")

</div>

I’m trying to solve a MILP with an piecewise linear function in the cost function. At the moment, i’m using a binairy variable per linear piece wich is not the state of the art (see for example http://www.mit.edu/~jvielm…

---

## [Trying to adapt the initial coin-flip example on RxInfer to model a weighted die](https://discourse.julialang.org/t/trying-to-adapt-the-initial-coin-flip-example-on-rxinfer-to-model-a-weighted-die/131960)

<div class="topic-metadata">

**Author:** [@B\_S](https://discourse.julialang.org/u/B_S)\
**Replies:** 2\
**Last updated:** [September 1, 2025, 10:23am UTC](https://discourse.julialang.org/t/trying-to-adapt-the-initial-coin-flip-example-on-rxinfer-to-model-a-weighted-die/131960 "2025-09-01T10:23:14Z")

</div>

Hi all, I’m completely new to Julia and I apologize if this is a naive question, but I have been attempting to model a weighted die using RxInfer. I’ve followed the same structure as the coin\_toss example provide in the…

---

## [Question about GC.@preserve](https://discourse.julialang.org/t/question-about-gc-preserve/131999)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 1\
**Last updated:** [September 1, 2025, 9:31am UTC](https://discourse.julialang.org/t/question-about-gc-preserve/131999 "2025-09-01T09:31:30Z")

</div>

Consider the following two patterns: v = Vector(...) GC.@preserve v begin # unsafe stuff using pointer(v) end and v = Vector(...) # unsafe stuff using pointer(v) GC.@preserve v Are there situations where the sec…

---

## [Write .NL file containing JuMP model](https://discourse.julialang.org/t/write-nl-file-containing-jump-model/101113)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.julialang.org/u/Luca)\
**Replies:** 6\
**Last updated:** [September 1, 2025, 8:28am UTC](https://discourse.julialang.org/t/write-nl-file-containing-jump-model/101113 "2025-09-01T08:28:25Z")

</div>

Dear all, I would ask you if there exists an easy way to write the .nl file corresponding to a JuMP problem. I already checked the solution proposed in https://discourse.julialang.org/t/how-to-write-nl-file-containing-j…

---

## [MPI library mismatch erro HDF5, Netcdf with Oceananigans](https://discourse.julialang.org/t/mpi-library-mismatch-erro-hdf5-netcdf-with-oceananigans/131579)

<div class="topic-metadata">

**Author:** [@farolap](https://discourse.julialang.org/u/farolap)\
**Replies:** 2\
**Last updated:** [September 1, 2025, 6:17am UTC](https://discourse.julialang.org/t/mpi-library-mismatch-erro-hdf5-netcdf-with-oceananigans/131579 "2025-09-01T06:17:17Z")

</div>

Dear all, Im having strong issues with a specific package in Julia while trying to run it in MPI. Initially I define the following libraries: export LD\_LIBRARY\_PATH=/sw/spack-levante/netcdf-c-4.8.1-7dq6g2/lib/:$LD\_LIBR…

---

## [MethodError even when method is in methods(func, types...)](https://discourse.julialang.org/t/methoderror-even-when-method-is-in-methods-func-types/131973)

<div class="topic-metadata">

**Author:** [@ejmeitz](https://discourse.julialang.org/u/ejmeitz)\
**Replies:** 2\
**Last updated:** [August 31, 2025, 11:18pm UTC](https://discourse.julialang.org/t/methoderror-even-when-method-is-in-methods-func-types/131973 "2025-08-31T23:18:18Z")

</div>

I have a custom array type, NDArray in my own package which is templated on it element type and dimension like a normal Julia Array. The following code works totally fine if I define everything stand alone in the REPL, b…

---

## [Research Engineers at Quant Hedge Fund](https://discourse.julialang.org/t/research-engineers-at-quant-hedge-fund/128897)

<div class="topic-metadata">

**Author:** [@Satvik](https://discourse.julialang.org/u/Satvik)\
**Replies:** 1\
**Last updated:** [August 31, 2025, 11:04pm UTC](https://discourse.julialang.org/t/research-engineers-at-quant-hedge-fund/128897 "2025-08-31T23:04:42Z")

</div>

Hi all, I’m looking to hire two software engineers for my team (Research Engineering) at Temple Capital, a quant fund primarily trading cryptocurrencies. Temple Capital has 10 engineers, is fully remote and distributed …

---

## [Let's Choroplethize the US](https://discourse.julialang.org/t/lets-choroplethize-the-us/131254)

<div class="topic-metadata">

**Author:** [@joa-quim](https://discourse.julialang.org/u/joa-quim)\
**Replies:** 18\
**Last updated:** [August 31, 2025, 10:34pm UTC](https://discourse.julialang.org/t/lets-choroplethize-the-us/131254 "2025-08-31T22:34:53Z")

</div>

Hi, Making choropleth maps of US seems to a popular request/example here. Advanced solution often lack, IMO, the necessary map quality. In these last days before vacations I spent some time preparing these examples that…

---

## [SIMD.jl - vload() continuous blocks from higher-dimensional arrays?](https://discourse.julialang.org/t/simd-jl-vload-continuous-blocks-from-higher-dimensional-arrays/131981)

<div class="topic-metadata">

**Author:** [@jl\_enthusiast](https://discourse.julialang.org/u/jl_enthusiast)\
**Replies:** 4\
**Last updated:** [August 31, 2025, 9:45pm UTC](https://discourse.julialang.org/t/simd-jl-vload-continuous-blocks-from-higher-dimensional-arrays/131981 "2025-08-31T21:45:29Z")

</div>

Hi, I am currently doing some practice projects in Julia, which involves using SIMD.jl for writing/generating microkernels. My issue is trying to determine what is the “best” way of loading Vec types from a higher-dimen…

---

## [QRCoders.jl: dependency pinning blocking installs. is it abandoned?](https://discourse.julialang.org/t/qrcoders-jl-dependency-pinning-blocking-installs-is-it-abandoned/131482)

<div class="topic-metadata">

**Author:** [@prittjam](https://discourse.julialang.org/u/prittjam)\
**Replies:** 10\
**Last updated:** [August 31, 2025, 9:08pm UTC](https://discourse.julialang.org/t/qrcoders-jl-dependency-pinning-blocking-installs-is-it-abandoned/131482 "2025-08-31T21:08:27Z")

</div>

Hi all, Trying to use QRCoders.jl on /1.11, I’ve run into resolver dead-ends caused by its frozen dependency set: Pinned Manifest.toml forces 2023-era packages (Images 0.26, FixedPointNumbers 0.8, etc.). I can open a …

---

## [Using SpecialFunctions spherical bessel functions with Reactant](https://discourse.julialang.org/t/using-specialfunctions-spherical-bessel-functions-with-reactant/131993)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 3\
**Last updated:** [August 31, 2025, 6:06pm UTC](https://discourse.julialang.org/t/using-specialfunctions-spherical-bessel-functions-with-reactant/131993 "2025-08-31T18:06:56Z")

</div>

I’m trying to apply Reactant to my code which uses spherical Bessel functions from the SpecialFunctions package. I’m running into this error; has anyone been able to use spherical Bessel functions with Reactant? @avikpal …

---

## [Mapping NodeIDs to DOFs in Ferrite.jl V1.1.0](https://discourse.julialang.org/t/mapping-nodeids-to-dofs-in-ferrite-jl-v1-1-0/131975)

<div class="topic-metadata">

**Author:** [@noetheriankoala](https://discourse.julialang.org/u/noetheriankoala)\
**Replies:** 2\
**Last updated:** [August 31, 2025, 5:37pm UTC](https://discourse.julialang.org/t/mapping-nodeids-to-dofs-in-ferrite-jl-v1-1-0/131975 "2025-08-31T17:37:38Z")

</div>

Hello! What is the canonical way to get the DOFs corresponding to a specific node in Ferrite.jl? I am sure there is a way to iterate over all cells to look for which cells share which nodes, but this seems cumbersome for…

---

## [Publishing venues between package documentation and a full article](https://discourse.julialang.org/t/publishing-venues-between-package-documentation-and-a-full-article/131966)

<div class="topic-metadata">

**Author:** [@slwu89](https://discourse.julialang.org/u/slwu89)\
**Replies:** 3\
**Last updated:** [August 31, 2025, 4:09pm UTC](https://discourse.julialang.org/t/publishing-venues-between-package-documentation-and-a-full-article/131966 "2025-08-31T16:09:23Z")

</div>

Hi, the R community has the R Journal https://journal.r-project.org/ which is a nice open source journal to publish articles about R including packages, applications, etc, of medium length. I am wondering if anyone know…

---

## [AI error messages, and solutions/code fixes](https://discourse.julialang.org/t/ai-error-messages-and-solutions-code-fixes/131979)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 3\
**Last updated:** [August 31, 2025, 1:44pm UTC](https://discourse.julialang.org/t/ai-error-messages-and-solutions-code-fixes/131979 "2025-08-31T13:44:05Z")

</div>

@tecosaur I was starting to read: With many compilers you get a location like program.x:43:22 that you have to decipher. Where is that file? Which one is the line? Which is the column? Okay, let me scan through my c…

---

## [Minimum distance from point to linestring on earth's surface](https://discourse.julialang.org/t/minimum-distance-from-point-to-linestring-on-earths-surface/131964)

<div class="topic-metadata">

**Author:** [@droodman](https://discourse.julialang.org/u/droodman)\
**Replies:** 9\
**Last updated:** [August 31, 2025, 12:01pm UTC](https://discourse.julialang.org/t/minimum-distance-from-point-to-linestring-on-earths-surface/131964 "2025-08-31T12:01:56Z")

</div>

Say I have a shapefile representing the highway network in South America and want to find the minimum geographic distance from that network to another point on the continent. Is there no simple way to do this with the av…

---

## [GLMakie: Create specify point color](https://discourse.julialang.org/t/glmakie-create-specify-point-color/131971)

<div class="topic-metadata">

**Author:** [@BananaMaster3](https://discourse.julialang.org/u/BananaMaster3)\
**Replies:** 4\
**Last updated:** [August 31, 2025, 8:40am UTC](https://discourse.julialang.org/t/glmakie-create-specify-point-color/131971 "2025-08-31T08:40:06Z")

</div>

I have this code that graphs a scatterplot of points based off their position in the list points, then each frame runs a function to update their position and then graphs them again. How can I specify the point’s color w…

---

## [(Semi-)automatic installation of missing packages . . .?](https://discourse.julialang.org/t/semi-automatic-installation-of-missing-packages/131962)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 14\
**Last updated:** [August 30, 2025, 5:24pm UTC](https://discourse.julialang.org/t/semi-automatic-installation-of-missing-packages/131962 "2025-08-30T17:24:56Z")

</div>

I’ve found a few past threads in this forum about automatic installation of missing packages. How to do that now? The past threads appear to imply that the user is asked whether s/he wants to install the missing package…

---

## [Julia code generation LLM models?](https://discourse.julialang.org/t/julia-code-generation-llm-models/130223)

<div class="topic-metadata">

**Author:** [@Nimisha](https://discourse.julialang.org/u/Nimisha)\
**Replies:** 4\
**Last updated:** [August 30, 2025, 4:00pm UTC](https://discourse.julialang.org/t/julia-code-generation-llm-models/130223 "2025-08-30T16:00:19Z")

</div>

Can anyone help me to find best julia code generation LLM models??

---

## [How should constant literals be typed in Differentiable Code?](https://discourse.julialang.org/t/how-should-constant-literals-be-typed-in-differentiable-code/131965)

<div class="topic-metadata">

**Author:** [@stevenhughes](https://discourse.julialang.org/u/stevenhughes)\
**Replies:** 0\
**Last updated:** [August 30, 2025, 2:32pm UTC](https://discourse.julialang.org/t/how-should-constant-literals-be-typed-in-differentiable-code/131965 "2025-08-30T14:32:49Z")

</div>

Hello, I wrote code that I now need to make differentiable. I’ve read the best practice docs, and my code is differentiating (REPL compile times are seriously painful though). I use AI to read my code to help me impro…

---

## [CUDA.jl: Warning about loading library from system path](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904)

<div class="topic-metadata">

**Author:** [@CaG21](https://discourse.julialang.org/u/CaG21)\
**Replies:** 4\
**Last updated:** [August 30, 2025, 11:42am UTC](https://discourse.julialang.org/t/cuda-jl-warning-about-loading-library-from-system-path/131904 "2025-08-30T11:42:20Z")

</div>

I am using CUDA.jl on two different computers with a completely different configuration but both equipped with Windows 11. In both cases, I got a warning when loading CUDA. The warning is ┌ Warning: CUDA runtime library…

---

## [How to extract the x,y coordinated otf the center of pixel 200, 300 of a Rasters.Raster object?](https://discourse.julialang.org/t/how-to-extract-the-x-y-coordinated-otf-the-center-of-pixel-200-300-of-a-rasters-raster-object/131936)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 5\
**Last updated:** [August 30, 2025, 10:03am UTC](https://discourse.julialang.org/t/how-to-extract-the-x-y-coordinated-otf-the-center-of-pixel-200-300-of-a-rasters-raster-object/131936 "2025-08-30T10:03:42Z")

</div>

Provided I have a Rasters.Raster object foo, how can I extract the coordinated at the centre of a given pixel, in the raster coordinates system ?

---

## [Complex number support in Reactant](https://discourse.julialang.org/t/complex-number-support-in-reactant/131948)

<div class="topic-metadata">

**Author:** [@dameka](https://discourse.julialang.org/u/dameka)\
**Replies:** 1\
**Last updated:** [August 30, 2025, 2:41am UTC](https://discourse.julialang.org/t/complex-number-support-in-reactant/131948 "2025-08-30T02:41:33Z")

</div>

I am unable to find mention of complex numbers in Reactant. Does anyone know if it supports complex, or if there are common workarounds at this point? # MWE testing if Reactant supports complex numbers using Reactant f…

---

## [ERROR: UndefRefError: access to undefined reference](https://discourse.julialang.org/t/error-undefreferror-access-to-undefined-reference/68168)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 2\
**Last updated:** [August 30, 2025, 1:46am UTC](https://discourse.julialang.org/t/error-undefreferror-access-to-undefined-reference/68168 "2025-08-30T01:46:43Z")

</div>

How to eliminate this error ERROR: UndefRefError: access to undefined reference a = 280 A = 1:a for a in A RandDeviation\[a\] = rand() end

---

## [Paper Writing Opportunity: Paradata and Public Health](https://discourse.julialang.org/t/paper-writing-opportunity-paradata-and-public-health/131958)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 0\
**Last updated:** [August 30, 2025, 1:03am UTC](https://discourse.julialang.org/t/paper-writing-opportunity-paradata-and-public-health/131958 "2025-08-30T01:03:54Z")

</div>

Hi folks, :waving\_hand: I have currently been working with my close collaborator Nathaniel Osgood on a review type paper at the intersection of applied mathematics and public health. As we were writing, we realized ther…

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

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