# Specific Domains

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

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

**Page:** 318

---

## [GalactimOptim + AutoForwardDiff + IPNewton problem](https://discourse.julialang.org/t/galactimoptim-autoforwarddiff-ipnewton-problem/72508)

<div class="topic-metadata">

**Author:** [@mottelet](https://discourse.julialang.org/u/mottelet)\
**Replies:** 6\
**Last updated:** [December 6, 2021, 3:44pm UTC](https://discourse.julialang.org/t/galactimoptim-autoforwarddiff-ipnewton-problem/72508 "2021-12-06T15:44:41Z")

</div>

Hi, I am trying to solve a parameter fitting problem in a stiff biological ODE. The problem solves with correct precision in Matlab (with fmincon/IP) using the complex-step technique to compute the gradient, but since I…

---

## [PBS cluster: "Syntax error: redirection unexpected" and "nested task error: Unable to read host:port string from worker."](https://discourse.julialang.org/t/pbs-cluster-syntax-error-redirection-unexpected-and-nested-task-error-unable-to-read-host-port-string-from-worker/72620)

<div class="topic-metadata">

**Author:** [@j\_u](https://discourse.julialang.org/u/j_u)\
**Replies:** 1\
**Last updated:** [December 6, 2021, 2:50pm UTC](https://discourse.julialang.org/t/pbs-cluster-syntax-error-redirection-unexpected-and-nested-task-error-unable-to-read-host-port-string-from-worker/72620 "2021-12-06T14:50:42Z")

</div>

Hi, I am new to Distributed computing. Everything works fine with Distributed on one machine. It seems that everything works fine on two machines with MPI.jl (it seems to be slower than Distributed on one machine but wo…

---

## [CairoMakie returning empty plots](https://discourse.julialang.org/t/cairomakie-returning-empty-plots/72581)

<div class="topic-metadata">

**Author:** [@hiraksarkar](https://discourse.julialang.org/u/hiraksarkar)\
**Replies:** 5\
**Last updated:** [December 6, 2021, 1:21pm UTC](https://discourse.julialang.org/t/cairomakie-returning-empty-plots/72581 "2021-12-06T13:21:24Z")

</div>

Hi, I am new to julia, I want plot a simple scatterplot from a dataframe where the colors are coded as String7 hexadecimal code, a snapshot, Row │ x y ncv\_color │ Int64 Int64 String7 ─────┼────────…

---

## [Any 'getting started' docs/links for GeoJulia ecosystem?](https://discourse.julialang.org/t/any-getting-started-docs-links-for-geojulia-ecosystem/72040)

<div class="topic-metadata">

**Author:** [@byezy](https://discourse.julialang.org/u/byezy)\
**Replies:** 3\
**Last updated:** [December 6, 2021, 12:24pm UTC](https://discourse.julialang.org/t/any-getting-started-docs-links-for-geojulia-ecosystem/72040 "2021-12-06T12:24:23Z")

</div>

Looking for a ‘getting started’ entry point for using GeoJulia for basic geospatial work that ties all of the packages and their capabilities/usage together… does anything exist?

---

## [How to convert Array{Array{Float64,2},1} to Array{Array{Float16,2},1}](https://discourse.julialang.org/t/how-to-convert-array-array-float64-2-1-to-array-array-float16-2-1/57032)

<div class="topic-metadata">

**Author:** [@Shazman](https://discourse.julialang.org/u/Shazman)\
**Replies:** 1\
**Last updated:** [March 12, 2021, 5:12pm UTC](https://discourse.julialang.org/t/how-to-convert-array-array-float64-2-1-to-array-array-float16-2-1/57032 "2021-03-12T17:12:38Z")

</div>

I am trying to convet an Array then got this error, how can I fix it ? typeof(MME) Array{Array{Float64,2},1} mme = convert(Array{Float16},MME) ERROR: MethodError: Cannot convert an object of type Array{Float64,2}…

---

## [Understanding DCP in Convex.jl and the difference of elapsed time](https://discourse.julialang.org/t/understanding-dcp-in-convex-jl-and-the-difference-of-elapsed-time/72626)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 8\
**Last updated:** [December 6, 2021, 2:38am UTC](https://discourse.julialang.org/t/understanding-dcp-in-convex-jl-and-the-difference-of-elapsed-time/72626 "2021-12-06T02:38:06Z")

</div>

Hi, there! I’d like to understand why the following elapsed times to solve the following two problems are significantly different. Here is my code and the result (to avoid high latency due to JIT compile, the results a…

---

## [NLP parameters inside a multithreaded loop](https://discourse.julialang.org/t/nlp-parameters-inside-a-multithreaded-loop/72622)

<div class="topic-metadata">

**Author:** [@Joao\_Guilherme\_Santo](https://discourse.julialang.org/u/Joao_Guilherme_Santo)\
**Replies:** 2\
**Last updated:** [December 6, 2021, 12:06am UTC](https://discourse.julialang.org/t/nlp-parameters-inside-a-multithreaded-loop/72622 "2021-12-06T00:06:51Z")

</div>

I am not sure if this is a JuMP or NLopt issue but whenever I try to do a loop with a NLP inside defining a parameter in each iteration, it only works if I am using a single thread. For example, the code below does not …

---

## [Parallel pre-calculation of optimization model](https://discourse.julialang.org/t/parallel-pre-calculation-of-optimization-model/72547)

<div class="topic-metadata">

**Author:** [@kchnkrml](https://discourse.julialang.org/u/kchnkrml)\
**Replies:** 8\
**Last updated:** [December 5, 2021, 10:45pm UTC](https://discourse.julialang.org/t/parallel-pre-calculation-of-optimization-model/72547 "2021-12-05T22:45:54Z")

</div>

I have got a rather large optimization problem, where creating the model (and writing an .lp file or passing it to a solver) takes a substantial amount of time (a few days), while solving it is (comparatively) quick. Sin…

---

## [ Why can't I use julia addprocs?(ECONNREFUSED)](https://discourse.julialang.org/t/why-cant-i-use-julia-addprocs-econnrefused/72477)

<div class="topic-metadata">

**Author:** [@GalloLuigi](https://discourse.julialang.org/u/GalloLuigi)\
**Replies:** 19\
**Last updated:** [December 5, 2021, 8:51pm UTC](https://discourse.julialang.org/t/why-cant-i-use-julia-addprocs-econnrefused/72477 "2021-12-05T20:51:09Z")

</div>

I’m writing a program that should connect to remote virtual machines and then do distributed execution. I have this warning: “Warning: Identity file /home/luigal/.ssh/id\_rsa not accessible: No such file or directory.”.(…

---

## [How to pass each column of a Matrix(which is the output of an NN) onto a layer seperately](https://discourse.julialang.org/t/how-to-pass-each-column-of-a-matrix-which-is-the-output-of-an-nn-onto-a-layer-seperately/72574)

<div class="topic-metadata">

**Author:** [@Qfl3x](https://discourse.julialang.org/u/Qfl3x)\
**Replies:** 2\
**Last updated:** [December 5, 2021, 4:46pm UTC](https://discourse.julialang.org/t/how-to-pass-each-column-of-a-matrix-which-is-the-output-of-an-nn-onto-a-layer-seperately/72574 "2021-12-05T16:46:14Z")

</div>

Hello, I have a net as follows: model = Chain(Embed(200,37),Dense(200,150),Dense(150,100)) The output of Embed (From Transformers.jl) is an embedding matrix of size (200,100) for a size 100 input vector. Meaning at t…

---

## [Valid GeoJSON object for choroplethmapbox Trace](https://discourse.julialang.org/t/valid-geojson-object-for-choroplethmapbox-trace/72592)

<div class="topic-metadata">

**Author:** [@Dieter](https://discourse.julialang.org/u/Dieter)\
**Replies:** 4\
**Last updated:** [December 5, 2021, 4:28pm UTC](https://discourse.julialang.org/t/valid-geojson-object-for-choroplethmapbox-trace/72592 "2021-12-05T16:28:00Z")

</div>

Hello Community! I try to create a plotly choroplethmapbox using a GeoJSON for the coordinates of the geographical regions and a dataframe containing the values which are used to color the regions. Plotly choroplethmap…

---

## [Strange error from Turing.jl?](https://discourse.julialang.org/t/strange-error-from-turing-jl/68837)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 18\
**Last updated:** [December 5, 2021, 3:22pm UTC](https://discourse.julialang.org/t/strange-error-from-turing-jl/68837 "2021-12-05T15:22:13Z")

</div>

I’ve got the following model, and some data, I’m trying to get a posterior over the infection probability for vaxxed and unvaxxed in my simulated dataset: @model function vaxxdecision(data) pv ~ Beta(1,100) pu…

---

## [Makie: problem with line plots?](https://discourse.julialang.org/t/makie-problem-with-line-plots/72534)

<div class="topic-metadata">

**Author:** [@nchisholm](https://discourse.julialang.org/u/nchisholm)\
**Replies:** 5\
**Last updated:** [December 4, 2021, 5:39pm UTC](https://discourse.julialang.org/t/makie-problem-with-line-plots/72534 "2021-12-04T17:39:04Z")

</div>

I am encountering an issue with GLMakie where lines on plots are drawn incorrectly as shown below. Only tiny segments of the line appear. Strangely, the plot is rendered correctly the first time the plotting command is…

---

## [Relaxation of MIP in order to use getdual](https://discourse.julialang.org/t/relaxation-of-mip-in-order-to-use-getdual/72529)

<div class="topic-metadata">

**Author:** [@max](https://discourse.julialang.org/u/max)\
**Replies:** 6\
**Last updated:** [December 4, 2021, 9:14am UTC](https://discourse.julialang.org/t/relaxation-of-mip-in-order-to-use-getdual/72529 "2021-12-04T09:14:03Z")

</div>

Hey everyone, I have a modular optimisation problem that can be LP or MIP depending on the setting. To get the shadow price I query via JuMP.has\_duals(model) whether I can receive the shadow price with the corresponding…

---

## [Moving a figure within given constraint](https://discourse.julialang.org/t/moving-a-figure-within-given-constraint/72558)

<div class="topic-metadata">

**Author:** [@mmkim1210](https://discourse.julialang.org/u/mmkim1210)\
**Replies:** 1\
**Last updated:** [December 4, 2021, 6:49am UTC](https://discourse.julialang.org/t/moving-a-figure-within-given-constraint/72558 "2021-12-04T06:49:53Z")

</div>

In the tutorial example (https://makie.juliaplots.org/stable/examples/layoutables/gridlayout/index.html#aspect), is there a way to move f\[1, 2\] to the left so that it aligns on the left with f\[2, 2\] rather than staying i…

---

## [WGLMakie messages on hover](https://discourse.julialang.org/t/wglmakie-messages-on-hover/72561)

<div class="topic-metadata">

**Author:** [@jzr](https://discourse.julialang.org/u/jzr)\
**Replies:** 0\
**Last updated:** [December 4, 2021, 4:05am UTC](https://discourse.julialang.org/t/wglmakie-messages-on-hover/72561 "2021-12-04T04:05:51Z")

</div>

In VSCode, when I hover pointer over a WGLMakie figure, I get lots of messages like this. They go fast and continuously until a few seconds after the pointer leaves the figure area. I don’t like it because it scrolls awa…

---

## [How to host html files generated by weave.jl on github](https://discourse.julialang.org/t/how-to-host-html-files-generated-by-weave-jl-on-github/72495)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 3\
**Last updated:** [December 3, 2021, 3:30pm UTC](https://discourse.julialang.org/t/how-to-host-html-files-generated-by-weave-jl-on-github/72495 "2021-12-03T15:30:44Z")

</div>

I have generated some HTML tutorials docs using weave.jl. I wish to host this HTML link for others to see. For now, 1)I have created a separate github page repo…,… ending with github.io 2) added my html file in it. Fo…

---

## [Normalization and Linear Model NaN error?](https://discourse.julialang.org/t/normalization-and-linear-model-nan-error/72150)

<div class="topic-metadata">

**Author:** [@YummyPampers2](https://discourse.julialang.org/u/YummyPampers2)\
**Replies:** 3\
**Last updated:** [December 3, 2021, 12:11pm UTC](https://discourse.julialang.org/t/normalization-and-linear-model-nan-error/72150 "2021-12-03T12:11:52Z")

</div>

Good Day Julians: I am attempting to pass an interpolated (imputed) and normalized DF into a GLM.jl function (lm(@formula …). Under what circumstances would the Stats.Models TableRegression… return NaN such as: A…

---

## [Web development with Julia - quick survey](https://discourse.julialang.org/t/web-development-with-julia-quick-survey/71229)

<div class="topic-metadata">

**Author:** [@essenciary](https://discourse.julialang.org/u/essenciary)\
**Replies:** 12\
**Last updated:** [December 3, 2021, 11:42am UTC](https://discourse.julialang.org/t/web-development-with-julia-quick-survey/71229 "2021-12-03T11:42:03Z")

</div>

Hi everyone! We have released Genie v4 just a couple of weeks ago and we’re already looking forward to bringing more cool features. But with web development evolving so fast and with so many use cases and applications, …

---

## [What is the way to add audio tracks to the Stipple applications?](https://discourse.julialang.org/t/what-is-the-way-to-add-audio-tracks-to-the-stipple-applications/72445)

<div class="topic-metadata">

**Author:** [@albertpod](https://discourse.julialang.org/u/albertpod)\
**Replies:** 1\
**Last updated:** [December 3, 2021, 9:53am UTC](https://discourse.julialang.org/t/what-is-the-way-to-add-audio-tracks-to-the-stipple-applications/72445 "2021-12-03T09:53:56Z")

</div>

I am building an interactive application for audio processing in Stipple.jl. I would like to add some audio tracks to the dashboard. Specifically, I wonder what’s the right way to handle audio files in the browser with…

---

## [Leading principal submatrix of Cholesky factor](https://discourse.julialang.org/t/leading-principal-submatrix-of-cholesky-factor/72456)

<div class="topic-metadata">

**Author:** [@DanielVandH](https://discourse.julialang.org/u/DanielVandH)\
**Replies:** 3\
**Last updated:** [December 3, 2021, 1:03am UTC](https://discourse.julialang.org/t/leading-principal-submatrix-of-cholesky-factor/72456 "2021-12-03T01:03:09Z")

</div>

I have an algorithm that uses only the first k rows and k columns of a Cholesky factor L (i.e., the kth leading principal submatrix L = L\[1:k, 1:k\]). Currently I just extract it after the computation of the whole Cholesk…

---

## [Makie version of a simple bar graph howto](https://discourse.julialang.org/t/makie-version-of-a-simple-bar-graph-howto/72420)

<div class="topic-metadata">

**Author:** [@benibilme](https://discourse.julialang.org/u/benibilme)\
**Replies:** 6\
**Last updated:** [December 2, 2021, 9:22pm UTC](https://discourse.julialang.org/t/makie-version-of-a-simple-bar-graph-howto/72420 "2021-12-02T21:22:00Z")

</div>

Hello, I am trying to settle on plotting library. I looked into gadfly and very much like the syntax, but the documentation seems lacking, if I am not wrong, it lacks 3d, real time update features. I find makie docume…

---

## [Multilayer perceptron with time dependent multidimensional data using Flux](https://discourse.julialang.org/t/multilayer-perceptron-with-time-dependent-multidimensional-data-using-flux/72011)

<div class="topic-metadata">

**Author:** [@FrootLoops](https://discourse.julialang.org/u/FrootLoops)\
**Replies:** 7\
**Last updated:** [December 2, 2021, 5:20pm UTC](https://discourse.julialang.org/t/multilayer-perceptron-with-time-dependent-multidimensional-data-using-flux/72011 "2021-12-02T17:20:58Z")

</div>

Hi, I have some problems coding a ( multilayer perceptron using Flux. My data is given in the form D\_t = (x\_i, yi)\_{i=1}^n where x\_i is a scalar and y\_i a $3-$dim vector and t=1,\\ldots,T the timesteps. One shold notice …

---

## [Indexing a fasta file with FASTX.jl](https://discourse.julialang.org/t/indexing-a-fasta-file-with-fastx-jl/72457)

<div class="topic-metadata">

**Author:** [@Lamma](https://discourse.julialang.org/u/Lamma)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 4:18pm UTC](https://discourse.julialang.org/t/indexing-a-fasta-file-with-fastx-jl/72457 "2021-12-02T16:18:02Z")

</div>

I have been informed it is possible to use FASTX.jl to index a file. However I am struggling to do this. I think I am meant to use FASTA:Record() but am unsure how to pass the data to the function. reader = FASTA.Reader…

---

## [NLsolve with StaticArrays](https://discourse.julialang.org/t/nlsolve-with-staticarrays/72465)

<div class="topic-metadata">

**Author:** [@wsshin](https://discourse.julialang.org/u/wsshin)\
**Replies:** 3\
**Last updated:** [December 2, 2021, 4:10pm UTC](https://discourse.julialang.org/t/nlsolve-with-staticarrays/72465 "2021-12-02T16:10:44Z")

</div>

I am wondering if there is a way to make NLsolve work with StaticArrays, because my function is written to take SVector. I thought if I use the keyword argument inplace=false as described in here, I would be able to use…

---

## [Trouble with DifferentialEquations.jl using MPI with the integrator interface](https://discourse.julialang.org/t/trouble-with-differentialequations-jl-using-mpi-with-the-integrator-interface/70356)

<div class="topic-metadata">

**Author:** [@reidr](https://discourse.julialang.org/u/reidr)\
**Replies:** 10\
**Last updated:** [December 2, 2021, 7:46am UTC](https://discourse.julialang.org/t/trouble-with-differentialequations-jl-using-mpi-with-the-integrator-interface/70356 "2021-12-02T07:46:56Z")

</div>

I’m using DIfferentialEquations.jl to solve a very large (10^9) system of coupled ODEs. I’m using MPI because the memory required for the full system won’t find on a workstation. The problem fits pretty naturally with th…

---

## [Conditionally read a subset of Arrow-data](https://discourse.julialang.org/t/conditionally-read-a-subset-of-arrow-data/72122)

<div class="topic-metadata">

**Author:** [@fbanning](https://discourse.julialang.org/u/fbanning)\
**Replies:** 9\
**Last updated:** [December 2, 2021, 4:42am UTC](https://discourse.julialang.org/t/conditionally-read-a-subset-of-arrow-data/72122 "2021-12-02T04:42:32Z")

</div>

Maybe my head is stuck in a loop right now but I have a question about dealing with arrow data. I have some data stored in a few large arrow files. I currently read the data via Arrow.Table("file.arrow") |\> DataFrame an…

---

## [Mosek and Ipopt](https://discourse.julialang.org/t/mosek-and-ipopt/72334)

<div class="topic-metadata">

**Author:** [@Xuekui\_wang](https://discourse.julialang.org/u/Xuekui_wang)\
**Replies:** 4\
**Last updated:** [December 2, 2021, 2:13am UTC](https://discourse.julialang.org/t/mosek-and-ipopt/72334 "2021-12-02T02:13:57Z")

</div>

when I use Ipopt as folows: m = Model(Ipopt.Optimizer) set\_optimizer\_attributes(m, "LOG" =\> 0) ... g\_p\_max\_soc=vcat(node\[i\].p̅ - g\_p\[i\],arg\_p) @constraint(m, g\_p\_max\_soc in SecondOrderCone()) there are errors as below: …

---

## [Stat.xticks fails in presence of Geom.vband and Geom.line](https://discourse.julialang.org/t/stat-xticks-fails-in-presence-of-geom-vband-and-geom-line/72416)

<div class="topic-metadata">

**Author:** [@alan](https://discourse.julialang.org/u/alan)\
**Replies:** 1\
**Last updated:** [December 2, 2021, 1:57am UTC](https://discourse.julialang.org/t/stat-xticks-fails-in-presence-of-geom-vband-and-geom-line/72416 "2021-12-02T01:57:08Z")

</div>

Trying to make a plot that includes Geom.line, Geom.vband, and Stat.xticks. Without Stat.xticks, it works fine. When I add Stat.xticks, I get: “Error showing value of type Plot: ERROR: The following aesthetics are requi…

---

## [Which library for a Monte Carlo web app?](https://discourse.julialang.org/t/which-library-for-a-monte-carlo-web-app/72397)

<div class="topic-metadata">

**Author:** [@patrick](https://discourse.julialang.org/u/patrick)\
**Replies:** 5\
**Last updated:** [December 1, 2021, 11:08pm UTC](https://discourse.julialang.org/t/which-library-for-a-monte-carlo-web-app/72397 "2021-12-01T23:08:55Z")

</div>

Let me preface this by saying that I’m a Julia novice, and I have never done any web dev or serious plotting. So, a quick pointer to the right packages for my needs should suffice as an answer. In a nutshell: I want to …

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

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