# Latest

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

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

**Page:** 295

---

## [CUDA tests failing in WSL](https://discourse.julialang.org/t/cuda-tests-failing-in-wsl/121545)

<div class="topic-metadata">

**Author:** [@dfenn](https://discourse.julialang.org/u/dfenn)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 2:00pm UTC](https://discourse.julialang.org/t/cuda-tests-failing-in-wsl/121545 "2024-10-22T14:00:58Z")

</div>

I’m running into errors running the CUDA.jl tests using WSL and Julia 1.11.1. Is WSL a supported platform? I’ve set export LD\_LIBRARY\_PATH="/usr/lib/wsl/lib/:$LD\_LIBRARY\_PATH", as suggested here: How to make CUDA.jl wor…

---

## [Wavelet Transformation](https://discourse.julialang.org/t/wavelet-transformation/120737)

<div class="topic-metadata">

**Author:** [@Pradyumnya\_Dastidar](https://discourse.julialang.org/u/Pradyumnya_Dastidar)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 1:47pm UTC](https://discourse.julialang.org/t/wavelet-transformation/120737 "2024-10-22T13:47:43Z")

</div>

Can someone please help me to write a julia code on Wavelet Transformation for a seismic signal.

---

## [How do I stop Julia optimising out a variable? (or how to use \`MPI.Ibarrier()\`?)](https://discourse.julialang.org/t/how-do-i-stop-julia-optimising-out-a-variable-or-how-to-use-mpi-ibarrier/121579)

<div class="topic-metadata">

**Author:** [@johnomotani](https://discourse.julialang.org/u/johnomotani)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 1:37pm UTC](https://discourse.julialang.org/t/how-do-i-stop-julia-optimising-out-a-variable-or-how-to-use-mpi-ibarrier/121579 "2024-10-22T13:37:48Z")

</div>

I want to use MPI.Ibarrier() to synchronize some processes where one needs to complete some work before the others can start, so that the first process does not need to wait at the barrier. Pseudo-code: using MPI comm …

---

## [Strange performance of literal array constructor](https://discourse.julialang.org/t/strange-performance-of-literal-array-constructor/121575)

<div class="topic-metadata">

**Author:** [@DNF](https://discourse.julialang.org/u/DNF)\
**Replies:** 5\
**Last updated:** [October 22, 2024, 1:21pm UTC](https://discourse.julialang.org/t/strange-performance-of-literal-array-constructor/121575 "2024-10-22T13:21:53Z")

</div>

I was surprised by this performance measurement (v.1.11.1): julia\> foo() = Int8\[1 2 3; 4 5 6; 7 8 9\] foo (generic function with 1 method) julia\> bar() = Matrix{Int8}(\[1 2 3; 4 5 6; 7 8 9\]) bar (generic function with 1 …

---

## [Execution of active file in REPL does not work anymore](https://discourse.julialang.org/t/execution-of-active-file-in-repl-does-not-work-anymore/121586)

<div class="topic-metadata">

**Author:** [@mariie](https://discourse.julialang.org/u/mariie)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 1:13pm UTC](https://discourse.julialang.org/t/execution-of-active-file-in-repl-does-not-work-anymore/121586 "2024-10-22T13:13:01Z")

</div>

Hello! I’ve been using julia since 2 months and really enjoyed it. But now I’m facing the problem that I cannot execute code in-line in files anymore, cannot execute an active file in the REPL unless I copy the code fr…

---

## [Neural ODE with irregular Data Observations?](https://discourse.julialang.org/t/neural-ode-with-irregular-data-observations/121544)

<div class="topic-metadata">

**Author:** [@patrickm663](https://discourse.julialang.org/u/patrickm663)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 12:52pm UTC](https://discourse.julialang.org/t/neural-ode-with-irregular-data-observations/121544 "2024-10-22T12:52:51Z")

</div>

Hi I have a dataset where the observed data is measured at irregular timesteps. I would like to use a neural ODE to interpolate and forecast. At the moment, I am using a feed-forward NN with fairly good success, howeve…

---

## [Send file with HTTP.post](https://discourse.julialang.org/t/send-file-with-http-post/91932)

<div class="topic-metadata">

**Author:** [@sardinecan](https://discourse.julialang.org/u/sardinecan)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 12:39pm UTC](https://discourse.julialang.org/t/send-file-with-http-post/91932 "2024-10-22T12:39:13Z")

</div>

Hi everyone, I’m looking to upload files via an API using Julia with the HTTP.jl package. Unfortunately, the API can’t retrieve my file, and I get an error: {“code”:500,“message”:“Unable to retrieve file from request.…

---

## [Result of inner product of two CuArray with views is incorrect](https://discourse.julialang.org/t/result-of-inner-product-of-two-cuarray-with-views-is-incorrect/121539)

<div class="topic-metadata">

**Author:** [@TzuYaoHuang](https://discourse.julialang.org/u/TzuYaoHuang)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 11:33am UTC](https://discourse.julialang.org/t/result-of-inner-product-of-two-cuarray-with-views-is-incorrect/121539 "2024-10-22T11:33:09Z")

</div>

Hello, I am encountering a discrepancy when taking the inner product of two CUDA matrices, with and without the use of @view. The results differ by approximately 1% in Float32. Could someone kindly explain what might b…

---

## [Allowing for keyword arguments in do-block](https://discourse.julialang.org/t/allowing-for-keyword-arguments-in-do-block/19244)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 11\
**Last updated:** [October 22, 2024, 10:38am UTC](https://discourse.julialang.org/t/allowing-for-keyword-arguments-in-do-block/19244 "2024-10-22T10:38:39Z")

</div>

I wanted to ask if it was considered to add support for keyword arguments in do-block statement? So that something like: fun(args; kwargs) do (args2; kwargs2) #body end would be rewritten as: fun(function(args2;k…

---

## [Full energy optimization error in LEAP-NEMO](https://discourse.julialang.org/t/full-energy-optimization-error-in-leap-nemo/121577)

<div class="topic-metadata">

**Author:** [@2024](https://discourse.julialang.org/u/2024)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 9:33am UTC](https://discourse.julialang.org/t/full-energy-optimization-error-in-leap-nemo/121577 "2024-10-22T09:33:19Z")

</div>

When i am running my LEAP-NEMO optimization, it says no LP invertible representation for getDualRay, solver status infeasible

---

## [How to use local, relative modules (best practice, simple)?](https://discourse.julialang.org/t/how-to-use-local-relative-modules-best-practice-simple/81634)

<div class="topic-metadata">

**Author:** [@jakob1](https://discourse.julialang.org/u/jakob1)\
**Replies:** 15\
**Last updated:** [October 22, 2024, 9:56am UTC](https://discourse.julialang.org/t/how-to-use-local-relative-modules-best-practice-simple/81634 "2024-10-22T09:56:41Z")

</div>

Hi, Julia states to feel like a scripting language. Hence I would like to find out the most simple way to modularize (smaller) projects in julia. Here is a minimal example that worked for me after some research and tri…

---

## [Julia 1.10.6 testing period](https://discourse.julialang.org/t/julia-1-10-6-testing-period/121573)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 0\
**Last updated:** [October 22, 2024, 8:59am UTC](https://discourse.julialang.org/t/julia-1-10-6-testing-period/121573 "2024-10-22T08:59:04Z")

</div>

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

---

## [Suggestion: Pkg inherit-manifest (similar to "Test-specific dependencies")](https://discourse.julialang.org/t/suggestion-pkg-inherit-manifest-similar-to-test-specific-dependencies/121404)

<div class="topic-metadata">

**Author:** [@Arlo](https://discourse.julialang.org/u/Arlo)\
**Replies:** 8\
**Last updated:** [October 22, 2024, 7:58am UTC](https://discourse.julialang.org/t/suggestion-pkg-inherit-manifest-similar-to-test-specific-dependencies/121404 "2024-10-22T07:58:40Z")

</div>

I’m new to Julia, but have been a software engineer for a while working in various languages. I’ve been studying how Julia Pkg behaves in regards to dependency versions, manifests, and test target. I think there’s a need…

---

## [Arrange bar plot by frequency in AlgebraofGraphics.jl](https://discourse.julialang.org/t/arrange-bar-plot-by-frequency-in-algebraofgraphics-jl/121506)

<div class="topic-metadata">

**Author:** [@Nithin\_M](https://discourse.julialang.org/u/Nithin_M)\
**Replies:** 3\
**Last updated:** [October 22, 2024, 5:32am UTC](https://discourse.julialang.org/t/arrange-bar-plot-by-frequency-in-algebraofgraphics-jl/121506 "2024-10-22T05:32:22Z")

</div>

I want to have a bar plot ordered by species frequency using AlgebraOfGraphics.jl. using PalmerPenguins, DataFrames, AlgebraOfGraphics, CairoMakie, CategoricalArrays, Chain # Load and clean the data penguins = @chain P…

---

## [Documenting a struct](https://discourse.julialang.org/t/documenting-a-struct/106773)

<div class="topic-metadata">

**Author:** [@rmfritz](https://discourse.julialang.org/u/rmfritz)\
**Replies:** 2\
**Last updated:** [November 26, 2023, 11:28pm UTC](https://discourse.julialang.org/t/documenting-a-struct/106773 "2023-11-26T23:28:30Z")

</div>

I was surprised to find that the Julia documentation style guide says nothing about documenting structs. Is this something just not done? If it is done, does anyone have advice about best practices?

---

## [Where to begin for using Julia ML (Flux/MLJ/MLJFlux) with custom datasets?](https://discourse.julialang.org/t/where-to-begin-for-using-julia-ml-flux-mlj-mljflux-with-custom-datasets/121470)

<div class="topic-metadata">

**Author:** [@alecStewart1](https://discourse.julialang.org/u/alecStewart1)\
**Replies:** 10\
**Last updated:** [October 21, 2024, 5:41pm UTC](https://discourse.julialang.org/t/where-to-begin-for-using-julia-ml-flux-mlj-mljflux-with-custom-datasets/121470 "2024-10-21T17:41:05Z")

</div>

Hello again, friends, I thought I’d ask this as ML and data science are somewhat out of my forte. I’d like to use Julia for analyzing different datasets, not just for work. So to give you an idea, let me give a simple …

---

## [How to efficiently parse null as NaN in JSON?](https://discourse.julialang.org/t/how-to-efficiently-parse-null-as-nan-in-json/121561)

<div class="topic-metadata">

**Author:** [@berjine](https://discourse.julialang.org/u/berjine)\
**Replies:** 1\
**Last updated:** [October 22, 2024, 12:00am UTC](https://discourse.julialang.org/t/how-to-efficiently-parse-null-as-nan-in-json/121561 "2024-10-22T00:00:10Z")

</div>

Hi I want to parse lines of JSON containing among other things a vector of signed ints with some values being “null”, like that : {"data":\[98,null,-51,null\]} The way I do it currently is by using a conversion function…

---

## [Count of diff eq callbacks](https://discourse.julialang.org/t/count-of-diff-eq-callbacks/121546)

<div class="topic-metadata">

**Author:** [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 5:39pm UTC](https://discourse.julialang.org/t/count-of-diff-eq-callbacks/121546 "2024-10-21T17:39:18Z")

</div>

using DiscreteCallback, is there a built-in way to know the number of times the affect! function is called both inside the affect! function and after solve/step! call is completed? current;y, i’m using a ref value in the…

---

## [Interactive change of mesh plot](https://discourse.julialang.org/t/interactive-change-of-mesh-plot/121435)

<div class="topic-metadata">

**Author:** [@IvanSpirandelli](https://discourse.julialang.org/u/IvanSpirandelli)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 10:33pm UTC](https://discourse.julialang.org/t/interactive-change-of-mesh-plot/121435 "2024-10-21T22:33:01Z")

</div>

I have a situation in which I have vector with mesh data, a Vector{Tuple{Vector{Point{3, Float32}}, Matrix{Int64}, Vector{Float64}}} containing vertices, faces and colors for a sequence of meshes I’d like to plot inter…

---

## [Where is juliac developed](https://discourse.julialang.org/t/where-is-juliac-developed/113004)

<div class="topic-metadata">

**Author:** [@The\_Mastermage](https://discourse.julialang.org/u/The_Mastermage)\
**Replies:** 38\
**Last updated:** [October 21, 2024, 9:27pm UTC](https://discourse.julialang.org/t/where-is-juliac-developed/113004 "2024-10-21T21:27:38Z")

</div>

As i am quite interested in having julia create binaries, and I have been snippets here and there about the juliac development I wanted to ask where exactly (on which branch, or github) juliac is developed such that i co…

---

## [How to get the reference to a text object in GLMakie](https://discourse.julialang.org/t/how-to-get-the-reference-to-a-text-object-in-glmakie/121555)

<div class="topic-metadata">

**Author:** [@heinfleuren](https://discourse.julialang.org/u/heinfleuren)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 8:33pm UTC](https://discourse.julialang.org/t/how-to-get-the-reference-to-a-text-object-in-glmakie/121555 "2024-10-21T20:33:39Z")

</div>

I’m working on an application where you see locations in a map. Each location has a particular name created with the text! function. I now want to click in the ‘geo space’ on the text and with pick I want to get the refe…

---

## [JuMP: which solver should I use for my problem?](https://discourse.julialang.org/t/jump-which-solver-should-i-use-for-my-problem/121421)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 13\
**Last updated:** [October 21, 2024, 8:50pm UTC](https://discourse.julialang.org/t/jump-which-solver-should-i-use-for-my-problem/121421 "2024-10-21T20:50:51Z")

</div>

Hello, I could use some guidance on this. I have the following model: COP(ΔT) = 20.3595 - 3.2061 \* log2(1 + ΔT) function baseline\_model( df::DataFrame; A\_d::Matrix{Float64}, B\_d::Matrix{Float64}, ) T\_a…

---

## [Obtaining field values over an array of composite types](https://discourse.julialang.org/t/obtaining-field-values-over-an-array-of-composite-types/121518)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 11\
**Last updated:** [October 21, 2024, 8:32pm UTC](https://discourse.julialang.org/t/obtaining-field-values-over-an-array-of-composite-types/121518 "2024-10-21T20:32:50Z")

</div>

Hi there, I defined a composite type Product tho store relevant characteristics of a set of products. I then construct an array of Product and I am ultimately interested in accessing the field values of this array as ef…

---

## [New to Julia: Help with configuring a "sane" dev environment and editing experience](https://discourse.julialang.org/t/new-to-julia-help-with-configuring-a-sane-dev-environment-and-editing-experience/121387)

<div class="topic-metadata">

**Author:** [@alecStewart1](https://discourse.julialang.org/u/alecStewart1)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 8:07pm UTC](https://discourse.julialang.org/t/new-to-julia-help-with-configuring-a-sane-dev-environment-and-editing-experience/121387 "2024-10-21T20:07:47Z")

</div>

Hey friends! I’m new to Julia, but I’ve been programming for a bit now. I’m mostly used to Common Lisp, Java, Kotlin, Elixir, Python, Javascript/Typescript, pretty much all shell scripting languages. Part of my interes…

---

## [Posterior samples as vector of named tuples](https://discourse.julialang.org/t/posterior-samples-as-vector-of-named-tuples/121430)

<div class="topic-metadata">

**Author:** [@bertschi](https://discourse.julialang.org/u/bertschi)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 7:00pm UTC](https://discourse.julialang.org/t/posterior-samples-as-vector-of-named-tuples/121430 "2024-10-21T19:00:20Z")

</div>

Let’s say I have a simple Turing model @model function model() C ~ LKJ(3, 1.0) x ~ MvNormal(zeros(3), C) end and obtained some posterior samples via MCMC chain = sample(model(), NUTS(), 100) or variational in…

---

## [Submissions for the JuliaCon Proceedings 2024 are now open!](https://discourse.julialang.org/t/submissions-for-the-juliacon-proceedings-2024-are-now-open/121542)

<div class="topic-metadata">

**Author:** [@ranjan](https://discourse.julialang.org/u/ranjan)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 5:07pm UTC](https://discourse.julialang.org/t/submissions-for-the-juliacon-proceedings-2024-are-now-open/121542 "2024-10-21T17:07:59Z")

</div>

If you presented your scientific work at JuliaCon 2024, you are invited to submit it to the JuliaCon Proceedings! The JuliaCon Proceedings is a peer-reviewed journal, inspired by JOSS, that accepts both full papers and …

---

## [Performance hit of allocation regardless of size](https://discourse.julialang.org/t/performance-hit-of-allocation-regardless-of-size/119937)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 7\
**Last updated:** [October 21, 2024, 5:05pm UTC](https://discourse.julialang.org/t/performance-hit-of-allocation-regardless-of-size/119937 "2024-10-21T17:05:29Z")

</div>

Hi there performance fanatics! @amontoison and I are working on our matrix coloring code, and in one of our algorithms we need to split a vector into groups, one for each color. Semantically, this is what we want to ach…

---

## [How to run two scripts independantly from the REPL?](https://discourse.julialang.org/t/how-to-run-two-scripts-independantly-from-the-repl/121541)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 0\
**Last updated:** [October 21, 2024, 4:59pm UTC](https://discourse.julialang.org/t/how-to-run-two-scripts-independantly-from-the-repl/121541 "2024-10-21T16:59:14Z")

</div>

I have two scripts, named autopilot.jl and parking\_wind\_dir.jl. You can find them online: KiteControllers.jl/examples at old\_stable · aenarete/KiteControllers.jl · GitHub I can run the first script, I can run the second…

---

## [How to calculate roll, pitch and yaw?](https://discourse.julialang.org/t/how-to-calculate-roll-pitch-and-yaw/121183)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 20\
**Last updated:** [October 21, 2024, 4:41pm UTC](https://discourse.julialang.org/t/how-to-calculate-roll-pitch-and-yaw/121183 "2024-10-21T16:41:43Z")

</div>

I am trying to calculate the orientation of a wing, expressed as roll, pitch and yaw angle based on the three unit vectors, that form the kite reference frame. All coordinates are in ENU (East, North, Up) reference fram…

---

## [Status of BenchmarkCI](https://discourse.julialang.org/t/status-of-benchmarkci/121530)

<div class="topic-metadata">

**Author:** [@SamBrand](https://discourse.julialang.org/u/SamBrand)\
**Replies:** 1\
**Last updated:** [October 21, 2024, 4:21pm UTC](https://discourse.julialang.org/t/status-of-benchmarkci/121530 "2024-10-21T16:21:19Z")

</div>

Hi everyone, I’m using BenchmarkCI.jl as part of my suite of CI in a project. I’ve noticed that its been unmaintained for a while, and now I have a problem with \[compat\] (BenchmarkCI can’t be used with DiffEqBase.jl du…

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

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