# Latest

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

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

**Page:** 1565

---

## [2D Finite element analysis](https://discourse.julialang.org/t/2d-finite-element-analysis/50679)

<div class="topic-metadata">

**Author:** [@Hrishikesh\_Das](https://discourse.julialang.org/u/Hrishikesh_Das)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 11:20am UTC](https://discourse.julialang.org/t/2d-finite-element-analysis/50679 "2020-11-24T11:20:40Z")

</div>

Hello everyone, I am very new to the Julia programming language. I am using a package JuAFEM to do a 2D plane stress linear finite element analysis of a simple square domain with boundary conditions and tensile loads to…

---

## [A question about scatter plot in Plots.jl](https://discourse.julialang.org/t/a-question-about-scatter-plot-in-plots-jl/50638)

<div class="topic-metadata">

**Author:** [@O\_Julia](https://discourse.julialang.org/u/O_Julia)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 11:02am UTC](https://discourse.julialang.org/t/a-question-about-scatter-plot-in-plots-jl/50638 "2020-11-24T11:02:37Z")

</div>

I have three variables as coordinates in space and a fourth variable being color. I want to assign each color to each point in space. In python this can be done as follows: from mpl\_toolkits.mplot3d import Axes3D import…

---

## [Arbitrary precision computations: BigFloat and ArbNumerics.jl](https://discourse.julialang.org/t/arbitrary-precision-computations-bigfloat-and-arbnumerics-jl/50645)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 8\
**Last updated:** [November 24, 2020, 9:41am UTC](https://discourse.julialang.org/t/arbitrary-precision-computations-bigfloat-and-arbnumerics-jl/50645 "2020-11-24T09:41:35Z")

</div>

Hey, I have troubles to understand why arbitrary precision in Julia has to go through C code, like biglofats (that uses the mpfr library), and ArbNumerics (that uses the Arb library). Although these are stunning packag…

---

## [\[ANN\] PowerSystems.jl Data structures in Julia to enable power systems analysis](https://discourse.julialang.org/t/ann-powersystems-jl-data-structures-in-julia-to-enable-power-systems-analysis/50668)

<div class="topic-metadata">

**Author:** [@jdlara-berkeley](https://discourse.julialang.org/u/jdlara-berkeley)\
**Replies:** 0\
**Last updated:** [November 24, 2020, 5:11am UTC](https://discourse.julialang.org/t/ann-powersystems-jl-data-structures-in-julia-to-enable-power-systems-analysis/50668 "2020-11-24T05:11:57Z")

</div>

I am happy to announce the release of PowerSystems.jl 1.0. After 3 years under development, we are sharing the news of the first release. The primary motivation is to provide model agnostic data structures that incent…

---

## [How to cancel assignment output in an if clause?](https://discourse.julialang.org/t/how-to-cancel-assignment-output-in-an-if-clause/50544)

<div class="topic-metadata">

**Author:** [@LuigiVampa](https://discourse.julialang.org/u/LuigiVampa)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 10:58pm UTC](https://discourse.julialang.org/t/how-to-cancel-assignment-output-in-an-if-clause/50544 "2020-11-23T22:58:24Z")

</div>

I know the semicolon at a=1; will cancel the output display at the REPL, but I get the output display 1 when I use the assignment in an if-clause: if variable == check a=1; end Sorry if this a very simple…

---

## [Ipopt Fails in ver. 1.5.3!](https://discourse.julialang.org/t/ipopt-fails-in-ver-1-5-3/50600)

<div class="topic-metadata">

**Author:** [@Amirrezz94](https://discourse.julialang.org/u/Amirrezz94)\
**Replies:** 13\
**Last updated:** [November 23, 2020, 10:57pm UTC](https://discourse.julialang.org/t/ipopt-fails-in-ver-1-5-3/50600 "2020-11-23T22:57:56Z")

</div>

Hi, I just updated the julia to version 1.5.3 on windows 10 and I faced the this error when I tried to solve an optimization problem with JuMP and Ipopt: “EXIT: Restoration Failed!”. Even I tried a very basic problem l…

---

## [Binary integer variable returned as float64](https://discourse.julialang.org/t/binary-integer-variable-returned-as-float64/50647)

<div class="topic-metadata">

**Author:** [@bvilmann](https://discourse.julialang.org/u/bvilmann)\
**Replies:** 4\
**Last updated:** [November 23, 2020, 10:53pm UTC](https://discourse.julialang.org/t/binary-integer-variable-returned-as-float64/50647 "2020-11-23T22:53:39Z")

</div>

I have a mixed-integer optimization problem with two variables: A binary integer, x, and a float, P\_G I was a little surprised that the value matrix of the binary integer variable was of type float64 and not int64: jul…

---

## [Dynamic cluster without head node?](https://discourse.julialang.org/t/dynamic-cluster-without-head-node/49583)

<div class="topic-metadata">

**Author:** [@Sukera](https://discourse.julialang.org/u/Sukera)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 10:41pm UTC](https://discourse.julialang.org/t/dynamic-cluster-without-head-node/49583 "2020-11-23T22:41:51Z")

</div>

Hi there, I’m looking for a sort of dynamically sized cluster manager, but without the requirement for a dedicated head node that’s responsible for adding and removing worker nodes. I know of ElasticManager from Cluster…

---

## [How to parellalizing many matrix solves](https://discourse.julialang.org/t/how-to-parellalizing-many-matrix-solves/50603)

<div class="topic-metadata">

**Author:** [@Pulpo](https://discourse.julialang.org/u/Pulpo)\
**Replies:** 5\
**Last updated:** [November 23, 2020, 10:44pm UTC](https://discourse.julialang.org/t/how-to-parellalizing-many-matrix-solves/50603 "2020-11-23T22:44:45Z")

</div>

I am trying to solve many matrix equations Ax=b of fixed size. A simplified version of the code is as follows: function ser\_solve(A,b,res,nu) for i in(1:nu) res\[i,:\]=A\[i,:,:\]\\b\[i,:\] end return res; e…

---

## [No syntax highlighting in the new vscode Jupyter notebook extension](https://discourse.julialang.org/t/no-syntax-highlighting-in-the-new-vscode-jupyter-notebook-extension/50602)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 4\
**Last updated:** [November 23, 2020, 10:13pm UTC](https://discourse.julialang.org/t/no-syntax-highlighting-in-the-new-vscode-jupyter-notebook-extension/50602 "2020-11-23T22:13:08Z")

</div>

Upon launching the notebook, there is syntax highlighting (I am guessing default syntax highlighting for Python). As soon as it connects to the Julia kernel, there is no syntax highlighting at all. Running on WSL 2.

---

## [Unit tests reports in xml](https://discourse.julialang.org/t/unit-tests-reports-in-xml/22415)

<div class="topic-metadata">

**Author:** [@poldavezac](https://discourse.julialang.org/u/poldavezac)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 9:37pm UTC](https://discourse.julialang.org/t/unit-tests-reports-in-xml/22415 "2020-11-23T21:37:12Z")

</div>

I would like to report unit tests in junit format, this in order to integrate into a continuous integration tool (not Travis). Has anybody done such a thing successfully? I did find an oxinabox/TestReports.jl but it see…

---

## [Jupyter Won't Spawn ENOENT, unable to export pdf](https://discourse.julialang.org/t/jupyter-wont-spawn-enoent-unable-to-export-pdf/50648)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 16\
**Last updated:** [November 23, 2020, 9:30pm UTC](https://discourse.julialang.org/t/jupyter-wont-spawn-enoent-unable-to-export-pdf/50648 "2020-11-23T21:30:06Z")

</div>

I had Jupyter working for the first time yesterday, and was able use the latest version of Julia Pro, to run most files. Today though, It says something about unable to spawn ENOENT, and none of the features work. \> ~\\…

---

## [Unsolvable dynamic dispatch in a \`for\` loop](https://discourse.julialang.org/t/unsolvable-dynamic-dispatch-in-a-for-loop/50643)

<div class="topic-metadata">

**Author:** [@drarnau](https://discourse.julialang.org/u/drarnau)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 9:11pm UTC](https://discourse.julialang.org/t/unsolvable-dynamic-dispatch-in-a-for-loop/50643 "2020-11-23T21:11:34Z")

</div>

Hello, I posted about this problem last week. I think now I have the most simple example to illustrate it: function my2outputs(a::Float64, g::Function) myRange = LinRange(-10.0,10.0,100) myMax, myLoc = findmax(…

---

## [Eigs on huge SparseArrays doesn't use all BLAS threads](https://discourse.julialang.org/t/eigs-on-huge-sparsearrays-doesnt-use-all-blas-threads/50626)

<div class="topic-metadata">

**Author:** [@Ahmed\_Abouelkomsan](https://discourse.julialang.org/u/Ahmed_Abouelkomsan)\
**Replies:** 7\
**Last updated:** [November 23, 2020, 8:27pm UTC](https://discourse.julialang.org/t/eigs-on-huge-sparsearrays-doesnt-use-all-blas-threads/50626 "2020-11-23T20:27:29Z")

</div>

Hi all, I am dealing with huge sparse arrays of dimensions greater than 10^6. I am interested in finding only few extremal eigenvalues. To this end, I tried to use the Arpack package but I noticed that if the size of th…

---

## [How do I distribute Mamba mcmc function iterations on different processors?](https://discourse.julialang.org/t/how-do-i-distribute-mamba-mcmc-function-iterations-on-different-processors/50462)

<div class="topic-metadata">

**Author:** [@EllieA](https://discourse.julialang.org/u/EllieA)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 7:48pm UTC](https://discourse.julialang.org/t/how-do-i-distribute-mamba-mcmc-function-iterations-on-different-processors/50462 "2020-11-23T19:48:08Z")

</div>

Hi all, I am new to Mamba package, I know that it has automated paralleling for different “chains” but as my data set is a huge one, I would like to distribute the iterations on different processors. Is it possible?

---

## [Compiling Julia for Raspbian](https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 2\
**Last updated:** [November 23, 2020, 7:23pm UTC](https://discourse.julialang.org/t/compiling-julia-for-raspbian/50341 "2020-11-23T19:23:12Z")

</div>

I installed julia using sudo apt install julia realising this was version 1.0.3 and not finding a binary for 1.5.3 I followed the steps for compiling Julia at JuliaBerry: Compiling Julia. This started fine but then re…

---

## [Conversion, promotion, user API?](https://discourse.julialang.org/t/conversion-promotion-user-api/50629)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 12\
**Last updated:** [November 23, 2020, 6:14pm UTC](https://discourse.julialang.org/t/conversion-promotion-user-api/50629 "2020-11-23T18:14:44Z")

</div>

I am struggling to find the right design due to the shear amount of possibilities, so I need help :wink: Given a type FooID, which is a simple number with a bit of additional convenience attributes (I added that to to s…

---

## [Assign vector to slices and allocation](https://discourse.julialang.org/t/assign-vector-to-slices-and-allocation/49887)

<div class="topic-metadata">

**Author:** [@cricci](https://discourse.julialang.org/u/cricci)\
**Replies:** 7\
**Last updated:** [November 23, 2020, 6:06pm UTC](https://discourse.julialang.org/t/assign-vector-to-slices-and-allocation/49887 "2020-11-23T18:06:50Z")

</div>

I am trying to optimize my code by reducing all unnecessary memory allocation. In particular I have a some assignment I need to repeat many many times. Hence I pre-allocate all necessary vectors and matrices in order to …

---

## [\`Using\` with Distributed](https://discourse.julialang.org/t/using-with-distributed/50633)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 5:38pm UTC](https://discourse.julialang.org/t/using-with-distributed/50633 "2020-11-23T17:38:44Z")

</div>

I noticed recently that when I try to do using for a package with worker processes, it appears to try loading it on all workers simultaneously, which creates some issues. When I removed the worker processes and ran the s…

---

## [Creating GRASS.jl good or bad idea?](https://discourse.julialang.org/t/creating-grass-jl-good-or-bad-idea/50495)

<div class="topic-metadata">

**Author:** [@WhiteFenrir](https://discourse.julialang.org/u/WhiteFenrir)\
**Replies:** 5\
**Last updated:** [November 23, 2020, 4:05pm UTC](https://discourse.julialang.org/t/creating-grass-jl-good-or-bad-idea/50495 "2020-11-23T16:05:12Z")

</div>

Dear all, I start working with Julia and I feel a lack of integrated GIS package. I can find many packages that sometimes need to be used together to have a full workflow. That is great but the GeoJulia ecosystem still …

---

## [Code to calculate characteristic polynomial?](https://discourse.julialang.org/t/code-to-calculate-characteristic-polynomial/19903)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 5\
**Last updated:** [November 23, 2020, 3:27pm UTC](https://discourse.julialang.org/t/code-to-calculate-characteristic-polynomial/19903 "2020-11-23T15:27:43Z")

</div>

I’m referring to det(\\lambda I - A) I’m not finding a function to calculate this (it’s charpoly in Matlab). Happy to write my own, just want to make sure i’m not duplicating effort. Thanks p.s. well actually i’m pro…

---

## [Docs: error and exceptions explanation](https://discourse.julialang.org/t/docs-error-and-exceptions-explanation/50624)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 3\
**Last updated:** [November 23, 2020, 2:42pm UTC](https://discourse.julialang.org/t/docs-error-and-exceptions-explanation/50624 "2020-11-23T14:42:12Z")

</div>

I was reading the docs carefully, and this section seems confuse: https://docs.julialang.org/en/v1/manual/control-flow/#Errors The section starts with the example of “Suppose we want to stop execution immediately if th…

---

## [Changing color of stacktrace info in REPL?](https://discourse.julialang.org/t/changing-color-of-stacktrace-info-in-repl/5075)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 10\
**Last updated:** [November 23, 2020, 1:50pm UTC](https://discourse.julialang.org/t/changing-color-of-stacktrace-info-in-repl/5075 "2020-11-23T13:50:26Z")

</div>

For some reason my stacktrace info is being output as white text, which is a problem since I use a near-white background for my REPL. I’ve tried setting JULIA\_STACKFRAME\_FUNCTION\_COLOR and JULIA\_STACKFRAME\_LINEINFO\_COLOR …

---

## [Julia exists immediately](https://discourse.julialang.org/t/julia-exists-immediately/50628)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 2\
**Last updated:** [November 23, 2020, 1:50pm UTC](https://discourse.julialang.org/t/julia-exists-immediately/50628 "2020-11-23T13:50:24Z")

</div>

I was using Juno happily, but a month or so ago I couldn’t start a Julia process through Juno. It immediately tells me that Julia has exited and that I can press Enter to start a new session. When I press Enter I get the…

---

## [Cannot install the up-to-date version despite that all requirements satisfied](https://discourse.julialang.org/t/cannot-install-the-up-to-date-version-despite-that-all-requirements-satisfied/50621)

<div class="topic-metadata">

**Author:** [@Lian\_Yunlong](https://discourse.julialang.org/u/Lian_Yunlong)\
**Replies:** 4\
**Last updated:** [November 23, 2020, 1:17pm UTC](https://discourse.julialang.org/t/cannot-install-the-up-to-date-version-despite-that-all-requirements-satisfied/50621 "2020-11-23T13:17:05Z")

</div>

Hi everyone, I wanted to install a package called Isosuite (find it here https://github.com/algorithmx/Isosuite) , which has now been updated to v0.2.6. However, when I tried to install it on an HPC, julia insists to in…

---

## [Single colorbar for heatmap grid layout](https://discourse.julialang.org/t/single-colorbar-for-heatmap-grid-layout/50609)

<div class="topic-metadata">

**Author:** [@martincornejo](https://discourse.julialang.org/u/martincornejo)\
**Replies:** 4\
**Last updated:** [November 23, 2020, 10:54am UTC](https://discourse.julialang.org/t/single-colorbar-for-heatmap-grid-layout/50609 "2020-11-23T10:54:29Z")

</div>

Take for example: using Plots plot( heatmap(rand(10,10)), heatmap(rand(10,10)), heatmap(rand(10,10)), heatmap(rand(10,10)); layout=4 ) How could it be possible to have a single colorbar for all h…

---

## [Correct sensealg for an ensemble problem of stochastic UODEs with diagonal noise](https://discourse.julialang.org/t/correct-sensealg-for-an-ensemble-problem-of-stochastic-uodes-with-diagonal-noise/50490)

<div class="topic-metadata">

**Author:** [@Libbum](https://discourse.julialang.org/u/Libbum)\
**Replies:** 17\
**Last updated:** [November 23, 2020, 10:03am UTC](https://discourse.julialang.org/t/correct-sensealg-for-an-ensemble-problem-of-stochastic-uodes-with-diagonal-noise/50490 "2020-11-23T10:03:04Z")

</div>

Hi all, I can’t seem to get my stochastic UODE running. Here’s the setup and generation of synthetic data: using Plots, DiffEqFlux, Flux, Optim, LinearAlgebra, DifferentialEquations using Statistics using DiffEqSensiti…

---

## [Have a try Julia v1.4.2 for arm32bit](https://discourse.julialang.org/t/have-a-try-julia-v1-4-2-for-arm32bit/40284)

<div class="topic-metadata">

**Author:** [@terasakisatoshi](https://discourse.julialang.org/u/terasakisatoshi)\
**Replies:** 28\
**Last updated:** [November 23, 2020, 8:59am UTC](https://discourse.julialang.org/t/have-a-try-julia-v1-4-2-for-arm32bit/40284 "2020-11-23T08:59:26Z")

</div>

Since Julia for arm32bit (e.g. RaspberryPi series) reduced toTier3, Download Julia does not provide, binary Julia 1.4.2. :sob: Good news! I’m happy to announce the release of recipe (technically Dockerfile) that bu…

---

## [Animation slider in Pluto.jl](https://discourse.julialang.org/t/animation-slider-in-pluto-jl/50580)

<div class="topic-metadata">

**Author:** [@Skoffer](https://discourse.julialang.org/u/Skoffer)\
**Replies:** 2\
**Last updated:** [November 23, 2020, 8:32am UTC](https://discourse.julialang.org/t/animation-slider-in-pluto-jl/50580 "2020-11-23T08:32:16Z")

</div>

I wonder if this functionality already exists, that is why I am asking before trying to reinvent the bicycle. Is there an existing component to create a visual UI, which can run animation? What I have in mind, is some …

---

## [Could this simple function go faster?](https://discourse.julialang.org/t/could-this-simple-function-go-faster/50034)

<div class="topic-metadata">

**Author:** [@lrnv](https://discourse.julialang.org/u/lrnv)\
**Replies:** 15\
**Last updated:** [November 22, 2020, 7:46pm UTC](https://discourse.julialang.org/t/could-this-simple-function-go-faster/50034 "2020-11-22T19:46:52Z")

</div>

Hi, First time ever writing julia code. I’ve spend some time trying to optimise this function, mainly making it type-stable, and separate some precomputations. But maybe this is not the best way to go. The resulting co…

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

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