# Specific Domains

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

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

**Page:** 258

---

## [API choice: \`inversePredict(mod,Xnew)\` vs \`predict(mod,Xnew;inv=true)\`?](https://discourse.julialang.org/t/api-choice-inversepredict-mod-xnew-vs-predict-mod-xnew-inv-true/86123)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 2\
**Last updated:** [August 23, 2022, 12:01am UTC](https://discourse.julialang.org/t/api-choice-inversepredict-mod-xnew-vs-predict-mod-xnew-inv-true/86123 "2022-08-23T00:01:22Z")

</div>

For a ML library, which would be the arguments in favour to use a new specific function name for the inverse prediction for a model (e.g. a zero-mean/unit variance scaler), something like inversePrediction(mod,Xnew), and…

---

## [Video annotation software for Flux project](https://discourse.julialang.org/t/video-annotation-software-for-flux-project/85545)

<div class="topic-metadata">

**Author:** [@franfram](https://discourse.julialang.org/u/franfram)\
**Replies:** 4\
**Last updated:** [August 22, 2022, 11:24pm UTC](https://discourse.julialang.org/t/video-annotation-software-for-flux-project/85545 "2022-08-22T23:24:35Z")

</div>

Hello everyone, For my PhD, I’m working on a accelerometer decoder using flux. But first I need to annotate videos of animal behaviour, and I’d like to have some software or julia code that allows me te predefine the cl…

---

## [Scrollable plots](https://discourse.julialang.org/t/scrollable-plots/85871)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 5\
**Last updated:** [August 22, 2022, 9:42pm UTC](https://discourse.julialang.org/t/scrollable-plots/85871 "2022-08-22T21:42:05Z")

</div>

In this stack overflow post there is a Python solution to produce scrollable plots, which I could not find in Julia plotting packages. Tried running the SO code below but got stuck at the def update(val): part: using P…

---

## [Nonlinear programming function calls involving sine and cosine](https://discourse.julialang.org/t/nonlinear-programming-function-calls-involving-sine-and-cosine/86153)

<div class="topic-metadata">

**Author:** [@sky](https://discourse.julialang.org/u/sky)\
**Replies:** 1\
**Last updated:** [August 22, 2022, 9:22pm UTC](https://discourse.julialang.org/t/nonlinear-programming-function-calls-involving-sine-and-cosine/86153 "2022-08-22T21:22:01Z")

</div>

Dear all, I’m trying to build a nonlinear optimization problem and solve it by Ipopt. I have the following code using MosekTools using JuMP using Ipopt model = Model(Ipopt.Optimizer) @variable(model,x1) cons = \[ (x…

---

## [Threads not working in julia 1.8.0](https://discourse.julialang.org/t/threads-not-working-in-julia-1-8-0/86083)

<div class="topic-metadata">

**Author:** [@mastrof](https://discourse.julialang.org/u/mastrof)\
**Replies:** 6\
**Last updated:** [August 22, 2022, 7:33pm UTC](https://discourse.julialang.org/t/threads-not-working-in-julia-1-8-0/86083 "2022-08-22T19:33:57Z")

</div>

Just updated to 1.8.0 on my laptop and found out multithreading is not working as expected: loops never leave master thread The basic example code behaves differently on 1.8.0 compared to my 1.6.2 installation a = zero…

---

## [Align axes to each other with Makie.jl](https://discourse.julialang.org/t/align-axes-to-each-other-with-makie-jl/86124)

<div class="topic-metadata">

**Author:** [@nvhoang.3110](https://discourse.julialang.org/u/nvhoang.3110)\
**Replies:** 6\
**Last updated:** [August 22, 2022, 6:18pm UTC](https://discourse.julialang.org/t/align-axes-to-each-other-with-makie-jl/86124 "2022-08-22T18:18:08Z")

</div>

Hello everyone. I’m having trouble with aligning axes of two plots with different scales. Below is a reproducible example: begin fig = Figure(resolution = (1920, 1080)); update\_theme!(fontsize = 24); axis = …

---

## [Value function backward induction](https://discourse.julialang.org/t/value-function-backward-induction/45097)

<div class="topic-metadata">

**Author:** [@Joao\_Barata](https://discourse.julialang.org/u/Joao_Barata)\
**Replies:** 23\
**Last updated:** [August 22, 2020, 4:57pm UTC](https://discourse.julialang.org/t/value-function-backward-induction/45097 "2020-08-22T16:57:21Z")

</div>

Hello guys, I am doing heterogeneous agents macro in olg. I have a model where the agents have a lot of choices at each point in time, and its becoming very slow to solve, especially when I increase the number of points…

---

## [TimeZone from latitude/longtitude](https://discourse.julialang.org/t/timezone-from-latitude-longtitude/55129)

<div class="topic-metadata">

**Author:** [@lubo](https://discourse.julialang.org/u/lubo)\
**Replies:** 7\
**Last updated:** [August 22, 2022, 3:50pm UTC](https://discourse.julialang.org/t/timezone-from-latitude-longtitude/55129 "2022-08-22T15:50:44Z")

</div>

Hi, maybe very silly question, but can not find solution so far. I have gps coordinates of the city, ie place in Stockholm/Sweden: \[59.3725,18.0\]. I would like to get TimeZone for this place: ‘Europe/Stockholm’ In py…

---

## [Julia DynamicalSystems package for calculating Recurrence Matrices](https://discourse.julialang.org/t/julia-dynamicalsystems-package-for-calculating-recurrence-matrices/85964)

<div class="topic-metadata">

**Author:** [@Zahra](https://discourse.julialang.org/u/Zahra)\
**Replies:** 1\
**Last updated:** [August 22, 2022, 1:23pm UTC](https://discourse.julialang.org/t/julia-dynamicalsystems-package-for-calculating-recurrence-matrices/85964 "2022-08-22T13:23:52Z")

</div>

I don’t understand what Julia’s “RecurrenceMatrices” is doing. I give a vector of two float numbers \[1.041; 1.066\] as the input, and I set “epsilon = 0.01”, and in the output, it says that these two nodes are near. Am I …

---

## [How to do a OneSampleZTest for the proportion instead of the mean?](https://discourse.julialang.org/t/how-to-do-a-onesampleztest-for-the-proportion-instead-of-the-mean/85779)

<div class="topic-metadata">

**Author:** [@floxo115](https://discourse.julialang.org/u/floxo115)\
**Replies:** 1\
**Last updated:** [August 22, 2022, 10:40am UTC](https://discourse.julialang.org/t/how-to-do-a-onesampleztest-for-the-proportion-instead-of-the-mean/85779 "2022-08-22T10:40:10Z")

</div>

I am playing around with the HypothesisTests package and wanted to do a OneSampleZTest but with the population proportion instead of the populatin mean as the parameter of interest. But I really don’t find anyting in the…

---

## [How to load ScaLAPACK library from Intel MKL (library inter-dependencies)?](https://discourse.julialang.org/t/how-to-load-scalapack-library-from-intel-mkl-library-inter-dependencies/81239)

<div class="topic-metadata">

**Author:** [@Sideboard](https://discourse.julialang.org/u/Sideboard)\
**Replies:** 4\
**Last updated:** [August 22, 2022, 8:23am UTC](https://discourse.julialang.org/t/how-to-load-scalapack-library-from-intel-mkl-library-inter-dependencies/81239 "2022-08-22T08:23:42Z")

</div>

Hi, I am trying to use ScaLAPACK with @ccall to solve a linear system with QR decomposition. On my laptop it works fine with OpenMPI and directly searching for the default ScaLAPACK library: const libscalapack = Base.L…

---

## [How do you train a machine on several datasets](https://discourse.julialang.org/t/how-do-you-train-a-machine-on-several-datasets/85952)

<div class="topic-metadata">

**Author:** [@hpaldan](https://discourse.julialang.org/u/hpaldan)\
**Replies:** 2\
**Last updated:** [August 22, 2022, 6:18am UTC](https://discourse.julialang.org/t/how-do-you-train-a-machine-on-several-datasets/85952 "2022-08-22T06:18:09Z")

</div>

Hello! I’m new to the MLJ package but I gather that a fundamental aspect is that when you create a machine object you also define the data for the object. I’m in a situation where I have several very large dataframes th…

---

## [Enzyme.jl plus parallelstencil.jl?](https://discourse.julialang.org/t/enzyme-jl-plus-parallelstencil-jl/84310)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 5\
**Last updated:** [August 22, 2022, 6:09am UTC](https://discourse.julialang.org/t/enzyme-jl-plus-parallelstencil-jl/84310 "2022-08-22T06:09:25Z")

</div>

Anybody tried parallelstencil.jl cuda kernels differentiation with enzyme.jl ? Since python 1.7 enzyme supports Cuda.jl kernels so in pronciple I suppose it should be possible ?

---

## [Trouble coding a continuous / discrete 'mixture model' in Turing](https://discourse.julialang.org/t/trouble-coding-a-continuous-discrete-mixture-model-in-turing/86009)

<div class="topic-metadata">

**Author:** [@eduardo-zambrano](https://discourse.julialang.org/u/eduardo-zambrano)\
**Replies:** 20\
**Last updated:** [August 22, 2022, 4:07am UTC](https://discourse.julialang.org/t/trouble-coding-a-continuous-discrete-mixture-model-in-turing/86009 "2022-08-22T04:07:11Z")

</div>

Hi!. I have a generative process of the following kind: it generates a number of zeros, and then Normal draws, up to 1000, as follows: μ, σ, α, N = 0, 1, 0.3, 1000 # Parameters of the generative process logistic(x) = …

---

## [Network flow problem in JuMP](https://discourse.julialang.org/t/network-flow-problem-in-jump/86108)

<div class="topic-metadata">

**Author:** [@angeloaliano1](https://discourse.julialang.org/u/angeloaliano1)\
**Replies:** 3\
**Last updated:** [August 22, 2022, 2:18am UTC](https://discourse.julialang.org/t/network-flow-problem-in-jump/86108 "2022-08-22T02:18:53Z")

</div>

Dear all, I have the shortest path problem coded in JuMP as follows: using JuMP import HiGHS import LinearAlgebra G = \[ 0 100 30 0 0 0 0 20 0 0 0 0 0 10 60 0 15 0 0 50 0 0 0 0 0 \] n = size(G)\[1\] s…

---

## [Plotting Half of a Upper Triangular Matrix](https://discourse.julialang.org/t/plotting-half-of-a-upper-triangular-matrix/86098)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 2\
**Last updated:** [August 21, 2022, 6:53pm UTC](https://discourse.julialang.org/t/plotting-half-of-a-upper-triangular-matrix/86098 "2022-08-21T18:53:13Z")

</div>

Hi, I am plotting an upper triangular matrix where the bottom half of the matrix is full of zeros. The heatmap as it currently stands looks like the following I would like to just essentially fold this in half howeve…

---

## [Pluto and WGLMakie error](https://discourse.julialang.org/t/pluto-and-wglmakie-error/86093)

<div class="topic-metadata">

**Author:** [@contradict](https://discourse.julialang.org/u/contradict)\
**Replies:** 0\
**Last updated:** [August 21, 2022, 4:12pm UTC](https://discourse.julialang.org/t/pluto-and-wglmakie-error/86093 "2022-08-21T16:12:58Z")

</div>

I am getting a new error when trying to use WGLMakie inside Pluto and no plot output. I haven’t been able to find a discussion of this error and it seems to happen in a new environment with just Pluto. julia\> versioninf…

---

## [Query CDF and quantiles for MCMC Chains](https://discourse.julialang.org/t/query-cdf-and-quantiles-for-mcmc-chains/86088)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 4\
**Last updated:** [August 21, 2022, 3:12pm UTC](https://discourse.julialang.org/t/query-cdf-and-quantiles-for-mcmc-chains/86088 "2022-08-21T15:12:09Z")

</div>

I have a Chains object chain\_normal: julia\> @show chain\_normal chain\_normal = MCMC chain (1000×14×4 Array{Float64, 3}) Chains MCMC chain (1000×14×4 Array{Float64, 3}): Iterations = 501:1:1500 Number of chains =…

---

## [Non commutative variables Symbolics.jl](https://discourse.julialang.org/t/non-commutative-variables-symbolics-jl/86089)

<div class="topic-metadata">

**Author:** [@qwerty](https://discourse.julialang.org/u/qwerty)\
**Replies:** 1\
**Last updated:** [August 21, 2022, 2:46pm UTC](https://discourse.julialang.org/t/non-commutative-variables-symbolics-jl/86089 "2022-08-21T14:46:10Z")

</div>

I don’t understand how to work with variables that don’t commute. It would be nice if there was documentation with examples of non-commutativity with Symbolics.jl. Two particular examples would be useful: -there are v…

---

## [Some questions about eachoverlap in GenomicFeatures.jl](https://discourse.julialang.org/t/some-questions-about-eachoverlap-in-genomicfeatures-jl/85977)

<div class="topic-metadata">

**Author:** [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)\
**Replies:** 4\
**Last updated:** [August 21, 2022, 12:25pm UTC](https://discourse.julialang.org/t/some-questions-about-eachoverlap-in-genomicfeatures-jl/85977 "2022-08-21T12:25:06Z")

</div>

During using the eachoverlap function in GenomicFeatures,I cannot know how to solve this problem. My problem is :if each interval in “col” contains any interval in “hhh” ,I will output interval "col ".Here is the pict…

---

## [GenomicVectors.jl](https://discourse.julialang.org/t/genomicvectors-jl/86084)

<div class="topic-metadata">

**Author:** [@zhangchunyong](https://discourse.julialang.org/u/zhangchunyong)\
**Replies:** 0\
**Last updated:** [August 21, 2022, 11:55am UTC](https://discourse.julialang.org/t/genomicvectors-jl/86084 "2022-08-21T11:55:22Z")

</div>

When I installed the packge named GenomicVectors，I got the error like the picture. When I removed the package XAM,I can install GenomicVectors,however it’s not the newest.It’s 0.4 and I can not install the XMA at al…

---

## [Best way to use CuSparseMatrixBSR](https://discourse.julialang.org/t/best-way-to-use-cusparsematrixbsr/86075)

<div class="topic-metadata">

**Author:** [@April-Hannah-Lena](https://discourse.julialang.org/u/April-Hannah-Lena)\
**Replies:** 7\
**Last updated:** [August 21, 2022, 9:42am UTC](https://discourse.julialang.org/t/best-way-to-use-cusparsematrixbsr/86075 "2022-08-21T09:42:12Z")

</div>

I’ve been writing a set of kernels in which I calculate many small (mostly on the order of ~10x10) square matrices column by column, like in this toy example using CUDA # each slice L\[:, :, j\] is a matrix of interest L…

---

## [Text! in Makie](https://discourse.julialang.org/t/text-in-makie/86074)

<div class="topic-metadata">

**Author:** [@xztt](https://discourse.julialang.org/u/xztt)\
**Replies:** 2\
**Last updated:** [August 20, 2022, 9:01pm UTC](https://discourse.julialang.org/t/text-in-makie/86074 "2022-08-20T21:01:06Z")

</div>

Given I have multiple plots in one figure can someone tell me why the following does not work. using CairoMakie fig = Figure() ax1 = Axis(fig\[1, 1\]) ax2 = Axis(fig\[1, 2\]) ax3 = Axis(fig\[2, 1:2\]) lines!(ax1, 0..10, sin)…

---

## [Flipping the y-axis of heatmap in CairoMakie](https://discourse.julialang.org/t/flipping-the-y-axis-of-heatmap-in-cairomakie/86055)

<div class="topic-metadata">

**Author:** [@Xavier\_Gonzalez](https://discourse.julialang.org/u/Xavier_Gonzalez)\
**Replies:** 3\
**Last updated:** [August 20, 2022, 5:56pm UTC](https://discourse.julialang.org/t/flipping-the-y-axis-of-heatmap-in-cairomakie/86055 "2022-08-20T17:56:45Z")

</div>

I am trying to flip the y-axis in some heatmaps. The below code (when I have only one heatmap) works fine: begin fig = Figure(resolution=(600, 600)) ax = Axis(fig\[1, 1\]) hm = heatmap!(fig\[1,1\],mat) cb = Colorbar(fi…

---

## [Modeling system with piecewise constant control input](https://discourse.julialang.org/t/modeling-system-with-piecewise-constant-control-input/86057)

<div class="topic-metadata">

**Author:** [@stepanoslejsek](https://discourse.julialang.org/u/stepanoslejsek)\
**Replies:** 7\
**Last updated:** [August 20, 2022, 1:01pm UTC](https://discourse.julialang.org/t/modeling-system-with-piecewise-constant-control-input/86057 "2022-08-20T13:01:48Z")

</div>

Hello, I would like to simulate a model with use of DifferentialEquations.jl. I know I can provide an input to the system via anonymous function, but I am not able to approximate such function. Is there any possible wa…

---

## [Building on OrdinaryDiffEq.jl vs DiffEqBase.jl](https://discourse.julialang.org/t/building-on-ordinarydiffeq-jl-vs-diffeqbase-jl/85620)

<div class="topic-metadata">

**Author:** [@nathanaelbosch](https://discourse.julialang.org/u/nathanaelbosch)\
**Replies:** 3\
**Last updated:** [August 20, 2022, 11:36am UTC](https://discourse.julialang.org/t/building-on-ordinarydiffeq-jl-vs-diffeqbase-jl/85620 "2022-08-20T11:36:59Z")

</div>

Hi everyone, I am curious about the best approach for implementing custom ODE solvers in the DifferentialEquations.jl ecosystem. As far as I know, there are mostly two options: Contributing to OrdinaryDiffEq.jl: Wh…

---

## [Efficient calculation of block matrices with only the Linear Map given](https://discourse.julialang.org/t/efficient-calculation-of-block-matrices-with-only-the-linear-map-given/85814)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 4\
**Last updated:** [August 20, 2022, 11:31am UTC](https://discourse.julialang.org/t/efficient-calculation-of-block-matrices-with-only-the-linear-map-given/85814 "2022-08-20T11:31:31Z")

</div>

Hi! I have the situation that I construct block matrices where I want to avoid to explicitly have them. For example, with Fourier transforms we can either use slow matrices or fast FFTs: using FFTW using LinearAlgebra…

---

## [Optimization crashes Julia 1.8](https://discourse.julialang.org/t/optimization-crashes-julia-1-8/86050)

<div class="topic-metadata">

**Author:** [@mzhenirovskyy](https://discourse.julialang.org/u/mzhenirovskyy)\
**Replies:** 1\
**Last updated:** [August 20, 2022, 2:48am UTC](https://discourse.julialang.org/t/optimization-crashes-julia-1-8/86050 "2022-08-20T02:48:42Z")

</div>

The issue description is here: Does anybody see something like it? Any idea? Thanks!

---

## [ByRow subset vs filter performance](https://discourse.julialang.org/t/byrow-subset-vs-filter-performance/86022)

<div class="topic-metadata">

**Author:** [@hdavid16](https://discourse.julialang.org/u/hdavid16)\
**Replies:** 6\
**Last updated:** [August 19, 2022, 8:39pm UTC](https://discourse.julialang.org/t/byrow-subset-vs-filter-performance/86022 "2022-08-19T20:39:15Z")

</div>

I just compared subset (using a :col =\> ByRow(==(0)) operation) vs filter (using a :col =\> ==(0) operation) on a DataFrame. In both cases, I set view=true and I see significantly less allocations when using filter vs whe…

---

## [Playing/recording signals with PortAudio.jl](https://discourse.julialang.org/t/playing-recording-signals-with-portaudio-jl/85878)

<div class="topic-metadata">

**Author:** [@Thomas\_Lei](https://discourse.julialang.org/u/Thomas_Lei)\
**Replies:** 3\
**Last updated:** [August 19, 2022, 6:46pm UTC](https://discourse.julialang.org/t/playing-recording-signals-with-portaudio-jl/85878 "2022-08-19T18:46:59Z")

</div>

Hi all, I’m trying to use PortAudio.jl to stream and record audio signals. What I try to achieve is playing a signal through a loudspeaker and record this same signal through a mic. Basically, I want to record what I’m…

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

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