# Latest

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

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

**Page:** 1737

---

## [Wher to find toy examples (with data) to check my (toy as well) implementation of ML algorithms?](https://discourse.julialang.org/t/wher-to-find-toy-examples-with-data-to-check-my-toy-as-well-implementation-of-ml-algorithms/40188)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [May 27, 2020, 11:45am UTC](https://discourse.julialang.org/t/wher-to-find-toy-examples-with-data-to-check-my-toy-as-well-implementation-of-ml-algorithms/40188 "2020-05-27T11:45:06Z")

</div>

I am developing a toy ML package, but I would like to test it with some simple datasets and implementation in established packages… is there a repository with simple data/algorithm (not necessarily in Julia) to see how m…

---

## [Debugging constructors](https://discourse.julialang.org/t/debugging-constructors/40221)

<div class="topic-metadata">

**Author:** [@bryce](https://discourse.julialang.org/u/bryce)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 11:18am UTC](https://discourse.julialang.org/t/debugging-constructors/40221 "2020-05-27T11:18:00Z")

</div>

I’m trying to use the debugger in Juno, and it fails with an UndefRefError if I set a breakpoint inside a constructor. Does anyone have any idea why this is happening or what I can do about it? Here’s a minimal example: …

---

## [Julia Pro Installation Error \[Ubuntu\]](https://discourse.julialang.org/t/julia-pro-installation-error-ubuntu/40166)

<div class="topic-metadata">

**Author:** [@waqas](https://discourse.julialang.org/u/waqas)\
**Replies:** 7\
**Last updated:** [May 27, 2020, 11:17am UTC](https://discourse.julialang.org/t/julia-pro-installation-error-ubuntu/40166 "2020-05-27T11:17:26Z")

</div>

Hi, I am trying to install JuliaPro 1.4.1 in Ubuntu but am getting an error once I run the commands in Ubuntu terminal. I have followed both the instruction manual and also the discussion on another installation questio…

---

## [Speeding up solution to the large system of non-linear, complex-valued ODEs](https://discourse.julialang.org/t/speeding-up-solution-to-the-large-system-of-non-linear-complex-valued-odes/39075)

<div class="topic-metadata">

**Author:** [@Bogo](https://discourse.julialang.org/u/Bogo)\
**Replies:** 6\
**Last updated:** [May 27, 2020, 11:09am UTC](https://discourse.julialang.org/t/speeding-up-solution-to-the-large-system-of-non-linear-complex-valued-odes/39075 "2020-05-27T11:09:05Z")

</div>

First of all, thank you to the people who developed Julia and DifferentialEquations.jl these both are really great tools! Now, cutting to the chase: I need to solve a large system of non-linear complex-valued ODEs (N~1…

---

## [Gen-quickstart i can not install it](https://discourse.julialang.org/t/gen-quickstart-i-can-not-install-it/40240)

<div class="topic-metadata">

**Author:** [@Jyun\_Wan](https://discourse.julialang.org/u/Jyun_Wan)\
**Replies:** 2\
**Last updated:** [May 27, 2020, 9:44am UTC](https://discourse.julialang.org/t/gen-quickstart-i-can-not-install-it/40240 "2020-05-27T09:44:31Z")

</div>

Whenever i want to install the package i type: and i always failed to download it before that i successfully to install Gen and GenViz in the same way (add MIT Probabilistic Computing Project · GitHub…) how can i s…

---

## [Registering in General packages not intended for the general public](https://discourse.julialang.org/t/registering-in-general-packages-not-intended-for-the-general-public/40236)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 14\
**Last updated:** [May 27, 2020, 9:24am UTC](https://discourse.julialang.org/t/registering-in-general-packages-not-intended-for-the-general-public/40236 "2020-05-27T09:24:47Z")

</div>

(This has been spurred by a comment by Stefan on slack#pkg-registration) I’m a researcher at a lab. I write tools in Julia for the lab. I know no one outside the lab would need to use some of these tools. Should I be reg…

---

## [Why writing array to socket is slow in Julia Version 1.3.1?](https://discourse.julialang.org/t/why-writing-array-to-socket-is-slow-in-julia-version-1-3-1/40208)

<div class="topic-metadata">

**Author:** [@indiajoe](https://discourse.julialang.org/u/indiajoe)\
**Replies:** 6\
**Last updated:** [May 27, 2020, 6:40am UTC](https://discourse.julialang.org/t/why-writing-array-to-socket-is-slow-in-julia-version-1-3-1/40208 "2020-05-27T06:40:11Z")

</div>

We recently updated our Julia (finally!) to 1.3.1 from 0.6, and I have been updating my code. In my code I am writing a numpy python array to a socket as outlined below using NPZ using Sockets server = listen(8006) so…

---

## [Using CubicSplineInterpolation on a vector (not on a Lazy Array)](https://discourse.julialang.org/t/using-cubicsplineinterpolation-on-a-vector-not-on-a-lazy-array/40044)

<div class="topic-metadata">

**Author:** [@jovansam](https://discourse.julialang.org/u/jovansam)\
**Replies:** 4\
**Last updated:** [May 27, 2020, 6:25am UTC](https://discourse.julialang.org/t/using-cubicsplineinterpolation-on-a-vector-not-on-a-lazy-array/40044 "2020-05-27T06:25:34Z")

</div>

I have a small problem that I can’t seem to solve regarding the use of CubicSplineInterpolation on a vector (rather than lazy array). using Interpolations, Plots function spline\_interpolation2() #mygrid = range(-1.0…

---

## [Segfault using ccall on initialization function](https://discourse.julialang.org/t/segfault-using-ccall-on-initialization-function/40212)

<div class="topic-metadata">

**Author:** [@Matt\_Davis](https://discourse.julialang.org/u/Matt_Davis)\
**Replies:** 11\
**Last updated:** [May 27, 2020, 3:39am UTC](https://discourse.julialang.org/t/segfault-using-ccall-on-initialization-function/40212 "2020-05-27T03:39:05Z")

</div>

I am trying to wrap the TBLIS library (GitHub - devinamatthews/tblis: TBLIS is a library and framework for performing tensor operations, especially tensor contraction, using efficient native algorithms.). I have successf…

---

## [Quantum information, computing, chemistry, etc](https://discourse.julialang.org/t/quantum-information-computing-chemistry-etc/40231)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 1\
**Last updated:** [May 27, 2020, 3:24am UTC](https://discourse.julialang.org/t/quantum-information-computing-chemistry-etc/40231 "2020-05-27T03:24:00Z")

</div>

I started a list of projects and organizations related to quantum information broadly construed. Please make a pull request or just open an issue and dump a link if you know of something I missed. Or if information is i…

---

## [Problem with package TableView / Julia usage](https://discourse.julialang.org/t/problem-with-package-tableview-julia-usage/39369)

<div class="topic-metadata">

**Author:** [@marco\_zanon](https://discourse.julialang.org/u/marco_zanon)\
**Replies:** 12\
**Last updated:** [May 27, 2020, 1:49am UTC](https://discourse.julialang.org/t/problem-with-package-tableview-julia-usage/39369 "2020-05-27T01:49:44Z")

</div>

First of all I would like to apologize if my question is too elementary. Although I have some experience with MS Excel VBA I am still a beginner at general use programming languages. Also, I would like to apologize for a…

---

## [JuliaPro PyPlot Fails](https://discourse.julialang.org/t/juliapro-pyplot-fails/40225)

<div class="topic-metadata">

**Author:** [@Lucas\_Liu](https://discourse.julialang.org/u/Lucas_Liu)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 11:54pm UTC](https://discourse.julialang.org/t/juliapro-pyplot-fails/40225 "2020-05-26T23:54:36Z")

</div>

I am using JuliaPro 1.4.1-1. When I do using PyPlot It gives the following warning message C:\\ProgramData\\Anaconda3\\lib\\site-packages\\numpy\\\_\_init\_\_.py:140: UserWarning: mkl-service package failed to import, therefore…

---

## [Efficiently iterate over partially permuted array](https://discourse.julialang.org/t/efficiently-iterate-over-partially-permuted-array/39982)

<div class="topic-metadata">

**Author:** [@nilshg](https://discourse.julialang.org/u/nilshg)\
**Replies:** 4\
**Last updated:** [May 26, 2020, 8:53pm UTC](https://discourse.julialang.org/t/efficiently-iterate-over-partially-permuted-array/39982 "2020-05-26T20:53:01Z")

</div>

I need to iterate over all multi-set permutations of parts of an array, and get the value of a function which depends on the order of elements in the array. What’s the most efficient way to do this? Only a subset of the…

---

## [DDPG using Flux](https://discourse.julialang.org/t/ddpg-using-flux/40219)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 2\
**Last updated:** [May 26, 2020, 8:51pm UTC](https://discourse.julialang.org/t/ddpg-using-flux/40219 "2020-05-26T20:51:20Z")

</div>

Hi! I need to implement DDPG (and TD3) algorithm for Julia using Flux. I saw that we have an initial implementation here: However, the algorithm is very old and does not work with the newest version of Flux. I am won…

---

## [Why do I need to install "pre-installed" packages in JuliaPro?](https://discourse.julialang.org/t/why-do-i-need-to-install-pre-installed-packages-in-juliapro/40218)

<div class="topic-metadata">

**Author:** [@akahs](https://discourse.julialang.org/u/akahs)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 8:39pm UTC](https://discourse.julialang.org/t/why-do-i-need-to-install-pre-installed-packages-in-juliapro/40218 "2020-05-26T20:39:43Z")

</div>

It might be a dumb question. I thought JuliaPro has a bunch of packages wrapped together for users to use. However, when I type status in pkg, it shows almost nothing. I still need to install the packages I want to use. …

---

## [Plots Pane now working anymore in Juno](https://discourse.julialang.org/t/plots-pane-now-working-anymore-in-juno/40193)

<div class="topic-metadata">

**Author:** [@valeroc](https://discourse.julialang.org/u/valeroc)\
**Replies:** 2\
**Last updated:** [May 26, 2020, 8:12pm UTC](https://discourse.julialang.org/t/plots-pane-now-working-anymore-in-juno/40193 "2020-05-26T20:12:52Z")

</div>

Hi. I have recently been using Gadfly using Juno in Atom. The Plots pane suddenly stopped working. When executing a plot command the Pane seems to be activated but nothing appears on it. It was working a few days ago, …

---

## [Unable to install Conda or PyCall](https://discourse.julialang.org/t/unable-to-install-conda-or-pycall/39956)

<div class="topic-metadata">

**Author:** [@Ryan\_Chan](https://discourse.julialang.org/u/Ryan_Chan)\
**Replies:** 1\
**Last updated:** [May 26, 2020, 8:02pm UTC](https://discourse.julialang.org/t/unable-to-install-conda-or-pycall/39956 "2020-05-26T20:02:45Z")

</div>

Hi everyone, I recently started to try learn Julia and cannot seem to install the Conda or PyCall packages. I have seen around that a lot of people have encountered this problem but they seem to be a bit old and the thin…

---

## [Code availability: user-input functions](https://discourse.julialang.org/t/code-availability-user-input-functions/40213)

<div class="topic-metadata">

**Author:** [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 6:52pm UTC](https://discourse.julialang.org/t/code-availability-user-input-functions/40213 "2020-05-26T18:52:06Z")

</div>

In an effort to make my main calculation code transparent to the parallelized implement, I want to have a user-defined function, then run it in parts of the calculations, doing all the setting up of parallelized calculat…

---

## [New Install but Macro @vectorize\_1arg not found](https://discourse.julialang.org/t/new-install-but-macro-vectorize-1arg-not-found/39769)

<div class="topic-metadata">

**Author:** [@juliamatt](https://discourse.julialang.org/u/juliamatt)\
**Replies:** 4\
**Last updated:** [May 26, 2020, 6:54pm UTC](https://discourse.julialang.org/t/new-install-but-macro-vectorize-1arg-not-found/39769 "2020-05-26T18:54:48Z")

</div>

Hi, I have just installed Julia but I have a script with @vectorize\_1arg Macro that it says is not defined. But looking at the Julia documentation it should be in the base install. Do I need any other packages, I already…

---

## [Can't launch jupyter from Juliabox](https://discourse.julialang.org/t/cant-launch-jupyter-from-juliabox/40199)

<div class="topic-metadata">

**Author:** [@aebk2015](https://discourse.julialang.org/u/aebk2015)\
**Replies:** 2\
**Last updated:** [May 26, 2020, 6:52pm UTC](https://discourse.julialang.org/t/cant-launch-jupyter-from-juliabox/40199 "2020-05-26T18:52:52Z")

</div>

I am unable to launch jupyter from Juliabox. I just registered; can log in from Juliabox but then I am presented with the launch page which is not activated: see below, thanks

---

## [Integer parametric typed struct much slower than concrete struct](https://discourse.julialang.org/t/integer-parametric-typed-struct-much-slower-than-concrete-struct/40169)

<div class="topic-metadata">

**Author:** [@Lucas\_Liu](https://discourse.julialang.org/u/Lucas_Liu)\
**Replies:** 6\
**Last updated:** [May 26, 2020, 6:48pm UTC](https://discourse.julialang.org/t/integer-parametric-typed-struct-much-slower-than-concrete-struct/40169 "2020-05-26T18:48:33Z")

</div>

Need help on performance of struct with integer parametric-types. I have the following piece of code for an AD package I am developing. PGrad is a struct for tracking gradients w.r.t N\_v variables in N\_c cells. PVa…

---

## [Reading Non-tabular Numeric Values from a Text File à la Fortran's \`read\`](https://discourse.julialang.org/t/reading-non-tabular-numeric-values-from-a-text-file-a-la-fortrans-read/40142)

<div class="topic-metadata">

**Author:** [@Dr.Merkwuedigliebe](https://discourse.julialang.org/u/Dr.Merkwuedigliebe)\
**Replies:** 3\
**Last updated:** [May 26, 2020, 5:06pm UTC](https://discourse.julialang.org/t/reading-non-tabular-numeric-values-from-a-text-file-a-la-fortrans-read/40142 "2020-05-26T17:06:53Z")

</div>

I need to read off some ASCII numeric output from some legacy (Fortran 77) code. The kind of text file the legacy code produces follow a regular, but non-rectangular/non-tabular pattern. Specifically, the text files loo…

---

## [Best practices for generating vectors with ones, zeros, rand, etc](https://discourse.julialang.org/t/best-practices-for-generating-vectors-with-ones-zeros-rand-etc/40197)

<div class="topic-metadata">

**Author:** [@ark](https://discourse.julialang.org/u/ark)\
**Replies:** 11\
**Last updated:** [May 26, 2020, 4:47pm UTC](https://discourse.julialang.org/t/best-practices-for-generating-vectors-with-ones-zeros-rand-etc/40197 "2020-05-26T16:47:08Z")

</div>

A common method to generate and initialize vectors using ones, zeros, or random values, is, e.g., ones(N,1). However, in Julia, such initializations result in a matrix type (!) rather than a vector: julia\> VERSION v"1…

---

## [How to safely cast C union types / use pointer\_from\_objref?](https://discourse.julialang.org/t/how-to-safely-cast-c-union-types-use-pointer-from-objref/40162)

<div class="topic-metadata">

**Author:** [@ColinCaine](https://discourse.julialang.org/u/ColinCaine)\
**Replies:** 7\
**Last updated:** [May 26, 2020, 3:42pm UTC](https://discourse.julialang.org/t/how-to-safely-cast-c-union-types-use-pointer-from-objref/40162 "2020-05-26T15:42:03Z")

</div>

I have a function, that accepts a pointer to a Julia allocated object, fills it with data, and returns it. I then want to cast that object to another type and do stuff with it. How can I best do that without risking the …

---

## [How to add description to failed unit tests?](https://discourse.julialang.org/t/how-to-add-description-to-failed-unit-tests/40107)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 6\
**Last updated:** [May 26, 2020, 3:26pm UTC](https://discourse.julialang.org/t/how-to-add-description-to-failed-unit-tests/40107 "2020-05-26T15:26:20Z")

</div>

In our numerics package we rely on Julia’s Test for unit testing. Sometimes we have multiple values returned from a function which we would like to check separately (e.g., L2 errors for different variables). Conceptually…

---

## [Nested Vectors/Arrays to multidimensional tensor](https://discourse.julialang.org/t/nested-vectors-arrays-to-multidimensional-tensor/36186)

<div class="topic-metadata">

**Author:** [@LudiWin](https://discourse.julialang.org/u/LudiWin)\
**Replies:** 5\
**Last updated:** [May 26, 2020, 3:06pm UTC](https://discourse.julialang.org/t/nested-vectors-arrays-to-multidimensional-tensor/36186 "2020-05-26T15:06:19Z")

</div>

I searched far and wide in the Julia forum and stackoverflow but haven’t found a general answer to my question (or I missed the point of the answers): How can I collect an arbitrary number of nested vectors/arrays into …

---

## [Julia for Data Science course launching on JuliaAcademy today!](https://discourse.julialang.org/t/julia-for-data-science-course-launching-on-juliaacademy-today/40192)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 7\
**Last updated:** [May 26, 2020, 2:57pm UTC](https://discourse.julialang.org/t/julia-for-data-science-course-launching-on-juliaacademy-today/40192 "2020-05-26T14:57:07Z")

</div>

We have a brand new “Julia for Data Science” course launching on JuliaAcademy today! Learn from Dr. @nassarhuda about how to set up and complete a Data Science project. Register here: https://juliaacademy.com/p/julia-for…

---

## [Can't install Gadfly - unsatisfiable requirements detected](https://discourse.julialang.org/t/cant-install-gadfly-unsatisfiable-requirements-detected/22205)

<div class="topic-metadata">

**Author:** [@klaff](https://discourse.julialang.org/u/klaff)\
**Replies:** 16\
**Last updated:** [May 26, 2020, 2:50pm UTC](https://discourse.julialang.org/t/cant-install-gadfly-unsatisfiable-requirements-detected/22205 "2020-05-26T14:50:26Z")

</div>

Hi, \[Edit: It seems that I just needed to do a pkg\> update prior to adding the package. Now off to read about why …\] I’m new to Julia and am having trouble installing Gadfly, specifically this happens when I try to add…

---

## [Passing sub-arrays by reference](https://discourse.julialang.org/t/passing-sub-arrays-by-reference/40191)

<div class="topic-metadata">

**Author:** [@iamsuddhasattwa](https://discourse.julialang.org/u/iamsuddhasattwa)\
**Replies:** 3\
**Last updated:** [May 26, 2020, 2:08pm UTC](https://discourse.julialang.org/t/passing-sub-arrays-by-reference/40191 "2020-05-26T14:08:42Z")

</div>

I am puzzled by how to pass sub-arrays of two or higher dimensional arrays by reference. I have defined the following function julia\> function ff(a::Vector) a\[1\]=777; end which sets the first element to 777. However, …

---

## [Weave YAML header doesn't get rendered](https://discourse.julialang.org/t/weave-yaml-header-doesnt-get-rendered/40189)

<div class="topic-metadata">

**Author:** [@eaubanel](https://discourse.julialang.org/u/eaubanel)\
**Replies:** 0\
**Last updated:** [May 26, 2020, 1:42pm UTC](https://discourse.julialang.org/t/weave-yaml-header-doesnt-get-rendered/40189 "2020-05-26T13:42:58Z")

</div>

I started using Weave recently, and just upgraded to version 0.10.2 from 0.9.4. With this upgrade the YAML header isn’t properly rendered into title-author-date (i.e centred with large fonts). One can see this from the e…

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

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