# Latest

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

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

**Page:** 1755

---

## [\[ANN\] ProfileSVG v0.1.3](https://discourse.julialang.org/t/ann-profilesvg-v0-1-3/38943)

<div class="topic-metadata">

**Author:** [@kimikage](https://discourse.julialang.org/u/kimikage)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 10:24am UTC](https://discourse.julialang.org/t/ann-profilesvg-v0-1-3/38943 "2020-05-07T10:24:43Z")

</div>

Hi, everyone. ProfileSVG.jl is a package separated from ProfileView.jl when FlameGraphs.jl was created by @tim.holy. (cf. \[ANN\] More flexible & user-friendly profile visualization (ProfileView 0.6)) For that reason, P…

---

## [\[ANN\] BLPData.jl - Bloomberg API wrapper](https://discourse.julialang.org/t/ann-blpdata-jl-bloomberg-api-wrapper/38718)

<div class="topic-metadata">

**Author:** [@felipenoris](https://discourse.julialang.org/u/felipenoris)\
**Replies:** 4\
**Last updated:** [May 7, 2020, 7:42am UTC](https://discourse.julialang.org/t/ann-blpdata-jl-bloomberg-api-wrapper/38718 "2020-05-07T07:42:47Z")

</div>

To all Bloomberg Anywhere users everywhere, BLPData.jl is now available. Async query support, subscription to real-time data, and message schema discovery are among the package features. Enjoy!

---

## [Nd level sets](https://discourse.julialang.org/t/nd-level-sets/38532)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 14\
**Last updated:** [May 7, 2020, 6:18am UTC](https://discourse.julialang.org/t/nd-level-sets/38532 "2020-05-07T06:18:11Z")

</div>

Hi, I want to compute the level sets of a Nd scalar function. Furthermore, I would like to be able to access the list of values on the level set. I am looking for suggestions. I know of the following possibilities: c…

---

## [UndefRefError: access to undefined reference, when I use NLsolve.jl](https://discourse.julialang.org/t/undefreferror-access-to-undefined-reference-when-i-use-nlsolve-jl/38795)

<div class="topic-metadata">

**Author:** [@PearsonCHEN](https://discourse.julialang.org/u/PearsonCHEN)\
**Replies:** 10\
**Last updated:** [May 7, 2020, 6:05am UTC](https://discourse.julialang.org/t/undefreferror-access-to-undefined-reference-when-i-use-nlsolve-jl/38795 "2020-05-07T06:05:27Z")

</div>

I am new to Julia and the Julia community. I’d appreciate it if someone can help me with this error. I have also opened an issue in the package NLsolve.jl. I tried to use variables and parameters with type Float64 and a…

---

## ["Variables do not have types, only values" - or maybe they do?](https://discourse.julialang.org/t/variables-do-not-have-types-only-values-or-maybe-they-do/38906)

<div class="topic-metadata">

**Author:** [@Laszlo\_Nagy](https://discourse.julialang.org/u/Laszlo_Nagy)\
**Replies:** 8\
**Last updated:** [May 7, 2020, 5:07am UTC](https://discourse.julialang.org/t/variables-do-not-have-types-only-values-or-maybe-they-do/38906 "2020-05-07T05:07:04Z")

</div>

I’m a beginner so please forgive me if I ask something obvious. Here is a sentence from the beginning of the Types · The Julia Language documentation: Only values, not variables, have types – variables are simply names…

---

## [Propagation of available/assigned worker-IDs in hierarchical computations?](https://discourse.julialang.org/t/propagation-of-available-assigned-worker-ids-in-hierarchical-computations/38670)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 21\
**Last updated:** [May 7, 2020, 4:59am UTC](https://discourse.julialang.org/t/propagation-of-available-assigned-worker-ids-in-hierarchical-computations/38670 "2020-05-07T04:59:35Z")

</div>

I’ve been thinking about ways to propagate information about available workers (and possibly other resources) in scenarios with nested computations. Say we have 10000 workers available and want to run a high-level distri…

---

## [Slower @threads than serial for array computations](https://discourse.julialang.org/t/slower-threads-than-serial-for-array-computations/23522)

<div class="topic-metadata">

**Author:** [@dataDiver](https://discourse.julialang.org/u/dataDiver)\
**Replies:** 26\
**Last updated:** [May 7, 2020, 1:29am UTC](https://discourse.julialang.org/t/slower-threads-than-serial-for-array-computations/23522 "2020-05-07T01:29:17Z")

</div>

I am doing computations on an array using @threads in the Base.Threads package. I am getting VERY slow performance for the threaded version and when the matrix gets very large the threaded version is killed. Here is an e…

---

## [Parse pipe operator \`!\>\` for side effect calls](https://discourse.julialang.org/t/parse-pipe-operator-for-side-effect-calls/38857)

<div class="topic-metadata">

**Author:** [@Roger-luo](https://discourse.julialang.org/u/Roger-luo)\
**Replies:** 19\
**Last updated:** [May 7, 2020, 1:06am UTC](https://discourse.julialang.org/t/parse-pipe-operator-for-side-effect-calls/38857 "2020-05-07T01:06:16Z")

</div>

I’m hoping the parser could parse !\> as an operator similar to the pipe operator, but it will not be defined in Base by default instead it can be used by package developers if they want to show some of their callable obj…

---

## [Keyword Arguments and type parameter](https://discourse.julialang.org/t/keyword-arguments-and-type-parameter/38920)

<div class="topic-metadata">

**Author:** [@yiyuezhuo](https://discourse.julialang.org/u/yiyuezhuo)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 11:57pm UTC](https://discourse.julialang.org/t/keyword-arguments-and-type-parameter/38920 "2020-05-06T23:57:43Z")

</div>

I want to ensure some argument value to be zero and to have the same type (Float64, Float32, Int) according to other given arguments. Without keyword argument, I can do this: function g(a::T = T(0), b::T = T(0)) where T…

---

## [@distributed (op) for with mutable types](https://discourse.julialang.org/t/distributed-op-for-with-mutable-types/38845)

<div class="topic-metadata">

**Author:** [@Marco\_Lombardi](https://discourse.julialang.org/u/Marco_Lombardi)\
**Replies:** 9\
**Last updated:** [May 6, 2020, 11:24pm UTC](https://discourse.julialang.org/t/distributed-op-for-with-mutable-types/38845 "2020-05-06T23:24:56Z")

</div>

I need to perform a map-reduce involving different variables, as in a = b = 0 for n = 1:10 a += n b += n\*n end I want to do it in parallel, using @distributed, and I think a possible solution involves the definitio…

---

## [COM client](https://discourse.julialang.org/t/com-client/38916)

<div class="topic-metadata">

**Author:** [@cojua8](https://discourse.julialang.org/u/cojua8)\
**Replies:** 0\
**Last updated:** [May 6, 2020, 10:40pm UTC](https://discourse.julialang.org/t/com-client/38916 "2020-05-06T22:40:56Z")

</div>

Hi!, I’ve been working with PyCall to access an API through the comtypes python’s package, and now I’m wondering if there is something similar written in pure julia. The following is the overview of the API I’m trying t…

---

## [Nearest Neighbor Search for points consisting of vectors/arrays](https://discourse.julialang.org/t/nearest-neighbor-search-for-points-consisting-of-vectors-arrays/38893)

<div class="topic-metadata">

**Author:** [@FrootLoops](https://discourse.julialang.org/u/FrootLoops)\
**Replies:** 4\
**Last updated:** [May 6, 2020, 9:46pm UTC](https://discourse.julialang.org/t/nearest-neighbor-search-for-points-consisting-of-vectors-arrays/38893 "2020-05-06T21:46:45Z")

</div>

Hello everybody, I am trying to use the nearest neighbor package in Julia. I read the documentary and it was very easy to understand the examples for one dimensional problems. In my case it is a little bit more complica…

---

## [Cbc and Clp performance](https://discourse.julialang.org/t/cbc-and-clp-performance/38505)

<div class="topic-metadata">

**Author:** [@Diego](https://discourse.julialang.org/u/Diego)\
**Replies:** 16\
**Last updated:** [May 6, 2020, 9:39pm UTC](https://discourse.julialang.org/t/cbc-and-clp-performance/38505 "2020-05-06T21:39:22Z")

</div>

Hello everyone, I have been testing the solvers of COIN-OR, namely Cbc (MILP solver) and Clp (LP solver). I obtain for Cbc a very good performance, Cbc even outperforms some commertial solvers in numerically complex pr…

---

## [Test on Julia nightly fails - ERROR: UndefVarError: clone not defined](https://discourse.julialang.org/t/test-on-julia-nightly-fails-error-undefvarerror-clone-not-defined/33266)

<div class="topic-metadata">

**Author:** [@cserteGT3](https://discourse.julialang.org/u/cserteGT3)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 8:28pm UTC](https://discourse.julialang.org/t/test-on-julia-nightly-fails-error-undefvarerror-clone-not-defined/33266 "2020-05-06T20:28:19Z")

</div>

Note Originally posted to the travis community. I’ll update both posts, when a solution is found. (re)Post I am trying to update the CI and documentation of Observables.jl. To update the travis script, I used PkgTemplat…

---

## [What's the v1.4 equivalent of Pkg.METADATA\_compatible\_uuid?](https://discourse.julialang.org/t/whats-the-v1-4-equivalent-of-pkg-metadata-compatible-uuid/38911)

<div class="topic-metadata">

**Author:** [@chbian](https://discourse.julialang.org/u/chbian)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 8:27pm UTC](https://discourse.julialang.org/t/whats-the-v1-4-equivalent-of-pkg-metadata-compatible-uuid/38911 "2020-05-06T20:27:15Z")

</div>

The function is no longer available under v1.4. Is there an equivalent function? Or what’s the best way to generate a METADATA compatible uuid? Thanks.

---

## [Weird error in for loop](https://discourse.julialang.org/t/weird-error-in-for-loop/38870)

<div class="topic-metadata">

**Author:** [@catosp](https://discourse.julialang.org/u/catosp)\
**Replies:** 10\
**Last updated:** [May 6, 2020, 8:07pm UTC](https://discourse.julialang.org/t/weird-error-in-for-loop/38870 "2020-05-06T20:07:53Z")

</div>

Hello everybody! This is the program: f = open("C-V.ini") readString = read(f,String) word = split(readString,"\\n") buffer = "" addLine = false progStruc = \[\] for line in word if occursin("#NAME:",line) addLine…

---

## [Help me understand constant propagation](https://discourse.julialang.org/t/help-me-understand-constant-propagation/38822)

<div class="topic-metadata">

**Author:** [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Replies:** 4\
**Last updated:** [May 6, 2020, 7:51pm UTC](https://discourse.julialang.org/t/help-me-understand-constant-propagation/38822 "2020-05-06T19:51:42Z")

</div>

Consider the following simple example. I have overloaded getindex and getproperty for MyType in the exact same way, but one allows constant propagation and the other doesn’t. I’m not even using x\[:c\] and x.c; I’m calling…

---

## [What triggers precompiling?](https://discourse.julialang.org/t/what-triggers-precompiling/38878)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 5\
**Last updated:** [May 6, 2020, 6:44pm UTC](https://discourse.julialang.org/t/what-triggers-precompiling/38878 "2020-05-06T18:44:34Z")

</div>

Sometimes I use a package with using ThePackage and it precompiles even if it was not updated since the last use, nor was Julia. Is there something I’m doing wrong such that precompiling is so often needed ?

---

## [DigitSet still useful?](https://discourse.julialang.org/t/digitset-still-useful/38901)

<div class="topic-metadata">

**Author:** [@Rougem](https://discourse.julialang.org/u/Rougem)\
**Replies:** 3\
**Last updated:** [May 6, 2020, 5:44pm UTC](https://discourse.julialang.org/t/digitset-still-useful/38901 "2020-05-06T17:44:32Z")

</div>

Hi All, As a newbie, here comes my second question. StepIn the youtube video by Stefan Karpinski (Keynote): Julia for Data Analysis and Beyond. He shows the use of DigitSet but when I searched for it in help it states t…

---

## [Implementing a custom layer](https://discourse.julialang.org/t/implementing-a-custom-layer/38632)

<div class="topic-metadata">

**Author:** [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 5:40pm UTC](https://discourse.julialang.org/t/implementing-a-custom-layer/38632 "2020-05-06T17:40:45Z")

</div>

I am hoping to implement a custom “layer” soon. I think the requirements for this are a) it accepts input from previous layer, and produces outputs, b) Flux.params() can find its parameters, c) gpu() can find its pa…

---

## [Error in opening dataframe](https://discourse.julialang.org/t/error-in-opening-dataframe/38898)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 5:25pm UTC](https://discourse.julialang.org/t/error-in-opening-dataframe/38898 "2020-05-06T17:25:39Z")

</div>

Hello, I tried to open a dataframe that was generated in R; the dataframe is opened with libreoffice calc with no errors: julia\> df = CSV.read("/home/gigiux/Downloads/epiCurve/covidDataFrame.tsv", delim='\\t'…

---

## [A “Gallery” of fractal rendered mainly with Julia](https://discourse.julialang.org/t/a-gallery-of-fractal-rendered-mainly-with-julia/37435)

<div class="topic-metadata">

**Author:** [@HaoLi111](https://discourse.julialang.org/u/HaoLi111)\
**Replies:** 5\
**Last updated:** [April 12, 2020, 11:28pm UTC](https://discourse.julialang.org/t/a-gallery-of-fractal-rendered-mainly-with-julia/37435 "2020-04-12T23:28:03Z")

</div>

As I mentioned before, Julia has some natural advantages to create fractals and the site below has a collection. And some codes are shared https://galleryinfractaldimension-temp.weebly.com/blog However, I think the co…

---

## [Package works in regular Julia, but generates error when called using PyJulia -- relative path](https://discourse.julialang.org/t/package-works-in-regular-julia-but-generates-error-when-called-using-pyjulia-relative-path/38854)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 4\
**Last updated:** [May 6, 2020, 4:24pm UTC](https://discourse.julialang.org/t/package-works-in-regular-julia-but-generates-error-when-called-using-pyjulia-relative-path/38854 "2020-05-06T16:24:49Z")

</div>

Hey Folks, I was trying to figure out how to solve this this tricky issue. So I developed a package on my local machine and it works just fine. I have a CSV file saved in the package that I use to store some of the groun…

---

## [When to use a Dictionary versus a Struct in Julia?](https://discourse.julialang.org/t/when-to-use-a-dictionary-versus-a-struct-in-julia/38824)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 3\
**Last updated:** [May 6, 2020, 4:26pm UTC](https://discourse.julialang.org/t/when-to-use-a-dictionary-versus-a-struct-in-julia/38824 "2020-05-06T16:26:29Z")

</div>

I have been doing my best to exorcise some bad habits from the python world, like the common use of Dictionaries. As I understand Julia, Structs and namedtuples seem to perform a lot better because of the julia type syst…

---

## [Trying to make my robust logistic function differentiable as part of AD, getting errors so far](https://discourse.julialang.org/t/trying-to-make-my-robust-logistic-function-differentiable-as-part-of-ad-getting-errors-so-far/38838)

<div class="topic-metadata">

**Author:** [@HarrisonWilde](https://discourse.julialang.org/u/HarrisonWilde)\
**Replies:** 11\
**Last updated:** [May 6, 2020, 4:08pm UTC](https://discourse.julialang.org/t/trying-to-make-my-robust-logistic-function-differentiable-as-part-of-ad-getting-errors-so-far/38838 "2020-05-06T16:08:26Z")

</div>

I found that StatsFuns.logistic occasionally had issues with really extreme values and so have this more robust version of the logistic function defined as below: const LOGISTIC\_64 = log(Float64(1)/eps(Float64) - Float6…

---

## [Help understand inference problem](https://discourse.julialang.org/t/help-understand-inference-problem/38888)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 2:33pm UTC](https://discourse.julialang.org/t/help-understand-inference-problem/38888 "2020-05-06T14:33:02Z")

</div>

in the MWE using StaticArrays flat\_outer\_product(f::F, a, b) where {F} = mapreduce(a -\> map(b -\> f(a, b), b), vcat, a) a = SVector(1, 2) b = SVector(2, 3) @code\_warntype flat\_outer\_product(SVector, a, b) # does not infe…

---

## [After update 2 hours before plot doesn't work anymore](https://discourse.julialang.org/t/after-update-2-hours-before-plot-doesnt-work-anymore/38880)

<div class="topic-metadata">

**Author:** [@DKad](https://discourse.julialang.org/u/DKad)\
**Replies:** 6\
**Last updated:** [May 6, 2020, 1:36pm UTC](https://discourse.julialang.org/t/after-update-2-hours-before-plot-doesnt-work-anymore/38880 "2020-05-06T13:36:29Z")

</div>

Hello, after update my plot function hangs. Simply typing using Plots plot(rand(10)) the REPL hangs and I can only recover with an explicitely kill of julia. I have done an Pkg.update(), there has been an update of…

---

## [Determine if a directory or file is writable](https://discourse.julialang.org/t/determine-if-a-directory-or-file-is-writable/38843)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 6\
**Last updated:** [May 6, 2020, 11:55am UTC](https://discourse.julialang.org/t/determine-if-a-directory-or-file-is-writable/38843 "2020-05-06T11:55:20Z")

</div>

Ultimately what I would like to do is determine if a directory or file is writable by the current user. Looking at the Filesystem commands there is uperm(), gperm(), and operm() which at first blush look like exactly wh…

---

## [Custom univariate distribution in Turing.jl](https://discourse.julialang.org/t/custom-univariate-distribution-in-turing-jl/38874)

<div class="topic-metadata">

**Author:** [@SSU](https://discourse.julialang.org/u/SSU)\
**Replies:** 4\
**Last updated:** [May 6, 2020, 10:58am UTC](https://discourse.julialang.org/t/custom-univariate-distribution-in-turing-jl/38874 "2020-05-06T10:58:41Z")

</div>

I’m trying to use customized univariate distribution in Turing.jl. (The domain is 0 ~ +Inf) I implemented Distributions.pdf, logpdf, rand, minimum, maximum etc, referring the document (Advanced Usage). I’m pretty sure…

---

## [Code completion in nteract not working?](https://discourse.julialang.org/t/code-completion-in-nteract-not-working/38873)

<div class="topic-metadata">

**Author:** [@kieroo](https://discourse.julialang.org/u/kieroo)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 10:18am UTC](https://discourse.julialang.org/t/code-completion-in-nteract-not-working/38873 "2020-05-06T10:18:13Z")

</div>

Hi, I just started learning Julia on JuliaAcademy and downloaded JuliaPro and nteract like they suggested. As I’m following along and messing around with the notebooks in nteract, I noticed that tab completion doesn’t …

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

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