# Latest

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

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

**Page:** 2001

---

## ["Kernel Queue" for faster Julia (Jupyter) Workflows](https://discourse.julialang.org/t/kernel-queue-for-faster-julia-jupyter-workflows/23972)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 6:43pm UTC](https://discourse.julialang.org/t/kernel-queue-for-faster-julia-jupyter-workflows/23972 "2019-05-07T18:43:45Z")

</div>

Many Julia users are a bit annoyed by the slow warm-up time. Of course, adapting workflows and getting used to it is not so hard, but to me after a few (not-so-intense) Julia years, it’s still somewhat a annoying. Compar…

---

## [Installing CuArrays without libcuda?](https://discourse.julialang.org/t/installing-cuarrays-without-libcuda/23939)

<div class="topic-metadata">

**Author:** [@jstrube](https://discourse.julialang.org/u/jstrube)\
**Replies:** 7\
**Last updated:** [May 7, 2019, 6:00pm UTC](https://discourse.julialang.org/t/installing-cuarrays-without-libcuda/23939 "2019-05-07T18:00:12Z")

</div>

I’m working on a shared system, and the admins are making various CUDA versions available via module load. Unfortunately, the installed modules don’t contain libcuda.so, but it looks like pretty much everything else is t…

---

## [Rand() doesn't work for NormalInverseGaussian](https://discourse.julialang.org/t/rand-doesnt-work-for-normalinversegaussian/23948)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 5:12pm UTC](https://discourse.julialang.org/t/rand-doesnt-work-for-normalinversegaussian/23948 "2019-05-07T17:12:33Z")

</div>

rand() doesn’t work for NormalInverseGaussian. x = rand(dnig, 100) Error: MethodError: no method matching iterate(::NormalInverseGaussian{Float64}) Would somebody help to generate random values?

---

## [Can't set breakpoints in Juno](https://discourse.julialang.org/t/cant-set-breakpoints-in-juno/23960)

<div class="topic-metadata">

**Author:** [@VincentTam](https://discourse.julialang.org/u/VincentTam)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 3:18pm UTC](https://discourse.julialang.org/t/cant-set-breakpoints-in-juno/23960 "2019-05-07T15:18:01Z")

</div>

I got the error shown on the top right-hand corner by clicking on the column on the left of a target line number. Remarks: My installation steps in Xubuntu 18.04 Downloaded the gzipped tarball for current stable v…

---

## [New windows terminal](https://discourse.julialang.org/t/new-windows-terminal/23968)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 3:54pm UTC](https://discourse.julialang.org/t/new-windows-terminal/23968 "2019-05-07T15:54:30Z")

</div>

Seems like windows might get a proper default terminal https://youtu.be/8gw0rXPMMPE

---

## [Unexpected push behavior](https://discourse.julialang.org/t/unexpected-push-behavior/23967)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 3:15pm UTC](https://discourse.julialang.org/t/unexpected-push-behavior/23967 "2019-05-07T15:15:20Z")

</div>

Consider the following bit of code: using Random # starting point X₀ = \[-1.0,0.0\]; X\_vals = \[X₀\] X = similar(X₀) n = 5; Random.seed!(100); @. X = X₀; for j in 1:n @. X = X + randn(); println(j, ": X\[1\] = ", …

---

## [ANN: Pseudoseq.jl - Simulating DNA sequencing experiments](https://discourse.julialang.org/t/ann-pseudoseq-jl-simulating-dna-sequencing-experiments/21736)

<div class="topic-metadata">

**Author:** [@Ward9250](https://discourse.julialang.org/u/Ward9250)\
**Replies:** 6\
**Last updated:** [May 7, 2019, 3:00pm UTC](https://discourse.julialang.org/t/ann-pseudoseq-jl-simulating-dna-sequencing-experiments/21736 "2019-05-07T15:00:24Z")

</div>

Hi Everyone, I’d like to announce a package I’ve been working on for my research group here at the Earlham Institute, (the first full julia project… I think I’m getting to them :wink: ) that is currently close to releas…

---

## [Current state of Cxx.jl?](https://discourse.julialang.org/t/current-state-of-cxx-jl/19466)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 26\
**Last updated:** [May 7, 2019, 2:47pm UTC](https://discourse.julialang.org/t/current-state-of-cxx-jl/19466 "2019-05-07T14:47:48Z")

</div>

I’d like to inquire about the current state of Cxx.jl. I’m aware of #390, but not really understand when or how the issues will be resolved. My goal is to implement a small interface for the Kinect sensor (primarily for…

---

## [Reshape DistributedArrays](https://discourse.julialang.org/t/reshape-distributedarrays/23622)

<div class="topic-metadata">

**Author:** [@monty](https://discourse.julialang.org/u/monty)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 2:39pm UTC](https://discourse.julialang.org/t/reshape-distributedarrays/23622 "2019-05-07T14:39:36Z")

</div>

From an existing DistributedArrays dr = DistributedArrays.distribute(rand(2,3,4)) I want to generate a new DistributedArrays which is flattened version of dr with dimensions 3 x 12 by “vcat” out of the following slices…

---

## [Travis CI configuration with new Project.toml file](https://discourse.julialang.org/t/travis-ci-configuration-with-new-project-toml-file/23942)

<div class="topic-metadata">

**Author:** [@Balinus](https://discourse.julialang.org/u/Balinus)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 2:38pm UTC](https://discourse.julialang.org/t/travis-ci-configuration-with-new-project-toml-file/23942 "2019-05-07T14:38:51Z")

</div>

Hello! I’m trying to migrate my package to the new registration system. I generated a Project.toml file that seems adequate. However, I’m having a strange bug during the CI process. It basically says that Pkg is not fou…

---

## [How correctly deploy code to another machine?](https://discourse.julialang.org/t/how-correctly-deploy-code-to-another-machine/23956)

<div class="topic-metadata">

**Author:** [@Xing\_Shi\_Cai](https://discourse.julialang.org/u/Xing_Shi_Cai)\
**Replies:** 4\
**Last updated:** [May 7, 2019, 12:27pm UTC](https://discourse.julialang.org/t/how-correctly-deploy-code-to-another-machine/23956 "2019-05-07T12:27:07Z")

</div>

I am developing a package on my laptop. But I actually need it to run a server. So what I do is to test the code locally until it’s ready, and then rsync the package folder to the server. It works when I first tried it …

---

## [Parameterize type with value (not type)](https://discourse.julialang.org/t/parameterize-type-with-value-not-type/23963)

<div class="topic-metadata">

**Author:** [@kkmann](https://discourse.julialang.org/u/kkmann)\
**Replies:** 1\
**Last updated:** [May 7, 2019, 12:07pm UTC](https://discourse.julialang.org/t/parameterize-type-with-value-not-type/23963 "2019-05-07T12:07:04Z")

</div>

Hey, I want to implement a parametric type (container of defined length), i.e., something like MyContainer{Int64, 2}(\[1, 1\]) should be a valid call to a constructor. To me this looks very similar to the Array types (al…

---

## [Proposal for SharedFunctions.jl package for optional dependency management](https://discourse.julialang.org/t/proposal-for-sharedfunctions-jl-package-for-optional-dependency-management/23526)

<div class="topic-metadata">

**Author:** [@quinnj](https://discourse.julialang.org/u/quinnj)\
**Replies:** 74\
**Last updated:** [May 7, 2019, 12:00pm UTC](https://discourse.julialang.org/t/proposal-for-sharedfunctions-jl-package-for-optional-dependency-management/23526 "2019-05-07T12:00:38Z")

</div>

A few of us (@piever, @sdanisch) have been discussing the issue of optional dependencies again, unsatisfied w/ current solutions (having to invert dependency chains, Requires.jl performance issues + clunkiness, etc.). On…

---

## [Distributed computing in the Windows Subsystem for Linux](https://discourse.julialang.org/t/distributed-computing-in-the-windows-subsystem-for-linux/23723)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 14\
**Last updated:** [May 7, 2019, 10:44am UTC](https://discourse.julialang.org/t/distributed-computing-in-the-windows-subsystem-for-linux/23723 "2019-05-07T10:44:32Z")

</div>

I have noticed that running Distributed-enabled computations in the WSL is very much sub-optimal. I have a fast Windows 10 machine with 16 cores (which runs the simulation in the WSL), and when running a single worker, …

---

## [Piping Julia function output to external command](https://discourse.julialang.org/t/piping-julia-function-output-to-external-command/23756)

<div class="topic-metadata">

**Author:** [@nstgc](https://discourse.julialang.org/u/nstgc)\
**Replies:** 5\
**Last updated:** [May 7, 2019, 9:36am UTC](https://discourse.julialang.org/t/piping-julia-function-output-to-external-command/23756 "2019-05-07T09:36:06Z")

</div>

I’ve found a wealth of information on how to pipe one external command to another, but I’m having trouble with piping the output of julia functions to external commands. As a side note, I’m not sure how I’m suppose to f…

---

## [Iterating over dict in parallel](https://discourse.julialang.org/t/iterating-over-dict-in-parallel/23912)

<div class="topic-metadata">

**Author:** [@daniel](https://discourse.julialang.org/u/daniel)\
**Replies:** 3\
**Last updated:** [May 7, 2019, 9:16am UTC](https://discourse.julialang.org/t/iterating-over-dict-in-parallel/23912 "2019-05-07T09:16:49Z")

</div>

I expected the following to work: using Distributed addprocs(4) d = Dict("a" =\> 1, "b" =\> 2) @sync @distributed for (k, v) in d println(k) end But receive this error: ERROR: On worker 2: KeyError: key 1:1 not fou…

---

## [\`StackOverflowError\` with Revise.jl](https://discourse.julialang.org/t/stackoverflowerror-with-revise-jl/23947)

<div class="topic-metadata">

**Author:** [@asprionj](https://discourse.julialang.org/u/asprionj)\
**Replies:** 5\
**Last updated:** [May 7, 2019, 8:30am UTC](https://discourse.julialang.org/t/stackoverflowerror-with-revise-jl/23947 "2019-05-07T08:30:30Z")

</div>

Hi everyone, I started to use Revise some weeks ago, really awesome to get a faster dev cycle (without julia restarts and re-precompiles all the time)! The problem now is that I always get this warning when working on my…

---

## [Array types question](https://discourse.julialang.org/t/array-types-question/23938)

<div class="topic-metadata">

**Author:** [@Charles\_Parker](https://discourse.julialang.org/u/Charles_Parker)\
**Replies:** 2\
**Last updated:** [May 7, 2019, 2:37am UTC](https://discourse.julialang.org/t/array-types-question/23938 "2019-05-07T02:37:21Z")

</div>

From the REPL: julia\> fubar = \[1 2 3\] 1×3 Array{Int64,2}: 1 2 3 julia\> typeof(fubar) Array{Int64,2} Q: Where did Array{Int64,2) come from? Thanx … Charlie

---

## [Calling my own Julia module from C](https://discourse.julialang.org/t/calling-my-own-julia-module-from-c/23779)

<div class="topic-metadata">

**Author:** [@Josiah\_Slack](https://discourse.julialang.org/u/Josiah_Slack)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 11:15pm UTC](https://discourse.julialang.org/t/calling-my-own-julia-module-from-c/23779 "2019-05-06T23:15:35Z")

</div>

I’ve read through the “Embedding Julia” section in the documentation, and have been able to call Base package functions from C. I have some local packages that I would like to access, and haven’t found any up-to-date exa…

---

## [Creating and naming Precompiled environment](https://discourse.julialang.org/t/creating-and-naming-precompiled-environment/23935)

<div class="topic-metadata">

**Author:** [@alewolf](https://discourse.julialang.org/u/alewolf)\
**Replies:** 0\
**Last updated:** [May 6, 2019, 9:51pm UTC](https://discourse.julialang.org/t/creating-and-naming-precompiled-environment/23935 "2019-05-06T21:51:06Z")

</div>

Hi everyone, I am relatively new to Julia - and everytime I solve a problem, I find a new one :slight\_smile: Currently, I want to create and name an environment where some pacakges are precomplied: CSV, DataFrames,Que…

---

## [Best way to pass 75 variables into a function or into a for loop?](https://discourse.julialang.org/t/best-way-to-pass-75-variables-into-a-function-or-into-a-for-loop/23928)

<div class="topic-metadata">

**Author:** [@damonturney](https://discourse.julialang.org/u/damonturney)\
**Replies:** 8\
**Last updated:** [May 6, 2019, 9:36pm UTC](https://discourse.julialang.org/t/best-way-to-pass-75-variables-into-a-function-or-into-a-for-loop/23928 "2019-05-06T21:36:28Z")

</div>

I’m writing a chemistry simulation that has ~75 variables of which half of them are scalars while the other half of them are 2D or 1D arrays, and also half of them are constant while the other half of them are mutated by…

---

## [Optimizing a function with constraints in NLopt (want a different expression returned than optimized)](https://discourse.julialang.org/t/optimizing-a-function-with-constraints-in-nlopt-want-a-different-expression-returned-than-optimized/23916)

<div class="topic-metadata">

**Author:** [@CPPhysics](https://discourse.julialang.org/u/CPPhysics)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 8:11pm UTC](https://discourse.julialang.org/t/optimizing-a-function-with-constraints-in-nlopt-want-a-different-expression-returned-than-optimized/23916 "2019-05-06T20:11:58Z")

</div>

Hello, I am optimizing a function utilizing Lagrange constraints, and I would like NLopt to optimize an expression with Lagrange constraints, but return the value of that expression without constraints. I added a flag to…

---

## [SpecialFunctions ( Julia v1.0 )](https://discourse.julialang.org/t/specialfunctions-julia-v1-0/23920)

<div class="topic-metadata">

**Author:** [@BMval](https://discourse.julialang.org/u/BMval)\
**Replies:** 6\
**Last updated:** [May 6, 2019, 6:55pm UTC](https://discourse.julialang.org/t/specialfunctions-julia-v1-0/23920 "2019-05-06T18:55:11Z")

</div>

Good day. I need to use besselk function from SpecialFunctions package. Unfortunately, SpecialFunctions don’t work under v1.0 Julia version. At the same time Distributions.jl uses besselk function and work under v1.0 …

---

## [JuMP: Real Variable used in Complex expression](https://discourse.julialang.org/t/jump-real-variable-used-in-complex-expression/23832)

<div class="topic-metadata">

**Author:** [@eschoute](https://discourse.julialang.org/u/eschoute)\
**Replies:** 5\
**Last updated:** [May 6, 2019, 6:44pm UTC](https://discourse.julialang.org/t/jump-real-variable-used-in-complex-expression/23832 "2019-05-06T18:44:34Z")

</div>

Possibly related to How Define a Complex JuMP Variable I’m wondering if it’s possible to define objective functions and/or constraint functions take take in real variables and return a real number (i.e. f(x): ℝ^n → ℝ) b…

---

## [Complexifying pi](https://discourse.julialang.org/t/complexifying-pi/23885)

<div class="topic-metadata">

**Author:** [@tobydriscoll](https://discourse.julialang.org/u/tobydriscoll)\
**Replies:** 24\
**Last updated:** [May 6, 2019, 6:11pm UTC](https://discourse.julialang.org/t/complexifying-pi/23885 "2019-05-06T18:11:57Z")

</div>

I want to make a type that internally stores values in a Complex form. I assumed that I should simply convert any Real input. However, some math constants give an error doing this: julia\> Complex(2.0f0) 2.0f0 + 0.0f0im …

---

## [Build efficient code from scene description (tree of 3d objects and transformations)](https://discourse.julialang.org/t/build-efficient-code-from-scene-description-tree-of-3d-objects-and-transformations/23860)

<div class="topic-metadata">

**Author:** [@freemint](https://discourse.julialang.org/u/freemint)\
**Replies:** 9\
**Last updated:** [May 6, 2019, 3:15pm UTC](https://discourse.julialang.org/t/build-efficient-code-from-scene-description-tree-of-3d-objects-and-transformations/23860 "2019-05-06T15:15:30Z")

</div>

Hello, i am currently trying to implement a Sphere-Tracing renderer. This is my first Julia project. So i lack on certain aspects like meta programming which is where i need your input. It uses a cool concept called Si…

---

## [Percentile Fan Plot](https://discourse.julialang.org/t/percentile-fan-plot/23894)

<div class="topic-metadata">

**Author:** [@RJJardine](https://discourse.julialang.org/u/RJJardine)\
**Replies:** 2\
**Last updated:** [May 6, 2019, 3:06pm UTC](https://discourse.julialang.org/t/percentile-fan-plot/23894 "2019-05-06T15:06:10Z")

</div>

Hi folks! Does anyone know of a way to plot percentile fans using Plots.jl? The aim is to create something similar to the chart below, with the different shades representing the levels of uncertainty in possible outcom…

---

## [CSV read performance vs Pandas](https://discourse.julialang.org/t/csv-read-performance-vs-pandas/21667)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 29\
**Last updated:** [May 6, 2019, 2:40pm UTC](https://discourse.julialang.org/t/csv-read-performance-vs-pandas/21667 "2019-05-06T14:40:04Z")

</div>

Any idea why Pandas’ CSV parser is so awesome? Below is my test for a 20MB file with 100,000 rows x 12 columns, mostly Float64’s. julia\> @benchmark CSV.read("/tmp/test.csv") BenchmarkTools.Trial: memory estimate: 1…

---

## [Using strip.()](https://discourse.julialang.org/t/using-strip/23910)

<div class="topic-metadata">

**Author:** [@remi-garcia](https://discourse.julialang.org/u/remi-garcia)\
**Replies:** 5\
**Last updated:** [May 6, 2019, 2:33pm UTC](https://discourse.julialang.org/t/using-strip/23910 "2019-05-06T14:33:39Z")

</div>

A particular case of strip. is not working. julia\> a = " abc , (de f) , gh " " abc , (de f) , gh " julia\> b = split(a, ',') 3-element Array{SubString{String},1}: " abc " " (de f) " " gh " julia\> strip…

---

## [Use a tool like Codacy to check common issues pattern](https://discourse.julialang.org/t/use-a-tool-like-codacy-to-check-common-issues-pattern/23855)

<div class="topic-metadata">

**Author:** [@hossein\_pourbozorg](https://discourse.julialang.org/u/hossein_pourbozorg)\
**Replies:** 11\
**Last updated:** [May 6, 2019, 1:59pm UTC](https://discourse.julialang.org/t/use-a-tool-like-codacy-to-check-common-issues-pattern/23855 "2019-05-06T13:59:31Z")

</div>

Recently, I used Codacy on my fork of Julia, and it discovered 936 issues (237 security + 36 error prone + 663 code style). So I think to suggest a discussion about “Use a tool like Codacy to check common issues pattern”…

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

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