# Latest

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

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

**Page:** 1458

---

## [Help with using the Plots package](https://discourse.julialang.org/t/help-with-using-the-plots-package/57036)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 22\
**Last updated:** [March 16, 2021, 6:55pm UTC](https://discourse.julialang.org/t/help-with-using-the-plots-package/57036 "2021-03-16T18:55:10Z")

</div>

Hello How to plot a two-dimensional graph? In this example I am trying to plot (x, y) and in response Julia returns a three-dimensional graph. using Plots x = 1:4 y = \[0.16, 12, 8, 0.13\] y1 = \[0.07, 13, 7\] y2 = y,y1 p…

---

## [PyError. Can't use ExcelReaders](https://discourse.julialang.org/t/pyerror-cant-use-excelreaders/57247)

<div class="topic-metadata">

**Author:** [@Yaropro14](https://discourse.julialang.org/u/Yaropro14)\
**Replies:** 6\
**Last updated:** [March 16, 2021, 6:32pm UTC](https://discourse.julialang.org/t/pyerror-cant-use-excelreaders/57247 "2021-03-16T18:32:21Z")

</div>

PyError ($(Expr(:escape, :(ccall(#= /Users/yaroslav/.julia/packages/PyCall/tqyST/src/pyfncall.jl:43 =# @pysym(:PyObject\_Call), PyPtr, (PyPtr, PyPtr, PyPtr), o, pyargsptr, kw))))) \<class ‘xlrd.biffh.XLRDError’\> XLRDError…

---

## [\[ANN\] Arrow.jl 0.3 Release](https://discourse.julialang.org/t/ann-arrow-jl-0-3-release/47727)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 21\
**Last updated:** [March 16, 2021, 5:53pm UTC](https://discourse.julialang.org/t/ann-arrow-jl-0-3-release/47727 "2021-03-16T17:53:27Z")

</div>

A new 0.3 release has just been made for the Arrow.jl package. This is a significant rewrite of the entire package from scratch, and it now lives under the JuliaData organization. With this release, Arrow.jl now fully i…

---

## [Failing to write a connection pool for Mongo](https://discourse.julialang.org/t/failing-to-write-a-connection-pool-for-mongo/57268)

<div class="topic-metadata">

**Author:** [@sampope](https://discourse.julialang.org/u/sampope)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 5:52pm UTC](https://discourse.julialang.org/t/failing-to-write-a-connection-pool-for-mongo/57268 "2021-03-16T17:52:50Z")

</div>

tldr; how does one write a connection pool to a database like mongo? As a side project to learn more about julia, I have a script which pulls a list from a mongo collection (database table), hits a GEOIP API, and insert…

---

## [Index data from DelimitedFiles by name](https://discourse.julialang.org/t/index-data-from-delimitedfiles-by-name/57284)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 5:20pm UTC](https://discourse.julialang.org/t/index-data-from-delimitedfiles-by-name/57284 "2021-03-16T17:20:05Z")

</div>

I know there is CSV.jl, but I am wondering what the easiest way to access the data by their column names would be if I just use DelimitedFiles.jl. My first approach would look like this, but maybe there is a more elegan…

---

## [Julia Github actions failing due to missing Pkg](https://discourse.julialang.org/t/julia-github-actions-failing-due-to-missing-pkg/57255)

<div class="topic-metadata">

**Author:** [@iliailmer](https://discourse.julialang.org/u/iliailmer)\
**Replies:** 11\
**Last updated:** [March 16, 2021, 5:17pm UTC](https://discourse.julialang.org/t/julia-github-actions-failing-due-to-missing-pkg/57255 "2021-03-16T17:17:50Z")

</div>

I am running CI for a custom package using Github Actions and Julia. The actions for building work fine, but during testing I get the error below: \[ Info: Generating custom Julia project ... ERROR: ArgumentError: Packag…

---

## [MethodError Exception, GtkReactive drawing.jl example using Debugger](https://discourse.julialang.org/t/methoderror-exception-gtkreactive-drawing-jl-example-using-debugger/57317)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 5:00pm UTC](https://discourse.julialang.org/t/methoderror-exception-gtkreactive-drawing-jl-example-using-debugger/57317 "2021-03-16T17:00:56Z")

</div>

I was trying to use the debugger to understand GtkReacttive coding. I stripped down the drawing.jl example as follows: File: drawing.jl from https://raw.githubusercontent.com/JuliaGizmos/GtkReactive.jl/master/examples…

---

## [Incorrect console output for nested @testset](https://discourse.julialang.org/t/incorrect-console-output-for-nested-testset/57198)

<div class="topic-metadata">

**Author:** [@Michal](https://discourse.julialang.org/u/Michal)\
**Replies:** 5\
**Last updated:** [March 16, 2021, 4:28pm UTC](https://discourse.julialang.org/t/incorrect-console-output-for-nested-testset/57198 "2021-03-16T16:28:06Z")

</div>

I created nested @testsets with tests. In general, it is running correct for all tests, but console output is not same as I expected from following website. I tried it on Julia 1.5.2, 1.5.4, 1.6RC. https://docs.julialan…

---

## [How are compile cache files named?](https://discourse.julialang.org/t/how-are-compile-cache-files-named/57304)

<div class="topic-metadata">

**Author:** [@bluesmoon](https://discourse.julialang.org/u/bluesmoon)\
**Replies:** 6\
**Last updated:** [March 16, 2021, 4:16pm UTC](https://discourse.julialang.org/t/how-are-compile-cache-files-named/57304 "2021-03-16T16:16:10Z")

</div>

I’m using julia 1.5.3. This question is based on my curiosity of how julia works and not something that’s affecting my work. I have several modules that I’ve written myself, and they in turn use some modules from the pu…

---

## [Matrix shortest distance problem - Need suggestions to improve the performance](https://discourse.julialang.org/t/matrix-shortest-distance-problem-need-suggestions-to-improve-the-performance/57175)

<div class="topic-metadata">

**Author:** [@shanmukhan](https://discourse.julialang.org/u/shanmukhan)\
**Replies:** 27\
**Last updated:** [March 16, 2021, 3:25pm UTC](https://discourse.julialang.org/t/matrix-shortest-distance-problem-need-suggestions-to-improve-the-performance/57175 "2021-03-16T15:25:55Z")

</div>

Hello All, I am new to Julia and working on below code in Julia and similar one in Python, Java. But, Julia code is slower than Python and 10x slower than Java code. Can you please let me know how to optimize below code…

---

## [DEDataArrays on GPU](https://discourse.julialang.org/t/dedataarrays-on-gpu/56312)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 3:19pm UTC](https://discourse.julialang.org/t/dedataarrays-on-gpu/56312 "2021-03-16T15:19:30Z")

</div>

Following this discussion I have a question about the possibility of using DEDataArrays on GPU. Currently, I can not convert a DEDataArray A simply as CuArray(A), since the CuArray function will omit all extra fields of A…

---

## [Testing Julia packages on x86\_64 Alpine Linux with Drone CI](https://discourse.julialang.org/t/testing-julia-packages-on-x86-64-alpine-linux-with-drone-ci/57313)

<div class="topic-metadata">

**Author:** [@giordano](https://discourse.julialang.org/u/giordano)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 3:10pm UTC](https://discourse.julialang.org/t/testing-julia-packages-on-x86-64-alpine-linux-with-drone-ci/57313 "2021-03-16T15:10:58Z")

</div>

Alpine Linux is a lightweight Linux distributions, the base installation can be as little as 5-6 MiB. It’s different from most common distributions in that it’s based on the musl C library. There have already been a fe…

---

## [ExcelReaders function openxl](https://discourse.julialang.org/t/excelreaders-function-openxl/57303)

<div class="topic-metadata">

**Author:** [@Yaropro14](https://discourse.julialang.org/u/Yaropro14)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 3:07pm UTC](https://discourse.julialang.org/t/excelreaders-function-openxl/57303 "2021-03-16T15:07:18Z")

</div>

using ExcelReaders, JuMP, Plots, Gurobi cd(“/Users/yaroslav/Desktop/Diplom/”) file5=openxl(“ASG data 14.06.2018 (new data).xlsx”) PyError ($(Expr(:escape, :(ccall(#= /Users/yaroslav/.julia/packages/PyCall/tqyST/src/py…

---

## [Looking for Section Leaders to help teach Python at Stanford University!](https://discourse.julialang.org/t/looking-for-section-leaders-to-help-teach-python-at-stanford-university/57307)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 2:20pm UTC](https://discourse.julialang.org/t/looking-for-section-leaders-to-help-teach-python-at-stanford-university/57307 "2021-03-16T14:20:21Z")

</div>

Hey all, Stanford University’s Code In Place is live for 2021: https://codeinplace.stanford.edu we are seeking folks to host sections and help others learn Python. I participated in the 2020 edition and it was a great ti…

---

## [Counterexamples to the interpretation \`\<:\` means "is a subtype of"](https://discourse.julialang.org/t/counterexamples-to-the-interpretation-means-is-a-subtype-of/57274)

<div class="topic-metadata">

**Author:** [@path-doc](https://discourse.julialang.org/u/path-doc)\
**Replies:** 23\
**Last updated:** [March 16, 2021, 2:04pm UTC](https://discourse.julialang.org/t/counterexamples-to-the-interpretation-means-is-a-subtype-of/57274 "2021-03-16T14:04:00Z")

</div>

Continuing the discussion from A precise definition of what it means to be an instance of an abstract type: The following appears to contradict the claim \<: means “is a subtype of” that appears in the manual (Types · Th…

---

## [Hello everyone, I'm trying to write a function that returns an array with all path](https://discourse.julialang.org/t/hello-everyone-im-trying-to-write-a-function-that-returns-an-array-with-all-path/57296)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 16, 2021, 1:32pm UTC](https://discourse.julialang.org/t/hello-everyone-im-trying-to-write-a-function-that-returns-an-array-with-all-path/57296 "2021-03-16T13:32:46Z")

</div>

Hello everyone, I’m trying to write a function that returns an array with all paths from root to leaves in a binary tree, where each path is an array of symbols. The tree struct is defined like this: abstract type Nod…

---

## [How to run Julia on Cluster?](https://discourse.julialang.org/t/how-to-run-julia-on-cluster/56551)

<div class="topic-metadata">

**Author:** [@Shazman](https://discourse.julialang.org/u/Shazman)\
**Replies:** 11\
**Last updated:** [March 16, 2021, 1:34pm UTC](https://discourse.julialang.org/t/how-to-run-julia-on-cluster/56551 "2021-03-16T13:34:48Z")

</div>

Hi, I am trying to run Julia on the Cluster. the main problem for me is to write the job script to tell the cluster to run my Julia commands. the cluster is using Slurm. anyone have an idea how to do it?

---

## [How do multiple Julia instances handle JULIA\_NUM\_THREADS?](https://discourse.julialang.org/t/how-do-multiple-julia-instances-handle-julia-num-threads/57298)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 2\
**Last updated:** [March 16, 2021, 1:20pm UTC](https://discourse.julialang.org/t/how-do-multiple-julia-instances-handle-julia-num-threads/57298 "2021-03-16T13:20:45Z")

</div>

Say I have a computer with 12 CPU cores available (i.e. visible to software, 6 cores 12 threads in reality). And say I set JULIA\_NUM\_THREADS to 8, and launch a Julia instance. If I launch another Julia instance, how do …

---

## [Base.Generator being slow because type inference fails with isnothing](https://discourse.julialang.org/t/base-generator-being-slow-because-type-inference-fails-with-isnothing/57297)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 6\
**Last updated:** [March 16, 2021, 1:01pm UTC](https://discourse.julialang.org/t/base-generator-being-slow-because-type-inference-fails-with-isnothing/57297 "2021-03-16T13:01:11Z")

</div>

Hey, consider following two functions, to generate a generator: function f(size; scaling=1.0) if isnothing(scaling) scaling = 1.0 end return (sum(scaling .\* Tuple(index)) for index in CartesianIndic…

---

## [Infinite Increasing Memory Usage Until Crash](https://discourse.julialang.org/t/infinite-increasing-memory-usage-until-crash/38254)

<div class="topic-metadata">

**Author:** [@duncanam](https://discourse.julialang.org/u/duncanam)\
**Replies:** 7\
**Last updated:** [March 16, 2021, 12:53pm UTC](https://discourse.julialang.org/t/infinite-increasing-memory-usage-until-crash/38254 "2021-03-16T12:53:56Z")

</div>

I’ve made a small script to assist with visualizing some data. The script include()s another script that has a module to do all my isosurface and 3D plotting using Makie, as well as all the reading in with CSV. I save al…

---

## [Is there a way to avoid allocating memory when using Chain.jl or pipeing? Technica](https://discourse.julialang.org/t/is-there-a-way-to-avoid-allocating-memory-when-using-chain-jl-or-pipeing-technica/57206)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 16, 2021, 12:11pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-avoid-allocating-memory-when-using-chain-jl-or-pipeing-technica/57206 "2021-03-16T12:11:36Z")

</div>

Is there a way to avoid allocating memory when using Chain.jl or pipeing? Technically these are type stable and can mutate the original array to avoid allocation julia&gt; @time @chain x begin \_ \* 1 en…

---

## [How to build data structures on Arrays without specifying the array implementation?](https://discourse.julialang.org/t/how-to-build-data-structures-on-arrays-without-specifying-the-array-implementation/57251)

<div class="topic-metadata">

**Author:** [@marty0801](https://discourse.julialang.org/u/marty0801)\
**Replies:** 6\
**Last updated:** [March 16, 2021, 10:58am UTC](https://discourse.julialang.org/t/how-to-build-data-structures-on-arrays-without-specifying-the-array-implementation/57251 "2021-03-16T10:58:37Z")

</div>

I’ve built some data structures on Vectors, and now realize I should be using views instead. The problem is that I need indexing operations to return another container. How do I modify my struct definitions to achieve th…

---

## [Stem plot in Makie.jl](https://discourse.julialang.org/t/stem-plot-in-makie-jl/54234)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 7\
**Last updated:** [March 16, 2021, 10:32am UTC](https://discourse.julialang.org/t/stem-plot-in-makie-jl/54234 "2021-03-16T10:32:39Z")

</div>

Is there current a function that creates stem plots in Makie.jl, or would I have to DIY it? In case it is unknown, it is simply a line from x=0 to the y value with a marker at the end, and it is good for representing a d…

---

## [I can't add/update packages on julia 1.5.3](https://discourse.julialang.org/t/i-cant-add-update-packages-on-julia-1-5-3/50561)

<div class="topic-metadata">

**Author:** [@NotTaken](https://discourse.julialang.org/u/NotTaken)\
**Replies:** 10\
**Last updated:** [March 16, 2021, 10:29am UTC](https://discourse.julialang.org/t/i-cant-add-update-packages-on-julia-1-5-3/50561 "2021-03-16T10:29:38Z")

</div>

Hello! Yesterday I installed julia version 1.5.3 on windows 10 and I was able to install the Pluto, Plots, GR, Plotly packages. But today I can’t download any packages, nor update the previous ones. I have specifically t…

---

## [Adding payment in JuliaHub](https://discourse.julialang.org/t/adding-payment-in-juliahub/57269)

<div class="topic-metadata">

**Author:** [@SonLe](https://discourse.julialang.org/u/SonLe)\
**Replies:** 3\
**Last updated:** [March 16, 2021, 10:21am UTC](https://discourse.julialang.org/t/adding-payment-in-juliahub/57269 "2021-03-16T10:21:01Z")

</div>

Hi all, I intend to use JuliaHub. However, it is quite weird that I cannot add my credit card on the JuliaHub page. It does not show the inputting card number section, instead, it is just a blank Is there anybody her…

---

## [Flux Loss is not converging when trying to approximate a multivariate function](https://discourse.julialang.org/t/flux-loss-is-not-converging-when-trying-to-approximate-a-multivariate-function/57282)

<div class="topic-metadata">

**Author:** [@JackHuang](https://discourse.julialang.org/u/JackHuang)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 9:15am UTC](https://discourse.julialang.org/t/flux-loss-is-not-converging-when-trying-to-approximate-a-multivariate-function/57282 "2021-03-16T09:15:54Z")

</div>

Hi, I am trying to using MLP to approximate a multivariate function, however, the loss gets stuck very quickly and I am not able to get a model that can approximate the function well. I have tried the same thing in pyth…

---

## [QR Parameterization in Turing](https://discourse.julialang.org/t/qr-parameterization-in-turing/57203)

<div class="topic-metadata">

**Author:** [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Replies:** 2\
**Last updated:** [March 16, 2021, 8:19am UTC](https://discourse.julialang.org/t/qr-parameterization-in-turing/57203 "2021-03-16T08:19:41Z")

</div>

A question to Turing Specialists. I performed a QR decomposition on my model matrix X. #### QR Decomposition #### Q, R = qr(X) Then i fitted a Turing Model to my Q Matrix, casting it to a Matrix: model\_qr = varying\_i…

---

## [Show Layered.jl canvas as a new window](https://discourse.julialang.org/t/show-layered-jl-canvas-as-a-new-window/57271)

<div class="topic-metadata">

**Author:** [@wali\_waqar](https://discourse.julialang.org/u/wali_waqar)\
**Replies:** 0\
**Last updated:** [March 16, 2021, 7:54am UTC](https://discourse.julialang.org/t/show-layered-jl-canvas-as-a-new-window/57271 "2021-03-16T07:54:07Z")

</div>

Hi, I know you can save the Canvas as a PNG/SVG/PDF in Layered.jl, but how would I display it in a new window. I know this is possible with Cairo (which is what Layered.jl is based on) and a Gtk Window.

---

## [Celltracker possibilities?](https://discourse.julialang.org/t/celltracker-possibilities/46736)

<div class="topic-metadata">

**Author:** [@ervern](https://discourse.julialang.org/u/ervern)\
**Replies:** 11\
**Last updated:** [March 16, 2021, 7:31am UTC](https://discourse.julialang.org/t/celltracker-possibilities/46736 "2021-03-16T07:31:35Z")

</div>

Hi im a student and was wondering if this would be a good language to make a program that tracks cells in a video rather than python or MATLAB. If so I was wondering where I should start. Thanks!

---

## [Update julia 1.53 and 1.6 Beta problem](https://discourse.julialang.org/t/update-julia-1-53-and-1-6-beta-problem/53275)

<div class="topic-metadata">

**Author:** [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Replies:** 2\
**Last updated:** [March 16, 2021, 7:15am UTC](https://discourse.julialang.org/t/update-julia-1-53-and-1-6-beta-problem/53275 "2021-03-16T07:15:39Z")

</div>

Version 1.5.3 (2020-11-09) \_/ |\\\_\_'\_|\_|\_|\\\_\_'\_| | Official https://julialang.org/ release |\_\_/ | (@v1.5) pkg\> up Installing known registries into \`C:\\Users\\user\\.julia\` ERROR: SystemError: opening…

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

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