# Specific Domains

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

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

**Page:** 104

---

## [Nonlinear solver other than IPOPT](https://discourse.julialang.org/t/nonlinear-solver-other-than-ipopt/82332)

<div class="topic-metadata">

**Author:** [@horvetz](https://discourse.julialang.org/u/horvetz)\
**Replies:** 25\
**Last updated:** [June 19, 2024, 7:37pm UTC](https://discourse.julialang.org/t/nonlinear-solver-other-than-ipopt/82332 "2024-06-19T19:37:29Z")

</div>

I am solving a feasibility problem that consists of a lot of constraints. I tried IPOPT. It is great. But It couldn’t solve my whole problem with all constraints. It says that I have too few degrees of freedom. My constr…

---

## [HTTP.jl Websockets- help getting started](https://discourse.julialang.org/t/http-jl-websockets-help-getting-started/102867)

<div class="topic-metadata">

**Author:** [@NAS](https://discourse.julialang.org/u/NAS)\
**Replies:** 5\
**Last updated:** [June 19, 2024, 6:08pm UTC](https://discourse.julialang.org/t/http-jl-websockets-help-getting-started/102867 "2024-06-19T18:08:58Z")

</div>

Looking for some help getting started with websockets in HTTP.jl. For some reason I can’t seem to grasp the design and intended usage. For example, I can look at this Python example: import websocket ws = websocket.WebS…

---

## [Register\_array\_symbolic changing arrays into arrays of single length 'tuples'](https://discourse.julialang.org/t/register-array-symbolic-changing-arrays-into-arrays-of-single-length-tuples/115858)

<div class="topic-metadata">

**Author:** [@HSnowden](https://discourse.julialang.org/u/HSnowden)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 1:16pm UTC](https://discourse.julialang.org/t/register-array-symbolic-changing-arrays-into-arrays-of-single-length-tuples/115858 "2024-06-19T13:16:19Z")

</div>

Hello, When I use register\_array\_symbolic and define the size of the array to equal the length of an input, rather than returning a single array of length(x) it returns an object that is composed of x 1-length subarrays…

---

## [Is time in continuous ABM model is really continuous?](https://discourse.julialang.org/t/is-time-in-continuous-abm-model-is-really-continuous/115849)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [June 19, 2024, 11:41am UTC](https://discourse.julialang.org/t/is-time-in-continuous-abm-model-is-really-continuous/115849 "2024-06-19T11:41:28Z")

</div>

Hello. everyone , I’m working with eventbasedmodel for continuous time. Initially i thought in case of continuous time unlike standard ABM time step doesn’t goes like 0, 1,2, 3, 4, 5…but something like 0.0, 0.1, 0.2, …

---

## [MTK -- change in \`linearize\`?](https://discourse.julialang.org/t/mtk-change-in-linearize/115760)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 7\
**Last updated:** [June 19, 2024, 10:14am UTC](https://discourse.julialang.org/t/mtk-change-in-linearize/115760 "2024-06-19T10:14:39Z")

</div>

I have some MTK code including linearization that used to work, but doesn’t work any more. I’m trying to understand the changes by doing it differently, but I get a weird error message… Here is a model with input md\_i l…

---

## [Transfer ClusteringAPI.jl to JuliaStats](https://discourse.julialang.org/t/transfer-clusteringapi-jl-to-juliastats/114187)

<div class="topic-metadata">

**Author:** [@Datseris](https://discourse.julialang.org/u/Datseris)\
**Replies:** 7\
**Last updated:** [June 18, 2024, 7:46pm UTC](https://discourse.julialang.org/t/transfer-clusteringapi-jl-to-juliastats/114187 "2024-06-18T19:46:06Z")

</div>

Hi, I’ve tried to find a JuliaStats org admin on Slack, but was unsuccessful. The GitHub website also doesn’t tell me who to reach out to in private, so I hope someone can see this in this post instead! I would like to…

---

## [How to transform CRS of entire shapefile (not a single point)?](https://discourse.julialang.org/t/how-to-transform-crs-of-entire-shapefile-not-a-single-point/84489)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 6\
**Last updated:** [June 18, 2024, 6:45pm UTC](https://discourse.julialang.org/t/how-to-transform-crs-of-entire-shapefile-not-a-single-point/84489 "2024-06-18T18:45:04Z")

</div>

I could not find a way to transform an entire shapefile into another crs. There are too many options for a first time user. ArchGDAL.jl? Proj4? To me it seems reasonable that the Shapefile package should have a transform …

---

## [Polygonize a Raster](https://discourse.julialang.org/t/polygonize-a-raster/114189)

<div class="topic-metadata">

**Author:** [@consumere](https://discourse.julialang.org/u/consumere)\
**Replies:** 11\
**Last updated:** [June 18, 2024, 6:42pm UTC](https://discourse.julialang.org/t/polygonize-a-raster/114189 "2024-06-18T18:42:53Z")

</div>

Hello there, i know there is ArchGDAL.polygonize|\>methods \[1\] polygonize(f::Function, args...; kwargs...) @ \[2\] polygonize(geom::ArchGDAL.AbstractGeometry) and one could use PyCall or RCall to polygonize a ras…

---

## [Integrate Julia simulations in a web page with Javascript](https://discourse.julialang.org/t/integrate-julia-simulations-in-a-web-page-with-javascript/114645)

<div class="topic-metadata">

**Author:** [@cmdenis](https://discourse.julialang.org/u/cmdenis)\
**Replies:** 8\
**Last updated:** [June 18, 2024, 3:19pm UTC](https://discourse.julialang.org/t/integrate-julia-simulations-in-a-web-page-with-javascript/114645 "2024-06-18T15:19:03Z")

</div>

Hello! Disclaimer: I have very little experience with deploying web apps, so perhaps I am going about this totally wrong. Feel free to correct me if I’m thinking about this wrong :slight\_smile: Background: I have some…

---

## [\[GLMakie\] Objects are still displayed after \`delete!()\`](https://discourse.julialang.org/t/glmakie-objects-are-still-displayed-after-delete/115793)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 4\
**Last updated:** [June 18, 2024, 9:43am UTC](https://discourse.julialang.org/t/glmakie-objects-are-still-displayed-after-delete/115793 "2024-06-18T09:43:40Z")

</div>

I am currently working on the next release of an interactive 3D display for neutrino events and the main new feature is the ability to interact with the scene from the Julia REPL. Modifying existing objects (colouring an…

---

## [Error: Position is outside space extent](https://discourse.julialang.org/t/error-position-is-outside-space-extent/115790)

<div class="topic-metadata">

**Author:** [@Sahil\_Khan](https://discourse.julialang.org/u/Sahil_Khan)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 9:07am UTC](https://discourse.julialang.org/t/error-position-is-outside-space-extent/115790 "2024-06-18T09:07:57Z")

</div>

I’m working with continuous time ABM. For my model just changing radius of agent lead to this error which doesn’t make sense. Error: ERROR: position is outside space extent! Stacktrace: \[1\] error(s::String) @ Bas…

---

## [Problem reading ROOT branch containing Strings with UnROOT.jl](https://discourse.julialang.org/t/problem-reading-root-branch-containing-strings-with-unroot-jl/115671)

<div class="topic-metadata">

**Author:** [@GSavvidis](https://discourse.julialang.org/u/GSavvidis)\
**Replies:** 7\
**Last updated:** [June 18, 2024, 7:19am UTC](https://discourse.julialang.org/t/problem-reading-root-branch-containing-strings-with-unroot-jl/115671 "2024-06-18T07:19:47Z")

</div>

Hello, I’m using Geant4 to simulate some decays and I’m saving the result in a root file which I then read with UnROOT.jl. I have the following code: using DrWatson quickactivate(@\_\_DIR\_\_) using UnROOT f = UnROOT.ROO…

---

## [How to build Stacked RNN in Flux.jl?](https://discourse.julialang.org/t/how-to-build-stacked-rnn-in-flux-jl/115098)

<div class="topic-metadata">

**Author:** [@NeroBlackstone](https://discourse.julialang.org/u/NeroBlackstone)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 2:25am UTC](https://discourse.julialang.org/t/how-to-build-stacked-rnn-in-flux-jl/115098 "2024-06-18T02:25:17Z")

</div>

How to build Stacked RNN in Flux.jl? Is the following code the correct way? using Flux model = Chain(GRUv3(27 =\> 32),GRUv3(32 =\> 32),Dense(32 =\> 27)) Chain( Recur( GRUv3Cell(27 =\> 32), # 5\_792 par…

---

## [ModelingToolkit/ ODESystem in Turing](https://discourse.julialang.org/t/modelingtoolkit-odesystem-in-turing/115700)

<div class="topic-metadata">

**Author:** [@Sam\_P](https://discourse.julialang.org/u/Sam_P)\
**Replies:** 15\
**Last updated:** [June 18, 2024, 12:57am UTC](https://discourse.julialang.org/t/modelingtoolkit-odesystem-in-turing/115700 "2024-06-18T00:57:47Z")

</div>

Hi all, Just been playing around with the DifferentialEquation and ModelingToolkit systems within Turing and spotted the behaviour below. Setting up the system and generating synthetic data: using ModelingToolkit, Di…

---

## [Co-optimizing renewables - SDDP.jl - Policy Graph](https://discourse.julialang.org/t/co-optimizing-renewables-sddp-jl-policy-graph/115289)

<div class="topic-metadata">

**Author:** [@Sorooshsa](https://discourse.julialang.org/u/Sorooshsa)\
**Replies:** 6\
**Last updated:** [June 17, 2024, 9:02pm UTC](https://discourse.julialang.org/t/co-optimizing-renewables-sddp-jl-policy-graph/115289 "2024-06-17T21:02:12Z")

</div>

Hi, I am working on co-optimizing renewables (wind and hydro) expansion and generation while accounting for uncertainty in the generation part. In these problems, one of the common issues is non-linearity in the constra…

---

## [@mtkmodel-ize LimPI](https://discourse.julialang.org/t/mtkmodel-ize-limpi/113440)

<div class="topic-metadata">

**Author:** [@gruemelmonster](https://discourse.julialang.org/u/gruemelmonster)\
**Replies:** 8\
**Last updated:** [June 17, 2024, 7:49pm UTC](https://discourse.julialang.org/t/mtkmodel-ize-limpi/113440 "2024-06-17T19:49:20Z")

</div>

I am playing around to get some motor control simulations running with modeling toolkit. Last time I did that it was 2y ago so the syntax has changed (and got more simple to read). While trying to implement a timediscre…

---

## [Enzyme Cuda dynamic memory](https://discourse.julialang.org/t/enzyme-cuda-dynamic-memory/111063)

<div class="topic-metadata">

**Author:** [@Jakub\_Mitura](https://discourse.julialang.org/u/Jakub_Mitura)\
**Replies:** 12\
**Last updated:** [June 17, 2024, 3:56pm UTC](https://discourse.julialang.org/t/enzyme-cuda-dynamic-memory/111063 "2024-06-17T15:56:18Z")

</div>

Hello I am trying to use enzyme with dynamic shared memory but I get error that probably is related to the fact that I am trying to instantiate dynamic memory in not device code. However If not use it like that how to ma…

---

## [Hybrid ODE with ContinuousCallback for models of changing sizes?](https://discourse.julialang.org/t/hybrid-ode-with-continuouscallback-for-models-of-changing-sizes/115198)

<div class="topic-metadata">

**Author:** [@natalieisenberg](https://discourse.julialang.org/u/natalieisenberg)\
**Replies:** 25\
**Last updated:** [June 17, 2024, 3:39pm UTC](https://discourse.julialang.org/t/hybrid-ode-with-continuouscallback-for-models-of-changing-sizes/115198 "2024-06-17T15:39:24Z")

</div>

I am solving a system of ODEs with a ContinuousCallback where once a condition!() is met, certain members of the state vector are removed (i.e., elements disappear during simulation). I would like to solve this system us…

---

## [Reading multiple files and also one file containg limits to read other file's content upto](https://discourse.julialang.org/t/reading-multiple-files-and-also-one-file-containg-limits-to-read-other-files-content-upto/115060)

<div class="topic-metadata">

**Author:** [@raman\_kumar](https://discourse.julialang.org/u/raman_kumar)\
**Replies:** 8\
**Last updated:** [June 17, 2024, 3:32pm UTC](https://discourse.julialang.org/t/reading-multiple-files-and-also-one-file-containg-limits-to-read-other-files-content-upto/115060 "2024-06-17T15:32:42Z")

</div>

I have python code like: from pyfiles import \* runname='./' #define start dir and file, uncomment below sane = 1#0 for MAD98, 1 for SANE00 if sane == 1: inputfile=runname+'sane00.athinput' datafile='sane00.prim…

---

## [ForwardDiff gradient iterated quadqk](https://discourse.julialang.org/t/forwarddiff-gradient-iterated-quadqk/115735)

<div class="topic-metadata">

**Author:** [@Domenico\_Lahaye](https://discourse.julialang.org/u/Domenico_Lahaye)\
**Replies:** 9\
**Last updated:** [June 17, 2024, 2:37pm UTC](https://discourse.julialang.org/t/forwarddiff-gradient-iterated-quadqk/115735 "2024-06-17T14:37:47Z")

</div>

Not sure about limitation (if any) of usage of ForwardDiff and quadgk. See MWE below. # define the mesh with N elements e\_k = \[x\_k, x\_{k+1}\] for 1 \<= k \<= N # the mesh contains N+1 nodes of which N-1 internal and 2 (le…

---

## [Flux chain type unstable when broadcasting inside gradient](https://discourse.julialang.org/t/flux-chain-type-unstable-when-broadcasting-inside-gradient/115741)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 2\
**Last updated:** [June 17, 2024, 2:19pm UTC](https://discourse.julialang.org/t/flux-chain-type-unstable-when-broadcasting-inside-gradient/115741 "2024-06-17T14:19:13Z")

</div>

I’ve been fighting for a couple of days to get my Flux/Zygote autodiff code type stable. I am not sure what’s the problem, but coming up with a MWE, it looks like broadcasting Flux.Chain is problematic ? using Flux, Zy…

---

## [InfiniteOpt/supports violate the domain bounds](https://discourse.julialang.org/t/infiniteopt-supports-violate-the-domain-bounds/115751)

<div class="topic-metadata">

**Author:** [@blob](https://discourse.julialang.org/u/blob)\
**Replies:** 1\
**Last updated:** [June 17, 2024, 2:04pm UTC](https://discourse.julialang.org/t/infiniteopt-supports-violate-the-domain-bounds/115751 "2024-06-17T14:04:26Z")

</div>

I want to solve a problem with randomly generated bounds using InfiniteOpt. However, if I don’t specify the number of supports for the parameter, I get an error: If I specify the number of supports, the problem is so…

---

## [Passing a structure with constructor on GPU](https://discourse.julialang.org/t/passing-a-structure-with-constructor-on-gpu/115596)

<div class="topic-metadata">

**Author:** [@Baptiste\_Fabre](https://discourse.julialang.org/u/Baptiste_Fabre)\
**Replies:** 2\
**Last updated:** [June 17, 2024, 1:06pm UTC](https://discourse.julialang.org/t/passing-a-structure-with-constructor-on-gpu/115596 "2024-06-17T13:06:32Z")

</div>

Dear all, I have a question about how to pass a structure built with a constructor on a GPU card. My structure is defined as struct FieldParams{T} I₀ :: T λ₀ :: T α :: T r :: T ω :: T E₀ :: T Up :: T T₀ :: T N…

---

## [ParallelStencil @init\_parallel\_stencil Workflow](https://discourse.julialang.org/t/parallelstencil-init-parallel-stencil-workflow/115713)

<div class="topic-metadata">

**Author:** [@jdm204](https://discourse.julialang.org/u/jdm204)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 9:46am UTC](https://discourse.julialang.org/t/parallelstencil-init-parallel-stencil-workflow/115713 "2024-06-17T09:46:39Z")

</div>

Hi, ParallelStencil is great, but I’ve ran into a development pain point and was wondering if anyone can guide me. Say I’m developing a package that exports a diffuse! function that calculates an iteration of diffusion …

---

## [Save and load NeuralPDE model for postprocessing](https://discourse.julialang.org/t/save-and-load-neuralpde-model-for-postprocessing/114668)

<div class="topic-metadata">

**Author:** [@PetrosStefanou](https://discourse.julialang.org/u/PetrosStefanou)\
**Replies:** 3\
**Last updated:** [June 17, 2024, 9:10am UTC](https://discourse.julialang.org/t/save-and-load-neuralpde-model-for-postprocessing/114668 "2024-06-17T09:10:43Z")

</div>

Hi, I want to save a trained NeuralPDE model and then load it to some other script at a later time for analysis and post-processing. In this reply it is suggested to save the trained Lux parameters stored in res.u. I a…

---

## [Julia throws MethodError: no method matching, with CoolProp using NonlinearSystem](https://discourse.julialang.org/t/julia-throws-methoderror-no-method-matching-with-coolprop-using-nonlinearsystem/115721)

<div class="topic-metadata">

**Author:** [@Bumlebi](https://discourse.julialang.org/u/Bumlebi)\
**Replies:** 3\
**Last updated:** [June 16, 2024, 10:12pm UTC](https://discourse.julialang.org/t/julia-throws-methoderror-no-method-matching-with-coolprop-using-nonlinearsystem/115721 "2024-06-16T22:12:00Z")

</div>

Hi all, I’m trying to get Julia’s NonlinearSolve to play well with CoolProp. I am very new at Julia, coming from many years of Python, so I am still learning the ropes. This is the code that is giving me trouble: usin…

---

## [Suggestions for best practice in scaling analysis](https://discourse.julialang.org/t/suggestions-for-best-practice-in-scaling-analysis/114237)

<div class="topic-metadata">

**Author:** [@SamBrand](https://discourse.julialang.org/u/SamBrand)\
**Replies:** 3\
**Last updated:** [June 16, 2024, 5:16pm UTC](https://discourse.julialang.org/t/suggestions-for-best-practice-in-scaling-analysis/114237 "2024-06-16T17:16:00Z")

</div>

Hi everyone, I’m exploring whether there are good examples around of using Julia at scale that people can link? At the moment I’m helping develop a package for model-based epidemiological inference Rt-without-renewal/E…

---

## [How to get remote data in newline terminating chunks?](https://discourse.julialang.org/t/how-to-get-remote-data-in-newline-terminating-chunks/115717)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [June 16, 2024, 3:36pm UTC](https://discourse.julialang.org/t/how-to-get-remote-data-in-newline-terminating-chunks/115717 "2024-06-16T15:36:29Z")

</div>

I thought that this would end up in several some buffer-size chunks, but actually the 9GB file seems to be downloaded at once: data\_url = "https://zenodo.org/records/11549846/files/U2018\_CLC2018\_V2020\_20u1.gpkg?download…

---

## [How to solve the non linear Coupled Cluster equations using Inexact Newton with DIIS?](https://discourse.julialang.org/t/how-to-solve-the-non-linear-coupled-cluster-equations-using-inexact-newton-with-diis/115291)

<div class="topic-metadata">

**Author:** [@Uranium238](https://discourse.julialang.org/u/Uranium238)\
**Replies:** 1\
**Last updated:** [June 16, 2024, 12:02pm UTC](https://discourse.julialang.org/t/how-to-solve-the-non-linear-coupled-cluster-equations-using-inexact-newton-with-diis/115291 "2024-06-16T12:02:09Z")

</div>

I have been trying to solve the Coupled Cluster Amplitude Equations which are a set of non-linear equations using Julia. The aim is to find cluster amplitudes tensor T2 such that the residual tensor (defined below) is ze…

---

## [Print string from readavailable now seems to get a wrong encoding](https://discourse.julialang.org/t/print-string-from-readavailable-now-seems-to-get-a-wrong-encoding/115712)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [June 16, 2024, 9:23am UTC](https://discourse.julialang.org/t/print-string-from-readavailable-now-seems-to-get-a-wrong-encoding/115712 "2024-06-16T09:23:44Z")

</div>

This was working “before” but now produces strange symbols in the output (like a binary output): using HTTP HTTP.open("GET", "https://julialang.org/") do io # Note the SSL support while !eof(io) println(Stri…

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

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