# Latest

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

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

**Page:** 1634

---

## [Downgraded packages](https://discourse.julialang.org/t/downgraded-packages/46508)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 2:32pm UTC](https://discourse.julialang.org/t/downgraded-packages/46508 "2020-09-12T14:32:49Z")

</div>

So I did an update to my packages, and something else I have installed caused Plots.jl to go way back to version v0.28.4. I was wondering if there’s a way I can figure out what other packages I have installed that’s cau…

---

## [Suggestions for playing music from real-time data generated in Julia](https://discourse.julialang.org/t/suggestions-for-playing-music-from-real-time-data-generated-in-julia/46448)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 1:59pm UTC](https://discourse.julialang.org/t/suggestions-for-playing-music-from-real-time-data-generated-in-julia/46448 "2020-09-12T13:59:21Z")

</div>

A little project I have in mind requires making data in real time (well, maybe 100 times a second at most) that is used to output music in real time. Details are scant because I haven’t really done anything yet, I’m tryi…

---

## [\[pre-ANN-RFC\] TestExtras.jl](https://discourse.julialang.org/t/pre-ann-rfc-testextras-jl/46487)

<div class="topic-metadata">

**Author:** [@juthohaegeman](https://discourse.julialang.org/u/juthohaegeman)\
**Replies:** 3\
**Last updated:** [September 12, 2020, 12:32pm UTC](https://discourse.julialang.org/t/pre-ann-rfc-testextras-jl/46487 "2020-09-12T12:32:20Z")

</div>

In one of my packages, I often wanted to test for type stability and inferrability of the return type, but while relying on the mechanism of constant propagation. Unfortunately this is not covered by Test.@inferred, so I…

---

## [Problems with Remote Julia Process](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187)

<div class="topic-metadata">

**Author:** [@MLackner](https://discourse.julialang.org/u/MLackner)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 11:19am UTC](https://discourse.julialang.org/t/problems-with-remote-julia-process/32187 "2020-09-12T11:19:14Z")

</div>

Hi! I’ve got some problems getting a remote Julia process to run via Juno. What I’m doing is: Start Atom Click on “Start Remote Julia Process” in toolbar Click on “Toggle Remote Tree View” Enter the password that I set…

---

## [How to default to empty string if variable unspecified to a function](https://discourse.julialang.org/t/how-to-default-to-empty-string-if-variable-unspecified-to-a-function/46500)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 6\
**Last updated:** [September 12, 2020, 9:59am UTC](https://discourse.julialang.org/t/how-to-default-to-empty-string-if-variable-unspecified-to-a-function/46500 "2020-09-12T09:59:51Z")

</div>

I’d love to use Julia as a replacement for my Unix shell at least some of the time so that I can become more familiar and comfortable with the language. One function I’m having trouble defining is: function vjus(path) …

---

## [Is GitHub-only code coverage possible?](https://discourse.julialang.org/t/is-github-only-code-coverage-possible/45070)

<div class="topic-metadata">

**Author:** [@anon37204545](https://discourse.julialang.org/u/anon37204545)\
**Replies:** 6\
**Last updated:** [September 12, 2020, 9:46am UTC](https://discourse.julialang.org/t/is-github-only-code-coverage-possible/45070 "2020-09-12T09:46:47Z")

</div>

Currently if you want to get code coverage report, you need to register on Codecov / Coveralls website and then authorize the service to access your repositories. Those services are essentially third-party to GitHub. So…

---

## [Certain callback does not seem to have an effect when solving JumpProblem](https://discourse.julialang.org/t/certain-callback-does-not-seem-to-have-an-effect-when-solving-jumpproblem/46415)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 9:34am UTC](https://discourse.julialang.org/t/certain-callback-does-not-seem-to-have-an-effect-when-solving-jumpproblem/46415 "2020-09-12T09:34:41Z")

</div>

I am trying to solve a jump problem. As a part of it, mid simulation, I change a parameter. This is basically an input being triggered into the system. This does not seem to have much effect though, and I am unsure why: …

---

## [Smoothing Splines with Optimized Unequal Knot Spacing](https://discourse.julialang.org/t/smoothing-splines-with-optimized-unequal-knot-spacing/46418)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 1\
**Last updated:** [September 12, 2020, 7:45am UTC](https://discourse.julialang.org/t/smoothing-splines-with-optimized-unequal-knot-spacing/46418 "2020-09-12T07:45:19Z")

</div>

I have some (x,y) data with equally-spaced x’s. I would like to smooth the data using (up to) 4 cubic splines and obtain the equations for each spline. I would like the knots connecting the splines to move to an optimal …

---

## [Nvim send extract "\]" ")" to REPL](https://discourse.julialang.org/t/nvim-send-extract-to-repl/46412)

<div class="topic-metadata">

**Author:** [@Donut\_Meepo](https://discourse.julialang.org/u/Donut_Meepo)\
**Replies:** 3\
**Last updated:** [September 12, 2020, 7:44am UTC](https://discourse.julialang.org/t/nvim-send-extract-to-repl/46412 "2020-09-12T07:44:49Z")

</div>

I was trying the nvim-\>tmux setup. I used vim-slime and send the code to a REPL in the next tmux pane. But it always send an extra closing “\]”. I tried with python REPL it does not have the issue. I am very appreciat…

---

## [Pkg\> add results in “no known versions” errors for “Flux” and “Plots”](https://discourse.julialang.org/t/pkg-add-results-in-no-known-versions-errors-for-flux-and-plots/46457)

<div class="topic-metadata">

**Author:** [@Siddarth\_Arumugam](https://discourse.julialang.org/u/Siddarth_Arumugam)\
**Replies:** 2\
**Last updated:** [September 12, 2020, 3:38am UTC](https://discourse.julialang.org/t/pkg-add-results-in-no-known-versions-errors-for-flux-and-plots/46457 "2020-09-12T03:38:26Z")

</div>

I am using Julia version 1.5.1 on a Win10 operating system. Trying to add Plots and Flux results in the errors listed below: (@v1.5) pkg\> add Plots Resolving package versions... ERROR: Unsatisfiable requirements de…

---

## [Is there a GPU optimized \`Distances\` package?](https://discourse.julialang.org/t/is-there-a-gpu-optimized-distances-package/46434)

<div class="topic-metadata">

**Author:** [@yiyuezhuo](https://discourse.julialang.org/u/yiyuezhuo)\
**Replies:** 4\
**Last updated:** [September 12, 2020, 1:49am UTC](https://discourse.julialang.org/t/is-there-a-gpu-optimized-distances-package/46434 "2020-09-12T01:49:21Z")

</div>

I wonder if there is a package which implements Distances.jl’s interface with CUDA.AbstractGPUArray type to leverage GPU acceleration. I found those issues: https://github.com/JuliaStats/Distances.jl/issues/143 https:/…

---

## [\[ANN\] EyeOfRa.jl for rapid function writing](https://discourse.julialang.org/t/ann-eyeofra-jl-for-rapid-function-writing/46488)

<div class="topic-metadata">

**Author:** [@pengwyn](https://discourse.julialang.org/u/pengwyn)\
**Replies:** 0\
**Last updated:** [September 12, 2020, 12:27am UTC](https://discourse.julialang.org/t/ann-eyeofra-jl-for-rapid-function-writing/46488 "2020-09-12T00:27:04Z")

</div>

Hi all, To speed up my workflow, I’ve made a “continuous testing” package for seeing function output on every editor save called EyeOfRa.jl. This aims to make the edit/save/run loop of function writing/debugging more co…

---

## [Code time as color in Plots.jl ... How?](https://discourse.julialang.org/t/code-time-as-color-in-plots-jl-how/46482)

<div class="topic-metadata">

**Author:** [@VMHidalgo](https://discourse.julialang.org/u/VMHidalgo)\
**Replies:** 7\
**Last updated:** [September 11, 2020, 11:10pm UTC](https://discourse.julialang.org/t/code-time-as-color-in-plots-jl-how/46482 "2020-09-11T23:10:51Z")

</div>

Hi, I am plotting a trajectory in the complex plane. If I plot the whole path Plots.jl offers me this: I would like to know which way it went from beginning to end. I know that Plots.jl offers us a 3-D plot if you pa…

---

## [Image in REPL does not correct](https://discourse.julialang.org/t/image-in-repl-does-not-correct/46359)

<div class="topic-metadata">

**Author:** [@HerAdri](https://discourse.julialang.org/u/HerAdri)\
**Replies:** 16\
**Last updated:** [September 11, 2020, 9:33pm UTC](https://discourse.julialang.org/t/image-in-repl-does-not-correct/46359 "2020-09-11T21:33:47Z")

</div>

When running the ImageInTerminal package I get these images: And when I start ImageView I receive the following alert: using ImageView Julia\>using ImageView \[ Info: Precompiling ImageView \[86fae568-95e7-573e-a6b2-d8…

---

## [GLMakie complains about missing OpenGl, which is there](https://discourse.julialang.org/t/glmakie-complains-about-missing-opengl-which-is-there/29582)

<div class="topic-metadata">

**Author:** [@zweiglimmergneis](https://discourse.julialang.org/u/zweiglimmergneis)\
**Replies:** 6\
**Last updated:** [September 11, 2020, 9:20pm UTC](https://discourse.julialang.org/t/glmakie-complains-about-missing-opengl-which-is-there/29582 "2020-09-11T21:20:38Z")

</div>

This might be a OS-problem (fedora 30), but I couldn’t find useful info elsewhere, so I post the problem here. build GLMakie issues an Error: (v1.2) pkg\> build GLMakie Building Conda ───────────→ \`~/.julia/package…

---

## [Impose initialization adn normalization on layers in Flux](https://discourse.julialang.org/t/impose-initialization-adn-normalization-on-layers-in-flux/23921)

<div class="topic-metadata">

**Author:** [@stefesse](https://discourse.julialang.org/u/stefesse)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 8:48pm UTC](https://discourse.julialang.org/t/impose-initialization-adn-normalization-on-layers-in-flux/23921 "2020-09-11T20:48:35Z")

</div>

Hi all, I am constructing a simple perceptron with Flux, something like: y = W\*x + b. To do so I simply use: model = Dense(N,1,nonlinearity); What I do not understand is: How can I impose the initial value for the ma…

---

## [Flux mutating updates?](https://discourse.julialang.org/t/flux-mutating-updates/46474)

<div class="topic-metadata">

**Author:** [@kc104](https://discourse.julialang.org/u/kc104)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 7:25pm UTC](https://discourse.julialang.org/t/flux-mutating-updates/46474 "2020-09-11T19:25:23Z")

</div>

I am trying to transfer a model from Python into Julia. Each time I compute my loss function I sample the parameters in my model and store them in a struct. Trying to compute gradients of my loss using Flux gives an err…

---

## [Matrix-by-(slice of)vector multiplication with limited allocation](https://discourse.julialang.org/t/matrix-by-slice-of-vector-multiplication-with-limited-allocation/46464)

<div class="topic-metadata">

**Author:** [@yutaka](https://discourse.julialang.org/u/yutaka)\
**Replies:** 6\
**Last updated:** [September 11, 2020, 7:21pm UTC](https://discourse.julialang.org/t/matrix-by-slice-of-vector-multiplication-with-limited-allocation/46464 "2020-09-11T19:21:17Z")

</div>

I am trying to multiply a small matrix by a slice of a vector (subvector), i.e., z\[3:7\] .= A \* x\[3:7\], and it allocates memory for a copy of the slice. A view is a lightweight option, but it still needs some memory and t…

---

## [Neural ODE fitting really slow](https://discourse.julialang.org/t/neural-ode-fitting-really-slow/45516)

<div class="topic-metadata">

**Author:** [@vaglino](https://discourse.julialang.org/u/vaglino)\
**Replies:** 13\
**Last updated:** [September 11, 2020, 6:55pm UTC](https://discourse.julialang.org/t/neural-ode-fitting-really-slow/45516 "2020-09-11T18:55:32Z")

</div>

I’m trying to fit this simple neural ODE, first with adam then bfgs, but the performance is extremely slow (about 15 minutes for 100 adams iterations). I am basing the code on the SciML talk from JuliaCon 2020. When I ti…

---

## [Function Composition and Piping](https://discourse.julialang.org/t/function-composition-and-piping/46472)

<div class="topic-metadata">

**Author:** [@Nathan\_Boyer](https://discourse.julialang.org/u/Nathan_Boyer)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 6:48pm UTC](https://discourse.julialang.org/t/function-composition-and-piping/46472 "2020-09-11T18:48:39Z")

</div>

The following are equivalent based on the docs. Is there a Julian preference or functional reason to choose one over another, or is it just a matter of personal taste? Nesting: g(f(x)) Composition: (g ∘ f)(x) Piping: x…

---

## [Where are exception details shown in VS Code when debugger is "paused on exception"?](https://discourse.julialang.org/t/where-are-exception-details-shown-in-vs-code-when-debugger-is-paused-on-exception/46470)

<div class="topic-metadata">

**Author:** [@airpmb](https://discourse.julialang.org/u/airpmb)\
**Replies:** 1\
**Last updated:** [September 11, 2020, 5:59pm UTC](https://discourse.julialang.org/t/where-are-exception-details-shown-in-vs-code-when-debugger-is-paused-on-exception/46470 "2020-09-11T17:59:12Z")

</div>

Subject more or less says it all. My code causes an exception to be raised–in the terminal I get a detailed description of the exception including a stack trace. In VS Code all I see is “paused on exception” in the call …

---

## [Local installation of CUDA toolkit](https://discourse.julialang.org/t/local-installation-of-cuda-toolkit/46463)

<div class="topic-metadata">

**Author:** [@DanaGalizia](https://discourse.julialang.org/u/DanaGalizia)\
**Replies:** 5\
**Last updated:** [September 11, 2020, 5:49pm UTC](https://discourse.julialang.org/t/local-installation-of-cuda-toolkit/46463 "2020-09-11T17:49:50Z")

</div>

Hi, I’m trying to add the Cuda.jl package using a local installation of the CUDA toolkit. In the installation guide, it says You might want to disallow use of artifacts, e.g., because an optimized CUDA installation is …

---

## [How to get/set constraint names?](https://discourse.julialang.org/t/how-to-get-set-constraint-names/46411)

<div class="topic-metadata">

**Author:** [@vattyamv](https://discourse.julialang.org/u/vattyamv)\
**Replies:** 4\
**Last updated:** [September 11, 2020, 4:32pm UTC](https://discourse.julialang.org/t/how-to-get-set-constraint-names/46411 "2020-09-11T16:32:16Z")

</div>

Hi, I am trying to set and get constraint names but am running into some errors. I originally built the model without naming the constraints but now I want to name them. Take for example, for i in 1:timerange @const…

---

## [How to import this kind of file properly?](https://discourse.julialang.org/t/how-to-import-this-kind-of-file-properly/46449)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 6\
**Last updated:** [September 11, 2020, 4:20pm UTC](https://discourse.julialang.org/t/how-to-import-this-kind-of-file-properly/46449 "2020-09-11T16:20:37Z")

</div>

Hi! I have a bit of an unusual csv file (for me atleast). It is structured as such: Pos X/Y/Z \[m\]: 0 0 -1.2 0 0 -1.188 0 0 -1.176 Part Time \[s\] Vel\_0.x \[m/s\] Vel\_0.y \[m/s\] Vel\_0.z \[m/s\] Vel\_1.x \[m/s\] Vel\_1.y \[m/s\] V…

---

## [Hierarchical quadtree for fast mutipole method](https://discourse.julialang.org/t/hierarchical-quadtree-for-fast-mutipole-method/46350)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 3\
**Last updated:** [September 11, 2020, 3:43pm UTC](https://discourse.julialang.org/t/hierarchical-quadtree-for-fast-mutipole-method/46350 "2020-09-11T15:43:41Z")

</div>

Hello, Is there a package that constructs a hierarchical quadtree given a set of non-uniform points in 2D? I would like to play around with fast multipole methods.

---

## [Choice between abstract type and union of vectors of types to feed functions that operate on vectors of more than one type](https://discourse.julialang.org/t/choice-between-abstract-type-and-union-of-vectors-of-types-to-feed-functions-that-operate-on-vectors-of-more-than-one-type/46399)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 13\
**Last updated:** [September 11, 2020, 3:22pm UTC](https://discourse.julialang.org/t/choice-between-abstract-type-and-union-of-vectors-of-types-to-feed-functions-that-operate-on-vectors-of-more-than-one-type/46399 "2020-09-11T15:22:28Z")

</div>

I have two data structures, and some functions that have to operate on vectors of those data structures. One option is to define an abstract type as a supertype of both data structures. The other option is to create a ne…

---

## [Training a simple linear model in Flux](https://discourse.julialang.org/t/training-a-simple-linear-model-in-flux/24741)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 4\
**Last updated:** [September 11, 2020, 3:20pm UTC](https://discourse.julialang.org/t/training-a-simple-linear-model-in-flux/24741 "2020-09-11T15:20:10Z")

</div>

I’m trying to get started with Flux, but finding the documentation a bit lacking in regards to explaining the basic functionality. For example, how would I train the following linear model with a single scalar parameter…

---

## [Truncated labels in StatsPlots groupedbar plot](https://discourse.julialang.org/t/truncated-labels-in-statsplots-groupedbar-plot/46451)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 12:01pm UTC](https://discourse.julialang.org/t/truncated-labels-in-statsplots-groupedbar-plot/46451 "2020-09-11T12:01:08Z")

</div>

In the plot below, the first and last characters of the labels on the x-axis are truncated. Is there any way around this aside from adding spaces? Thank you using StatsPlots, DataFrames pyplot() df = DataFrame(a=repeat…

---

## [Is there a transpiler from shell to Julia \`Cmd\`s?](https://discourse.julialang.org/t/is-there-a-transpiler-from-shell-to-julia-cmd-s/46427)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 1\
**Last updated:** [September 11, 2020, 1:54pm UTC](https://discourse.julialang.org/t/is-there-a-transpiler-from-shell-to-julia-cmd-s/46427 "2020-09-11T13:54:15Z")

</div>

I am developing a package that can run shell commands. I know “shellout sucks” and using the shell is very unrecommended in Julia, but there’s time users want their code copied from scripts can just work. And transformin…

---

## [R's pairs scatter plot in Julia](https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254)

<div class="topic-metadata">

**Author:** [@maxpiot](https://discourse.julialang.org/u/maxpiot)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 1:35pm UTC](https://discourse.julialang.org/t/rs-pairs-scatter-plot-in-julia/46254 "2020-09-11T13:35:29Z")

</div>

Hi all, I’m looking for a convenient way of recreating the R’s pairwise scatter plots (Scatter Plot Matrices - R Base Graphs - Easy Guides - Wiki - STHDA) in Julia. I’ve come across the corrplot function in the StatsPl…

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

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