# Latest

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

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

**Page:** 592

---

## [Julia Discourse advice](https://discourse.julialang.org/t/julia-discourse-advice/104150)

<div class="topic-metadata">

**Author:** [@aikimark](https://discourse.julialang.org/u/aikimark)\
**Replies:** 5\
**Last updated:** [September 22, 2023, 9:47pm UTC](https://discourse.julialang.org/t/julia-discourse-advice/104150 "2023-09-22T21:47:17Z")

</div>

I’m new here and still learning Julia. I want to contribute to Lilith Hafner’s Scratch Quicksort code as a first step in helping the Julia language/community. Before I start my coding, I wanted to ask some questions. …

---

## [\[Yggdrasil\] How to call Julia?](https://discourse.julialang.org/t/yggdrasil-how-to-call-julia/103586)

<div class="topic-metadata">

**Author:** [@dourouc05](https://discourse.julialang.org/u/dourouc05)\
**Replies:** 10\
**Last updated:** [September 22, 2023, 9:29pm UTC](https://discourse.julialang.org/t/yggdrasil-how-to-call-julia/103586 "2023-09-22T21:29:37Z")

</div>

Hi, I’m starting a new Yggdrasil script (is that what you are supposed to call them?) to build a large and complex C++ library, OR-Tools. The end goal is to provide a Julia wrapper around it. At some point during the b…

---

## [Cannot save or copy plots in vscode](https://discourse.julialang.org/t/cannot-save-or-copy-plots-in-vscode/104164)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 6:59pm UTC](https://discourse.julialang.org/t/cannot-save-or-copy-plots-in-vscode/104164 "2023-09-22T18:59:05Z")

</div>

When I select Julia:Copy plot I get If instead I try to save the plot I get regardless of what I put in the Julia \> Plots: Path setting. Edit: I did discover that simply closing the error notice does let me sa…

---

## [Inconsistent matrix multiply output from Flux.Dense depending on shape of input](https://discourse.julialang.org/t/inconsistent-matrix-multiply-output-from-flux-dense-depending-on-shape-of-input/104116)

<div class="topic-metadata">

**Author:** [@JuliaMLTools](https://discourse.julialang.org/u/JuliaMLTools)\
**Replies:** 11\
**Last updated:** [September 22, 2023, 3:05pm UTC](https://discourse.julialang.org/t/inconsistent-matrix-multiply-output-from-flux-dense-depending-on-shape-of-input/104116 "2023-09-22T15:05:15Z")

</div>

Anyone know a workaround for this inconsistency in matrix multiply?

---

## [Using Documentation panel causes error](https://discourse.julialang.org/t/using-documentation-panel-causes-error/104163)

<div class="topic-metadata">

**Author:** [@benninkrs](https://discourse.julialang.org/u/benninkrs)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 6:47pm UTC](https://discourse.julialang.org/t/using-documentation-panel-causes-error/104163 "2023-09-22T18:47:50Z")

</div>

Starting a day or two ago, whenever I try to use the Documentation pane in vscode it does nothing except pop up an error notice that says “The Julia language extension crashed …” I’m running Windows 10, Julia 1.9.2, vsc…

---

## [Do a training on climate change](https://discourse.julialang.org/t/do-a-training-on-climate-change/104161)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 5:46pm UTC](https://discourse.julialang.org/t/do-a-training-on-climate-change/104161 "2023-09-22T17:46:54Z")

</div>

I think it is important that all of us learn more about climate change and become able to act. A Climate Fresk workshop is something that you can organize in your company or university. It takes about 2.5 hours and is …

---

## [\[ANN\] RationalFunctionApproximation.jl](https://discourse.julialang.org/t/ann-rationalfunctionapproximation-jl/104118)

<div class="topic-metadata">

**Author:** [@tobydriscoll](https://discourse.julialang.org/u/tobydriscoll)\
**Replies:** 6\
**Last updated:** [September 22, 2023, 4:23pm UTC](https://discourse.julialang.org/t/ann-rationalfunctionapproximation-jl/104118 "2023-09-22T16:23:39Z")

</div>

I am pleased to announce the initial release of RationalFunctionApproximation.jl, which provides automatic rational function approximation in the complex plane. It uses an updated version of the AAA algorithm (Driscoll,…

---

## [Best way to drop an entry of a CartesianIndex?](https://discourse.julialang.org/t/best-way-to-drop-an-entry-of-a-cartesianindex/104127)

<div class="topic-metadata">

**Author:** [@jeffreyesun](https://discourse.julialang.org/u/jeffreyesun)\
**Replies:** 4\
**Last updated:** [September 22, 2023, 3:07pm UTC](https://discourse.julialang.org/t/best-way-to-drop-an-entry-of-a-cartesianindex/104127 "2023-09-22T15:07:09Z")

</div>

Out of curiosity, what is the best way to drop one entry of an idx::CartesianIndex? Or, generally, to access a slice of it. It’s forbidden to do idx\[2:5\], so right now I’m doing: CartesianIndex(Tuple(idx)\[2:5\]). Just c…

---

## [Issue with saving plot as pdf](https://discourse.julialang.org/t/issue-with-saving-plot-as-pdf/104147)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 3\
**Last updated:** [September 22, 2023, 2:47pm UTC](https://discourse.julialang.org/t/issue-with-saving-plot-as-pdf/104147 "2023-09-22T14:47:41Z")

</div>

yerror bar in plot generated on vs code shows different level of thickness for yerror bar in comparision to saved pdf file. In vs code : In pdf format: (you can notice thickness has increased) In png format (it …

---

## [Reduce allocations LinearSolve](https://discourse.julialang.org/t/reduce-allocations-linearsolve/104141)

<div class="topic-metadata">

**Author:** [@Kieran\_Marray](https://discourse.julialang.org/u/Kieran_Marray)\
**Replies:** 4\
**Last updated:** [September 22, 2023, 2:34pm UTC](https://discourse.julialang.org/t/reduce-allocations-linearsolve/104141 "2023-09-22T14:34:52Z")

</div>

Hi - I am trying to solve a linear problem repeatedly using LinearSolve.jl without allocating any new memory by mutating the input and solution arrays. Here is a minimal example using LinearAlgebra, LinearSolve, Iterati…

---

## [New Julia process every time I open VSCode](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453)

<div class="topic-metadata">

**Author:** [@CFS](https://discourse.julialang.org/u/CFS)\
**Replies:** 5\
**Last updated:** [September 22, 2023, 1:02pm UTC](https://discourse.julialang.org/t/new-julia-process-every-time-i-open-vscode/55453 "2023-09-22T13:02:51Z")

</div>

When I open VSCode, a new julia process is created and immediately takes up 600+ MB of RAM (which is 10x more than Python). That’s not so bad though. But when I close VSCode, the process keeps running with 0 CPU usage bu…

---

## [Problems with installing jupyter via miniconda](https://discourse.julialang.org/t/problems-with-installing-jupyter-via-miniconda/104145)

<div class="topic-metadata">

**Author:** [@SirTill](https://discourse.julialang.org/u/SirTill)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 12:16pm UTC](https://discourse.julialang.org/t/problems-with-installing-jupyter-via-miniconda/104145 "2023-09-22T12:16:00Z")

</div>

Hello guys! I wanted to install jupyter for jupyter notebooks using IJulia. I successfully added IJulia, but when I try notebook()it first asks me, to install jupyter via Conda. If I say yes, the process stops and I get…

---

## [Why is this type unstable?](https://discourse.julialang.org/t/why-is-this-type-unstable/104124)

<div class="topic-metadata">

**Author:** [@yvikhlya](https://discourse.julialang.org/u/yvikhlya)\
**Replies:** 11\
**Last updated:** [September 22, 2023, 11:25am UTC](https://discourse.julialang.org/t/why-is-this-type-unstable/104124 "2023-09-22T11:25:31Z")

</div>

using Glob, NCDatasets const colpath="path\_to\_data" ncload(ds, ::Type{Array{T,N}}) where {T,N} = ds\["T"\]\[:,:,:,:\]::Array{T,N} function foo() files=glob("\*.??????.nc4",colpath) NCDataset(files\[1\]) do ds …

---

## [REPL errors when started from VSCode (connected to a server via remote SSH)](https://discourse.julialang.org/t/repl-errors-when-started-from-vscode-connected-to-a-server-via-remote-ssh/104142)

<div class="topic-metadata">

**Author:** [@CrisCool](https://discourse.julialang.org/u/CrisCool)\
**Replies:** 1\
**Last updated:** [September 22, 2023, 11:00am UTC](https://discourse.julialang.org/t/repl-errors-when-started-from-vscode-connected-to-a-server-via-remote-ssh/104142 "2023-09-22T11:00:54Z")

</div>

Hi there julians I have VSCode on my laptop, which then connects to a server via Remote SSH extension. Julia is installed on the server. Untill yesterday, everything worked fined. However, since then I can’t start Julia…

---

## [Are you using Julia for visual or 3D geometry optimizations?](https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102)

<div class="topic-metadata">

**Author:** [@user664303](https://discourse.julialang.org/u/user664303)\
**Replies:** 2\
**Last updated:** [September 22, 2023, 9:56am UTC](https://discourse.julialang.org/t/are-you-using-julia-for-visual-or-3d-geometry-optimizations/104102 "2023-09-22T09:56:29Z")

</div>

As I’ve mentioned here before, I’m developing a non-linear least squares optimization package similar to the Ceres-solver C++ library. It’s a general NLLS solver, but is particularly well-suited to 3D geometry optimizati…

---

## [Issues with Plots and Libtiff\_jll](https://discourse.julialang.org/t/issues-with-plots-and-libtiff-jll/104134)

<div class="topic-metadata">

**Author:** [@gzagatti](https://discourse.julialang.org/u/gzagatti)\
**Replies:** 4\
**Last updated:** [September 22, 2023, 9:49am UTC](https://discourse.julialang.org/t/issues-with-plots-and-libtiff-jll/104134 "2023-09-22T09:49:23Z")

</div>

I recently updated the Plots package in my working environment just to find that I couldn’t plot anymore as the installation was suddenly broken. \> using Plots ... WARNING: Method definition airyai(ColorTypes.Color{T, 1…

---

## [Performance issue due to function as an argument](https://discourse.julialang.org/t/performance-issue-due-to-function-as-an-argument/104093)

<div class="topic-metadata">

**Author:** [@Chong\_Wang](https://discourse.julialang.org/u/Chong_Wang)\
**Replies:** 16\
**Last updated:** [September 22, 2023, 9:33am UTC](https://discourse.julialang.org/t/performance-issue-due-to-function-as-an-argument/104093 "2023-09-22T09:33:21Z")

</div>

using LinearAlgebra, InteractiveUtils, BenchmarkTools function process\_matrix(f, matrix, vectors) N, M, L = size(matrix) #coefficients = map(f, vectors) #coefficients = \[ones(Float64, 4, 4) \* norm(v) for v i…

---

## [VS code - Spurious "Possible method call error". How to locally disable?](https://discourse.julialang.org/t/vs-code-spurious-possible-method-call-error-how-to-locally-disable/66997)

<div class="topic-metadata">

**Author:** [@ylvain](https://discourse.julialang.org/u/ylvain)\
**Replies:** 4\
**Last updated:** [September 22, 2023, 9:17am UTC](https://discourse.julialang.org/t/vs-code-spurious-possible-method-call-error-how-to-locally-disable/66997 "2023-09-22T09:17:52Z")

</div>

Windows 10, Julia 1.6.1, VSCode 1.59.1, Code Ext 1.3.32 I understand that it is not so easy to detect invalid calls in Julia… But… Is there a some kind “pragma” to locally disable these warning ? Here the declaration: …

---

## [Efficiently merge multiple .arrow files (12 files totaling 2.5 TB) into a single DataFrame for effective data analysis while minimizing memory overhead](https://discourse.julialang.org/t/efficiently-merge-multiple-arrow-files-12-files-totaling-2-5-tb-into-a-single-dataframe-for-effective-data-analysis-while-minimizing-memory-overhead/104110)

<div class="topic-metadata">

**Author:** [@ujjwal\_singh](https://discourse.julialang.org/u/ujjwal_singh)\
**Replies:** 14\
**Last updated:** [September 22, 2023, 9:17am UTC](https://discourse.julialang.org/t/efficiently-merge-multiple-arrow-files-12-files-totaling-2-5-tb-into-a-single-dataframe-for-effective-data-analysis-while-minimizing-memory-overhead/104110 "2023-09-22T09:17:48Z")

</div>

Could someone please guide me on how to merge multiple large .arrow files (12 files totaling 2.5 TB) into a single DataFrame with minimal memory overhead for big data analysis? I have a total of 1 TB of RAM; can I manage…

---

## [Comparison of plotting packages](https://discourse.julialang.org/t/comparison-of-plotting-packages/99860)

<div class="topic-metadata">

**Author:** [@hros](https://discourse.julialang.org/u/hros)\
**Replies:** 75\
**Last updated:** [September 22, 2023, 8:13am UTC](https://discourse.julialang.org/t/comparison-of-plotting-packages/99860 "2023-09-22T08:13:00Z")

</div>

I want to write a small 2d physical simulation to sharpen my Julia skills and learn how to use Julia to display more than “regular plots” I saw a post suggesting using either Makie, Plots or Javis I don’t want to start…

---

## [Remote REPL possible?](https://discourse.julialang.org/t/remote-repl-possible/10420)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 21\
**Last updated:** [September 22, 2023, 1:54am UTC](https://discourse.julialang.org/t/remote-repl-possible/10420 "2023-09-22T01:54:28Z")

</div>

I love VSCode and want to use Juno as well for other types of work. I have Windows desktop but I need to run my programs on a Linux server, even during development time. Is it possible to run a local IDE (Juno or VSCod…

---

## [Are \`GNNHeteroGraph\` like labeled property graphs?](https://discourse.julialang.org/t/are-gnnheterograph-like-labeled-property-graphs/104131)

<div class="topic-metadata">

**Author:** [@huguesmp](https://discourse.julialang.org/u/huguesmp)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 12:19am UTC](https://discourse.julialang.org/t/are-gnnheterograph-like-labeled-property-graphs/104131 "2023-09-22T00:19:34Z")

</div>

While reading the documentation for GraphNeuralNetworks.jl, the section on heterogeneous graphs caught my eye. With their typed nodes and relationships, they look and feel a little bit like labeled property graphs, as u…

---

## [Is the doc of VegaLote.jl up to date?](https://discourse.julialang.org/t/is-the-doc-of-vegalote-jl-up-to-date/104125)

<div class="topic-metadata">

**Author:** [@Axze-rgb](https://discourse.julialang.org/u/Axze-rgb)\
**Replies:** 4\
**Last updated:** [September 21, 2023, 10:27pm UTC](https://discourse.julialang.org/t/is-the-doc-of-vegalote-jl-up-to-date/104125 "2023-09-21T22:27:40Z")

</div>

Hello, I have asked this before but as a late edit in a thread . Therefore I thought I might as well make a dedicated thread. I have compared vegalite and glmakie and settled fot vegalite, I found Makie harder. Anyway, …

---

## [ERROR VariableNotOwned{VariableRef} when using add\_constraint](https://discourse.julialang.org/t/error-variablenotowned-variableref-when-using-add-constraint/104043)

<div class="topic-metadata">

**Author:** [@Luiz\_Monteiro](https://discourse.julialang.org/u/Luiz_Monteiro)\
**Replies:** 3\
**Last updated:** [September 21, 2023, 9:26pm UTC](https://discourse.julialang.org/t/error-variablenotowned-variableref-when-using-add-constraint/104043 "2023-09-21T21:26:33Z")

</div>

Hi, I am tryng to solve a MIP model (VRP) by solving a relaxed version of the model and repeatedly identifying violated contraints and adding those contraints to the model using add\_constraint(model1, cons). But I get …

---

## [Ignoring nightly failure for CI badge](https://discourse.julialang.org/t/ignoring-nightly-failure-for-ci-badge/98028)

<div class="topic-metadata">

**Author:** [@gdalle](https://discourse.julialang.org/u/gdalle)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 7:53pm UTC](https://discourse.julialang.org/t/ignoring-nightly-failure-for-ci-badge/98028 "2023-09-21T19:53:44Z")

</div>

Not a question, just saving this here before the Slack black hole swallows it. There are ways to ignore the (possibly frequent) nightly failures in the “CI: passing / failing” badge: having 2 GitHub actions, one for C…

---

## [DomainColoring(Toy).jl v1.0.0 – Smooth Complex Plotting](https://discourse.julialang.org/t/domaincoloring-toy-jl-v1-0-0-smooth-complex-plotting/104113)

<div class="topic-metadata">

**Author:** [@eprovst](https://discourse.julialang.org/u/eprovst)\
**Replies:** 0\
**Last updated:** [September 21, 2023, 4:03pm UTC](https://discourse.julialang.org/t/domaincoloring-toy-jl-v1-0-0-smooth-complex-plotting/104113 "2023-09-21T16:03:26Z")

</div>

(For the motivation behind the package, please see the initial announcement.) I’m happy to announce that both DomainColoring.jl and its interactive version DomainColoringToy.jl now have a stable interface! As a notable …

---

## [How to customize display and plot of a sparse matrix?](https://discourse.julialang.org/t/how-to-customize-display-and-plot-of-a-sparse-matrix/104099)

<div class="topic-metadata">

**Author:** [@Leo\_I](https://discourse.julialang.org/u/Leo_I)\
**Replies:** 6\
**Last updated:** [September 21, 2023, 8:28pm UTC](https://discourse.julialang.org/t/how-to-customize-display-and-plot-of-a-sparse-matrix/104099 "2023-09-21T20:28:31Z")

</div>

Hey, I have 2 questions regarding displaying SparseArrays. (1) When using SparseArrays the code n=15; x=sprand(Float16,n,n,0.3); x.nzval .=1; display(x) produces 15×15 SparseMatrixCSC{Float16, Int64} with 67 sto…

---

## [How to call the "logical and" operator as a function?](https://discourse.julialang.org/t/how-to-call-the-logical-and-operator-as-a-function/104094)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 6\
**Last updated:** [September 21, 2023, 7:56pm UTC](https://discourse.julialang.org/t/how-to-call-the-logical-and-operator-as-a-function/104094 "2023-09-21T19:56:42Z")

</div>

We can call the add operator as Base.:+. Can I do the same to logical and? julia\> Base.:+(3, 4) 7 julia\> Base.:&&(true, false) ERROR: UndefVarError: && not defined Stacktrace: \[1\] getproperty(x::Module, f::Symbol) …

---

## [ImageInTerminal with Plots integration in a sixel-enabled terminal works in Julia 1.8, not 1.9rc2](https://discourse.julialang.org/t/imageinterminal-with-plots-integration-in-a-sixel-enabled-terminal-works-in-julia-1-8-not-1-9rc2/97609)

<div class="topic-metadata">

**Author:** [@jdad](https://discourse.julialang.org/u/jdad)\
**Replies:** 2\
**Last updated:** [September 21, 2023, 7:43pm UTC](https://discourse.julialang.org/t/imageinterminal-with-plots-integration-in-a-sixel-enabled-terminal-works-in-julia-1-8-not-1-9rc2/97609 "2023-09-21T19:43:29Z")

</div>

I was trying to use ImageInTerminal with Plots in a sixel-enabled terminal (eg, either mlterm or latest Konsole), I was surprised that, when all graphics correctly appeared inside the terminal with Julia 1.8, only image …

---

## [Providing {N} with type alias](https://discourse.julialang.org/t/providing-n-with-type-alias/104089)

<div class="topic-metadata">

**Author:** [@jondavis847](https://discourse.julialang.org/u/jondavis847)\
**Replies:** 8\
**Last updated:** [September 21, 2023, 7:39pm UTC](https://discourse.julialang.org/t/providing-n-with-type-alias/104089 "2023-09-21T19:39:09Z")

</div>

Using StaticArrays and parametric types, I can successfully produce subtyped SVectors. using StaticArrays abstract type A{N,T} \<: StaticVector{N,T} end @inline Base.getindex(a::A, i::Int64) = (@boundscheck checkbounds(…

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

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