# Specific Domains

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

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

**Page:** 170

---

## [Optional parameter assignment map for modelingtoolkit system with defaults](https://discourse.julialang.org/t/optional-parameter-assignment-map-for-modelingtoolkit-system-with-defaults/103437)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 6\
**Last updated:** [September 1, 2023, 2:27pm UTC](https://discourse.julialang.org/t/optional-parameter-assignment-map-for-modelingtoolkit-system-with-defaults/103437 "2023-09-01T14:27:55Z")

</div>

Hi, how would I make the parameter map for running a modelingtoolkit system using an optional defaults approach like fun(sys::ODEsystem; p1=1,p2=0.2,p3=0.47) # Goal: end up with an assignment map that uses the defaul…

---

## [Failing to start a session with webdriver.jl](https://discourse.julialang.org/t/failing-to-start-a-session-with-webdriver-jl/103445)

<div class="topic-metadata">

**Author:** [@indymnv](https://discourse.julialang.org/u/indymnv)\
**Replies:** 0\
**Last updated:** [September 1, 2023, 2:20pm UTC](https://discourse.julialang.org/t/failing-to-start-a-session-with-webdriver-jl/103445 "2023-09-01T14:20:07Z")

</div>

I am trying to do an web scrapping excercise using webdriver.jl to control the browser, but I got some problems to starting a session in Chrome and Firefox. This is the code I am using first case: chrome with local chro…

---

## [Add nested optimization problem in JuMP](https://discourse.julialang.org/t/add-nested-optimization-problem-in-jump/103378)

<div class="topic-metadata">

**Author:** [@leima0521](https://discourse.julialang.org/u/leima0521)\
**Replies:** 4\
**Last updated:** [September 1, 2023, 2:09pm UTC](https://discourse.julialang.org/t/add-nested-optimization-problem-in-jump/103378 "2023-09-01T14:09:55Z")

</div>

I want to include an inner loop optimization (a fixed point iteration algorithm) inside my current optimization problem. I cannot figure out how to make it work… Any help/guidance/advice is truly appreciated! The curren…

---

## [Instability with Gauss-Hermite quadrature](https://discourse.julialang.org/t/instability-with-gauss-hermite-quadrature/103408)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 2:48pm UTC](https://discourse.julialang.org/t/instability-with-gauss-hermite-quadrature/103408 "2023-08-31T14:48:10Z")

</div>

Hello, I would like to approximate the log-density of a univariate distribution \\pi\_0 with a basis of Hermite polynomials. To compute the coefficients of the expansion, I am using the Gauss-Hermite quadrature. I am gett…

---

## [Use ParallelStencil.jl with GPU](https://discourse.julialang.org/t/use-parallelstencil-jl-with-gpu/103439)

<div class="topic-metadata">

**Author:** [@chloisu](https://discourse.julialang.org/u/chloisu)\
**Replies:** 3\
**Last updated:** [September 1, 2023, 11:15am UTC](https://discourse.julialang.org/t/use-parallelstencil-jl-with-gpu/103439 "2023-09-01T11:15:12Z")

</div>

Hello, I’m very happy to use ParallelStencil.jl. The CPU version (i.e. USE\_GPU = false) works fine. However, when I try to run the example script diffusion3D\_novis\_noperf.jl with the GPU (i.e. USE\_GPU = true), I get the…

---

## [Max and min Gurobi constraint in Julia](https://discourse.julialang.org/t/max-and-min-gurobi-constraint-in-julia/103370)

<div class="topic-metadata">

**Author:** [@manoj.centura](https://discourse.julialang.org/u/manoj.centura)\
**Replies:** 2\
**Last updated:** [September 1, 2023, 10:13am UTC](https://discourse.julialang.org/t/max-and-min-gurobi-constraint-in-julia/103370 "2023-09-01T10:13:21Z")

</div>

Hi All, MAX constraint: The constraint !\[\</span\>r = \\max\\{x\_1,\\ldots,x\_k,c\\}\<span\> MIN constraint: Similar to a MAX constraint, the constraint !\[\</span\>r = \\min\\{x\_1,\\ldots,x\_k,c\\}\<span\>\] can we code max and min cons…

---

## [Regression Variance Inflation Factor (VIF)](https://discourse.julialang.org/t/regression-variance-inflation-factor-vif/60233)

<div class="topic-metadata">

**Author:** [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Replies:** 7\
**Last updated:** [September 1, 2023, 5:54am UTC](https://discourse.julialang.org/t/regression-variance-inflation-factor-vif/60233 "2023-09-01T05:54:45Z")

</div>

Hello, how do I check for VIF Variance inflation factor - Wikipedia in a GLM.jl lm model? I went through the JuliaStats org repositories and package documentations and could not find anything.

---

## [Optimization v3.16.0 errors in precompile](https://discourse.julialang.org/t/optimization-v3-16-0-errors-in-precompile/103229)

<div class="topic-metadata">

**Author:** [@jaksaa](https://discourse.julialang.org/u/jaksaa)\
**Replies:** 3\
**Last updated:** [August 31, 2023, 8:35pm UTC](https://discourse.julialang.org/t/optimization-v3-16-0-errors-in-precompile/103229 "2023-08-31T20:35:10Z")

</div>

Have Julia Version 1.9.2 Optimization v3.16.0 Two errors are present │ ┌ Error: Error during loading of extension OptimizationSparseFinitediffExt of Optimization, use \`Base.retry\_load\_extensions()\` to retry. and │…

---

## [Is there an equivalent in Julia for the R change point detection library ecp](https://discourse.julialang.org/t/is-there-an-equivalent-in-julia-for-the-r-change-point-detection-library-ecp/103422)

<div class="topic-metadata">

**Author:** [@Vidyasagar\_Atmakuri](https://discourse.julialang.org/u/Vidyasagar_Atmakuri)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 7:03pm UTC](https://discourse.julialang.org/t/is-there-an-equivalent-in-julia-for-the-r-change-point-detection-library-ecp/103422 "2023-08-31T19:03:42Z")

</div>

I am rewriting an R based forecast model which is using the ecp library, specifically the e.divisive function for change point detection. Is there an equivalent package in Julia that I can use. https://rdrr.io/cran/ecp/…

---

## [Live-streamed and recorded seminar "Julia for Materials Modelling"](https://discourse.julialang.org/t/live-streamed-and-recorded-seminar-julia-for-materials-modelling/99264)

<div class="topic-metadata">

**Author:** [@mfh](https://discourse.julialang.org/u/mfh)\
**Replies:** 2\
**Last updated:** [August 31, 2023, 1:54pm UTC](https://discourse.julialang.org/t/live-streamed-and-recorded-seminar-julia-for-materials-modelling/99264 "2023-08-31T13:54:35Z")

</div>

Dear all I’ll do a (live-streamed) seminar “Julia for Materials Modelling” tomorrow at 3pm CEST — with basically the focus on the current state of Julia for atomistic materials modelling. See Julia for Materials Modelli…

---

## [Anybody using ESDL (Energy System Modeling Language)?](https://discourse.julialang.org/t/anybody-using-esdl-energy-system-modeling-language/103405)

<div class="topic-metadata">

**Author:** [@abelsiqueira](https://discourse.julialang.org/u/abelsiqueira)\
**Replies:** 0\
**Last updated:** [August 31, 2023, 1:49pm UTC](https://discourse.julialang.org/t/anybody-using-esdl-energy-system-modeling-language/103405 "2023-08-31T13:49:27Z")

</div>

Is anybody using the ESDL format (ESDL Documentation - ESDL, Meer Informatie)? I noticed that it is not as widespread outside of the Netherlands, but it looks very useful: ESDL is a modelling language created to descr…

---

## [GLMakie: plot surface and nonlinear constraints](https://discourse.julialang.org/t/glmakie-plot-surface-and-nonlinear-constraints/62619)

<div class="topic-metadata">

**Author:** [@cvanaret](https://discourse.julialang.org/u/cvanaret)\
**Replies:** 7\
**Last updated:** [August 31, 2023, 7:16am UTC](https://discourse.julialang.org/t/glmakie-plot-surface-and-nonlinear-constraints/62619 "2023-08-31T07:16:42Z")

</div>

Hi, I’m plotting the surface of a function (the objective function of an optimization problem) with this code: using GLMakie let # range x = LinRange(-2, 0.5, 51) y = LinRange(-2, 2, 51) # objective fun…

---

## [Modeling multimodal data in Flux](https://discourse.julialang.org/t/modeling-multimodal-data-in-flux/103257)

<div class="topic-metadata">

**Author:** [@usiam](https://discourse.julialang.org/u/usiam)\
**Replies:** 3\
**Last updated:** [August 31, 2023, 12:34am UTC](https://discourse.julialang.org/t/modeling-multimodal-data-in-flux/103257 "2023-08-31T00:34:14Z")

</div>

Hey. I am trying to model some multimodal time-series data. The data has 3 “components” - a time-series component (shape = \[timesteps, channels, batchsize\]), and 2 separate flattened components (shape = \[numfeatures, bat…

---

## [Memory not released on HTTP POST requests?!](https://discourse.julialang.org/t/memory-not-released-on-http-post-requests/103336)

<div class="topic-metadata">

**Author:** [@sschmidhuber](https://discourse.julialang.org/u/sschmidhuber)\
**Replies:** 2\
**Last updated:** [August 30, 2023, 9:51pm UTC](https://discourse.julialang.org/t/memory-not-released-on-http-post-requests/103336 "2023-08-30T21:51:07Z")

</div>

Hello, I was trying to find a memory leak in my application, but now I think either it is in HTTP.jl or I’m doing some thing wrong… I created a test script to reproduce the issue (replace “path/to/a/large/file.iso” to …

---

## [Promote on ArbFloat issue?](https://discourse.julialang.org/t/promote-on-arbfloat-issue/102839)

<div class="topic-metadata">

**Author:** [@roi.holtzman](https://discourse.julialang.org/u/roi.holtzman)\
**Replies:** 5\
**Last updated:** [August 30, 2023, 9:27pm UTC](https://discourse.julialang.org/t/promote-on-arbfloat-issue/102839 "2023-08-30T21:27:25Z")

</div>

I am trying to make sure that all of my ArbFloats are with the same precision. I do not understand why promote works like that: a = ArbFloat(2, digits=200) typeof(a) # ArbFloat{691} typeof.(promote(a, ArbFloat(0.0))) #…

---

## [Printing exact decimal representations](https://discourse.julialang.org/t/printing-exact-decimal-representations/103365)

<div class="topic-metadata">

**Author:** [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Replies:** 2\
**Last updated:** [August 30, 2023, 12:06pm UTC](https://discourse.julialang.org/t/printing-exact-decimal-representations/103365 "2023-08-30T12:06:36Z")

</div>

I don’t think there is, but it would be great if there was one.

---

## [DomainError with Loss is Inf on data item 1, stopping training:](https://discourse.julialang.org/t/domainerror-with-loss-is-inf-on-data-item-1-stopping-training/103343)

<div class="topic-metadata">

**Author:** [@chadagreene](https://discourse.julialang.org/u/chadagreene)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 11:22am UTC](https://discourse.julialang.org/t/domainerror-with-loss-is-inf-on-data-item-1-stopping-training/103343 "2023-08-30T11:22:19Z")

</div>

I’m trying to learn Julia and ML principles simultaneously. I’ve successfully trained a model to fit a simple straight line, following the procedure described in the intro docs, but when I try to go a step further and ad…

---

## [Are vectorized constraints no longer supported on JuMP?](https://discourse.julialang.org/t/are-vectorized-constraints-no-longer-supported-on-jump/103355)

<div class="topic-metadata">

**Author:** [@AS011996](https://discourse.julialang.org/u/AS011996)\
**Replies:** 1\
**Last updated:** [August 30, 2023, 8:03am UTC](https://discourse.julialang.org/t/are-vectorized-constraints-no-longer-supported-on-jump/103355 "2023-08-30T08:03:52Z")

</div>

The vectorized constraints on Constraints · JuMP no longer seems to work. The following code using JuMP model = Model(); @variable(model, x\[i=1:2\]) A = \[1 2; 3 4\] b = \[5, 6\] @constraint(model, con\_vector, A \* x == b)…

---

## [Combinatorial Benders cuts](https://discourse.julialang.org/t/combinatorial-benders-cuts/103012)

<div class="topic-metadata">

**Author:** [@papar](https://discourse.julialang.org/u/papar)\
**Replies:** 7\
**Last updated:** [August 30, 2023, 2:56am UTC](https://discourse.julialang.org/t/combinatorial-benders-cuts/103012 "2023-08-30T02:56:17Z")

</div>

I have a big-M constraint in a stochastic programming problem that I want to replace with combinatorial Benders cuts. I have tried implementing combinatorial Bender decomposition, but I get unbounded problem error when i…

---

## [Filled contour plots in Plots.jl without contour lines and smooth interpolation (GR backend)](https://discourse.julialang.org/t/filled-contour-plots-in-plots-jl-without-contour-lines-and-smooth-interpolation-gr-backend/34796)

<div class="topic-metadata">

**Author:** [@sloede](https://discourse.julialang.org/u/sloede)\
**Replies:** 40\
**Last updated:** [August 29, 2023, 7:28pm UTC](https://discourse.julialang.org/t/filled-contour-plots-in-plots-jl-without-contour-lines-and-smooth-interpolation-gr-backend/34796 "2023-08-29T19:28:48Z")

</div>

Actually, these are two questions towards Plots.jl with the GR backend in one post (hope that’s ok, I think they are related): Is it possible to create a filled contour plot (using plot(linetype=:contourf, ...) withou…

---

## [How to convert a Rasters.Raster{UInt8,2} to a Raster{Float32,2}?](https://discourse.julialang.org/t/how-to-convert-a-rasters-raster-uint8-2-to-a-raster-float32-2/103322)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [August 29, 2023, 6:27pm UTC](https://discourse.julialang.org/t/how-to-convert-a-rasters-raster-uint8-2-to-a-raster-float32-2/103322 "2023-08-29T18:27:05Z")

</div>

Hello, as from the title, how can I convert a Rasters.Raster{UInt8,2} to a Raster{Float32,2} ? I have tried with convert(Raster{Float64,2},myraster) but this method is not defined…

---

## [Franklin.jl: deploy to server without Julia installation?](https://discourse.julialang.org/t/franklin-jl-deploy-to-server-without-julia-installation/103334)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 1\
**Last updated:** [August 29, 2023, 3:37pm UTC](https://discourse.julialang.org/t/franklin-jl-deploy-to-server-without-julia-installation/103334 "2023-08-29T15:37:07Z")

</div>

Can I generate the \_\_site directory holding the webpage content on my laptop, and then copy the whole directory to a remote server which has no Julia installation? Do I just need to adjust absolute paths appearing in the…

---

## [Images -- is it possible to change selected colors?](https://discourse.julialang.org/t/images-is-it-possible-to-change-selected-colors/103263)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 7\
**Last updated:** [August 29, 2023, 3:24pm UTC](https://discourse.julialang.org/t/images-is-it-possible-to-change-selected-colors/103263 "2023-08-29T15:24:09Z")

</div>

Thanks for great presentation of Images.jl at JuliaCon 2023. I haven’t really used the package (I’m not doing much work on images), but I see that I can import raw files from several camera brands. Nice. I’m curious abo…

---

## [Semi-static website framework?](https://discourse.julialang.org/t/semi-static-website-framework/103232)

<div class="topic-metadata">

**Author:** [@nev](https://discourse.julialang.org/u/nev)\
**Replies:** 4\
**Last updated:** [August 29, 2023, 2:50pm UTC](https://discourse.julialang.org/t/semi-static-website-framework/103232 "2023-08-29T14:50:07Z")

</div>

Hello, I am writing a blog website in Julia. I want it to be an essentially static Markdown website, but with support for authentication and dynamically generated web pages. Because of this, existing static website gene…

---

## [Solving Poisson PDE in an arbitrary 2D geometry, under different types of both internal and external boundary conditions](https://discourse.julialang.org/t/solving-poisson-pde-in-an-arbitrary-2d-geometry-under-different-types-of-both-internal-and-external-boundary-conditions/103130)

<div class="topic-metadata">

**Author:** [@Zeljko](https://discourse.julialang.org/u/Zeljko)\
**Replies:** 6\
**Last updated:** [August 29, 2023, 1:10pm UTC](https://discourse.julialang.org/t/solving-poisson-pde-in-an-arbitrary-2d-geometry-under-different-types-of-both-internal-and-external-boundary-conditions/103130 "2023-08-29T13:10:21Z")

</div>

Fairly new to Julia, and I am trying to solve a 2D PDE problem of the form: with finite differences where the 2D domain may not necessarily be a pure rectangle (e.g., a cross-like shape, or rectangle with internal rec…

---

## [How to add plot icon displayed in legend to axis label?](https://discourse.julialang.org/t/how-to-add-plot-icon-displayed-in-legend-to-axis-label/103299)

<div class="topic-metadata">

**Author:** [@yhchang96](https://discourse.julialang.org/u/yhchang96)\
**Replies:** 2\
**Last updated:** [August 28, 2023, 7:54pm UTC](https://discourse.julialang.org/t/how-to-add-plot-icon-displayed-in-legend-to-axis-label/103299 "2023-08-28T19:54:49Z")

</div>

Is it possible to extract the icon (line, marker, etc) displayed in a typical Legend so that I can display them in ax.xlabel and ax.ylabel? Edit: The left plot is what we usually get by using Legend (or axislegend). I …

---

## [What are the t-tests in the GLM.jl's models?](https://discourse.julialang.org/t/what-are-the-t-tests-in-the-glm-jls-models/103261)

<div class="topic-metadata">

**Author:** [@bertulli](https://discourse.julialang.org/u/bertulli)\
**Replies:** 7\
**Last updated:** [August 28, 2023, 7:38pm UTC](https://discourse.julialang.org/t/what-are-the-t-tests-in-the-glm-jls-models/103261 "2023-08-28T19:38:53Z")

</div>

Hi all, I’m not sure about the meaning of the pretty prints of GLM.jl’s models: julia\> model StatsModels.TableRegressionModel{LinearModel{GLM.LmResp{Vector{Float64}}, GLM.DensePredChol{Float64, LinearAlgebra.CholeskyPiv…

---

## [GLMakie & Observables: Cannot update screen when observable holds reference to struct field](https://discourse.julialang.org/t/glmakie-observables-cannot-update-screen-when-observable-holds-reference-to-struct-field/102364)

<div class="topic-metadata">

**Author:** [@f.ij](https://discourse.julialang.org/u/f.ij)\
**Replies:** 20\
**Last updated:** [August 28, 2023, 10:52am UTC](https://discourse.julialang.org/t/glmakie-observables-cannot-update-screen-when-observable-holds-reference-to-struct-field/102364 "2023-08-28T10:52:37Z")

</div>

I’m working on a simulation and was using QML before, but since it is not well maintained, I was looking into using GLMakie. I have this code snippet where I update data in a matrix from a thread, and visualize it using…

---

## [Makie - How to clear ax whenever slider value change?](https://discourse.julialang.org/t/makie-how-to-clear-ax-whenever-slider-value-change/103274)

<div class="topic-metadata">

**Author:** [@Ashu](https://discourse.julialang.org/u/Ashu)\
**Replies:** 3\
**Last updated:** [August 28, 2023, 10:31am UTC](https://discourse.julialang.org/t/makie-how-to-clear-ax-whenever-slider-value-change/103274 "2023-08-28T10:31:22Z")

</div>

Hello, How can I clear the ‘ax’ whenever the slider value changes? I don’t want multiple lines at the same time on the scene. The code is using GLMakie # Parameters local m = 0.0 local c = 0.0 # # Create the plot fig…

---

## [Download images from GitHub from Colab](https://discourse.julialang.org/t/download-images-from-github-from-colab/103280)

<div class="topic-metadata">

**Author:** [@Igor\_Douven](https://discourse.julialang.org/u/Igor_Douven)\
**Replies:** 0\
**Last updated:** [August 28, 2023, 9:16am UTC](https://discourse.julialang.org/t/download-images-from-github-from-colab/103280 "2023-08-28T09:16:34Z")

</div>

Hi all, I have a number of jpegs in a GitHub repository that I would like to download in a notebook on Colab, using Julia. I know how to do this using Python but cannot find the Julia equivalent (if it exists). Does anyo…

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

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