# Latest

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

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

**Page:** 1702

---

## [Error while loading DynamicalSystems](https://discourse.julialang.org/t/error-while-loading-dynamicalsystems/42358)

<div class="topic-metadata">

**Author:** [@Sup97](https://discourse.julialang.org/u/Sup97)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 9:52am UTC](https://discourse.julialang.org/t/error-while-loading-dynamicalsystems/42358 "2020-07-01T09:52:33Z")

</div>

Continuing the discussion from Get Error to load packages in Julia Console: Sir, I am facing same problem in case of “DynamicalSystems” .package.Also run Pkg.build().But still giving same error message while going to l…

---

## [Help with Zygote and parameters](https://discourse.julialang.org/t/help-with-zygote-and-parameters/42329)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 6\
**Last updated:** [July 1, 2020, 9:39am UTC](https://discourse.julialang.org/t/help-with-zygote-and-parameters/42329 "2020-07-01T09:39:38Z")

</div>

I’m having a hard time figuring out why this works: using Zygote W, b = rand(2, 3), rand(2) predict(x) = W\*x .+ b g = gradient(() -\> sum(predict(\[1,2,3\])), Params(\[W, b\])) g\[W\], g\[b\] but this doesn’t: using Zygote a =…

---

## [Scheduling Execution of julia Scripts](https://discourse.julialang.org/t/scheduling-execution-of-julia-scripts/42345)

<div class="topic-metadata">

**Author:** [@hafez\_ahmad](https://discourse.julialang.org/u/hafez_ahmad)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 9:25am UTC](https://discourse.julialang.org/t/scheduling-execution-of-julia-scripts/42345 "2020-07-01T09:25:05Z")

</div>

I have a Julia (1.4, windows machine ) data analysis and plotting scripts of the customers which I update every day. now how I can Scheduling for the execution automatically after like a day or every 6 hours? I did it i…

---

## [A community convention for target function return values](https://discourse.julialang.org/t/a-community-convention-for-target-function-return-values/42248)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 12\
**Last updated:** [July 1, 2020, 9:02am UTC](https://discourse.julialang.org/t/a-community-convention-for-target-function-return-values/42248 "2020-07-01T09:02:58Z")

</div>

In many packages, we deal with target functions, either in linear or log-space, that will then be the object of optimization, statistical density sampling (esp. in Bayesian statistics, etc.), machine-learning, etc. Curr…

---

## [Statistics functions on GPU?](https://discourse.julialang.org/t/statistics-functions-on-gpu/42245)

<div class="topic-metadata">

**Author:** [@ogoid](https://discourse.julialang.org/u/ogoid)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 8:12am UTC](https://discourse.julialang.org/t/statistics-functions-on-gpu/42245 "2020-07-01T08:12:43Z")

</div>

Are there available any GPU implementations of the Statistics functions (cor, cov etc.)? Many of the functions on the Statistics module throw the “scalar getindex is disallowed” warning/error. Eg: julia\> Statistics.cor(…

---

## [On OS X Catalina, running 'solve' in DifferentialEquations causes crash](https://discourse.julialang.org/t/on-os-x-catalina-running-solve-in-differentialequations-causes-crash/42109)

<div class="topic-metadata">

**Author:** [@perseid28](https://discourse.julialang.org/u/perseid28)\
**Replies:** 23\
**Last updated:** [July 1, 2020, 7:58am UTC](https://discourse.julialang.org/t/on-os-x-catalina-running-solve-in-differentialequations-causes-crash/42109 "2020-07-01T07:58:46Z")

</div>

On my MacBook Pro, I have encountered a number of kernel crashes while running the ‘solve’ command from the DifferentialEquations.jl package. One such situation occurs when I run the exact code from Example 3 here: Ordin…

---

## [Julia vs GNU Octave for plot fitting / finding peaks](https://discourse.julialang.org/t/julia-vs-gnu-octave-for-plot-fitting-finding-peaks/42237)

<div class="topic-metadata">

**Author:** [@doronbehar](https://discourse.julialang.org/u/doronbehar)\
**Replies:** 16\
**Last updated:** [July 1, 2020, 7:33am UTC](https://discourse.julialang.org/t/julia-vs-gnu-octave-for-plot-fitting-finding-peaks/42237 "2020-07-01T07:33:34Z")

</div>

I’m currently using GNU octave to fit a simple cosine with a phase to many data sets stored in text files. For most data sets, the fit works well, but for some others, it doesn’t. I’m wondering whether I’d be able to get…

---

## [Dict issue?](https://discourse.julialang.org/t/dict-issue/42338)

<div class="topic-metadata">

**Author:** [@vinhphunguyen](https://discourse.julialang.org/u/vinhphunguyen)\
**Replies:** 10\
**Last updated:** [July 1, 2020, 7:31am UTC](https://discourse.julialang.org/t/dict-issue/42338 "2020-07-01T07:31:24Z")

</div>

I made a dictionary to store some inputs to a function, see below data = Dict() data\["total\_time"\] = 0.3 data\["time"\] = 0. data\["dt"\] = 1e-3 function f(…

---

## [To create a file in Julia](https://discourse.julialang.org/t/to-create-a-file-in-julia/20312)

<div class="topic-metadata">

**Author:** [@Chubatov](https://discourse.julialang.org/u/Chubatov)\
**Replies:** 3\
**Last updated:** [July 1, 2020, 7:02am UTC](https://discourse.julialang.org/t/to-create-a-file-in-julia/20312 "2020-07-01T07:02:24Z")

</div>

Hi! One problem. How do I create a text document and write data to it?

---

## [How do I create syntactic sugar for Julia functions?](https://discourse.julialang.org/t/how-do-i-create-syntactic-sugar-for-julia-functions/42312)

<div class="topic-metadata">

**Author:** [@Lucas\_Queiroz](https://discourse.julialang.org/u/Lucas_Queiroz)\
**Replies:** 19\
**Last updated:** [July 1, 2020, 3:18am UTC](https://discourse.julialang.org/t/how-do-i-create-syntactic-sugar-for-julia-functions/42312 "2020-07-01T03:18:57Z")

</div>

For example, if I have a function “f(x, y)” and want to abbreviate it with “x S y”, how can it be done?

---

## [Multiple 2D plots with both axes logarithmically scaled](https://discourse.julialang.org/t/multiple-2d-plots-with-both-axes-logarithmically-scaled/42333)

<div class="topic-metadata">

**Author:** [@fusion809](https://discourse.julialang.org/u/fusion809)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 4:44am UTC](https://discourse.julialang.org/t/multiple-2d-plots-with-both-axes-logarithmically-scaled/42333 "2020-07-01T04:44:42Z")

</div>

I’m doing some error analysis and it would be handy if I could display errors with both axes scaled logarithmically in multiple separate plot windows. See, I have four vectors (diffc1, diffc2, diffc3, diffc4) containing …

---

## [Types of arguments within functions](https://discourse.julialang.org/t/types-of-arguments-within-functions/42337)

<div class="topic-metadata">

**Author:** [@alphasig329](https://discourse.julialang.org/u/alphasig329)\
**Replies:** 4\
**Last updated:** [July 1, 2020, 4:32am UTC](https://discourse.julialang.org/t/types-of-arguments-within-functions/42337 "2020-07-01T04:32:09Z")

</div>

I have writing a function where both arguments can either be an array of Bool, Int64, and String values. I would prefer not to specify both arguments (less space) but rather substitute a substitute Type something like th…

---

## [JuliaDB signal (11) segmentation fault](https://discourse.julialang.org/t/juliadb-signal-11-segmentation-fault/41604)

<div class="topic-metadata">

**Author:** [@alphasig329](https://discourse.julialang.org/u/alphasig329)\
**Replies:** 3\
**Last updated:** [July 1, 2020, 3:17am UTC](https://discourse.julialang.org/t/juliadb-signal-11-segmentation-fault/41604 "2020-07-01T03:17:05Z")

</div>

I have been using JuliaDB for the past two months trying to transition from R. I recently updated packages using a source-compiled version of the stable Julia release (1.4.2) with the Intel MKL libraries and I have been …

---

## [How to compare non-missing elements of two DataFrames](https://discourse.julialang.org/t/how-to-compare-non-missing-elements-of-two-dataframes/42326)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 3\
**Last updated:** [July 1, 2020, 3:04am UTC](https://discourse.julialang.org/t/how-to-compare-non-missing-elements-of-two-dataframes/42326 "2020-07-01T03:04:07Z")

</div>

Seeking terseness in order to keep my @testset readable. In this particular @test, query responses (as DataFrames) need to be checked for accuracy. There has to be a better way to do this: response = DataFrame(:a=\>\["a…

---

## [How to dismiss editor tips on vars](https://discourse.julialang.org/t/how-to-dismiss-editor-tips-on-vars/42335)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 2:33am UTC](https://discourse.julialang.org/t/how-to-dismiss-editor-tips-on-vars/42335 "2020-07-01T02:33:38Z")

</div>

Sometimes these tips pop up and obscure the line, there seems to be no option to dismiss on the tip itself. Is there some way to globally toggle these off? Example of tip with dismissal option: Example of tip withou…

---

## ["Merge" environments](https://discourse.julialang.org/t/merge-environments/19742)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 2\
**Last updated:** [July 1, 2020, 2:22am UTC](https://discourse.julialang.org/t/merge-environments/19742 "2020-07-01T02:22:38Z")

</div>

I have a Project+Manifest file and I would like to add packages as specified by the Manifest file into into another environment (say the global one). Is this possible?

---

## [Manual overide with Registry commit error](https://discourse.julialang.org/t/manual-overide-with-registry-commit-error/42330)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 2:14am UTC](https://discourse.julialang.org/t/manual-overide-with-registry-commit-error/42330 "2020-07-01T02:14:45Z")

</div>

Hi, I need someone to manually review my pull request on the General Registry https://github.com/JuliaRegistries/General/pull/17272 Would be good to get fixed as soon as possible, since this dependency is needed.

---

## [Solve large number of linear inequalities with dynamic arrays](https://discourse.julialang.org/t/solve-large-number-of-linear-inequalities-with-dynamic-arrays/41821)

<div class="topic-metadata">

**Author:** [@LHR](https://discourse.julialang.org/u/LHR)\
**Replies:** 3\
**Last updated:** [July 1, 2020, 1:15am UTC](https://discourse.julialang.org/t/solve-large-number-of-linear-inequalities-with-dynamic-arrays/41821 "2020-07-01T01:15:59Z")

</div>

Hi, I am trying to make a script to remove dominated strategies from a pay-off matrix G for a game-theoretical problem that I have (2-player game, finite discrete strategy sets). The goal is to automate the iterative e…

---

## [Error in using PyPlot in JuliaPro](https://discourse.julialang.org/t/error-in-using-pyplot-in-juliapro/25400)

<div class="topic-metadata">

**Author:** [@BobbyLee777](https://discourse.julialang.org/u/BobbyLee777)\
**Replies:** 12\
**Last updated:** [July 1, 2020, 12:49am UTC](https://discourse.julialang.org/t/error-in-using-pyplot-in-juliapro/25400 "2020-07-01T00:49:43Z")

</div>

Can anyone tell me why the PyPlot doesn’t work even though I have installed PyPlot and PyCall ? The version of my JuliaPro is 1.1.1.1. Here is the error message: julia\> using PyPlot \[ Info: Precompiling PyPlot \[d330…

---

## [Julia v1.5.0-rc1 is now available](https://discourse.julialang.org/t/julia-v1-5-0-rc1-is-now-available/42164)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 6\
**Last updated:** [July 1, 2020, 12:48am UTC](https://discourse.julialang.org/t/julia-v1-5-0-rc1-is-now-available/42164 "2020-07-01T00:48:50Z")

</div>

The Julia developers are pleased to announce that the first release candidate for Julia v1.5.0 is now available. Binaries for the release candidate, 1.5.0-rc1, can be found at Download Julia in the “upcoming release” sec…

---

## [Least squares with multi-dimensional output type](https://discourse.julialang.org/t/least-squares-with-multi-dimensional-output-type/42283)

<div class="topic-metadata">

**Author:** [@akahs](https://discourse.julialang.org/u/akahs)\
**Replies:** 3\
**Last updated:** [July 1, 2020, 12:22am UTC](https://discourse.julialang.org/t/least-squares-with-multi-dimensional-output-type/42283 "2020-07-01T00:22:53Z")

</div>

I am trying to use LsqFit to find out a 2D geometric transformation parameter, say a mapping from (x,y) to (xp,yp): x = \[x for x=-2.:2. for y=-2.:2.\] y = \[y for x=-2.:2. for y=-2.:2.\] in\_data = \[x y\] k = -0.02 @. xp = x…

---

## [Downgrade a package without version number?](https://discourse.julialang.org/t/downgrade-a-package-without-version-number/42324)

<div class="topic-metadata">

**Author:** [@Ken\_Lin](https://discourse.julialang.org/u/Ken_Lin)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 11:03pm UTC](https://discourse.julialang.org/t/downgrade-a-package-without-version-number/42324 "2020-06-30T23:03:53Z")

</div>

Hi, I’m using a package cloned from github in Julia 1.3.1 The owner of the package updated the code recently. I would like to try the new version, but since there is no corresponding version number, I wonder if it is po…

---

## [DiffEqBiological: getting the error "type Symbol has no field head"](https://discourse.julialang.org/t/diffeqbiological-getting-the-error-type-symbol-has-no-field-head/42296)

<div class="topic-metadata">

**Author:** [@Sanji\_Vinsmoke](https://discourse.julialang.org/u/Sanji_Vinsmoke)\
**Replies:** 5\
**Last updated:** [June 30, 2020, 9:43pm UTC](https://discourse.julialang.org/t/diffeqbiological-getting-the-error-type-symbol-has-no-field-head/42296 "2020-06-30T21:43:21Z")

</div>

I want to make a simple model of enzyme kinetics,but I keep getting some errors This is what I tried: rn = @reaction\_network begin k\_f, E + S → ES k\_r, ES → E + S k\_p, ES → P end and I get the error: type Sym…

---

## [How to subtype a type alias?](https://discourse.julialang.org/t/how-to-subtype-a-type-alias/24050)

<div class="topic-metadata">

**Author:** [@Olivier\_Merchiers](https://discourse.julialang.org/u/Olivier_Merchiers)\
**Replies:** 13\
**Last updated:** [June 30, 2020, 9:42pm UTC](https://discourse.julialang.org/t/how-to-subtype-a-type-alias/24050 "2020-06-30T21:42:01Z")

</div>

Hello everyone, I have a struct: struct MyType data :: Int end Now I want to create a vector of such structs: const MyVector = Vector{MyType} This works fine because I can make methods that dispatch on MyVector. …

---

## [Changing geom color in Gadfly](https://discourse.julialang.org/t/changing-geom-color-in-gadfly/41401)

<div class="topic-metadata">

**Author:** [@EricChameroy](https://discourse.julialang.org/u/EricChameroy)\
**Replies:** 6\
**Last updated:** [June 30, 2020, 9:10pm UTC](https://discourse.julialang.org/t/changing-geom-color-in-gadfly/41401 "2020-06-30T21:10:34Z")

</div>

Hi. I’m trying to change the line color in a graph I’m generating using Gadfly (in a Jupyter notebook). p = plot(Coord.cartesian(xmin=-2, xmax=2, ymin=-2, ymax=2)) for i in 1:50 push!(p, layer(x=d.A, y=prior\_dists.α\[i…

---

## [Function variable scope in IJulia Jupyter notebook](https://discourse.julialang.org/t/function-variable-scope-in-ijulia-jupyter-notebook/41792)

<div class="topic-metadata">

**Author:** [@Ken\_Lin](https://discourse.julialang.org/u/Ken_Lin)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 8:17pm UTC](https://discourse.julialang.org/t/function-variable-scope-in-ijulia-jupyter-notebook/41792 "2020-06-30T20:17:39Z")

</div>

I’m using IJulia Jupyter notebook with Julia 1.3.1 Say I define the following function: function r(x) @show b @show a a = 1+x+b return a end And if I run the code below: a = 5 b = 4 r(1) I will get …

---

## [Evaluation of product of Hermitian functions](https://discourse.julialang.org/t/evaluation-of-product-of-hermitian-functions/42316)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 8:03pm UTC](https://discourse.julialang.org/t/evaluation-of-product-of-hermitian-functions/42316 "2020-06-30T20:03:35Z")

</div>

Hello, I am working on expansion of a multivariate function f : R^k \\xrightarrow{} R onto a basis of product of univariates Hermite functions: f(x\_1, x\_2, \\ldots, x\_k) = \\sum\_{\\boldsymbol{\\alpha}} c\_{\\boldsymbol{\\alph…

---

## [Set depending of an index](https://discourse.julialang.org/t/set-depending-of-an-index/42322)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 7:41pm UTC](https://discourse.julialang.org/t/set-depending-of-an-index/42322 "2020-06-30T19:41:33Z")

</div>

Dear all, I have a constraint in a integer program like @constraint(modelo,\[j in J,i in I\], sum(x\[i,k,h\] for h in H for k in S\_j) \<= 1 ) My problem is how can I write this constraint by using the set S\_j. For exa…

---

## [Checking if two values are identical](https://discourse.julialang.org/t/checking-if-two-values-are-identical/42301)

<div class="topic-metadata">

**Author:** [@Nash](https://discourse.julialang.org/u/Nash)\
**Replies:** 17\
**Last updated:** [June 30, 2020, 6:48pm UTC](https://discourse.julialang.org/t/checking-if-two-values-are-identical/42301 "2020-06-30T18:48:34Z")

</div>

I am attempting to check if two values are identical and then do stuff if they are not. My check involves: stock\[id,3\] != flow\[v,3\] Unfortunately, I can get the following Any\[0\] and 0 and Julia interprets that as b…

---

## [Graphing a SimpleGraph](https://discourse.julialang.org/t/graphing-a-simplegraph/42271)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 6:36pm UTC](https://discourse.julialang.org/t/graphing-a-simplegraph/42271 "2020-06-30T18:36:14Z")

</div>

How do I plot a graph created with LightGraphs.jl. I have tried GraphRecipes, and a graph with 200 nodes and 400 edges takes too long to draw, even the second time. Ideally, I would like interactivity. More important i…

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

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