# Latest

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

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

**Page:** 1651

---

## [Print name of type w/o parameters, Julia 1.0-master](https://discourse.julialang.org/t/print-name-of-type-w-o-parameters-julia-1-0-master/45447)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [August 24, 2020, 11:19am UTC](https://discourse.julialang.org/t/print-name-of-type-w-o-parameters-julia-1-0-master/45447 "2020-08-24T11:19:46Z")

</div>

Given a parametric type T I would like to print (or, equivalently, obtain as a String) the name of this type without parameters. The purpose is pretty-printing a complicated type. I need a generic solution, not one that…

---

## [Julia working group In Grenoble, France](https://discourse.julialang.org/t/julia-working-group-in-grenoble-france/32925)

<div class="topic-metadata">

**Author:** [@Marco-Congedo](https://discourse.julialang.org/u/Marco-Congedo)\
**Replies:** 2\
**Last updated:** [August 24, 2020, 10:14am UTC](https://discourse.julialang.org/t/julia-working-group-in-grenoble-france/32925 "2020-08-24T10:14:31Z")

</div>

Hello All, at GIPSA-lab in Grenoble we are running a working group on Julia with the aim to share knowledge on the language and get newcomers started. Anybody interested is welcome. Cheers

---

## [What do you think about the programming language NIM?](https://discourse.julialang.org/t/what-do-you-think-about-the-programming-language-nim/18369)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 27\
**Last updated:** [August 24, 2020, 9:31am UTC](https://discourse.julialang.org/t/what-do-you-think-about-the-programming-language-nim/18369 "2020-08-24T09:31:00Z")

</div>

While looking for different benchmarks I’ve found It’s supposed to be faster than Julia for many operations, though it doesn’t have so many libraries: https://forum.nim-lang.org/t/3388

---

## [Can't Use Juno in Atom](https://discourse.julialang.org/t/cant-use-juno-in-atom/45442)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 8:30am UTC](https://discourse.julialang.org/t/cant-use-juno-in-atom/45442 "2020-08-24T08:30:35Z")

</div>

As you can see from this screenshot, I do not have Juno on my toolbar, so I can’t open my REPL. I tried to reinstall uber-juno, and the Atom app, but none of these worked. What else should I do?

---

## [Using\_merge.jl](https://discourse.julialang.org/t/using-merge-jl/45429)

<div class="topic-metadata">

**Author:** [@Jean\_Michel](https://discourse.julialang.org/u/Jean_Michel)\
**Replies:** 3\
**Last updated:** [August 24, 2020, 7:38am UTC](https://discourse.julialang.org/t/using-merge-jl/45429 "2020-08-24T07:38:40Z")

</div>

using\_merge.jl The wish for this started in this thread. At the time I was very new to Julia and did not think I could do anything myself about the problem. Now two years later, knowing better Julia, I realized …

---

## [Pass through function name to different type](https://discourse.julialang.org/t/pass-through-function-name-to-different-type/45437)

<div class="topic-metadata">

**Author:** [@mopg](https://discourse.julialang.org/u/mopg)\
**Replies:** 10\
**Last updated:** [August 24, 2020, 6:37am UTC](https://discourse.julialang.org/t/pass-through-function-name-to-different-type/45437 "2020-08-24T06:37:31Z")

</div>

I am making a type that holds another type as one of its fields, like so struct A a::Float64 end f(a::A, x::Real) = A.a \* x # plus whole other bunch of functions with similar arguments g(a::A, x::Real) = ... h(a::A…

---

## [Error in legend](https://discourse.julialang.org/t/error-in-legend/45156)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [August 24, 2020, 12:56am UTC](https://discourse.julialang.org/t/error-in-legend/45156 "2020-08-24T00:56:21Z")

</div>

Dear all, I have a litte problem in plot a graph using a layout: I would like each legend in each graph, but this not happen, as we can see: using DifferentialEquations using Plots plotly() function SIR!(du,u,p,t) …

---

## [Method Error when using solve in DifferentialEquations.jl](https://discourse.julialang.org/t/method-error-when-using-solve-in-differentialequations-jl/45435)

<div class="topic-metadata">

**Author:** [@anon22248738](https://discourse.julialang.org/u/anon22248738)\
**Replies:** 7\
**Last updated:** [August 24, 2020, 12:51am UTC](https://discourse.julialang.org/t/method-error-when-using-solve-in-differentialequations-jl/45435 "2020-08-24T00:51:04Z")

</div>

I’m working through the first example in the Ordinary Differential Equations section of DifferentialEquations.jl documentation, and when I call solve(prob,Tsit5(),reltol=1e-8,abstol=1e-8), I get MethodError: no method m…

---

## [DataFrame Row Indexing and Transaction Data Aggregation](https://discourse.julialang.org/t/dataframe-row-indexing-and-transaction-data-aggregation/44942)

<div class="topic-metadata">

**Author:** [@RodBiren](https://discourse.julialang.org/u/RodBiren)\
**Replies:** 12\
**Last updated:** [August 24, 2020, 12:28am UTC](https://discourse.julialang.org/t/dataframe-row-indexing-and-transaction-data-aggregation/44942 "2020-08-24T00:28:32Z")

</div>

Hello, Still learning the language, but I am excited to do some processing of financial data that I have not been pleased with doing in excel. I have a DataFrame of transaction data in the form of: 38838×7 DataFrame │…

---

## [Training gets differents results when using Flux.train() inside function](https://discourse.julialang.org/t/training-gets-differents-results-when-using-flux-train-inside-function/45284)

<div class="topic-metadata">

**Author:** [@german\_brunini](https://discourse.julialang.org/u/german_brunini)\
**Replies:** 2\
**Last updated:** [August 23, 2020, 11:01pm UTC](https://discourse.julialang.org/t/training-gets-differents-results-when-using-flux-train-inside-function/45284 "2020-08-23T23:01:36Z")

</div>

I am training a NN with some synthetic data. I was running everything on REPL and things were going on the right direction, but when I tried to wrap my code inside a function() to use custom training loops, my model(x) …

---

## [ERROR: LoadError: MethodError: no method matching isless(::String, ::Int64)](https://discourse.julialang.org/t/error-loaderror-methoderror-no-method-matching-isless-string-int64/45408)

<div class="topic-metadata">

**Author:** [@mamo](https://discourse.julialang.org/u/mamo)\
**Replies:** 3\
**Last updated:** [August 23, 2020, 10:24pm UTC](https://discourse.julialang.org/t/error-loaderror-methoderror-no-method-matching-isless-string-int64/45408 "2020-08-23T22:24:26Z")

</div>

Send me please your opinion related to the error I received. Thanks! ERROR: LoadError: MethodError: no method matching isless(::String, ::Int64) Closest candidates are: isless(::Missing, ::Any) at missing.jl:87 isl…

---

## [CUDA Speed drop](https://discourse.julialang.org/t/cuda-speed-drop/45412)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 8:28pm UTC](https://discourse.julialang.org/t/cuda-speed-drop/45412 "2020-08-23T20:28:22Z")

</div>

Hey, I found this interesting phenomenon, can anyone explain the situation? using BenchmarkTools BenchmarkTools.DEFAULT\_PARAMETERS.seconds = 2.50 using CUDA arit100(x::AbstractArray, y::AbstractArray) = for i=1:100 x …

---

## [Can I configure the Julia VSCode extension to send code to an external terminal window?](https://discourse.julialang.org/t/can-i-configure-the-julia-vscode-extension-to-send-code-to-an-external-terminal-window/45428)

<div class="topic-metadata">

**Author:** [@pjentsch0](https://discourse.julialang.org/u/pjentsch0)\
**Replies:** 1\
**Last updated:** [August 23, 2020, 8:06pm UTC](https://discourse.julialang.org/t/can-i-configure-the-julia-vscode-extension-to-send-code-to-an-external-terminal-window/45428 "2020-08-23T20:06:46Z")

</div>

I really like the VSCode extension but prefer to use an external terminal running julia as my REPL. Is it possible to tell VSCode to send code to that terminal when I do “run code” (for instance)?

---

## [Help correcting REPL character display](https://discourse.julialang.org/t/help-correcting-repl-character-display/45400)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 7\
**Last updated:** [August 23, 2020, 8:01pm UTC](https://discourse.julialang.org/t/help-correcting-repl-character-display/45400 "2020-08-23T20:01:01Z")

</div>

Does anybody have any suggestions on what to do to get this to display better/correctly? This is what things look like when I’m on my HPC cluster. Unfortunately, that means I likely have limited control to do much to fix…

---

## [Is it possible to start VS code with Julia repl running?](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 5\
**Last updated:** [August 23, 2020, 7:20pm UTC](https://discourse.julialang.org/t/is-it-possible-to-start-vs-code-with-julia-repl-running/45389 "2020-08-23T19:20:58Z")

</div>

As it says in the subject line.

---

## [\[ANN\] ConvergencePlots - live tracking of algorithm convergence metrics](https://discourse.julialang.org/t/ann-convergenceplots-live-tracking-of-algorithm-convergence-metrics/45419)

<div class="topic-metadata">

**Author:** [@mohamed82008](https://discourse.julialang.org/u/mohamed82008)\
**Replies:** 1\
**Last updated:** [August 23, 2020, 6:08pm UTC](https://discourse.julialang.org/t/ann-convergenceplots-live-tracking-of-algorithm-convergence-metrics/45419 "2020-08-23T18:08:45Z")

</div>

Hi, I would like to announce a little package I put together recently that I found useful in my work. ConvergencePlots.jl lets you easily keep track of some convergence metrics for your algorithm using 2 lines of code o…

---

## [Saving a VPTree with JLD](https://discourse.julialang.org/t/saving-a-vptree-with-jld/45425)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 5:52pm UTC](https://discourse.julialang.org/t/saving-a-vptree-with-jld/45425 "2020-08-23T17:52:34Z")

</div>

I have some code that builds a number of VPTrees via VPTrees.jl and the building of these trees takes a long time. I’d like to be able to simply load a pre-built tree into a new session rather than having to re-build the…

---

## [@replacena not working with variables as replacement value](https://discourse.julialang.org/t/replacena-not-working-with-variables-as-replacement-value/45401)

<div class="topic-metadata">

**Author:** [@TheRoniOne](https://discourse.julialang.org/u/TheRoniOne)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 5:18pm UTC](https://discourse.julialang.org/t/replacena-not-working-with-variables-as-replacement-value/45401 "2020-08-23T17:18:25Z")

</div>

Hi, was trying to practice some simple data cleaning with Query.jl modifying a bit an example of the documentation. What I intended to do was to replace all the missing values in a column with the mean of that column. …

---

## [Shared Sparse Arrays?](https://discourse.julialang.org/t/shared-sparse-arrays/45420)

<div class="topic-metadata">

**Author:** [@anon92994695](https://discourse.julialang.org/u/anon92994695)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 4:09pm UTC](https://discourse.julialang.org/t/shared-sparse-arrays/45420 "2020-08-23T16:09:03Z")

</div>

Wasn’t sure if this should be in performance or first steps so feel free to relocate it. Are there any current/recommended implementations that handle altering sparse arrays in a parallel loop? I did some searches and d…

---

## [Parser deprecation warning](https://discourse.julialang.org/t/parser-deprecation-warning/45416)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 4:05pm UTC](https://discourse.julialang.org/t/parser-deprecation-warning/45416 "2020-08-23T16:05:07Z")

</div>

I’m trying to implement a deprecation warning in the parser. I think I’ve found the function to do it with, parser-depwarn. But it doesn’t appear to emit anything to the REPL. If I replace it with an error call, the erro…

---

## [Question about optimal number of clusters](https://discourse.julialang.org/t/question-about-optimal-number-of-clusters/45418)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 3\
**Last updated:** [August 23, 2020, 3:24pm UTC](https://discourse.julialang.org/t/question-about-optimal-number-of-clusters/45418 "2020-08-23T15:24:02Z")

</div>

As is known to all, clustering is a kind of unsupervised learning method, including k-means, DBSCAN, etc., where the class number of clustering “K” needs to be set in advance. There are many ways to estimate the best “k…

---

## [Performance Issues - Rayleigh Compressible](https://discourse.julialang.org/t/performance-issues-rayleigh-compressible/45397)

<div class="topic-metadata">

**Author:** [@axsano](https://discourse.julialang.org/u/axsano)\
**Replies:** 3\
**Last updated:** [August 23, 2020, 3:20pm UTC](https://discourse.julialang.org/t/performance-issues-rayleigh-compressible/45397 "2020-08-23T15:20:53Z")

</div>

I have this function called Rayleigh Compressible that is used to perform analysis of fluid flow stability, using LinearAlgebra function rayleighc(Ω, U, M, dU, D, D2) Λ = zeros(ComplexF64, 3\*size(D, 1), length(Ω));…

---

## [Tracking a 'project environment' including a ./dev sub-directory on Git](https://discourse.julialang.org/t/tracking-a-project-environment-including-a-dev-sub-directory-on-git/45395)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 4\
**Last updated:** [August 23, 2020, 2:56pm UTC](https://discourse.julialang.org/t/tracking-a-project-environment-including-a-dev-sub-directory-on-git/45395 "2020-08-23T14:56:00Z")

</div>

I would like to be able to have a project evironment where I can call pkg\> activate . in the top level to maintain environment for messing with stuff. pkg\> develop --local some package to work on whatever features ne…

---

## [Stack and unstack in Query.jl](https://discourse.julialang.org/t/stack-and-unstack-in-query-jl/45381)

<div class="topic-metadata">

**Author:** [@tnederlof](https://discourse.julialang.org/u/tnederlof)\
**Replies:** 5\
**Last updated:** [August 23, 2020, 2:55pm UTC](https://discourse.julialang.org/t/stack-and-unstack-in-query-jl/45381 "2020-08-23T14:55:14Z")

</div>

Something I used a lot when I am in the R/Tidyverse world is spread and gather from tidyr most of which I can replicate using stack and unstack in DataFrames.jl. Within Query.jl is there a way to accomplish this? If not …

---

## [Int vector to CarthesianIndex](https://discourse.julialang.org/t/int-vector-to-carthesianindex/45417)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 3\
**Last updated:** [August 23, 2020, 2:50pm UTC](https://discourse.julialang.org/t/int-vector-to-carthesianindex/45417 "2020-08-23T14:50:02Z")

</div>

Dear all, I would like to ask whether there is some way, how to transform a vector of Int64s to CarthesianIndex object. Naive approach: r = collect(1:5) CartesianIndex( r ) failed me, and I don’t know how to proceed…

---

## [Error while trying to replicate a logistic regression problem using FluxML](https://discourse.julialang.org/t/error-while-trying-to-replicate-a-logistic-regression-problem-using-fluxml/26408)

<div class="topic-metadata">

**Author:** [@richie96](https://discourse.julialang.org/u/richie96)\
**Replies:** 5\
**Last updated:** [August 23, 2020, 1:31pm UTC](https://discourse.julialang.org/t/error-while-trying-to-replicate-a-logistic-regression-problem-using-fluxml/26408 "2020-08-23T13:31:03Z")

</div>

Hi, I have been trying to replicate the code from the following link to understand how to use ML in Julia better https://akaysh.github.io/Logistic-Regression-with-Julia/ While replicating I realized that when I ran th…

---

## [Dealing with missing values in DataFrame (again)](https://discourse.julialang.org/t/dealing-with-missing-values-in-dataframe-again/45373)

<div class="topic-metadata">

**Author:** [@gaspardelanuit](https://discourse.julialang.org/u/gaspardelanuit)\
**Replies:** 5\
**Last updated:** [August 23, 2020, 12:51pm UTC](https://discourse.julialang.org/t/dealing-with-missing-values-in-dataframe-again/45373 "2020-08-23T12:51:54Z")

</div>

I am wondering if there has been progress on the usability of the missing interface. I am trying to write most of my R commands into Julia step by step to build a guide that would have interested people switch over easi…

---

## [Publish packages without complete commit history](https://discourse.julialang.org/t/publish-packages-without-complete-commit-history/45407)

<div class="topic-metadata">

**Author:** [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Replies:** 9\
**Last updated:** [August 23, 2020, 12:43pm UTC](https://discourse.julialang.org/t/publish-packages-without-complete-commit-history/45407 "2020-08-23T12:43:46Z")

</div>

First the question itself: is there a way, currently existing or planned, to publish/register a package without making the whole commit history available to everyone? Basically, something like pypi does: it only uploads …

---

## [Jlrs 0.6: Support for Julia 1.5, many new builtin types, massively extended support for accessing data from Rust, automatically generate valid Rust structs from Julia structs](https://discourse.julialang.org/t/jlrs-0-6-support-for-julia-1-5-many-new-builtin-types-massively-extended-support-for-accessing-data-from-rust-automatically-generate-valid-rust-structs-from-julia-structs/45413)

<div class="topic-metadata">

**Author:** [@Taaitaaiger](https://discourse.julialang.org/u/Taaitaaiger)\
**Replies:** 0\
**Last updated:** [August 23, 2020, 11:39am UTC](https://discourse.julialang.org/t/jlrs-0-6-support-for-julia-1-5-many-new-builtin-types-massively-extended-support-for-accessing-data-from-rust-automatically-generate-valid-rust-structs-from-julia-structs/45413 "2020-08-23T11:39:49Z")

</div>

A few weeks ago Julia 1.5 was released. In this version the layout of structs was changed, before any struct with pointer fields couldn’t be stored inline but had to be hidden behind a pointer (a Value in jlrs). Now, imm…

---

## [One-sided ranges in array indexes](https://discourse.julialang.org/t/one-sided-ranges-in-array-indexes/45336)

<div class="topic-metadata">

**Author:** [@derikk](https://discourse.julialang.org/u/derikk)\
**Replies:** 11\
**Last updated:** [August 23, 2020, 11:12am UTC](https://discourse.julialang.org/t/one-sided-ranges-in-array-indexes/45336 "2020-08-23T11:12:40Z")

</div>

Suppose I have an array a = \[1, 2, 3, 4, 5\]. I can index into it at a single value: a\[2\] == 2. I can index it with a range: a\[2:4\] == \[2, 3, 4\]. I can even get the whole array back with a\[:\] == a. Where this pattern br…

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

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