# Latest

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

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

**Page:** 613

---

## [Developing multiple packages in the same repository](https://discourse.julialang.org/t/developing-multiple-packages-in-the-same-repository/103191)

<div class="topic-metadata">

**Author:** [@joh](https://discourse.julialang.org/u/joh)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 2:30pm UTC](https://discourse.julialang.org/t/developing-multiple-packages-in-the-same-repository/103191 "2023-08-25T14:30:11Z")

</div>

What is the recommended workflow to work on multiple packages that belong to the same repository? An example is POMDPs.jl which consists of POMDPs.jl and the subpackage POMDPTools.jl, which is located at lib/POMDPTools. …

---

## [MTK Easy way to get required states of observed state](https://discourse.julialang.org/t/mtk-easy-way-to-get-required-states-of-observed-state/102746)

<div class="topic-metadata">

**Author:** [@jondavis847](https://discourse.julialang.org/u/jondavis847)\
**Replies:** 5\
**Last updated:** [August 25, 2023, 1:53pm UTC](https://discourse.julialang.org/t/mtk-easy-way-to-get-required-states-of-observed-state/102746 "2023-08-25T13:53:01Z")

</div>

Hello, Say I have an MTK model with a state x that is dependent on states y and z. After structural simplification x and it’s equation are moved to observed, y and z are still present in the simplified solution. I save …

---

## [How can I restart ElectronDisplay?](https://discourse.julialang.org/t/how-can-i-restart-electrondisplay/103034)

<div class="topic-metadata">

**Author:** [@Soldalma](https://discourse.julialang.org/u/Soldalma)\
**Replies:** 2\
**Last updated:** [August 25, 2023, 11:24am UTC](https://discourse.julialang.org/t/how-can-i-restart-electrondisplay/103034 "2023-08-25T11:24:03Z")

</div>

I run using ElectronDisplay in my program, and the charts produced appear in a nice window outside of VSCode. If I run my program by selecting all the code and hitting Ctrl+Enter the REPL window stays open after the p…

---

## [Reading binary file to Julia](https://discourse.julialang.org/t/reading-binary-file-to-julia/103151)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 10\
**Last updated:** [August 25, 2023, 10:53am UTC](https://discourse.julialang.org/t/reading-binary-file-to-julia/103151 "2023-08-25T10:53:09Z")

</div>

Hi all. I have a binary file that I need to load to julia. I have a python scrip that reads it, can anyone help me a bit to turn this to julia, it is not working for me # omit the first 4 values (header information)…

---

## [Speed issues with MPI.jl on slurm cluster](https://discourse.julialang.org/t/speed-issues-with-mpi-jl-on-slurm-cluster/103068)

<div class="topic-metadata">

**Author:** [@gerhardu](https://discourse.julialang.org/u/gerhardu)\
**Replies:** 4\
**Last updated:** [August 25, 2023, 9:55am UTC](https://discourse.julialang.org/t/speed-issues-with-mpi-jl-on-slurm-cluster/103068 "2023-08-25T09:55:49Z")

</div>

Hello, I wrote MPI.jl parallel code (my first one) to be used on a Slurm cluster. I ran the code on my notebook and on the cluster using one node. It turns out that the code executes 6 times slower on the cluster and …

---

## [JavaCall.jl v0.8.0 Released](https://discourse.julialang.org/t/javacall-jl-v0-8-0-released/103183)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 9:39am UTC](https://discourse.julialang.org/t/javacall-jl-v0-8-0-released/103183 "2023-08-25T09:39:07Z")

</div>

JavaCall.jl version 0.8.0 was released last week. This is a breaking change due to a significantly revised Java references system. This provides better control over memory at the interface, preventing memory leaks. A…

---

## [Reduce type inference when using nested ForwardDiff](https://discourse.julialang.org/t/reduce-type-inference-when-using-nested-forwarddiff/103181)

<div class="topic-metadata">

**Author:** [@Vik1](https://discourse.julialang.org/u/Vik1)\
**Replies:** 0\
**Last updated:** [August 25, 2023, 9:03am UTC](https://discourse.julialang.org/t/reduce-type-inference-when-using-nested-forwarddiff/103181 "2023-08-25T09:03:51Z")

</div>

Hi Julia wizards, I am calculating derivatives wrt. different arguments of a function. Unfortunately, the compilation time in my actual use case is very high due to type inference. I had a quick fix, that reduced it, bu…

---

## [Run Pkg.test but not in a separate process](https://discourse.julialang.org/t/run-pkg-test-but-not-in-a-separate-process/103176)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 2\
**Last updated:** [August 25, 2023, 8:26am UTC](https://discourse.julialang.org/t/run-pkg-test-but-not-in-a-separate-process/103176 "2023-08-25T08:26:43Z")

</div>

I would like to have a script that runs my test with a few different settings (basically ENV variables). For that I would like to use Pkg.test (instead of the \] test MyPackage which might be a bit manual for this). Howev…

---

## [Normalize a large matrix by row](https://discourse.julialang.org/t/normalize-a-large-matrix-by-row/102997)

<div class="topic-metadata">

**Author:** [@A\_M](https://discourse.julialang.org/u/A_M)\
**Replies:** 10\
**Last updated:** [August 25, 2023, 8:21am UTC](https://discourse.julialang.org/t/normalize-a-large-matrix-by-row/102997 "2023-08-25T08:21:51Z")

</div>

How can I use a CUDA kernel to normalize a big matrix A by row and use the same scaling factors to a vector b?

---

## [Trying to make multithreading to work on applying a function number of times](https://discourse.julialang.org/t/trying-to-make-multithreading-to-work-on-applying-a-function-number-of-times/103124)

<div class="topic-metadata">

**Author:** [@ahmed](https://discourse.julialang.org/u/ahmed)\
**Replies:** 11\
**Last updated:** [August 25, 2023, 7:51am UTC](https://discourse.julialang.org/t/trying-to-make-multithreading-to-work-on-applying-a-function-number-of-times/103124 "2023-08-25T07:51:37Z")

</div>

I have a function F that does some computations on its input arrays. First I’m trying to see if I can make this function as fast as possible as this function will be computed 50 times in one of possibly many iterations s…

---

## [Julia v1.9.3 has been released](https://discourse.julialang.org/t/julia-v1-9-3-has-been-released/103173)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 9:52pm UTC](https://discourse.julialang.org/t/julia-v1-9-3-has-been-released/103173 "2023-08-24T21:52:34Z")

</div>

Julia version 1.9.3, the third patch release in the 1.9 series of releases, is now available. Binaries are available at https://julialang.org/downloads/ for the following platforms, listed here by support tier: Tier 1:…

---

## [Float64 Lux model (Loss stuck at 1e-8)](https://discourse.julialang.org/t/float64-lux-model-loss-stuck-at-1e-8/103135)

<div class="topic-metadata">

**Author:** [@Baba\_Yara\_Fahiz](https://discourse.julialang.org/u/Baba_Yara_Fahiz)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 7:28pm UTC](https://discourse.julialang.org/t/float64-lux-model-loss-stuck-at-1e-8/103135 "2023-08-24T19:28:05Z")

</div>

It’s very easy to convert a Flux model to Float64 using code like so: model = Chain(Dense(N, 32, tanh), Dense(32, 16, tanh), Dense(16, 8, tanh), Dense(8, 1, s…

---

## [\[Breaking\] Should \`isequal(convert(T, x), x)\` always be true?](https://discourse.julialang.org/t/breaking-should-isequal-convert-t-x-x-always-be-true/103169)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 3\
**Last updated:** [August 24, 2023, 9:00pm UTC](https://discourse.julialang.org/t/breaking-should-isequal-convert-t-x-x-always-be-true/103169 "2023-08-24T21:00:47Z")

</div>

In Julia 1.x, it seems like isequal(convert(T, x), x) is usually true for Base and standard library types. However, there is one notable exception: Char to Int and Int to Char. It is a little odd that this works: julia\> …

---

## [Adaptation of NLsolve for function with vector output](https://discourse.julialang.org/t/adaptation-of-nlsolve-for-function-with-vector-output/103139)

<div class="topic-metadata">

**Author:** [@Outeirom](https://discourse.julialang.org/u/Outeirom)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 8:07pm UTC](https://discourse.julialang.org/t/adaptation-of-nlsolve-for-function-with-vector-output/103139 "2023-08-24T20:07:56Z")

</div>

I’m facing an issue with NLSolve. I have two interacting functions that are working well, and I need to adapt them. Let me briefly summarize how the functions are currently set up and what I’m aiming to achieve. Firstly…

---

## [Performance of eachrow(::DataFrame)](https://discourse.julialang.org/t/performance-of-eachrow-dataframe/103165)

<div class="topic-metadata">

**Author:** [@jar1](https://discourse.julialang.org/u/jar1)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 7:55pm UTC](https://discourse.julialang.org/t/performance-of-eachrow-dataframe/103165 "2023-08-24T19:55:02Z")

</div>

DataFrames are stored with each column contiguous in memory so that implementation iterating over eachrow will be slow. Instead search through df.patient\_id.

---

## [Pluto: how to increase the width of "Live docs"](https://discourse.julialang.org/t/pluto-how-to-increase-the-width-of-live-docs/59057)

<div class="topic-metadata">

**Author:** [@maajdl](https://discourse.julialang.org/u/maajdl)\
**Replies:** 7\
**Last updated:** [August 24, 2023, 7:18pm UTC](https://discourse.julialang.org/t/pluto-how-to-increase-the-width-of-live-docs/59057 "2023-08-24T19:18:23Z")

</div>

I found here how to increase the width and the height of output cells in Pluto: \<style\>main {max-width: 1000px;}\</style\> \<style\>pluto-output.scroll\_y {max-height: 2000px;}\</style\> I tried to find out how to increase th…

---

## [Style: include tests in source files?](https://discourse.julialang.org/t/style-include-tests-in-source-files/103161)

<div class="topic-metadata">

**Author:** [@bcon](https://discourse.julialang.org/u/bcon)\
**Replies:** 5\
**Last updated:** [August 24, 2023, 7:12pm UTC](https://discourse.julialang.org/t/style-include-tests-in-source-files/103161 "2023-08-24T19:12:36Z")

</div>

In a typical Julia package, tests are separated from the source files leading, I’d argue, to the omission of tests and a slower development cycle. I would rather include function tests in the same file and adjacent to t…

---

## [DuckDB.jl does not free memory](https://discourse.julialang.org/t/duckdb-jl-does-not-free-memory/103159)

<div class="topic-metadata">

**Author:** [@danielw2904](https://discourse.julialang.org/u/danielw2904)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 6:17pm UTC](https://discourse.julialang.org/t/duckdb-jl-does-not-free-memory/103159 "2023-08-24T18:17:49Z")

</div>

I am having an issue with memory allocation using the DuckDB.jl package. I am querying subsets of a large table (in a database stored in a file) and writing the results to a file. Given a table with columns id1, id2, fir…

---

## [How to interrupt a long-running ccall C/C++ library?](https://discourse.julialang.org/t/how-to-interrupt-a-long-running-ccall-c-c-library/103145)

<div class="topic-metadata">

**Author:** [@physcxia](https://discourse.julialang.org/u/physcxia)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 5:02pm UTC](https://discourse.julialang.org/t/how-to-interrupt-a-long-running-ccall-c-c-library/103145 "2023-08-24T17:02:10Z")

</div>

How can I interrupt a ccall C/C++ function with Ctrl-C, or interrupt it in Jupyter Notebook? It seems that the Keyboard Interrupt is not passed to the external C library.

---

## [Setting up implicit solvers to beat the performance of explicit solvers](https://discourse.julialang.org/t/setting-up-implicit-solvers-to-beat-the-performance-of-explicit-solvers/102392)

<div class="topic-metadata">

**Author:** [@JordiBolibar](https://discourse.julialang.org/u/JordiBolibar)\
**Replies:** 10\
**Last updated:** [August 24, 2023, 4:16pm UTC](https://discourse.julialang.org/t/setting-up-implicit-solvers-to-beat-the-performance-of-explicit-solvers/102392 "2023-08-24T16:16:45Z")

</div>

We are trying to benchmark implicit solvers for an ice flow diffusivity PDE. So far we’ve stuck to explicit ones, but now we would like to cover all of them. Since many implicit solvers from DifferentialEquations.jl requ…

---

## [Functor Syntax is not working](https://discourse.julialang.org/t/functor-syntax-is-not-working/97631)

<div class="topic-metadata">

**Author:** [@Nobel\_Chowdary](https://discourse.julialang.org/u/Nobel_Chowdary)\
**Replies:** 3\
**Last updated:** [August 24, 2023, 4:11pm UTC](https://discourse.julialang.org/t/functor-syntax-is-not-working/97631 "2023-08-24T16:11:33Z")

</div>

The following code shows the two schemas and a functor between them. However, the basic syntax of the functor is throwing errors. Can someone help me with this? using Catlab, Catlab.Theories, Catlab.CategoricalAlgebra @…

---

## [What's wrong with this ordering function?](https://discourse.julialang.org/t/whats-wrong-with-this-ordering-function/103160)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 5\
**Last updated:** [August 24, 2023, 3:21pm UTC](https://discourse.julialang.org/t/whats-wrong-with-this-ordering-function/103160 "2023-08-24T15:21:57Z")

</div>

Hi, I have a vector of tuples like this: julia\> results 75-element Vector{NamedTuple{(:program, :mean, :stddev, :score), Tuple{String, Float64, Float64, Float64}}}: (program = "fac\_ite\_#0", mean = 0.1477079562429519, s…

---

## [Multiple package dependencies consistently fail to compile](https://discourse.julialang.org/t/multiple-package-dependencies-consistently-fail-to-compile/102956)

<div class="topic-metadata">

**Author:** [@FHeslop](https://discourse.julialang.org/u/FHeslop)\
**Replies:** 19\
**Last updated:** [August 24, 2023, 3:15pm UTC](https://discourse.julialang.org/t/multiple-package-dependencies-consistently-fail-to-compile/102956 "2023-08-24T15:15:10Z")

</div>

Hello Julia community, I’m new to Julia and relatively new to programming. I am trying to use packages (namely CSVFiles and DataFrames). At the simplest level however, when adding and precompiling these packages in the…

---

## [How to plot outside of a notebook using GLMakie?](https://discourse.julialang.org/t/how-to-plot-outside-of-a-notebook-using-glmakie/103143)

<div class="topic-metadata">

**Author:** [@Reza-Reza](https://discourse.julialang.org/u/Reza-Reza)\
**Replies:** 4\
**Last updated:** [August 24, 2023, 3:08pm UTC](https://discourse.julialang.org/t/how-to-plot-outside-of-a-notebook-using-glmakie/103143 "2023-08-24T15:08:45Z")

</div>

When I plot using GLMakie it plots inside the notebook. Is there a way to plot outside the notebook? For example, for Python the command %matplotlib qt allows plotting outside a notebook. Is there a similar command for J…

---

## [How to add axes to a 3d scene with makie](https://discourse.julialang.org/t/how-to-add-axes-to-a-3d-scene-with-makie/103158)

<div class="topic-metadata">

**Author:** [@timlewejohann](https://discourse.julialang.org/u/timlewejohann)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 1:45pm UTC](https://discourse.julialang.org/t/how-to-add-axes-to-a-3d-scene-with-makie/103158 "2023-08-24T13:45:08Z")

</div>

I want to plot the mesh of two polyhedrons into the same plot. Now i am able to plot both into a scene and adjust the camera accordingly. However when plotting without a scene just calling the mesh method a coordinate fr…

---

## [CUDA fft wrapper problem](https://discourse.julialang.org/t/cuda-fft-wrapper-problem/29540)

<div class="topic-metadata">

**Author:** [@Michael\_Benton](https://discourse.julialang.org/u/Michael_Benton)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 12:56pm UTC](https://discourse.julialang.org/t/cuda-fft-wrapper-problem/29540 "2023-08-24T12:56:29Z")

</div>

A 1d fft across the 2nd dimension of 3 dimensional CuArray is not enabled by the wrapper (ERROR: ArgumentError: batching dims must be sequential) to reproduce: dim = 2 data = CuArrays.rand(ComplexF32,512,512,512); my…

---

## [Error in installing FLOWNoise package](https://discourse.julialang.org/t/error-in-installing-flownoise-package/103153)

<div class="topic-metadata">

**Author:** [@orange\_67](https://discourse.julialang.org/u/orange_67)\
**Replies:** 0\
**Last updated:** [August 24, 2023, 12:28pm UTC](https://discourse.julialang.org/t/error-in-installing-flownoise-package/103153 "2023-08-24T12:28:40Z")

</div>

julia\> import Pkg; Pkg.precompile() Precompiling project… ✗ FLOWNoise 0 dependencies successfully precompiled in 8 seconds. 173 already precompiled. ERROR: The following 1 direct dependency failed to precompile: FLO…

---

## [Running Machine Learning Experiments with Flux](https://discourse.julialang.org/t/running-machine-learning-experiments-with-flux/102661)

<div class="topic-metadata">

**Author:** [@josemanuel22](https://discourse.julialang.org/u/josemanuel22)\
**Replies:** 5\
**Last updated:** [August 24, 2023, 9:55am UTC](https://discourse.julialang.org/t/running-machine-learning-experiments-with-flux/102661 "2023-08-24T09:55:11Z")

</div>

I’m running some ML experiments to draw certain conclusions about whether my new method works as expected. I would like, so to speak, to run multiple experiments in the same file, as it would otherwise be cumbersome. The…

---

## [How about hosting C/C++/Fortran/Rust code in Julia packages?](https://discourse.julialang.org/t/how-about-hosting-c-c-fortran-rust-code-in-julia-packages/102962)

<div class="topic-metadata">

**Author:** [@jbytecode](https://discourse.julialang.org/u/jbytecode)\
**Replies:** 13\
**Last updated:** [August 24, 2023, 9:16am UTC](https://discourse.julialang.org/t/how-about-hosting-c-c-fortran-rust-code-in-julia-packages/102962 "2023-08-24T09:16:38Z")

</div>

Hey guys, Many of you already knows me as a great Julia follower/developer/advocate in many platforms. So what I mention here is not criticizing Julia’s way of managing legacy or foreign code but my goal is to shed ligh…

---

## [Invalidation from extending \`Base.reduce\_first\`](https://discourse.julialang.org/t/invalidation-from-extending-base-reduce-first/103146)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [August 24, 2023, 9:09am UTC](https://discourse.julialang.org/t/invalidation-from-extending-base-reduce-first/103146 "2023-08-24T09:09:37Z")

</div>

FillArrays has recently introduced a specialization Base.reduce\_first(::typeof(+), x::Ones) = Fill(Base.reduce\_first(+, getindex\_value(x)), axes(x)) On v1.10.0-beta2, this seems to introduce invalidations (although not…

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

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