# Specific Domains

**URL:** https://discourse.julialang.org/c/domain/10.md?page=340

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

**Page:** 341

---

## [Makie: mouse position in data coordinates](https://discourse.julialang.org/t/makie-mouse-position-in-data-coordinates/67573)

<div class="topic-metadata">

**Author:** [@inverseproblem](https://discourse.julialang.org/u/inverseproblem)\
**Replies:** 4\
**Last updated:** [September 3, 2021, 5:43pm UTC](https://discourse.julialang.org/t/makie-mouse-position-in-data-coordinates/67573 "2021-09-03T17:43:51Z")

</div>

Hello, I’m having troubles in getting the mouse position in data coordinates from a Makie plot. Using mouseposition() seems to return the position in pixel coordinates contrary to what described in the documentation ht…

---

## [How to adjust the density of streamplot in Julia?](https://discourse.julialang.org/t/how-to-adjust-the-density-of-streamplot-in-julia/67647)

<div class="topic-metadata">

**Author:** [@GoH](https://discourse.julialang.org/u/GoH)\
**Replies:** 1\
**Last updated:** [September 3, 2021, 3:08pm UTC](https://discourse.julialang.org/t/how-to-adjust-the-density-of-streamplot-in-julia/67647 "2021-09-03T15:08:40Z")

</div>

Hi, I am trying to generate the phase space of the SI model, based on the example code in https://lazarusa.github.io/BeautifulMakie/FlowFields/streamplots3/ my code (in Pluto notebook) is begin using CairoMakie let …

---

## [Graph ismorphism library?](https://discourse.julialang.org/t/graph-ismorphism-library/58555)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 4\
**Last updated:** [September 3, 2021, 1:43pm UTC](https://discourse.julialang.org/t/graph-ismorphism-library/58555 "2021-09-03T13:43:43Z")

</div>

Are there good graph isomorphism libraries written in or accessible from Julia? Lightgrpahs.jl doesn’t seem to have this functionality. A bonus would be support for vertex / edge colors and multigrpahs.

---

## [Use ForwardDiff instead of Zygote with Flux?](https://discourse.julialang.org/t/use-forwarddiff-instead-of-zygote-with-flux/67572)

<div class="topic-metadata">

**Author:** [@weymouth](https://discourse.julialang.org/u/weymouth)\
**Replies:** 10\
**Last updated:** [September 3, 2021, 12:35pm UTC](https://discourse.julialang.org/t/use-forwarddiff-instead-of-zygote-with-flux/67572 "2021-09-03T12:35:36Z")

</div>

I’m embedding a Flux model into a physical simulation but Zygote doesn’t seem to be able to handle taking the gradient. I got ForwardDiff.gradient working with the code yesterday. Can I use ForwardDiff as the backend in…

---

## [CUDAnative: register host memory for pinned memory access](https://discourse.julialang.org/t/cudanative-register-host-memory-for-pinned-memory-access/23046)

<div class="topic-metadata">

**Author:** [@samo](https://discourse.julialang.org/u/samo)\
**Replies:** 26\
**Last updated:** [September 3, 2021, 8:42am UTC](https://discourse.julialang.org/t/cudanative-register-host-memory-for-pinned-memory-access/23046 "2021-09-03T08:42:25Z")

</div>

Hi all, how do I register host memory with CUDAnative in order to enable pinned memory access directly from a GPU kernel? In other words, I wonder how in Julia one can do the equivalent of the following CUDA code: …

---

## [CUDNN operators not supporting Views/SubArrays](https://discourse.julialang.org/t/cudnn-operators-not-supporting-views-subarrays/67463)

<div class="topic-metadata">

**Author:** [@jeremiedb](https://discourse.julialang.org/u/jeremiedb)\
**Replies:** 3\
**Last updated:** [September 3, 2021, 8:05am UTC](https://discourse.julialang.org/t/cudnn-operators-not-supporting-views-subarrays/67463 "2021-09-03T08:05:58Z")

</div>

Is there a reason for Convolution (and other CUDNN related functions) to be restricted to DenseCuArray as found in the NNlibCUDA.jl repo? For example, taking a view here will result in an error as CUDA has to resort to …

---

## [Differential Equation solve problem](https://discourse.julialang.org/t/differential-equation-solve-problem/67587)

<div class="topic-metadata">

**Author:** [@hzgzh](https://discourse.julialang.org/u/hzgzh)\
**Replies:** 2\
**Last updated:** [September 3, 2021, 3:26am UTC](https://discourse.julialang.org/t/differential-equation-solve-problem/67587 "2021-09-03T03:26:15Z")

</div>

I have a dae problem to solve ,but always have singualar error, could someone help? using DifferentialEquations, Plots function ga!(du,u,p,t) t2=0.02; τ, kp, ki, tc=p du\[1\] = ki \* (u\[5\] - u\[2\]) …

---

## [Error in CUDA.jl](https://discourse.julialang.org/t/error-in-cuda-jl/65197)

<div class="topic-metadata">

**Author:** [@jmmmachado](https://discourse.julialang.org/u/jmmmachado)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 10:34pm UTC](https://discourse.julialang.org/t/error-in-cuda-jl/65197 "2021-09-02T22:34:20Z")

</div>

Hello everyone! I am having some issues with CUDA.jl. At first I thought it was an issue with the drivers from NVIDIA or the CUDA installation on my PC, so I uninstalled the drivers, the cuda toolkits, everything. Howev…

---

## [Failing test CUDA (obviously LLVM issue)](https://discourse.julialang.org/t/failing-test-cuda-obviously-llvm-issue/67555)

<div class="topic-metadata">

**Author:** [@Dieter](https://discourse.julialang.org/u/Dieter)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 10:33pm UTC](https://discourse.julialang.org/t/failing-test-cuda-obviously-llvm-issue/67555 "2021-09-02T22:33:18Z")

</div>

Hello Community, I tried to test CUDA, unfortunately the test failed. Error Message: test CUDA Testing CUDA Status \`/tmp/jl\_rSX9Mb/Project.toml\` \[79e6a3ab\] Adapt v3.3.1 \[ab4f0b2a\] BFloat16s v0.1.0 \[052…

---

## [Cbc JuMP set constraints](https://discourse.julialang.org/t/cbc-jump-set-constraints/67570)

<div class="topic-metadata">

**Author:** [@giulia](https://discourse.julialang.org/u/giulia)\
**Replies:** 3\
**Last updated:** [September 2, 2021, 10:03pm UTC](https://discourse.julialang.org/t/cbc-jump-set-constraints/67570 "2021-09-02T22:03:59Z")

</div>

Hello, I am trying to create a simple optimization model using JuMP and Cbc. My code is following: using JuMP, Cbc m = Model(Cbc.Optimizer) @variable(m, x1) @variable(m, x2) @constraint(m, constraint1, x1 \* x2 == 1…

---

## [Compute conflict indexed output for gurobi](https://discourse.julialang.org/t/compute-conflict-indexed-output-for-gurobi/67585)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 9:55pm UTC](https://discourse.julialang.org/t/compute-conflict-indexed-output-for-gurobi/67585 "2021-09-02T21:55:13Z")

</div>

Hi All, i am using compute conflict with gurobi the sample code and output is given as @constraint(model,conexisting20\[p in 1:P, b in 1:B\],sum(ME\_B\_O\_20\[b,c,p\]\*C\_s20\[c\] for c in 1:C)==Moves20\[p,b\] ) println("=======…

---

## [Hypatia sum of squares cone](https://discourse.julialang.org/t/hypatia-sum-of-squares-cone/67523)

<div class="topic-metadata">

**Author:** [@geo](https://discourse.julialang.org/u/geo)\
**Replies:** 3\
**Last updated:** [September 2, 2021, 6:16pm UTC](https://discourse.julialang.org/t/hypatia-sum-of-squares-cone/67523 "2021-09-02T18:16:36Z")

</div>

I want to optimize over sum of squares, but with constraints on the coefficients of the polynomials. I know that this can be done by adding constraints; however, this often seems wasteful. For example I want to restrict …

---

## [Extend density plot line (along 0)](https://discourse.julialang.org/t/extend-density-plot-line-along-0/67561)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 6:01pm UTC](https://discourse.julialang.org/t/extend-density-plot-line-along-0/67561 "2021-09-02T18:01:46Z")

</div>

If I write using StatsPlots density(sqrt.(rand(10000))) density!(sqrt.(2\*rand(10000))) then I get: The plot would be nicer if the blue line extended all the way to the maximum/minimum x values (along 0). Is there an…

---

## [How to plot a matrix as an image (greyscale)](https://discourse.julialang.org/t/how-to-plot-a-matrix-as-an-image-greyscale/34147)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 4\
**Last updated:** [September 2, 2021, 12:21pm UTC](https://discourse.julialang.org/t/how-to-plot-a-matrix-as-an-image-greyscale/34147 "2021-09-02T12:21:05Z")

</div>

Hi guys, my question is how to plot a matrix as an image in greyscale? I saw the version with ‘Gadfly’ and worked for me but it was in bluescale. Thank you very much in advance for your support. Cheers. Ergnoor

---

## [Moving to GeometryBasics](https://discourse.julialang.org/t/moving-to-geometrybasics/40861)

<div class="topic-metadata">

**Author:** [@arsh](https://discourse.julialang.org/u/arsh)\
**Replies:** 9\
**Last updated:** [September 2, 2021, 10:42am UTC](https://discourse.julialang.org/t/moving-to-geometrybasics/40861 "2021-09-02T10:42:12Z")

</div>

Hi all! I am Arsh Sharma, an electronics undergraduate and I am working on the geospatial ecosystem, in this year’s JSoC under the mentorship of Martijn Visser @visr, Bogumił Kamiński @bkamins and Maarten Pronk @evetion …

---

## [HTTP.parse\_multipart\_form does a lot of memory allocations](https://discourse.julialang.org/t/http-parse-multipart-form-does-a-lot-of-memory-allocations/66661)

<div class="topic-metadata">

**Author:** [@Jan\_Dolinsky](https://discourse.julialang.org/u/Jan_Dolinsky)\
**Replies:** 1\
**Last updated:** [September 2, 2021, 9:55am UTC](https://discourse.julialang.org/t/http-parse-multipart-form-does-a-lot-of-memory-allocations/66661 "2021-09-02T09:55:27Z")

</div>

Hello, I tried a simple example of parsing a multi-part HTTP request (JSON config + some CSV data). The request is about 5MB big. Doing just const r = deserialize("httpRequestStored") # just to get the request that was…

---

## [Key 1.0 not found](https://discourse.julialang.org/t/key-1-0-not-found/67400)

<div class="topic-metadata">

**Author:** [@fksayaci](https://discourse.julialang.org/u/fksayaci)\
**Replies:** 13\
**Last updated:** [September 2, 2021, 5:03am UTC](https://discourse.julialang.org/t/key-1-0-not-found/67400 "2021-09-02T05:03:38Z")

</div>

Hi, I have an optimization model, which I have run for a long time on my personal machine. When I run the same model on a cluster, it gives some errors. The error is as follows: ERROR: LoadError: KeyError: key 1.0 not …

---

## [Resources for learning Julia coming from Python](https://discourse.julialang.org/t/resources-for-learning-julia-coming-from-python/67476)

<div class="topic-metadata">

**Author:** [@garrek](https://discourse.julialang.org/u/garrek)\
**Replies:** 3\
**Last updated:** [September 2, 2021, 1:27am UTC](https://discourse.julialang.org/t/resources-for-learning-julia-coming-from-python/67476 "2021-09-02T01:27:26Z")

</div>

I’m very new to Julia and I’m trying to find a go-to peak-finding implementation in one of the major Julia packages, but I can’t seem to find it. It seems there is a findlocalmaxima function in the Images package, but th…

---

## [Forcing CUArray for tType and IType in ODESolution](https://discourse.julialang.org/t/forcing-cuarray-for-ttype-and-itype-in-odesolution/67531)

<div class="topic-metadata">

**Author:** [@shivak](https://discourse.julialang.org/u/shivak)\
**Replies:** 2\
**Last updated:** [September 1, 2021, 11:35pm UTC](https://discourse.julialang.org/t/forcing-cuarray-for-ttype-and-itype-in-odesolution/67531 "2021-09-01T23:35:26Z")

</div>

I’m trying to use OrdinaryDiffEq, Zygote, and CUDA to reverse-mode differentiate an ODE running on GPU. My code works on CPU, but hits this error on GPU: GPU compilation of kernel broadcast\_kernel(CUDA.CuKernelContext, …

---

## [Intersection of \`SciMLBase.EnsembleSolution\`s](https://discourse.julialang.org/t/intersection-of-scimlbase-ensemblesolution-s/67390)

<div class="topic-metadata">

**Author:** [@cadojo](https://discourse.julialang.org/u/cadojo)\
**Replies:** 10\
**Last updated:** [September 1, 2021, 11:08pm UTC](https://discourse.julialang.org/t/intersection-of-scimlbase-ensemblesolution-s/67390 "2021-09-01T23:08:45Z")

</div>

I have two EnsembleSolutions which represent tubes of orbital trajectories in space (invariant manifolds). I’d like to find the intersection of these two EnsembleSolutions. This functionality comes in two levels… Given…

---

## [Efficient deletion of affine constraints](https://discourse.julialang.org/t/efficient-deletion-of-affine-constraints/67529)

<div class="topic-metadata">

**Author:** [@bsturt](https://discourse.julialang.org/u/bsturt)\
**Replies:** 3\
**Last updated:** [September 1, 2021, 8:56pm UTC](https://discourse.julialang.org/t/efficient-deletion-of-affine-constraints/67529 "2021-09-01T20:56:53Z")

</div>

Many apologies in advance if this topic has already been answered. I am implementing an cutting plane algorithm for solving a class of large-scale LPs using JuMP and Gurobi. Because the model requires lots of RAM, I am …

---

## [\[ANN\] Hypatia.jl: a new solver for generic conic optimization](https://discourse.julialang.org/t/ann-hypatia-jl-a-new-solver-for-generic-conic-optimization/47786)

<div class="topic-metadata">

**Author:** [@chriscoey](https://discourse.julialang.org/u/chriscoey)\
**Replies:** 0\
**Last updated:** [October 5, 2020, 1:47pm UTC](https://discourse.julialang.org/t/ann-hypatia-jl-a-new-solver-for-generic-conic-optimization/47786 "2020-10-05T13:47:53Z")

</div>

Hi friends, particularly those of you interested in conic optimization. We (myself and Lea Kapelevich, under the supervision of Juan Pablo Vielma) have just released v0.1.0 of Hypatia.jl, our pure-Julia open-source gener…

---

## [Store Random Number Generator outside Rand()](https://discourse.julialang.org/t/store-random-number-generator-outside-rand/67517)

<div class="topic-metadata">

**Author:** [@Albert\_Zevelev](https://discourse.julialang.org/u/Albert_Zevelev)\
**Replies:** 1\
**Last updated:** [September 1, 2021, 4:31pm UTC](https://discourse.julialang.org/t/store-random-number-generator-outside-rand/67517 "2021-09-01T16:31:26Z")

</div>

How can store an rng w/ seed outside of rand()? julia\> using Random, Distributions; julia\> rand(MersenneTwister(0), Normal()) 0.6791074260357777 julia\> rand(MersenneTwister(0), Normal()) 0.6791074260357777 julia\> rs=…

---

## [Solving PDE Diffusion (using ODE solvers). Total mass increases towards infinity (should stay constant)](https://discourse.julialang.org/t/solving-pde-diffusion-using-ode-solvers-total-mass-increases-towards-infinity-should-stay-constant/67492)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 6\
**Last updated:** [September 1, 2021, 3:59pm UTC](https://discourse.julialang.org/t/solving-pde-diffusion-using-ode-solvers-total-mass-increases-towards-infinity-should-stay-constant/67492 "2021-09-01T15:59:45Z")

</div>

I am trying to solve a very simple case of the chemical Fokker-Planch equations. It is basically a diffusion equation of the probability density function of the state of a chemical reaction network. The process is very s…

---

## [Help design a node for a tree](https://discourse.julialang.org/t/help-design-a-node-for-a-tree/67444)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 20\
**Last updated:** [September 1, 2021, 2:37pm UTC](https://discourse.julialang.org/t/help-design-a-node-for-a-tree/67444 "2021-09-01T14:37:23Z")

</div>

I’m tracking moving animals in a video. Each video frame has a few “things” that may qualify to be an animal (dirt, experimenter’s hand, shadows, objects, etc). I’d like to keep track of most of these things, and then on…

---

## [Plot beyond gridlines](https://discourse.julialang.org/t/plot-beyond-gridlines/67438)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 3\
**Last updated:** [August 31, 2021, 7:42pm UTC](https://discourse.julialang.org/t/plot-beyond-gridlines/67438 "2021-08-31T19:42:33Z")

</div>

using WGLMakie n = 500 x = 1:n y = randn(n) fig = Figure() ax = Axis( fig\[1,1\], limits=(nothing, (-1.5, 1.5)), xgridcolor=:red, leftspinevisible=false, rightspinevisible=false, topspinevisible=…

---

## [Hide axis labels](https://discourse.julialang.org/t/hide-axis-labels/67443)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 2\
**Last updated:** [August 31, 2021, 7:34pm UTC](https://discourse.julialang.org/t/hide-axis-labels/67443 "2021-08-31T19:34:38Z")

</div>

using WGLMakie n = 500 x = 1:n y = randn(n) c = rand('a':'d', n) spec = data((;x,y,c)) \* visual(Scatter) \* mapping(:x, :y, row=:c) draw(spec, axis=(; ylabelvisible=false)) How can I hide each of these labels? y -…

---

## [Julia and QuestDB](https://discourse.julialang.org/t/julia-and-questdb/67434)

<div class="topic-metadata">

**Author:** [@dm13450](https://discourse.julialang.org/u/dm13450)\
**Replies:** 2\
**Last updated:** [August 31, 2021, 5:29pm UTC](https://discourse.julialang.org/t/julia-and-questdb/67434 "2021-08-31T17:29:57Z")

</div>

I’ve written two blog posts about using Julia with QuestDB. This is a type of database that specialises in time series data, so in part 1 I’ve written about connecting to a WebSocket to ingest streaming data into QuestD…

---

## [What does "surprising behaviors" in the documentation of ITensor mean?](https://discourse.julialang.org/t/what-does-surprising-behaviors-in-the-documentation-of-itensor-mean/67408)

<div class="topic-metadata">

**Author:** [@wujinq](https://discourse.julialang.org/u/wujinq)\
**Replies:** 2\
**Last updated:** [August 31, 2021, 5:09pm UTC](https://discourse.julialang.org/t/what-does-surprising-behaviors-in-the-documentation-of-itensor-mean/67408 "2021-08-31T17:09:48Z")

</div>

In this page it is said that The reason we recommend the let...end block is that code written in the Julia global scope can have some surprising behaviors. Putting your code into a let block avoids these issues. What…

---

## [Neural ODE with Evolutionary Parameters](https://discourse.julialang.org/t/neural-ode-with-evolutionary-parameters/65736)

<div class="topic-metadata">

**Author:** [@Saad](https://discourse.julialang.org/u/Saad)\
**Replies:** 7\
**Last updated:** [August 31, 2021, 4:17pm UTC](https://discourse.julialang.org/t/neural-ode-with-evolutionary-parameters/65736 "2021-08-31T16:17:02Z")

</div>

Hello everyone, I would like to know if there is a package on Julia adapted to Neural ODEs with time dependent parameters, or if there is a practical example of code use to allow evolution of the neural network paramete…

[Previous page](https://discourse.julialang.org/c/domain/10.md?page=339)

[Next page](https://discourse.julialang.org/c/domain/10.md?page=341)
