# Latest

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

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

**Page:** 1033

---

## [Set Up Julia Pro](https://discourse.julialang.org/t/set-up-julia-pro/81530)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 7:26pm UTC](https://discourse.julialang.org/t/set-up-julia-pro/81530 "2022-05-23T19:26:15Z")

</div>

Is it still possible to set up JuliaPro? I’d like to use JuliaInXL. If this is not valid, is there another option to integrate Julia into Excel?

---

## [JuliaInXl installation failed](https://discourse.julialang.org/t/juliainxl-installation-failed/60942)

<div class="topic-metadata">

**Author:** [@DavyB](https://discourse.julialang.org/u/DavyB)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 7:23pm UTC](https://discourse.julialang.org/t/juliainxl-installation-failed/60942 "2022-05-23T19:23:50Z")

</div>

Dear all, I’m trying to install JuliaInXl without success. (Windows 10, Julia 1.5 and Office 2013) When I launch the command Pkg.add(“JuliaInXl”), I have the following error message : ERROR: The following package nam…

---

## [How to use ldiv! correctly?](https://discourse.julialang.org/t/how-to-use-ldiv-correctly/81378)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 8\
**Last updated:** [May 23, 2022, 6:40pm UTC](https://discourse.julialang.org/t/how-to-use-ldiv-correctly/81378 "2022-05-23T18:40:12Z")

</div>

How to solve the below error when using ldiv!? julia\> Sn=\[1 2 3;0 4 0;0 0 1\] 3×3 Matrix{Int64}: 1 2 3 0 4 0 0 0 1 julia\> Rn =\[1,2,3\] 3-element Vector{Int64}: 1 2 3 julia\> Qn= zeros(3) 3-element Vector{Floa…

---

## [Interpolating scattered data points to create topological EEG voltage map](https://discourse.julialang.org/t/interpolating-scattered-data-points-to-create-topological-eeg-voltage-map/78622)

<div class="topic-metadata">

**Author:** [@AAlshammaa](https://discourse.julialang.org/u/AAlshammaa)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 6:11pm UTC](https://discourse.julialang.org/t/interpolating-scattered-data-points-to-create-topological-eeg-voltage-map/78622 "2022-05-23T18:11:01Z")

</div>

I have a dataset with EEG data that I read into Julia from Matlab file. The data is for a single time point from simultaneous 64 channels. Each channel has x, y coordinates, and value at those coordinates. My aim is to i…

---

## [Vline and hline don't work with ticks=:native Plotly](https://discourse.julialang.org/t/vline-and-hline-dont-work-with-ticks-native-plotly/81509)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 5:34pm UTC](https://discourse.julialang.org/t/vline-and-hline-dont-work-with-ticks-native-plotly/81509 "2022-05-23T17:34:14Z")

</div>

It seems like vline and hline have problems with ticks=:native in Plotly. using Plots plotly() plt1 = plot(ticks=:native) plot!(plt1, \[now()\], \[1\]) vline!(plt1, \[now()\]) Doesn’t work but without the vline! it does. The…

---

## [JuMP Termination\_status category](https://discourse.julialang.org/t/jump-termination-status-category/81524)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 5:29pm UTC](https://discourse.julialang.org/t/jump-termination-status-category/81524 "2022-05-23T17:29:00Z")

</div>

JuMP’s docs break termination status into 3 groups Solved, Solved to relaxed tolerances, limits, and problemantic. Is there a way to take a termination status and get which one of these groups it is in? I could write …

---

## [Makie Layoutables documentation and SliderGrid Example Error](https://discourse.julialang.org/t/makie-layoutables-documentation-and-slidergrid-example-error/81478)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 5\
**Last updated:** [May 23, 2022, 4:57pm UTC](https://discourse.julialang.org/t/makie-layoutables-documentation-and-slidergrid-example-error/81478 "2022-05-23T16:57:59Z")

</div>

I am having difficulty finding documentation on Makie layoutables. Blocks & Widgets has some nice examples but where can I find more detailed documentation on the various CURRENT blocks? In addition, the SliderGrid exa…

---

## [Warning when using "DiffEqFlux.sciml\_train" and "ModelingToolkit.structural\_simplify"](https://discourse.julialang.org/t/warning-when-using-diffeqflux-sciml-train-and-modelingtoolkit-structural-simplify/81449)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 8\
**Last updated:** [May 23, 2022, 3:56pm UTC](https://discourse.julialang.org/t/warning-when-using-diffeqflux-sciml-train-and-modelingtoolkit-structural-simplify/81449 "2022-05-23T15:56:43Z")

</div>

Hi All, I want to use “DiffEqFlux.sciml\_train” to get parameters after using “ModelingToolkit.structural\_simplify”. I’m able to get a reasonable result but have a weird warning: Warning: Warning: Unrecognized keyword …

---

## [How how send file with post in StippleUI.form?](https://discourse.julialang.org/t/how-how-send-file-with-post-in-stippleui-form/81390)

<div class="topic-metadata">

**Author:** [@Rafael\_Brus](https://discourse.julialang.org/u/Rafael_Brus)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 3:47pm UTC](https://discourse.julialang.org/t/how-how-send-file-with-post-in-stippleui-form/81390 "2022-05-23T15:47:19Z")

</div>

Why doesn’t this work? using Genie, Stipple using Genie.Requests using StippleUI Genie.config.cors\_headers\["Access-Control-Allow-Origin"\] = "\*" Genie.config.cors\_headers\["Access-Control-Allow-Headers"\] = "Content-Typ…

---

## [PyPlot and PyCall precompile error WSL](https://discourse.julialang.org/t/pyplot-and-pycall-precompile-error-wsl/65886)

<div class="topic-metadata">

**Author:** [@isolatedinformation](https://discourse.julialang.org/u/isolatedinformation)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 2:14pm UTC](https://discourse.julialang.org/t/pyplot-and-pycall-precompile-error-wsl/65886 "2022-05-23T14:14:07Z")

</div>

I am using Julia 1.6.1 in WSL. I tried to precompile the project at https://github.com/cduck/VLQ. I got the following error julia\> Pkg.precompile precompile (generic function with 2 methods) (vlq) pkg\> precompile Prec…

---

## [If mutiple dispatch is done at compile time, wouldn't that make things faster?](https://discourse.julialang.org/t/if-mutiple-dispatch-is-done-at-compile-time-wouldnt-that-make-things-faster/81496)

<div class="topic-metadata">

**Author:** [@thisismygitrepo](https://discourse.julialang.org/u/thisismygitrepo)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 1:44pm UTC](https://discourse.julialang.org/t/if-mutiple-dispatch-is-done-at-compile-time-wouldnt-that-make-things-faster/81496 "2022-05-23T13:44:11Z")

</div>

I’m not an expert in any sense, but can we not get MOAR speed if we don’t have to check types at runtime? So, if my code is statically styled, would that make it faster?

---

## [ModelingToolkit, Symbolics, Complex{}](https://discourse.julialang.org/t/modelingtoolkit-symbolics-complex/81505)

<div class="topic-metadata">

**Author:** [@Rohan\_Rajagopal](https://discourse.julialang.org/u/Rohan_Rajagopal)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 1:12pm UTC](https://discourse.julialang.org/t/modelingtoolkit-symbolics-complex/81505 "2022-05-23T13:12:11Z")

</div>

Greetings everyone, I have recently started using ModelingToolkit.jl. I am facing the following error with exponentiation, eqs\_1 = \[D(z1) ~ z1 \* ( μ + im \* ω\_1 - abs(z1)) + A \* ((cos(θ/ω\_2) + im\*sin(θ/ω\_2)) \* z2^μ), …

---

## [Declare type of @variable (e.g. complex) in ModelingToolkit.jl](https://discourse.julialang.org/t/declare-type-of-variable-e-g-complex-in-modelingtoolkit-jl/59563)

<div class="topic-metadata">

**Author:** [@Sciemon](https://discourse.julialang.org/u/Sciemon)\
**Replies:** 4\
**Last updated:** [May 23, 2022, 12:57pm UTC](https://discourse.julialang.org/t/declare-type-of-variable-e-g-complex-in-modelingtoolkit-jl/59563 "2022-05-23T12:57:27Z")

</div>

Is there a way to declare the type of a variable in ModelingToolkit.jl? For example something like @variables a(t)::complex I’m excited to start with ModelingToolkit.jl having followed its development for a while. In m…

---

## [Bug with @threads? Getting error iot instruction (core dumped)](https://discourse.julialang.org/t/bug-with-threads-getting-error-iot-instruction-core-dumped/81508)

<div class="topic-metadata">

**Author:** [@davibarreira](https://discourse.julialang.org/u/davibarreira)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 12:48pm UTC](https://discourse.julialang.org/t/bug-with-threads-getting-error-iot-instruction-core-dumped/81508 "2022-05-23T12:48:30Z")

</div>

I’m facing a strange problem, and I’m having some trouble figuring out why it’s happening. I have a script that donwloads a pdf from an S3 bucket, extracts the text from the pdf and writes the document to a MongoDB, usi…

---

## [Should large exponentials not yield Inf?](https://discourse.julialang.org/t/should-large-exponentials-not-yield-inf/81143)

<div class="topic-metadata">

**Author:** [@nil](https://discourse.julialang.org/u/nil)\
**Replies:** 15\
**Last updated:** [May 23, 2022, 12:41pm UTC](https://discourse.julialang.org/t/should-large-exponentials-not-yield-inf/81143 "2022-05-23T12:41:40Z")

</div>

I am wondering why some large exponentials yield wrong values, specifically always 1 or 0 julia\> 123^(456^789) 1 julia\> (0.1)^(456^789) 1.0 julia\> 456^789 0 This results in wrong values inside functions julia\> atan(…

---

## [ANN: Setfield 1.0](https://discourse.julialang.org/t/ann-setfield-1-0/81504)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 0\
**Last updated:** [May 23, 2022, 11:55am UTC](https://discourse.julialang.org/t/ann-setfield-1-0/81504 "2022-05-23T11:55:50Z")

</div>

I am happy to announce that Setfield.jl is now v1.0.0. Setfield.jl allows to easily produce updated copies of immutable data: using Setfield @set obj.a.b.c = d The package is now battle proven + stable for years and so…

---

## [MLJ.fit! complain "UndefVarError: level not defined" in a sysimage](https://discourse.julialang.org/t/mlj-fit-complain-undefvarerror-level-not-defined-in-a-sysimage/81499)

<div class="topic-metadata">

**Author:** [@tiZ](https://discourse.julialang.org/u/tiZ)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 9:48am UTC](https://discourse.julialang.org/t/mlj-fit-complain-undefvarerror-level-not-defined-in-a-sysimage/81499 "2022-05-23T09:48:45Z")

</div>

Hello, I try to fit a simple logistic regression in Julia, with a sysimage, which loaded these packages : “OhMyREPL” “Plots” “GLMakie” “DataFrames” “RCall” “PyCall” “CSV” “Flux” “Random” “TensorBoardLogger” Here is m…

---

## [Define variables on each elemnts of a vector of vectors](https://discourse.julialang.org/t/define-variables-on-each-elemnts-of-a-vector-of-vectors/81495)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 2\
**Last updated:** [May 23, 2022, 9:42am UTC](https://discourse.julialang.org/t/define-variables-on-each-elemnts-of-a-vector-of-vectors/81495 "2022-05-23T09:42:54Z")

</div>

I’m trying to find a way to define a varible x\_ijk where i in I is an n-elemnts vector of vectors, j in J and k in K are both vectors. In my case, always the length of K is equal to the number of vectors in I . The que…

---

## [Problem with surface() when using plots.jl and gr() backend](https://discourse.julialang.org/t/problem-with-surface-when-using-plots-jl-and-gr-backend/81458)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 4\
**Last updated:** [May 23, 2022, 7:49am UTC](https://discourse.julialang.org/t/problem-with-surface-when-using-plots-jl-and-gr-backend/81458 "2022-05-23T07:49:59Z")

</div>

I’m having a problem with a surface plot, using Plots.jl and the gr() backend. A minimal example is using Plots gr() #plotlyjs() x = range(0.9, length=100, stop=1.1) y= range(0.9, length=100, stop=1.1) p1 = surface(x, y…

---

## [Animated image to illustrate sequence of moves](https://discourse.julialang.org/t/animated-image-to-illustrate-sequence-of-moves/81412)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 5\
**Last updated:** [May 23, 2022, 7:20am UTC](https://discourse.julialang.org/t/animated-image-to-illustrate-sequence-of-moves/81412 "2022-05-23T07:20:30Z")

</div>

I would like to know if it is possible to show the solutions of this problem in a dynamic way with an animated sequence of images that illustrate the various steps of the solution sequence. In summary I have a nxn table…

---

## [Turing sampling from priors](https://discourse.julialang.org/t/turing-sampling-from-priors/81486)

<div class="topic-metadata">

**Author:** [@Aminath\_Shausan](https://discourse.julialang.org/u/Aminath_Shausan)\
**Replies:** 1\
**Last updated:** [May 23, 2022, 6:26am UTC](https://discourse.julialang.org/t/turing-sampling-from-priors/81486 "2022-05-23T06:26:12Z")

</div>

Hi, I am migrating to Turing.jl from Stan. I am trying to understand the coding of this example, and was wondering if there is a way to generate samples from priors? Also, is there a way to include a generated quantitie…

---

## [Is it ever logical to have arrays without indexing (diag(A) seems to be such a case, logical conclusion of generic programming)?](https://discourse.julialang.org/t/is-it-ever-logical-to-have-arrays-without-indexing-diag-a-seems-to-be-such-a-case-logical-conclusion-of-generic-programming/81471)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 4\
**Last updated:** [May 22, 2022, 11:31pm UTC](https://discourse.julialang.org/t/is-it-ever-logical-to-have-arrays-without-indexing-diag-a-seems-to-be-such-a-case-logical-conclusion-of-generic-programming/81471 "2022-05-22T23:31:30Z")

</div>

It seems like an absurd question, but is the logical conclusion I got to (for Vectors) through, yes, a contrived usage of OffsetArrays, explained here: Add an abstract type signaling e.g. OffsetArray safe to use (also ad…

---

## [Question about round?](https://discourse.julialang.org/t/question-about-round/81479)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 3\
**Last updated:** [May 23, 2022, 1:33am UTC](https://discourse.julialang.org/t/question-about-round/81479 "2022-05-23T01:33:12Z")

</div>

Dear all, In Matlab , \>\> round(2.5) ans = 3 But in Julia, julia\> round(2.5) 2.0 If I want to get the same result which is from Matlab, how to write the code in Julia?

---

## [Three million linear regressions](https://discourse.julialang.org/t/three-million-linear-regressions/81439)

<div class="topic-metadata">

**Author:** [@Baba\_Yara\_Fahiz](https://discourse.julialang.org/u/Baba_Yara_Fahiz)\
**Replies:** 4\
**Last updated:** [May 23, 2022, 12:52am UTC](https://discourse.julialang.org/t/three-million-linear-regressions/81439 "2022-05-23T00:52:39Z")

</div>

I am running three million regressions of the form below and I feel like I am leaving a lot of performance on the table. Can I get some tips to help speed things up? function test\_1(data\_0) EignVectors = rand(100, 12) …

---

## [How to specify barrier method to use?](https://discourse.julialang.org/t/how-to-specify-barrier-method-to-use/81290)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 6\
**Last updated:** [May 22, 2022, 11:39pm UTC](https://discourse.julialang.org/t/how-to-specify-barrier-method-to-use/81290 "2022-05-22T23:39:03Z")

</div>

I am trying to use the barrier method using Xpress solver, but I have not been able to find the right option/attribute anywhere. The Julia wrapper for Xpress doesn’t have much documentation. The official documentation st…

---

## [Question about sort?](https://discourse.julialang.org/t/question-about-sort/81475)

<div class="topic-metadata">

**Author:** [@Raymond](https://discourse.julialang.org/u/Raymond)\
**Replies:** 3\
**Last updated:** [May 22, 2022, 11:03pm UTC](https://discourse.julialang.org/t/question-about-sort/81475 "2022-05-22T23:03:50Z")

</div>

Dear all, how to get the index when using sort in Julia? In Matlab ,we can get the index easily when using sort, \>\> A = \[7, 3, 6, 4\]; \>\> \[A, inds\] = sort(A) A = 3 4 6 7 inds = 2 4 3 …

---

## [Joystick driver for Windows](https://discourse.julialang.org/t/joystick-driver-for-windows/81473)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [May 22, 2022, 10:37pm UTC](https://discourse.julialang.org/t/joystick-driver-for-windows/81473 "2022-05-22T22:37:42Z")

</div>

I am quite happy with the Joystick driver for Linux GitHub - ufechner7/Joysticks.jl: Joystick interface for Julia , but now people also want to have it on Windows. That seams to be difficult. As far as I understand ther…

---

## [Change the constraints name iteratively to JUMP model](https://discourse.julialang.org/t/change-the-constraints-name-iteratively-to-jump-model/81359)

<div class="topic-metadata">

**Author:** [@ayodyas](https://discourse.julialang.org/u/ayodyas)\
**Replies:** 1\
**Last updated:** [May 22, 2022, 8:34pm UTC](https://discourse.julialang.org/t/change-the-constraints-name-iteratively-to-jump-model/81359 "2022-05-22T20:34:12Z")

</div>

I am new to JUMP model and Julia, I have created a JUMP model, with a constraint inside a while loop I wanted to change the constraint name in each iteration and optimize the model again for example: if i=1 @cons…

---

## [Lasso Regression of Matrix of Vectors](https://discourse.julialang.org/t/lasso-regression-of-matrix-of-vectors/81470)

<div class="topic-metadata">

**Author:** [@Alexander\_Scott](https://discourse.julialang.org/u/Alexander_Scott)\
**Replies:** 2\
**Last updated:** [May 22, 2022, 8:30pm UTC](https://discourse.julialang.org/t/lasso-regression-of-matrix-of-vectors/81470 "2022-05-22T20:30:02Z")

</div>

Hi all, I’m currently using Convex.jl as one of the packages to solve an optimisation problem. I was wondering if anyone may able to offer any insight into the issue I’m facing. Currently, I am trying to perform a Lass…

---

## [Can \`where\` constrain type parameters that are instances, like \`where {T isa Symbol}\`](https://discourse.julialang.org/t/can-where-constrain-type-parameters-that-are-instances-like-where-t-isa-symbol/81443)

<div class="topic-metadata">

**Author:** [@Benny](https://discourse.julialang.org/u/Benny)\
**Replies:** 6\
**Last updated:** [May 22, 2022, 6:56pm UTC](https://discourse.julialang.org/t/can-where-constrain-type-parameters-that-are-instances-like-where-t-isa-symbol/81443 "2022-05-22T18:56:43Z")

</div>

where clauses can constrain type parameters that are types e.g. where T \<: Number, but I’m interested in constraining instances e.g. where T isa Symbol vs. where T isa Integer, which is not valid syntax. Is there a way t…

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

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