# Latest

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

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

**Page:** 903

---

## [How to do a nested parallelization of two nested functions?](https://discourse.julialang.org/t/how-to-do-a-nested-parallelization-of-two-nested-functions/88334)

<div class="topic-metadata">

**Author:** [@structural](https://discourse.julialang.org/u/structural)\
**Replies:** 13\
**Last updated:** [October 7, 2022, 11:33am UTC](https://discourse.julialang.org/t/how-to-do-a-nested-parallelization-of-two-nested-functions/88334 "2022-10-07T11:33:58Z")

</div>

Suppose I have two functions, with one nested inside the other. I have N processors for the computation. Is it possible to distribute the outer function over n1 processors and distribute each call of the inside function …

---

## [How to change the country name and then draw the global map?](https://discourse.julialang.org/t/how-to-change-the-country-name-and-then-draw-the-global-map/88076)

<div class="topic-metadata">

**Author:** [@akshdfyehd](https://discourse.julialang.org/u/akshdfyehd)\
**Replies:** 20\
**Last updated:** [October 7, 2022, 10:50am UTC](https://discourse.julialang.org/t/how-to-change-the-country-name-and-then-draw-the-global-map/88076 "2022-10-07T10:50:32Z")

</div>

Hi, I got the dataset like following: I want to make a world map and see which country have higher mean salary, maybe represent through density or sth else, like density higher means the mean salary is higher, I tried…

---

## [Doubly linked list with initial list and mutation](https://discourse.julialang.org/t/doubly-linked-list-with-initial-list-and-mutation/88375)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 10:19am UTC](https://discourse.julialang.org/t/doubly-linked-list-with-initial-list-and-mutation/88375 "2022-10-07T10:19:11Z")

</div>

I want to use a doubly linked list that wraps around the indices 1,...,n, so that next(i) = mod(i+1, n) and prev(i) = mod(i-2, n) + 1. I also then need to modify these values later, setting e.g. next(prev(π(i))) = next(π…

---

## [Shift-Inverse diagonalization in Julia](https://discourse.julialang.org/t/shift-inverse-diagonalization-in-julia/87994)

<div class="topic-metadata">

**Author:** [@devanshu](https://discourse.julialang.org/u/devanshu)\
**Replies:** 7\
**Last updated:** [October 7, 2022, 9:57am UTC](https://discourse.julialang.org/t/shift-inverse-diagonalization-in-julia/87994 "2022-10-07T09:57:29Z")

</div>

What is the best technique to use the shift-inverse diagonalisation technique in Julia? I have used Arpack.jl but it doesn’t seem to be much faster; I am not sure how it handles the inverse part. So I would like to under…

---

## [Animation images and dataframe content](https://discourse.julialang.org/t/animation-images-and-dataframe-content/88336)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 8:03am UTC](https://discourse.julialang.org/t/animation-images-and-dataframe-content/88336 "2022-10-07T08:03:35Z")

</div>

I have multiple images stacked into an array: using CairoMakie using Images using DataFrames using DataFramesMeta # Load cow img\_orig = load(Makie.assetpath("cow.png")) img\_filt1 = imfilter(img\_orig, Kernel.gaussian(3)…

---

## [Dash.jl: download graph as svg, 'toImageButtonOptions' not working!](https://discourse.julialang.org/t/dash-jl-download-graph-as-svg-toimagebuttonoptions-not-working/88212)

<div class="topic-metadata">

**Author:** [@Bondan000](https://discourse.julialang.org/u/Bondan000)\
**Replies:** 1\
**Last updated:** [October 7, 2022, 6:31am UTC](https://discourse.julialang.org/t/dash-jl-download-graph-as-svg-toimagebuttonoptions-not-working/88212 "2022-10-07T06:31:41Z")

</div>

Hi, I created a small webapp which reads a csv and generate a plot using Plotly.jl and Dash.jl! I have a custom ‘myPlot’ function which generates the plot! I added the config settings in the ‘myPlot’ function: function …

---

## [Combine Makie \`fontsize\` attribute with \`lines(\` command](https://discourse.julialang.org/t/combine-makie-fontsize-attribute-with-lines-command/88352)

<div class="topic-metadata">

**Author:** [@mschauer](https://discourse.julialang.org/u/mschauer)\
**Replies:** 3\
**Last updated:** [October 7, 2022, 5:28am UTC](https://discourse.julialang.org/t/combine-makie-fontsize-attribute-with-lines-command/88352 "2022-10-07T05:28:00Z")

</div>

How do I combine Makie fontsize attribute with lines( command. The help text only show how to use it with Figure

---

## [\[ANN\] MultinomialRegression.jl](https://discourse.julialang.org/t/ann-multinomialregression-jl/76053)

<div class="topic-metadata">

**Author:** [@jocklawrie](https://discourse.julialang.org/u/jocklawrie)\
**Replies:** 5\
**Last updated:** [October 7, 2022, 4:32am UTC](https://discourse.julialang.org/t/ann-multinomialregression-jl/76053 "2022-10-07T04:32:16Z")

</div>

Hi all, Announcing MultinomialRegression.jl, suitable for response variables with 2 or more categories. The small API is demonstrated in the README. Feedback always welcome. Happy coding!

---

## [How to update Julia in ssh clusters](https://discourse.julialang.org/t/how-to-update-julia-in-ssh-clusters/88351)

<div class="topic-metadata">

**Author:** [@greivin](https://discourse.julialang.org/u/greivin)\
**Replies:** 11\
**Last updated:** [October 6, 2022, 11:35pm UTC](https://discourse.julialang.org/t/how-to-update-julia-in-ssh-clusters/88351 "2022-10-06T23:35:39Z")

</div>

I’m working as a PhD student in a lab with ssh clusters, I have the access to connect to each one of them (there’s no queue system, as it is a small lab, hence, as long as someone is not using a lot of cores in each comp…

---

## [Control width of legend box with Plots](https://discourse.julialang.org/t/control-width-of-legend-box-with-plots/88372)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 10:21pm UTC](https://discourse.julialang.org/t/control-width-of-legend-box-with-plots/88372 "2022-10-06T22:21:56Z")

</div>

Is there a way to control the scaling of the width of the legend box with Plots? In essence, I would like to make the lines longer, and it seems that controlling the width of the legend box itself is a way to do that, a…

---

## [PETSc Error](https://discourse.julialang.org/t/petsc-error/87081)

<div class="topic-metadata">

**Author:** [@DEVASMIT\_DUTTA](https://discourse.julialang.org/u/DEVASMIT_DUTTA)\
**Replies:** 2\
**Last updated:** [October 6, 2022, 9:16pm UTC](https://discourse.julialang.org/t/petsc-error/87081 "2022-10-06T21:16:32Z")

</div>

Hi, I am operating on macOS Monterey, version 12.5.1, and i am facing an issue when i try to run code using GridapPETSc, below is the error in stack-trace PETSc Error --- Application was linked against both OpenMPI and …

---

## [Saving SDE data using DataFrames.jl naming of columns](https://discourse.julialang.org/t/saving-sde-data-using-dataframes-jl-naming-of-columns/88325)

<div class="topic-metadata">

**Author:** [@Max\_Beez](https://discourse.julialang.org/u/Max_Beez)\
**Replies:** 6\
**Last updated:** [October 6, 2022, 8:52pm UTC](https://discourse.julialang.org/t/saving-sde-data-using-dataframes-jl-naming-of-columns/88325 "2022-10-06T20:52:48Z")

</div>

I am simulating an SDE using DifferentialEquations.jl and I am using DataFrames.jl to save the solution data. I get a data frame with columns named timestamp, value1, value2 and value3. I would like to use SDEFunction …

---

## [\[ANN\] DiscreteVoronoi.jl - Several algorithms for computing Voronoi diagrams on grids](https://discourse.julialang.org/t/ann-discretevoronoi-jl-several-algorithms-for-computing-voronoi-diagrams-on-grids/88370)

<div class="topic-metadata">

**Author:** [@jacobusmmsmit](https://discourse.julialang.org/u/jacobusmmsmit)\
**Replies:** 0\
**Last updated:** [October 6, 2022, 8:25pm UTC](https://discourse.julialang.org/t/ann-discretevoronoi-jl-several-algorithms-for-computing-voronoi-diagrams-on-grids/88370 "2022-10-06T20:25:00Z")

</div>

I am happy to announce after passing my exams, with no help from this large sidetrack that was far more interesting, I have been able to produce something for my efforts: a master’s degree. More relevantly, however, my s…

---

## [How to broadcast pdf function for normal distribution with vector of means and sigmas](https://discourse.julialang.org/t/how-to-broadcast-pdf-function-for-normal-distribution-with-vector-of-means-and-sigmas/88368)

<div class="topic-metadata">

**Author:** [@laurar1891](https://discourse.julialang.org/u/laurar1891)\
**Replies:** 2\
**Last updated:** [October 6, 2022, 7:23pm UTC](https://discourse.julialang.org/t/how-to-broadcast-pdf-function-for-normal-distribution-with-vector-of-means-and-sigmas/88368 "2022-10-06T19:23:02Z")

</div>

I’m trying to calculate probabilities using a Normal distribution for a vector of values. When I have the same sigma for all values, it is easy, just like this: sigma = 3 vals = \[-1,0,1\] pdf.(Normal(0, sigma), vals) B…

---

## [\[ANN\] WorldDynamics.jl - A Julia package for integrated assessment modeling](https://discourse.julialang.org/t/ann-worlddynamics-jl-a-julia-package-for-integrated-assessment-modeling/88302)

<div class="topic-metadata">

**Author:** [@natema](https://discourse.julialang.org/u/natema)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 7:17pm UTC](https://discourse.julialang.org/t/ann-worlddynamics-jl-a-julia-package-for-integrated-assessment-modeling/88302 "2022-10-06T19:17:54Z")

</div>

We are happy to announce WorldDynamics.jl, a Julia package for global integrated assessment modeling. The goal of the package is to allow people interested in integrated assessment modeling to benefit from the wonderful…

---

## [Communication JavaScript application (client) and a Julia application (server)](https://discourse.julialang.org/t/communication-javascript-application-client-and-a-julia-application-server/88358)

<div class="topic-metadata">

**Author:** [@Ricardo\_Lima](https://discourse.julialang.org/u/Ricardo_Lima)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 6:39pm UTC](https://discourse.julialang.org/t/communication-javascript-application-client-and-a-julia-application-server/88358 "2022-10-06T18:39:53Z")

</div>

I need to create a communication via socket between a javascript application (client) and a julia application (server). I searched the forum and didn’t find something that works, can someone help me with an example that…

---

## [Access lualatex log with PGFPlotsX](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355)

<div class="topic-metadata">

**Author:** [@Gregstrq](https://discourse.julialang.org/u/Gregstrq)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 6:35pm UTC](https://discourse.julialang.org/t/access-lualatex-log-with-pgfplotsx/88355 "2022-10-06T18:35:17Z")

</div>

I am trying to use PGFPlotsX together with Plots, and I get the following error: The latex command \`lualatex jl\_ODVl4Y.tex\` failed How do I access the lualatex log itself to understand what is going on?

---

## [Round Dates.Time variable](https://discourse.julialang.org/t/round-dates-time-variable/88306)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 7\
**Last updated:** [October 6, 2022, 5:46pm UTC](https://discourse.julialang.org/t/round-dates-time-variable/88306 "2022-10-06T17:46:43Z")

</div>

Hi, I am trying to round two variables - say X and Y - of type Dates.Time. X has value 09:30:01.017, Y has value 09:59:59.103 and I would like to round them to 09:30:00.000 and 10:00:00.000. I have tried using floor and…

---

## [TagBot Github Action runs successfully but a new release does not show up on github Releases](https://discourse.julialang.org/t/tagbot-github-action-runs-successfully-but-a-new-release-does-not-show-up-on-github-releases/80770)

<div class="topic-metadata">

**Author:** [@Gus\_Hart](https://discourse.julialang.org/u/Gus_Hart)\
**Replies:** 13\
**Last updated:** [October 6, 2022, 4:42pm UTC](https://discourse.julialang.org/t/tagbot-github-action-runs-successfully-but-a-new-release-does-not-show-up-on-github-releases/80770 "2022-10-06T16:42:00Z")

</div>

I’m developing a new package Spacey.jl. Unit tests and coverage tests are running fine as Github Actions. I copied a Tagbot.yml from another registered packaged I have on github (MinkowksiReduction.jl) where it works fin…

---

## [Problem with NLSolve: cant find x st f(x) =0](https://discourse.julialang.org/t/problem-with-nlsolve-cant-find-x-st-f-x-0/88345)

<div class="topic-metadata">

**Author:** [@Outeirom](https://discourse.julialang.org/u/Outeirom)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 4:39pm UTC](https://discourse.julialang.org/t/problem-with-nlsolve-cant-find-x-st-f-x-0/88345 "2022-10-06T16:39:52Z")

</div>

So, I have a code in matlab and I am trying to translate it to Julia. Im not being able to run this NLSolve in Julia. It returns me a domain error… probably because there is x^eta, where eta = 0.5. But what makes no se…

---

## [Simple 2D reaction-diffusion ODE inside Turing blows up in various ways](https://discourse.julialang.org/t/simple-2d-reaction-diffusion-ode-inside-turing-blows-up-in-various-ways/88177)

<div class="topic-metadata">

**Author:** [@breallis](https://discourse.julialang.org/u/breallis)\
**Replies:** 33\
**Last updated:** [October 6, 2022, 3:27pm UTC](https://discourse.julialang.org/t/simple-2d-reaction-diffusion-ode-inside-turing-blows-up-in-various-ways/88177 "2022-10-06T15:27:39Z")

</div>

Hello, Two very helpful examples from the documentation describe how to 1) embed differential equations inside of a Turing model (https://turing.ml/dev/tutorials/10-bayesian-differential-equations/) and 2) optimize a 2D…

---

## [Package is not updating, but why?](https://discourse.julialang.org/t/package-is-not-updating-but-why/88338)

<div class="topic-metadata">

**Author:** [@bernhard](https://discourse.julialang.org/u/bernhard)\
**Replies:** 5\
**Last updated:** [October 6, 2022, 3:09pm UTC](https://discourse.julialang.org/t/package-is-not-updating-but-why/88338 "2022-10-06T15:09:52Z")

</div>

I have a private package (which I cannot share) where DataFrames is not updating. I cannot find any reason in the Project.toml file why it should be fixed to v1.3.6. Should Pkg.status(; outdated=true) provide the reas…

---

## [Method overloading doesn't work inside a function](https://discourse.julialang.org/t/method-overloading-doesnt-work-inside-a-function/88339)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 6\
**Last updated:** [October 6, 2022, 3:04pm UTC](https://discourse.julialang.org/t/method-overloading-doesnt-work-inside-a-function/88339 "2022-10-06T15:04:58Z")

</div>

The following method overloading works: julia\> VERSION v"1.8.0" julia\> myfun1(x, y) = x+y # method to overload myfun1 (generic function with 1 method) julia\> myfun1(x) = myfun1(x, 1) # overloading myfun1 (generic fu…

---

## [Install Julia for multiple users on one Windows box](https://discourse.julialang.org/t/install-julia-for-multiple-users-on-one-windows-box/88349)

<div class="topic-metadata">

**Author:** [@FrankHack](https://discourse.julialang.org/u/FrankHack)\
**Replies:** 1\
**Last updated:** [October 6, 2022, 3:04pm UTC](https://discourse.julialang.org/t/install-julia-for-multiple-users-on-one-windows-box/88349 "2022-10-06T15:04:35Z")

</div>

Greetings, Installing Julia on one Windows box for multiple users. The default path is C:\\Users\\JohnDoe\\AppData\\Local\\Programs\\Julia-1.8.2. Any problems changing the path to C:\\Program Files.… Thanks

---

## [Method Error when using LinearMixedModel function](https://discourse.julialang.org/t/method-error-when-using-linearmixedmodel-function/88243)

<div class="topic-metadata">

**Author:** [@imantha](https://discourse.julialang.org/u/imantha)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 3:03pm UTC](https://discourse.julialang.org/t/method-error-when-using-linearmixedmodel-function/88243 "2022-10-06T15:03:57Z")

</div>

Hi I am having trouble using the Mixed Model package as following the example doesnt seem to work. I get the following Method Error ERROR: MethodError: no method matching LinearMixedModel(::Vector{Int64}, ::Matrix{Float…

---

## [What makes a language reach the "petaflop" mark?](https://discourse.julialang.org/t/what-makes-a-language-reach-the-petaflop-mark/79963)

<div class="topic-metadata">

**Author:** [@lmiq](https://discourse.julialang.org/u/lmiq)\
**Replies:** 16\
**Last updated:** [October 6, 2022, 2:52pm UTC](https://discourse.julialang.org/t/what-makes-a-language-reach-the-petaflop-mark/79963 "2022-10-06T14:52:50Z")

</div>

When Julia was used in the Celeste project and reached the petaflop mark, that was an important milestone for the language, it seems. I never exactly got what that means in terms of the qualities of the language itself.…

---

## [Makie reverse axis](https://discourse.julialang.org/t/makie-reverse-axis/55756)

<div class="topic-metadata">

**Author:** [@neuralian](https://discourse.julialang.org/u/neuralian)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 2:40pm UTC](https://discourse.julialang.org/t/makie-reverse-axis/55756 "2022-10-06T14:40:34Z")

</div>

How do I reverse an axis in a Makie scene (figure)? The documentation says " You can manually reverse an axis by setting ax.xreversed = true or ax.yreversed = true ", but … fig = Figure() ax = fig\[1,1\] ... ax.xreversed…

---

## [Views of arrays inside a mutable struct](https://discourse.julialang.org/t/views-of-arrays-inside-a-mutable-struct/88337)

<div class="topic-metadata">

**Author:** [@SiddhantDeshmukh](https://discourse.julialang.org/u/SiddhantDeshmukh)\
**Replies:** 3\
**Last updated:** [October 6, 2022, 2:01pm UTC](https://discourse.julialang.org/t/views-of-arrays-inside-a-mutable-struct/88337 "2022-10-06T14:01:36Z")

</div>

Hi, I’m encountering some unexpected behaviour when using views of arrays inside of a mutable struct. Here is the basic structure: using Parameters @with\_kw mutable struct Grid prim::Array{Float64, 3} = zeros(Float64,…

---

## [Does passing a dataframe declared outside a function as an argument improves performance?](https://discourse.julialang.org/t/does-passing-a-dataframe-declared-outside-a-function-as-an-argument-improves-performance/88318)

<div class="topic-metadata">

**Author:** [@mb96](https://discourse.julialang.org/u/mb96)\
**Replies:** 4\
**Last updated:** [October 6, 2022, 12:15pm UTC](https://discourse.julialang.org/t/does-passing-a-dataframe-declared-outside-a-function-as-an-argument-improves-performance/88318 "2022-10-06T12:15:23Z")

</div>

Hi there, I had a question regarding performance of functions in general which act or use DataFrames. Let say I read in a csv file into a DataFrame in a my main program (code). Then I declare a function which uses such …

---

## [Ferrite.jl periodic boundary conditions](https://discourse.julialang.org/t/ferrite-jl-periodic-boundary-conditions/39387)

<div class="topic-metadata">

**Author:** [@blaszm](https://discourse.julialang.org/u/blaszm)\
**Replies:** 2\
**Last updated:** [October 6, 2022, 11:42am UTC](https://discourse.julialang.org/t/ferrite-jl-periodic-boundary-conditions/39387 "2022-10-06T11:42:34Z")

</div>

Hi, I’m a PhD student working on the multiscale simulation of complex materials. Recently I discovered Julia and the JuAFEM package for my work. I’m trying to do FE² (finite element square). For this purpose, usually the…

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

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