# Latest

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

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

**Page:** 373

---

## [Colors GLMakie](https://discourse.julialang.org/t/colors-glmakie/116515)

<div class="topic-metadata">

**Author:** [@NaSi](https://discourse.julialang.org/u/NaSi)\
**Replies:** 1\
**Last updated:** [July 2, 2024, 11:52am UTC](https://discourse.julialang.org/t/colors-glmakie/116515 "2024-07-02T11:52:48Z")

</div>

Hi! I am using GLMakie to make plots. I would like to know what is the colorset used in this package. In other words, what is by default, the first color used ? the second ? etc In fact, I want to plot 4 lines and I wo…

---

## [Finding roots of an integral equation](https://discourse.julialang.org/t/finding-roots-of-an-integral-equation/116503)

<div class="topic-metadata">

**Author:** [@mpirke](https://discourse.julialang.org/u/mpirke)\
**Replies:** 4\
**Last updated:** [July 2, 2024, 11:26am UTC](https://discourse.julialang.org/t/finding-roots-of-an-integral-equation/116503 "2024-07-02T11:26:14Z")

</div>

Hey out there! I am trying to solve to following problem. g(x) = \\int\_0^x f(y) dy - a I would like to find the roots. This should be easily solveable by Newtons Method, like the following: g'(x) = f(x) using …

---

## [How to add axis labels, color bar, and marker shape to TernaryDiagrams?](https://discourse.julialang.org/t/how-to-add-axis-labels-color-bar-and-marker-shape-to-ternarydiagrams/116513)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 10:26am UTC](https://discourse.julialang.org/t/how-to-add-axis-labels-color-bar-and-marker-shape-to-ternarydiagrams/116513 "2024-07-02T10:26:46Z")

</div>

Hello, I have two data sets that I would like to represent as a 3-simplex. My goal is to plot the first 3 dimensions as a ternary diagram with TernaryDiagrams.jl and represent the fourth dimension with a color gradient.…

---

## [Build and install Julia from source code with cmake](https://discourse.julialang.org/t/build-and-install-julia-from-source-code-with-cmake/116483)

<div class="topic-metadata">

**Author:** [@PatriceLebrun](https://discourse.julialang.org/u/PatriceLebrun)\
**Replies:** 7\
**Last updated:** [July 2, 2024, 10:12am UTC](https://discourse.julialang.org/t/build-and-install-julia-from-source-code-with-cmake/116483 "2024-07-02T10:12:51Z")

</div>

Hi, I would like use julia in c++ environment in Particule Physics. All external packages are build from source code by using cmake. In this environment it’s very difficult to add Julia because of CMakeLists.txt is no…

---

## [\`touch\` function errors where touch command in terminal works](https://discourse.julialang.org/t/touch-function-errors-where-touch-command-in-terminal-works/116510)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 0\
**Last updated:** [July 2, 2024, 9:54am UTC](https://discourse.julialang.org/t/touch-function-errors-where-touch-command-in-terminal-works/116510 "2024-07-02T09:54:59Z")

</div>

I am unable to update the modification time of a folder using touch: julia\> mkdir("temp") "temp" julia\> mtime("temp") 1.7199137885920577e9 julia\> touch("temp") ERROR: IOError: open("temp", 65, 438): illegal operation …

---

## [ERROR: type NameState has no field symbolify\`](https://discourse.julialang.org/t/error-type-namestate-has-no-field-symbolify/116484)

<div class="topic-metadata">

**Author:** [@AndreaRH](https://discourse.julialang.org/u/AndreaRH)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 9:42am UTC](https://discourse.julialang.org/t/error-type-namestate-has-no-field-symbolify/116484 "2024-07-02T09:42:37Z")

</div>

Hello, I ran into the following ERROR: type NameState has no field symbolify when trying to create an ODEProblem. The stack trace seemed to me impossible to decipher, any help would be appreciated! Example below: usi…

---

## [Automatically generating methods for a specialised struct](https://discourse.julialang.org/t/automatically-generating-methods-for-a-specialised-struct/116455)

<div class="topic-metadata">

**Author:** [@TimHargreaves](https://discourse.julialang.org/u/TimHargreaves)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 9:41am UTC](https://discourse.julialang.org/t/automatically-generating-methods-for-a-specialised-struct/116455 "2024-07-02T09:41:14Z")

</div>

Suppose I have the following struct struct Foo a::Float64 b::Float64 end that I have defined many methods for. This is the most general representation, but most of the time I only care about a specialised vers…

---

## [📢 Julia Coders: 1-Minute Survey to Shape the Future of Gen AI](https://discourse.julialang.org/t/julia-coders-1-minute-survey-to-shape-the-future-of-gen-ai/116292)

<div class="topic-metadata">

**Author:** [@svilupp](https://discourse.julialang.org/u/svilupp)\
**Replies:** 10\
**Last updated:** [July 2, 2024, 8:34am UTC](https://discourse.julialang.org/t/julia-coders-1-minute-survey-to-shape-the-future-of-gen-ai/116292 "2024-07-02T08:34:14Z")

</div>

:fire: Julia Gen AI Survey :fire: We’ve compiled a super quick survey (5 multiple-choice questions + 2 optional open-ended ones) to understand the interest and challenges around Generative AI, Large Language Models, and…

---

## [Is there a way to add padding between axis ticks and axis label in Plots.jl with gr?](https://discourse.julialang.org/t/is-there-a-way-to-add-padding-between-axis-ticks-and-axis-label-in-plots-jl-with-gr/116498)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 8:09am UTC](https://discourse.julialang.org/t/is-there-a-way-to-add-padding-between-axis-ticks-and-axis-label-in-plots-jl-with-gr/116498 "2024-07-02T08:09:36Z")

</div>

Hi all! I’m using the GR backend to create a plot. The axis label is written with a LatexString, but for some reason, there is almost no space between the tick labels and the axis label. I’ve been trying for a while to …

---

## [Declaring types: Vector{Union{Int64, Matrix{Int64}}} is much slower than Vector{Any}, why is that?](https://discourse.julialang.org/t/declaring-types-vector-union-int64-matrix-int64-is-much-slower-than-vector-any-why-is-that/116480)

<div class="topic-metadata">

**Author:** [@13299118606](https://discourse.julialang.org/u/13299118606)\
**Replies:** 10\
**Last updated:** [July 2, 2024, 7:48am UTC](https://discourse.julialang.org/t/declaring-types-vector-union-int64-matrix-int64-is-much-slower-than-vector-any-why-is-that/116480 "2024-07-02T07:48:48Z")

</div>

Declaring types: Vector{Union{Int64, Matrix{Int64}}} is much slower than Vector{Any}, why is that? The following code is different from my declarations. f0 is not declared, f1 is declared ::Vector{Any}, and f2 is declar…

---

## [How to get the parent process id, ppid?](https://discourse.julialang.org/t/how-to-get-the-parent-process-id-ppid/116507)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 7:51am UTC](https://discourse.julialang.org/t/how-to-get-the-parent-process-id-ppid/116507 "2024-07-02T07:51:00Z")

</div>

I am trying to find out whether my julia is called from python, from R or plainly julia. Research brought me to using the ppid on Unix based systems, however I couldn’t find how to get it using julia.

---

## [Getting output of command from run(pipeline(...)) in both stdout and file](https://discourse.julialang.org/t/getting-output-of-command-from-run-pipeline-in-both-stdout-and-file/116472)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 3\
**Last updated:** [July 2, 2024, 7:49am UTC](https://discourse.julialang.org/t/getting-output-of-command-from-run-pipeline-in-both-stdout-and-file/116472 "2024-07-02T07:49:05Z")

</div>

Hi, I’m trying to write a small script to setup simulations in a cluster. These take a while to compute, and while doing so provide useful output informing of the state of the simulation. For that purpose, when using ba…

---

## [Python project calling Julia functions](https://discourse.julialang.org/t/python-project-calling-julia-functions/116191)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 4\
**Last updated:** [July 2, 2024, 7:16am UTC](https://discourse.julialang.org/t/python-project-calling-julia-functions/116191 "2024-07-02T07:16:35Z")

</div>

I need to create a Python project that calls some of the functions exported by my Julia package KiteModels.jl. I need to manage both the Python and the Julia dependencies. What would be a good way to do that? For now i…

---

## [Kolmogorov-Arnold network](https://discourse.julialang.org/t/kolmogorov-arnold-network/113712)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 5\
**Last updated:** [July 2, 2024, 7:08am UTC](https://discourse.julialang.org/t/kolmogorov-arnold-network/113712 "2024-07-02T07:08:15Z")

</div>

A new architecture was dropped, vastly different from deep learning. In case you were interested in implementing something in Julia, maybe this?

---

## [Can we add an alarm to Julia?](https://discourse.julialang.org/t/can-we-add-an-alarm-to-julia/116505)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 7:00am UTC](https://discourse.julialang.org/t/can-we-add-an-alarm-to-julia/116505 "2024-07-02T07:00:58Z")

</div>

Can we add an alarm to Julia so that it can sound an alarm when a program terminates?

---

## [Neural Nets training with multiple Chains Lux.jl and LuxCUDA.jl: LoadError: AssertionError: length(init\_params) == length(depvars) when using multi chains in NeuralPDE.jl GPU example](https://discourse.julialang.org/t/neural-nets-training-with-multiple-chains-lux-jl-and-luxcuda-jl-loaderror-assertionerror-length-init-params-length-depvars-when-using-multi-chains-in-neuralpde-jl-gpu-example/116501)

<div class="topic-metadata">

**Author:** [@BakChin-Hwa](https://discourse.julialang.org/u/BakChin-Hwa)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 5:45am UTC](https://discourse.julialang.org/t/neural-nets-training-with-multiple-chains-lux-jl-and-luxcuda-jl-loaderror-assertionerror-length-init-params-length-depvars-when-using-multi-chains-in-neuralpde-jl-gpu-example/116501 "2024-07-02T05:45:24Z")

</div>

When adapting the GPU example (Using GPUs · NeuralPDE.jl) of NeuralPDE .jl to multiple chains, it does not work. using NeuralPDE, Lux, LuxCUDA, Random, ComponentArrays using Optimization using OptimizationOptimisers imp…

---

## [Verses.ai's Genius Agents. For AGI: "Deep learning is not enough"](https://discourse.julialang.org/t/verses-ais-genius-agents-for-agi-deep-learning-is-not-enough/116499)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 2\
**Last updated:** [July 2, 2024, 3:15am UTC](https://discourse.julialang.org/t/verses-ais-genius-agents-for-agi-deep-learning-is-not-enough/116499 "2024-07-02T03:15:56Z")

</div>

\[..\] Deep learning is not enough. \[..\] For me FAQ: What makes Genius unique compared to other AI systems? Genius Agents have the ability to Reason (predict), Plan (optimize)\*, and Learn (adapt)\*. Inference. G…

---

## [CUDA kernel crash very occasionally when MPI.jl is just loaded](https://discourse.julialang.org/t/cuda-kernel-crash-very-occasionally-when-mpi-jl-is-just-loaded/116481)

<div class="topic-metadata">

**Author:** [@0samuraiE](https://discourse.julialang.org/u/0samuraiE)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 10:39pm UTC](https://discourse.julialang.org/t/cuda-kernel-crash-very-occasionally-when-mpi-jl-is-just-loaded/116481 "2024-07-01T22:39:43Z")

</div>

Title: Feedback Needed on \[CUDA kernel crash very occasionally when MPI.jl is just loaded.\] (GitHub Issue #2429) Hello Julia community, I have encountered an issue “CUDA.jl kernel crash very occasionally when MPI.jl is …

---

## [Julia with CuArray issue](https://discourse.julialang.org/t/julia-with-cuarray-issue/116485)

<div class="topic-metadata">

**Author:** [@miniskar](https://discourse.julialang.org/u/miniskar)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 8:04pm UTC](https://discourse.julialang.org/t/julia-with-cuarray-issue/116485 "2024-07-01T20:04:43Z")

</div>

I am getting an issue with CuArray and tried to explain it with simple example. I have created a device pointer through cudaMalloc in C function “get\_device\_address()”. The “get\_device\_address()” is called in Julia and …

---

## [Julia v1.10.3 cannot locate repository GitError(Code:ENOTFOUND, Class:Repository, could not find repository from '.../.julia/clones/10051337927520772488')](https://discourse.julialang.org/t/julia-v1-10-3-cannot-locate-repository-giterror-code-enotfound-class-repository-could-not-find-repository-from-julia-clones-10051337927520772488/116466)

<div class="topic-metadata">

**Author:** [@joshua-slaughter](https://discourse.julialang.org/u/joshua-slaughter)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 6:28pm UTC](https://discourse.julialang.org/t/julia-v1-10-3-cannot-locate-repository-giterror-code-enotfound-class-repository-could-not-find-repository-from-julia-clones-10051337927520772488/116466 "2024-07-01T18:28:06Z")

</div>

Hi all, fearing that this could potentially be a duplicate see here I am running into a similar error but I believe the .cache directory may not exist anymore? I cannot located it in my .julia directory. But I am getting…

---

## [Julia 1.10.x on Raspberry Pi 400](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400)

<div class="topic-metadata">

**Author:** [@devel-chm](https://discourse.julialang.org/u/devel-chm)\
**Replies:** 8\
**Last updated:** [July 1, 2024, 5:49pm UTC](https://discourse.julialang.org/t/julia-1-10-x-on-raspberry-pi-400/116400 "2024-07-01T17:49:55Z")

</div>

I just installed the 1.6.7 julia on my Raspberry Pi 400. It runs but the TTFX is excruciating. I would like to install 1.10.x+ but there appear to be no binaries from the julialang.org site. Has anyone successfully …

---

## [GMT fails to precompile in Julia 1.10.4](https://discourse.julialang.org/t/gmt-fails-to-precompile-in-julia-1-10-4/116391)

<div class="topic-metadata">

**Author:** [@morningglory05](https://discourse.julialang.org/u/morningglory05)\
**Replies:** 8\
**Last updated:** [July 1, 2024, 4:46pm UTC](https://discourse.julialang.org/t/gmt-fails-to-precompile-in-julia-1-10-4/116391 "2024-07-01T16:46:55Z")

</div>

I’m updating to Julia 1.10.4. Most of the packages precompiled fine, but GMT is refusing to precompile. When I use VScode, I get the following error: ERROR: LoadError: InitError: could not load library "C:\\Users\\johns\\.…

---

## [Makie: multiple y-axes align yticks](https://discourse.julialang.org/t/makie-multiple-y-axes-align-yticks/116471)

<div class="topic-metadata">

**Author:** [@thomasj](https://discourse.julialang.org/u/thomasj)\
**Replies:** 5\
**Last updated:** [July 1, 2024, 4:27pm UTC](https://discourse.julialang.org/t/makie-multiple-y-axes-align-yticks/116471 "2024-07-01T16:27:51Z")

</div>

I’m trying to make plots with multiple y-axes in Makie. I would like that the ticks of all y-axes are aligned with respect to the others y-axis. using GLMakie using LaTeXStrings using Statistics t = \[0; 1; 2; 3; 4; 5\]…

---

## [Is there a nice way to add submatrices to a larger matrix?](https://discourse.julialang.org/t/is-there-a-nice-way-to-add-submatrices-to-a-larger-matrix/116420)

<div class="topic-metadata">

**Author:** [@AwesomeQuest](https://discourse.julialang.org/u/AwesomeQuest)\
**Replies:** 4\
**Last updated:** [July 1, 2024, 2:34pm UTC](https://discourse.julialang.org/t/is-there-a-nice-way-to-add-submatrices-to-a-larger-matrix/116420 "2024-07-01T14:34:23Z")

</div>

So I’ve found two ways of doing this, the obvious for-loop way and the slightly more Julian infix operator way. First, the for-loop way for (ind,i) in enumerate(indices) M\[i:i+n, i:i+m\] .= A\[ind\] end Where indices co…

---

## [How to make \`barplot\` in makie show different fill styles?](https://discourse.julialang.org/t/how-to-make-barplot-in-makie-show-different-fill-styles/116464)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 1:29pm UTC](https://discourse.julialang.org/t/how-to-make-barplot-in-makie-show-different-fill-styles/116464 "2024-07-01T13:29:00Z")

</div>

I want the bars in a barplot to have different fill styles instead of just being filled with a solid color. For example, I want to have grid-like stripes, zebra stripes with two alternating colors, and so on. How can I…

---

## [\`ParseError\` when reducing for short-circuit evaluation](https://discourse.julialang.org/t/parseerror-when-reducing-for-short-circuit-evaluation/116458)

<div class="topic-metadata">

**Author:** [@rmsmsgood](https://discourse.julialang.org/u/rmsmsgood)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 12:43pm UTC](https://discourse.julialang.org/t/parseerror-when-reducing-for-short-circuit-evaluation/116458 "2024-07-01T12:43:32Z")

</div>

Motive Hi, I have bit tensors to find fixed point of 3-dimensional ODE and I tried drawing nullcline first. Because intersection of nullcline is a candidate of fixed point, I have to evaluate so many times. I want to use…

---

## [Saving Makie plot so one can pan/zoom on the saved file](https://discourse.julialang.org/t/saving-makie-plot-so-one-can-pan-zoom-on-the-saved-file/116467)

<div class="topic-metadata">

**Author:** [@hhindley](https://discourse.julialang.org/u/hhindley)\
**Replies:** 2\
**Last updated:** [July 1, 2024, 12:41pm UTC](https://discourse.julialang.org/t/saving-makie-plot-so-one-can-pan-zoom-on-the-saved-file/116467 "2024-07-01T12:41:08Z")

</div>

In PlotlyJS you can save plots as HTML and the interactivity is preserved, however the data I’m plotting is much too big for PlotlyJS so I’m using Makie.jl and InteractiveViz.jl. I’m trying to save these plots so that t…

---

## [Proper order when cycling through colormap](https://discourse.julialang.org/t/proper-order-when-cycling-through-colormap/116209)

<div class="topic-metadata">

**Author:** [@erathorn](https://discourse.julialang.org/u/erathorn)\
**Replies:** 6\
**Last updated:** [July 1, 2024, 12:30pm UTC](https://discourse.julialang.org/t/proper-order-when-cycling-through-colormap/116209 "2024-07-01T12:30:46Z")

</div>

Using this (slightly adapted) code from the documentation, we can see, that the cycler, uses the two extreme colors from the colormap. using CairoMakie categories = rand(1:3, 1000) values = randn(1000) dodge = rand(1:2…

---

## [How to plot a rounded rectangle with \`Makie\`?](https://discourse.julialang.org/t/how-to-plot-a-rounded-rectangle-with-makie/116457)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [July 1, 2024, 12:25pm UTC](https://discourse.julialang.org/t/how-to-plot-a-rounded-rectangle-with-makie/116457 "2024-07-01T12:25:46Z")

</div>

I can do this using rectangle('Position', \[-1, 1, 1, 1\], 'Curvature', 0.2) in MATLAB.

---

## [Julia to C function to Julia function call](https://discourse.julialang.org/t/julia-to-c-function-to-julia-function-call/115997)

<div class="topic-metadata">

**Author:** [@miniskar](https://discourse.julialang.org/u/miniskar)\
**Replies:** 5\
**Last updated:** [July 1, 2024, 11:32am UTC](https://discourse.julialang.org/t/julia-to-c-function-to-julia-function-call/115997 "2024-07-01T11:32:08Z")

</div>

I am trying having a runtime framework implemented in C++ launguage. Julia application calls this framework and this framework will call some other Julia function. I am facing some issue when the framework calls Julia fu…

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

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