# Latest

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

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

**Page:** 1901

---

## [ANN: TaskMaster.jl](https://discourse.julialang.org/t/ann-taskmaster-jl/29676)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 1\
**Last updated:** [October 17, 2019, 6:18am UTC](https://discourse.julialang.org/t/ann-taskmaster-jl/29676 "2019-10-17T06:18:19Z")

</div>

Hello everyone! I am thrilled to announce a package TaskMaster.jl a package which makes writing parallel feedback loops fun :partying\_face:. I started to develop it as a wrapper when my Python colleagues were releasing …

---

## [Package not being added](https://discourse.julialang.org/t/package-not-being-added/30010)

<div class="topic-metadata">

**Author:** [@Ayush\_Jha](https://discourse.julialang.org/u/Ayush_Jha)\
**Replies:** 1\
**Last updated:** [October 17, 2019, 6:16am UTC](https://discourse.julialang.org/t/package-not-being-added/30010 "2019-10-17T06:16:46Z")

</div>

Hi all, I am new to julia and am struggling with adding the Quandl API package. I’ve tried the standard Pkg.add(“Quandl”), the \] add with the github link, removing the general registries but all of them end up with thi…

---

## [Did SymPy change the syntax?](https://discourse.julialang.org/t/did-sympy-change-the-syntax/30007)

<div class="topic-metadata">

**Author:** [@marouane](https://discourse.julialang.org/u/marouane)\
**Replies:** 1\
**Last updated:** [October 17, 2019, 4:36am UTC](https://discourse.julialang.org/t/did-sympy-change-the-syntax/30007 "2019-10-17T04:36:39Z")

</div>

i have this function where i’m using PyCall and SymPy: using SymPy using PyCall function op\_mat(op) op = op\[:as\_poly\](domain="C") # return the input as a polynom op\_a = op.x\[:gens\] # give us the genera…

---

## [Custom RNN with Flux gives an error with Flux.train!](https://discourse.julialang.org/t/custom-rnn-with-flux-gives-an-error-with-flux-train/30008)

<div class="topic-metadata">

**Author:** [@KK\_JuliaNoob](https://discourse.julialang.org/u/KK_JuliaNoob)\
**Replies:** 0\
**Last updated:** [October 17, 2019, 3:56am UTC](https://discourse.julialang.org/t/custom-rnn-with-flux-gives-an-error-with-flux-train/30008 "2019-10-17T03:56:09Z")

</div>

I am making a custom RNN layer based on the code in recurrent.jl in the Flux code base. However, when I try to train the model using the task given in the character rnn model zoo example (char-rnn.jl), I get an error sa…

---

## [Stuck at starting/restarting kernel in jupyterlab](https://discourse.julialang.org/t/stuck-at-starting-restarting-kernel-in-jupyterlab/29991)

<div class="topic-metadata">

**Author:** [@watanabexia](https://discourse.julialang.org/u/watanabexia)\
**Replies:** 2\
**Last updated:** [October 17, 2019, 12:00am UTC](https://discourse.julialang.org/t/stuck-at-starting-restarting-kernel-in-jupyterlab/29991 "2019-10-17T00:00:34Z")

</div>

I can still use julia 1.2.0 kernel on JupyterLab this morning. When I take my laptop back home, the kernel stuck at starting/restarting like this: The kernel keeps starting or restarting, and I can’t execute any code…

---

## [When is the signature of a method is a UnionAll?](https://discourse.julialang.org/t/when-is-the-signature-of-a-method-is-a-unionall/30000)

<div class="topic-metadata">

**Author:** [@Qiyamah](https://discourse.julialang.org/u/Qiyamah)\
**Replies:** 2\
**Last updated:** [October 16, 2019, 9:22pm UTC](https://discourse.julialang.org/t/when-is-the-signature-of-a-method-is-a-unionall/30000 "2019-10-16T21:22:23Z")

</div>

let’s assume that I have a function f, and it has few methods. I want to see an example where one of those methods’ signature is UnionAll instead of Tuple? methods(f).ms\[1\].sig Is there such an example? And as my sec…

---

## [Is there a way to get a function's method signatures as data?](https://discourse.julialang.org/t/is-there-a-way-to-get-a-functions-method-signatures-as-data/21402)

<div class="topic-metadata">

**Author:** [@ninjaaron](https://discourse.julialang.org/u/ninjaaron)\
**Replies:** 3\
**Last updated:** [October 16, 2019, 9:10pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-get-a-functions-method-signatures-as-data/21402 "2019-10-16T21:10:41Z")

</div>

I would like to write something that looks at a function’s method signatures and builds a command-line interface based on that. I realize it is easy to get a function’s definition with a macro, but I don’t know if there …

---

## [Interpolation of a vector?](https://discourse.julialang.org/t/interpolation-of-a-vector/29916)

<div class="topic-metadata">

**Author:** [@nmatzke](https://discourse.julialang.org/u/nmatzke)\
**Replies:** 4\
**Last updated:** [October 16, 2019, 8:15pm UTC](https://discourse.julialang.org/t/interpolation-of-a-vector/29916 "2019-10-16T20:15:16Z")

</div>

Hi all, I have an ODE where n states evolve in time. I’d like to calculate this once, and then interpolate it at different time points to speed up other calculations. However, I can’t get DataInterpolations:LinearInter…

---

## [Global variables not visible within loops in scripts](https://discourse.julialang.org/t/global-variables-not-visible-within-loops-in-scripts/15849)

<div class="topic-metadata">

**Author:** [@David\_Ortley](https://discourse.julialang.org/u/David_Ortley)\
**Replies:** 7\
**Last updated:** [October 16, 2019, 7:26pm UTC](https://discourse.julialang.org/t/global-variables-not-visible-within-loops-in-scripts/15849 "2019-10-16T19:26:23Z")

</div>

All: If I have a simple script that sets a variable at the top level, and then tries to modify the variable from within a loop, I get an error stating that the variable is not defined: #!/usr/bin/env julia i = 0 for j…

---

## [VScode can't find reference in dev folder](https://discourse.julialang.org/t/vscode-cant-find-reference-in-dev-folder/29836)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 5\
**Last updated:** [October 16, 2019, 6:52pm UTC](https://discourse.julialang.org/t/vscode-cant-find-reference-in-dev-folder/29836 "2019-10-16T18:52:46Z")

</div>

I have a package in my dev folder that I am developing locally. Typing in using pkgname in Julia REPL works well. However, in VSCode it can’t seem to find the reference (in my context I am writing unit tests for my packa…

---

## [Building and solving a cascade of ODEs using DifferentialEquations](https://discourse.julialang.org/t/building-and-solving-a-cascade-of-odes-using-differentialequations/29963)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 5\
**Last updated:** [October 16, 2019, 6:49pm UTC](https://discourse.julialang.org/t/building-and-solving-a-cascade-of-odes-using-differentialequations/29963 "2019-10-16T18:49:49Z")

</div>

I want to build and solve a cascade of ODEs, by which term I mean that the first derivative of the k-th component of the vector x of (state) variables with respect to time t depends on x\_{k}(t) itself and on the precedin…

---

## [Julia ranking trend, TIOBE, RedMonk](https://discourse.julialang.org/t/julia-ranking-trend-tiobe-redmonk/12242)

<div class="topic-metadata">

**Author:** [@zhangliye](https://discourse.julialang.org/u/zhangliye)\
**Replies:** 81\
**Last updated:** [October 16, 2019, 6:32pm UTC](https://discourse.julialang.org/t/julia-ranking-trend-tiobe-redmonk/12242 "2019-10-16T18:32:04Z")

</div>

I collect some historical data of the Julia language ranking after it first enters Top-50 in Sep, 2016. Hope It could be helpful to understand the popularity of Julia. (Data complement and correction are welcome ) ====…

---

## [Travis CI script does not clone Project.toml of dependent packages](https://discourse.julialang.org/t/travis-ci-script-does-not-clone-project-toml-of-dependent-packages/29709)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 9\
**Last updated:** [October 16, 2019, 5:45pm UTC](https://discourse.julialang.org/t/travis-ci-script-does-not-clone-project-toml-of-dependent-packages/29709 "2019-10-16T17:45:01Z")

</div>

I have two packages developed myself. Say they are MyPkg and MySubPkg. MyPkg uses MySubPkg, and both are pushed to GitHub. Both packages have .travis.yml defined for running unit tests automatically by Travis CI when …

---

## [Julia 1.3-rc4: make test hangs on mac](https://discourse.julialang.org/t/julia-1-3-rc4-make-test-hangs-on-mac/29952)

<div class="topic-metadata">

**Author:** [@Egwene\_al\_Vere](https://discourse.julialang.org/u/Egwene_al_Vere)\
**Replies:** 2\
**Last updated:** [October 15, 2019, 10:19pm UTC](https://discourse.julialang.org/t/julia-1-3-rc4-make-test-hangs-on-mac/29952 "2019-10-15T22:19:50Z")

</div>

Building julia 1.3-rc4: I’m able to build julia (make and make install works), but make test hangs for ~1 hr; comparing with the official builder’s testing log here, looks like my test hangs before Executing tests that r…

---

## [Soss relating to the broader PPL ecosystem](https://discourse.julialang.org/t/soss-relating-to-the-broader-ppl-ecosystem/29785)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 5\
**Last updated:** [October 16, 2019, 3:47pm UTC](https://discourse.julialang.org/t/soss-relating-to-the-broader-ppl-ecosystem/29785 "2019-10-16T15:47:58Z")

</div>

Hello Julia PPL, I’ve been thinking some more about how Soss might relate to other PPL work. Hope I might get your thoughts on this, and how it might benefit the community as a whole. The big idea is that Soss is proba…

---

## [How to use multiple GPUs correctly?](https://discourse.julialang.org/t/how-to-use-multiple-gpus-correctly/29986)

<div class="topic-metadata">

**Author:** [@ww1g11](https://discourse.julialang.org/u/ww1g11)\
**Replies:** 2\
**Last updated:** [October 16, 2019, 3:12pm UTC](https://discourse.julialang.org/t/how-to-use-multiple-gpus-correctly/29986 "2019-10-16T15:12:42Z")

</div>

Hi all, I am trying to change my GPU code to use multiple GPUs due to the memory limit of a single GPU. I found an example (Multiple-GPU Parallelism on the HPC with Julia | juliabloggers.com) and the basic idea is sp…

---

## [Distributed Julia on a Nomad cluster](https://discourse.julialang.org/t/distributed-julia-on-a-nomad-cluster/27258)

<div class="topic-metadata">

**Author:** [@jackf](https://discourse.julialang.org/u/jackf)\
**Replies:** 1\
**Last updated:** [October 16, 2019, 2:11pm UTC](https://discourse.julialang.org/t/distributed-julia-on-a-nomad-cluster/27258 "2019-10-16T14:11:23Z")

</div>

Hi, I have access to a large Nomad (HashiCorp) cluster. Does anyone have experience configuring distributed Julia on such a cluster dynamically? Ideally I just want to add workers (which are Nomad jobs to just run e.g. …

---

## [SparseMatrixCSC{Float} \* Vector{SVector}](https://discourse.julialang.org/t/sparsematrixcsc-float-vector-svector/29984)

<div class="topic-metadata">

**Author:** [@cortner](https://discourse.julialang.org/u/cortner)\
**Replies:** 0\
**Last updated:** [October 16, 2019, 1:59pm UTC](https://discourse.julialang.org/t/sparsematrixcsc-float-vector-svector/29984 "2019-10-16T13:59:25Z")

</div>

Julia allows me to multiply Matrix{Float} \* Vector{SVector} : using StaticArrays A = rand(10,10) x = rand(SVector{3, Float64}, 10) A \* x but not a SparseMatrixCSC{Float} \* Vector{SVector} : using SparseArrays, Static…

---

## [How to export to a dta file?](https://discourse.julialang.org/t/how-to-export-to-a-dta-file/29975)

<div class="topic-metadata">

**Author:** [@drarnau](https://discourse.julialang.org/u/drarnau)\
**Replies:** 7\
**Last updated:** [October 16, 2019, 12:28pm UTC](https://discourse.julialang.org/t/how-to-export-to-a-dta-file/29975 "2019-10-16T12:28:42Z")

</div>

Dear all, I simulate a model in Julia (think of some sort of Monte Carlo experiment) and I want to export the data generated by the model to Stata (.dta format). What is the best way to do it? Ideally, I’d like to avoi…

---

## [Bit Constraints for floats and integers](https://discourse.julialang.org/t/bit-constraints-for-floats-and-integers/29977)

<div class="topic-metadata">

**Author:** [@dataDiver](https://discourse.julialang.org/u/dataDiver)\
**Replies:** 4\
**Last updated:** [October 16, 2019, 11:41am UTC](https://discourse.julialang.org/t/bit-constraints-for-floats-and-integers/29977 "2019-10-16T11:41:51Z")

</div>

Sometimes you want to parameterize your function so that you can dispatch in 64, 32, 16, or some other bit numbers rather than just 64 bit numbers, the problem with this is that just using a single parametric type variab…

---

## [Cannot add certain packages (proxy error)](https://discourse.julialang.org/t/cannot-add-certain-packages-proxy-error/29940)

<div class="topic-metadata">

**Author:** [@mikolas](https://discourse.julialang.org/u/mikolas)\
**Replies:** 1\
**Last updated:** [October 16, 2019, 11:20am UTC](https://discourse.julialang.org/t/cannot-add-certain-packages-proxy-error/29940 "2019-10-16T11:20:05Z")

</div>

I keep getting an error when installing some packages on my work computer. I have successfully installed e.g. DataFrames and JSON packages, but have failed to install e.g. IJulia or Distributions. I am running Windows …

---

## [Windows, Command for VS Code](https://discourse.julialang.org/t/windows-command-for-vs-code/29902)

<div class="topic-metadata">

**Author:** [@rapus95](https://discourse.julialang.org/u/rapus95)\
**Replies:** 10\
**Last updated:** [October 16, 2019, 8:54am UTC](https://discourse.julialang.org/t/windows-command-for-vs-code/29902 "2019-10-16T08:54:49Z")

</div>

I can’t get the console to find the code executable: C:\\Users\\necka\>code #works as expected C:\\Users\\necka\>julia \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) …

---

## [Julia.exe does nothing (Windows 7/10, julia 1.2 fresh installation)](https://discourse.julialang.org/t/julia-exe-does-nothing-windows-7-10-julia-1-2-fresh-installation/29948)

<div class="topic-metadata">

**Author:** [@fplancke](https://discourse.julialang.org/u/fplancke)\
**Replies:** 3\
**Last updated:** [October 16, 2019, 8:49am UTC](https://discourse.julialang.org/t/julia-exe-does-nothing-windows-7-10-julia-1-2-fresh-installation/29948 "2019-10-16T08:49:43Z")

</div>

As the title says: julia.exe does nothing. When called without arguments, it exits after a split second without launching the REPL (as I would have expected, per the documentation and the behaviour of Julia 0.6.2). No ou…

---

## [Variable declaration and initialisation](https://discourse.julialang.org/t/variable-declaration-and-initialisation/29923)

<div class="topic-metadata">

**Author:** [@ennvvy](https://discourse.julialang.org/u/ennvvy)\
**Replies:** 13\
**Last updated:** [October 16, 2019, 8:25am UTC](https://discourse.julialang.org/t/variable-declaration-and-initialisation/29923 "2019-10-16T08:25:09Z")

</div>

I am trying to optimise a piece of my code. I have currently used mutable struct to declare variable types. Following which I assign values to them, mutable struct Par N::Int64 ; n::Int64 ; end mutable struct …

---

## [Revise usage with local dev](https://discourse.julialang.org/t/revise-usage-with-local-dev/29974)

<div class="topic-metadata">

**Author:** [@PaulJaval](https://discourse.julialang.org/u/PaulJaval)\
**Replies:** 0\
**Last updated:** [October 16, 2019, 7:57am UTC](https://discourse.julialang.org/t/revise-usage-with-local-dev/29974 "2019-10-16T07:57:56Z")

</div>

Hi, I’m new to Julia (1.2), and trying different examples using Revise (2.2.2) and Juno. I was trying to: work in two different environments like (v1.2) and (tutorial) activate then dev --local Example (so it should …

---

## [Looking for Inspiration](https://discourse.julialang.org/t/looking-for-inspiration/29958)

<div class="topic-metadata">

**Author:** [@Edward\_Roche](https://discourse.julialang.org/u/Edward_Roche)\
**Replies:** 5\
**Last updated:** [October 16, 2019, 7:42am UTC](https://discourse.julialang.org/t/looking-for-inspiration/29958 "2019-10-16T07:42:02Z")

</div>

I have taken some time off work and was supposed to be doing some painting but due to a delay I now find myself with 2 weeks off and nothing to do. I am looking to get started with Julia, a fun project that would show me…

---

## [Using Makie.jl multithreaded](https://discourse.julialang.org/t/using-makie-jl-multithreaded/29968)

<div class="topic-metadata">

**Author:** [@fishy](https://discourse.julialang.org/u/fishy)\
**Replies:** 0\
**Last updated:** [October 16, 2019, 2:43am UTC](https://discourse.julialang.org/t/using-makie-jl-multithreaded/29968 "2019-10-16T02:43:01Z")

</div>

I am using Julia for a 6DOF vehicle simulation which is just fast enough to run in real-time. After performing a simulation I am visualising the results using Makie.jl. To demo the simulator I have modified it to accept…

---

## [\[DataFrames Question\]: hash-based row indexing for DataFrames package](https://discourse.julialang.org/t/dataframes-question-hash-based-row-indexing-for-dataframes-package/29925)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 16\
**Last updated:** [October 16, 2019, 1:58am UTC](https://discourse.julialang.org/t/dataframes-question-hash-based-row-indexing-for-dataframes-package/29925 "2019-10-16T01:58:04Z")

</div>

Question: Any plan for hash-based indexing for DataFrame Suppose the following table is given (actual table that I work on contains about a million records): df = DataFrame(id=\[7,1,5,3,4,6,2\], val=\[5,6,9,3,4,10,4\]) Now…

---

## [How best to maintain collection of indices into 2-d array](https://discourse.julialang.org/t/how-best-to-maintain-collection-of-indices-into-2-d-array/29921)

<div class="topic-metadata">

**Author:** [@mpf01](https://discourse.julialang.org/u/mpf01)\
**Replies:** 3\
**Last updated:** [October 16, 2019, 12:09am UTC](https://discourse.julialang.org/t/how-best-to-maintain-collection-of-indices-into-2-d-array/29921 "2019-10-16T00:09:17Z")

</div>

I’d like to maintain a collection of index pairs (i,j) into a 2-dimensional array. The list must not contain any repeated elements, and elements can be added and deleted. Set seems to do the trick: A = Set(\[(1,1),(3,3)\]…

---

## [Yet another question about solving an ODE with inputs using DifferentialEquations](https://discourse.julialang.org/t/yet-another-question-about-solving-an-ode-with-inputs-using-differentialequations/29960)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 1\
**Last updated:** [October 15, 2019, 11:43pm UTC](https://discourse.julialang.org/t/yet-another-question-about-solving-an-ode-with-inputs-using-differentialequations/29960 "2019-10-15T23:43:01Z")

</div>

This is yet another question related to the obviously popular basic problem of solving an ODE (or a system of ODEs) with inputs in Julia (using DifferentialEquations package). Let’s consider a single (scalar) ODE of the…

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

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