# Latest

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

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

**Page:** 1472

---

## [Donut charts with PlotlyJS](https://discourse.julialang.org/t/donut-charts-with-plotlyjs/56461)

<div class="topic-metadata">

**Author:** [@Thomas\_Lei](https://discourse.julialang.org/u/Thomas_Lei)\
**Replies:** 0\
**Last updated:** [March 4, 2021, 7:03am UTC](https://discourse.julialang.org/t/donut-charts-with-plotlyjs/56461 "2021-03-04T07:03:44Z")

</div>

Hi all, I’m trying to produce a donut charts with PlotlyJS.jl to embed in a dash app. I’ve seen the Plotly docs but couldn’t find any related docs in the Julia API. Any hints to make that work with Dash/PlotlyJS/Julia…

---

## [\[ANN\] Makie Update: Figures And Integrated Layouts](https://discourse.julialang.org/t/ann-makie-update-figures-and-integrated-layouts/52800)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 31\
**Last updated:** [March 4, 2021, 5:59am UTC](https://discourse.julialang.org/t/ann-makie-update-figures-and-integrated-layouts/52800 "2021-03-04T05:59:24Z")

</div>

Hey everybody, For the last months Simon and I have been working on streamlining the integration of MakieLayout in the Makie ecosystem. Now, with AbstractPlotting.jl v0.15, we finally have made some bigger changes to ou…

---

## [Install a range of versions for a range of packages](https://discourse.julialang.org/t/install-a-range-of-versions-for-a-range-of-packages/56272)

<div class="topic-metadata">

**Author:** [@josePereiro](https://discourse.julialang.org/u/josePereiro)\
**Replies:** 1\
**Last updated:** [March 4, 2021, 3:51am UTC](https://discourse.julialang.org/t/install-a-range-of-versions-for-a-range-of-packages/56272 "2021-03-04T03:51:36Z")

</div>

Hi, I’m having access to a remote machine, but I’ll have a one time internet chance… How can I install/download a significant set of versions of a set of packages, so I can work for a while offline? Instantiate a few M…

---

## [Visualizing a mesh-wise quantity](https://discourse.julialang.org/t/visualizing-a-mesh-wise-quantity/56458)

<div class="topic-metadata">

**Author:** [@Sean\_McBane](https://discourse.julialang.org/u/Sean_McBane)\
**Replies:** 5\
**Last updated:** [March 4, 2021, 2:55am UTC](https://discourse.julialang.org/t/visualizing-a-mesh-wise-quantity/56458 "2021-03-04T02:55:21Z")

</div>

My problem is as follows: I want to visualize a quantity which varies over a domain, but is piecewise constant over subdomains, each of which has its own mesh. I’ve been doing this by saving the value as cell-centered va…

---

## [How to use Fourier Filter on Complex Data](https://discourse.julialang.org/t/how-to-use-fourier-filter-on-complex-data/54967)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 8\
**Last updated:** [March 4, 2021, 2:16am UTC](https://discourse.julialang.org/t/how-to-use-fourier-filter-on-complex-data/54967 "2021-03-04T02:16:06Z")

</div>

I would like to know, how may I filter or separate this complex function into its simpler sub-functions (something like fourier filter). Example I have a noisy dataset: x = 1:1:10 y = \[-1,5,0,2,-7,1,6,9,-2,3\] If I wou…

---

## [@less broken?](https://discourse.julialang.org/t/less-broken/55799)

<div class="topic-metadata">

**Author:** [@nstgc](https://discourse.julialang.org/u/nstgc)\
**Replies:** 20\
**Last updated:** [March 4, 2021, 2:10am UTC](https://discourse.julialang.org/t/less-broken/55799 "2021-03-04T02:10:28Z")

</div>

@less write(stdout,'a') is resulting in the following error ERROR: could not find source file for function Stacktrace: \[1\] less(::Nothing, ::Int32) at /build/julia/src/julia-1.5.3/usr/share/julia/stdlib/v1.5/Interact…

---

## [Setting environment and instantiating packages in one step?](https://discourse.julialang.org/t/setting-environment-and-instantiating-packages-in-one-step/56441)

<div class="topic-metadata">

**Author:** [@gleyland](https://discourse.julialang.org/u/gleyland)\
**Replies:** 6\
**Last updated:** [March 3, 2021, 11:37pm UTC](https://discourse.julialang.org/t/setting-environment-and-instantiating-packages-in-one-step/56441 "2021-03-03T23:37:31Z")

</div>

Hi, Is it possible to use a single command to activate an environment and instantiate all of its packages? It’s been a while since I played with rust, but I seem to remember that I could check out a repo, type cargo ru…

---

## [Embedding Issue with 1.6.0-rc1 and UseShellExecute = false](https://discourse.julialang.org/t/embedding-issue-with-1-6-0-rc1-and-useshellexecute-false/56440)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 11:19pm UTC](https://discourse.julialang.org/t/embedding-issue-with-1-6-0-rc1-and-useshellexecute-false/56440 "2021-03-03T23:19:30Z")

</div>

I’m attempting to embedded Julia in a c# application. This application is launched from another c# app using the .NET System.Diagnostics.Process class which can be used to start another exe process. I have set the Redi…

---

## [Interpolate a 3D curve?](https://discourse.julialang.org/t/interpolate-a-3d-curve/56401)

<div class="topic-metadata">

**Author:** [@marianoarnaiz](https://discourse.julialang.org/u/marianoarnaiz)\
**Replies:** 8\
**Last updated:** [March 3, 2021, 8:46pm UTC](https://discourse.julialang.org/t/interpolate-a-3d-curve/56401 "2021-03-03T20:46:47Z")

</div>

Hi everyone, I know this must be very simple using Interpolations.jl but I can’t get it to work. I have a 3D curve in an array (example bellow) and I need to have 10 times more points. Linear or Bspline interpolation bet…

---

## [Parametric Field Names](https://discourse.julialang.org/t/parametric-field-names/56428)

<div class="topic-metadata">

**Author:** [@dariush-bahrami](https://discourse.julialang.org/u/dariush-bahrami)\
**Replies:** 16\
**Last updated:** [March 3, 2021, 10:56pm UTC](https://discourse.julialang.org/t/parametric-field-names/56428 "2021-03-03T22:56:32Z")

</div>

Consider Following Situation: I want to model an object with struct in Julia. I want this object fields be mutable. The goal is that when we change one of the fields, the rest of the fields will change automatically. T…

---

## [Unable to install fzf Error when trying to install OnMyRepl package](https://discourse.julialang.org/t/unable-to-install-fzf-error-when-trying-to-install-onmyrepl-package/56445)

<div class="topic-metadata">

**Author:** [@useJulia](https://discourse.julialang.org/u/useJulia)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 9:55pm UTC](https://discourse.julialang.org/t/unable-to-install-fzf-error-when-trying-to-install-onmyrepl-package/56445 "2021-03-03T21:55:49Z")

</div>

I had this issue when I tried to install OnMyRepl package on a fresh Julia 1.5.3. The same error appears when I tried to install the fzf\_jll package separately. Downloading artifact: fzf curl: /p/app/intel/parallel\_stu…

---

## [Smoothing interpolation for tachometer data](https://discourse.julialang.org/t/smoothing-interpolation-for-tachometer-data/56117)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 29\
**Last updated:** [March 3, 2021, 9:14pm UTC](https://discourse.julialang.org/t/smoothing-interpolation-for-tachometer-data/56117 "2021-03-03T21:14:56Z")

</div>

In rotating machinery analysis, tachometer signals are often collected. If a 1 pulse per revolution tachometer is sampled at the same frequency as the vibration signal, then there is some jitter in the tachometer signal…

---

## [Gradient of NN not changing with different inputs](https://discourse.julialang.org/t/gradient-of-nn-not-changing-with-different-inputs/56435)

<div class="topic-metadata">

**Author:** [@edwinb-ai](https://discourse.julialang.org/u/edwinb-ai)\
**Replies:** 2\
**Last updated:** [March 3, 2021, 8:12pm UTC](https://discourse.julialang.org/t/gradient-of-nn-not-changing-with-different-inputs/56435 "2021-03-03T20:12:28Z")

</div>

While playing around with some neural networks (NN) I found out this using Flux using Random using Zygote using ForwardDiff Random.seed!(9120) n = 1 m = 5 hidden = 10 x, y = rand(m), rand(n) # some data model = Flux.…

---

## [What is the best way to convert a set to an Array?](https://discourse.julialang.org/t/what-is-the-best-way-to-convert-a-set-to-an-array/56419)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 7:55pm UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-convert-a-set-to-an-array/56419 "2021-03-03T19:55:38Z")

</div>

What is the best way to convert a set to an Array? Note that the original poster on Slack cannot see your response here on Discourse. Consider transcribing the appropriate answer back to Slack, or pinging the poster her…

---

## [Local arrays in for loops](https://discourse.julialang.org/t/local-arrays-in-for-loops/56216)

<div class="topic-metadata">

**Author:** [@Ribeiro](https://discourse.julialang.org/u/Ribeiro)\
**Replies:** 55\
**Last updated:** [March 3, 2021, 7:12pm UTC](https://discourse.julialang.org/t/local-arrays-in-for-loops/56216 "2021-03-03T19:12:25Z")

</div>

Hello, Is there a nice way to use vectors in arrays without spending too much time on allocations? I have some parallel for loops and if I set 3 scalar variables to certain values, it seems to perform better than if I …

---

## [Lilith.jl is now called Avalon.jl](https://discourse.julialang.org/t/lilith-jl-is-now-called-avalon-jl/51621)

<div class="topic-metadata">

**Author:** [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Replies:** 31\
**Last updated:** [March 3, 2021, 7:08pm UTC](https://discourse.julialang.org/t/lilith-jl-is-now-called-avalon-jl/51621 "2021-03-03T19:08:47Z")

</div>

You know this moment when you realize you made a mistake. When registration to a flight ends in 5 minutes and you find yourself in a wrong terminal. Or its the first day at a new job and you understand they don’t have fr…

---

## [Python vs. Julia ODE Solver](https://discourse.julialang.org/t/python-vs-julia-ode-solver/56123)

<div class="topic-metadata">

**Author:** [@qtoloza](https://discourse.julialang.org/u/qtoloza)\
**Replies:** 30\
**Last updated:** [March 3, 2021, 5:59pm UTC](https://discourse.julialang.org/t/python-vs-julia-ode-solver/56123 "2021-03-03T17:59:45Z")

</div>

Hello! Brand new to Julia. I have a very stiff system of ODEs that I’m trying to optimize for large N. I’ve achieved reasonable performance in Python using SciPy+Numba, but I wanted to see if Julia would be superior. So …

---

## [Non-linear latency of sparse-dense matrix multiplication](https://discourse.julialang.org/t/non-linear-latency-of-sparse-dense-matrix-multiplication/56424)

<div class="topic-metadata">

**Author:** [@albin](https://discourse.julialang.org/u/albin)\
**Replies:** 11\
**Last updated:** [March 3, 2021, 5:37pm UTC](https://discourse.julialang.org/t/non-linear-latency-of-sparse-dense-matrix-multiplication/56424 "2021-03-03T17:37:52Z")

</div>

Hello, I’m measuring the latency of mul!(C, A, B), where C and B are dense and A is sparse, and I’m seeing something surprising: the latency isn’t linear in the number of operations required. Does anyone know why this i…

---

## [ForwardDiff.dual TypeError while Solving ODE with 3 by 3 Matrix Input and ProximalOperators Package which Keep the Output Positive Definite](https://discourse.julialang.org/t/forwarddiff-dual-typeerror-while-solving-ode-with-3-by-3-matrix-input-and-proximaloperators-package-which-keep-the-output-positive-definite/56039)

<div class="topic-metadata">

**Author:** [@yushang-lai](https://discourse.julialang.org/u/yushang-lai)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 5:01pm UTC](https://discourse.julialang.org/t/forwarddiff-dual-typeerror-while-solving-ode-with-3-by-3-matrix-input-and-proximaloperators-package-which-keep-the-output-positive-definite/56039 "2021-03-03T17:01:39Z")

</div>

Hi! I write a Turing ODE code as follows: The data is u\_account = \[953.0; 1075.0; 1223.0\] which represents three states \[A,B,C\] being observed. The parameter p consists of variables \[v1,v2,v4,u1,u3,w1\] Vector u\_mean d…

---

## [How to plot a graph using the "for"?](https://discourse.julialang.org/t/how-to-plot-a-graph-using-the-for/56115)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 9\
**Last updated:** [March 3, 2021, 4:38pm UTC](https://discourse.julialang.org/t/how-to-plot-a-graph-using-the-for/56115 "2021-03-03T16:38:45Z")

</div>

Hello everybody In this example I put only the results of the variable r and managed to plot the graph using JuMP, Plots r = \[69.60, 17.39, 0, 0\],\[0, 8.8, 2.1, 0\],\[0, 0, 8.8, 1.9\], \[16, 3.9, 0,0\] j = sum(r) x = T y = …

---

## [Error building \`IJulia\` on initial install and package update](https://discourse.julialang.org/t/error-building-ijulia-on-initial-install-and-package-update/56418)

<div class="topic-metadata">

**Author:** [@NinjaDatum](https://discourse.julialang.org/u/NinjaDatum)\
**Replies:** 0\
**Last updated:** [March 3, 2021, 4:20pm UTC](https://discourse.julialang.org/t/error-building-ijulia-on-initial-install-and-package-update/56418 "2021-03-03T16:20:31Z")

</div>

I solved my issues installing but wanted to put them here in case others had the same issues. I am running Windows 10 Home on an Intel Core i7. I have previously installed Visual Studio 2019 Community with Python 3. I b…

---

## [Find where a package comes from](https://discourse.julialang.org/t/find-where-a-package-comes-from/56402)

<div class="topic-metadata">

**Author:** [@sijo](https://discourse.julialang.org/u/sijo)\
**Replies:** 6\
**Last updated:** [March 3, 2021, 4:16pm UTC](https://discourse.julialang.org/t/find-where-a-package-comes-from/56402 "2021-03-03T16:16:27Z")

</div>

pkg\> status shows that I have the Symbolics package added to my project. I wanted to check if it’s the old one (https://github.com/MasonProtter/Symbolics.jl) or the new one (https://github.com/JuliaSymbolics/Symbolics.j…

---

## [How to convert all columns of type Int8 to Int64](https://discourse.julialang.org/t/how-to-convert-all-columns-of-type-int8-to-int64/56413)

<div class="topic-metadata">

**Author:** [@kobusherbst](https://discourse.julialang.org/u/kobusherbst)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 3:43pm UTC](https://discourse.julialang.org/t/how-to-convert-all-columns-of-type-int8-to-int64/56413 "2021-03-03T15:43:39Z")

</div>

I have a dataframe with quite a few columns of type Int8 that I need to convert to Int64 to satisfy XLSX.jl non-support for integer sizes other than Int64. Currently I do it column by column: sf\[!,:Enumeration\] = conv…

---

## [Read JLD files in MATLAB](https://discourse.julialang.org/t/read-jld-files-in-matlab/5492)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 3:40pm UTC](https://discourse.julialang.org/t/read-jld-files-in-matlab/5492 "2021-03-03T15:40:31Z")

</div>

Dear all, I was wondering if anyone has implementing something to read JLD files in MATLAB? Since these files are basically HDF5 files, this should be easy using the built-in HDF5 tools in MATLAB, but I’m having some tr…

---

## [How to construct structs with implicitly typed fields?](https://discourse.julialang.org/t/how-to-construct-structs-with-implicitly-typed-fields/56398)

<div class="topic-metadata">

**Author:** [@triceert](https://discourse.julialang.org/u/triceert)\
**Replies:** 6\
**Last updated:** [March 3, 2021, 2:44pm UTC](https://discourse.julialang.org/t/how-to-construct-structs-with-implicitly-typed-fields/56398 "2021-03-03T14:44:02Z")

</div>

From the documentation it is not clear to me how to achieve something like the following: mutable struct foo {T\<:Int64, S\<:Array{Float64}} size::T matrix::S function foo(size::T) where {T} matrix = zer…

---

## [TableIO.jl - CopyIn - progress of uploading](https://discourse.julialang.org/t/tableio-jl-copyin-progress-of-uploading/56409)

<div class="topic-metadata">

**Author:** [@Michal](https://discourse.julialang.org/u/Michal)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 2:41pm UTC](https://discourse.julialang.org/t/tableio-jl-copyin-progress-of-uploading/56409 "2021-03-03T14:41:12Z")

</div>

@lungben I like CopyIn. It is powerful and elegant solution. Is it possible to get progress of uploading data with function CopyIn ? I’m trying to get information how much percentage is uploaded. How can I handle percen…

---

## [Good practice for subset in Julia/JuMP](https://discourse.julialang.org/t/good-practice-for-subset-in-julia-jump/56405)

<div class="topic-metadata">

**Author:** [@felcbd](https://discourse.julialang.org/u/felcbd)\
**Replies:** 3\
**Last updated:** [March 3, 2021, 1:39pm UTC](https://discourse.julialang.org/t/good-practice-for-subset-in-julia-jump/56405 "2021-03-03T13:39:29Z")

</div>

Hello everyone, I have some questions about good practice in Julia/JuMP to manipulate subset of elements in a model. In my usage, I want to do a model using graph, so I have my graph G=(V, E). All edges in E are a str…

---

## [Metaprogramming in Pluto notebook](https://discourse.julialang.org/t/metaprogramming-in-pluto-notebook/56400)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 11:56am UTC](https://discourse.julialang.org/t/metaprogramming-in-pluto-notebook/56400 "2021-03-03T11:56:03Z")

</div>

I currently have some pretty repeditive code to create 50 textfields in a pluto notebook. I do however feel like the same could be acomplished with some smart metaprogramming. However, my naive fumbling around with metap…

---

## [Is there a way to specify a range for slicing that is bounded only on one side?I](https://discourse.julialang.org/t/is-there-a-way-to-specify-a-range-for-slicing-that-is-bounded-only-on-one-side-i/56392)

<div class="topic-metadata">

**Author:** [@BridgeBot](https://discourse.julialang.org/u/BridgeBot)\
**Replies:** 1\
**Last updated:** [March 3, 2021, 10:39am UTC](https://discourse.julialang.org/t/is-there-a-way-to-specify-a-range-for-slicing-that-is-bounded-only-on-one-side-i/56392 "2021-03-03T10:39:00Z")

</div>

Is there a way to specify a range for slicing that is bounded only on one side? I can do i = 1:10; a\[i\] for bounded on both sides and I can do i = Colon(); a\[i\] for using the whole array. Is there a simple way to do s…

---

## [Reaction rate laws of chemical reaction networks](https://discourse.julialang.org/t/reaction-rate-laws-of-chemical-reaction-networks/56049)

<div class="topic-metadata">

**Author:** [@Nino-42](https://discourse.julialang.org/u/Nino-42)\
**Replies:** 7\
**Last updated:** [March 3, 2021, 10:12am UTC](https://discourse.julialang.org/t/reaction-rate-laws-of-chemical-reaction-networks/56049 "2021-03-03T10:12:28Z")

</div>

Hi everyone, I am new in this forum and rather new to coding with julia (I have been using it for a while but more on a surface level). My question concerns the modeling of chemical reaction networks, specifically with …

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

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