# Latest

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

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

**Page:** 567

---

## [Unsatisfiable Requirements when installing PlotlyJS](https://discourse.julialang.org/t/unsatisfiable-requirements-when-installing-plotlyjs/105526)

<div class="topic-metadata">

**Author:** [@bobmccrory](https://discourse.julialang.org/u/bobmccrory)\
**Replies:** 5\
**Last updated:** [October 29, 2023, 5:01pm UTC](https://discourse.julialang.org/t/unsatisfiable-requirements-when-installing-plotlyjs/105526 "2023-10-29T17:01:44Z")

</div>

When I try to add the latest version of PlotlyJS, i get the error below: (@v1.9) pkg\> add PlotlyJS@v2.20.0 Resolving package versions… ERROR: Unsatisfiable requirements detected for package PlotlyJS \[f0f68f2c\]: Plotl…

---

## [Test polls. Vote on me!](https://discourse.julialang.org/t/test-polls-vote-on-me/105531)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 1\
**Last updated:** [October 29, 2023, 12:30pm UTC](https://discourse.julialang.org/t/test-polls-vote-on-me/105531 "2023-10-29T12:30:58Z")

</div>

Apparently discourse supports polls So let’s test this! Did you know that this is possible? poll It is even possible to make votes public. For example if one wants a straw poll whether consensus is reached on some poin…

---

## [MethodError: no method matching \*(::ODESystem, ::Float64)](https://discourse.julialang.org/t/methoderror-no-method-matching-odesystem-float64/105532)

<div class="topic-metadata">

**Author:** [@aoifehealy](https://discourse.julialang.org/u/aoifehealy)\
**Replies:** 1\
**Last updated:** [October 29, 2023, 11:18am UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-odesystem-float64/105532 "2023-10-29T11:18:47Z")

</div>

Hi there, I am trying to model a 3 element windkessel circuit (see below) using modelingtoolkit By code is as following: using ModelingToolkit using Plots using DifferentialEquations @variables t D = Differential(t)…

---

## [Displaying a 3D scatter with a lot of data crashes](https://discourse.julialang.org/t/displaying-a-3d-scatter-with-a-lot-of-data-crashes/105352)

<div class="topic-metadata">

**Author:** [@yuvalw](https://discourse.julialang.org/u/yuvalw)\
**Replies:** 3\
**Last updated:** [October 29, 2023, 9:37am UTC](https://discourse.julialang.org/t/displaying-a-3d-scatter-with-a-lot-of-data-crashes/105352 "2023-10-29T09:37:36Z")

</div>

Hello, Is there an efficient way to do this? I’m having crashes with even 1000 data points. I noticed that using different colors for data points (i.e. zcolor) makes the figure 10x heavier upon saving. I would like to …

---

## [Question About MKL on Slurm Cluster](https://discourse.julialang.org/t/question-about-mkl-on-slurm-cluster/105527)

<div class="topic-metadata">

**Author:** [@TI36XPro](https://discourse.julialang.org/u/TI36XPro)\
**Replies:** 1\
**Last updated:** [October 29, 2023, 5:06am UTC](https://discourse.julialang.org/t/question-about-mkl-on-slurm-cluster/105527 "2023-10-29T05:06:03Z")

</div>

Hello, I am using Julia on an HPC that uses Lmod and Slurm. I wanted to try using MKL for some calculations since I have access to nodes with intel CPUs. I followed the instructions here. At the top of my script the fi…

---

## [How to get PDE solutions when doing foward time steps](https://discourse.julialang.org/t/how-to-get-pde-solutions-when-doing-foward-time-steps/105419)

<div class="topic-metadata">

**Author:** [@aplund](https://discourse.julialang.org/u/aplund)\
**Replies:** 2\
**Last updated:** [October 28, 2023, 11:06pm UTC](https://discourse.julialang.org/t/how-to-get-pde-solutions-when-doing-foward-time-steps/105419 "2023-10-28T23:06:38Z")

</div>

I’ve been trying to get the hang of solving DEs in Julia (i.e. new user). As a simple task, I tried to set up a 1-d Schrödinger equation and perform a time evolution. Here’s my effort so far: using ModelingToolkit usi…

---

## [Good error messages](https://discourse.julialang.org/t/good-error-messages/105523)

<div class="topic-metadata">

**Author:** [@jules](https://discourse.julialang.org/u/jules)\
**Replies:** 5\
**Last updated:** [October 28, 2023, 10:39pm UTC](https://discourse.julialang.org/t/good-error-messages/105523 "2023-10-28T22:39:48Z")

</div>

I often find error messages like this impractical: julia\> only(\[1, 2\]) ERROR: ArgumentError: Collection has multiple elements, must contain exactly 1 element We don’t know what the Collection is, we don’t know what the…

---

## [Possible to adaptively shrink number of state variables/ODEs?](https://discourse.julialang.org/t/possible-to-adaptively-shrink-number-of-state-variables-odes/105507)

<div class="topic-metadata">

**Author:** [@differentialoperator](https://discourse.julialang.org/u/differentialoperator)\
**Replies:** 2\
**Last updated:** [October 28, 2023, 10:26pm UTC](https://discourse.julialang.org/t/possible-to-adaptively-shrink-number-of-state-variables-odes/105507 "2023-10-28T22:26:14Z")

</div>

I’m solving an ODE system adaptively in time (eg RK23). At minimum, I’m solving for the evolution of 10 coupled state variables so I have 10 (coupled non-linear) ODEs that are solved from some initial time to final time.…

---

## [Solving F(X)=0 using nlsolve](https://discourse.julialang.org/t/solving-f-x-0-using-nlsolve/105516)

<div class="topic-metadata">

**Author:** [@havana](https://discourse.julialang.org/u/havana)\
**Replies:** 6\
**Last updated:** [October 28, 2023, 9:29pm UTC](https://discourse.julialang.org/t/solving-f-x-0-using-nlsolve/105516 "2023-10-28T21:29:38Z")

</div>

I wanna solve a root finding problem of the form F(X)=0 using NLsolve. However, I do not know the regularity of the function F, for example if it is not differentiable, so the Jacobian does not exists, how do the functi…

---

## [\[ANN\] SkewLinearAlgebra.jl - optimized functions for skew-Hermitian matrices](https://discourse.julialang.org/t/ann-skewlinearalgebra-jl-optimized-functions-for-skew-hermitian-matrices/105521)

<div class="topic-metadata">

**Author:** [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Replies:** 1\
**Last updated:** [October 28, 2023, 8:54pm UTC](https://discourse.julialang.org/t/ann-skewlinearalgebra-jl-optimized-functions-for-skew-hermitian-matrices/105521 "2023-10-28T20:54:04Z")

</div>

The new SkewLinearAlgebra package provides specialized matrix types, optimized methods of LinearAlgebra functions, and a few entirely new functions for dealing with linear algebra on skew-Hermitian matrices, especially f…

---

## [ANN: TupleShuffling: shuffling of tuples and generating random permutation tuples](https://discourse.julialang.org/t/ann-tupleshuffling-shuffling-of-tuples-and-generating-random-permutation-tuples/105506)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 3\
**Last updated:** [October 28, 2023, 6:47pm UTC](https://discourse.julialang.org/t/ann-tupleshuffling-shuffling-of-tuples-and-generating-random-permutation-tuples/105506 "2023-10-28T18:47:11Z")

</div>

TupleShuffling is being registered. Use it when: There’s a tuple and you want to shuffle its elements. So like shuffle from the standard library, but for tuples instead of for arrays You want a random permutation of st…

---

## [Specifying which parameter to solve for in an ODE](https://discourse.julialang.org/t/specifying-which-parameter-to-solve-for-in-an-ode/105518)

<div class="topic-metadata">

**Author:** [@aoifehealy](https://discourse.julialang.org/u/aoifehealy)\
**Replies:** 1\
**Last updated:** [October 28, 2023, 6:29pm UTC](https://discourse.julialang.org/t/specifying-which-parameter-to-solve-for-in-an-ode/105518 "2023-10-28T18:29:02Z")

</div>

Hi there, I’m new to Julia and modelingtoolkit, and I am trying to use it to implement a 2 element windkessel model consisting of a capacitor and resistor in parallel My code is as follows: using ModelingToolkit using …

---

## [How to do fast bulk copy from local Windows computer to SQL Server?](https://discourse.julialang.org/t/how-to-do-fast-bulk-copy-from-local-windows-computer-to-sql-server/105503)

<div class="topic-metadata">

**Author:** [@jwright11](https://discourse.julialang.org/u/jwright11)\
**Replies:** 2\
**Last updated:** [October 28, 2023, 4:47pm UTC](https://discourse.julialang.org/t/how-to-do-fast-bulk-copy-from-local-windows-computer-to-sql-server/105503 "2023-10-28T16:47:21Z")

</div>

I have a table with two string columns (about 30,000 rows) in an Excel file on Windows 10 and I’m trying to do a bulk copy into SQL Server. I have an Excel add-in which uses the C# SqlBulkCopy class to do a bulk copy fr…

---

## [MTK: PDEs & Collocation/weighted residual method](https://discourse.julialang.org/t/mtk-pdes-collocation-weighted-residual-method/105241)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 6\
**Last updated:** [October 28, 2023, 4:29pm UTC](https://discourse.julialang.org/t/mtk-pdes-collocation-weighted-residual-method/105241 "2023-10-28T16:29:33Z")

</div>

I’m trying to dig up some past knowledge on the “weighted residual method” – it seems to be quite similar to PINN. How can I make the following more elegant? To exemplify, I consider a co-current heat exchanger: \\frac…

---

## [Divergence loss term Partial Derivative Flux Zygote](https://discourse.julialang.org/t/divergence-loss-term-partial-derivative-flux-zygote/105513)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 0\
**Last updated:** [October 28, 2023, 4:09pm UTC](https://discourse.julialang.org/t/divergence-loss-term-partial-derivative-flux-zygote/105513 "2023-10-28T16:09:54Z")

</div>

Hello, I would like to train a neural network s\_\\theta : \\mathbb{R}^{n\_x} \\times \\mathbb{R}^{n\_y} \\to \\mathbb{R}^{n\_x} parameterized by the parameters \\theta defined on a space of joint variables (x,y) \\in \\mathbb{R}^{n…

---

## [Degenerate Multivariate Normal Sampling](https://discourse.julialang.org/t/degenerate-multivariate-normal-sampling/103825)

<div class="topic-metadata">

**Author:** [@Jad\_Zeitouni](https://discourse.julialang.org/u/Jad_Zeitouni)\
**Replies:** 1\
**Last updated:** [October 28, 2023, 2:22pm UTC](https://discourse.julialang.org/t/degenerate-multivariate-normal-sampling/103825 "2023-10-28T14:22:01Z")

</div>

It seems this topic keeps coming up over and over again (see here and here), with a lot of efforts to resolve it but it gets stuck. My code is reliant on using MvNormal for sampling. I could write my own code that check…

---

## [MethodError: no method matching Plot(::Vector{Any}, ::Layout{Dict{Symbol, Any}})](https://discourse.julialang.org/t/methoderror-no-method-matching-plot-vector-any-layout-dict-symbol-any/105501)

<div class="topic-metadata">

**Author:** [@Stephen](https://discourse.julialang.org/u/Stephen)\
**Replies:** 1\
**Last updated:** [October 28, 2023, 1:15pm UTC](https://discourse.julialang.org/t/methoderror-no-method-matching-plot-vector-any-layout-dict-symbol-any/105501 "2023-10-28T13:15:52Z")

</div>

scatter\_data = \[\]; for col in names(国家财政收入)\[2:3\] 国家财政收入\[!, col\] .= (国家财政收入\[!, col\] ./ 财政收入合计) push!(scatter\_data, scatter(国家财政收入, x = :年份, y = :col, name = col)) end scatter\_data returns 2-element Vector{Any} …

---

## [Why do these allocate?!](https://discourse.julialang.org/t/why-do-these-allocate/105497)

<div class="topic-metadata">

**Author:** [@nsajko](https://discourse.julialang.org/u/nsajko)\
**Replies:** 4\
**Last updated:** [October 28, 2023, 12:58pm UTC](https://discourse.julialang.org/t/why-do-these-allocate/105497 "2023-10-28T12:58:36Z")

</div>

The functions shuf1 and shuf2 are two different implementations of a Fisher-Yates shuffle for tuples. Why do both allocate, even in trivial cases? The recursion depth should be small and a compile-time constant and all t…

---

## [How to slightly extend a range?](https://discourse.julialang.org/t/how-to-slightly-extend-a-range/105499)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 6\
**Last updated:** [October 28, 2023, 12:46pm UTC](https://discourse.julialang.org/t/how-to-slightly-extend-a-range/105499 "2023-10-28T12:46:46Z")

</div>

Hello! Suppose I have a range: r = 1:10 I found a function to extend the range: extended\_range(r,δ) = (first(r) - δ):step(r):(last(r) + δ) But I observe some different behaviours: extended\_range(r,1) 0:1:11 extend…

---

## [Broadcasting power with integer literal issues](https://discourse.julialang.org/t/broadcasting-power-with-integer-literal-issues/105449)

<div class="topic-metadata">

**Author:** [@ybbat](https://discourse.julialang.org/u/ybbat)\
**Replies:** 2\
**Last updated:** [October 28, 2023, 11:31am UTC](https://discourse.julialang.org/t/broadcasting-power-with-integer-literal-issues/105449 "2023-10-28T11:31:46Z")

</div>

Hi, I am having some issues with custom broadcasting working with the power (^) operator when I am trying to use an integer literal as the exponent. My broadcast methods seem to work fine for other methods such as + or \*…

---

## [Unexpectedly Large Compile Time Using MethodOfLines.jl](https://discourse.julialang.org/t/unexpectedly-large-compile-time-using-methodoflines-jl/105212)

<div class="topic-metadata">

**Author:** [@aharbick](https://discourse.julialang.org/u/aharbick)\
**Replies:** 3\
**Last updated:** [October 28, 2023, 11:07am UTC](https://discourse.julialang.org/t/unexpectedly-large-compile-time-using-methodoflines-jl/105212 "2023-10-28T11:07:10Z")

</div>

So I am trying to use the MethodOfLines package to solve some equations which are somewhat similar to 2D diffusion equations. As a starting point, I have modified the heat equation example from the documentation to work …

---

## [DifferentialEquations 2nd order ODE interpolation for position](https://discourse.julialang.org/t/differentialequations-2nd-order-ode-interpolation-for-position/105409)

<div class="topic-metadata">

**Author:** [@rwalters31](https://discourse.julialang.org/u/rwalters31)\
**Replies:** 2\
**Last updated:** [October 28, 2023, 9:38am UTC](https://discourse.julialang.org/t/differentialequations-2nd-order-ode-interpolation-for-position/105409 "2023-10-28T09:38:28Z")

</div>

I am modeling simple projectile motion using the DifferentialEquations.jl package. I have read in the documentation that you can interpolate based on time to get an answer for an exact time. Instead of time I have been…

---

## [Choose your own adventure on steroid with multiple dispatch?](https://discourse.julialang.org/t/choose-your-own-adventure-on-steroid-with-multiple-dispatch/105495)

<div class="topic-metadata">

**Author:** [@Tarny\_GG\_Channie](https://discourse.julialang.org/u/Tarny_GG_Channie)\
**Replies:** 0\
**Last updated:** [October 28, 2023, 2:42am UTC](https://discourse.julialang.org/t/choose-your-own-adventure-on-steroid-with-multiple-dispatch/105495 "2023-10-28T02:42:11Z")

</div>

Let’s entertain an idea. What implication lies ahead is up to your interpretation. Typically, choose-your-own-adventure authors are limited to about two options. Branches the storyline, and overwhelm yourself with wor…

---

## [\[pre-ANN\] DataViewer.jl: explore data files with the power of Makie](https://discourse.julialang.org/t/pre-ann-dataviewer-jl-explore-data-files-with-the-power-of-makie/105390)

<div class="topic-metadata">

**Author:** [@ffevotte](https://discourse.julialang.org/u/ffevotte)\
**Replies:** 14\
**Last updated:** [October 27, 2023, 8:47pm UTC](https://discourse.julialang.org/t/pre-ann-dataviewer-jl-explore-data-files-with-the-power-of-makie/105390 "2023-10-27T20:47:55Z")

</div>

Hello, I’ve recently been working on DataViewer.jl, a GUI that helps explore and visualize the structure of data contained in datafiles (such as HDF5, JLD2 or JSON files). This tool focuses on understanding…

---

## [Help finding function -- concatenate strings with separator](https://discourse.julialang.org/t/help-finding-function-concatenate-strings-with-separator/105488)

<div class="topic-metadata">

**Author:** [@tbeason](https://discourse.julialang.org/u/tbeason)\
**Replies:** 2\
**Last updated:** [October 27, 2023, 5:59pm UTC](https://discourse.julialang.org/t/help-finding-function-concatenate-strings-with-separator/105488 "2023-10-27T17:59:35Z")

</div>

I am having trouble finding a function that I am pretty sure exists. Suppose I have a vector of strings. I want to concatenate these strings into one longer string, but with a separator in-between each. Doesn’t this func…

---

## [Speeding up the calculation of Liouville function](https://discourse.julialang.org/t/speeding-up-the-calculation-of-liouville-function/105447)

<div class="topic-metadata">

**Author:** [@HMegh](https://discourse.julialang.org/u/HMegh)\
**Replies:** 4\
**Last updated:** [October 27, 2023, 5:15pm UTC](https://discourse.julialang.org/t/speeding-up-the-calculation-of-liouville-function/105447 "2023-10-27T17:15:20Z")

</div>

Hi! In my journey to learn Julia, I was trying to find the smallest counter example of Polya’s conjecture which is a little less than 10^9, while using as little memory as possible. Any tips on how to optimize the algo…

---

## [Transfer/ Unbox Julia's DataFrame objects and use as C++ object](https://discourse.julialang.org/t/transfer-unbox-julias-dataframe-objects-and-use-as-c-object/105440)

<div class="topic-metadata">

**Author:** [@Ivan\_Navarro](https://discourse.julialang.org/u/Ivan_Navarro)\
**Replies:** 12\
**Last updated:** [October 27, 2023, 4:36pm UTC](https://discourse.julialang.org/t/transfer-unbox-julias-dataframe-objects-and-use-as-c-object/105440 "2023-10-27T16:36:37Z")

</div>

NOTE: Cross posting from Transfer/ Unbox Julia's DataFrame objects and use as C++ object - Stack Overflow I would like to (un)box complex objects like DataFrames created in Julia, from C++. So I can use as input data fo…

---

## [Bundling Julia GUI application for Windows](https://discourse.julialang.org/t/bundling-julia-gui-application-for-windows/105328)

<div class="topic-metadata">

**Author:** [@Janis\_Erdmanis](https://discourse.julialang.org/u/Janis_Erdmanis)\
**Replies:** 6\
**Last updated:** [October 27, 2023, 1:17pm UTC](https://discourse.julialang.org/t/bundling-julia-gui-application-for-windows/105328 "2023-10-27T13:17:30Z")

</div>

I am wondering has anyone has tried to bundle a Julia application for Universal Windows Platform (UWP) using the MSIX bundle? I am currently working on a cross-platform bundler for Julia GUI applications called AppBundl…

---

## [ApproxFun.jl for Helmholtz equation on cylinder](https://discourse.julialang.org/t/approxfun-jl-for-helmholtz-equation-on-cylinder/14864)

<div class="topic-metadata">

**Author:** [@mitkoge](https://discourse.julialang.org/u/mitkoge)\
**Replies:** 3\
**Last updated:** [October 27, 2023, 4:05pm UTC](https://discourse.julialang.org/t/approxfun-jl-for-helmholtz-equation-on-cylinder/14864 "2023-10-27T16:05:30Z")

</div>

I am trying to figure out if ApproxFun can be used for solving Helmholtz equation on cylindrical domain. Naively i hoped for something like Bessel spaces readily available. May be i have to construct cylinder domain us…

---

## [Collecting data by allocatable array](https://discourse.julialang.org/t/collecting-data-by-allocatable-array/105484)

<div class="topic-metadata">

**Author:** [@Photon](https://discourse.julialang.org/u/Photon)\
**Replies:** 1\
**Last updated:** [October 27, 2023, 3:31pm UTC](https://discourse.julialang.org/t/collecting-data-by-allocatable-array/105484 "2023-10-27T15:31:43Z")

</div>

Suppose there is a file, containing a series of data, and the number of data is unknown before reading the file. To collect all data in this file, is there a kind of array in Julia for this purpose, just like the alloca…

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

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