# Latest

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

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

**Page:** 1906

---

## [Mamba Chains declaration for matrix of parameters](https://discourse.julialang.org/t/mamba-chains-declaration-for-matrix-of-parameters/29663)

<div class="topic-metadata">

**Author:** [@Steven\_Xu](https://discourse.julialang.org/u/Steven_Xu)\
**Replies:** 5\
**Last updated:** [October 9, 2019, 7:58pm UTC](https://discourse.julialang.org/t/mamba-chains-declaration-for-matrix-of-parameters/29663 "2019-10-09T19:58:33Z")

</div>

This might be a stupid question but I just want to make sure I am doing it correctly. I have read the document but is still unsure. I am trying to use Mamba’s NUTSVariate to implement a Bayesian neural network. My param…

---

## [ERROR: \[Turing\] MH doesn't support vectorizing assume statement](https://discourse.julialang.org/t/error-turing-mh-doesnt-support-vectorizing-assume-statement/29646)

<div class="topic-metadata">

**Author:** [@jdhooghe](https://discourse.julialang.org/u/jdhooghe)\
**Replies:** 4\
**Last updated:** [October 9, 2019, 2:57pm UTC](https://discourse.julialang.org/t/error-turing-mh-doesnt-support-vectorizing-assume-statement/29646 "2019-10-09T14:57:18Z")

</div>

Hello again. I am using Turing to re-create Facebook’s Prophet trend model. My model is: @model Trend(Years, y) = begin NumberOfChangepoints ~ DiscreteUniform(1, 5) s = collect(range(Years\[1\], length=1+NumberO…

---

## [Workers do not find packages in spite of @everywhere and Pkg.activate commands](https://discourse.julialang.org/t/workers-do-not-find-packages-in-spite-of-everywhere-and-pkg-activate-commands/23441)

<div class="topic-metadata">

**Author:** [@smury](https://discourse.julialang.org/u/smury)\
**Replies:** 8\
**Last updated:** [October 9, 2019, 1:44pm UTC](https://discourse.julialang.org/t/workers-do-not-find-packages-in-spite-of-everywhere-and-pkg-activate-commands/23441 "2019-10-09T13:44:10Z")

</div>

I am new to Julia and am slowly trying to convert Matlab code. My current problem is that I cannot run distributed code. I have searched and found posts suggesting the use of @everywhere and Pkg.activate(“.”) but I just …

---

## [Modelling DFJ elminations constraints](https://discourse.julialang.org/t/modelling-dfj-elminations-constraints/29670)

<div class="topic-metadata">

**Author:** [@Miguel\_Goncalves](https://discourse.julialang.org/u/Miguel_Goncalves)\
**Replies:** 2\
**Last updated:** [October 9, 2019, 1:41pm UTC](https://discourse.julialang.org/t/modelling-dfj-elminations-constraints/29670 "2019-10-09T13:41:27Z")

</div>

Hi, everyone. I am new in this world of programming, specially in Julia, and i have found some trouble to ‘declare’ the subtour elimination from DFJ problems in Travelling Salesman Problem (TSP). Constrait: How can …

---

## [Finding Position of Element in an Array](https://discourse.julialang.org/t/finding-position-of-element-in-an-array/12502)

<div class="topic-metadata">

**Author:** [@jazzieman](https://discourse.julialang.org/u/jazzieman)\
**Replies:** 46\
**Last updated:** [October 9, 2019, 1:10pm UTC](https://discourse.julialang.org/t/finding-position-of-element-in-an-array/12502 "2019-10-09T13:10:31Z")

</div>

I’m looking for a function (is there is one) where i can get the position of an element in an array? I have a 3D array of numbers and i want to obtain the position (i,j,k)of a particular number (element) in that array. …

---

## [Control points from a B-Spline](https://discourse.julialang.org/t/control-points-from-a-b-spline/29674)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 14\
**Last updated:** [October 9, 2019, 11:25am UTC](https://discourse.julialang.org/t/control-points-from-a-b-spline/29674 "2019-10-09T11:25:13Z")

</div>

Is there any way I can retrieve the control points/polygon from a B-Spline (calculated from Dierckx.jl or Interpolations.jl)? Control points as described here and shown as the black polygon here: For instance, in the…

---

## [Java to julia](https://discourse.julialang.org/t/java-to-julia/28051)

<div class="topic-metadata">

**Author:** [@Fuad\_Sami](https://discourse.julialang.org/u/Fuad_Sami)\
**Replies:** 11\
**Last updated:** [August 29, 2019, 8:57am UTC](https://discourse.julialang.org/t/java-to-julia/28051 "2019-08-29T08:57:12Z")

</div>

hi i am new i julia and i have an java code that want to convert it to julia. public static int sumpairs(Integer input , int k){ static int input = new int{1, 5, 2,4,3}; HashMap \<Integer,Integer\> map = new HashMap\<\>(…

---

## [Add image to docs](https://discourse.julialang.org/t/add-image-to-docs/29554)

<div class="topic-metadata">

**Author:** [@Christopher\_Fisher](https://discourse.julialang.org/u/Christopher_Fisher)\
**Replies:** 10\
**Last updated:** [October 9, 2019, 10:04am UTC](https://discourse.julialang.org/t/add-image-to-docs/29554 "2019-10-09T10:04:46Z")

</div>

I’m having trouble adding an image to my documentation. I tried two methods: !\[summary\_time\](../../Examples/Gaussian/results/summary\_time.png) \`\`\`@raw html \<img src="../../Examples/Gaussian/results/summary\_time.png" w…

---

## [Why isn't keys defined on SparseAxisArray?](https://discourse.julialang.org/t/why-isnt-keys-defined-on-sparseaxisarray/29667)

<div class="topic-metadata">

**Author:** [@dourouc05](https://discourse.julialang.org/u/dourouc05)\
**Replies:** 4\
**Last updated:** [October 9, 2019, 9:26am UTC](https://discourse.julialang.org/t/why-isnt-keys-defined-on-sparseaxisarray/29667 "2019-10-09T09:26:19Z")

</div>

In my code, I mostly use SparseAxisArray as an equivalent for dictionaries, except that it’s returned by JuMP. Thus, I’m trying to use keys on a SparseAxisArray, but it’s not behaving as expected, returning a DenseAxisAr…

---

## [Hierarchical or multi-index for data frames](https://discourse.julialang.org/t/hierarchical-or-multi-index-for-data-frames/17076)

<div class="topic-metadata">

**Author:** [@MatthiasKauer](https://discourse.julialang.org/u/MatthiasKauer)\
**Replies:** 10\
**Last updated:** [October 9, 2019, 8:23am UTC](https://discourse.julialang.org/t/hierarchical-or-multi-index-for-data-frames/17076 "2019-10-09T08:23:06Z")

</div>

Hi, I’ve been looking around for data frame implementations. I found that GitHub - JuliaData/DataFrames.jl: In-memory tabular data in Julia does not support a hierarchical or multi-index approach. For clarification, I’…

---

## [Atom Julia client update error](https://discourse.julialang.org/t/atom-julia-client-update-error/29672)

<div class="topic-metadata">

**Author:** [@bionicinnovations](https://discourse.julialang.org/u/bionicinnovations)\
**Replies:** 1\
**Last updated:** [October 9, 2019, 6:39am UTC](https://discourse.julialang.org/t/atom-julia-client-update-error/29672 "2019-10-09T06:39:37Z")

</div>

I just updated some apps in Atom and now Julia client wont install. This is super annoying because I have a hard deadline to meet, and this is the second time this has happened over the past couple of months. Last time t…

---

## [Plotting with gr backend cannot display in REPL on ubuntu](https://discourse.julialang.org/t/plotting-with-gr-backend-cannot-display-in-repl-on-ubuntu/29671)

<div class="topic-metadata">

**Author:** [@helloBrisbane](https://discourse.julialang.org/u/helloBrisbane)\
**Replies:** 0\
**Last updated:** [October 9, 2019, 5:03am UTC](https://discourse.julialang.org/t/plotting-with-gr-backend-cannot-display-in-repl-on-ubuntu/29671 "2019-10-09T05:03:31Z")

</div>

try to using plotting in REPL on ubuntu, however it cannot display. running same code in jupyter notebook without problems. julia\> versioninfo() Julia Version 1.1.1 Commit 55e36cc308 (2019-05-16 04:10 UTC) Platform …

---

## [Transducers, paralelism and feedback loop](https://discourse.julialang.org/t/transducers-paralelism-and-feedback-loop/28189)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 13\
**Last updated:** [October 9, 2019, 3:26am UTC](https://discourse.julialang.org/t/transducers-paralelism-and-feedback-loop/28189 "2019-10-09T03:26:30Z")

</div>

After watching the JuliaCon talk on Transducers.jl, I started to wonder about multiple cases where iterators are not optimal. One of the instances that seem suited for transducers are the systems with a feedback loop. L…

---

## [Multiple dispatch usage with named arguments](https://discourse.julialang.org/t/multiple-dispatch-usage-with-named-arguments/29666)

<div class="topic-metadata">

**Author:** [@Rajesh\_Talluri](https://discourse.julialang.org/u/Rajesh_Talluri)\
**Replies:** 4\
**Last updated:** [October 9, 2019, 1:18am UTC](https://discourse.julialang.org/t/multiple-dispatch-usage-with-named-arguments/29666 "2019-10-09T01:18:02Z")

</div>

Hi, I am trying to write a function which has multiple arguments. The argument maf could be a single value or a vector of length p. function simulate\_data(; n::Int64 = 1000, p::Int64 = 5, maf = 0.3) if length(maf) == …

---

## [Have you used julia 1.3 behind a web proxy?](https://discourse.julialang.org/t/have-you-used-julia-1-3-behind-a-web-proxy/29668)

<div class="topic-metadata">

**Author:** [@jackf](https://discourse.julialang.org/u/jackf)\
**Replies:** 0\
**Last updated:** [October 9, 2019, 12:53am UTC](https://discourse.julialang.org/t/have-you-used-julia-1-3-behind-a-web-proxy/29668 "2019-10-09T00:53:55Z")

</div>

Hi all. I’ve been having the following issue which is preventing me from download packages on the 1.3 release candidates on several machines behind a work web proxy: https://github.com/JuliaLang/julia/issues/33405 http…

---

## [\[ANN\] TextUserInterfaces.jl v0.0.1](https://discourse.julialang.org/t/ann-textuserinterfaces-jl-v0-0-1/29608)

<div class="topic-metadata">

**Author:** [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)\
**Replies:** 7\
**Last updated:** [October 8, 2019, 11:19pm UTC](https://discourse.julialang.org/t/ann-textuserinterfaces-jl-v0-0-1/29608 "2019-10-08T23:19:25Z")

</div>

Hi! Well, it was a long journey until here :slight\_smile: I finally finished something worthy of registering. The package TextUserInterfaces.jl is being registered and should be available in a couple of days if everythi…

---

## [\[JuMP + Gurobi Bug?\] value of variable in solved model changes after deleting another variable](https://discourse.julialang.org/t/jump-gurobi-bug-value-of-variable-in-solved-model-changes-after-deleting-another-variable/29619)

<div class="topic-metadata">

**Author:** [@Henrique\_Becker](https://discourse.julialang.org/u/Henrique_Becker)\
**Replies:** 7\
**Last updated:** [October 8, 2019, 10:54pm UTC](https://discourse.julialang.org/t/jump-gurobi-bug-value-of-variable-in-solved-model-changes-after-deleting-another-variable/29619 "2019-10-08T22:54:39Z")

</div>

\> using JuMP, Gurobi \> model = Model(with\_optimizer(Gurobi.Optimizer)); \> @variable(model, x\[1:3\], Bin); \> @constraint(model, sum(all\_variables(model)) \<= 2); \> @objective(model, Max, sum(model\[:x\] .\* \[10, 5, 2\])); \> opt…

---

## [Ssh2-sftp-client in ftp-remote-edit juno in atom](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 3\
**Last updated:** [October 8, 2019, 8:49pm UTC](https://discourse.julialang.org/t/ssh2-sftp-client-in-ftp-remote-edit-juno-in-atom/29653 "2019-10-08T20:49:08Z")

</div>

Not entirely Julia related, but I’m hoping someone here can shed some light: This has to do with working on a remote server with Juno. Has anyone been able to do that? If so, any idea what I’m doing wrong in this issue? …

---

## [Frequent releases of packages?](https://discourse.julialang.org/t/frequent-releases-of-packages/29649)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 9\
**Last updated:** [October 8, 2019, 8:30pm UTC](https://discourse.julialang.org/t/frequent-releases-of-packages/29649 "2019-10-08T20:30:11Z")

</div>

This kind of a meta question, but related to the package repository. I don’t know where to put it… I feel a bit reluctant to create frequent releases of my package because I know that the pull requests are manually revi…

---

## [JuliaRegistrator error - can not find \`Logging\`](https://discourse.julialang.org/t/juliaregistrator-error-can-not-find-logging/29664)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 7:20pm UTC](https://discourse.julialang.org/t/juliaregistrator-error-can-not-find-logging/29664 "2019-10-08T19:20:56Z")

</div>

Attempting to register a new version of Genie errors out with: Error while trying to register: Error in (Julia)Project.toml: Package 'Logging' with UUID: 56ddb016-857b-54e1-b83d-db4d58db5568 not found in registry or std…

---

## [Disable linting doesn't work](https://discourse.julialang.org/t/disable-linting-doesnt-work/29376)

<div class="topic-metadata">

**Author:** [@raff](https://discourse.julialang.org/u/raff)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 6:15pm UTC](https://discourse.julialang.org/t/disable-linting-doesnt-work/29376 "2019-10-08T18:15:06Z")

</div>

I tried to uncheck the Run Linter option in the settings, but VSCode still run the linter (many yellow curly underscore on my perfectly working code). I use domain specific lang using macros a lot in my code where linte…

---

## [Unable to save simple FLUX model with BSON](https://discourse.julialang.org/t/unable-to-save-simple-flux-model-with-bson/29628)

<div class="topic-metadata">

**Author:** [@rio](https://discourse.julialang.org/u/rio)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 4:40pm UTC](https://discourse.julialang.org/t/unable-to-save-simple-flux-model-with-bson/29628 "2019-10-08T16:40:10Z")

</div>

Hi, When I try to save a simple FLUX model like using Flux, BSON model = Chain( Conv((3, 3), 1=\>16, pad=(1,1), relu), MaxPool((2,2)), Conv((3, 3), 16=\>32, pad=(1,1), relu), MaxPool((2,2)), Conv((3,…

---

## [Ignore consecutive whitespaces with CSV.read(...)](https://discourse.julialang.org/t/ignore-consecutive-whitespaces-with-csv-read/11304)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 18\
**Last updated:** [October 8, 2019, 4:34pm UTC](https://discourse.julialang.org/t/ignore-consecutive-whitespaces-with-csv-read/11304 "2019-10-08T16:34:02Z")

</div>

I am reading a file with CSV.read(...) that contains many consecutive spaces between columns because the colmuns are padded. I passed the keyword argument delim=' ', but it thinks that every space counts as a new column…

---

## [ANN: Plans for removing packages that do not yet support 1.0 from the General registry](https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/28003)

<div class="topic-metadata">

**Author:** [@kristoffer.carlsson](https://discourse.julialang.org/u/kristoffer.carlsson)\
**Replies:** 16\
**Last updated:** [October 8, 2019, 4:01pm UTC](https://discourse.julialang.org/t/ann-plans-for-removing-packages-that-do-not-yet-support-1-0-from-the-general-registry/28003 "2019-10-08T16:01:21Z")

</div>

In the transition to using the new Registry, we put an upper bound of Julia version 0.7 on all packages that looked abandoned (by some heuristics involving last registration time, use of Compat etc). Now, approximately o…

---

## [Icons on tool bar dissapearing](https://discourse.julialang.org/t/icons-on-tool-bar-dissapearing/29584)

<div class="topic-metadata">

**Author:** [@DIzer](https://discourse.julialang.org/u/DIzer)\
**Replies:** 4\
**Last updated:** [October 8, 2019, 3:45pm UTC](https://discourse.julialang.org/t/icons-on-tool-bar-dissapearing/29584 "2019-10-08T15:45:30Z")

</div>

with the last tooolbar and ink components updating some icons on the julia toolbar are invisible (but the buttons are still operable)…

---

## [Bioinitio Project?](https://discourse.julialang.org/t/bioinitio-project/29166)

<div class="topic-metadata">

**Author:** [@kevbonham](https://discourse.julialang.org/u/kevbonham)\
**Replies:** 1\
**Last updated:** [October 8, 2019, 3:40pm UTC](https://discourse.julialang.org/t/bioinitio-project/29166 "2019-10-08T15:40:41Z")

</div>

I just came across https://github.com/bionitio-team/bionitio, which provides templates for bioinformatics command line tools. I was thinking it might be good to submit something in julia as a sort of advertisement. I do…

---

## [OpenCV on windows](https://discourse.julialang.org/t/opencv-on-windows/20499)

<div class="topic-metadata">

**Author:** [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Replies:** 6\
**Last updated:** [October 8, 2019, 3:28pm UTC](https://discourse.julialang.org/t/opencv-on-windows/20499 "2019-10-08T15:28:41Z")

</div>

I’d like to ask what is the status and recommended approach for using OpenCV on windows. The OpenCV.jl uses CXX.jl for wrapping the C++ library and as such it is not really an option on Windows - the CXX package on wind…

---

## [Update Atom Package in Julia](https://discourse.julialang.org/t/update-atom-package-in-julia/29613)

<div class="topic-metadata">

**Author:** [@Nitin](https://discourse.julialang.org/u/Nitin)\
**Replies:** 12\
**Last updated:** [October 8, 2019, 3:02pm UTC](https://discourse.julialang.org/t/update-atom-package-in-julia/29613 "2019-10-08T15:02:46Z")

</div>

The problem that I have is these warning messages shown below: Warning: Atom.jl: unrecognised message outline. └ @ Atom C:\\Users\\NG.julia\\packages\\Atom\\E4PBh\\src\\comm.jl:171 I have Atom v0.8.5. I already followed thi…

---

## [Julia 1.2 not signed correctly on macOS?](https://discourse.julialang.org/t/julia-1-2-not-signed-correctly-on-macos/28396)

<div class="topic-metadata">

**Author:** [@dgleich](https://discourse.julialang.org/u/dgleich)\
**Replies:** 4\
**Last updated:** [October 8, 2019, 2:57pm UTC](https://discourse.julialang.org/t/julia-1-2-not-signed-correctly-on-macos/28396 "2019-10-08T14:57:29Z")

</div>

I’m not new to Julia, but when I downloaded the macOS package for Julia, opened it, moved the package to the Applications directory, and launched it, I get. “Julia-1.2” can’t be opened because it is from an unidentified…

---

## [Unpack arguments from an array into function](https://discourse.julialang.org/t/unpack-arguments-from-an-array-into-function/29656)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 2\
**Last updated:** [October 8, 2019, 2:47pm UTC](https://discourse.julialang.org/t/unpack-arguments-from-an-array-into-function/29656 "2019-10-08T14:47:20Z")

</div>

If I have an array of arguments, say args = \[arg1, arg2, agr3\] how do you unpack them into a function f that take as arguments the entries from args, namely f(arg1, agr2, arg3). in python it goes something like f(\*…

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

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