# Specific Domains

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

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

**Page:** 178

---

## [Annotate outside of plot](https://discourse.julialang.org/t/annotate-outside-of-plot/101696)

<div class="topic-metadata">

**Author:** [@James\_Fernandez](https://discourse.julialang.org/u/James_Fernandez)\
**Replies:** 4\
**Last updated:** [July 19, 2023, 10:53pm UTC](https://discourse.julialang.org/t/annotate-outside-of-plot/101696 "2023-07-19T22:53:01Z")

</div>

Hello to all, I would like to make some latex annotations in julia’s Plots with gr backend outside of the plot area. I have this example: using Plots, LaTeXStrings gr() a = 3 x = collect(0:0.01:10) y = sin.(a\*x) pl…

---

## [Distributed Array Optimization](https://discourse.julialang.org/t/distributed-array-optimization/101807)

<div class="topic-metadata">

**Author:** [@Brian\_Makin](https://discourse.julialang.org/u/Brian_Makin)\
**Replies:** 0\
**Last updated:** [July 19, 2023, 9:27pm UTC](https://discourse.julialang.org/t/distributed-array-optimization/101807 "2023-07-19T21:27:39Z")

</div>

I’ve got a distributed array split across a bunch of workers. Each worker grabs portions of the distributed array (which creates subarrays) they processes their local part while accessing those subarrays. Two question…

---

## [CuArray error when running NeuralPDE.jl on JuliaHub](https://discourse.julialang.org/t/cuarray-error-when-running-neuralpde-jl-on-juliahub/101798)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 0\
**Last updated:** [July 19, 2023, 6:49pm UTC](https://discourse.julialang.org/t/cuarray-error-when-running-neuralpde-jl-on-juliahub/101798 "2023-07-19T18:49:52Z")

</div>

Hi everyone! I was trying to test the GPU ability of NeuralPDE.jl on the JuliaHub, my network is defined like this: # Neural network inner = 25 chain = Chain(Dense(3,inner,Lux.σ), Dense(inner,inner,Lux.σ)…

---

## [ANN: SimulatedNeuralMoments v2.0.0](https://discourse.julialang.org/t/ann-simulatedneuralmoments-v2-0-0/101627)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 1\
**Last updated:** [July 19, 2023, 3:32pm UTC](https://discourse.julialang.org/t/ann-simulatedneuralmoments-v2-0-0/101627 "2023-07-19T15:32:52Z")

</div>

v2.0.0 is out. Fixes a bug that slipped in somewhere in the 1.0.x series, which led to sub-par results. :japanese\_goblin: Performance is now back to what it should be. There is some restructuring and minor API changes. …

---

## [Homoclinic loop accuracy DifferentialEquations.jl](https://discourse.julialang.org/t/homoclinic-loop-accuracy-differentialequations-jl/97456)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 25\
**Last updated:** [July 19, 2023, 2:19pm UTC](https://discourse.julialang.org/t/homoclinic-loop-accuracy-differentialequations-jl/97456 "2023-07-19T14:19:24Z")

</div>

Hello! I try get homoclinic loop to saddle focus for system of Rossler. With the given parameters, the homoclinic definitely exists, according to some articles. To get homoclinic loop, I integrate in backward time. Whe…

---

## [GLMakie: hide control widgets before saving?](https://discourse.julialang.org/t/glmakie-hide-control-widgets-before-saving/101721)

<div class="topic-metadata">

**Author:** [@mwlidar](https://discourse.julialang.org/u/mwlidar)\
**Replies:** 5\
**Last updated:** [July 19, 2023, 12:22pm UTC](https://discourse.julialang.org/t/glmakie-hide-control-widgets-before-saving/101721 "2023-07-19T12:22:19Z")

</div>

Using GLMakie I created a nice 3D view of my data surrounded by some widget (Sliders, Textboxes) to control the appearance (see below). If I now want to save this to a file I would like to only the data, the title and th…

---

## [Possibility to convert SciMLBase.SplitODEProblem to SciMLBase.ODEProblem](https://discourse.julialang.org/t/possibility-to-convert-scimlbase-splitodeproblem-to-scimlbase-odeproblem/101732)

<div class="topic-metadata">

**Author:** [@DanDoe](https://discourse.julialang.org/u/DanDoe)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 11:00am UTC](https://discourse.julialang.org/t/possibility-to-convert-scimlbase-splitodeproblem-to-scimlbase-odeproblem/101732 "2023-07-19T11:00:47Z")

</div>

I was wondering whether there is a neat way of converting a split ODE problem of the form SplitODEProblem{isinplace}(f1,f2,u0,tspan,p=NullParameters();kwargs...) to an usual ODE problem ODEProblem{isinplace,specialize}…

---

## [How to use Makie's (CairoMakie) heatmap for a matrix with some empty positions?](https://discourse.julialang.org/t/how-to-use-makies-cairomakie-heatmap-for-a-matrix-with-some-empty-positions/101762)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 1\
**Last updated:** [July 19, 2023, 5:56am UTC](https://discourse.julialang.org/t/how-to-use-makies-cairomakie-heatmap-for-a-matrix-with-some-empty-positions/101762 "2023-07-19T05:56:52Z")

</div>

I am using this code to produce a heatmap with Makie using the backend of CairoMakie agent\_money(xx,yy) = id\_in\_position( (xx,yy) , schelling ) \> 0 ? schelling\[ id\_in\_position( (xx,yy) , schelling ) \].money : -1 xs = 1…

---

## [Flux.@functor won't work on custom layer (empty parameters)](https://discourse.julialang.org/t/flux-functor-wont-work-on-custom-layer-empty-parameters/101587)

<div class="topic-metadata">

**Author:** [@Bizzi](https://discourse.julialang.org/u/Bizzi)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 5:46am UTC](https://discourse.julialang.org/t/flux-functor-wont-work-on-custom-layer-empty-parameters/101587 "2023-07-19T05:46:35Z")

</div>

I’m having a hard time understanding the behavior of the @functor macro. See the snippets below: For the first one, I follow the tutorial on custom layers step by step and it works. For the second one, I alter the code s…

---

## [Makie textbox. how to disable?](https://discourse.julialang.org/t/makie-textbox-how-to-disable/101633)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 5:19am UTC](https://discourse.julialang.org/t/makie-textbox-how-to-disable/101633 "2023-07-19T05:19:05Z")

</div>

is there a way to prevent a user from entering a string into a textbox? i’d like to be able to disable and enable a text box depending on the state of a menu. in bokeh for example the textbox is greyed out when disable…

---

## [How to export a Flux model to Python?](https://discourse.julialang.org/t/how-to-export-a-flux-model-to-python/101750)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 2\
**Last updated:** [July 19, 2023, 5:17am UTC](https://discourse.julialang.org/t/how-to-export-a-flux-model-to-python/101750 "2023-07-19T05:17:23Z")

</div>

Hello! I have a trained models from Flux.jl which I would like to be able to use in Python. Is there a way to save these models in a format that would be easily readable by Pytorch or Tensorflow? Thanks!

---

## [Best way to perform an integral containing a Boltzmann factor](https://discourse.julialang.org/t/best-way-to-perform-an-integral-containing-a-boltzmann-factor/101698)

<div class="topic-metadata">

**Author:** [@marcsgil](https://discourse.julialang.org/u/marcsgil)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 3:11am UTC](https://discourse.julialang.org/t/best-way-to-perform-an-integral-containing-a-boltzmann-factor/101698 "2023-07-19T03:11:40Z")

</div>

Hello! I’m interesting in calculating an integral of the form \\int\_{\\mathbb{R}^n} d^n x f(x,\\beta) \\exp(-\\beta H(x)) where H is a known an Hamiltonian, \\beta is an inverse temperature and f is a function which I can…

---

## [Gurobi Error 10003: Name too long](https://discourse.julialang.org/t/gurobi-error-10003-name-too-long/101752)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 3\
**Last updated:** [July 19, 2023, 2:43am UTC](https://discourse.julialang.org/t/gurobi-error-10003-name-too-long/101752 "2023-07-19T02:43:39Z")

</div>

So, I get the error that probably the variable (and likely constraints as well) have a name longer than 255 characters. I have some custom types that I use as indices of the variables. I am sure this is leading to the is…

---

## [Changing default interface for Julia worker](https://discourse.julialang.org/t/changing-default-interface-for-julia-worker/101746)

<div class="topic-metadata">

**Author:** [@JasperW99](https://discourse.julialang.org/u/JasperW99)\
**Replies:** 1\
**Last updated:** [July 18, 2023, 9:20pm UTC](https://discourse.julialang.org/t/changing-default-interface-for-julia-worker/101746 "2023-07-18T21:20:09Z")

</div>

I am running a distributed workload using Distributed.jl on a cluster that has set up IP over Infiniband (IPoIB). However, when the workers are created, they automatically return the IP address of the slow ethernet inter…

---

## [Issue on how to get the ids for agents in a specific position on a 2d grid](https://discourse.julialang.org/t/issue-on-how-to-get-the-ids-for-agents-in-a-specific-position-on-a-2d-grid/101744)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 6:34pm UTC](https://discourse.julialang.org/t/issue-on-how-to-get-the-ids-for-agents-in-a-specific-position-on-a-2d-grid/101744 "2023-07-18T18:34:30Z")

</div>

Using this line of code with Agents.jl: ids\_in\_position( (2,2) , schelling ) I get this error: MethodError: no method matching ids\_in\_position(::Tuple{Int64, Int64}, ::UnremovableABM{GridSpaceSingle{2, false}, Schelli…

---

## [Possible to subset XAM BAM reader object by contig?](https://discourse.julialang.org/t/possible-to-subset-xam-bam-reader-object-by-contig/101715)

<div class="topic-metadata">

**Author:** [@nrminor](https://discourse.julialang.org/u/nrminor)\
**Replies:** 5\
**Last updated:** [July 18, 2023, 6:17pm UTC](https://discourse.julialang.org/t/possible-to-subset-xam-bam-reader-object-by-contig/101715 "2023-07-18T18:17:48Z")

</div>

Hi all. I’m writing a script to plot depth of coverage for each contig in an alignment. So far, I haven’t found a way to subset the BAM IOStream by contig, so the loop I use to iterate through records has to invoke a con…

---

## [Modelingtoolkit and multithreading](https://discourse.julialang.org/t/modelingtoolkit-and-multithreading/101739)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 1\
**Last updated:** [July 18, 2023, 4:45pm UTC](https://discourse.julialang.org/t/modelingtoolkit-and-multithreading/101739 "2023-07-18T16:45:51Z")

</div>

I have model, based on Modelingtoolkit and I am solving it with DifferentialEquations. Now I try to solve n models in parallel (well, it is mostly the same model, but with different parameters). It currently gives wrong…

---

## [Graphics Library with real-time display in Julia?](https://discourse.julialang.org/t/graphics-library-with-real-time-display-in-julia/101530)

<div class="topic-metadata">

**Author:** [@Maddy](https://discourse.julialang.org/u/Maddy)\
**Replies:** 23\
**Last updated:** [July 18, 2023, 4:14pm UTC](https://discourse.julialang.org/t/graphics-library-with-real-time-display-in-julia/101530 "2023-07-18T16:14:15Z")

</div>

There are a lot of (excellent) libraries to static vector graphics. A lot of them have functionality to play the graphics back as gif or animations. I want to make a real-time simulation. Perhaps think of it as a game d…

---

## [Specifying variable dimension in JuMP](https://discourse.julialang.org/t/specifying-variable-dimension-in-jump/101716)

<div class="topic-metadata">

**Author:** [@samerb](https://discourse.julialang.org/u/samerb)\
**Replies:** 17\
**Last updated:** [July 18, 2023, 1:20pm UTC](https://discourse.julialang.org/t/specifying-variable-dimension-in-jump/101716 "2023-07-18T13:20:32Z")

</div>

This might not be JuMP specific, but I’m trying to learn how to use JuMP for LPs. Do I need to specify the size of the variable x? It should be a 2-d vector. If so, how? My goal is to solve: $$\\max\_x cx $$ subject to …

---

## [LoadError: InexactError: Int64 caused by decimals](https://discourse.julialang.org/t/loaderror-inexacterror-int64-caused-by-decimals/101717)

<div class="topic-metadata">

**Author:** [@martina.gherardi](https://discourse.julialang.org/u/martina.gherardi)\
**Replies:** 4\
**Last updated:** [July 18, 2023, 10:53am UTC](https://discourse.julialang.org/t/loaderror-inexacterror-int64-caused-by-decimals/101717 "2023-07-18T10:53:35Z")

</div>

Hi, In order to print my output values for the integer variable γ, I wrote matrix\_gamma = zeros(Int, length(K), length(T)) for (i,k) in enumerate(K) for (j,t) in enumerate(T) matrix\_gamma\[i,j\] = value(γ\[k,t…

---

## [How customizable is Makie?](https://discourse.julialang.org/t/how-customizable-is-makie/101185)

<div class="topic-metadata">

**Author:** [@goerz](https://discourse.julialang.org/u/goerz)\
**Replies:** 9\
**Last updated:** [July 17, 2023, 2:36pm UTC](https://discourse.julialang.org/t/how-customizable-is-makie/101185 "2023-07-17T14:36:12Z")

</div>

Since the announcement of the new makie website popped up on Slack and HN: Makie starts looking more and more polished, to the point where I’m considering giving it a serious try for publications. Until now, I’m using m…

---

## [Any crystallography and material structure package suggestions?](https://discourse.julialang.org/t/any-crystallography-and-material-structure-package-suggestions/63028)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 7\
**Last updated:** [July 18, 2023, 5:10am UTC](https://discourse.julialang.org/t/any-crystallography-and-material-structure-package-suggestions/63028 "2023-07-18T05:10:15Z")

</div>

Is there any existing package that helps user read crystal structure from, say, VASP POSCAR or CONTCAR files and determin crystallography data like the space group and the point group?

---

## [Makie: Colorbar with the "High" and "Low" labels](https://discourse.julialang.org/t/makie-colorbar-with-the-high-and-low-labels/101604)

<div class="topic-metadata">

**Author:** [@nari](https://discourse.julialang.org/u/nari)\
**Replies:** 2\
**Last updated:** [July 18, 2023, 12:31am UTC](https://discourse.julialang.org/t/makie-colorbar-with-the-high-and-low-labels/101604 "2023-07-18T00:31:56Z")

</div>

When accompanying a heatmap with a color bar, the values at both ends themselves have no physical meaning, only the type and which direction they are used in are sometimes important. In that case, I would prepare a color…

---

## [Arrow stream usage clarification](https://discourse.julialang.org/t/arrow-stream-usage-clarification/89508)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 10\
**Last updated:** [July 17, 2023, 7:55pm UTC](https://discourse.julialang.org/t/arrow-stream-usage-clarification/89508 "2023-07-17T19:55:57Z")

</div>

I’m trying to use Arrow’s Stream https://arrow.juliadata.org/dev/reference/#Arrow.Stream to get an efficient out of RAM tabular data iterator. However, attempts to iterate over the arrow stream only appear to perform a …

---

## [Produce a heatmap for agents on a 2d grid with abmplot](https://discourse.julialang.org/t/produce-a-heatmap-for-agents-on-a-2d-grid-with-abmplot/101638)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 3\
**Last updated:** [July 17, 2023, 4:13pm UTC](https://discourse.julialang.org/t/produce-a-heatmap-for-agents-on-a-2d-grid-with-abmplot/101638 "2023-07-17T16:13:39Z")

</div>

Given a agent based model (using Agents.jl) of agents on a 2d grid with values between 0-10 (continuous) is it possible to produce a heatmap using abmplot? (each agent has a Float param) If so what is a straightforward a…

---

## [Interest in RNA-seq specific convenience package based on BioJulia?](https://discourse.julialang.org/t/interest-in-rna-seq-specific-convenience-package-based-on-biojulia/96949)

<div class="topic-metadata">

**Author:** [@maltesie](https://discourse.julialang.org/u/maltesie)\
**Replies:** 16\
**Last updated:** [July 17, 2023, 4:11pm UTC](https://discourse.julialang.org/t/interest-in-rna-seq-specific-convenience-package-based-on-biojulia/96949 "2023-07-17T16:11:13Z")

</div>

Hi all, I’m working in Bioinformatics research and started using Julia 2 years ago and now use it as my main language for everything I do. I organize the reusable part of my code in form of a Julia package which I try t…

---

## [How daggerflux works?](https://discourse.julialang.org/t/how-daggerflux-works/101687)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 1\
**Last updated:** [July 17, 2023, 6:28am UTC](https://discourse.julialang.org/t/how-daggerflux-works/101687 "2023-07-17T06:28:11Z")

</div>

Dear All, @dhairyagandhi96 Manytimes in past, I wanted to use GitHub - FluxML/DaggerFlux.jl: Distributed computation of differentiation pipelines to use multiple workers, devices, GPU, etc. since Julia wasn't fast enou…

---

## [Is there a way to incorporate time series data into coupled ODE system using DifferentialEquations.jl?](https://discourse.julialang.org/t/is-there-a-way-to-incorporate-time-series-data-into-coupled-ode-system-using-differentialequations-jl/101682)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 3\
**Last updated:** [July 17, 2023, 2:18am UTC](https://discourse.julialang.org/t/is-there-a-way-to-incorporate-time-series-data-into-coupled-ode-system-using-differentialequations-jl/101682 "2023-07-17T02:18:10Z")

</div>

Hi all, If I have a set of coupled ODE: x = f(y, \\dot{y}, \\dot{x}), y = f(x, \\dot{x}, \\dot{y}) and I have a time series data for x, is there a way to implement this constraint into the solver? I was looking at the d…

---

## [Understanding few lines from NeuralPDE.jl PDE example (phi solution)](https://discourse.julialang.org/t/understanding-few-lines-from-neuralpde-jl-pde-example-phi-solution/101499)

<div class="topic-metadata">

**Author:** [@PeX](https://discourse.julialang.org/u/PeX)\
**Replies:** 3\
**Last updated:** [July 16, 2023, 11:58pm UTC](https://discourse.julialang.org/t/understanding-few-lines-from-neuralpde-jl-pde-example-phi-solution/101499 "2023-07-16T23:58:24Z")

</div>

Hi all, first time I’m trying to use PINNs with Julia, as I’m reading the docs there are some parts that I’m missing. In this example : I see that the lines used for the predictions are: phi = discretization.phi u\_p…

---

## [How to handle HTTP.Exceptions.StatusError](https://discourse.julialang.org/t/how-to-handle-http-exceptions-statuserror/101649)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 16\
**Last updated:** [July 16, 2023, 5:17pm UTC](https://discourse.julialang.org/t/how-to-handle-http-exceptions-statuserror/101649 "2023-07-16T17:17:10Z")

</div>

I am getting HTTP.Exceptions.StatusError using CSV, DataFrames,HTTP begin for x in 33047:33187 url="https://gcn.nasa.gov/circulars/$x" txt=String((HTTP.get(url))) if occursin("report …

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

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