# Specific Domains

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

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

**Page:** 365

---

## [Difficulty producing Contour plots of multidimensional data, with x-values different for each time step](https://discourse.julialang.org/t/difficulty-producing-contour-plots-of-multidimensional-data-with-x-values-different-for-each-time-step/61560)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 0\
**Last updated:** [May 21, 2021, 7:18am UTC](https://discourse.julialang.org/t/difficulty-producing-contour-plots-of-multidimensional-data-with-x-values-different-for-each-time-step/61560 "2021-05-21T07:18:47Z")

</div>

Hi, I have a set of 2-dimensional data, defined over an array of timesteps, but at each timestep the position x-values are different. I’m trying to get contour plots, but the plots come up blank, and each time I get the …

---

## [Apply a function in-place to a DataFrame column and return a new dataframe with replaced column](https://discourse.julialang.org/t/apply-a-function-in-place-to-a-dataframe-column-and-return-a-new-dataframe-with-replaced-column/61545)

<div class="topic-metadata">

**Author:** [@anon71627001](https://discourse.julialang.org/u/anon71627001)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 11:04pm UTC](https://discourse.julialang.org/t/apply-a-function-in-place-to-a-dataframe-column-and-return-a-new-dataframe-with-replaced-column/61545 "2021-05-20T23:04:11Z")

</div>

Hi, is there a function to apply a function to each value in specific column of a DataFrame, and then return a DataFrame with the new column replacing the old column even if it has a different eltype? Something like mut…

---

## [Pkg.instantiate() takes a very long time on a remote worker](https://discourse.julialang.org/t/pkg-instantiate-takes-a-very-long-time-on-a-remote-worker/61498)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 3:56pm UTC](https://discourse.julialang.org/t/pkg-instantiate-takes-a-very-long-time-on-a-remote-worker/61498 "2021-05-20T15:56:33Z")

</div>

I’m trying to use multiple nodes for a parallel algorithm, but currently Pkg.instantiate() takes far too long, as in 20+ minutes, so long that my 30 minute job timed out. Is there a way to speed this up? Is this normal?

---

## [Slow model generation in JUMP](https://discourse.julialang.org/t/slow-model-generation-in-jump/61477)

<div class="topic-metadata">

**Author:** [@Popeye](https://discourse.julialang.org/u/Popeye)\
**Replies:** 13\
**Last updated:** [May 20, 2021, 12:55pm UTC](https://discourse.julialang.org/t/slow-model-generation-in-jump/61477 "2021-05-20T12:55:55Z")

</div>

I need to decide between using JUMP and Python-MIP for a large MILP. Python-MIP has some impressive benchmarks on its website, and provides more features such as lazy constraints and call-backs with CBC solver. But here …

---

## [Simulating quantum circuits with Yao](https://discourse.julialang.org/t/simulating-quantum-circuits-with-yao/61390)

<div class="topic-metadata">

**Author:** [@rmedinar](https://discourse.julialang.org/u/rmedinar)\
**Replies:** 4\
**Last updated:** [May 20, 2021, 8:58am UTC](https://discourse.julialang.org/t/simulating-quantum-circuits-with-yao/61390 "2021-05-20T08:58:34Z")

</div>

Hi there! I’m new in the Julia ecosystems and my first project is trying to simulate a particular random circuit using Yao. My issue at the moment is basically the efficiency of code which seems to be quite slow. I would…

---

## [Generating vertices of a simplex](https://discourse.julialang.org/t/generating-vertices-of-a-simplex/61495)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 2\
**Last updated:** [May 20, 2021, 5:09am UTC](https://discourse.julialang.org/t/generating-vertices-of-a-simplex/61495 "2021-05-20T05:09:28Z")

</div>

For a model I’ve been working on I needed to generate points (cluster centres) that were located equidistant from each other. Not a terribly hard problem, but I happen to come across this answer on mathoverflow that I fo…

---

## [NLopt returning :FAILURE, but only with :LD\_LBFGS](https://discourse.julialang.org/t/nlopt-returning-failure-but-only-with-ld-lbfgs/61475)

<div class="topic-metadata">

**Author:** [@jbshannon](https://discourse.julialang.org/u/jbshannon)\
**Replies:** 1\
**Last updated:** [May 20, 2021, 4:08am UTC](https://discourse.julialang.org/t/nlopt-returning-failure-but-only-with-ld-lbfgs/61475 "2021-05-20T04:08:40Z")

</div>

I’m minimizing a GMM criterion function (uses a lot of data, so a MWE here would be tricky) using NLopt and I keep getting a return code of :FAILURE after a few iterations whenever I use :LD\_LBFGS. I don’t think this is …

---

## [Gradient of Flux model wrt to weights](https://discourse.julialang.org/t/gradient-of-flux-model-wrt-to-weights/61405)

<div class="topic-metadata">

**Author:** [@edwinb-ai](https://discourse.julialang.org/u/edwinb-ai)\
**Replies:** 4\
**Last updated:** [May 19, 2021, 10:18pm UTC](https://discourse.julialang.org/t/gradient-of-flux-model-wrt-to-weights/61405 "2021-05-19T22:18:02Z")

</div>

Hello everyone. I’m attempting to obtain the gradient of a Flux model wrt to the weights. I first want to show what I mean (or want to achieve). Suppose I have a very simple linear model such that y(x)=W \\cdot x + b…

---

## [GtkReactive GUI with a plots.jl image](https://discourse.julialang.org/t/gtkreactive-gui-with-a-plots-jl-image/61471)

<div class="topic-metadata">

**Author:** [@nelsonah](https://discourse.julialang.org/u/nelsonah)\
**Replies:** 0\
**Last updated:** [May 19, 2021, 10:00pm UTC](https://discourse.julialang.org/t/gtkreactive-gui-with-a-plots-jl-image/61471 "2021-05-19T22:00:27Z")

</div>

I have an array of pixels called points starting as follows: points: HSV{Float64}\[HSV{Float64}(94.21025111030258,0.8823529411764706,1.0) HSV{Float64}(95.58982630472542,0.8823529411764706,1.0) …… I want it to look like…

---

## [Setting up distributed workers on seperate nodes of cluster - PBS and OpenMPI](https://discourse.julialang.org/t/setting-up-distributed-workers-on-seperate-nodes-of-cluster-pbs-and-openmpi/61013)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 10\
**Last updated:** [May 19, 2021, 8:38pm UTC](https://discourse.julialang.org/t/setting-up-distributed-workers-on-seperate-nodes-of-cluster-pbs-and-openmpi/61013 "2021-05-19T20:38:40Z")

</div>

I’m quite new to distributed computing and high performance computing so please be kind. My university has access to an HPC which uses PBS/Torque. I’m currently running the ProgressiveHedging.jl package using all the co…

---

## [HTTP.jl requests fail from time to time](https://discourse.julialang.org/t/http-jl-requests-fail-from-time-to-time/61407)

<div class="topic-metadata">

**Author:** [@Jack](https://discourse.julialang.org/u/Jack)\
**Replies:** 2\
**Last updated:** [May 19, 2021, 8:00pm UTC](https://discourse.julialang.org/t/http-jl-requests-fail-from-time-to-time/61407 "2021-05-19T20:00:56Z")

</div>

I found infrequent failures when using HTTP.jl library pinging for a website. It usually happens when the code did not make any queries for a while. I tried to use retry and timeout config to mitigate the issue but found…

---

## [Best Data Manipulation packages 2020-09 \[video\]](https://discourse.julialang.org/t/best-data-manipulation-packages-2020-09-video/46690)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 4\
**Last updated:** [May 19, 2021, 2:24pm UTC](https://discourse.julialang.org/t/best-data-manipulation-packages-2020-09-video/46690 "2021-05-19T14:24:11Z")

</div>

According to me, basically this. Obvious, they can’t deal with larger-than-RAM data but that’s another story. DataFrames.jl (GitHub - JuliaData/DataFrames.jl: In-memory tabular data in Julia) DataFramesM…

---

## [\[Video\] Best Julia packages for manipulating tabular (dataframe) data](https://discourse.julialang.org/t/video-best-julia-packages-for-manipulating-tabular-dataframe-data/61451)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 0\
**Last updated:** [May 19, 2021, 2:23pm UTC](https://discourse.julialang.org/t/video-best-julia-packages-for-manipulating-tabular-dataframe-data/61451 "2021-05-19T14:23:48Z")

</div>

Took me more than 1 month to make it as my time is so piecemeal.

---

## [Comparing two lists](https://discourse.julialang.org/t/comparing-two-lists/61049)

<div class="topic-metadata">

**Author:** [@mjanun](https://discourse.julialang.org/u/mjanun)\
**Replies:** 17\
**Last updated:** [May 19, 2021, 2:23am UTC](https://discourse.julialang.org/t/comparing-two-lists/61049 "2021-05-19T02:23:28Z")

</div>

I have two lists that I need to compare. The second list contains names of groups for the first list: using DataFrames list1 = DataFrame(ID=\["0001P:ABCD","0001R:ABCD","2324P:CDCL","2324R:CDCL","5666TB:GHLA","789789TSB:A…

---

## [Occasional SharedArray errors on slurm](https://discourse.julialang.org/t/occasional-sharedarray-errors-on-slurm/61385)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 9:42pm UTC](https://discourse.julialang.org/t/occasional-sharedarray-errors-on-slurm/61385 "2021-05-18T21:42:52Z")

</div>

I’m having trouble \[minimally\] reproducing this locally. It happens for maybe 0.1-5% of array tasks which execute initShared() from unregistered package pqADMM and causes the slurm error shown below for that respective …

---

## [ML julia package incorporating Restricted Boltzmann Machine models?](https://discourse.julialang.org/t/ml-julia-package-incorporating-restricted-boltzmann-machine-models/61344)

<div class="topic-metadata">

**Author:** [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 9:29pm UTC](https://discourse.julialang.org/t/ml-julia-package-incorporating-restricted-boltzmann-machine-models/61344 "2021-05-18T21:29:41Z")

</div>

Hi folks, just a simple question: is there/what is the best neural networks package that implements (Restricted) Boltzmann Machines as a model? I know there are specific packages for that, but I’m looking for something …

---

## [Building RNA Sequencing and Analysis Apps Webinar 5/20/2021](https://discourse.julialang.org/t/building-rna-sequencing-and-analysis-apps-webinar-5-20-2021/61392)

<div class="topic-metadata">

**Author:** [@jdamiba](https://discourse.julialang.org/u/jdamiba)\
**Replies:** 0\
**Last updated:** [May 18, 2021, 8:41pm UTC](https://discourse.julialang.org/t/building-rna-sequencing-and-analysis-apps-webinar-5-20-2021/61392 "2021-05-18T20:41:45Z")

</div>

Hello! I just wanted to let interested parties know that on Thursday, May 20th at 1PM, Plotly is hosting a free webinar with UC Berkeley PhD Candidate, Alyssa Morrow on the topic of using the Dash framework and the Pile…

---

## [JuMP not updating to latest version](https://discourse.julialang.org/t/jump-not-updating-to-latest-version/37770)

<div class="topic-metadata">

**Author:** [@cby](https://discourse.julialang.org/u/cby)\
**Replies:** 11\
**Last updated:** [May 18, 2021, 8:02pm UTC](https://discourse.julialang.org/t/jump-not-updating-to-latest-version/37770 "2021-05-18T20:02:58Z")

</div>

When I call pkg\> update JuMP, I only get version v0.19.2, while the latest stable release listed at Juliaopt.org is v0.21. I’d like to use some features that started in v0.20.

---

## [How to change color of selected dropdown values in Dash](https://discourse.julialang.org/t/how-to-change-color-of-selected-dropdown-values-in-dash/57193)

<div class="topic-metadata">

**Author:** [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Replies:** 1\
**Last updated:** [May 18, 2021, 6:49pm UTC](https://discourse.julialang.org/t/how-to-change-color-of-selected-dropdown-values-in-dash/57193 "2021-05-18T18:49:29Z")

</div>

By default, the values selected from a Dash dropdown are displayed in blue text, with blue background. Is there a way to modify these colors? I found: Multivalue dropdown selected values color - #3 by Cloemdz - Dash Pyth…

---

## [Parameters of IDA DAE solver](https://discourse.julialang.org/t/parameters-of-ida-dae-solver/61366)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 7\
**Last updated:** [May 18, 2021, 6:45pm UTC](https://discourse.julialang.org/t/parameters-of-ida-dae-solver/61366 "2021-05-18T18:45:05Z")

</div>

I have the following code: using DifferentialEquations, Sundials, StaticArrays using Revise if ! @isdefined KPS3 includet("../src/KPS3.jl") using .KPS3 end my\_state = KPS3.get\_state() clear(my\_state) y0, yd0 =…

---

## [Bayesian logistic regression with Turing.jl](https://discourse.julialang.org/t/bayesian-logistic-regression-with-turing-jl/60105)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 29\
**Last updated:** [May 18, 2021, 4:55pm UTC](https://discourse.julialang.org/t/bayesian-logistic-regression-with-turing-jl/60105 "2021-05-18T16:55:27Z")

</div>

Hi everyone, first-time user of Turing.jl here. It is really nice, thanks! :star: I am trying to implement a simple Bayesian logistic regression model, but I keep getting this warning from AdvancedHMC.jl: ┌ Warning: Th…

---

## [Combining dataframe and csv: undefined functions in DataFrames](https://discourse.julialang.org/t/combining-dataframe-and-csv-undefined-functions-in-dataframes/61310)

<div class="topic-metadata">

**Author:** [@fshell](https://discourse.julialang.org/u/fshell)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 1:45pm UTC](https://discourse.julialang.org/t/combining-dataframe-and-csv-undefined-functions-in-dataframes/61310 "2021-05-18T13:45:09Z")

</div>

I’m running into a number of obstacles in trying to merge a dataframe and CSV (just started working with DataFrames today). I’m benchmarking runs of an inference task. There are a number of parameters for the task and …

---

## [Help with solving a DDE](https://discourse.julialang.org/t/help-with-solving-a-dde/60205)

<div class="topic-metadata">

**Author:** [@Hossein\_Haghi](https://discourse.julialang.org/u/Hossein_Haghi)\
**Replies:** 10\
**Last updated:** [May 18, 2021, 4:44am UTC](https://discourse.julialang.org/t/help-with-solving-a-dde/60205 "2021-05-18T04:44:02Z")

</div>

Hi! I am trying to use Julia’s DifferentialEquations.jl package to solve DDE. I was able to solve my problem for two objects using the code below clearconsole() @time using DifferentialEquations const two\_bubble = le…

---

## [Colored surface in Makie](https://discourse.julialang.org/t/colored-surface-in-makie/61009)

<div class="topic-metadata">

**Author:** [@grero](https://discourse.julialang.org/u/grero)\
**Replies:** 6\
**Last updated:** [May 18, 2021, 2:38am UTC](https://discourse.julialang.org/t/colored-surface-in-makie/61009 "2021-05-18T02:38:00Z")

</div>

I’m trying to draw transparent surfaces in Makie to illustrate separation boundaries between clusters. However, I can’t seem to get the surface function to respect the color argument. It seems to use the default colormap…

---

## [Constraint MINLP problem](https://discourse.julialang.org/t/constraint-minlp-problem/61272)

<div class="topic-metadata">

**Author:** [@Francisco\_Javier\_Mar](https://discourse.julialang.org/u/Francisco_Javier_Mar)\
**Replies:** 5\
**Last updated:** [May 18, 2021, 2:30am UTC](https://discourse.julialang.org/t/constraint-minlp-problem/61272 "2021-05-18T02:30:11Z")

</div>

Hello. I was wondering if someone could clarify a question for me. I have a problem when it comes to modeling in JuMP. I have a MINLP problem with the following objective function and constraints. @NLobjective(model,Min…

---

## [Extracting dense submatrix from sparse matrix](https://discourse.julialang.org/t/extracting-dense-submatrix-from-sparse-matrix/61242)

<div class="topic-metadata">

**Author:** [@foobar\_lv2](https://discourse.julialang.org/u/foobar_lv2)\
**Replies:** 2\
**Last updated:** [May 17, 2021, 10:50pm UTC](https://discourse.julialang.org/t/extracting-dense-submatrix-from-sparse-matrix/61242 "2021-05-17T22:50:19Z")

</div>

Hi, I’m new to GPU programming in general and julia-GPU in specific. So sorry if my question turns out to be naive. I have a largish sparse matrix; given a sorted array of indices I need to extract the corresponding sub…

---

## [Annotations and line widths in Plots.jl heatmaps](https://discourse.julialang.org/t/annotations-and-line-widths-in-plots-jl-heatmaps/4259)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 5\
**Last updated:** [May 17, 2021, 9:13pm UTC](https://discourse.julialang.org/t/annotations-and-line-widths-in-plots-jl-heatmaps/4259 "2021-05-17T21:13:08Z")

</div>

One of the nicest features of heatmaps in the Python’s Seaborn module is the ability to annotate heatmaps with the values in the cells, the axes labels, and the line style separating the cells as you can see in these exa…

---

## [Annotations with Plots.jl and PGFPlotsX using plot!(add=..., extra\_kwargs=:subplots)](https://discourse.julialang.org/t/annotations-with-plots-jl-and-pgfplotsx-using-plot-add-extra-kwargs-subplots/61323)

<div class="topic-metadata">

**Author:** [@tapia](https://discourse.julialang.org/u/tapia)\
**Replies:** 0\
**Last updated:** [May 17, 2021, 8:47pm UTC](https://discourse.julialang.org/t/annotations-with-plots-jl-and-pgfplotsx-using-plot-add-extra-kwargs-subplots/61323 "2021-05-17T20:47:12Z")

</div>

Hi, I am relatively new to julia and Plots, but have a solid background with matplotlib and TikZ. I have been using Plots.jl for the last few days together with the PGFPlotX backend and I really like it. One think that I…

---

## [Makie equivalent of matplotlib's \`PolyCollection\`](https://discourse.julialang.org/t/makie-equivalent-of-matplotlibs-polycollection/61061)

<div class="topic-metadata">

**Author:** [@goretkin](https://discourse.julialang.org/u/goretkin)\
**Replies:** 4\
**Last updated:** [May 17, 2021, 8:16pm UTC](https://discourse.julialang.org/t/makie-equivalent-of-matplotlibs-polycollection/61061 "2021-05-17T20:16:06Z")

</div>

I’m looking to reproduce something like the following in Makie: using PyPlot const PolyCollection = PyPlot.matplotlib.collections.PolyCollection polygon = \[\[0.0, 0.0\], \[1.0, 0.0\], \[0.0, 1.0\]\] # force new axes ax = PyPl…

---

## [Flatten in case column contains string and array](https://discourse.julialang.org/t/flatten-in-case-column-contains-string-and-array/61284)

<div class="topic-metadata">

**Author:** [@rocco\_sprmnt21](https://discourse.julialang.org/u/rocco_sprmnt21)\
**Replies:** 6\
**Last updated:** [May 17, 2021, 4:58pm UTC](https://discourse.julialang.org/t/flatten-in-case-column-contains-string-and-array/61284 "2021-05-17T16:58:00Z")

</div>

I would like to have clarification (or even simply comments) on the behavior of the flatten function in the case of the example of column y. using DataFrames df=DataFrame(x=rand(1:20,5),y=\["aa",\["a1","a2"\],"bbb",\[1,2,3\]…

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

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