# Specific Domains

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

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

**Page:** 248

---

## [Does Julia provide enough support for reinforcement learning now?](https://discourse.julialang.org/t/does-julia-provide-enough-support-for-reinforcement-learning-now/87964)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 8\
**Last updated:** [September 29, 2022, 5:26pm UTC](https://discourse.julialang.org/t/does-julia-provide-enough-support-for-reinforcement-learning-now/87964 "2022-09-29T17:26:34Z")

</div>

Does Julia provide enough support for reinforcement learning now? Is Julia the recommended language for reinforcement learning? Does it have any advantage over Python in this regard? If yes, how to get started to learn …

---

## [Make text annotations using the algebra of graphics](https://discourse.julialang.org/t/make-text-annotations-using-the-algebra-of-graphics/87930)

<div class="topic-metadata">

**Author:** [@martinmestre](https://discourse.julialang.org/u/martinmestre)\
**Replies:** 3\
**Last updated:** [September 29, 2022, 2:55pm UTC](https://discourse.julialang.org/t/make-text-annotations-using-the-algebra-of-graphics/87930 "2022-09-29T14:55:23Z")

</div>

Hello, is there a way to implement text annotations using mapping() ? If possible I would like to know how to annotate text at the bottom or tip of little thin arrows. If not possible withing AoG, I would like to know…

---

## [Reading Leica .lif files in julia](https://discourse.julialang.org/t/reading-leica-lif-files-in-julia/87924)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 1\
**Last updated:** [September 29, 2022, 8:56am UTC](https://discourse.julialang.org/t/reading-leica-lif-files-in-julia/87924 "2022-09-29T08:56:38Z")

</div>

Is there way how I can read in .lif files that are generated by Leica microscopes?

---

## [Dodged barplot got thin out in Makie](https://discourse.julialang.org/t/dodged-barplot-got-thin-out-in-makie/87923)

<div class="topic-metadata">

**Author:** [@nvhoang.3110](https://discourse.julialang.org/u/nvhoang.3110)\
**Replies:** 6\
**Last updated:** [September 29, 2022, 8:23am UTC](https://discourse.julialang.org/t/dodged-barplot-got-thin-out-in-makie/87923 "2022-09-29T08:23:36Z")

</div>

Hello everyone. Sorry if my question is too basic for some but I don’t understand why my barplot got thin out after I try to add another set of dodged bars. Below is an example. Suppose that I have some data like this: d…

---

## [Makie Mesh wrong labels after axis scaling](https://discourse.julialang.org/t/makie-mesh-wrong-labels-after-axis-scaling/87914)

<div class="topic-metadata">

**Author:** [@verflieger](https://discourse.julialang.org/u/verflieger)\
**Replies:** 1\
**Last updated:** [September 29, 2022, 7:02am UTC](https://discourse.julialang.org/t/makie-mesh-wrong-labels-after-axis-scaling/87914 "2022-09-29T07:02:37Z")

</div>

Hello, I am a little bit lost with plotting a 3D mesh with the Makie mesh function. Because in my given coordinate system, the y axis is flipped compared to the standard of mesh, I rescaled it. However, the axis labels …

---

## [Geometric Integrators for SDE problems](https://discourse.julialang.org/t/geometric-integrators-for-sde-problems/87961)

<div class="topic-metadata">

**Author:** [@simoneb](https://discourse.julialang.org/u/simoneb)\
**Replies:** 3\
**Last updated:** [September 29, 2022, 6:54am UTC](https://discourse.julialang.org/t/geometric-integrators-for-sde-problems/87961 "2022-09-29T06:54:33Z")

</div>

Hi, I am trying to figure out how to use an SDE solver for matrix-valued Stochastic Differential Equations. It looks like the packages GeometricIntegrators.jl, and StochasticIntegrators.jl might have the functionality b…

---

## [Ordering of isoutofdomain and continuous callbacks in DifferentialEquations.jl](https://discourse.julialang.org/t/ordering-of-isoutofdomain-and-continuous-callbacks-in-differentialequations-jl/87760)

<div class="topic-metadata">

**Author:** [@kaitlyn-loftus](https://discourse.julialang.org/u/kaitlyn-loftus)\
**Replies:** 3\
**Last updated:** [September 29, 2022, 6:51am UTC](https://discourse.julialang.org/t/ordering-of-isoutofdomain-and-continuous-callbacks-in-differentialequations-jl/87760 "2022-09-29T06:51:51Z")

</div>

I am encountering some undesired behavior with a combination of DifferentialEquations.jl’s marvelous isoutofdomain and event handling features. I seem to be having integrations fail because of the ordering of a Continuo…

---

## [Efficient serialization of JuMP results](https://discourse.julialang.org/t/efficient-serialization-of-jump-results/87896)

<div class="topic-metadata">

**Author:** [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Replies:** 5\
**Last updated:** [September 28, 2022, 11:06pm UTC](https://discourse.julialang.org/t/efficient-serialization-of-jump-results/87896 "2022-09-28T23:06:00Z")

</div>

What is a recommended workflow for efficiently serialising results data after solving a JuMP model? The information in the numbers are the important thing, not preserving the Julia object structure. For example, does an…

---

## [Align ticks in subplots](https://discourse.julialang.org/t/align-ticks-in-subplots/87919)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 14\
**Last updated:** [September 28, 2022, 6:45pm UTC](https://discourse.julialang.org/t/align-ticks-in-subplots/87919 "2022-09-28T18:45:57Z")

</div>

I have the following code: using CairoMakie d1 = rand(1:10, 50) d2 = rand(1:4, 20) d3 = rand(1:10, 10) fig=Figure() ax\_1=Axis(fig\[1, 1:2\]) ax\_2=Axis(fig\[2, 1\]) ax\_3=Axis(fig\[2, 2\]) scatter!(ax\_1, 1:50, d1) scatter!(…

---

## [Constraints that do not work together](https://discourse.julialang.org/t/constraints-that-do-not-work-together/87482)

<div class="topic-metadata">

**Author:** [@Zizilabg](https://discourse.julialang.org/u/Zizilabg)\
**Replies:** 5\
**Last updated:** [September 28, 2022, 5:26pm UTC](https://discourse.julialang.org/t/constraints-that-do-not-work-together/87482 "2022-09-28T17:26:27Z")

</div>

Hello, I wrote a model about Julia which contains 3 constraints. If I test one constraint at a time, each one works. But if I run the whole program, I get the following error message: Has anyone had this problem bef…

---

## [Why after copying a JuMP model it does not own the initial model variables?](https://discourse.julialang.org/t/why-after-copying-a-jump-model-it-does-not-own-the-initial-model-variables/87922)

<div class="topic-metadata">

**Author:** [@Alex\_ricci](https://discourse.julialang.org/u/Alex_ricci)\
**Replies:** 3\
**Last updated:** [September 28, 2022, 6:16pm UTC](https://discourse.julialang.org/t/why-after-copying-a-jump-model-it-does-not-own-the-initial-model-variables/87922 "2022-09-28T18:16:20Z")

</div>

I am working on a MIP problem including two variables y\[1\] and y\[2\]. y\[1\] is a binary y\[2\] is a positive real number First I relax the binary restriction by 0 \<=y\[1\] and -y\[1\] \>= -1 and solve the relaxation. c1…

---

## [Axis() in combination with images()](https://discourse.julialang.org/t/axis-in-combination-with-images/87937)

<div class="topic-metadata">

**Author:** [@pascal](https://discourse.julialang.org/u/pascal)\
**Replies:** 2\
**Last updated:** [September 28, 2022, 3:05pm UTC](https://discourse.julialang.org/t/axis-in-combination-with-images/87937 "2022-09-28T15:05:06Z")

</div>

The following code from the docs works nicely: using CairoMakie using FileIO img = load(assetpath("cow.png")) f = Figure() image(f\[1, 1\], img) However, when I want to define an Axis and put that into image() it fails: …

---

## [Best strategies to solve an ODE with piecewise functions using OrdinaryDiffEq](https://discourse.julialang.org/t/best-strategies-to-solve-an-ode-with-piecewise-functions-using-ordinarydiffeq/87750)

<div class="topic-metadata">

**Author:** [@RayleighLord](https://discourse.julialang.org/u/RayleighLord)\
**Replies:** 4\
**Last updated:** [September 28, 2022, 2:59pm UTC](https://discourse.julialang.org/t/best-strategies-to-solve-an-ode-with-piecewise-functions-using-ordinarydiffeq/87750 "2022-09-28T14:59:26Z")

</div>

I want to solve an ODE problem involving some piecewise functions and I would like to ask for advice on what could be the best strategy to solve them. Physically, the ODEs I want to solve represent a contact element sti…

---

## [Heterogenous running time Ipopt](https://discourse.julialang.org/t/heterogenous-running-time-ipopt/87813)

<div class="topic-metadata">

**Author:** [@mb96](https://discourse.julialang.org/u/mb96)\
**Replies:** 5\
**Last updated:** [September 28, 2022, 12:24pm UTC](https://discourse.julialang.org/t/heterogenous-running-time-ipopt/87813 "2022-09-28T12:24:33Z")

</div>

I know that the first time running JuMP takes more time due to compilation issues but I was expecting roughly the same running time after that, however as it can be seen below the “variance” is quite high. Does someo…

---

## [Distributed eigensolvers for computing eigenpairs of large sparse matrices](https://discourse.julialang.org/t/distributed-eigensolvers-for-computing-eigenpairs-of-large-sparse-matrices/78648)

<div class="topic-metadata">

**Author:** [@Neo](https://discourse.julialang.org/u/Neo)\
**Replies:** 6\
**Last updated:** [September 28, 2022, 11:36am UTC](https://discourse.julialang.org/t/distributed-eigensolvers-for-computing-eigenpairs-of-large-sparse-matrices/78648 "2022-09-28T11:36:55Z")

</div>

Hi folks, I implemented a distributed method in Julia for computing smallest eigenvalues and the corresponding eigenvectors of large sparse (symmetric) matrices. I wanted to compare my implementation with a baseline eig…

---

## [Problem with first example with Flux](https://discourse.julialang.org/t/problem-with-first-example-with-flux/87899)

<div class="topic-metadata">

**Author:** [@Richard\_Wright](https://discourse.julialang.org/u/Richard_Wright)\
**Replies:** 1\
**Last updated:** [September 28, 2022, 7:13am UTC](https://discourse.julialang.org/t/problem-with-first-example-with-flux/87899 "2022-09-28T07:13:44Z")

</div>

Hello, I am trying the very first example in flux from Overview · Flux. The code is given below. It works fine when hcat(0:5...) but doesn’t when hcat(0:6...). Why? using Flux using Flux: train! import Random Rando…

---

## [Result index of attribute](https://discourse.julialang.org/t/result-index-of-attribute/87891)

<div class="topic-metadata">

**Author:** [@Zizilabg](https://discourse.julialang.org/u/Zizilabg)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 11:41pm UTC](https://discourse.julialang.org/t/result-index-of-attribute/87891 "2022-09-27T23:41:01Z")

</div>

Hello, I wrote a model about Julia which contains 3 constraints. If I test one constraint at a time, each one works. But if I run the whole program, I get the following error message: Has anyone had this problem bef…

---

## [Create static vector of variable lenght in gpu kernel](https://discourse.julialang.org/t/create-static-vector-of-variable-lenght-in-gpu-kernel/87863)

<div class="topic-metadata">

**Author:** [@ykkan](https://discourse.julialang.org/u/ykkan)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 8:59pm UTC](https://discourse.julialang.org/t/create-static-vector-of-variable-lenght-in-gpu-kernel/87863 "2022-09-27T20:59:10Z")

</div>

Are there any ways to create a static vector of variable length for each thread in a gpu kernel? I tried this but it didn’t work. function dosomething(n) vec = @MVector zeros(n) end @cuda threads=5 dosomething(n) …

---

## [Makie - improving performance with animations?](https://discourse.julialang.org/t/makie-improving-performance-with-animations/87478)

<div class="topic-metadata">

**Author:** [@rkube](https://discourse.julialang.org/u/rkube)\
**Replies:** 4\
**Last updated:** [September 27, 2022, 7:21pm UTC](https://discourse.julialang.org/t/makie-improving-performance-with-animations/87478 "2022-09-27T19:21:19Z")

</div>

Hi, I’m looking into animating results from a kinetic simulation using makie and got some basic animations going. Now I’m trying to improve about performance. This script kinetic\_anim.jl · GitHub animates the trajecto…

---

## [How to use/initialize Zygote.Buffer](https://discourse.julialang.org/t/how-to-use-initialize-zygote-buffer/87653)

<div class="topic-metadata">

**Author:** [@LeN3rd](https://discourse.julialang.org/u/LeN3rd)\
**Replies:** 3\
**Last updated:** [September 27, 2022, 2:52pm UTC](https://discourse.julialang.org/t/how-to-use-initialize-zygote-buffer/87653 "2022-09-27T14:52:10Z")

</div>

This is probably a common question, but when i use Zygote.Buffer i cannot assign values by doing buffer .= old\_data It throws the following: ERROR: MethodError: no method matching ndims(::Type{Zygote.Buffer{Float64, Ma…

---

## [2D FFT convolution but get inaccurate results](https://discourse.julialang.org/t/2d-fft-convolution-but-get-inaccurate-results/87816)

<div class="topic-metadata">

**Author:** [@maphdze](https://discourse.julialang.org/u/maphdze)\
**Replies:** 9\
**Last updated:** [September 27, 2022, 12:38pm UTC](https://discourse.julialang.org/t/2d-fft-convolution-but-get-inaccurate-results/87816 "2022-09-27T12:38:07Z")

</div>

I am trying to calculate this convlution integral a(x)=\\int{\\varphi(x,x\\prime)}w(x\\prime)\\rm{d}\\it{V\\prime},where \\varphi(x,x\\prime) is a compact support kernel function with a radius \\ell. Currently, \\varphi(x,x\\prime) …

---

## [Edgelist representation as array](https://discourse.julialang.org/t/edgelist-representation-as-array/49960)

<div class="topic-metadata">

**Author:** [@SDA](https://discourse.julialang.org/u/SDA)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 11:39am UTC](https://discourse.julialang.org/t/edgelist-representation-as-array/49960 "2022-09-27T11:39:15Z")

</div>

I am wanting to get an edgelist from my graph that can then be used as a coordinate in 2D. using LightGraphs A = \[ 0 1 1 1 0 1 1 1 0 \] G = Graph(A) EL = collect(edges(G)) How can the edge list EL be converted to an ar…

---

## [Calling Flux.gpu downloads CUDNN artifact every first call in REPL/script](https://discourse.julialang.org/t/calling-flux-gpu-downloads-cudnn-artifact-every-first-call-in-repl-script/87784)

<div class="topic-metadata">

**Author:** [@linkz](https://discourse.julialang.org/u/linkz)\
**Replies:** 6\
**Last updated:** [September 27, 2022, 8:58am UTC](https://discourse.julialang.org/t/calling-flux-gpu-downloads-cudnn-artifact-every-first-call-in-repl-script/87784 "2022-09-27T08:58:40Z")

</div>

Pretty much as the title says. Whenever I call e.g. Import Flux d\_gpu = Flux.gpu(Flux.Dense(10, 10)) ┌ Warning: The NVIDIA driver on this system only supports up to CUDA 11.0.0. │ For performance reasons, it is recommen…

---

## [Convex Neural Network Using Skip Layers in Flux.jl](https://discourse.julialang.org/t/convex-neural-network-using-skip-layers-in-flux-jl/87827)

<div class="topic-metadata">

**Author:** [@marcofrancis](https://discourse.julialang.org/u/marcofrancis)\
**Replies:** 5\
**Last updated:** [September 27, 2022, 8:30am UTC](https://discourse.julialang.org/t/convex-neural-network-using-skip-layers-in-flux-jl/87827 "2022-09-27T08:30:00Z")

</div>

Hi, I’m trying to code up the following net, where y is the input of my net, f(y) is the output of the net, W^z\_k, W^y\_k are matrices and b\_k are vectors : f(y) = z\_k z\_k = softplus(W^z\_k z\_{k-1}+W^y\_k y+b\_k) … z…

---

## [RobotOSData.jl visualization of ROS objects](https://discourse.julialang.org/t/robotosdata-jl-visualization-of-ros-objects/82804)

<div class="topic-metadata">

**Author:** [@ga72kud](https://discourse.julialang.org/u/ga72kud)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 6:04am UTC](https://discourse.julialang.org/t/robotosdata-jl-visualization-of-ros-objects/82804 "2022-09-27T06:04:26Z")

</div>

Hi I use RobotOs.jl and RobotOSData.jl for reading and analyzing ROS data (rosbags). Are there any further tools to visualize ROS Markers. Best and thanks!

---

## [MultivariateStats.jl: predict for MulticlassLDA is throwing error](https://discourse.julialang.org/t/multivariatestats-jl-predict-for-multiclasslda-is-throwing-error/87799)

<div class="topic-metadata">

**Author:** [@Sourish](https://discourse.julialang.org/u/Sourish)\
**Replies:** 2\
**Last updated:** [September 27, 2022, 2:56am UTC](https://discourse.julialang.org/t/multivariatestats-jl-predict-for-multiclasslda-is-throwing-error/87799 "2022-09-27T02:56:16Z")

</div>

Hi I am trying to fit MulticlassLDA on the iris dataset. The predict is throwing an error. I was wondering if you can help me to figure out what mistakes I am making. using MultivariateStats, RDatasets; iris = dataset…

---

## [What is a Model fingerprint?](https://discourse.julialang.org/t/what-is-a-model-fingerprint/87851)

<div class="topic-metadata">

**Author:** [@WuSiren](https://discourse.julialang.org/u/WuSiren)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 2:50am UTC](https://discourse.julialang.org/t/what-is-a-model-fingerprint/87851 "2022-09-27T02:50:21Z")

</div>

What is a Model fingerprint? What is it used for? Does the same model have the same Model fingerprint in different machines?

---

## [Wandb.jl hangs on first input prompt](https://discourse.julialang.org/t/wandb-jl-hangs-on-first-input-prompt/87838)

<div class="topic-metadata">

**Author:** [@afishy](https://discourse.julialang.org/u/afishy)\
**Replies:** 1\
**Last updated:** [September 27, 2022, 12:03am UTC](https://discourse.julialang.org/t/wandb-jl-hangs-on-first-input-prompt/87838 "2022-09-27T00:03:48Z")

</div>

I’m trying to use Weights and Biases with Julia, and the REPL hangs when I try and use it (on VSCode): using Wandb lg = WandbLogger(project=“wandb\_test”) global\_logger(lg) Any input I enter is stuck (numlock is o…

---

## [Reinforcement Learning Custom Gym error](https://discourse.julialang.org/t/reinforcement-learning-custom-gym-error/87818)

<div class="topic-metadata">

**Author:** [@chunky](https://discourse.julialang.org/u/chunky)\
**Replies:** 2\
**Last updated:** [September 26, 2022, 10:35pm UTC](https://discourse.julialang.org/t/reinforcement-learning-custom-gym-error/87818 "2022-09-26T22:35:47Z")

</div>

I’ve created a custom Gym environment using ReinforcementLearning.jl. I think it adheres to the guidance on the documentation \[ “How to write a customised environment” \] , but the trivial case to run my gym, using a rand…

---

## [Methods for simultaneous diagonalization?](https://discourse.julialang.org/t/methods-for-simultaneous-diagonalization/87840)

<div class="topic-metadata">

**Author:** [@kharing](https://discourse.julialang.org/u/kharing)\
**Replies:** 1\
**Last updated:** [September 26, 2022, 9:19pm UTC](https://discourse.julialang.org/t/methods-for-simultaneous-diagonalization/87840 "2022-09-26T21:19:02Z")

</div>

I have two matrices that commute (within machine precision), both of which have eigenvalues that may be either degenerate or very closely spaced. Is there an existing implementation of a simultaneous diagonalization rout…

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

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