# Latest

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

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

**Page:** 1780

---

## [\[ANN\] Releasing RecipesBase 1.0 and Plots 1.0 (please read)](https://discourse.julialang.org/t/ann-releasing-recipesbase-1-0-and-plots-1-0-please-read/37056)

<div class="topic-metadata">

**Author:** [@daschw](https://discourse.julialang.org/u/daschw)\
**Replies:** 16\
**Last updated:** [April 9, 2020, 4:10pm UTC](https://discourse.julialang.org/t/ann-releasing-recipesbase-1-0-and-plots-1-0-please-read/37056 "2020-04-09T16:10:26Z")

</div>

Everyone, we’re updating the version of Plots and RecipesBase to 1.0. The packages are already fairly mature, the interface has solidified and breaking releases are few. Of course, there are still open issues and develop…

---

## [Hessian-vector product in place with ReverseDiff](https://discourse.julialang.org/t/hessian-vector-product-in-place-with-reversediff/37280)

<div class="topic-metadata">

**Author:** [@dpo](https://discourse.julialang.org/u/dpo)\
**Replies:** 7\
**Last updated:** [April 9, 2020, 3:56pm UTC](https://discourse.julialang.org/t/hessian-vector-product-in-place-with-reversediff/37280 "2020-04-09T15:56:28Z")

</div>

I posted this question of the autodiff Slack channel but haven’t heard back. I’m trying to compute Hessian-vector products in place with ReverseDiff. I tried the following julia\> function arglina(x) n = length…

---

## [JSON3 loading recursive structures](https://discourse.julialang.org/t/json3-loading-recursive-structures/37283)

<div class="topic-metadata">

**Author:** [@racinmat](https://discourse.julialang.org/u/racinmat)\
**Replies:** 0\
**Last updated:** [April 9, 2020, 3:08pm UTC](https://discourse.julialang.org/t/json3-loading-recursive-structures/37283 "2020-04-09T15:08:36Z")

</div>

Hi, I see that GitHub - quinnj/JSON3.jl can be used for writing and reading data to custom structures, specifically from this package https://github.com/pevnak/JsonGrinder.jl/tree/master/src/extractors. I want to use it…

---

## [Julia 1.3: unable to add/update packages](https://discourse.julialang.org/t/julia-1-3-unable-to-add-update-packages/37278)

<div class="topic-metadata">

**Author:** [@mike\_k](https://discourse.julialang.org/u/mike_k)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 3:05pm UTC](https://discourse.julialang.org/t/julia-1-3-unable-to-add-update-packages/37278 "2020-04-09T15:05:47Z")

</div>

Dear folks, when I try to add packages or to update existing ones in v(1.3) pkg\> the procedures hang in Resolving package versions... When I abort manually with ctrl+c the following error appears: ERROR: Unable to aut…

---

## [Get new type with different parameter](https://discourse.julialang.org/t/get-new-type-with-different-parameter/37253)

<div class="topic-metadata">

**Author:** [@jonniedie](https://discourse.julialang.org/u/jonniedie)\
**Replies:** 5\
**Last updated:** [April 9, 2020, 1:26pm UTC](https://discourse.julialang.org/t/get-new-type-with-different-parameter/37253 "2020-04-09T13:26:10Z")

</div>

How do I get a type with a different parameter? Let’s say I have some T where T\<:SomeType{P} and I want the type SomeType{Q}. I can’t just do T{Q} because T is a concrete type.

---

## [Does Julia VS Code extension v0.11.6 support Julia 1.4?](https://discourse.julialang.org/t/does-julia-vs-code-extension-v0-11-6-support-julia-1-4/37277)

<div class="topic-metadata">

**Author:** [@Dito](https://discourse.julialang.org/u/Dito)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 1:10pm UTC](https://discourse.julialang.org/t/does-julia-vs-code-extension-v0-11-6-support-julia-1-4/37277 "2020-04-09T13:10:20Z")

</div>

Can I use v0.11.6 extension for Julia 1.4?

---

## [Bimodal Gaussian Distribution](https://discourse.julialang.org/t/bimodal-gaussian-distribution/37274)

<div class="topic-metadata">

**Author:** [@ennvvy](https://discourse.julialang.org/u/ennvvy)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 12:46pm UTC](https://discourse.julialang.org/t/bimodal-gaussian-distribution/37274 "2020-04-09T12:46:46Z")

</div>

I am trying to generate random numbers using a Gaussian distribution with two means. I looked up the Distributions and StatsBase packages, but could not find functions in them to generate such a function. Can someone sug…

---

## [ERROR: Unsatisfiable requirements detected for package TreeViews \[a2a6695c\]](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-treeviews-a2a6695c/37117)

<div class="topic-metadata">

**Author:** [@Henderson](https://discourse.julialang.org/u/Henderson)\
**Replies:** 9\
**Last updated:** [April 9, 2020, 11:39am UTC](https://discourse.julialang.org/t/error-unsatisfiable-requirements-detected-for-package-treeviews-a2a6695c/37117 "2020-04-09T11:39:26Z")

</div>

Hi, when i start Julia in Atom, the REPL returns me the following (I installed the version 1.4.0): "Hold on tight while we are installing some packages for you. This should only take a few seconds… Activating environm…

---

## [Precompiled libraries](https://discourse.julialang.org/t/precompiled-libraries/37201)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 7\
**Last updated:** [April 9, 2020, 11:10am UTC](https://discourse.julialang.org/t/precompiled-libraries/37201 "2020-04-09T11:10:30Z")

</div>

Hi, Where can I find a collection of precompiled libraries for Julia? The very long times I have to wait to compile libraries such as Flux and even BSON is getting to me. Thanks.

---

## [\[ANN\] New package QuadraticFormsMGHyp](https://discourse.julialang.org/t/ann-new-package-quadraticformsmghyp/37100)

<div class="topic-metadata">

**Author:** [@s-broda](https://discourse.julialang.org/u/s-broda)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 10:43am UTC](https://discourse.julialang.org/t/ann-new-package-quadraticformsmghyp/37100 "2020-04-09T10:43:19Z")

</div>

Dear all I’m announcing the availability of QuadraticFormsMGHyp.jl. The purpose of the package is to compute tail probabilities and partial moments of L\\equiv a\_0+\\mathbf{a}^{\\mathrm{\\scriptscriptstyle T}}X+X^{\\mathrm…

---

## [Can I add registry dependency of a package?](https://discourse.julialang.org/t/can-i-add-registry-dependency-of-a-package/37268)

<div class="topic-metadata">

**Author:** [@paalon](https://discourse.julialang.org/u/paalon)\
**Replies:** 3\
**Last updated:** [April 9, 2020, 9:14am UTC](https://discourse.julialang.org/t/can-i-add-registry-dependency-of-a-package/37268 "2020-04-09T09:14:50Z")

</div>

I know I can add registry (not only General) by Pkg.Registry.add but can I add the dependency on the registry to a package or a project (like Project.toml ) ?

---

## [Sokoban and Julia](https://discourse.julialang.org/t/sokoban-and-julia/37227)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 8:47am UTC](https://discourse.julialang.org/t/sokoban-and-julia/37227 "2020-04-09T08:47:08Z")

</div>

Hi, just for a curiosity, did played with reinforcement learning to solve sokoban? Is there any repo, which would allow to play with it? Thanks for response, Tomas

---

## [Estimating parameters of a function for curve fitting](https://discourse.julialang.org/t/estimating-parameters-of-a-function-for-curve-fitting/32404)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 11\
**Last updated:** [April 9, 2020, 8:37am UTC](https://discourse.julialang.org/t/estimating-parameters-of-a-function-for-curve-fitting/32404 "2020-04-09T08:37:36Z")

</div>

I have some data that has missing values. I am trying to fit a curve on this data, using Richard’s Model which is \\begin{aligned} I(t)=& \\frac{K}{\\left\[1+e^{-r a(t-\\tau)}\\right\] \\frac{1}{a}} \\end{aligned} where K is …

---

## [Best practice for large-scale models in JuMP?](https://discourse.julialang.org/t/best-practice-for-large-scale-models-in-jump/37256)

<div class="topic-metadata">

**Author:** [@olugovoy](https://discourse.julialang.org/u/olugovoy)\
**Replies:** 2\
**Last updated:** [April 9, 2020, 2:23am UTC](https://discourse.julialang.org/t/best-practice-for-large-scale-models-in-jump/37256 "2020-04-09T02:23:12Z")

</div>

Hi there, We are translating a large scale LP model from GAMS to Julia/JuMP. Large-scale means, there are a number of sets (regions, years, sub-annual time resolution - days and hours, technologies, etc.) and 2-5 dimen…

---

## [Cannot assign value to variable named data](https://discourse.julialang.org/t/cannot-assign-value-to-variable-named-data/37248)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 3\
**Last updated:** [April 8, 2020, 10:39pm UTC](https://discourse.julialang.org/t/cannot-assign-value-to-variable-named-data/37248 "2020-04-08T22:39:21Z")

</div>

Here is MWE: using Flux.Data.MNIST data = 3 I get the error: There is no variable called “data” in the Atom workspace: Any ideas? This is rather bothersome. I may have typed in, for testing reasons: const data = …

---

## [Tuple with unknown n elements](https://discourse.julialang.org/t/tuple-with-unknown-n-elements/37249)

<div class="topic-metadata">

**Author:** [@Locust](https://discourse.julialang.org/u/Locust)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 10:27pm UTC](https://discourse.julialang.org/t/tuple-with-unknown-n-elements/37249 "2020-04-08T22:27:10Z")

</div>

I need to define a tuple of n elements ie (1,2,3,..,n) where n is the argument of function f as below function f(n) … None of the following work x=(1,2,3,..,n) x=(i, i=1:n) … end

---

## [Recommended replacement for Pkg.installed()](https://discourse.julialang.org/t/recommended-replacement-for-pkg-installed/37240)

<div class="topic-metadata">

**Author:** [@Gaston](https://discourse.julialang.org/u/Gaston)\
**Replies:** 2\
**Last updated:** [April 8, 2020, 9:34pm UTC](https://discourse.julialang.org/t/recommended-replacement-for-pkg-installed/37240 "2020-04-08T21:34:59Z")

</div>

Hi, I’m using Pkg.installed() to check if I have what I need in two different machines that run the same code. After upgrading to julia 1.4 I get the following warning: Warning: Pkg.installed() is deprecated But don’t…

---

## [Avoid error message for function name conflict](https://discourse.julialang.org/t/avoid-error-message-for-function-name-conflict/37176)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 9\
**Last updated:** [April 8, 2020, 8:57pm UTC](https://discourse.julialang.org/t/avoid-error-message-for-function-name-conflict/37176 "2020-04-08T20:57:27Z")

</div>

Hi, Is there a convenient way to avoid the error message when using two modules which export a function the same name? Scenario is that package A depends on B and C. C just added a function which collides with one in B…

---

## [Is a way to use differential equation as multiple variable function for regression?](https://discourse.julialang.org/t/is-a-way-to-use-differential-equation-as-multiple-variable-function-for-regression/37202)

<div class="topic-metadata">

**Author:** [@PharmCat](https://discourse.julialang.org/u/PharmCat)\
**Replies:** 5\
**Last updated:** [April 8, 2020, 8:14pm UTC](https://discourse.julialang.org/t/is-a-way-to-use-differential-equation-as-multiple-variable-function-for-regression/37202 "2020-04-08T20:14:38Z")

</div>

I have a function: dx/dt = f(x, y) = (p1 + y) \* x + p2 \* sqrt(x) where p1, p2 - parameter for optimization Is a way to make solution like sol(t, y) for nonlinear model fitting? Can it be done with DifferentialEquation…

---

## [Built in exponentiation for \`Any\` type](https://discourse.julialang.org/t/built-in-exponentiation-for-any-type/37083)

<div class="topic-metadata">

**Author:** [@Gyoshi](https://discourse.julialang.org/u/Gyoshi)\
**Replies:** 11\
**Last updated:** [April 8, 2020, 7:59pm UTC](https://discourse.julialang.org/t/built-in-exponentiation-for-any-type/37083 "2020-04-08T19:59:31Z")

</div>

A really cool thing about the definition of ^ is that for any custom type MyType\<:Number, for x::MyType and p::Integer \> 0, x^p will work as long as multiplication Base.:\*(a::MyType, b::MyType) is defined. Why is this …

---

## [Issues Importing Turing Linux](https://discourse.julialang.org/t/issues-importing-turing-linux/37132)

<div class="topic-metadata">

**Author:** [@nucklass](https://discourse.julialang.org/u/nucklass)\
**Replies:** 4\
**Last updated:** [April 8, 2020, 7:25pm UTC](https://discourse.julialang.org/t/issues-importing-turing-linux/37132 "2020-04-08T19:25:33Z")

</div>

New to Linux but familiar (enough) with Turing. Having an issue get Turing to run on Ubuntu. I’ve been able to run Turing in windows, but getting some errors I’ve never seen before now. Currently running Julia 1.4.0. Her…

---

## [Possible to have a type of discrete values/floats?](https://discourse.julialang.org/t/possible-to-have-a-type-of-discrete-values-floats/37158)

<div class="topic-metadata">

**Author:** [@mlanghinrichs](https://discourse.julialang.org/u/mlanghinrichs)\
**Replies:** 7\
**Last updated:** [April 8, 2020, 6:13pm UTC](https://discourse.julialang.org/t/possible-to-have-a-type-of-discrete-values-floats/37158 "2020-04-08T18:13:15Z")

</div>

Hi all, Maybe it’s a silly question, but I have some code where I naturally pass around Float64s into my functions. For some part of the operations however, these are always discrete (so in this part alone they could as…

---

## [How to use sysimage in jupyter?](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207)

<div class="topic-metadata">

**Author:** [@phelipe](https://discourse.julialang.org/u/phelipe)\
**Replies:** 6\
**Last updated:** [April 8, 2020, 5:00pm UTC](https://discourse.julialang.org/t/how-to-use-sysimage-in-jupyter/37207 "2020-04-08T17:00:43Z")

</div>

How to use custom julia sysimage in jupyter?

---

## [Standard package not found in current path when using Pkg environment](https://discourse.julialang.org/t/standard-package-not-found-in-current-path-when-using-pkg-environment/14662)

<div class="topic-metadata">

**Author:** [@colintbowers](https://discourse.julialang.org/u/colintbowers)\
**Replies:** 3\
**Last updated:** [April 8, 2020, 3:31pm UTC](https://discourse.julialang.org/t/standard-package-not-found-in-current-path-when-using-pkg-environment/14662 "2020-04-08T15:31:31Z")

</div>

Hi all, I’m just in the final stages of updating a package for v1.0 (I’m currently testing it on v0.7). My problem is as follows. I start up a fresh REPL session, an hit \] to start the package mode. I activate my packag…

---

## [PPL collaboration](https://discourse.julialang.org/t/ppl-collaboration/26145)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 33\
**Last updated:** [April 8, 2020, 3:06pm UTC](https://discourse.julialang.org/t/ppl-collaboration/26145 "2020-04-08T15:06:35Z")

</div>

@mohamed82008 opened this issue on @Elrod’s ProbabilityModels.jl library, closing with Finally, would you be interested in joining forces? There’s some good discussion here, but it drifted a bit from anything specifi…

---

## [Unexpected OutOfMemory error on HPC](https://discourse.julialang.org/t/unexpected-outofmemory-error-on-hpc/37190)

<div class="topic-metadata">

**Author:** [@AhmedAlreweny](https://discourse.julialang.org/u/AhmedAlreweny)\
**Replies:** 17\
**Last updated:** [April 8, 2020, 2:43pm UTC](https://discourse.julialang.org/t/unexpected-outofmemory-error-on-hpc/37190 "2020-04-08T14:43:55Z")

</div>

Hello, I am using an HPC cluster to run a code that involves solving 2 huge sparse linear systems. I was able to test the code on my windows machine with 16GB memory. I used the macro @time to monitor the memory allocat…

---

## [\[ANN\] AdversarialPrediction.jl | Easily optimize generic performance metrics in differentiable learning](https://discourse.julialang.org/t/ann-adversarialprediction-jl-easily-optimize-generic-performance-metrics-in-differentiable-learning/31804)

<div class="topic-metadata">

**Author:** [@raff](https://discourse.julialang.org/u/raff)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 1:23pm UTC](https://discourse.julialang.org/t/ann-adversarialprediction-jl-easily-optimize-generic-performance-metrics-in-differentiable-learning/31804 "2020-04-08T13:23:05Z")

</div>

I am excited to announce a new approach for optimizing generic performance metrics (including non-decomposable metrics) in differentiable learning. AdversarialPrediction.jl provides a Julia implementation of the framewor…

---

## [Dispatch on NamedTuple](https://discourse.julialang.org/t/dispatch-on-namedtuple/37154)

<div class="topic-metadata">

**Author:** [@corbat](https://discourse.julialang.org/u/corbat)\
**Replies:** 3\
**Last updated:** [April 8, 2020, 1:06pm UTC](https://discourse.julialang.org/t/dispatch-on-namedtuple/37154 "2020-04-08T13:06:50Z")

</div>

Hi, I was wondering if there is a way to dispatch on NamedTuple function arguments based on the types used within the NamedTuple without knowing the number of elements inside but with all elements having the same type. …

---

## [Second order cone constraint in JuMP 0.19 with JuMP solver](https://discourse.julialang.org/t/second-order-cone-constraint-in-jump-0-19-with-jump-solver/37214)

<div class="topic-metadata">

**Author:** [@Chengda\_Ji](https://discourse.julialang.org/u/Chengda_Ji)\
**Replies:** 1\
**Last updated:** [April 8, 2020, 12:18pm UTC](https://discourse.julialang.org/t/second-order-cone-constraint-in-jump-0-19-with-jump-solver/37214 "2020-04-08T12:18:08Z")

</div>

Hi all, When trying to implement the SOCP in JuMP and Mosek, the Mosek solver stalls and SLOW\_PROGRESS JuMP status show up. After checking the results, I notice that it is not feasible, and the upper bounds are depresse…

---

## [Persistent plotly in IJulia](https://discourse.julialang.org/t/persistent-plotly-in-ijulia/37225)

<div class="topic-metadata">

**Author:** [@isentropic](https://discourse.julialang.org/u/isentropic)\
**Replies:** 0\
**Last updated:** [April 8, 2020, 9:00am UTC](https://discourse.julialang.org/t/persistent-plotly-in-ijulia/37225 "2020-04-08T09:00:00Z")

</div>

How can I have Plots.jl plotlyjs backend draw persistent figures in Jupyter notebooks?That is, when a session ends and jupyter is turned off, after coming back to the notebook, the plots produced by plotlyjs disappear. …

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

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