# Specific Domains

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

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

**Page:** 272

---

## [GLMakie Menu() maximum number of items?](https://discourse.julialang.org/t/glmakie-menu-maximum-number-of-items/82948)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 6\
**Last updated:** [June 20, 2022, 12:18am UTC](https://discourse.julialang.org/t/glmakie-menu-maximum-number-of-items/82948 "2022-06-20T00:18:01Z")

</div>

Is there a maximum number of items that can be added to a Menu? I’m experimenting with GLMakie and Observables. My program watches a folder for new files. Both the data and Menu options are Observables, so when a new fil…

---

## [PGFPlots or PGFPlotsX with Docker](https://discourse.julialang.org/t/pgfplots-or-pgfplotsx-with-docker/82363)

<div class="topic-metadata">

**Author:** [@Iagoba\_Apellaniz](https://discourse.julialang.org/u/Iagoba_Apellaniz)\
**Replies:** 3\
**Last updated:** [June 19, 2022, 8:45pm UTC](https://discourse.julialang.org/t/pgfplots-or-pgfplotsx-with-docker/82363 "2022-06-19T20:45:03Z")

</div>

Dear @kristoffer.carlsson I’m currently used to compile latex code within a docker container. The question is, how difficult would it be to have an option for producing the figures with a Docker image instead of using a…

---

## [How to find jacobian of learnt neural network model](https://discourse.julialang.org/t/how-to-find-jacobian-of-learnt-neural-network-model/83010)

<div class="topic-metadata">

**Author:** [@umerzakheer](https://discourse.julialang.org/u/umerzakheer)\
**Replies:** 1\
**Last updated:** [June 19, 2022, 4:09pm UTC](https://discourse.julialang.org/t/how-to-find-jacobian-of-learnt-neural-network-model/83010 "2022-06-19T16:09:51Z")

</div>

I modelled a neural network with a vector as input and a vector as output (multi input multi output NN model). Now I want to find jacobian of the learnt function as: Would anyone please guide me how to do this in Jul…

---

## [Feedback request: \`rand\` and \`predict\` semantics](https://discourse.julialang.org/t/feedback-request-rand-and-predict-semantics/82977)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 1:12pm UTC](https://discourse.julialang.org/t/feedback-request-rand-and-predict-semantics/82977 "2022-06-19T13:12:03Z")

</div>

Hi, I’m working on Tilde.jl, and thinking some more about how rand and predict should be set up. In current development, this works: julia\> m = @model n begin μ ~ Normal(σ=10) σ ~ Exponential() …

---

## [Using Optim.jl but failing to find minimum](https://discourse.julialang.org/t/using-optim-jl-but-failing-to-find-minimum/82751)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 6\
**Last updated:** [June 19, 2022, 1:44pm UTC](https://discourse.julialang.org/t/using-optim-jl-but-failing-to-find-minimum/82751 "2022-06-19T13:44:05Z")

</div>

I’m trying to minimize parameters to fit an HMM. It works part of the way, but it seems to get stuck for some points, often not too distant from the initial guess. If I examine the one-dimensional path of the objective …

---

## [HPC systems with Julia support](https://discourse.julialang.org/t/hpc-systems-with-julia-support/82951)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 10:30am UTC](https://discourse.julialang.org/t/hpc-systems-with-julia-support/82951 "2022-06-19T10:30:23Z")

</div>

Hey everyone! I am trying to collect information about HPC systems (from university compute clusters to supercomputers) where Julia is available as a pre-installed module and, optimally, officially supported. This is par…

---

## [COSMO.jl: SecondOrderCone](https://discourse.julialang.org/t/cosmo-jl-secondordercone/82497)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 4\
**Last updated:** [June 19, 2022, 10:15am UTC](https://discourse.julialang.org/t/cosmo-jl-secondordercone/82497 "2022-06-19T10:15:03Z")

</div>

I would like to use the COSMO optimizing package for a second order cone program. I have a constraint of the form \\Vert A \\boldsymbol x + \\boldsymbol b \\Vert\_2 \\leq 1 which seems to be a perfect fit for the COSMO.Cons…

---

## [How to define a lower triangular decision matrix](https://discourse.julialang.org/t/how-to-define-a-lower-triangular-decision-matrix/82677)

<div class="topic-metadata">

**Author:** [@Tri](https://discourse.julialang.org/u/Tri)\
**Replies:** 7\
**Last updated:** [June 19, 2022, 3:35am UTC](https://discourse.julialang.org/t/how-to-define-a-lower-triangular-decision-matrix/82677 "2022-06-19T03:35:34Z")

</div>

Is there an efficient way to define a lower triangular matrix (other than defining n by n matrix and adding a constraint that sets every upper triangular element to be zero). I tried the following but it resulted in an …

---

## [Parallel reductions](https://discourse.julialang.org/t/parallel-reductions/30180)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 23\
**Last updated:** [June 19, 2022, 2:43am UTC](https://discourse.julialang.org/t/parallel-reductions/30180 "2022-06-19T02:43:50Z")

</div>

“Parallel mapreduce” is a really common need, and it’s surprisingly hard to find a Julia implementation. Say we have julia\> x = randn(10000000); julia\> f = log∘sqrt∘abs #56 (generic function with 1 method) The goal i…

---

## [Makie - how to get mesh coordinates after transformation of the parent scene](https://discourse.julialang.org/t/makie-how-to-get-mesh-coordinates-after-transformation-of-the-parent-scene/82987)

<div class="topic-metadata">

**Author:** [@danbulnet](https://discourse.julialang.org/u/danbulnet)\
**Replies:** 0\
**Last updated:** [June 18, 2022, 11:54pm UTC](https://discourse.julialang.org/t/makie-how-to-get-mesh-coordinates-after-transformation-of-the-parent-scene/82987 "2022-06-18T23:54:51Z")

</div>

Hello, I’ve got stuck with this: I don’t know how to find the actual mesh coordinates (mesh created using mesh!(scene, ...) function) after rotation and translation have been applied on the parent scene. I tried with m…

---

## [@variables parsing breaks on default value?](https://discourse.julialang.org/t/variables-parsing-breaks-on-default-value/82970)

<div class="topic-metadata">

**Author:** [@dodoplus](https://discourse.julialang.org/u/dodoplus)\
**Replies:** 3\
**Last updated:** [June 18, 2022, 6:18pm UTC](https://discourse.julialang.org/t/variables-parsing-breaks-on-default-value/82970 "2022-06-18T18:18:39Z")

</div>

This code snippet: sts = @variables begin m\_flow(t), \[connect=Flow\], T(t)=T0, \[connect=Stream\] end Fails with: LoadError: AssertionError: @variables expects a tuple of expressions or an expression of a tuple (…

---

## [Catalyst Jump model and callbacks](https://discourse.julialang.org/t/catalyst-jump-model-and-callbacks/82967)

<div class="topic-metadata">

**Author:** [@jae0](https://discourse.julialang.org/u/jae0)\
**Replies:** 7\
**Last updated:** [June 18, 2022, 1:46pm UTC](https://discourse.julialang.org/t/catalyst-jump-model-and-callbacks/82967 "2022-06-18T13:46:57Z")

</div>

Hello, this is a question that looks related to the following: I am hoping to perturb the system state at multiple times using Catalyst / DiscreteProblem / JumpProblem. I have found the above answer as well as the re…

---

## [Parallelizing GSA - A size issue](https://discourse.julialang.org/t/parallelizing-gsa-a-size-issue/82964)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 1\
**Last updated:** [June 18, 2022, 12:43pm UTC](https://discourse.julialang.org/t/parallelizing-gsa-a-size-issue/82964 "2022-06-18T12:43:27Z")

</div>

Hi, I am looking to try and speed up my code and trying to following the example in the documentation here On running the below x = \[prob.u0;prob.p\] function circ(x) prob\_func(prob,i,repeat) = remake(prob;u0 = x\[1…

---

## [How to define constraints on a collection of vectors separately?](https://discourse.julialang.org/t/how-to-define-constraints-on-a-collection-of-vectors-separately/82926)

<div class="topic-metadata">

**Author:** [@Kevin\_12](https://discourse.julialang.org/u/Kevin_12)\
**Replies:** 2\
**Last updated:** [June 18, 2022, 9:28am UTC](https://discourse.julialang.org/t/how-to-define-constraints-on-a-collection-of-vectors-separately/82926 "2022-06-18T09:28:15Z")

</div>

The original problem is so larg. But, Suppose we have this small set of vectors A = \[ \[ \[13, 48,99\] , \[71, 58, 99\]\], \[\[91, 59, 22\], \[94, 86, 22\], \[71, 58, 22\], \[19,55,22\]\], \[\[41, 79, 12\], \[23, 16, 12\],…

---

## [Automatic differentiation and Trapz](https://discourse.julialang.org/t/automatic-differentiation-and-trapz/82135)

<div class="topic-metadata">

**Author:** [@chupin](https://discourse.julialang.org/u/chupin)\
**Replies:** 10\
**Last updated:** [June 18, 2022, 5:53am UTC](https://discourse.julialang.org/t/automatic-differentiation-and-trapz/82135 "2022-06-18T05:53:18Z")

</div>

It seems that Nonconvex is not able to deal with the trapz function, but maybe, I’ve done something wrong. The code (that is a nonsense toy code) : using Nonconvex Nonconvex.@load Ipopt using Trapz function obj(hV,N,M)…

---

## [Xpress Julia API has bug with fixing variables](https://discourse.julialang.org/t/xpress-julia-api-has-bug-with-fixing-variables/82895)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 5\
**Last updated:** [June 18, 2022, 5:38am UTC](https://discourse.julialang.org/t/xpress-julia-api-has-bug-with-fixing-variables/82895 "2022-06-18T05:38:40Z")

</div>

Fixing variables does not seems to be working with the Xpress solver. I used the example below (which was posted by someone on this forum) to create this MWE. I fix one of the variables as zero but it seems like JuMP is…

---

## [Very simple statistic needed](https://discourse.julialang.org/t/very-simple-statistic-needed/82923)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 6\
**Last updated:** [June 17, 2022, 3:54pm UTC](https://discourse.julialang.org/t/very-simple-statistic-needed/82923 "2022-06-17T15:54:33Z")

</div>

I have a very simple task: I have a list of CAN bus addresses like this: 1236454-element Vector{Union{Missing, Int64}}: 65 65 48 48 49 49 50 50 ⋮ 57 65 58 58 65 59 59 Because all numbers are below 128 …

---

## [Background image with specific coordinates in Plots.jl](https://discourse.julialang.org/t/background-image-with-specific-coordinates-in-plots-jl/82905)

<div class="topic-metadata">

**Author:** [@unis](https://discourse.julialang.org/u/unis)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 12:08pm UTC](https://discourse.julialang.org/t/background-image-with-specific-coordinates-in-plots-jl/82905 "2022-06-17T12:08:03Z")

</div>

How can a background image be added at specific coordinates (and with a specific scale) on a Plots.jl plot? Assume you have an image of a floor plan whose corner points are associated with specific coordinates, and you’…

---

## [How to plot a 2D rotated array](https://discourse.julialang.org/t/how-to-plot-a-2d-rotated-array/47603)

<div class="topic-metadata">

**Author:** [@luraess](https://discourse.julialang.org/u/luraess)\
**Replies:** 17\
**Last updated:** [June 17, 2022, 8:58am UTC](https://discourse.julialang.org/t/how-to-plot-a-2d-rotated-array/47603 "2022-06-17T08:58:01Z")

</div>

I am trying to plot a heatmap (or contourf, or similar) of a 2D array as function of rotated x and y coordinates. Here a code snippet of what I am trying to achieve: using Plots α = 10.0 lx, ly = 300.0, 100.0 nx, n…

---

## [MultivariateStats.transform ,MethodError:](https://discourse.julialang.org/t/multivariatestats-transform-methoderror/82825)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 3\
**Last updated:** [June 17, 2022, 7:23am UTC](https://discourse.julialang.org/t/multivariatestats-transform-methoderror/82825 "2022-06-17T07:23:19Z")

</div>

How to overcome that Method error ? Data 7043×2 Matrix{Float64}: -1.27735 -1.16024 0.0663227 -0.259611 -1.23664 -0.362635 0.514215 -0.746482 -1.23664 0.197351 -0.992332 1.15946 -0.422287 …

---

## [Watch folder and plot new data in Makie](https://discourse.julialang.org/t/watch-folder-and-plot-new-data-in-makie/82796)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 1\
**Last updated:** [June 17, 2022, 4:30am UTC](https://discourse.julialang.org/t/watch-folder-and-plot-new-data-in-makie/82796 "2022-06-17T04:30:54Z")

</div>

I have an experiment where a detector collects data and then writes a file. I want to watch a folder and when a new file appears, I want to load the data and plot it using GLMakie. I am almost there but I’m hitting one …

---

## [ParseError: KaTeX parse error: No such environment: tabular at position 7: \\begin{̲t̲a̲b̲u̲l̲a̲r̲}̲ {l | r | r | r…](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889)

<div class="topic-metadata">

**Author:** [@Aesth\_Estheticism](https://discourse.julialang.org/u/Aesth_Estheticism)\
**Replies:** 3\
**Last updated:** [June 17, 2022, 3:25am UTC](https://discourse.julialang.org/t/parseerror-katex-parse-error-no-such-environment-tabular-at-position-7-begin-t-a-b-u-l-a-r-l-r-r-r/82889 "2022-06-17T03:25:21Z")

</div>

When I used the default code of MixedModels package, and a error happened that “ParseError: KaTeX parse error: No such environment: tabular at position 7: \\begin{̲t̲a̲b̲u̲l̲a̲r̲}̲ {l | r | r | r…”. The default code are …

---

## [Is it possible to train sparse neural networks in GPU?](https://discourse.julialang.org/t/is-it-possible-to-train-sparse-neural-networks-in-gpu/82680)

<div class="topic-metadata">

**Author:** [@paulobruno](https://discourse.julialang.org/u/paulobruno)\
**Replies:** 3\
**Last updated:** [June 17, 2022, 2:57am UTC](https://discourse.julialang.org/t/is-it-possible-to-train-sparse-neural-networks-in-gpu/82680 "2022-06-17T02:57:34Z")

</div>

I would like to train a sparse neural network using Flux. I can train it in CPU, but I would like to do it using GPU, profiting from CuSparseMatrixCSC. However, when I try to run the code below I get ERROR: LoadError: Th…

---

## [JuMP -- MethodError: no method matching \_parse\_section](https://discourse.julialang.org/t/jump-methoderror-no-method-matching-parse-section/82884)

<div class="topic-metadata">

**Author:** [@freiburgermsu](https://discourse.julialang.org/u/freiburgermsu)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 8:44pm UTC](https://discourse.julialang.org/t/jump-methoderror-no-method-matching-parse-section/82884 "2022-06-16T20:44:25Z")

</div>

Hello, I receive the following error message ERROR: MethodError: no method matching \_parse\_section(::Val{:header}, ::MathOptInterface.Utilities.GenericModel{Float64, MathOptInterface.Utilities.ObjectiveContainer{Float6…

---

## [Fixing MIP problem integer variables to get Duals](https://discourse.julialang.org/t/fixing-mip-problem-integer-variables-to-get-duals/82885)

<div class="topic-metadata">

**Author:** [@Di11on](https://discourse.julialang.org/u/Di11on)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 6:41pm UTC](https://discourse.julialang.org/t/fixing-mip-problem-integer-variables-to-get-duals/82885 "2022-06-16T18:41:50Z")

</div>

Hi folks, We are solving large models iteratively. It’s a mip problem and to calculate duals, we fix the binary and integer variables and use unset\_binary() and then unset\_integer() to remove the constraints, then solve…

---

## [JuMP register polynomial with its gradient](https://discourse.julialang.org/t/jump-register-polynomial-with-its-gradient/82876)

<div class="topic-metadata">

**Author:** [@Luca](https://discourse.julialang.org/u/Luca)\
**Replies:** 1\
**Last updated:** [June 16, 2022, 6:39pm UTC](https://discourse.julialang.org/t/jump-register-polynomial-with-its-gradient/82876 "2022-06-16T18:39:55Z")

</div>

Dear all, I am using jump and I want to register a polynomial function with its gradient, with register(model2, :poly, num\_var, poly, gradient) I build the polynomial with AbstractAlgebra.jl and the gradient with the …

---

## [MTK and JuMP](https://discourse.julialang.org/t/mtk-and-jump/58161)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 6\
**Last updated:** [June 16, 2022, 3:15pm UTC](https://discourse.julialang.org/t/mtk-and-jump/58161 "2022-06-16T15:15:24Z")

</div>

I would like to use MTK to build a physical model and than use the equations and convert them into a JuMP model. Any ideas how to do that? My thoughs (based on Automatic Conversion of Julia Code to C Functions · Symboli…

---

## [Computing Concave hull/alpha shape for a point cloud](https://discourse.julialang.org/t/computing-concave-hull-alpha-shape-for-a-point-cloud/82746)

<div class="topic-metadata">

**Author:** [@arsh](https://discourse.julialang.org/u/arsh)\
**Replies:** 14\
**Last updated:** [June 16, 2022, 2:56pm UTC](https://discourse.julialang.org/t/computing-concave-hull-alpha-shape-for-a-point-cloud/82746 "2022-06-16T14:56:14Z")

</div>

I have a point cloud and I want to find it’s outline(also includes holes). Eg: A delaunay triangulation of such point cloud might look like I have tried to use existing tools in the ecosystem but most of them don’t s…

---

## [RFC: Mitsuba2.jl - differentiable physics-based renderer](https://discourse.julialang.org/t/rfc-mitsuba2-jl-differentiable-physics-based-renderer/82879)

<div class="topic-metadata">

**Author:** [@alhirzel](https://discourse.julialang.org/u/alhirzel)\
**Replies:** 0\
**Last updated:** [June 16, 2022, 2:21pm UTC](https://discourse.julialang.org/t/rfc-mitsuba2-jl-differentiable-physics-based-renderer/82879 "2022-06-16T14:21:24Z")

</div>

Hey all, I wanted to share a package I started, and I am hoping to get feedback from anyone who is interested in physics-based rendering. My package, Mitsuba2.jl, brings the Mitsuba 2 renderer into Julia via its Python i…

---

## [I didn't ask for plan\_bfft, but got MethodError: no method matching plan\_bfft(::Vector{Number}, ::UnitRange{Int64})](https://discourse.julialang.org/t/i-didnt-ask-for-plan-bfft-but-got-methoderror-no-method-matching-plan-bfft-vector-number-unitrange-int64/82791)

<div class="topic-metadata">

**Author:** [@Yly](https://discourse.julialang.org/u/Yly)\
**Replies:** 3\
**Last updated:** [June 16, 2022, 6:57am UTC](https://discourse.julialang.org/t/i-didnt-ask-for-plan-bfft-but-got-methoderror-no-method-matching-plan-bfft-vector-number-unitrange-int64/82791 "2022-06-16T06:57:24Z")

</div>

While coding an iterative FFT function, I came upon a strange bug that depends on the arguments to the function in a complicated way. I’ve managed to reduce the problematic code to the following: using FFTW unitize(x::…

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

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