# Latest

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

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

**Page:** 626

---

## [Type stability around of wrapped plan fft](https://discourse.julialang.org/t/type-stability-around-of-wrapped-plan-fft/102582)

<div class="topic-metadata">

**Author:** [@Veenty](https://discourse.julialang.org/u/Veenty)\
**Replies:** 2\
**Last updated:** [August 8, 2023, 7:27am UTC](https://discourse.julialang.org/t/type-stability-around-of-wrapped-plan-fft/102582 "2023-08-08T07:27:43Z")

</div>

I have a simple struct wrapping a planned fft and I’m not really sure how to make it type stable I might need to write the type of the fft, but I’m not really sure how to do it (I cannot really interpret the type of a p…

---

## [Julia NaN check for NamedTuple](https://discourse.julialang.org/t/julia-nan-check-for-namedtuple/102583)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 4\
**Last updated:** [August 8, 2023, 7:00am UTC](https://discourse.julialang.org/t/julia-nan-check-for-namedtuple/102583 "2023-08-08T07:00:39Z")

</div>

How to check if NaN is in a given NamedTuple? For example, julia\> myarray = \[0, 1, 2, NaN\] 4-element Vector{Float64}: 0.0 1.0 2.0 NaN julia\> isnan.(myarray) 4-element BitVector: 0 0 0 1 julia\> mynt = (;…

---

## [Asking unashamedly for help with web page](https://discourse.julialang.org/t/asking-unashamedly-for-help-with-web-page/102586)

<div class="topic-metadata">

**Author:** [@skypuppy](https://discourse.julialang.org/u/skypuppy)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 7:05am UTC](https://discourse.julialang.org/t/asking-unashamedly-for-help-with-web-page/102586 "2023-08-08T07:05:06Z")

</div>

Been studying Julia for over a year now. Purchased several books (a couple of them rather expensive for me!). Still don’t have as good a grasp as I feel I need. So, I’m going to, unashamedly, ask for help in a way tha…

---

## [JuliaHEP Workshop 2023 at Erlangen Centre for Astroparticle Physics](https://discourse.julialang.org/t/juliahep-workshop-2023-at-erlangen-centre-for-astroparticle-physics/102591)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 0\
**Last updated:** [August 8, 2023, 6:28am UTC](https://discourse.julialang.org/t/juliahep-workshop-2023-at-erlangen-centre-for-astroparticle-physics/102591 "2023-08-08T06:28:54Z")

</div>

Hi folks! The first ever Julia HEP Workshop is open for registrations and we are eagerly awaiting your abstracts for talks and tutorials. It will be a four day long hybrid event from 6-9th November 2023 hosted at the E…

---

## [How can I rotate the BoxPlot with AoG?](https://discourse.julialang.org/t/how-can-i-rotate-the-boxplot-with-aog/102218)

<div class="topic-metadata">

**Author:** [@AugustoCL](https://discourse.julialang.org/u/AugustoCL)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 4:24am UTC](https://discourse.julialang.org/t/how-can-i-rotate-the-boxplot-with-aog/102218 "2023-08-08T04:24:41Z")

</div>

I’m trying to reproduce the following plot using AoG customizing whatever is needed with CairoMakie properties/parameters. So, as the names are long, I need to rotate them to see better. this plot just used coord\_fli…

---

## [\`view\` and \`\[ \]\` with "slice object"](https://discourse.julialang.org/t/view-and-with-slice-object/102285)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 5\
**Last updated:** [August 8, 2023, 1:01am UTC](https://discourse.julialang.org/t/view-and-with-slice-object/102285 "2023-08-08T01:01:11Z")

</div>

A tuple is often used to encapsulate a set of array sizes: sz = size(multi\_dim\_arr) and use sz later. In a similar manner, I sometimes want to encapsulate an array “slice” in an object, but I’m wondering what’s the best …

---

## [Would people like an introduction of a Julia debug mode? Possibly on by default in the REPL/Pluto/Jupyter](https://discourse.julialang.org/t/would-people-like-an-introduction-of-a-julia-debug-mode-possibly-on-by-default-in-the-repl-pluto-jupyter/102535)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 1\
**Last updated:** [August 8, 2023, 12:05am UTC](https://discourse.julialang.org/t/would-people-like-an-introduction-of-a-julia-debug-mode-possibly-on-by-default-in-the-repl-pluto-jupyter/102535 "2023-08-08T00:05:15Z")

</div>

Julia has very few misfeatures. There are though a few footguns. I’m thinking Julia needs a debug mode (if not removing the footguns in 2.0). I’m thinking this debug mode should be on by default on master, both in the R…

---

## [Nonlinear JuMP - vector of expressions+differences between @NL and no @NL](https://discourse.julialang.org/t/nonlinear-jump-vector-of-expressions-differences-between-nl-and-no-nl/102405)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 10\
**Last updated:** [August 7, 2023, 8:19pm UTC](https://discourse.julialang.org/t/nonlinear-jump-vector-of-expressions-differences-between-nl-and-no-nl/102405 "2023-08-07T20:19:00Z")

</div>

Following JuliaCon, I wanted to try out the nonlinear version of JuMP, especially the option of having vectors instead of a list of expressions. In the process I managed to Make the nonlinear version work without the @…

---

## [Optimize for physical cores and caches](https://discourse.julialang.org/t/optimize-for-physical-cores-and-caches/102575)

<div class="topic-metadata">

**Author:** [@taotree](https://discourse.julialang.org/u/taotree)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 8:10pm UTC](https://discourse.julialang.org/t/optimize-for-physical-cores-and-caches/102575 "2023-08-07T20:10:46Z")

</div>

For some analysis where each thread is memory intensive on separate memory, using all logical cores might be suboptimal because then pairs of threads (hyperthreading) on a single core might be thrashing the caches. It se…

---

## [Windows pipeline capture](https://discourse.julialang.org/t/windows-pipeline-capture/102560)

<div class="topic-metadata">

**Author:** [@monty](https://discourse.julialang.org/u/monty)\
**Replies:** 2\
**Last updated:** [August 7, 2023, 5:11pm UTC](https://discourse.julialang.org/t/windows-pipeline-capture/102560 "2023-08-07T17:11:24Z")

</div>

I am trying to capture stdout/stderr of a windows command. However, it does not seem to work: run(pipeline(\`cmd /C nonexisting.exe\`; stderr=devnull, stdout=devnull)) Produces: Stacktrace: \[1\] pipeline\_error @ .\\pr…

---

## [Inverse subset algorithm?](https://discourse.julialang.org/t/inverse-subset-algorithm/102252)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 5:02pm UTC](https://discourse.julialang.org/t/inverse-subset-algorithm/102252 "2023-08-07T17:02:50Z")

</div>

Reading this paper, I came across a reference to the “inverse subset algorithm,” in the context of efficiently calculating the gradient of the log-determinant of a sparse symmetric matrix (Section 4.1, Equation 8 and imm…

---

## [Callbacks within CallbackSet interfering with each other](https://discourse.julialang.org/t/callbacks-within-callbackset-interfering-with-each-other/102452)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 2\
**Last updated:** [August 7, 2023, 4:57pm UTC](https://discourse.julialang.org/t/callbacks-within-callbackset-interfering-with-each-other/102452 "2023-08-07T16:57:31Z")

</div>

Hi there, I’m trying to use callbacks to create pulses to two identical systems ran through the same set of differential equations. It seems like putting the two Callbacks together results in the Callbacks somehow inter…

---

## [Simple brownian motion plot is insanely slow. How can I speed it up?](https://discourse.julialang.org/t/simple-brownian-motion-plot-is-insanely-slow-how-can-i-speed-it-up/92189)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 11\
**Last updated:** [August 7, 2023, 4:30pm UTC](https://discourse.julialang.org/t/simple-brownian-motion-plot-is-insanely-slow-how-can-i-speed-it-up/92189 "2023-08-07T16:30:33Z")

</div>

using LinearAlgebra, Plots, Distributions, Random; Δt=0.01; T\_sim=500; N\_sim = 100; time\_sim = 0.0:Δt:T\_sim ε\_sim = randn(MersenneTwister(123), N\_sim, length(time\_sim)); Z\_sim =cumsum(ε\_sim, dims=2) plt\_shock = plot(…

---

## [Embedding multiple interpreters](https://discourse.julialang.org/t/embedding-multiple-interpreters/102571)

<div class="topic-metadata">

**Author:** [@dlandahl](https://discourse.julialang.org/u/dlandahl)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 4:21pm UTC](https://discourse.julialang.org/t/embedding-multiple-interpreters/102571 "2023-08-07T16:21:27Z")

</div>

I would like to allow users to write Julia-based plugins for my software, which is written in a C-like language. I had a look at the embedding manual which seems really straightforward. However, I don’t know what the rig…

---

## [Lifting observable draws all data from previous steps](https://discourse.julialang.org/t/lifting-observable-draws-all-data-from-previous-steps/102565)

<div class="topic-metadata">

**Author:** [@ittomsk](https://discourse.julialang.org/u/ittomsk)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 2:00pm UTC](https://discourse.julialang.org/t/lifting-observable-draws-all-data-from-previous-steps/102565 "2023-08-07T14:00:33Z")

</div>

I’m using that code to draw an object with it’s orientation on top. When orientation marker spins, marker from previous step doesn’t disappear. But I want to draw only orientation from current step. How do I do it? adat…

---

## [How to create to separate, simultaneously coexisting plot windows](https://discourse.julialang.org/t/how-to-create-to-separate-simultaneously-coexisting-plot-windows/55626)

<div class="topic-metadata">

**Author:** [@Uroc327](https://discourse.julialang.org/u/Uroc327)\
**Replies:** 6\
**Last updated:** [August 7, 2023, 3:20pm UTC](https://discourse.julialang.org/t/how-to-create-to-separate-simultaneously-coexisting-plot-windows/55626 "2023-08-07T15:20:59Z")

</div>

Hi! How can I create to separate windows, where each shows a Figure / Scene? When I try to create two Figure()s, I can only show one at a time. The same is true for Scene()s. fig1 = Figure() # add axes, plots, labels,…

---

## [Unable to change system size in DDE problem using DifferentialEquations.jl](https://discourse.julialang.org/t/unable-to-change-system-size-in-dde-problem-using-differentialequations-jl/102103)

<div class="topic-metadata">

**Author:** [@jewh](https://discourse.julialang.org/u/jewh)\
**Replies:** 10\
**Last updated:** [August 7, 2023, 3:09pm UTC](https://discourse.julialang.org/t/unable-to-change-system-size-in-dde-problem-using-differentialequations-jl/102103 "2023-08-07T15:09:07Z")

</div>

I’m solving a DDE model for gene expression within cells and want to see how the system reacts to me adding a new cell during the simulation. For this I’m using DifferentialEquations.jl, following the tutorial for solvi…

---

## [Julia enters the TIOBE index top 20 for the first time](https://discourse.julialang.org/t/julia-enters-the-tiobe-index-top-20-for-the-first-time/102558)

<div class="topic-metadata">

**Author:** [@vinodv79](https://discourse.julialang.org/u/vinodv79)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 2:35pm UTC](https://discourse.julialang.org/t/julia-enters-the-tiobe-index-top-20-for-the-first-time/102558 "2023-08-07T14:35:40Z")

</div>

Julia enters the TIOBE index top 20 for the first time https://www.tiobe.com/tiobe-index/

---

## [Worker is terminated with "connection reset by peer" after activating environment and using packages](https://discourse.julialang.org/t/worker-is-terminated-with-connection-reset-by-peer-after-activating-environment-and-using-packages/102432)

<div class="topic-metadata">

**Author:** [@rjuly7](https://discourse.julialang.org/u/rjuly7)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 2:23pm UTC](https://discourse.julialang.org/t/worker-is-terminated-with-connection-reset-by-peer-after-activating-environment-and-using-packages/102432 "2023-08-07T14:23:58Z")

</div>

I’m working on a Windows laptop, running Julia in VSCode. I run the following code to set up distributed processors and packages: using Distributed addprocs(3) @everywhere path = "C:/Users/User/Documents/bounds" @ever…

---

## [Variable declaration without assignment](https://discourse.julialang.org/t/variable-declaration-without-assignment/102548)

<div class="topic-metadata">

**Author:** [@michakraus](https://discourse.julialang.org/u/michakraus)\
**Replies:** 2\
**Last updated:** [August 7, 2023, 1:56pm UTC](https://discourse.julialang.org/t/variable-declaration-without-assignment/102548 "2023-08-07T13:56:58Z")

</div>

Hi, I have a question about what happens internally, when variables are declared without actually assigning a value, e.g., if I have a function like function myfunc() local x end does this actually create a variabl…

---

## [Performance tip for Julia 1.9, docker and Pkg.precompile on older CPUs](https://discourse.julialang.org/t/performance-tip-for-julia-1-9-docker-and-pkg-precompile-on-older-cpus/102561)

<div class="topic-metadata">

**Author:** [@benguela](https://discourse.julialang.org/u/benguela)\
**Replies:** 0\
**Last updated:** [August 7, 2023, 12:50pm UTC](https://discourse.julialang.org/t/performance-tip-for-julia-1-9-docker-and-pkg-precompile-on-older-cpus/102561 "2023-08-07T12:50:28Z")

</div>

We deploy our apps in Docker containers and recently we upgraded to the 1.9 official Julia image. We started experiencing significant slow start up times when running our containers. Note that we run the Pkg.precompile i…

---

## [Calculating equilibrium states takes too long IntervalRootFinding](https://discourse.julialang.org/t/calculating-equilibrium-states-takes-too-long-intervalrootfinding/102553)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 6\
**Last updated:** [August 7, 2023, 11:24am UTC](https://discourse.julialang.org/t/calculating-equilibrium-states-takes-too-long-intervalrootfinding/102553 "2023-08-07T11:24:19Z")

</div>

Hello, i calculate equilibriums with IntervalRootFinding.Newton The calculation time takes too long Could it be some kind of error or a problem in the method itself? I call the method of Newton using fixedpoints fro…

---

## [How to convert EzXML.Document file into a dictionary](https://discourse.julialang.org/t/how-to-convert-ezxml-document-file-into-a-dictionary/102550)

<div class="topic-metadata">

**Author:** [@Chao](https://discourse.julialang.org/u/Chao)\
**Replies:** 1\
**Last updated:** [August 7, 2023, 11:22am UTC](https://discourse.julialang.org/t/how-to-convert-ezxml-document-file-into-a-dictionary/102550 "2023-08-07T11:22:03Z")

</div>

Hello I just start to use Julia for programming. I have a XML dataset and used the EzXML package to get the data. The data is an N-element Vector{EzXML.Node}. For each EzXML.Node, it looks like this: \<event time="30000.…

---

## [On the behavior of reversed iterators](https://discourse.julialang.org/t/on-the-behavior-of-reversed-iterators/102543)

<div class="topic-metadata">

**Author:** [@adienes](https://discourse.julialang.org/u/adienes)\
**Replies:** 45\
**Last updated:** [August 7, 2023, 10:47am UTC](https://discourse.julialang.org/t/on-the-behavior-of-reversed-iterators/102543 "2023-08-07T10:47:14Z")

</div>

in https://github.com/JuliaLang/julia/blob/3e04129d61e19fe2957680b39e03b350db8e8c0d/base/iterators.jl#L530 it is explicitly defined as reverse(f::Filter) = Filter(f.flt, reverse(f.itr)) I don’t think this is correct,…

---

## [LLaMA in Julia?](https://discourse.julialang.org/t/llama-in-julia/95979)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 13\
**Last updated:** [August 7, 2023, 8:43am UTC](https://discourse.julialang.org/t/llama-in-julia/95979 "2023-08-07T08:43:02Z")

</div>

LLaMA.cpp \[1\] has been getting a lot of attention on Hacker News \[2\] for its ability to run a Large Language Model (LLM) on any recent CPU with modest memory requirements. I’ve been meaning to get a better understanding…

---

## [Rounding DateTime string](https://discourse.julialang.org/t/rounding-datetime-string/102434)

<div class="topic-metadata">

**Author:** [@ryofurue](https://discourse.julialang.org/u/ryofurue)\
**Replies:** 3\
**Last updated:** [August 7, 2023, 5:28am UTC](https://discourse.julialang.org/t/rounding-datetime-string/102434 "2023-08-07T05:28:43Z")

</div>

As discussed here https://discourse.julialang.org/t/parsing-datetime-string/ it’s quite a hassle to convert a datetime string to a DateTime object when the string contains more digits than DateTime can accommodate. Is…

---

## [Getting gradients with loss using for-loop is slow in Flux.jl](https://discourse.julialang.org/t/getting-gradients-with-loss-using-for-loop-is-slow-in-flux-jl/102192)

<div class="topic-metadata">

**Author:** [@bb777](https://discourse.julialang.org/u/bb777)\
**Replies:** 4\
**Last updated:** [August 7, 2023, 2:40am UTC](https://discourse.julialang.org/t/getting-gradients-with-loss-using-for-loop-is-slow-in-flux-jl/102192 "2023-08-07T02:40:38Z")

</div>

Hello. I am trying to train an original model using Flux.jl for sequential data. I want to use a loss function that utilizes a for loop to recursively use the output of the neural network as input for each data point. H…

---

## [References for network construction via symbolic\_discretize](https://discourse.julialang.org/t/references-for-network-construction-via-symbolic-discretize/102541)

<div class="topic-metadata">

**Author:** [@Ethan\_Tran](https://discourse.julialang.org/u/Ethan_Tran)\
**Replies:** 0\
**Last updated:** [August 6, 2023, 10:43pm UTC](https://discourse.julialang.org/t/references-for-network-construction-via-symbolic-discretize/102541 "2023-08-06T22:43:53Z")

</div>

I used the NeuralPDE to solve the ODE system by following the tutorial at NeuralPDE.jl. I used the construction with the Lux.jl package, which is presented at Defining Systems of PDEs for Physics-Informed Neural Networks…

---

## [Is half precision a killer app for RecursiveFactorization?](https://discourse.julialang.org/t/is-half-precision-a-killer-app-for-recursivefactorization/102407)

<div class="topic-metadata">

**Author:** [@ctkelley](https://discourse.julialang.org/u/ctkelley)\
**Replies:** 2\
**Last updated:** [August 4, 2023, 5:07pm UTC](https://discourse.julialang.org/t/is-half-precision-a-killer-app-for-recursivefactorization/102407 "2023-08-04T17:07:19Z")

</div>

@YingboMa you and your collaborators have done good and noble work with this. I’ve been working on half precision for a while and one of the pain points is that LAPACK/BLAS does not support Float16, even though Apple si…

---

## [How to run subset of tests?](https://discourse.julialang.org/t/how-to-run-subset-of-tests/102531)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 6\
**Last updated:** [August 6, 2023, 9:24pm UTC](https://discourse.julialang.org/t/how-to-run-subset-of-tests/102531 "2023-08-06T21:24:23Z")

</div>

Does Pkg.test support running only some test sets? I’d like to add a time-consuming testset to my code but don’t want to execute it every time.

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

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