# Latest

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

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

**Page:** 221

---

## [StructArrays.jl getindex cost memory](https://discourse.julialang.org/t/structarrays-jl-getindex-cost-memory/125853)

<div class="topic-metadata">

**Author:** [@kongdd](https://discourse.julialang.org/u/kongdd)\
**Replies:** 4\
**Last updated:** [February 13, 2025, 10:12am UTC](https://discourse.julialang.org/t/structarrays-jl-getindex-cost-memory/125853 "2025-02-13T10:12:04Z")

</div>

using StructArrays using BenchmarkTools abstract type AbstractSoilParam{T} end @kwdef mutable struct ParamCampbell{T} \<: AbstractSoilParam{T} θ\_sat::T = 0.287 # \[m3 m-3\] # θ\_res::T = 0.075 # \[m3 m-3\] ψ\_…

---

## [Correct utilisation of CUDA kernel for simulations](https://discourse.julialang.org/t/correct-utilisation-of-cuda-kernel-for-simulations/109882)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 16\
**Last updated:** [February 13, 2025, 9:53am UTC](https://discourse.julialang.org/t/correct-utilisation-of-cuda-kernel-for-simulations/109882 "2025-02-13T09:53:24Z")

</div>

Hello, I am new to julia and GPU computing, before today I didn’t care about optimisation (it was fast enough for me). I use this kind of CUDA kernel (example for 2D diffusion using finite difference with euler forward…

---

## [Finally writing my chess engine!](https://discourse.julialang.org/t/finally-writing-my-chess-engine/125558)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 2\
**Last updated:** [February 13, 2025, 9:46am UTC](https://discourse.julialang.org/t/finally-writing-my-chess-engine/125558 "2025-02-13T09:46:55Z")

</div>

After trying to contribute to Stockfish, it’s time for me to try to build my own chess engine. This one won’t be UCI-compliant per se; it’s more like a library where you can add interfaces, etc later on. I plan to train …

---

## [Some nice advantages of learning Julia for the R programmers: a small article](https://discourse.julialang.org/t/some-nice-advantages-of-learning-julia-for-the-r-programmers-a-small-article/125628)

<div class="topic-metadata">

**Author:** [@vituri](https://discourse.julialang.org/u/vituri)\
**Replies:** 7\
**Last updated:** [February 13, 2025, 1:39am UTC](https://discourse.julialang.org/t/some-nice-advantages-of-learning-julia-for-the-r-programmers-a-small-article/125628 "2025-02-13T01:39:18Z")

</div>

I wrote a small article about the advantages of learning Julia in case you are a R programmer (experienced or not so much). The Linkedin post is here in case you want to spread the Julia word in this sad social network;…

---

## [Call for Proposal: Julia for Neuroscience Minisymposium](https://discourse.julialang.org/t/call-for-proposal-julia-for-neuroscience-minisymposium/125320)

<div class="topic-metadata">

**Author:** [@Helmut\_Strey](https://discourse.julialang.org/u/Helmut_Strey)\
**Replies:** 0\
**Last updated:** [January 28, 2025, 7:46pm UTC](https://discourse.julialang.org/t/call-for-proposal-julia-for-neuroscience-minisymposium/125320 "2025-01-28T19:46:27Z")

</div>

We are excited to announce that we will have a Minisymposium on “Julia for Neuroscience” at JuliaCon 2025 in Pittsburgh. I invite you to submit a proposal to share your experiences and research using Julia in neuroscienc…

---

## [\[Blogpost\] So, You Want to Start a Julia Workgroup?](https://discourse.julialang.org/t/blogpost-so-you-want-to-start-a-julia-workgroup/125808)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 1\
**Last updated:** [February 11, 2025, 9:00pm UTC](https://discourse.julialang.org/t/blogpost-so-you-want-to-start-a-julia-workgroup/125808 "2025-02-11T21:00:43Z")

</div>

Hi folks! :wave: After having a wonderful conversation with @Datseris at last year’s JuliaCon, I was inspired to work on writing up a blog post for the Julia website about starting a workgroup within the Julia Community…

---

## [New on Forem: “NeoVim config to use as an IDE for Julia”](https://discourse.julialang.org/t/new-on-forem-neovim-config-to-use-as-an-ide-for-julia/125841)

<div class="topic-metadata">

**Author:** [@oheil](https://discourse.julialang.org/u/oheil)\
**Replies:** 0\
**Last updated:** [February 12, 2025, 7:29pm UTC](https://discourse.julialang.org/t/new-on-forem-neovim-config-to-use-as-an-ide-for-julia/125841 "2025-02-12T19:29:32Z")

</div>

Arash shares some knowledge on Forem with us: Maybe you will find this helpful.

---

## [Struggling to solve PowerSystems.Systems](https://discourse.julialang.org/t/struggling-to-solve-powersystems-systems/124570)

<div class="topic-metadata">

**Author:** [@Andrei](https://discourse.julialang.org/u/Andrei)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 6:34pm UTC](https://discourse.julialang.org/t/struggling-to-solve-powersystems-systems/124570 "2025-02-12T18:34:38Z")

</div>

Hello, I’m new at Julia programming and currently I’m trying to familiarize myself with instruments to solve OPF and economic dispatch in Julia. I wrote this simple example Numerical data there is mostly random, since…

---

## [How to precompile Oxygen?](https://discourse.julialang.org/t/how-to-precompile-oxygen/125834)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 4:56pm UTC](https://discourse.julialang.org/t/how-to-precompile-oxygen/125834 "2025-02-12T16:56:10Z")

</div>

I am using the web server Oxygen.jl . I use it to call functions using json over http. I want to create a system image to avoid the high time-to-first-reply. My question: In the precompile script I want to start Oxygen…

---

## [Julep: Efficient Hierarchical Mutable Data](https://discourse.julialang.org/t/julep-efficient-hierarchical-mutable-data/125190)

<div class="topic-metadata">

**Author:** [@PatrickHaecker](https://discourse.julialang.org/u/PatrickHaecker)\
**Replies:** 47\
**Last updated:** [February 12, 2025, 4:54pm UTC](https://discourse.julialang.org/t/julep-efficient-hierarchical-mutable-data/125190 "2025-02-12T16:54:12Z")

</div>

TL;DR This proposal outlines a method to achieve space and time-efficient writable substructures in Julia. The memory layout is identical to that of immutable structs within mutable structs. This approach allows to expre…

---

## [Unable to install voronoifvm and pdelib](https://discourse.julialang.org/t/unable-to-install-voronoifvm-and-pdelib/125829)

<div class="topic-metadata">

**Author:** [@Sachin\_thorat](https://discourse.julialang.org/u/Sachin_thorat)\
**Replies:** 6\
**Last updated:** [February 12, 2025, 4:35pm UTC](https://discourse.julialang.org/t/unable-to-install-voronoifvm-and-pdelib/125829 "2025-02-12T16:35:46Z")

</div>

I tried installing IJulia package which has dependencies related to VoronoiFVM and PDELab packages. And these two packages are not getting installed. The error is mentioned in the code snippet provided below. OS: Linux …

---

## [Reset base environment](https://discourse.julialang.org/t/reset-base-environment/125833)

<div class="topic-metadata">

**Author:** [@Donald](https://discourse.julialang.org/u/Donald)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 4:21pm UTC](https://discourse.julialang.org/t/reset-base-environment/125833 "2025-02-12T16:21:53Z")

</div>

I accidentally installed the Example package into my base (@v1.11) Julia environment. Is there a way to reset the environment and remove this package?

---

## [Tensor in QuantumOptics](https://discourse.julialang.org/t/tensor-in-quantumoptics/125618)

<div class="topic-metadata">

**Author:** [@gustave\_Robichon](https://discourse.julialang.org/u/gustave_Robichon)\
**Replies:** 2\
**Last updated:** [February 12, 2025, 4:21pm UTC](https://discourse.julialang.org/t/tensor-in-quantumoptics/125618 "2025-02-12T16:21:06Z")

</div>

Hello :slight\_smile: I have a program using QuantumOptics. It uses several bosonic modes. While writing the Hamiltonian, I wonder if I should explictly use the tensor product : I\[1\] tensor I\[2\] tensor a\[3\] for exemple, …

---

## [Possible method call error -\> docstring above struct fields](https://discourse.julialang.org/t/possible-method-call-error-docstring-above-struct-fields/125825)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 4\
**Last updated:** [February 12, 2025, 3:23pm UTC](https://discourse.julialang.org/t/possible-method-call-error-docstring-above-struct-fields/125825 "2025-02-12T15:23:47Z")

</div>

In VS Code, I keep getting that the linter returns a “possible method call error” if I try to create an instance of a struct with fields to which I’ve added docstrings; see the below MWE where the linter doesn’t complain…

---

## [Quick check that sum of positive values is at most threshold](https://discourse.julialang.org/t/quick-check-that-sum-of-positive-values-is-at-most-threshold/125828)

<div class="topic-metadata">

**Author:** [@JADekker](https://discourse.julialang.org/u/JADekker)\
**Replies:** 5\
**Last updated:** [February 12, 2025, 3:22pm UTC](https://discourse.julialang.org/t/quick-check-that-sum-of-positive-values-is-at-most-threshold/125828 "2025-02-12T15:22:36Z")

</div>

Hi, in my code, I need to determine whether sum(x) \<= a, where I know that the values x are all positive, so concluding false is in theory possible before we’ve added all values in x together. This led me to wonder if it…

---

## [Simple question about macro arguments](https://discourse.julialang.org/t/simple-question-about-macro-arguments/125795)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 6\
**Last updated:** [February 12, 2025, 3:14pm UTC](https://discourse.julialang.org/t/simple-question-about-macro-arguments/125795 "2025-02-12T15:14:18Z")

</div>

Hello, I would like to use a macro to compute derivative of several fields. Concretly, in a simplified context, I have the following issue: for the macro macro testij(i,j) esc(:(a\[$i\]=b\[$j\] )) end for a and b define…

---

## [Problem dowloading Landsat images as RemoteS documentation](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772)

<div class="topic-metadata">

**Author:** [@dgagnon](https://discourse.julialang.org/u/dgagnon)\
**Replies:** 6\
**Last updated:** [February 12, 2025, 1:29pm UTC](https://discourse.julialang.org/t/problem-dowloading-landsat-images-as-remotes-documentation/125772 "2025-02-12T13:29:03Z")

</div>

Hello I created a free Amazon AWS account and I am trying to download the test image of RemoteS doc and I get a HTTP 403 error. I assume the other errors are due to the download failure. using RemoteS, GMT Ir = gmtread…

---

## [Noise Pollution control software in Julia](https://discourse.julialang.org/t/noise-pollution-control-software-in-julia/125815)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 1\
**Last updated:** [February 12, 2025, 11:44am UTC](https://discourse.julialang.org/t/noise-pollution-control-software-in-julia/125815 "2025-02-12T11:44:30Z")

</div>

Noise pollution :loudspeaker: is a very big problem in today’s world. Are there any software packages in Julia that can help us develop models for Noise pollution control? I mean by simulating sound flow and spectrum we …

---

## [Four-parameter beta distribution](https://discourse.julialang.org/t/four-parameter-beta-distribution/90280)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 6\
**Last updated:** [February 12, 2025, 11:21am UTC](https://discourse.julialang.org/t/four-parameter-beta-distribution/90280 "2025-02-12T11:21:57Z")

</div>

Hi all, The standard Beta distribution has as support the \[0, 1\] interval. However, there is also a four-parameter version, which allows one to specify an arbitrary minimum and maximum. R has the function Beta\_ab for th…

---

## [How to trace the functions called by my script？](https://discourse.julialang.org/t/how-to-trace-the-functions-called-by-my-script/106975)

<div class="topic-metadata">

**Author:** [@jiang\_ming\_zhang](https://discourse.julialang.org/u/jiang_ming_zhang)\
**Replies:** 6\
**Last updated:** [February 12, 2025, 11:21am UTC](https://discourse.julialang.org/t/how-to-trace-the-functions-called-by-my-script/106975 "2025-02-12T11:21:53Z")

</div>

Suppose I have a julia script, in which many functions are called. There might be even be nested calling. Namely, the main function calls function A, which calls function B, which in turn calls function C. How can get a…

---

## [Testing XML.Nodes for equality](https://discourse.julialang.org/t/testing-xml-nodes-for-equality/125800)

<div class="topic-metadata">

**Author:** [@TimG](https://discourse.julialang.org/u/TimG)\
**Replies:** 2\
**Last updated:** [February 12, 2025, 11:06am UTC](https://discourse.julialang.org/t/testing-xml-nodes-for-equality/125800 "2025-02-12T11:06:10Z")

</div>

I’m having trouble making the test for equality between XML.nodes work. XML.jl defines a nodes\_equal function to test for equality, but I can’t make it work reliably. For example, I have two XML.nodes called node and ne…

---

## [ArgMacros: How to use variables as defaults?](https://discourse.julialang.org/t/argmacros-how-to-use-variables-as-defaults/125717)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 10:34am UTC](https://discourse.julialang.org/t/argmacros-how-to-use-variables-as-defaults/125717 "2025-02-12T10:34:52Z")

</div>

How do you use variables within @tuplearguments of ArgMacros? #!/usr/bin/env julia const usage = "thisscript \[--val1=\<val1\>\] \[--val2=\<val2\>\]" const val2\_default = 9 args = @tuplearguments begin @helpusage Main.usage…

---

## [Issue with Saving FMU File in FMIExport.jl: "Cannot find a package where this file is stored"](https://discourse.julialang.org/t/issue-with-saving-fmu-file-in-fmiexport-jl-cannot-find-a-package-where-this-file-is-stored/120856)

<div class="topic-metadata">

**Author:** [@CurioMath](https://discourse.julialang.org/u/CurioMath)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 10:26am UTC](https://discourse.julialang.org/t/issue-with-saving-fmu-file-in-fmiexport-jl-cannot-find-a-package-where-this-file-is-stored/120856 "2025-02-12T10:26:18Z")

</div>

Hello, I am trying to save the FMU file generated using the FMIExport package, as per the examples provided in the Manipulation folder. The following is the Julia code that I used from the example: using FMI using FMIE…

---

## [ProfileView (Cairo? Gtk4?) started using some odd font, but why?](https://discourse.julialang.org/t/profileview-cairo-gtk4-started-using-some-odd-font-but-why/125780)

<div class="topic-metadata">

**Author:** [@HanD](https://discourse.julialang.org/u/HanD)\
**Replies:** 14\
**Last updated:** [February 12, 2025, 8:10am UTC](https://discourse.julialang.org/t/profileview-cairo-gtk4-started-using-some-odd-font-but-why/125780 "2025-02-12T08:10:39Z")

</div>

I’v been using ProfileView.jl for some time now, with success. However, recently, the display changed, and the tooltips and various other displayed strings started using some font which doesn’t have regular ASCII charact…

---

## [How to toggle a button with Makie.jl?](https://discourse.julialang.org/t/how-to-toggle-a-button-with-makie-jl/60381)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [February 12, 2025, 7:26am UTC](https://discourse.julialang.org/t/how-to-toggle-a-button-with-makie-jl/60381 "2025-02-12T07:26:03Z")

</div>

I have a 3D viewer written in MakieGL. I have a button “PLAY”, and I want it to change to a “PAUSE” button when clicked and back to a “PLAY” button when clicked again. How can I achieve that?

---

## [Parameters Optimization with Optim](https://discourse.julialang.org/t/parameters-optimization-with-optim/125760)

<div class="topic-metadata">

**Author:** [@luke98](https://discourse.julialang.org/u/luke98)\
**Replies:** 4\
**Last updated:** [February 12, 2025, 6:57am UTC](https://discourse.julialang.org/t/parameters-optimization-with-optim/125760 "2025-02-12T06:57:45Z")

</div>

Hi Everyone, I have a model that is regulated by a set of parameters. I am trying to choose the parameters so that the model matches some moments that I get from the data. This is my code: lower\_bounds = \[0.0, 1e-2, …

---

## [Sharp edge with \`Threads.threadid()\` and task migration](https://discourse.julialang.org/t/sharp-edge-with-threads-threadid-and-task-migration/124550)

<div class="topic-metadata">

**Author:** [@GeorgeGkountouras](https://discourse.julialang.org/u/GeorgeGkountouras)\
**Replies:** 64\
**Last updated:** [February 12, 2025, 6:55am UTC](https://discourse.julialang.org/t/sharp-edge-with-threads-threadid-and-task-migration/124550 "2025-02-12T06:55:37Z")

</div>

Your code might get rescheduled on a different thread between the check and the access.

---

## [\[ANN\] RuleMiner.jl - Efficient data mining in Julia](https://discourse.julialang.org/t/ann-ruleminer-jl-efficient-data-mining-in-julia/120585)

<div class="topic-metadata">

**Author:** [@JaredSchwartz](https://discourse.julialang.org/u/JaredSchwartz)\
**Replies:** 17\
**Last updated:** [February 12, 2025, 6:00am UTC](https://discourse.julialang.org/t/ann-ruleminer-jl-efficient-data-mining-in-julia/120585 "2025-02-12T06:00:25Z")

</div>

RuleMiner.jl - Data Mining in Julia Links: GitHub || Docs RuleMiner is a Julia package for data mining inspired by the arules R package and SPMF Java library. Data mining is a domain of computer science dedicated to…

---

## [RAGTools (from PromptingTools.jl) – Seeking Your Feedback on Next Steps](https://discourse.julialang.org/t/ragtools-from-promptingtools-jl-seeking-your-feedback-on-next-steps/125005)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 8\
**Last updated:** [February 9, 2025, 11:26am UTC](https://discourse.julialang.org/t/ragtools-from-promptingtools-jl-seeking-your-feedback-on-next-steps/125005 "2025-02-09T11:26:49Z")

</div>

Introduction & Audience Hello everyone! I’d like to open this thread to gather real-world feedback on the RAGTools experimental submodule currently included in PromptingTools.jl. Specifically, this is for people who have…

---

## [Attempt to add Julia support to Aider tool](https://discourse.julialang.org/t/attempt-to-add-julia-support-to-aider-tool/121553)

<div class="topic-metadata">

**Author:** [@younes](https://discourse.julialang.org/u/younes)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 6:37pm UTC](https://discourse.julialang.org/t/attempt-to-add-julia-support-to-aider-tool/121553 "2024-10-22T18:37:36Z")

</div>

Hello, I recently attempted to contribute Julia language support to the Aider AI coding assistant tool (GitHub - Aider-AI/aider: aider is AI pair programming in your terminal) by submitting a PR to their GitHub repo. T…

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

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