# Latest

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

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

**Page:** 1585

---

## [How can switch between two Julia versions using VS Code?](https://discourse.julialang.org/t/how-can-switch-between-two-julia-versions-using-vs-code/49472)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 7:33pm UTC](https://discourse.julialang.org/t/how-can-switch-between-two-julia-versions-using-vs-code/49472 "2020-11-02T19:33:22Z")

</div>

I have versions v1.5 and v1.6 installed and VS Code. I would like to benchmark both versions. How can I quickly switch between them without needing to reconfigure the path every time? Ideally I would like to be able t…

---

## [(Re)-installation of packages when changing Julia versions?](https://discourse.julialang.org/t/re-installation-of-packages-when-changing-julia-versions/49473)

<div class="topic-metadata">

**Author:** [@Juan](https://discourse.julialang.org/u/Juan)\
**Replies:** 9\
**Last updated:** [November 2, 2020, 6:53pm UTC](https://discourse.julialang.org/t/re-installation-of-packages-when-changing-julia-versions/49473 "2020-11-02T18:53:06Z")

</div>

If we install the 1.6 development version and later want to upgrade to the upcoming final 1.6 version… Will we need to reinstall all packages again?

---

## [Can an earlier version of CUDA.jl work with CUDA6.5?](https://discourse.julialang.org/t/can-an-earlier-version-of-cuda-jl-work-with-cuda6-5/49374)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 6:53pm UTC](https://discourse.julialang.org/t/can-an-earlier-version-of-cuda-jl-work-with-cuda6-5/49374 "2020-11-02T18:53:30Z")

</div>

I have hardware (and associated driver) that can only work with CUDA 6.5 The installation instructions for CUDA.jl state that CUDA 10.1 is required for the current version, but that earlier versions may work with earlie…

---

## [Defining : name 'BenchmarkToools' - how?](https://discourse.julialang.org/t/defining-name-benchmarktoools-how/49428)

<div class="topic-metadata">

**Author:** [@teriiju](https://discourse.julialang.org/u/teriiju)\
**Replies:** 13\
**Last updated:** [November 2, 2020, 6:48pm UTC](https://discourse.julialang.org/t/defining-name-benchmarktoools-how/49428 "2020-11-02T18:48:10Z")

</div>

Hi, newbie trying to understand how to define the ‘BenchmarkToools’ ? I installed ‘BenchmarkToools’ with using/add Pkg. now in jupyter notebook : getting msg: NameError: name ‘BenchmarkToools’ is not defined So does…

---

## [Dropping rows from DataFrame](https://discourse.julialang.org/t/dropping-rows-from-dataframe/49469)

<div class="topic-metadata">

**Author:** [@alunap](https://discourse.julialang.org/u/alunap)\
**Replies:** 12\
**Last updated:** [November 2, 2020, 6:40pm UTC](https://discourse.julialang.org/t/dropping-rows-from-dataframe/49469 "2020-11-02T18:40:42Z")

</div>

I have a DataFrame read in from a json file, and the first step it to select just a few columns and then strip out any rows where one of the columns (a string) starts with ‘\<’. I have tried a couple of things, ultimately…

---

## [Parameters.jl usage: group variables to reduce number of inputs to function](https://discourse.julialang.org/t/parameters-jl-usage-group-variables-to-reduce-number-of-inputs-to-function/48782)

<div class="topic-metadata">

**Author:** [@dalarev](https://discourse.julialang.org/u/dalarev)\
**Replies:** 16\
**Last updated:** [November 2, 2020, 6:27pm UTC](https://discourse.julialang.org/t/parameters-jl-usage-group-variables-to-reduce-number-of-inputs-to-function/48782 "2020-11-02T18:27:01Z")

</div>

I am looking at Parameters.jl to reduce the number of inputs to some functions. How do I add an already-defined parameter to a parameter struct? For context, one of my functions requires many constants as input: N1, N2…

---

## [Problem using MLJ and Multiclass scitypes](https://discourse.julialang.org/t/problem-using-mlj-and-multiclass-scitypes/49412)

<div class="topic-metadata">

**Author:** [@dmolina](https://discourse.julialang.org/u/dmolina)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 5:23pm UTC](https://discourse.julialang.org/t/problem-using-mlj-and-multiclass-scitypes/49412 "2020-11-02T17:23:05Z")

</div>

Hello everyone, I am teaching a course using Scikit-Learn, and I wanted to translate my materials to MLJ (for a possible future :slight\_smile: ), but I am having many problems. I am using MLJ#dev. First, I have a dataf…

---

## [Blog post on compiling R for new Apple ARM-based computers](https://discourse.julialang.org/t/blog-post-on-compiling-r-for-new-apple-arm-based-computers/49462)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 5:07pm UTC](https://discourse.julialang.org/t/blog-post-on-compiling-r-for-new-apple-arm-based-computers/49462 "2020-11-02T17:07:47Z")

</div>

https://developer.r-project.org/Blog/public/2020/11/02/will-r-work-on-apple-silicon/ For those not familiar with the internals of R, much of the discussion is about ensuring that the missing data value, NA, for floating…

---

## [How can I force Pkg ( and LibGit2 ) to ignore SSL Verification (sslVerify)?](https://discourse.julialang.org/t/how-can-i-force-pkg-and-libgit2-to-ignore-ssl-verification-sslverify/25306)

<div class="topic-metadata">

**Author:** [@aussetg](https://discourse.julialang.org/u/aussetg)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 4:39pm UTC](https://discourse.julialang.org/t/how-can-i-force-pkg-and-libgit2-to-ignore-ssl-verification-sslverify/25306 "2020-11-02T16:39:15Z")

</div>

Hi, I’m behind a corporate proxy and SSL Verifications fail ( because they are MITMed ). Outside of Julia I can clone by using the corporate proxy and specifying sslVerify = false in .gitconfig. But apparently LibGit2 …

---

## [Dot Macro Broadcasting and complex values](https://discourse.julialang.org/t/dot-macro-broadcasting-and-complex-values/49448)

<div class="topic-metadata">

**Author:** [@ceysa75](https://discourse.julialang.org/u/ceysa75)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 4:01pm UTC](https://discourse.julialang.org/t/dot-macro-broadcasting-and-complex-values/49448 "2020-11-02T16:01:06Z")

</div>

Dear Julians, I observed some inconsistent behavior with the @. dot macro which drove me mad in the last hours. Please see my code below. using FFTW fs = 16.0 dt = 1.0/fs N = 1024 t = 0:dt:(N-1)\*dt y = zeros(Float64, N…

---

## [How do I find which module exported a given method or variable?](https://discourse.julialang.org/t/how-do-i-find-which-module-exported-a-given-method-or-variable/49422)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 5\
**Last updated:** [November 2, 2020, 3:28pm UTC](https://discourse.julialang.org/t/how-do-i-find-which-module-exported-a-given-method-or-variable/49422 "2020-11-02T15:28:47Z")

</div>

How do I find which module exported a given method or variable? Background: I have a script MyScript.jl which works I made MyModule that encapsulates some of it’s functions, and call them from MyScript2.jl MyModule.…

---

## [Character sequence for a unicode character](https://discourse.julialang.org/t/character-sequence-for-a-unicode-character/49452)

<div class="topic-metadata">

**Author:** [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Replies:** 7\
**Last updated:** [November 2, 2020, 3:03pm UTC](https://discourse.julialang.org/t/character-sequence-for-a-unicode-character/49452 "2020-11-02T15:03:15Z")

</div>

I’d like to get the keyboard input needed to write a unicode symbol. Alternatively, getting the help output of the symbol would be just as good. That is, for 𝒜 help?\> 𝒜 "𝒜" can be typed by \\scrA\<tab\> ... I’d like to ge…

---

## [Fault tolerant \`pmap\` when worker goes down](https://discourse.julialang.org/t/fault-tolerant-pmap-when-worker-goes-down/21648)

<div class="topic-metadata">

**Author:** [@mauro3](https://discourse.julialang.org/u/mauro3)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 2:28pm UTC](https://discourse.julialang.org/t/fault-tolerant-pmap-when-worker-goes-down/21648 "2020-11-02T14:28:41Z")

</div>

Is there a way to make pmap fault tolerant to procs going down? This example shows that the on\_error option does not capture this: julia\> using Distributed …

---

## [CategoricalTimeSeries.jl](https://discourse.julialang.org/t/categoricaltimeseries-jl/49458)

<div class="topic-metadata">

**Author:** [@Johncowk](https://discourse.julialang.org/u/Johncowk)\
**Replies:** 0\
**Last updated:** [November 2, 2020, 1:20pm UTC](https://discourse.julialang.org/t/categoricaltimeseries-jl/49458 "2020-11-02T13:20:57Z")

</div>

Hi! When dealing with time-series of categorical data, basic quantities like mean value or variance are undifined (How to find the mean of \["cat", "dog", "cat", "cat, "dog"\] ?). Concepts like stationnarity or correlatio…

---

## [Mosek doesnt add its generated cuts](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457)

<div class="topic-metadata">

**Author:** [@hassanis](https://discourse.julialang.org/u/hassanis)\
**Replies:** 1\
**Last updated:** [November 2, 2020, 1:29pm UTC](https://discourse.julialang.org/t/mosek-doesnt-add-its-generated-cuts/49457 "2020-11-02T13:29:50Z")

</div>

Hello, I’m working on a problem using Mosektools & JUMP. It seems that after running it heuristics and cut generation at the root node, it fails to add them to the problem. As you can see in the output below, the relaxa…

---

## [Problem with using in Submodules](https://discourse.julialang.org/t/problem-with-using-in-submodules/42321)

<div class="topic-metadata">

**Author:** [@Isaia\_Nisoli](https://discourse.julialang.org/u/Isaia_Nisoli)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 1:19pm UTC](https://discourse.julialang.org/t/problem-with-using-in-submodules/42321 "2020-11-02T13:19:15Z")

</div>

Dear all, I have a problem with modules. I have a file with module Root include("Branch.jl") include("OtherBranch.jl") include("Stalk.jl") using .Branch, .OtherBranch, .Stalk end Now, in OtherBranch.jl I need some…

---

## [Define data-dependent function, various ways](https://discourse.julialang.org/t/define-data-dependent-function-various-ways/48988)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 34\
**Last updated:** [November 2, 2020, 1:14pm UTC](https://discourse.julialang.org/t/define-data-dependent-function-various-ways/48988 "2020-11-02T13:14:50Z")

</div>

This is a topic that is frequently raised here (I have asked this before). The problem is that of defining a function that will be input as a parameter for a solver, but the function depends on data while the function ca…

---

## [Regression implementation using FixedEffectModels.jl, InteractiveFixedEffectModels.jl, GLFixedEffectModels.jl packages](https://discourse.julialang.org/t/regression-implementation-using-fixedeffectmodels-jl-interactivefixedeffectmodels-jl-glfixedeffectmodels-jl-packages/49036)

<div class="topic-metadata">

**Author:** [@Antonina\_Klyuyeva](https://discourse.julialang.org/u/Antonina_Klyuyeva)\
**Replies:** 18\
**Last updated:** [November 2, 2020, 12:10pm UTC](https://discourse.julialang.org/t/regression-implementation-using-fixedeffectmodels-jl-interactivefixedeffectmodels-jl-glfixedeffectmodels-jl-packages/49036 "2020-11-02T12:10:05Z")

</div>

Hi guys, I need to implement a regression like Y ~ A : B : C or Y ~ A : B\_C where main effects are missing, in interactions A - numeric variable, B and C - categorical variables (factors)) or in the second case - va…

---

## [Distributed Simulations](https://discourse.julialang.org/t/distributed-simulations/49098)

<div class="topic-metadata">

**Author:** [@hyacykcharel](https://discourse.julialang.org/u/hyacykcharel)\
**Replies:** 1\
**Last updated:** [November 2, 2020, 12:04pm UTC](https://discourse.julialang.org/t/distributed-simulations/49098 "2020-11-02T12:04:47Z")

</div>

Hello! I’m trying to parallelize this jacobi code but it is not working, can someone help me, please? using Distributed addprocs(2) @everywhere using LinearAlgebra @everywhere using DistributedArrays @everywhere n=5 @e…

---

## [Can't start Julia through Juno](https://discourse.julialang.org/t/cant-start-julia-through-juno/47808)

<div class="topic-metadata">

**Author:** [@econphd](https://discourse.julialang.org/u/econphd)\
**Replies:** 6\
**Last updated:** [November 2, 2020, 11:55am UTC](https://discourse.julialang.org/t/cant-start-julia-through-juno/47808 "2020-11-02T11:55:52Z")

</div>

I can’t start Julia through Juno. I uninstalled, reinstalled, tried out different version of Julia, changed the path and nothing worked so far. Could please anyone give me an advice? Thank you!

---

## [Having a submodule import a top-level module](https://discourse.julialang.org/t/having-a-submodule-import-a-top-level-module/48266)

<div class="topic-metadata">

**Author:** [@jonathan-laurent](https://discourse.julialang.org/u/jonathan-laurent)\
**Replies:** 3\
**Last updated:** [November 2, 2020, 11:34am UTC](https://discourse.julialang.org/t/having-a-submodule-import-a-top-level-module/48266 "2020-11-02T11:34:47Z")

</div>

After experimenting a bit with the module system, I found that it was possible to write code as the following: module TestPackage export x, y x = 0 module Sub using TestPackage z = x # z = y # error! …

---

## [PGFPlotsX.jl to LaTeX](https://discourse.julialang.org/t/pgfplotsx-jl-to-latex/49449)

<div class="topic-metadata">

**Author:** [@IljaK91](https://discourse.julialang.org/u/IljaK91)\
**Replies:** 4\
**Last updated:** [November 2, 2020, 11:31am UTC](https://discourse.julialang.org/t/pgfplotsx-jl-to-latex/49449 "2020-11-02T11:31:19Z")

</div>

Hi everyone, I am want to try using PGFPlotsX.jl via Plots.jl to export .tex files that are to be included in my LyX document. But if I try to use \\input{myplot.tex} in my file, I get the following error messages: I …

---

## [Gadfly histogram binwidth](https://discourse.julialang.org/t/gadfly-histogram-binwidth/49450)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 1\
**Last updated:** [November 2, 2020, 11:23am UTC](https://discourse.julialang.org/t/gadfly-histogram-binwidth/49450 "2020-11-02T11:23:26Z")

</div>

How can I specify the binwidth in a Gadfly histogram? I don’t see it in the docs.

---

## [What's wrong with this macro?](https://discourse.julialang.org/t/whats-wrong-with-this-macro/49419)

<div class="topic-metadata">

**Author:** [@giancarloantonucci](https://discourse.julialang.org/u/giancarloantonucci)\
**Replies:** 8\
**Last updated:** [November 2, 2020, 10:46am UTC](https://discourse.julialang.org/t/whats-wrong-with-this-macro/49419 "2020-11-02T10:46:44Z")

</div>

In theory, I have a macro that allows me to interpret @← a = f(b...) as either f!(a, b...) or a = f(b...) depending on whether f! is defined or not. My attempt at writing such a macro is macro ←(input) # expre…

---

## [\[ANN\] DiskArrays.jl](https://discourse.julialang.org/t/ann-diskarrays-jl/34119)

<div class="topic-metadata">

**Author:** [@fabiangans](https://discourse.julialang.org/u/fabiangans)\
**Replies:** 3\
**Last updated:** [November 2, 2020, 10:41am UTC](https://discourse.julialang.org/t/ann-diskarrays-jl/34119 "2020-11-02T10:41:39Z")

</div>

As already discussed here I worked on a package that would make it easier to use AbstractArrays that map to chunked data on disk. The package provides an AbstractDiskArray which you can subtype to get efficient indexing…

---

## [Is there a way to check Sobol parameters Confidence interval (CI)?](https://discourse.julialang.org/t/is-there-a-way-to-check-sobol-parameters-confidence-interval-ci/26692)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 7\
**Last updated:** [November 2, 2020, 8:46am UTC](https://discourse.julialang.org/t/is-there-a-way-to-check-sobol-parameters-confidence-interval-ci/26692 "2020-11-02T08:46:04Z")

</div>

Hi, Running sobol\_sensitivity in DiffEqSensitivity gives some negative values - even while useing the equation ind documents. function f(du,u,p,t) du\[1\] = p\[1\]\*u\[1\] - p\[2\]\*u\[1\]\*u\[2\] du\[2\] = -3\*u\[2\] + u\[1\]\*u\[2\] end…

---

## [Music Generation with Char\_rnn](https://discourse.julialang.org/t/music-generation-with-char-rnn/49442)

<div class="topic-metadata">

**Author:** [@Ashwani\_Rathee](https://discourse.julialang.org/u/Ashwani_Rathee)\
**Replies:** 0\
**Last updated:** [November 2, 2020, 7:31am UTC](https://discourse.julialang.org/t/music-generation-with-char-rnn/49442 "2020-11-02T07:31:53Z")

</div>

Hey,Anyone tried their hands with music generation with ABC Notation using Char-RNN based on Andrej-Karparthy original code which has been ported to Julia??

---

## [Extract floating point number from .png image](https://discourse.julialang.org/t/extract-floating-point-number-from-png-image/49436)

<div class="topic-metadata">

**Author:** [@colintbowers](https://discourse.julialang.org/u/colintbowers)\
**Replies:** 2\
**Last updated:** [November 2, 2020, 5:03am UTC](https://discourse.julialang.org/t/extract-floating-point-number-from-png-image/49436 "2020-11-02T05:03:14Z")

</div>

Hi all, I’ve got a .png file (actually lots of them) that contain lots of numbers that are expressed like floating points, e.g. “32.34”. I’d like to get those numbers. I’ve been reading the docs for JuliaImages and I su…

---

## [When Julia gets within 1-3x of C/C++ speed, why is C/C++ usually faster?](https://discourse.julialang.org/t/when-julia-gets-within-1-3x-of-c-c-speed-why-is-c-c-usually-faster/49341)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 11\
**Last updated:** [November 2, 2020, 4:58am UTC](https://discourse.julialang.org/t/when-julia-gets-within-1-3x-of-c-c-speed-why-is-c-c-usually-faster/49341 "2020-11-02T04:58:47Z")

</div>

A notion that I’m getting from blogs and published papers comparing Julia with other languages in practical use cases is that Julia gets within 1-3x of the speed of the fastest implementation in C/C++ (though it’s worth …

---

## [Updating to v1.5](https://discourse.julialang.org/t/updating-to-v1-5/49434)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 3\
**Last updated:** [November 2, 2020, 4:37am UTC](https://discourse.julialang.org/t/updating-to-v1-5/49434 "2020-11-02T04:37:44Z")

</div>

How do I update to v1.5. Do I go through the REPL, or do I need to install a new software package? I’m currently using Windows 10(I can look up the version numbers if need be).

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

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