# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=261

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

**Page:** 262

---

## [Can Flux handle multiple GPUs?](https://discourse.julialang.org/t/can-flux-handle-multiple-gpus/85323)

<div class="topic-metadata">

**Author:** [@Lewis\_Hein](https://discourse.julialang.org/u/Lewis_Hein)\
**Replies:** 16\
**Last updated:** [August 5, 2022, 10:23pm UTC](https://discourse.julialang.org/t/can-flux-handle-multiple-gpus/85323 "2022-08-05T22:23:09Z")

</div>

I am playing around with ML in Julia and stumbled on a source of cheap nvidia Quadro K2000s. Far from modern, I know, but I can’t afford modern hardware for side projects. If I stuck 4 of them in 1 tower, would Flux/Cuda…

---

## [Polynomial fitting with all fitting feedback (chi-squared, etc.)](https://discourse.julialang.org/t/polynomial-fitting-with-all-fitting-feedback-chi-squared-etc/85122)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 9:00pm UTC](https://discourse.julialang.org/t/polynomial-fitting-with-all-fitting-feedback-chi-squared-etc/85122 "2022-08-05T21:00:33Z")

</div>

Hi, I’m familiar with ‘’‘PolyFit’‘’ for fitting polynomials to data, but that algorithm just returns the best-fit polynomial coefficients. Is there any easy way to automatically get back more of the useful fitting result…

---

## [Error while reading and writing raster dataset using ArchGDAL](https://discourse.julialang.org/t/error-while-reading-and-writing-raster-dataset-using-archgdal/85268)

<div class="topic-metadata">

**Author:** [@anu21](https://discourse.julialang.org/u/anu21)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 6:20pm UTC](https://discourse.julialang.org/t/error-while-reading-and-writing-raster-dataset-using-archgdal/85268 "2022-08-05T18:20:36Z")

</div>

I am new to the Julia. I am using ArchGDAL to open and write raster data, but I keep getting this error. GDALError (CE\_Failure, code 1): GDALOpen() called on “/path/to/file” recursively Is anyone familiar with this err…

---

## [SciMLBenchmarks.jl: Comparison with Fixed timestep methods](https://discourse.julialang.org/t/scimlbenchmarks-jl-comparison-with-fixed-timestep-methods/85246)

<div class="topic-metadata">

**Author:** [@Mikel\_Antonana](https://discourse.julialang.org/u/Mikel_Antonana)\
**Replies:** 12\
**Last updated:** [August 5, 2022, 5:40pm UTC](https://discourse.julialang.org/t/scimlbenchmarks-jl-comparison-with-fixed-timestep-methods/85246 "2022-08-05T17:40:54Z")

</div>

Hi, I have run a benchmark to compare adaptive and fixed step size method DPRKN12(): tols=abstols=reltols=\[1e-8, 1e-9, 1e-10, 1e-11, 1e-12, 1e-13, 1e-14, 1e-15\] dts= \[15., 25.,35., 50., 65., 75., 100., 125.\] setups …

---

## [How to add WebSocket to Genie Site?](https://discourse.julialang.org/t/how-to-add-websocket-to-genie-site/84976)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 5\
**Last updated:** [August 5, 2022, 3:58pm UTC](https://discourse.julialang.org/t/how-to-add-websocket-to-genie-site/84976 "2022-08-05T15:58:54Z")

</div>

The Genie.jl documentation does not seem to have any information as to how to include a websocket in a web app, all the examples are just from the command line. I have a website composed of html and javascript in a webap…

---

## [Can't Install Julia Packages on AWS Lightsail Ubuntu](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 3:17pm UTC](https://discourse.julialang.org/t/cant-install-julia-packages-on-aws-lightsail-ubuntu/85301 "2022-08-05T15:17:24Z")

</div>

I am trying to create a Genie.jl website hosted with Amazon, but when I try to install the required packages, the process is killed. The image below demonstrates this when trying to install the CSV package. Any help fixi…

---

## [ReactiveMP: How to run linear model with multiple predictors and an intercept](https://discourse.julialang.org/t/reactivemp-how-to-run-linear-model-with-multiple-predictors-and-an-intercept/85290)

<div class="topic-metadata">

**Author:** [@EvoArt](https://discourse.julialang.org/u/EvoArt)\
**Replies:** 9\
**Last updated:** [August 5, 2022, 3:03pm UTC](https://discourse.julialang.org/t/reactivemp-how-to-run-linear-model-with-multiple-predictors-and-an-intercept/85290 "2022-08-05T15:03:15Z")

</div>

Hi there I would like to adapt the linear regression example from the docs to work with multiple predictor variables. So far, I have the following code, which runs. using GraphPPL, Rocket, ReactiveMP, LinearAlgebra n …

---

## [Delete the nth frontal of a 3th-order tensor(array)](https://discourse.julialang.org/t/delete-the-nth-frontal-of-a-3th-order-tensor-array/85214)

<div class="topic-metadata">

**Author:** [@tapyu](https://discourse.julialang.org/u/tapyu)\
**Replies:** 13\
**Last updated:** [August 5, 2022, 2:57pm UTC](https://discourse.julialang.org/t/delete-the-nth-frontal-of-a-3th-order-tensor-array/85214 "2022-08-05T14:57:01Z")

</div>

Consider the following tensor A = reshape(1:24,4,2,3) I want to split it into two elements: B, which is the second frontal of A; and C, which is the remaining elements. Getting B is pretty obvious, B = A\[:,:,2\] But I…

---

## [Open zip file with non UTF-8 encoding](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 9:14am UTC](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241 "2022-08-05T09:14:44Z")

</div>

Hi all, I want to download a file and unzip the only file in the archive to feed a CSV.File (Energy data for a France region from https://eco2mix.rte-france.com/download/eco2mix/eCO2mix\_RTE\_Auvergne-Rhône-Alpes\_En-cours…

---

## [Can stiff ODE methods have an interpolant of the same order?](https://discourse.julialang.org/t/can-stiff-ode-methods-have-an-interpolant-of-the-same-order/85278)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 8:25pm UTC](https://discourse.julialang.org/t/can-stiff-ode-methods-have-an-interpolant-of-the-same-order/85278 "2022-08-04T20:25:00Z")

</div>

Are there implicit methods that generate a continuous extension (i.e. dense output) at the same order as the integration? Many non-stiff solvers have this property, but I don’t know of any 4th or 5th order implicit solve…

---

## [\[ANN\] Clarabel.jl: New convex optimization solver](https://discourse.julialang.org/t/ann-clarabel-jl-new-convex-optimization-solver/83915)

<div class="topic-metadata">

**Author:** [@pgoulart](https://discourse.julialang.org/u/pgoulart)\
**Replies:** 20\
**Last updated:** [August 4, 2022, 4:39pm UTC](https://discourse.julialang.org/t/ann-clarabel-jl-new-convex-optimization-solver/83915 "2022-08-04T16:39:29Z")

</div>

Dear Julia Optimizers, We are happy to announce the release of Clarabel.jl v0.1.0, a new interior point code for conic optimization written entirely in Julia. The code currently supports LP/QP/SOCP/SDP problems and can…

---

## [Neural ODE works for small networks, but throws error for larger networks (getindex() method)?](https://discourse.julialang.org/t/neural-ode-works-for-small-networks-but-throws-error-for-larger-networks-getindex-method/85258)

<div class="topic-metadata">

**Author:** [@jvkoch](https://discourse.julialang.org/u/jvkoch)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 3:06pm UTC](https://discourse.julialang.org/t/neural-ode-works-for-small-networks-but-throws-error-for-larger-networks-getindex-method/85258 "2022-08-04T15:06:42Z")

</div>

Hello all: I’m running into strange behavior with neural ODEs defined with composite functions and FastChain definitions. In short, the below code works w/o issue for small neural networks, but fails for larger networks…

---

## [Julia GLMakie plotting "contour" animation, old frames stay](https://discourse.julialang.org/t/julia-glmakie-plotting-contour-animation-old-frames-stay/85283)

<div class="topic-metadata">

**Author:** [@Kenneth\_E\_Lee](https://discourse.julialang.org/u/Kenneth_E_Lee)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 10:48am UTC](https://discourse.julialang.org/t/julia-glmakie-plotting-contour-animation-old-frames-stay/85283 "2022-08-04T10:48:03Z")

</div>

Trying to use the GLMakie.record() function to make an animation of GLMakie.contour!() 3D contour plots. The code is quite classic. I will just list out the structure of it. @lift GLMakie.contour!(ax, xx.val, yy.val, zz…

---

## [Question on how to define equation system in DiffEq using Matrix form](https://discourse.julialang.org/t/question-on-how-to-define-equation-system-in-diffeq-using-matrix-form/85286)

<div class="topic-metadata">

**Author:** [@kwwong333](https://discourse.julialang.org/u/kwwong333)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 10:42am UTC](https://discourse.julialang.org/t/question-on-how-to-define-equation-system-in-diffeq-using-matrix-form/85286 "2022-08-04T10:42:39Z")

</div>

Hello Guys, Previously, we handled CFD problems involving algebraic equations in the form of a matrix using a simple self-coded and stupid solver :). After reading the capability of Diffeq, we would like to move into Di…

---

## [MOSEK fatal error stopenv](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590)

<div class="topic-metadata">

**Author:** [@cyanzhao42](https://discourse.julialang.org/u/cyanzhao42)\
**Replies:** 5\
**Last updated:** [August 4, 2022, 9:24am UTC](https://discourse.julialang.org/t/mosek-fatal-error-stopenv/51590 "2022-08-04T09:24:13Z")

</div>

Hi all, I try to use JuMP with MOSEK. After formulated the problem, and start solving the problem, I have received this error message. Any suggestions on what going on here or how I can figure this out? Thanks! MOSEK f…

---

## [Symbolics.jl | Interfacing - building an expression tree to use custom rules](https://discourse.julialang.org/t/symbolics-jl-interfacing-building-an-expression-tree-to-use-custom-rules/85264)

<div class="topic-metadata">

**Author:** [@Audrius-St](https://discourse.julialang.org/u/Audrius-St)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 12:44am UTC](https://discourse.julialang.org/t/symbolics-jl-interfacing-building-an-expression-tree-to-use-custom-rules/85264 "2022-08-04T00:44:09Z")

</div>

Hello, I would like to use the SymbolicUtils composing rewriter Fixpoint(rw) which returns a rewriter which applies rw repeatedly until there are no changes to be made to apply a custom rule to a Symbolics.jl expres…

---

## [Change width of a particular stack in Makie bar plot](https://discourse.julialang.org/t/change-width-of-a-particular-stack-in-makie-bar-plot/85269)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 0\
**Last updated:** [August 3, 2022, 10:30pm UTC](https://discourse.julialang.org/t/change-width-of-a-particular-stack-in-makie-bar-plot/85269 "2022-08-03T22:30:20Z")

</div>

I need to have some customization in my bar plots, and was wondering if someone could help me achieve the following two things: How to specify different widths to different stacks in the bar plot? For example, in the p…

---

## [How to initialize an array of Turing variables?](https://discourse.julialang.org/t/how-to-initialize-an-array-of-turing-variables/85205)

<div class="topic-metadata">

**Author:** [@jpm](https://discourse.julialang.org/u/jpm)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 9:46pm UTC](https://discourse.julialang.org/t/how-to-initialize-an-array-of-turing-variables/85205 "2022-08-03T21:46:31Z")

</div>

I am new to Turing and in the process of translating a complex dynamical stochastic model from Stan to Turing. Instead of declaring individual variables (many of them arrays), I would like to include them in a dictionary…

---

## [Optim.jl - get the hessian matrix from maximum likelihood estimation](https://discourse.julialang.org/t/optim-jl-get-the-hessian-matrix-from-maximum-likelihood-estimation/70615)

<div class="topic-metadata">

**Author:** [@Strange\_Xue](https://discourse.julialang.org/u/Strange_Xue)\
**Replies:** 6\
**Last updated:** [August 3, 2022, 7:13pm UTC](https://discourse.julialang.org/t/optim-jl-get-the-hessian-matrix-from-maximum-likelihood-estimation/70615 "2022-08-03T19:13:11Z")

</div>

There exists an example at Optim.jl’s tutorial, I copy the code here. using Optim, NLSolversBase, Random using LinearAlgebra: diag Random.seed!(0); # Fix random seed generator for reproducibil…

---

## [How to use custom back end model with Genie MVC app?](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257)

<div class="topic-metadata">

**Author:** [@Jack\_N](https://discourse.julialang.org/u/Jack_N)\
**Replies:** 0\
**Last updated:** [August 3, 2022, 6:45pm UTC](https://discourse.julialang.org/t/how-to-use-custom-back-end-model-with-genie-mvc-app/85257 "2022-08-03T18:45:47Z")

</div>

I am trying to use Genie to create a MVC structured web application, but I have not figured out how to include something other than a database retrieval system for the model. I have read the entire documentation and the…

---

## [Image Partition into Blocks](https://discourse.julialang.org/t/image-partition-into-blocks/85238)

<div class="topic-metadata">

**Author:** [@lgmendes](https://discourse.julialang.org/u/lgmendes)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 6:36pm UTC](https://discourse.julialang.org/t/image-partition-into-blocks/85238 "2022-08-03T18:36:48Z")

</div>

What is the equivalent Julia function of the Wolfram Mathematica ImagePartition function ( ImagePartition—Wolfram Language Documentation )

---

## [Optimal Power of N for FFTW](https://discourse.julialang.org/t/optimal-power-of-n-for-fftw/85232)

<div class="topic-metadata">

**Author:** [@Jake](https://discourse.julialang.org/u/Jake)\
**Replies:** 10\
**Last updated:** [August 3, 2022, 6:05pm UTC](https://discourse.julialang.org/t/optimal-power-of-n-for-fftw/85232 "2022-08-03T18:05:18Z")

</div>

FFTW is fastest when it has small prime factors according to its manual. If there is the option to pad the input data, then with radix 2 FFT algorithms this is done with a “next power of 2” type function. However if th…

---

## [Problem with SymPy. Symbolic calculation of Sturm chains (Sturm sequence) for polynomials](https://discourse.julialang.org/t/problem-with-sympy-symbolic-calculation-of-sturm-chains-sturm-sequence-for-polynomials/84921)

<div class="topic-metadata">

**Author:** [@mendeli](https://discourse.julialang.org/u/mendeli)\
**Replies:** 2\
**Last updated:** [August 3, 2022, 4:44pm UTC](https://discourse.julialang.org/t/problem-with-sympy-symbolic-calculation-of-sturm-chains-sturm-sequence-for-polynomials/84921 "2022-08-03T16:44:54Z")

</div>

I was using sympy.sturm() to calculate the Sturm functions of a polynomial and came across an error for a 4th degree polynomial using SymPy begin @vars x # Polynomial coefficients c4 = Sym\[1; -4; 8; -8; 4\] # Probl…

---

## [Strange issues with stride loops as in CUDA.Random](https://discourse.julialang.org/t/strange-issues-with-stride-loops-as-in-cuda-random/85163)

<div class="topic-metadata">

**Author:** [@physicsjoke](https://discourse.julialang.org/u/physicsjoke)\
**Replies:** 1\
**Last updated:** [August 3, 2022, 12:51pm UTC](https://discourse.julialang.org/t/strange-issues-with-stride-loops-as-in-cuda-random/85163 "2022-08-03T12:51:10Z")

</div>

Hello everyone, I’ve been spending quite some time debugging my method to sample gamma-distributed random numbers on my GPU. The algo is quite simple, as my shape parameter (k) is drawn from a Poisson distribution and …

---

## [Poor scaling results with \`ImplicitGlobalGrid.jl\`](https://discourse.julialang.org/t/poor-scaling-results-with-implicitglobalgrid-jl/65170)

<div class="topic-metadata">

**Author:** [@francispoulin](https://discourse.julialang.org/u/francispoulin)\
**Replies:** 28\
**Last updated:** [August 3, 2022, 12:34pm UTC](https://discourse.julialang.org/t/poor-scaling-results-with-implicitglobalgrid-jl/65170 "2022-08-03T12:34:49Z")

</div>

I have tried running one of the examples of ImplicitGlobalGrid.jl on 1, 2 and 4 gpus to reproduce some scaling results. I started wtih diffusion3D\_multigpu\_CuArray\_novis.jl with a coarser grid to see how it does. Below y…

---

## [Question about low pass filter in DSP.jl](https://discourse.julialang.org/t/question-about-low-pass-filter-in-dsp-jl/79214)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 5\
**Last updated:** [August 3, 2022, 10:00am UTC](https://discourse.julialang.org/t/question-about-low-pass-filter-in-dsp-jl/79214 "2022-08-03T10:00:16Z")

</div>

Hi, I’m new to the domain of signal processing. Recently I have encountered some phase related issues with the low pass filter in DSP.jl. In MATLAB, fs = 1e3; t = 0:1/fs:1; % comment out random noise for testing x = \[…

---

## [Is it necessary to add GR.jl?](https://discourse.julialang.org/t/is-it-necessary-to-add-gr-jl/85217)

<div class="topic-metadata">

**Author:** [@vitaminace33](https://discourse.julialang.org/u/vitaminace33)\
**Replies:** 3\
**Last updated:** [August 3, 2022, 8:48am UTC](https://discourse.julialang.org/t/is-it-necessary-to-add-gr-jl/85217 "2022-08-03T08:48:13Z")

</div>

GR is the default backend for plotting and works out of the box. Hence, the question, is it necessary to add GR.jl via Pkg.add? Would this add any extra capabilities to plotting?

---

## [Can not choose alg for lyapunovspectrum DynamicalSystems.jl](https://discourse.julialang.org/t/can-not-choose-alg-for-lyapunovspectrum-dynamicalsystems-jl/85173)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 9\
**Last updated:** [August 3, 2022, 7:46am UTC](https://discourse.julialang.org/t/can-not-choose-alg-for-lyapunovspectrum-dynamicalsystems-jl/85173 "2022-08-03T07:46:32Z")

</div>

I have system and parametres: function HR!(du, u, p, t) function sigma(x) return 1.0 / ( 1.0 + exp( -10.0 \* ( x - ( - 0.25 ) ) ) ) end a, b, c, d, s, xr, r, I, vs, k1, k2, el\_link = …

---

## [Dirac Delta with DifferentialEquations.jl](https://discourse.julialang.org/t/dirac-delta-with-differentialequations-jl/84835)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 4\
**Last updated:** [August 2, 2022, 8:18pm UTC](https://discourse.julialang.org/t/dirac-delta-with-differentialequations-jl/84835 "2022-08-02T20:18:55Z")

</div>

Hi, I want to integrate a differential equations system numerically, but some equations involve Dirac delta functions. Is there a built-in delta function to do this? Or should I be mimicking one with a continuous funct…

---

## [How can I change a single color in a Plots.jl palette?](https://discourse.julialang.org/t/how-can-i-change-a-single-color-in-a-plots-jl-palette/85172)

<div class="topic-metadata">

**Author:** [@thompsonmj](https://discourse.julialang.org/u/thompsonmj)\
**Replies:** 4\
**Last updated:** [August 2, 2022, 4:04pm UTC](https://discourse.julialang.org/t/how-can-i-change-a-single-color-in-a-plots-jl-palette/85172 "2022-08-02T16:04:11Z")

</div>

If I have a palette, is there some way to change the colors by index? c = palette(:tab10) c\[10\] = colorant"black" ERROR: MethodError: no method matching setindex!(::ColorPalette, ::RGB{N0f8}, ::Int64)

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=260)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=262)
