# Specific Domains

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

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

**Page:** 264

---

## [Makie - Keep GLMakie window on top of everything](https://discourse.julialang.org/t/makie-keep-glmakie-window-on-top-of-everything/72722)

<div class="topic-metadata">

**Author:** [@Kolaru](https://discourse.julialang.org/u/Kolaru)\
**Replies:** 2\
**Last updated:** [July 29, 2022, 4:21am UTC](https://discourse.julialang.org/t/makie-keep-glmakie-window-on-top-of-everything/72722 "2022-07-29T04:21:02Z")

</div>

Is there a built-in way to ask GLMakie to keep the figure window on top of all the others? I know of external programs that can do it to any window, but it would be slightly more convenient for me if I could do it from …

---

## [Unbounded Numerical Integration, non-centered](https://discourse.julialang.org/t/unbounded-numerical-integration-non-centered/84947)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 3\
**Last updated:** [July 29, 2022, 1:43am UTC](https://discourse.julialang.org/t/unbounded-numerical-integration-non-centered/84947 "2022-07-29T01:43:31Z")

</div>

I’m interested in integrating f(x)\\phi(x) over the entire real line, where \\phi(x) is the Gaussian/Normal density function. Ordinarily the Gauss-Hermite method in FastGaussQuadrature would be good for this (with suitabl…

---

## [\[English\] \`train!\` or \`fit!\` for a ML API?](https://discourse.julialang.org/t/english-train-or-fit-for-a-ml-api/84899)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 11:13pm UTC](https://discourse.julialang.org/t/english-train-or-fit-for-a-ml-api/84899 "2022-07-28T23:13:24Z")

</div>

I am deeply undecided to name the step where parameters of a model are learned from data in the API of my ML library train!(model,X,\[Y\]) or fit!(model,X,\[Y\]). I would intuitively prefer the first, as make somehow explic…

---

## [Matrix Completion](https://discourse.julialang.org/t/matrix-completion/84879)

<div class="topic-metadata">

**Author:** [@Fadi\_Hamad](https://discourse.julialang.org/u/Fadi_Hamad)\
**Replies:** 4\
**Last updated:** [July 28, 2022, 2:01pm UTC](https://discourse.julialang.org/t/matrix-completion/84879 "2022-07-28T14:01:11Z")

</div>

Hello, I am trying to formulate (unconstrained form) the Matrix completion problem in JuMP. I am trying this formulation based on minimizing the square loss and the Frobenius norm, but this formulation always leads to …

---

## [Vscode plot save button png instead of svg?](https://discourse.julialang.org/t/vscode-plot-save-button-png-instead-of-svg/84914)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 2\
**Last updated:** [July 28, 2022, 1:02pm UTC](https://discourse.julialang.org/t/vscode-plot-save-button-png-instead-of-svg/84914 "2022-07-28T13:02:40Z")

</div>

I’m on vscode Version: 1.69.2 . I used to be able to save a plot in the plotting pane by clicking the save symbol and that gave me a .png file. now it seems i can only save svg. how can I change that back to saving .png …

---

## [ODE solver slowed down by interpolation](https://discourse.julialang.org/t/ode-solver-slowed-down-by-interpolation/84913)

<div class="topic-metadata">

**Author:** [@ap2013](https://discourse.julialang.org/u/ap2013)\
**Replies:** 1\
**Last updated:** [July 28, 2022, 12:04pm UTC](https://discourse.julialang.org/t/ode-solver-slowed-down-by-interpolation/84913 "2022-07-28T12:04:18Z")

</div>

I have an ODE system defined through modelingtoolkit. The system is formed of multiple ODESystems and simplified with system = structural\_simplify(all). One of the ODESystem is defined by the following function functio…

---

## [Save and load the model generated by surrogates.jl](https://discourse.julialang.org/t/save-and-load-the-model-generated-by-surrogates-jl/83302)

<div class="topic-metadata">

**Author:** [@Jack\_Tang](https://discourse.julialang.org/u/Jack_Tang)\
**Replies:** 4\
**Last updated:** [July 28, 2022, 10:31am UTC](https://discourse.julialang.org/t/save-and-load-the-model-generated-by-surrogates-jl/83302 "2022-07-28T10:31:58Z")

</div>

Hello Community, How can I save and load the model generated by surrogates.jl?

---

## [Number of points in Pareto front](https://discourse.julialang.org/t/number-of-points-in-pareto-front/84741)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 5\
**Last updated:** [July 28, 2022, 8:56am UTC](https://discourse.julialang.org/t/number-of-points-in-pareto-front/84741 "2022-07-28T08:56:11Z")

</div>

Hello, I’m using MultiJuMP.jl to solve a MOO problem with 2 objectives, f1 and f2. Here, f1 is a continuous function to minimize, f2 is an integer function to maximize. When I post model.pointsperdim = 10, I got a pare…

---

## [Overfitting when building kriging surrogate model](https://discourse.julialang.org/t/overfitting-when-building-kriging-surrogate-model/84857)

<div class="topic-metadata">

**Author:** [@chenr86](https://discourse.julialang.org/u/chenr86)\
**Replies:** 6\
**Last updated:** [July 28, 2022, 7:37am UTC](https://discourse.julialang.org/t/overfitting-when-building-kriging-surrogate-model/84857 "2022-07-28T07:37:26Z")

</div>

Hello, I’m using Surrogates.jl to build a surrogate model based on data in a CSV file. There are 24 input parameters and 1 output variables in my data. I have 500 samples. 80% samples are used for training set and other…

---

## [Easier Solver Callback for JuMP.lj + Gurobi](https://discourse.julialang.org/t/easier-solver-callback-for-jump-lj-gurobi/84889)

<div class="topic-metadata">

**Author:** [@chelseas](https://discourse.julialang.org/u/chelseas)\
**Replies:** 2\
**Last updated:** [July 28, 2022, 5:45am UTC](https://discourse.julialang.org/t/easier-solver-callback-for-jump-lj-gurobi/84889 "2022-07-28T05:45:49Z")

</div>

I would like to write a callback function that does something similar to this: (gurobipy) but it seems much more complicated to do this in JuMP :frowning\_face:. see and here \[ANN\] Upcoming breaking changes to CPLE…

---

## [Update on future developement of BVP solvers?](https://discourse.julialang.org/t/update-on-future-developement-of-bvp-solvers/84839)

<div class="topic-metadata">

**Author:** [@MButler](https://discourse.julialang.org/u/MButler)\
**Replies:** 6\
**Last updated:** [July 27, 2022, 11:47pm UTC](https://discourse.julialang.org/t/update-on-future-developement-of-bvp-solvers/84839 "2022-07-27T23:47:06Z")

</div>

I’m currently doing research in gravitational physics and the problems I’m working with often end up as BVPs that are very stiff and sensitive to the initial conditions. It seems this is still a weak point for Julia’s BV…

---

## [LibSerialPort problem on MacBook Pro](https://discourse.julialang.org/t/libserialport-problem-on-macbook-pro/81364)

<div class="topic-metadata">

**Author:** [@yakir12](https://discourse.julialang.org/u/yakir12)\
**Replies:** 8\
**Last updated:** [July 27, 2022, 5:20pm UTC](https://discourse.julialang.org/t/libserialport-problem-on-macbook-pro/81364 "2022-07-27T17:20:28Z")

</div>

I’m writing bytes to a serial port using LibSerialPort.jl. My code works on a Linux machine but not on a MacBook Pro. There are no errors, but the desired effect (a connected Arduino Nano Every lights up an LED on an LED…

---

## [Parameter optimization of MethodOfLines PDE](https://discourse.julialang.org/t/parameter-optimization-of-methodoflines-pde/84647)

<div class="topic-metadata">

**Author:** [@thompsonmj](https://discourse.julialang.org/u/thompsonmj)\
**Replies:** 10\
**Last updated:** [July 27, 2022, 2:35pm UTC](https://discourse.julialang.org/t/parameter-optimization-of-methodoflines-pde/84647 "2022-07-27T14:35:07Z")

</div>

I’d like to optimize parameters in the MOL example shown here with an RMSD cost function to minimize. Following a WIP example here to build the OptimizationFunction, I have the following, but the results come back predi…

---

## [Flux: can't get recurrent sequence-to-one model to train](https://discourse.julialang.org/t/flux-cant-get-recurrent-sequence-to-one-model-to-train/57459)

<div class="topic-metadata">

**Author:** [@mcreel](https://discourse.julialang.org/u/mcreel)\
**Replies:** 8\
**Last updated:** [July 27, 2022, 1:18pm UTC](https://discourse.julialang.org/t/flux-cant-get-recurrent-sequence-to-one-model-to-train/57459 "2022-07-27T13:18:08Z")

</div>

I am attempting to create a simple recurrent model that takes data generated by a parameterized data generating process as the input, and the parameters of the DGP as the output. The goal is to learn the parameters, give…

---

## [Bar and line charts combined in PlotlyJS](https://discourse.julialang.org/t/bar-and-line-charts-combined-in-plotlyjs/84870)

<div class="topic-metadata">

**Author:** [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Replies:** 2\
**Last updated:** [July 27, 2022, 12:55pm UTC](https://discourse.julialang.org/t/bar-and-line-charts-combined-in-plotlyjs/84870 "2022-07-27T12:55:40Z")

</div>

Hello! I’m trying to plot a bar chart and a line chart combined in the same double y-axis plot, using PlotlyJS, by running the following code: fixed\_cost = \[791.57;773.16;765.58;758.15;750.86;743.71;736.69;729.81;723.0…

---

## [Iterative proportional fitting package?](https://discourse.julialang.org/t/iterative-proportional-fitting-package/60580)

<div class="topic-metadata">

**Author:** [@amrods](https://discourse.julialang.org/u/amrods)\
**Replies:** 4\
**Last updated:** [July 27, 2022, 10:49am UTC](https://discourse.julialang.org/t/iterative-proportional-fitting-package/60580 "2022-07-27T10:49:25Z")

</div>

Is there any package that implements the iterative proportional fitting procedure?

---

## [Iterate fitting linear model and extract coefficients over grouped DataFrame](https://discourse.julialang.org/t/iterate-fitting-linear-model-and-extract-coefficients-over-grouped-dataframe/84814)

<div class="topic-metadata">

**Author:** [@guysutton](https://discourse.julialang.org/u/guysutton)\
**Replies:** 4\
**Last updated:** [July 27, 2022, 10:45am UTC](https://discourse.julialang.org/t/iterate-fitting-linear-model-and-extract-coefficients-over-grouped-dataframe/84814 "2022-07-27T10:45:44Z")

</div>

I am trying to iteratively fit many models (e.g. a linear model \[GLM.jl\] or mixed model \[MixedModels.jl\]) to a DataFrame, whereby a new model is fit to each level of a grouping column. For example: if I wanted to fit one…

---

## [Question on allowing user to specify the optimization sense](https://discourse.julialang.org/t/question-on-allowing-user-to-specify-the-optimization-sense/84836)

<div class="topic-metadata">

**Author:** [@math\_opt](https://discourse.julialang.org/u/math_opt)\
**Replies:** 2\
**Last updated:** [July 27, 2022, 2:53am UTC](https://discourse.julialang.org/t/question-on-allowing-user-to-specify-the-optimization-sense/84836 "2022-07-27T02:53:49Z")

</div>

I have a small package in which I solve an optimization model. The sense of the objective function is to be specified by the user. Now, I export MAX\_SENSE and MIN\_SENSE for the user to use them. A small example: module …

---

## [How to get the variable names of a PDESystem if using a symbolic array](https://discourse.julialang.org/t/how-to-get-the-variable-names-of-a-pdesystem-if-using-a-symbolic-array/84776)

<div class="topic-metadata">

**Author:** [@hpieper14](https://discourse.julialang.org/u/hpieper14)\
**Replies:** 7\
**Last updated:** [July 26, 2022, 8:40pm UTC](https://discourse.julialang.org/t/how-to-get-the-variable-names-of-a-pdesystem-if-using-a-symbolic-array/84776 "2022-07-26T20:40:36Z")

</div>

I’m having a hard time understanding exactly how a PDESystem with independent array variables differs from a PDESystem initialized with other independent variables. For example, suppose I have the following two PDESystem…

---

## [ApproxFun and Burgers' equation](https://discourse.julialang.org/t/approxfun-and-burgers-equation/84660)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 6\
**Last updated:** [July 26, 2022, 8:22pm UTC](https://discourse.julialang.org/t/approxfun-and-burgers-equation/84660 "2022-07-26T20:22:11Z")

</div>

I am trying to use ApproxFun to solve Burgers’ equation, u\_t + uu\_x = \\mu u\_{xx}, on the interval -L \\leq x \\leq L with initial condition u(x, 0) = f(x) = 1/(1+x^2) and boundary conditions u(\\pm L, t) = 0. I was trying t…

---

## [Custom random sampling kernels](https://discourse.julialang.org/t/custom-random-sampling-kernels/57092)

<div class="topic-metadata">

**Author:** [@simsurace](https://discourse.julialang.org/u/simsurace)\
**Replies:** 16\
**Last updated:** [July 26, 2022, 6:51pm UTC](https://discourse.julialang.org/t/custom-random-sampling-kernels/57092 "2022-07-26T18:51:40Z")

</div>

I’m trying to write custom kernels for random sampling from various distributions. Most needed is a Binomial sampler that runs on the GPU. That functionality seems to be under-developed currently. As a first step I trie…

---

## [Dimension mismatch in Flux with NeuralODE](https://discourse.julialang.org/t/dimension-mismatch-in-flux-with-neuralode/84804)

<div class="topic-metadata">

**Author:** [@WillT](https://discourse.julialang.org/u/WillT)\
**Replies:** 0\
**Last updated:** [July 26, 2022, 9:52am UTC](https://discourse.julialang.org/t/dimension-mismatch-in-flux-with-neuralode/84804 "2022-07-26T09:52:08Z")

</div>

In Flux I’m trying to chain together a NeuralODE and some other layers. When I evaluate the network and the a loss function, it works ok. But when I try to calculate the gradients of the loss w.r.t. the params there is a…

---

## [Strange Memory Allocations with DifferentialEquations](https://discourse.julialang.org/t/strange-memory-allocations-with-differentialequations/83909)

<div class="topic-metadata">

**Author:** [@7vn](https://discourse.julialang.org/u/7vn)\
**Replies:** 3\
**Last updated:** [July 26, 2022, 2:33am UTC](https://discourse.julialang.org/t/strange-memory-allocations-with-differentialequations/83909 "2022-07-26T02:33:58Z")

</div>

Hello, I’m observing very strange and large memory allocations while solving a standard ODE and evaluating it at given times. However, after the first benchmark, if (and only if!) I recompile the integrated function the…

---

## [Call for contribution to a Julia version of HEP Software Foundation Tutorials](https://discourse.julialang.org/t/call-for-contribution-to-a-julia-version-of-hep-software-foundation-tutorials/84784)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 0\
**Last updated:** [July 26, 2022, 2:31am UTC](https://discourse.julialang.org/t/call-for-contribution-to-a-julia-version-of-hep-software-foundation-tutorials/84784 "2022-07-26T02:31:17Z")

</div>

The goal is to provide similar tutorials as listed at: HSF Software Training Center Currently we have covered the uproot tutorial (lacking detail commentary atm) I have started a repo with setup CI + Pluto static build…

---

## [How can I save surrogate model in Julia and use it in Python](https://discourse.julialang.org/t/how-can-i-save-surrogate-model-in-julia-and-use-it-in-python/84746)

<div class="topic-metadata">

**Author:** [@Jack\_Tang](https://discourse.julialang.org/u/Jack_Tang)\
**Replies:** 4\
**Last updated:** [July 26, 2022, 2:29am UTC](https://discourse.julialang.org/t/how-can-i-save-surrogate-model-in-julia-and-use-it-in-python/84746 "2022-07-26T02:29:09Z")

</div>

Hello, In my project, I would like to save surrogate model in Julia and use it in Python. HDF5 is the best file format? If yes, How can I read the surrogate model and use it in Python? Thanks!

---

## [Any packages for Point Cloud Registration](https://discourse.julialang.org/t/any-packages-for-point-cloud-registration/54679)

<div class="topic-metadata">

**Author:** [@Wikunia](https://discourse.julialang.org/u/Wikunia)\
**Replies:** 3\
**Last updated:** [July 25, 2022, 8:23pm UTC](https://discourse.julialang.org/t/any-packages-for-point-cloud-registration/54679 "2022-07-25T20:23:02Z")

</div>

I’m currently looking for a library that can solve or assist solving the following problem. I have a bunch of 3D point clouds from different angles and would like to combine them to have a single 3d point cloud. Seems l…

---

## [How to gain access variables as soons as they are assigned a value?](https://discourse.julialang.org/t/how-to-gain-access-variables-as-soons-as-they-are-assigned-a-value/84747)

<div class="topic-metadata">

**Author:** [@Optimization](https://discourse.julialang.org/u/Optimization)\
**Replies:** 5\
**Last updated:** [July 25, 2022, 7:55pm UTC](https://discourse.julialang.org/t/how-to-gain-access-variables-as-soons-as-they-are-assigned-a-value/84747 "2022-07-25T19:55:47Z")

</div>

I was wondering whether in JuMP is possible to be aware of the value of variables while the model is still running?? I mean, suppose we have a set of binary variables x(i,j) i,j in \[1,2,3,...,n\]. Is there any possiblit…

---

## [GUI package for a "real-time" control application](https://discourse.julialang.org/t/gui-package-for-a-real-time-control-application/84673)

<div class="topic-metadata">

**Author:** [@Hawkes](https://discourse.julialang.org/u/Hawkes)\
**Replies:** 30\
**Last updated:** [July 25, 2022, 6:01pm UTC](https://discourse.julialang.org/t/gui-package-for-a-real-time-control-application/84673 "2022-07-25T18:01:23Z")

</div>

Hi, since some time I’m wondering how to (i.e. using which GUI library) to build a GUI-based control/measurement application using Julia. In the past I have used Python + PyQt + PyQtGraph to create quite performant GUIs…

---

## [Using CellListMap.jl within Agents.jl framework](https://discourse.julialang.org/t/using-celllistmap-jl-within-agents-jl-framework/84709)

<div class="topic-metadata">

**Author:** [@ehsani63](https://discourse.julialang.org/u/ehsani63)\
**Replies:** 15\
**Last updated:** [July 25, 2022, 5:26pm UTC](https://discourse.julialang.org/t/using-celllistmap-jl-within-agents-jl-framework/84709 "2022-07-25T17:26:02Z")

</div>

Hi, I am using CellListMap in one of my ABM simulations (using Agents.jl). It suits very well what I want to do: There some active agents and some static obstacles. CellListMap finds collisions between agents and obstacl…

---

## [Converting a PyCall numpy ×3 Array{UInt8, 3} to RGB](https://discourse.julialang.org/t/converting-a-pycall-numpy-x3-array-uint8-3-to-rgb/70537)

<div class="topic-metadata">

**Author:** [@Pytrator](https://discourse.julialang.org/u/Pytrator)\
**Replies:** 3\
**Last updated:** [July 25, 2022, 5:26pm UTC](https://discourse.julialang.org/t/converting-a-pycall-numpy-x3-array-uint8-3-to-rgb/70537 "2022-07-25T17:26:01Z")

</div>

Hey guys, I use the NumPy per PyCall to get screenshots of my desktop. I get these images back as 1440×3440×3 Array{UInt8, 3} Discord user borodi#9175 already shared a function of him that converts this array to a BGR. …

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

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