# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=77

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

**Page:** 78

---

## [Updated instructions for Makie + Pluto](https://discourse.julialang.org/t/updated-instructions-for-makie-pluto/62531)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [October 22, 2024, 7:24pm UTC](https://discourse.julialang.org/t/updated-instructions-for-makie-pluto/62531 "2024-10-22T19:24:23Z")

</div>

What are the most up to date instructions to visualize WGLMakie scenes inside a Pluto notebook?

---

## [CUDA tests failing in WSL](https://discourse.julialang.org/t/cuda-tests-failing-in-wsl/121545)

<div class="topic-metadata">

**Author:** [@dfenn](https://discourse.julialang.org/u/dfenn)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 2:00pm UTC](https://discourse.julialang.org/t/cuda-tests-failing-in-wsl/121545 "2024-10-22T14:00:58Z")

</div>

I’m running into errors running the CUDA.jl tests using WSL and Julia 1.11.1. Is WSL a supported platform? I’ve set export LD\_LIBRARY\_PATH="/usr/lib/wsl/lib/:$LD\_LIBRARY\_PATH", as suggested here: How to make CUDA.jl wor…

---

## [Wavelet Transformation](https://discourse.julialang.org/t/wavelet-transformation/120737)

<div class="topic-metadata">

**Author:** [@Pradyumnya\_Dastidar](https://discourse.julialang.org/u/Pradyumnya_Dastidar)\
**Replies:** 4\
**Last updated:** [October 22, 2024, 1:47pm UTC](https://discourse.julialang.org/t/wavelet-transformation/120737 "2024-10-22T13:47:43Z")

</div>

Can someone please help me to write a julia code on Wavelet Transformation for a seismic signal.

---

## [Neural ODE with irregular Data Observations?](https://discourse.julialang.org/t/neural-ode-with-irregular-data-observations/121544)

<div class="topic-metadata">

**Author:** [@patrickm663](https://discourse.julialang.org/u/patrickm663)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 12:52pm UTC](https://discourse.julialang.org/t/neural-ode-with-irregular-data-observations/121544 "2024-10-22T12:52:51Z")

</div>

Hi I have a dataset where the observed data is measured at irregular timesteps. I would like to use a neural ODE to interpolate and forecast. At the moment, I am using a feed-forward NN with fairly good success, howeve…

---

## [Result of inner product of two CuArray with views is incorrect](https://discourse.julialang.org/t/result-of-inner-product-of-two-cuarray-with-views-is-incorrect/121539)

<div class="topic-metadata">

**Author:** [@TzuYaoHuang](https://discourse.julialang.org/u/TzuYaoHuang)\
**Replies:** 2\
**Last updated:** [October 22, 2024, 11:33am UTC](https://discourse.julialang.org/t/result-of-inner-product-of-two-cuarray-with-views-is-incorrect/121539 "2024-10-22T11:33:09Z")

</div>

Hello, I am encountering a discrepancy when taking the inner product of two CUDA matrices, with and without the use of @view. The results differ by approximately 1% in Float32. Could someone kindly explain what might b…

---

## [Interactive change of mesh plot](https://discourse.julialang.org/t/interactive-change-of-mesh-plot/121435)

<div class="topic-metadata">

**Author:** [@IvanSpirandelli](https://discourse.julialang.org/u/IvanSpirandelli)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 10:33pm UTC](https://discourse.julialang.org/t/interactive-change-of-mesh-plot/121435 "2024-10-21T22:33:01Z")

</div>

I have a situation in which I have vector with mesh data, a Vector{Tuple{Vector{Point{3, Float32}}, Matrix{Int64}, Vector{Float64}}} containing vertices, faces and colors for a sequence of meshes I’d like to plot inter…

---

## [JuMP: which solver should I use for my problem?](https://discourse.julialang.org/t/jump-which-solver-should-i-use-for-my-problem/121421)

<div class="topic-metadata">

**Author:** [@langestefan](https://discourse.julialang.org/u/langestefan)\
**Replies:** 13\
**Last updated:** [October 21, 2024, 8:50pm UTC](https://discourse.julialang.org/t/jump-which-solver-should-i-use-for-my-problem/121421 "2024-10-21T20:50:51Z")

</div>

Hello, I could use some guidance on this. I have the following model: COP(ΔT) = 20.3595 - 3.2061 \* log2(1 + ΔT) function baseline\_model( df::DataFrame; A\_d::Matrix{Float64}, B\_d::Matrix{Float64}, ) T\_a…

---

## [Posterior samples as vector of named tuples](https://discourse.julialang.org/t/posterior-samples-as-vector-of-named-tuples/121430)

<div class="topic-metadata">

**Author:** [@bertschi](https://discourse.julialang.org/u/bertschi)\
**Replies:** 3\
**Last updated:** [October 21, 2024, 7:00pm UTC](https://discourse.julialang.org/t/posterior-samples-as-vector-of-named-tuples/121430 "2024-10-21T19:00:20Z")

</div>

Let’s say I have a simple Turing model @model function model() C ~ LKJ(3, 1.0) x ~ MvNormal(zeros(3), C) end and obtained some posterior samples via MCMC chain = sample(model(), NUTS(), 100) or variational in…

---

## [Sparse variable arrays and creation of ODESystem's](https://discourse.julialang.org/t/sparse-variable-arrays-and-creation-of-odesystems/121335)

<div class="topic-metadata">

**Author:** [@johannesnauta](https://discourse.julialang.org/u/johannesnauta)\
**Replies:** 1\
**Last updated:** [October 21, 2024, 8:41am UTC](https://discourse.julialang.org/t/sparse-variable-arrays-and-creation-of-odesystems/121335 "2024-10-21T08:41:40Z")

</div>

Sketch of the problem: a dumb example I have a question about the ability of ‘enforcing’ sparsity of a specific variable array that is created with the @variables macro. When running experiments, I have noticed that cre…

---

## [Record animation to mp4 with WGLMakie](https://discourse.julialang.org/t/record-animation-to-mp4-with-wglmakie/121508)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 2\
**Last updated:** [October 21, 2024, 6:41am UTC](https://discourse.julialang.org/t/record-animation-to-mp4-with-wglmakie/121508 "2024-10-21T06:41:11Z")

</div>

I have a )I think) very simple problem, that I have tried to find a solution for for a long time today. I always run into the same error message no matter what. I am in a Pluto notebook and I am using WGLMakie for plots…

---

## [How to get the gradient of a constraint of an optimization problem at a fixed point](https://discourse.julialang.org/t/how-to-get-the-gradient-of-a-constraint-of-an-optimization-problem-at-a-fixed-point/121249)

<div class="topic-metadata">

**Author:** [@VPBML](https://discourse.julialang.org/u/VPBML)\
**Replies:** 6\
**Last updated:** [October 20, 2024, 8:22pm UTC](https://discourse.julialang.org/t/how-to-get-the-gradient-of-a-constraint-of-an-optimization-problem-at-a-fixed-point/121249 "2024-10-20T20:22:39Z")

</div>

Hi, I wonder how I can get the value of the gradient of a constraint at some fixed point using JuMP. For example, in the following optimization problem, how can I get the gradient of the constraint with name Temp with r…

---

## [Switching behaviour of implicit ODEs](https://discourse.julialang.org/t/switching-behaviour-of-implicit-odes/121472)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 7\
**Last updated:** [October 20, 2024, 12:19am UTC](https://discourse.julialang.org/t/switching-behaviour-of-implicit-odes/121472 "2024-10-20T00:19:51Z")

</div>

I have two coupled nonlinear ODEs where I’m aiming to find x(t) and y(t), defined generally as: f(x,y,x',y') = 0, \\min(g(x,y,x',y'),h(x,y,x',y')) = 0, where I expect that I will switch between g\<h and g\>h at least onc…

---

## [Error with @discrete\_events for composite model (reeval\_internals\_due\_to\_modification!)](https://discourse.julialang.org/t/error-with-discrete-events-for-composite-model-reeval-internals-due-to-modification/121486)

<div class="topic-metadata">

**Author:** [@jmaedler](https://discourse.julialang.org/u/jmaedler)\
**Replies:** 2\
**Last updated:** [October 19, 2024, 10:42pm UTC](https://discourse.julialang.org/t/error-with-discrete-events-for-composite-model-reeval-internals-due-to-modification/121486 "2024-10-19T22:42:47Z")

</div>

Hi everyone, I am building a composite model in order to test my binary valve model and I am running into an error, which I do not understand. This is the code for building up the system and running it. I can also provi…

---

## [Julia code on a cluster without Julia installed](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267)

<div class="topic-metadata">

**Author:** [@uri](https://discourse.julialang.org/u/uri)\
**Replies:** 9\
**Last updated:** [October 19, 2024, 7:28pm UTC](https://discourse.julialang.org/t/julia-code-on-a-cluster-without-julia-installed/121267 "2024-10-19T19:28:28Z")

</div>

Hi. I need to run some Julia code on a cluster without Julia installed. I don’t have root permission. Any suggestions. Thanks a lot

---

## [How feasible is it to create a DuckDB clone in Julia?](https://discourse.julialang.org/t/how-feasible-is-it-to-create-a-duckdb-clone-in-julia/120944)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [October 19, 2024, 3:14pm UTC](https://discourse.julialang.org/t/how-feasible-is-it-to-create-a-duckdb-clone-in-julia/120944 "2024-10-19T15:14:03Z")

</div>

There’s no real need for this but the only remaining friction is that it’s hard to use Julia UDFs with DuckDB. If Julia was built in Julia then it might be easier to use Julia with it. However not sure if this is still t…

---

## [Custom Flux.jl Layer Not Updating (problem with Flux.trainable?)](https://discourse.julialang.org/t/custom-flux-jl-layer-not-updating-problem-with-flux-trainable/112842)

<div class="topic-metadata">

**Author:** [@eahenle](https://discourse.julialang.org/u/eahenle)\
**Replies:** 2\
**Last updated:** [October 19, 2024, 7:59am UTC](https://discourse.julialang.org/t/custom-flux-jl-layer-not-updating-problem-with-flux-trainable/112842 "2024-10-19T07:59:48Z")

</div>

I am having a problem getting a custom layer to update, and have tracked the issue to an apparent disconnect between Flux.trainable and Flux.setup. I read through related-sounding posts and issues, which seem to general…

---

## [Device RNG - Passes BigCrush](https://discourse.julialang.org/t/device-rng-passes-bigcrush/120976)

<div class="topic-metadata">

**Author:** [@MrBelette](https://discourse.julialang.org/u/MrBelette)\
**Replies:** 21\
**Last updated:** [October 18, 2024, 8:33pm UTC](https://discourse.julialang.org/t/device-rng-passes-bigcrush/120976 "2024-10-18T20:33:38Z")

</div>

I resurrected the SharedTauswortheGenerator device RNG from CUDA.jl v3.0.0 and, after some adjustment, it appears to pass the TestU01 BigCrush battery of tests! It would be nice if this can be independently tested. The…

---

## [Unstacking/pivoting Turing results](https://discourse.julialang.org/t/unstacking-pivoting-turing-results/121462)

<div class="topic-metadata">

**Author:** [@Dreycen\_Foiles](https://discourse.julialang.org/u/Dreycen_Foiles)\
**Replies:** 0\
**Last updated:** [October 18, 2024, 4:22pm UTC](https://discourse.julialang.org/t/unstacking-pivoting-turing-results/121462 "2024-10-18T16:22:29Z")

</div>

I am working with inference results from Turing.jl. My data is uneven so I’m modeling it in the “long” format while in the Turing model, but after the inference is done, I’d like to reshape the data into a more structure…

---

## [Sampling random points in LINESTRING geometry](https://discourse.julialang.org/t/sampling-random-points-in-linestring-geometry/121429)

<div class="topic-metadata">

**Author:** [@miguelborrero](https://discourse.julialang.org/u/miguelborrero)\
**Replies:** 7\
**Last updated:** [October 18, 2024, 12:07am UTC](https://discourse.julialang.org/t/sampling-random-points-in-linestring-geometry/121429 "2024-10-18T00:07:33Z")

</div>

Hi there, I a new user of the geo-tools in general, not only within the Julia ecosystem and I am trying to sample randomly from a LINESTRING LibGEOS geometry but the only function that seemed potentially useful is point…

---

## [Using NonlinearSolve with autodiff](https://discourse.julialang.org/t/using-nonlinearsolve-with-autodiff/121333)

<div class="topic-metadata">

**Author:** [@albertomercurio](https://discourse.julialang.org/u/albertomercurio)\
**Replies:** 9\
**Last updated:** [October 17, 2024, 9:18pm UTC](https://discourse.julialang.org/t/using-nonlinearsolve-with-autodiff/121333 "2024-10-17T21:18:38Z")

</div>

Hello, I was trying to test NonlinearSolve.jl with automatic differentiation like Enzyme.jl or Zygote.jl. But the following simple code fails f(x, p) = p.a \* x^2 - p.b prob = NonlinearProblem(f, 0.0, (a=1.0, b=2.0)) so…

---

## [Maximize the maximum of expressions](https://discourse.julialang.org/t/maximize-the-maximum-of-expressions/118295)

<div class="topic-metadata">

**Author:** [@janneshb](https://discourse.julialang.org/u/janneshb)\
**Replies:** 10\
**Last updated:** [October 17, 2024, 12:25pm UTC](https://discourse.julialang.org/t/maximize-the-maximum-of-expressions/118295 "2024-10-17T12:25:18Z")

</div>

Hey everyone, I would like to maximize the maximum of a vector that is a function of my optimization variables. Basically, I want to do the following, but in a “JuMP way”. @objective(model, Max, max(my\_vec...)) On th…

---

## [Matrix of Floats and JuMP Variables mixed](https://discourse.julialang.org/t/matrix-of-floats-and-jump-variables-mixed/121380)

<div class="topic-metadata">

**Author:** [@HSt](https://discourse.julialang.org/u/HSt)\
**Replies:** 2\
**Last updated:** [October 17, 2024, 1:34pm UTC](https://discourse.julialang.org/t/matrix-of-floats-and-jump-variables-mixed/121380 "2024-10-17T13:34:53Z")

</div>

Hi, I started with functions to build matrices from blocks / components like function build\_A(a::AbstractMatrix, b::AbstractMatrix, c::AbstractVector) T = promote\_type(eltype(a), eltype(b), eltype(c)) x = \[a diagm(…

---

## [What this error in Observable means? Error showing value of type Figure: ERROR: MethodError: no method matching native\_type(::WGLMakie.WebGL, ::Type{RGBA{Float32}})](https://discourse.julialang.org/t/what-this-error-in-observable-means-error-showing-value-of-type-figure-error-methoderror-no-method-matching-native-type-wglmakie-webgl-type-rgba-float32/121420)

<div class="topic-metadata">

**Author:** [@vladdez](https://discourse.julialang.org/u/vladdez)\
**Replies:** 0\
**Last updated:** [October 17, 2024, 12:46pm UTC](https://discourse.julialang.org/t/what-this-error-in-observable-means-error-showing-value-of-type-figure-error-methoderror-no-method-matching-native-type-wglmakie-webgl-type-rgba-float32/121420 "2024-10-17T12:46:50Z")

</div>

I work with WGLMakie and Observables and stumbled on this error. I had perfectly working function but suddenly I started to get this error. It is very long and it even do not show at which line of my code is the prob…

---

## [ForwardDiff with Matrix of Vector as input argument](https://discourse.julialang.org/t/forwarddiff-with-matrix-of-vector-as-input-argument/121049)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 37\
**Last updated:** [October 17, 2024, 6:52am UTC](https://discourse.julialang.org/t/forwarddiff-with-matrix-of-vector-as-input-argument/121049 "2024-10-17T06:52:23Z")

</div>

Greetings. Consider the small function function foo(v) return \[v; v\] end Then the following works v0 = \[1;1\] out = ForwardDiff.jacobian(v -\> foo(v), v0) The following works as well A0 = \[1 2; 3 4\] out = Forwar…

---

## [Julia JuMP model scope](https://discourse.julialang.org/t/julia-jump-model-scope/121400)

<div class="topic-metadata">

**Author:** [@cby](https://discourse.julialang.org/u/cby)\
**Replies:** 2\
**Last updated:** [October 16, 2024, 11:29pm UTC](https://discourse.julialang.org/t/julia-jump-model-scope/121400 "2024-10-16T23:29:43Z")

</div>

I want to define a function that creates a JuMP model that then calls a function to add a set of additional constraints to that model. That set of constraints would be the same across a number of different models. The f…

---

## [Different solution if solving a differential equation in chunks or for full time at once](https://discourse.julialang.org/t/different-solution-if-solving-a-differential-equation-in-chunks-or-for-full-time-at-once/121351)

<div class="topic-metadata">

**Author:** [@shaurya](https://discourse.julialang.org/u/shaurya)\
**Replies:** 5\
**Last updated:** [October 16, 2024, 9:56pm UTC](https://discourse.julialang.org/t/different-solution-if-solving-a-differential-equation-in-chunks-or-for-full-time-at-once/121351 "2024-10-16T21:56:30Z")

</div>

Hi! I’m trying a simulate an orbit in the chaotic 3 body dynamics, and perform two different simulations: one for full time (0, nT) where n is an integer and T is the time period of the orbit. On the other hand, I also p…

---

## [Makie outputs nothing and is sensitive to some argument changes](https://discourse.julialang.org/t/makie-outputs-nothing-and-is-sensitive-to-some-argument-changes/121348)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 10\
**Last updated:** [October 16, 2024, 8:13pm UTC](https://discourse.julialang.org/t/makie-outputs-nothing-and-is-sensitive-to-some-argument-changes/121348 "2024-10-16T20:13:40Z")

</div>

Hello, I’m trying to use CairoMakie to plot some data, but there is no output or error message for my plotting. I have tried my best to reduce my problem to a MWE, but since I’m working with a particular set of data, th…

---

## [Gurobi fails to precompile](https://discourse.julialang.org/t/gurobi-fails-to-precompile/121198)

<div class="topic-metadata">

**Author:** [@bjhamli](https://discourse.julialang.org/u/bjhamli)\
**Replies:** 5\
**Last updated:** [October 16, 2024, 1:45pm UTC](https://discourse.julialang.org/t/gurobi-fails-to-precompile/121198 "2024-10-16T13:45:18Z")

</div>

I am trying to run a file, but when I try to run the code Gurobi fails to precompile. The error output is at the end of the post. I have tried the suggested fix in the output: using Pkg; Pkg.instantiate() but I still r…

---

## [Makie: how to superpose figure on top of other figures?](https://discourse.julialang.org/t/makie-how-to-superpose-figure-on-top-of-other-figures/121374)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 1\
**Last updated:** [October 16, 2024, 12:13pm UTC](https://discourse.julialang.org/t/makie-how-to-superpose-figure-on-top-of-other-figures/121374 "2024-10-16T12:13:10Z")

</div>

I would like to plot a Legend figure on top of other figures, but the axis’ of the background figures emerges on top. How can I translate! the Legend figure to come out on top of everything ? E.g. let fig = Figure() …

---

## [Best practices for local exploratory data analysis](https://discourse.julialang.org/t/best-practices-for-local-exploratory-data-analysis/74520)

<div class="topic-metadata">

**Author:** [@danvinci](https://discourse.julialang.org/u/danvinci)\
**Replies:** 15\
**Last updated:** [October 16, 2024, 11:55am UTC](https://discourse.julialang.org/t/best-practices-for-local-exploratory-data-analysis/74520 "2024-10-16T11:55:52Z")

</div>

Hi! I’m trying to come up with a way of handling a relatively large volume of data for my laptop (~2GB worth of CSVs), and I’m not 100% sure I’m bumping into RAM limitations, Pluto limitations, limitations of available …

[Previous page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=76)

[Next page](https://discourse.julialang.org/c/domain/10.md?no_subcategories=false&page=78)
