# Specific Domains

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

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

**Page:** 197

---

## [Predicting a Successful Mt Everest Climb with Julia](https://discourse.julialang.org/t/predicting-a-successful-mt-everest-climb-with-julia/98341)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 1\
**Last updated:** [May 4, 2023, 8:24pm UTC](https://discourse.julialang.org/t/predicting-a-successful-mt-everest-climb-with-julia/98341 "2023-05-04T20:24:01Z")

</div>

I’ve written about using MLJ.jl and the Himalayan Database to try and predict a successful Mt Everest climb. Check it out here: Predicting a Successful Mt Everest Climb | Dean Markwick

---

## [Request help on PATHSolver.jl](https://discourse.julialang.org/t/request-help-on-pathsolver-jl/98335)

<div class="topic-metadata">

**Author:** [@Shailesh](https://discourse.julialang.org/u/Shailesh)\
**Replies:** 2\
**Last updated:** [May 4, 2023, 7:54pm UTC](https://discourse.julialang.org/t/request-help-on-pathsolver-jl/98335 "2023-05-04T19:54:39Z")

</div>

Hi, I wanted to solve complementarity problem using PATHSolver, and kept getting the error: “could not load library “./julia/datadeps/libpath50/libpath50.dylib” dlopen(.julia/datadeps/libpath50/libpath50.dylib, 0x0001…

---

## [Vector Equations with ModelingToolkit and MethodOfLines (Updated Syntax)](https://discourse.julialang.org/t/vector-equations-with-modelingtoolkit-and-methodoflines-updated-syntax/98254)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 3\
**Last updated:** [May 4, 2023, 3:40pm UTC](https://discourse.julialang.org/t/vector-equations-with-modelingtoolkit-and-methodoflines-updated-syntax/98254 "2023-05-04T15:40:51Z")

</div>

I have attempted to update some code to the preferred updated syntax u(..)\[1:n\] since u\[1:n\](..) is slated for deprecation. When I modify this in the code, I get a new error. I have attached an example problem from adap…

---

## [How to best parallelize custom decision tree / forest?](https://discourse.julialang.org/t/how-to-best-parallelize-custom-decision-tree-forest/98328)

<div class="topic-metadata">

**Author:** [@MiquellaXMalenia](https://discourse.julialang.org/u/MiquellaXMalenia)\
**Replies:** 0\
**Last updated:** [May 4, 2023, 3:39pm UTC](https://discourse.julialang.org/t/how-to-best-parallelize-custom-decision-tree-forest/98328 "2023-05-04T15:39:45Z")

</div>

Hello, Could anyone give me advice on the best way to parallelize a custom decision tree or forest algorithm on CPU / GPU? I am currently building my own from scratch to experiment with some of my ideas for multi-class…

---

## [Oblique slices in Makie](https://discourse.julialang.org/t/oblique-slices-in-makie/83879)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 14\
**Last updated:** [May 4, 2023, 3:03pm UTC](https://discourse.julialang.org/t/oblique-slices-in-makie/83879 "2023-05-04T15:03:18Z")

</div>

Are there any way to plot an oblique slice in Makie? Something similar to Matlab’s obliqueslice function.

---

## [Is there a way to display a CairoMakie plot in a Gtk/Qt window in remote X11 session](https://discourse.julialang.org/t/is-there-a-way-to-display-a-cairomakie-plot-in-a-gtk-qt-window-in-remote-x11-session/98222)

<div class="topic-metadata">

**Author:** [@yvikhlya](https://discourse.julialang.org/u/yvikhlya)\
**Replies:** 8\
**Last updated:** [May 4, 2023, 12:57pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-display-a-cairomakie-plot-in-a-gtk-qt-window-in-remote-x11-session/98222 "2023-05-04T12:57:49Z")

</div>

I am doing data analysis on a remote server and trying to utilize Makie to produce interactive quick plots. I can’t use GLMakie and using something like Jupyter notebooks remotely is complicated on my cluster. Pretty muc…

---

## [How to set the font size for labels in a legend using GMT.jl](https://discourse.julialang.org/t/how-to-set-the-font-size-for-labels-in-a-legend-using-gmt-jl/97778)

<div class="topic-metadata">

**Author:** [@MJulia](https://discourse.julialang.org/u/MJulia)\
**Replies:** 7\
**Last updated:** [May 4, 2023, 12:35pm UTC](https://discourse.julialang.org/t/how-to-set-the-font-size-for-labels-in-a-legend-using-gmt-jl/97778 "2023-05-04T12:35:23Z")

</div>

I’m new to GMT.jl, I hope to adjust the font size of label (“data”) in the legend as in the following code: using GMT lines(1:12, 1:12, figsize=(6,4), legend=(label=“data”,pos=:LT,box=:none,), show=true) None of FONT\_…

---

## [Average of Zygote gradients](https://discourse.julialang.org/t/average-of-zygote-gradients/98303)

<div class="topic-metadata">

**Author:** [@RoBertimus](https://discourse.julialang.org/u/RoBertimus)\
**Replies:** 2\
**Last updated:** [May 4, 2023, 12:11pm UTC](https://discourse.julialang.org/t/average-of-zygote-gradients/98303 "2023-05-04T12:11:42Z")

</div>

Hi Everyone, I would like to know how I can manually calculate for example the mean over an array of gradients of a neural network. I have the following setup : In the training loop I calculate the gradient of the los…

---

## [Only show significand as tick label](https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308)

<div class="topic-metadata">

**Author:** [@alistair.white](https://discourse.julialang.org/u/alistair.white)\
**Replies:** 2\
**Last updated:** [May 4, 2023, 10:05am UTC](https://discourse.julialang.org/t/only-show-significand-as-tick-label/98308 "2023-05-04T10:05:31Z")

</div>

Hi there, If I have tick labels like those in the picture, is there a nice way to express them in scientific notation and display the exponent e.g. at the top of the y-axis, with only the significands as tick labels? Th…

---

## [Changing transparency of individual bars in a barplot using CairoMakie](https://discourse.julialang.org/t/changing-transparency-of-individual-bars-in-a-barplot-using-cairomakie/98250)

<div class="topic-metadata">

**Author:** [@bhache](https://discourse.julialang.org/u/bhache)\
**Replies:** 1\
**Last updated:** [May 4, 2023, 9:39am UTC](https://discourse.julialang.org/t/changing-transparency-of-individual-bars-in-a-barplot-using-cairomakie/98250 "2023-05-04T09:39:20Z")

</div>

Hi, I am trying to generate a barplot using CairoMakie which would consist two sets of bars each with a different transparency. So far I am not sure how to achieve that. MWE below depicts the barplot I am generating so …

---

## [Can't register a function to JuMP](https://discourse.julialang.org/t/cant-register-a-function-to-jump/98276)

<div class="topic-metadata">

**Author:** [@bdas123](https://discourse.julialang.org/u/bdas123)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 9:33pm UTC](https://discourse.julialang.org/t/cant-register-a-function-to-jump/98276 "2023-05-03T21:33:25Z")

</div>

Hello, here is a reduced version of my actual code which replicates my problem. using JuMP using Ipopt; a0 = rand(81); b = 10 c = 11 d = zeros(b,c) function calculation\_2(a) for i in 1:b for j in 1:c …

---

## [Automatic differentiation in different cases](https://discourse.julialang.org/t/automatic-differentiation-in-different-cases/98268)

<div class="topic-metadata">

**Author:** [@Djamil\_Lakhdar-Hamin](https://discourse.julialang.org/u/Djamil_Lakhdar-Hamin)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 8:10pm UTC](https://discourse.julialang.org/t/automatic-differentiation-in-different-cases/98268 "2023-05-03T20:10:57Z")

</div>

I am trying to figure out : how to automatically differentiate some function f(x1,x2,x3…) for vector of numbers. I want to use one package preferably , but if I have to mix, I want to mix zygote with ForwardDiff. I th…

---

## [Help optimizing a non-linear objective with JuMP](https://discourse.julialang.org/t/help-optimizing-a-non-linear-objective-with-jump/98270)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 9:16pm UTC](https://discourse.julialang.org/t/help-optimizing-a-non-linear-objective-with-jump/98270 "2023-05-03T21:16:05Z")

</div>

Here is a very stripped down toy example that is roughly equivalent to my real problem (without any constraints): using JuMP using Ipopt N = 54 r = rand(N) R = rand() model = Model(Ipopt.Optimizer) @variable(mod…

---

## [Zygote gradient slow for TriMAP](https://discourse.julialang.org/t/zygote-gradient-slow-for-trimap/98235)

<div class="topic-metadata">

**Author:** [@somethrowawaynamegoo](https://discourse.julialang.org/u/somethrowawaynamegoo)\
**Replies:** 0\
**Last updated:** [May 3, 2023, 7:06am UTC](https://discourse.julialang.org/t/zygote-gradient-slow-for-trimap/98235 "2023-05-03T07:06:38Z")

</div>

Hello, I was trying to implement TriMAP using Zygote’s gradient function, but it is very slow and the data is very high dimensional, is there any tip to improve the performance of the gradient function? The following fu…

---

## [Custom Flux layer looking weird upon profiling](https://discourse.julialang.org/t/custom-flux-layer-looking-weird-upon-profiling/98273)

<div class="topic-metadata">

**Author:** [@AMart](https://discourse.julialang.org/u/AMart)\
**Replies:** 1\
**Last updated:** [May 3, 2023, 8:11pm UTC](https://discourse.julialang.org/t/custom-flux-layer-looking-weird-upon-profiling/98273 "2023-05-03T20:11:21Z")

</div>

I’m developing some custom Conv and Dense layers to use with Flux for my research and I’m having trouble understanding the profiler output. I’m using LeNet from Flux examples to study my implementation. The following co…

---

## [Request to upgrade to LossFunctions.jl](https://discourse.julialang.org/t/request-to-upgrade-to-lossfunctions-jl/97738)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 36\
**Last updated:** [May 3, 2023, 5:21pm UTC](https://discourse.julialang.org/t/request-to-upgrade-to-lossfunctions-jl/97738 "2023-05-03T17:21:55Z")

</div>

Dear ML community, we released LossFunctions.jl v0.9 with a few important breaking changes: Reversed order of arguments to match other ecosystems, loss(yhat, y) is now the order. Removed the ObsDim business to support …

---

## [Extend distributed pmap to mutliple nodes using SLURM](https://discourse.julialang.org/t/extend-distributed-pmap-to-mutliple-nodes-using-slurm/98263)

<div class="topic-metadata">

**Author:** [@psterzinger](https://discourse.julialang.org/u/psterzinger)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 5:07pm UTC](https://discourse.julialang.org/t/extend-distributed-pmap-to-mutliple-nodes-using-slurm/98263 "2023-05-03T17:07:48Z")

</div>

I have a program that makes use of the parallelism offered by the Distributed’s pmap() function. I can run this on a cluster using one node and multiple cores. Now I would like to extend this to using multiple cores. Th…

---

## [What to do about models not loading in Flux? Critical breakage](https://discourse.julialang.org/t/what-to-do-about-models-not-loading-in-flux-critical-breakage/97881)

<div class="topic-metadata">

**Author:** [@Euhan](https://discourse.julialang.org/u/Euhan)\
**Replies:** 3\
**Last updated:** [May 3, 2023, 4:48pm UTC](https://discourse.julialang.org/t/what-to-do-about-models-not-loading-in-flux-critical-breakage/97881 "2023-05-03T16:48:26Z")

</div>

I use Flux to make ML models as part of my graduate studies. I read some time ago that you couldn’t trust model’s saved in bson-format, so I made a solution where I would recreate the model by dynamic loading (facing eno…

---

## [Inviscid and incompressible Navier-Stokes equations in 2D implemented in Julia and compiled to WASM](https://discourse.julialang.org/t/inviscid-and-incompressible-navier-stokes-equations-in-2d-implemented-in-julia-and-compiled-to-wasm/97474)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 10\
**Last updated:** [May 3, 2023, 4:02pm UTC](https://discourse.julialang.org/t/inviscid-and-incompressible-navier-stokes-equations-in-2d-implemented-in-julia-and-compiled-to-wasm/97474 "2023-05-03T16:02:20Z")

</div>

I recently made an online demo of the 2D Navier-Stokes equation running in a web-browser. https://alexander-barth.github.io/FluidSimDemo-WebAssembly/ My kids like to play with it to build dams and other obstacles in th…

---

## [Rodas4 using dual number for time with autodiff=false](https://discourse.julialang.org/t/rodas4-using-dual-number-for-time-with-autodiff-false/98256)

<div class="topic-metadata">

**Author:** [@p\_f](https://discourse.julialang.org/u/p_f)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 2:52pm UTC](https://discourse.julialang.org/t/rodas4-using-dual-number-for-time-with-autodiff-false/98256 "2023-05-03T14:52:12Z")

</div>

When the right hand side function has a time dependence, Rodas4 gives dual number method errors, when other solvers (e.g. QBDF) do not. I thought that autodiff was the use-case for dual numbers, but Rodas4 uses dual numb…

---

## [Sensitivity fail on DAEs](https://discourse.julialang.org/t/sensitivity-fail-on-daes/98205)

<div class="topic-metadata">

**Author:** [@Guido\_Ballabio](https://discourse.julialang.org/u/Guido_Ballabio)\
**Replies:** 4\
**Last updated:** [May 3, 2023, 1:49pm UTC](https://discourse.julialang.org/t/sensitivity-fail-on-daes/98205 "2023-05-03T13:49:44Z")

</div>

I am trying to use DiffEq and SciML sensitivity to build NN controllers for physical systems. Usually everything works, however when i explicitly call adjoint\_sensitivities from SciML-sensitivity to get the gradient of …

---

## [Coefficients of combination of matrices](https://discourse.julialang.org/t/coefficients-of-combination-of-matrices/98241)

<div class="topic-metadata">

**Author:** [@microlifecc](https://discourse.julialang.org/u/microlifecc)\
**Replies:** 6\
**Last updated:** [May 3, 2023, 2:27pm UTC](https://discourse.julialang.org/t/coefficients-of-combination-of-matrices/98241 "2023-05-03T14:27:09Z")

</div>

We have four tensors A, B, C, D of the same dimension (m \* n \* p, e.g. 1800 \* 25 \* 25). We need to find coefficients x1, x2, x3 such that: x1 \* A - x2 \* B - x3 \* C ≈ D given that x1 + x2 + x3 = 1 and 0\<= x1,x2,x3 \<=1 …

---

## [Vector equations LHS/RHS missing with MTK and MethodOfLines](https://discourse.julialang.org/t/vector-equations-lhs-rhs-missing-with-mtk-and-methodoflines/97230)

<div class="topic-metadata">

**Author:** [@johnb](https://discourse.julialang.org/u/johnb)\
**Replies:** 14\
**Last updated:** [April 12, 2023, 3:21am UTC](https://discourse.julialang.org/t/vector-equations-lhs-rhs-missing-with-mtk-and-methodoflines/97230 "2023-04-12T03:21:50Z")

</div>

I’ve been trying to generate a system of equations in vector format using MTK and MOL, and I keep getting errors related to broadcast-created equations missing LHS/RHS. I’ve adapted a tutorial problem to show the issue. …

---

## [Segment Anything Model for Julia?](https://discourse.julialang.org/t/segment-anything-model-for-julia/97257)

<div class="topic-metadata">

**Author:** [@alex-s-gardner](https://discourse.julialang.org/u/alex-s-gardner)\
**Replies:** 7\
**Last updated:** [May 3, 2023, 11:06am UTC](https://discourse.julialang.org/t/segment-anything-model-for-julia/97257 "2023-05-03T11:06:30Z")

</div>

Watching Meta’s Segment Anything Model (SAM) exploding online and wondering anyone is working on a port of the Python version to Julia or if a similar model could be trained using the Julia ecosystem as the training da…

---

## [Makie: Make only part of a violin plot transparent with correct width](https://discourse.julialang.org/t/makie-make-only-part-of-a-violin-plot-transparent-with-correct-width/98196)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 2\
**Last updated:** [May 3, 2023, 8:49am UTC](https://discourse.julialang.org/t/makie-make-only-part-of-a-violin-plot-transparent-with-correct-width/98196 "2023-05-03T08:49:47Z")

</div>

Let’s take the following MWE: using CairoMakie, Statistics fig = Figure() ax = Axis(fig\[1,1\]) Dloc = randn(1000) # Full pdf violin!(ax, fill(1, length(Dloc)), Dloc) # Pdf plotted so that it is transparent after some…

---

## [Variable in JuMP with arc index](https://discourse.julialang.org/t/variable-in-jump-with-arc-index/98179)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 7:54pm UTC](https://discourse.julialang.org/t/variable-in-jump-with-arc-index/98179 "2023-05-02T19:54:29Z")

</div>

Dear all I have defined the following variable: @variable(modelo, x\[(i,j) ∈ A, t ∈ T\] \>= 0) where A = \[ (1, 5) (1, 6) (1, 7) (2, 5) (2, 6) (2, 7) (3, 5) (3, 6) (3, 7) (4, 5) (4, 6) (4, 7) \]; T=1:12 Howev…

---

## [Repo for Scientific Machine Learning - UDE paper does not seem to give consistent results on rerunning](https://discourse.julialang.org/t/repo-for-scientific-machine-learning-ude-paper-does-not-seem-to-give-consistent-results-on-rerunning/98157)

<div class="topic-metadata">

**Author:** [@Daniel\_Doyle](https://discourse.julialang.org/u/Daniel_Doyle)\
**Replies:** 3\
**Last updated:** [May 2, 2023, 7:24pm UTC](https://discourse.julialang.org/t/repo-for-scientific-machine-learning-ude-paper-does-not-seem-to-give-consistent-results-on-rerunning/98157 "2023-05-02T19:24:22Z")

</div>

Hello, I was going through the code behind the paper for Scientific machine learning here: universal\_differential\_equations/scenario\_1.jl at master · ChrisRackauckas/universal\_differential\_equations · GitHub and I am n…

---

## [Mixing set of continuous ODEs with probabilistic binary states](https://discourse.julialang.org/t/mixing-set-of-continuous-odes-with-probabilistic-binary-states/98209)

<div class="topic-metadata">

**Author:** [@p\_f](https://discourse.julialang.org/u/p_f)\
**Replies:** 2\
**Last updated:** [May 2, 2023, 4:12pm UTC](https://discourse.julialang.org/t/mixing-set-of-continuous-odes-with-probabilistic-binary-states/98209 "2023-05-02T16:12:31Z")

</div>

Say I have state vectors X1 and X2. X1 contains N1 continuous variables and X2 contains N2 binary (0 or 1) variables. X1 evolves in time according to function f1(X1,X2) and the binary variables in X2 have a probablity pe…

---

## [Coalescing DataFrame columns and record source](https://discourse.julialang.org/t/coalescing-dataframe-columns-and-record-source/97988)

<div class="topic-metadata">

**Author:** [@mreichMPI-BGC](https://discourse.julialang.org/u/mreichMPI-BGC)\
**Replies:** 3\
**Last updated:** [May 2, 2023, 7:14am UTC](https://discourse.julialang.org/t/coalescing-dataframe-columns-and-record-source/97988 "2023-05-02T07:14:55Z")

</div>

Dear Julia Data community, I would like to coalesce entries across columns of a DataFrame and record where the value is coming from. I came up with the following function, which seems to work but feels a bit cumbersome…

---

## [Convex.jl norm of multiple variables](https://discourse.julialang.org/t/convex-jl-norm-of-multiple-variables/98165)

<div class="topic-metadata">

**Author:** [@ajd](https://discourse.julialang.org/u/ajd)\
**Replies:** 5\
**Last updated:** [May 1, 2023, 10:09pm UTC](https://discourse.julialang.org/t/convex-jl-norm-of-multiple-variables/98165 "2023-05-01T22:09:44Z")

</div>

I would like to use Convex.jl to solve a problem along the lines of using Convex x = Variable(1) y = Variable(1) z = Variable(1) problem = minimize(x+y+z,norm(\[x,y,z\])\<=1) However, when I run this code, I get the error …

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

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