# Specific Domains

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

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

**Page:** 327

---

## [Tensor coordinate transforms for linear elasticity](https://discourse.julialang.org/t/tensor-coordinate-transforms-for-linear-elasticity/70326)

<div class="topic-metadata">

**Author:** [@feanor12](https://discourse.julialang.org/u/feanor12)\
**Replies:** 4\
**Last updated:** [October 26, 2021, 3:08pm UTC](https://discourse.julialang.org/t/tensor-coordinate-transforms-for-linear-elasticity/70326 "2021-10-26T15:08:36Z")

</div>

I have a linear elasticity problem in 2D (plane stress) with anisotropic material properties. I can easily calculate the displacement in the (100) plane, but I have difficulty understanding how to get the correct initia…

---

## [Error running bym2 model](https://discourse.julialang.org/t/error-running-bym2-model/70394)

<div class="topic-metadata">

**Author:** [@Stephen\_Wild](https://discourse.julialang.org/u/Stephen_Wild)\
**Replies:** 0\
**Last updated:** [October 26, 2021, 9:59am UTC](https://discourse.julialang.org/t/error-running-bym2-model/70394 "2021-10-26T09:59:54Z")

</div>

I am trying to fit a Besag York Mollié (BYM) along the lines of this Stan case study. However, I have encountered an issue fitting the model. I hope someone can help me out to figure out what has gone wrong (I am almost …

---

## [Are HTTP.jl and Diana.jl production ready (mature)?](https://discourse.julialang.org/t/are-http-jl-and-diana-jl-production-ready-mature/67639)

<div class="topic-metadata">

**Author:** [@lchernicharo](https://discourse.julialang.org/u/lchernicharo)\
**Replies:** 6\
**Last updated:** [September 3, 2021, 8:23pm UTC](https://discourse.julialang.org/t/are-http-jl-and-diana-jl-production-ready-mature/67639 "2021-09-03T20:23:09Z")

</div>

Hi, there. I’m starting a new RESTful backend project and would love to use Julia to build it. The only things that are making me a little concerned are the stability and ability of HTTP.jl to handle multiple simultaneo…

---

## [LightGraphs docs not accessible?](https://discourse.julialang.org/t/lightgraphs-docs-not-accessible/69474)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 7\
**Last updated:** [October 26, 2021, 1:21am UTC](https://discourse.julialang.org/t/lightgraphs-docs-not-accessible/69474 "2021-10-26T01:21:25Z")

</div>

https://juliagraphs.org/LightGraphs.jl/latest/ the docs page give 404 error… Any idea whats the issue ?

---

## [MPI.jl warning with system provided MPI](https://discourse.julialang.org/t/mpi-jl-warning-with-system-provided-mpi/70063)

<div class="topic-metadata">

**Author:** [@hideakiv](https://discourse.julialang.org/u/hideakiv)\
**Replies:** 7\
**Last updated:** [October 25, 2021, 6:06pm UTC](https://discourse.julialang.org/t/mpi-jl-warning-with-system-provided-mpi/70063 "2021-10-25T18:06:01Z")

</div>

I am using MPI.jl on an HPC cluster. I got a warning ┌ Warning: You appear to be using MPI.jl with the default MPI binary on a cluster. │ We recommend using the system-provided MPI, see the Configuration section of th…

---

## [Am I using LSTMs wrong?](https://discourse.julialang.org/t/am-i-using-lstms-wrong/70339)

<div class="topic-metadata">

**Author:** [@Michaela\_Maskova](https://discourse.julialang.org/u/Michaela_Maskova)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 4:45pm UTC](https://discourse.julialang.org/t/am-i-using-lstms-wrong/70339 "2021-10-25T16:45:58Z")

</div>

Hi, everyone. I have a question about the usage of LSTM and other RNN cells with Flux for prediction of data sequences. I’m playing around with Kaggle competition data (Google Brain - Ventilator Pressure Prediction | Ka…

---

## [Scalar Indexing Error: multiplying matrix by scalar](https://discourse.julialang.org/t/scalar-indexing-error-multiplying-matrix-by-scalar/70342)

<div class="topic-metadata">

**Author:** [@naubertc](https://discourse.julialang.org/u/naubertc)\
**Replies:** 2\
**Last updated:** [October 25, 2021, 4:25pm UTC](https://discourse.julialang.org/t/scalar-indexing-error-multiplying-matrix-by-scalar/70342 "2021-10-25T16:25:10Z")

</div>

Hey all, I’ve been trying to use Flux on my GPU and am running into a scalar indexing error when trying to multiply a matrix by a scalar. I found a workaround by creating a function that multiplies two items and then br…

---

## [Dash.jl favicon?](https://discourse.julialang.org/t/dash-jl-favicon/70336)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 0\
**Last updated:** [October 25, 2021, 2:42pm UTC](https://discourse.julialang.org/t/dash-jl-favicon/70336 "2021-10-25T14:42:37Z")

</div>

Is it possible to change the default favicon of a dash app? The Python docs state you need to add an assets folder containing the favicon.ico, but it didn’t work. In my case the assest folder was placed inside the src fo…

---

## [Broadcasting using slices on the GPU](https://discourse.julialang.org/t/broadcasting-using-slices-on-the-gpu/70290)

<div class="topic-metadata">

**Author:** [@fedario](https://discourse.julialang.org/u/fedario)\
**Replies:** 1\
**Last updated:** [October 25, 2021, 10:08am UTC](https://discourse.julialang.org/t/broadcasting-using-slices-on-the-gpu/70290 "2021-10-25T10:08:39Z")

</div>

Hi! I’m trying to broadcast a two argument function over slices on the second argument like so: # using CUDA # todevice = cu todevice = identity x = rand(5) |\> todevice a = rand(2, 5) |\> todevice function kernel(x, a…

---

## [Unsupported feature Hess with user-defined functions using JuMP and Alpine](https://discourse.julialang.org/t/unsupported-feature-hess-with-user-defined-functions-using-jump-and-alpine/70204)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 5\
**Last updated:** [October 25, 2021, 8:46am UTC](https://discourse.julialang.org/t/unsupported-feature-hess-with-user-defined-functions-using-jump-and-alpine/70204 "2021-10-25T08:46:03Z")

</div>

I am trying to use a global solver Alpine in JuMP with user-registered functions. I am getting the same error as mentioned in this Github issue and here discourse post for the same error for Ipopt. The code that reproduc…

---

## [JuMP optimizing parametric DifferentialEquation](https://discourse.julialang.org/t/jump-optimizing-parametric-differentialequation/70302)

<div class="topic-metadata">

**Author:** [@cricci](https://discourse.julialang.org/u/cricci)\
**Replies:** 4\
**Last updated:** [October 25, 2021, 7:32am UTC](https://discourse.julialang.org/t/jump-optimizing-parametric-differentialequation/70302 "2021-10-25T07:32:30Z")

</div>

Hello, I am trying to do the following: I have to optimize some parameters of an ODE, using JuMP (I have an objective function that depends on the solution ode the ODE). Now the problem is that the ODE itself has some o…

---

## [How to use specific convergence measures in Optim.jl?](https://discourse.julialang.org/t/how-to-use-specific-convergence-measures-in-optim-jl/69710)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 3\
**Last updated:** [October 25, 2021, 3:38am UTC](https://discourse.julialang.org/t/how-to-use-specific-convergence-measures-in-optim-jl/69710 "2021-10-25T03:38:21Z")

</div>

I’m using this code: results = Optim.optimize( obj, Optim.TwiceDifferentiableConstraints(lo, hi), θ0, Optim.IPNewton() ) And getting this output: \* Status: success \* Candidate solution Final objective v…

---

## [Packages to compute model evidence in the Julia MCMC ecosystem?](https://discourse.julialang.org/t/packages-to-compute-model-evidence-in-the-julia-mcmc-ecosystem/68922)

<div class="topic-metadata">

**Author:** [@sami1](https://discourse.julialang.org/u/sami1)\
**Replies:** 5\
**Last updated:** [October 24, 2021, 5:14pm UTC](https://discourse.julialang.org/t/packages-to-compute-model-evidence-in-the-julia-mcmc-ecosystem/68922 "2021-10-24T17:14:30Z")

</div>

Hi, I’m interested in estimating model evidence (marginal likelihood) for probabilistic models (using the DynamicPPL framework, but let me know if there is something on this matter with Soss.jl). The only available solu…

---

## [Describing a particular second-order equation in DifferentialEquations.jl](https://discourse.julialang.org/t/describing-a-particular-second-order-equation-in-differentialequations-jl/53253)

<div class="topic-metadata">

**Author:** [@anC](https://discourse.julialang.org/u/anC)\
**Replies:** 8\
**Last updated:** [October 24, 2021, 7:49am UTC](https://discourse.julialang.org/t/describing-a-particular-second-order-equation-in-differentialequations-jl/53253 "2021-10-24T07:49:15Z")

</div>

I am using DifferentialEquations.jl . If I wanted to solve a simple second order equation of the form: a t^2 f’‘(t) + b t f’(t) +c = 0 (for a,b,c real constants) I think the way to describe the problem in dif…

---

## [Fill under line to vertical axis in Plots.jl](https://discourse.julialang.org/t/fill-under-line-to-vertical-axis-in-plots-jl/70251)

<div class="topic-metadata">

**Author:** [@babaq](https://discourse.julialang.org/u/babaq)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 11:07pm UTC](https://discourse.julialang.org/t/fill-under-line-to-vertical-axis-in-plots-jl/70251 "2021-10-23T23:07:05Z")

</div>

anyone tried to plot a line and fill to the y axis using Plots? similar like this:

---

## [How to use DiffEqFlux on DAEProblem](https://discourse.julialang.org/t/how-to-use-diffeqflux-on-daeproblem/70276)

<div class="topic-metadata">

**Author:** [@clm](https://discourse.julialang.org/u/clm)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 11:02pm UTC](https://discourse.julialang.org/t/how-to-use-diffeqflux-on-daeproblem/70276 "2021-10-23T23:02:01Z")

</div>

I’m trying to use diffeqflux on differential algebraic equations. I know there is an example in the diffeqflux docs, but there they use constant mass matrices. I want to have the option to use non-constant matrices. Ulti…

---

## [CategoricalArray levels! allowmissing](https://discourse.julialang.org/t/categoricalarray-levels-allowmissing/67960)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 3\
**Last updated:** [October 23, 2021, 6:23pm UTC](https://discourse.julialang.org/t/categoricalarray-levels-allowmissing/67960 "2021-10-23T18:23:59Z")

</div>

I am ordering the categories according to their frequency. What is wrong? using CategoricalArrays, FreqTables x = \["a", "b", "c", "c", missing\] cx = CategoricalArray(x) lvls = names(sort(freqtable(collect(skipmissing(cx…

---

## [Gradients of FFT](https://discourse.julialang.org/t/gradients-of-fft/70223)

<div class="topic-metadata">

**Author:** [@maedoc](https://discourse.julialang.org/u/maedoc)\
**Replies:** 5\
**Last updated:** [October 23, 2021, 12:52pm UTC](https://discourse.julialang.org/t/gradients-of-fft/70223 "2021-10-23T12:52:30Z")

</div>

I tried to expand the DiffEqFlux page’s model to a simple one involving an FFT, but I can’t seem to get it working with any of the sensalg options. Here’s what I’ve got, using FFTW using DiffEqSensitivity, OrdinaryDiff…

---

## [Animation using frames in Dash for Julia](https://discourse.julialang.org/t/animation-using-frames-in-dash-for-julia/70254)

<div class="topic-metadata">

**Author:** [@valeroc](https://discourse.julialang.org/u/valeroc)\
**Replies:** 2\
**Last updated:** [October 23, 2021, 12:32pm UTC](https://discourse.julialang.org/t/animation-using-frames-in-dash-for-julia/70254 "2021-10-23T12:32:23Z")

</div>

Hi, I have been trying to do animation in Dash for Julia using frames (see the Simple Play Button Demo at Intro to animations in Python) . I managed to make that demo work for Dash in Python but after translating it to …

---

## [Taking rolling functions seriously](https://discourse.julialang.org/t/taking-rolling-functions-seriously/70257)

<div class="topic-metadata">

**Author:** [@JeffreySarnoff](https://discourse.julialang.org/u/JeffreySarnoff)\
**Replies:** 0\
**Last updated:** [October 23, 2021, 8:40am UTC](https://discourse.julialang.org/t/taking-rolling-functions-seriously/70257 "2021-10-23T08:40:23Z")

</div>

Generally speaking, a to roll a function over windowed data is to apply that function to consecutive data subspans, where the length (for vector data) of each subspan is given by the window size. The language has advanc…

---

## [The usage of callback](https://discourse.julialang.org/t/the-usage-of-callback/70219)

<div class="topic-metadata">

**Author:** [@BYS](https://discourse.julialang.org/u/BYS)\
**Replies:** 6\
**Last updated:** [October 23, 2021, 4:07am UTC](https://discourse.julialang.org/t/the-usage-of-callback/70219 "2021-10-23T04:07:26Z")

</div>

Hi all, I have seen an example of callback usage \>https://jump.dev/JuMP.jl/stable/tutorials/Optimization%20concepts/benders\_lazy\_constraints/ there is a line x\_current = callback\_value.(Ref(cb\_data), x), I wonder if it …

---

## [\[Makie\] Rotate bar plot labels](https://discourse.julialang.org/t/makie-rotate-bar-plot-labels/68679)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 3\
**Last updated:** [October 22, 2021, 8:42am UTC](https://discourse.julialang.org/t/makie-rotate-bar-plot-labels/68679 "2021-10-22T08:42:20Z")

</div>

I have a bar-plot: But the labels are hard to read in this orientation. A workaround is to make the plot with direction = :x: But is there a way to simply rotate the labels in the first plot? Code used to create…

---

## [Automatic Differentiation (AD) in Python compared to Julia and AD Basics](https://discourse.julialang.org/t/automatic-differentiation-ad-in-python-compared-to-julia-and-ad-basics/56031)

<div class="topic-metadata">

**Author:** [@kimlaberinto](https://discourse.julialang.org/u/kimlaberinto)\
**Replies:** 6\
**Last updated:** [October 22, 2021, 5:36pm UTC](https://discourse.julialang.org/t/automatic-differentiation-ad-in-python-compared-to-julia-and-ad-basics/56031 "2021-10-22T17:36:26Z")

</div>

Hello everyone! The quotes below is a reconstruction of a wonderful conversation I had with Lyndon White (@oxinabox) on the Julia Slack on February 24, 2021 (Thank you to Lyndon as well to let me quote and repost this on…

---

## [DifferentialEquations: Callback which is only triggered the first time condition is satisfied](https://discourse.julialang.org/t/differentialequations-callback-which-is-only-triggered-the-first-time-condition-is-satisfied/70216)

<div class="topic-metadata">

**Author:** [@pbryde](https://discourse.julialang.org/u/pbryde)\
**Replies:** 5\
**Last updated:** [October 22, 2021, 5:31pm UTC](https://discourse.julialang.org/t/differentialequations-callback-which-is-only-triggered-the-first-time-condition-is-satisfied/70216 "2021-10-22T17:31:04Z")

</div>

Is there an elegant way to define a ContinuousCallback which calls affect! only the first time that condition is satisfied (after which it does nothing)? For example, how could one modify the Bouncing Ball example (Event…

---

## [Questions about modeling Fokker-Planck equation](https://discourse.julialang.org/t/questions-about-modeling-fokker-planck-equation/70118)

<div class="topic-metadata">

**Author:** [@jlmaccal](https://discourse.julialang.org/u/jlmaccal)\
**Replies:** 2\
**Last updated:** [October 22, 2021, 5:30pm UTC](https://discourse.julialang.org/t/questions-about-modeling-fokker-planck-equation/70118 "2021-10-22T17:30:16Z")

</div>

I’m interested in solving a certain Fokker-Planck equation. The goal is to learn an underlying potential energy function given a time series of the evolution of a distribution. I’m planning to use the approach of this p…

---

## [Inset axis in Makie](https://discourse.julialang.org/t/inset-axis-in-makie/70209)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 4\
**Last updated:** [October 22, 2021, 4:45pm UTC](https://discourse.julialang.org/t/inset-axis-in-makie/70209 "2021-10-22T16:45:06Z")

</div>

How to make the inset axis non-transparent? using CairoMakie f = Figure() ax1 = Axis(f\[1,1\]) scatter!(ax1, randn(1000), randn(1000)) ax2 = Axis(f\[1,1\], width=Relative(0.2), height=Relative(0.3), halign=0.1, valign=0.1, …

---

## [Is it possible to pass a struct in MPI.jl?](https://discourse.julialang.org/t/is-it-possible-to-pass-a-struct-in-mpi-jl/70137)

<div class="topic-metadata">

**Author:** [@giancarloantonucci](https://discourse.julialang.org/u/giancarloantonucci)\
**Replies:** 9\
**Last updated:** [October 22, 2021, 4:23pm UTC](https://discourse.julialang.org/t/is-it-possible-to-pass-a-struct-in-mpi-jl/70137 "2021-10-22T16:23:47Z")

</div>

I have something like struct Struct a::Vector b::Vector i::Integer end mystruct = Struct(rand(10), rand(5), 1) How can I pass mystruct around with MPI.jl? If it’s not possible as it is, what’s the easiest wor…

---

## [Writing data from curl request using LibCURL](https://discourse.julialang.org/t/writing-data-from-curl-request-using-libcurl/15276)

<div class="topic-metadata">

**Author:** [@Julien\_Gooris](https://discourse.julialang.org/u/Julien_Gooris)\
**Replies:** 1\
**Last updated:** [October 22, 2021, 3:55pm UTC](https://discourse.julialang.org/t/writing-data-from-curl-request-using-libcurl/15276 "2021-10-22T15:55:46Z")

</div>

Hi all, I (as Julia Newbie) am trying to execute some Curl requests using LibCURL and to fetch the response content (not only the http code) into a string variable. I’m following the instructions from GitHub - JuliaWeb/…

---

## [Minibatches of graphs in GeometricFlux.jl](https://discourse.julialang.org/t/minibatches-of-graphs-in-geometricflux-jl/70170)

<div class="topic-metadata">

**Author:** [@bad\_at\_math](https://discourse.julialang.org/u/bad_at_math)\
**Replies:** 2\
**Last updated:** [October 22, 2021, 1:04pm UTC](https://discourse.julialang.org/t/minibatches-of-graphs-in-geometricflux-jl/70170 "2021-10-22T13:04:55Z")

</div>

In the supervised graph problem, you train a neural network that maps entire graph instances to target values. The GeometricFlux.jl package has great functionality for training graph neural networks; however, all of the …

---

## [Error when importing CUDAnative (or just about anything with CUDA)](https://discourse.julialang.org/t/error-when-importing-cudanative-or-just-about-anything-with-cuda/70198)

<div class="topic-metadata">

**Author:** [@Niceno](https://discourse.julialang.org/u/Niceno)\
**Replies:** 2\
**Last updated:** [October 22, 2021, 8:55am UTC](https://discourse.julialang.org/t/error-when-importing-cudanative-or-just-about-anything-with-cuda/70198 "2021-10-22T08:55:06Z")

</div>

Dear all, When I try to import CUDAnative into Julia 1.6.3, I get the following error: julia\> import Pkg; Pkg.add("CUDAnative") Resolving package versions... ERROR: Unsatisfiable requirements detected for package CU…

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

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