# Latest

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

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

**Page:** 752

---

## [\[ANN\] The Ion command line for Julia developers - written in rust!](https://discourse.julialang.org/t/ann-the-ion-command-line-for-julia-developers-written-in-rust/94495)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 28\
**Last updated:** [March 16, 2023, 7:07pm UTC](https://discourse.julialang.org/t/ann-the-ion-command-line-for-julia-developers-written-in-rust/94495 "2023-03-16T19:07:52Z")

</div>

I’m pleased to announce a rewrite of Ion in rust to provide a much faster UX and much smaller binary. If you haven’t used Ion, please ignore my previous posts and directly read this one! https://github.com/Roger-luo/Ion …

---

## [Julia vs Clojure (or other languages \[w/persistent data structures\])](https://discourse.julialang.org/t/julia-vs-clojure-or-other-languages-w-persistent-data-structures/96188)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 6:41pm UTC](https://discourse.julialang.org/t/julia-vs-clojure-or-other-languages-w-persistent-data-structures/96188 "2023-03-16T18:41:45Z")

</div>

I hate to say it but Clojure seems like a better language for correctness, because everything is immutable (functional), while in Julia containers aren’t (by default). At least for concurrency, then it claims to be the b…

---

## [Sequential AC power flow using PowerModels.jl](https://discourse.julialang.org/t/sequential-ac-power-flow-using-powermodels-jl/96183)

<div class="topic-metadata">

**Author:** [@sstroemer](https://discourse.julialang.org/u/sstroemer)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 6:22pm UTC](https://discourse.julialang.org/t/sequential-ac-power-flow-using-powermodels-jl/96183 "2023-03-16T18:22:43Z")

</div>

I am trying to run repeated AC power flow calculations for a large grid using PowerModels.jl. Digging through the code revealed that there is some way to efficiently run successive power flow solves, but I couldn’t reall…

---

## [Parallelize GSA on continuous outputs](https://discourse.julialang.org/t/parallelize-gsa-on-continuous-outputs/95964)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 12\
**Last updated:** [March 16, 2023, 5:29pm UTC](https://discourse.julialang.org/t/parallelize-gsa-on-continuous-outputs/95964 "2023-03-16T17:29:51Z")

</div>

Hi there, I am just wondering how I could adapt the GSA example in the docs such that it performs Sobol analysis on the continuous outputs instead of the discrete outputs. sol\[1,:\] & sol\[2,:\] I have tried multiple diff…

---

## [How can i move one step at a time with PlutoUI's Slider?](https://discourse.julialang.org/t/how-can-i-move-one-step-at-a-time-with-plutouis-slider/96189)

<div class="topic-metadata">

**Author:** [@ChunXi\_Zhang](https://discourse.julialang.org/u/ChunXi_Zhang)\
**Replies:** 3\
**Last updated:** [March 16, 2023, 4:59pm UTC](https://discourse.julialang.org/t/how-can-i-move-one-step-at-a-time-with-plutouis-slider/96189 "2023-03-16T16:59:15Z")

</div>

I use PlutoUI’s Slider to observe my experiment log, total length is more than thousands, and want to watch the dynamics of each step one at a time. I used to use arrow keys after clicked the slider, everything was good. …

---

## [Why does histogram produce a line plot?](https://discourse.julialang.org/t/why-does-histogram-produce-a-line-plot/96191)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 2\
**Last updated:** [March 16, 2023, 4:20pm UTC](https://discourse.julialang.org/t/why-does-histogram-produce-a-line-plot/96191 "2023-03-16T16:20:46Z")

</div>

I have a dataframe df and I’m trying to plot a histogram of all the values in the third column of df like this: using Plots histogram(df\[:,3\]) I am expecting the histogram to appear as bars, but instead it gets plotte…

---

## [\`all(isdigit, empty\_string)\`](https://discourse.julialang.org/t/all-isdigit-empty-string/96038)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 13\
**Last updated:** [March 16, 2023, 4:16pm UTC](https://discourse.julialang.org/t/all-isdigit-empty-string/96038 "2023-03-16T16:16:00Z")

</div>

Is the first result expected? all(isdigit, "") # true given that: any(isdigit, "") # false Thanks.

---

## [Help with optimizing a particle filter in SciML](https://discourse.julialang.org/t/help-with-optimizing-a-particle-filter-in-sciml/96138)

<div class="topic-metadata">

**Author:** [@sdwfrost](https://discourse.julialang.org/u/sdwfrost)\
**Replies:** 8\
**Last updated:** [March 16, 2023, 3:48pm UTC](https://discourse.julialang.org/t/help-with-optimizing-a-particle-filter-in-sciml/96138 "2023-03-16T15:48:31Z")

</div>

Hi everyone, I’m trying to put together a demonstration of a very simple particle filter for my repository https://github.com/epirecipes/sir-julia. This involves: Setting up an array of simulations. Simulating for a s…

---

## [Can Makie plots be dimension agnostic?](https://discourse.julialang.org/t/can-makie-plots-be-dimension-agnostic/92124)

<div class="topic-metadata">

**Author:** [@g2g](https://discourse.julialang.org/u/g2g)\
**Replies:** 16\
**Last updated:** [March 16, 2023, 12:35pm UTC](https://discourse.julialang.org/t/can-makie-plots-be-dimension-agnostic/92124 "2023-03-16T12:35:12Z")

</div>

Makie is new to me and I’m hoping to use it to plot the results of my port of bivector.net’s C++ reference implementation of projective geometric algebra to a Julia reference implementation of projective geometric algebr…

---

## [Makie / GLMakie: Plot image into an axis object](https://discourse.julialang.org/t/makie-glmakie-plot-image-into-an-axis-object/95996)

<div class="topic-metadata">

**Author:** [@ellocco](https://discourse.julialang.org/u/ellocco)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 2:21pm UTC](https://discourse.julialang.org/t/makie-glmakie-plot-image-into-an-axis-object/95996 "2023-03-16T14:21:15Z")

</div>

Regarding the function image() I have two questions If I use space=:pixel, how can I get the current upper offset / padding? Is it possible to plot a SVG-figure into a GLMakie-figure? I had to struggle to understand t…

---

## [How to repeat the format in @printf?](https://discourse.julialang.org/t/how-to-repeat-the-format-in-printf/66695)

<div class="topic-metadata">

**Author:** [@CRquantum](https://discourse.julialang.org/u/CRquantum)\
**Replies:** 27\
**Last updated:** [March 16, 2023, 12:14pm UTC](https://discourse.julialang.org/t/how-to-repeat-the-format-in-printf/66695 "2023-03-16T12:14:52Z")

</div>

Sorry for another stupid question. Not proud of asking these kind questions :sweat\_smile:. I am sure it is stupid, however I searched google and stack overflow but still not sure how to do this. The question is very si…

---

## [AMDGPU.jl status](https://discourse.julialang.org/t/amdgpu-jl-status/71191)

<div class="topic-metadata">

**Author:** [@torrance](https://discourse.julialang.org/u/torrance)\
**Replies:** 11\
**Last updated:** [March 16, 2023, 1:46pm UTC](https://discourse.julialang.org/t/amdgpu-jl-status/71191 "2023-03-16T13:46:10Z")

</div>

I’m beginning a fairly large project that is destined to run on a newly commissioned HPC cluster that will be using AMD’s Milan CPUs and MI250 GPUs. Once we have proven the algorithm works on the CPU it will be ported to…

---

## [Integrating Hamilton's equations](https://discourse.julialang.org/t/integrating-hamiltons-equations/96147)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 1:24pm UTC](https://discourse.julialang.org/t/integrating-hamiltons-equations/96147 "2023-03-16T13:24:13Z")

</div>

I want to integrate the equations of motion of a classical physical system. My Hamiltonian is changing in time, and actually, I am interested in considering the general case where it is not necessarily of the form H(q, …

---

## [Multi-arguments mapslices](https://discourse.julialang.org/t/multi-arguments-mapslices/96172)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 3\
**Last updated:** [March 16, 2023, 1:19pm UTC](https://discourse.julialang.org/t/multi-arguments-mapslices/96172 "2023-03-16T13:19:09Z")

</div>

Hello, I am looking for an efficient way to do this kind of operation (not that one, it’s an MWE): julia\> A = rand(3,3,5); julia\> B = rand(3,3,5); julia\> mult\_sum(a::AbstractMatrix, b::AbstractMatrix) = sum(a\*b, dims…

---

## [JuliaUserGroupMunich. Julia for Reinforcement Learning: Challenges and Opportunities](https://discourse.julialang.org/t/juliausergroupmunich-julia-for-reinforcement-learning-challenges-and-opportunities/94614)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 12:48pm UTC](https://discourse.julialang.org/t/juliausergroupmunich-julia-for-reinforcement-learning-challenges-and-opportunities/94614 "2023-03-16T12:48:53Z")

</div>

Join us :spiral\_calendar: Monday 06. March 2023 :clock630: 18:30 CET organized via meetup ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ I am glad to welcome Jonathan Laurent as our speaker, the main developer and maintainer of Alpha…

---

## [With Jupyter new figures keeps the print of the former figure](https://discourse.julialang.org/t/with-jupyter-new-figures-keeps-the-print-of-the-former-figure/96182)

<div class="topic-metadata">

**Author:** [@Emmanuel\_Fontaine](https://discourse.julialang.org/u/Emmanuel_Fontaine)\
**Replies:** 3\
**Last updated:** [March 16, 2023, 12:45pm UTC](https://discourse.julialang.org/t/with-jupyter-new-figures-keeps-the-print-of-the-former-figure/96182 "2023-03-16T12:45:57Z")

</div>

Hi all, I’m testing scatter plots from Plots GR. I made three differents plots changing the size and colormap properties to have a look on their impact.That’s ok. But I realize that the second plot add the new plot to …

---

## [Software Engineer position at Arpeggeo®](https://discourse.julialang.org/t/software-engineer-position-at-arpeggeo/96180)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 0\
**Last updated:** [March 16, 2023, 12:12pm UTC](https://discourse.julialang.org/t/software-engineer-position-at-arpeggeo/96180 "2023-03-16T12:12:37Z")

</div>

Job opportunity: About Arpeggeo®:

---

## [Talk@PyData: Introduction to Julia by a Quant: Decentralized Programming for True Decentralized Systems](https://discourse.julialang.org/t/talk-pydata-introduction-to-julia-by-a-quant-decentralized-programming-for-true-decentralized-systems/96039)

<div class="topic-metadata">

**Author:** [@martinyxie](https://discourse.julialang.org/u/martinyxie)\
**Replies:** 6\
**Last updated:** [March 16, 2023, 12:10pm UTC](https://discourse.julialang.org/t/talk-pydata-introduction-to-julia-by-a-quant-decentralized-programming-for-true-decentralized-systems/96039 "2023-03-16T12:10:54Z")

</div>

Hey guys, I will give a talk at PyData Dubai DIFC Fintech Hive tomorrow Wednesday 7pm GST. The title is “Introduction to Julia by a Quant: Decentralized Programming for True Decentralized Systems”. I will talk about Ma…

---

## [Finding neighbouring cells in \`ExtendableGrids.jl\`](https://discourse.julialang.org/t/finding-neighbouring-cells-in-extendablegrids-jl/96179)

<div class="topic-metadata">

**Author:** [@mm-crj](https://discourse.julialang.org/u/mm-crj)\
**Replies:** 0\
**Last updated:** [March 16, 2023, 11:51am UTC](https://discourse.julialang.org/t/finding-neighbouring-cells-in-extendablegrids-jl/96179 "2023-03-16T11:51:58Z")

</div>

Hey Everyone! This is a follow-up question to my previous question here. I would like to find the Neighbouring cells of a given cell(a matrix of all cells would be even nicer) of a grid in ExtendableGrids.jl. What would …

---

## [How to access partitions used in previous iterations of a loop over a partitioned set?](https://discourse.julialang.org/t/how-to-access-partitions-used-in-previous-iterations-of-a-loop-over-a-partitioned-set/96127)

<div class="topic-metadata">

**Author:** [@phantom](https://discourse.julialang.org/u/phantom)\
**Replies:** 10\
**Last updated:** [March 16, 2023, 11:41am UTC](https://discourse.julialang.org/t/how-to-access-partitions-used-in-previous-iterations-of-a-loop-over-a-partitioned-set/96127 "2023-03-16T11:41:24Z")

</div>

Suppose I am looping over a partitioned set. I would like to check a condition or compare a value in the current partition to that of a partition used in a previous iteration or to be used in a future iteration. What wo…

---

## [How can I extend a primitive type](https://discourse.julialang.org/t/how-can-i-extend-a-primitive-type/96135)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 29\
**Last updated:** [March 16, 2023, 10:29am UTC](https://discourse.julialang.org/t/how-can-i-extend-a-primitive-type/96135 "2023-03-16T10:29:56Z")

</div>

I’d like to implement a Percent type, which will be a subtype of Float64 and can utilise Float64. Ideally I’d like to something like this: struct Percent \<: Float64 v::Float64 @assert 0≤v≤1 # I'm not sure if th…

---

## [Is it possible to see a solution related to upper bound?](https://discourse.julialang.org/t/is-it-possible-to-see-a-solution-related-to-upper-bound/95735)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 5\
**Last updated:** [March 16, 2023, 9:12am UTC](https://discourse.julialang.org/t/is-it-possible-to-see-a-solution-related-to-upper-bound/95735 "2023-03-16T09:12:53Z")

</div>

Hi guys, I use CPLEX as an optimizer and JuMP apackage. I have a big IP that needs at least 2hours to generate a soultion. I wonder is there a way to stop it early? when running a model that takes a long time to give y…

---

## [Embedding Julia code in Fortran](https://discourse.julialang.org/t/embedding-julia-code-in-fortran/96010)

<div class="topic-metadata">

**Author:** [@gradureau](https://discourse.julialang.org/u/gradureau)\
**Replies:** 10\
**Last updated:** [March 16, 2023, 8:41am UTC](https://discourse.julialang.org/t/embedding-julia-code-in-fortran/96010 "2023-03-16T08:41:11Z")

</div>

Hey everyone, I am fairly new to Julia and am interested to do machine learning with it. So far I learnt how to code in Julia and how to use the Flux library. Yet, My goal is to use trained neural networks in a fortran …

---

## [Weird behaviour when replace the empty string in row with DataFramesMeta.jl](https://discourse.julialang.org/t/weird-behaviour-when-replace-the-empty-string-in-row-with-dataframesmeta-jl/96165)

<div class="topic-metadata">

**Author:** [@hungpham3112](https://discourse.julialang.org/u/hungpham3112)\
**Replies:** 4\
**Last updated:** [March 16, 2023, 8:20am UTC](https://discourse.julialang.org/t/weird-behaviour-when-replace-the-empty-string-in-row-with-dataframesmeta-jl/96165 "2023-03-16T08:20:28Z")

</div>

I have a snippet string\_number\_df2 = DataFrame( A = \["1", "", "3"\], B = \["4", "5", ""\], ) result = @chain string\_number\_df2 begin @rtransform :B = replace(:B, "" =\> missing) end Expectation: A | B…

---

## [How to change form using InMemoryDatasets package?](https://discourse.julialang.org/t/how-to-change-form-using-inmemorydatasets-package/95989)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 7\
**Last updated:** [March 16, 2023, 6:37am UTC](https://discourse.julialang.org/t/how-to-change-form-using-inmemorydatasets-package/95989 "2023-03-16T06:37:33Z")

</div>

I’ve got a dataset from kaggle, which is relate to travel, and there is a column called “accommodation cost” which have some value like these: so there are three types, how to change the one with dollar sign and one …

---

## [How to create a reversed view that allows for growing arrays?](https://discourse.julialang.org/t/how-to-create-a-reversed-view-that-allows-for-growing-arrays/96148)

<div class="topic-metadata">

**Author:** [@g-gundam](https://discourse.julialang.org/u/g-gundam)\
**Replies:** 3\
**Last updated:** [March 16, 2023, 5:31am UTC](https://discourse.julialang.org/t/how-to-create-a-reversed-view-that-allows-for-growing-arrays/96148 "2023-03-16T05:31:34Z")

</div>

Forgive me for resurrecting an old thread, but being able to get an inverted view of an array is amazing to me as someone who is new to Julia but had to write a lot of code to get this kind of functionality in another la…

---

## [Conflict with packages DifferentialEquation.jl, DynamicalSystems.jl, CairoMakie,jld](https://discourse.julialang.org/t/conflict-with-packages-differentialequation-jl-dynamicalsystems-jl-cairomakie-jld/96020)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 26\
**Last updated:** [March 16, 2023, 5:21am UTC](https://discourse.julialang.org/t/conflict-with-packages-differentialequation-jl-dynamicalsystems-jl-cairomakie-jld/96020 "2023-03-16T05:21:26Z")

</div>

Hello! I have updated the DynamicalSystems.jl package to the latest version, and the CaroMakie.jl and DifferentialEquations.jl packages have reverted to an earlier version. For what reason could this have occurred? In a…

---

## [Solving for only half the solution in NonlinearSolve.jl](https://discourse.julialang.org/t/solving-for-only-half-the-solution-in-nonlinearsolve-jl/96163)

<div class="topic-metadata">

**Author:** [@KZ-Spectra](https://discourse.julialang.org/u/KZ-Spectra)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 4:50am UTC](https://discourse.julialang.org/t/solving-for-only-half-the-solution-in-nonlinearsolve-jl/96163 "2023-03-16T04:50:19Z")

</div>

using NonlinearSolve, LinearAlgebra, Plots # Parameters: p = \[h, \\omega\] N=15 g(u,p) = p\[1\]\*Tridiagonal(fill(1,N), fill(-2,N+1), fill(1,N))\*u - u.^3 - p\[2\]\*u probg = NonlinearProblem{false}(g, \[0.3; fill(0.3, N-1); 0…

---

## [\[Makie\] Parallel Record](https://discourse.julialang.org/t/makie-parallel-record/96162)

<div class="topic-metadata">

**Author:** [@AstroBarker](https://discourse.julialang.org/u/AstroBarker)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 3:30am UTC](https://discourse.julialang.org/t/makie-parallel-record/96162 "2023-03-16T03:30:27Z")

</div>

Hey folks. I am using Makie to create animations of 2D or 3D data. I am wondering if there is a convenient way to use threads to parallelize the record feature, similar to using a threaded map/call in python?

---

## [Remove redundant folders in a filepath](https://discourse.julialang.org/t/remove-redundant-folders-in-a-filepath/96154)

<div class="topic-metadata">

**Author:** [@Dale\_James\_Black](https://discourse.julialang.org/u/Dale_James_Black)\
**Replies:** 1\
**Last updated:** [March 16, 2023, 2:56am UTC](https://discourse.julialang.org/t/remove-redundant-folders-in-a-filepath/96154 "2023-03-16T02:56:09Z")

</div>

Is there a way to remove redundant folders in a file path? Given a file system like ├── folder1 │ ├── subfolder1 │ │ ├── /images1/redundant1/redundant2/file.txt │ │ ├── /images2/redundant1/redundant2/file.…

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

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