# Specific Domains

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

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

**Page:** 387

---

## [How to use \`copy!\`(or other array operations) inside a CUDA kernel?](https://discourse.julialang.org/t/how-to-use-copy-or-other-array-operations-inside-a-cuda-kernel/55762)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 7\
**Last updated:** [February 23, 2021, 9:34pm UTC](https://discourse.julialang.org/t/how-to-use-copy-or-other-array-operations-inside-a-cuda-kernel/55762 "2021-02-23T21:34:09Z")

</div>

I want to copy a column of matrix Y to another matrix X inside a custom kernel in ONE thread. X = CUDA.rand(10, 5) Y = CUDA.rand(10, 5); The following possible methods have been tried. - Method 1: error function kern…

---

## [CSV.jl : mixing symbol and column number in select option](https://discourse.julialang.org/t/csv-jl-mixing-symbol-and-column-number-in-select-option/55450)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 2\
**Last updated:** [February 23, 2021, 9:04am UTC](https://discourse.julialang.org/t/csv-jl-mixing-symbol-and-column-number-in-select-option/55450 "2021-02-23T09:04:49Z")

</div>

Hi, I am trying to read the rownames and some specific column of a CSV file (to save RAM) so I use the “select” option. The problem with this option is that rownames are dropped, so I want to include the first column us…

---

## [Interactive display for graphs (graph theory)](https://discourse.julialang.org/t/interactive-display-for-graphs-graph-theory/55710)

<div class="topic-metadata">

**Author:** [@AlexanderChen](https://discourse.julialang.org/u/AlexanderChen)\
**Replies:** 7\
**Last updated:** [February 23, 2021, 8:38am UTC](https://discourse.julialang.org/t/interactive-display-for-graphs-graph-theory/55710 "2021-02-23T08:38:00Z")

</div>

The project I am working on has 3 parts. develop a workflow in which SQL tables can be represented in graph form with the relevant meta information and the ability to develop a workflow to connect columns of different…

---

## [How to plot Newton's method](https://discourse.julialang.org/t/how-to-plot-newtons-method/51160)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 45\
**Last updated:** [February 23, 2021, 3:29am UTC](https://discourse.julialang.org/t/how-to-plot-newtons-method/51160 "2021-02-23T03:29:14Z")

</div>

I’m looking at how to plot Newton’s method. I was going to add x values of each itteration, with y=0 to a DataFrame, then run a scatter plot. Is this what I should do, or is there a better way to go about this?

---

## [Line Segment in Plots](https://discourse.julialang.org/t/line-segment-in-plots/55800)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 14\
**Last updated:** [February 22, 2021, 10:44pm UTC](https://discourse.julialang.org/t/line-segment-in-plots/55800 "2021-02-22T22:44:47Z")

</div>

Is there a way to create a line segment in plots? f(x)=2x plot(f);vline!(\[f(3), f(4)\]) How would I get the lines to go from the y origin to f(x) only?

---

## [Fit histograms for multiple series in the same bar-plot](https://discourse.julialang.org/t/fit-histograms-for-multiple-series-in-the-same-bar-plot/55686)

<div class="topic-metadata">

**Author:** [@DrChainsaw](https://discourse.julialang.org/u/DrChainsaw)\
**Replies:** 12\
**Last updated:** [February 22, 2021, 10:06pm UTC](https://discourse.julialang.org/t/fit-histograms-for-multiple-series-in-the-same-bar-plot/55686 "2021-02-22T22:06:52Z")

</div>

I just ran into the age old problem of wanting to plot bar histograms (using StatsPlots.jl) from multiple series of data as a grouped bar plot (i.e bars from different series appearing next to each other in each bin). A…

---

## [Hobby project: SequentialFit.jl](https://discourse.julialang.org/t/hobby-project-sequentialfit-jl/55717)

<div class="topic-metadata">

**Author:** [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Replies:** 13\
**Last updated:** [February 22, 2021, 9:44pm UTC](https://discourse.julialang.org/t/hobby-project-sequentialfit-jl/55717 "2021-02-22T21:44:48Z")

</div>

I don’t know mathematical optimization, and this might be a tremendously dumb idea, but I couldn’t get it out of my head after working on a project where I was fitting a surrogate model to the outputs from a very expensi…

---

## [Using SCIP GCG in JuMP](https://discourse.julialang.org/t/using-scip-gcg-in-jump/55770)

<div class="topic-metadata">

**Author:** [@Kreiton\_Sitorus](https://discourse.julialang.org/u/Kreiton_Sitorus)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 9:22pm UTC](https://discourse.julialang.org/t/using-scip-gcg-in-jump/55770 "2021-02-22T21:22:31Z")

</div>

Hello, I’m new to JuMP and I’ve been working on implementing a branch and price framework for the Inventory Routing Problem. I stumbled across GCG (a generic branch and price) as an extension of SCIP. Is it accessible th…

---

## [Questions about exporting .CSV data to Julia](https://discourse.julialang.org/t/questions-about-exporting-csv-data-to-julia/55796)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 8:04pm UTC](https://discourse.julialang.org/t/questions-about-exporting-csv-data-to-julia/55796 "2021-02-22T20:04:29Z")

</div>

In a single file in the .CSV I created two tabs, but when I try to read this data in Julia, the following error message appears to me: ArgumentError: "filename.csv" is not a valid file Can someone help me? Thanks

---

## [Put a heatmap into a mesh face](https://discourse.julialang.org/t/put-a-heatmap-into-a-mesh-face/55746)

<div class="topic-metadata">

**Author:** [@lazarusA](https://discourse.julialang.org/u/lazarusA)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 2:41pm UTC](https://discourse.julialang.org/t/put-a-heatmap-into-a-mesh-face/55746 "2021-02-22T14:41:11Z")

</div>

The mesh function seems to be pretty fast, is there a way to include a heatmap like in the following example. Eventually I would like to have all faces with different colormaps. Any suggestions are welcome. using GLMa…

---

## [Thread local storage is not implemented](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656)

<div class="topic-metadata">

**Author:** [@barrettp](https://discourse.julialang.org/u/barrettp)\
**Replies:** 4\
**Last updated:** [February 22, 2021, 12:53pm UTC](https://discourse.julialang.org/t/thread-local-storage-is-not-implemented/46656 "2021-02-22T12:53:50Z")

</div>

It would be nice to have “thread local storage” implemented at some point. It looks like it might be necessary for recursive kernel calls. I’m not really sure as I’m still rather new to CUDA programming.

---

## [Plotting distributions with StatsPlots in a for loop](https://discourse.julialang.org/t/plotting-distributions-with-statsplots-in-a-for-loop/55748)

<div class="topic-metadata">

**Author:** [@Storopoli](https://discourse.julialang.org/u/Storopoli)\
**Replies:** 7\
**Last updated:** [February 22, 2021, 10:25am UTC](https://discourse.julialang.org/t/plotting-distributions-with-statsplots-in-a-for-loop/55748 "2021-02-22T10:25:36Z")

</div>

Hey guys! I need to understand why this does not plot inside a for loop but does plot ok outside: using Distributions, StatsPlots dists = Iterators.product(0:1:2, 0:0.2:1) |\> collect for i in dists plot!(Normal(i…

---

## [Mirroring signal before fft](https://discourse.julialang.org/t/mirroring-signal-before-fft/55749)

<div class="topic-metadata">

**Author:** [@chaseleslie](https://discourse.julialang.org/u/chaseleslie)\
**Replies:** 3\
**Last updated:** [February 22, 2021, 3:45am UTC](https://discourse.julialang.org/t/mirroring-signal-before-fft/55749 "2021-02-22T03:45:35Z")

</div>

I have inherited some code that mirrors a signal before taking the discrete Fourier transform of it, essentially like this: signal = vcat(reverse(signal), signal) # windowing and padding operations ... sig = fft(signal)…

---

## [Weird behavior in @cuda kernel dispatch](https://discourse.julialang.org/t/weird-behavior-in-cuda-kernel-dispatch/55724)

<div class="topic-metadata">

**Author:** [@Shuhua](https://discourse.julialang.org/u/Shuhua)\
**Replies:** 2\
**Last updated:** [February 22, 2021, 2:51am UTC](https://discourse.julialang.org/t/weird-behavior-in-cuda-kernel-dispatch/55724 "2021-02-22T02:51:21Z")

</div>

Consider the following dummy kernel function that accepts an argument of type CuVector. julia\> using CUDA julia\> function my\_kernel(v::CuVector) nothing end my\_kernel (generic function with 1 method) …

---

## [Simplest way to convert a program for parallel (multithreaded) runs on multiple servers/cores?](https://discourse.julialang.org/t/simplest-way-to-convert-a-program-for-parallel-multithreaded-runs-on-multiple-servers-cores/55363)

<div class="topic-metadata">

**Author:** [@CosmoProf](https://discourse.julialang.org/u/CosmoProf)\
**Replies:** 26\
**Last updated:** [February 22, 2021, 2:00am UTC](https://discourse.julialang.org/t/simplest-way-to-convert-a-program-for-parallel-multithreaded-runs-on-multiple-servers-cores/55363 "2021-02-22T02:00:25Z")

</div>

Hi again all, I am running a collection of programs doing intensive numerical calculations (e.g., ~1-2 days of runtime on a system with 64 GB of memory and CPU \> 2.1 GHz). I have an opportunity to save tremendous resour…

---

## [Error using SplitODEProblem: type GMRESIterable has no field reltol](https://discourse.julialang.org/t/error-using-splitodeproblem-type-gmresiterable-has-no-field-reltol/55661)

<div class="topic-metadata">

**Author:** [@Bastien](https://discourse.julialang.org/u/Bastien)\
**Replies:** 7\
**Last updated:** [February 22, 2021, 12:29am UTC](https://discourse.julialang.org/t/error-using-splitodeproblem-type-gmresiterable-has-no-field-reltol/55661 "2021-02-22T00:29:29Z")

</div>

Hi, I have been trying to use a SplitODEProblem to solve the equations of motion of a pulse propagating along a transmission line but I get the following message: ERROR: LoadError: type GMRESIterable has no field relt…

---

## [\[GSoC 2021\] Few Shot Learning Algorithms](https://discourse.julialang.org/t/gsoc-2021-few-shot-learning-algorithms/48861)

<div class="topic-metadata">

**Author:** [@rakesh4real](https://discourse.julialang.org/u/rakesh4real)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 9:35pm UTC](https://discourse.julialang.org/t/gsoc-2021-few-shot-learning-algorithms/48861 "2021-02-21T21:35:14Z")

</div>

Hi, I want to work on a long-term project in few shot learning algorithms encompassing various techniques and architectures ranging from siamese networks to neural turing machines to meta-learners in Julia for at least 2…

---

## [Flux: Locally connected layer performance](https://discourse.julialang.org/t/flux-locally-connected-layer-performance/55711)

<div class="topic-metadata">

**Author:** [@johnbb](https://discourse.julialang.org/u/johnbb)\
**Replies:** 2\
**Last updated:** [February 21, 2021, 7:34pm UTC](https://discourse.julialang.org/t/flux-locally-connected-layer-performance/55711 "2021-02-21T19:34:20Z")

</div>

I have tried to implement a 2D locally connected layer (convolution with non-shared weights) in Flux restricted to filter size (1,1) only. That is, the linear combinations/convolutions are only over the (3rd) channel/var…

---

## [\[ANN\] EarlyStopping.jl 0.1.0: For terminating iterative algorithms](https://discourse.julialang.org/t/ann-earlystopping-jl-0-1-0-for-terminating-iterative-algorithms/55740)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 0\
**Last updated:** [February 21, 2021, 8:51pm UTC](https://discourse.julialang.org/t/ann-earlystopping-jl-0-1-0-for-terminating-iterative-algorithms/55740 "2021-02-21T20:51:58Z")

</div>

The EarlyStopper objects defined in EarlyStopping.jl consume a sequence of numbers called losses generated by some external algorithm - generally the training loss or out-of-sample loss of some iterative statistical mode…

---

## [How to make CUDA.jl work in WSL2](https://discourse.julialang.org/t/how-to-make-cuda-jl-work-in-wsl2/42474)

<div class="topic-metadata">

**Author:** [@zwwi](https://discourse.julialang.org/u/zwwi)\
**Replies:** 13\
**Last updated:** [February 21, 2021, 2:30pm UTC](https://discourse.julialang.org/t/how-to-make-cuda-jl-work-in-wsl2/42474 "2021-02-21T14:30:34Z")

</div>

I am using the WSL2 (Ubuntu) with version 4.19.121-microsoft-standard, and have installed the CUDA driver provided here: NVIDIA Drivers for CUDA on WSL. I also have installed nvidia-cuda-toolkit. I’m curious to know ho…

---

## [Discrete inverse Laplace transform (constrains and regularisation)](https://discourse.julialang.org/t/discrete-inverse-laplace-transform-constrains-and-regularisation/55580)

<div class="topic-metadata">

**Author:** [@MatFi](https://discourse.julialang.org/u/MatFi)\
**Replies:** 8\
**Last updated:** [February 21, 2021, 10:44am UTC](https://discourse.julialang.org/t/discrete-inverse-laplace-transform-constrains-and-regularisation/55580 "2021-02-21T10:44:31Z")

</div>

I want to conduct an Inverse Laplace Transform (ILT) on sampled data. I am aware of InverseLaplace.jl, but sadly it doesn’t work well on discrete (sampled) data due to a missing interface and regularization. So I decide…

---

## [How to use Manifold projection in differential equations jl](https://discourse.julialang.org/t/how-to-use-manifold-projection-in-differential-equations-jl/55681)

<div class="topic-metadata">

**Author:** [@manvibharat](https://discourse.julialang.org/u/manvibharat)\
**Replies:** 3\
**Last updated:** [February 21, 2021, 10:43am UTC](https://discourse.julialang.org/t/how-to-use-manifold-projection-in-differential-equations-jl/55681 "2021-02-21T10:43:55Z")

</div>

Hi all. I am trying to simulate a geometric control which we proposed in our paper. Since it involves a differential equation evolving on a manifold. I thought of using manifold projection as mentioned in Callback Librar…

---

## [\[MathOptFormat.jl\] Error when reading MPS file: objective functions with constant terms](https://discourse.julialang.org/t/mathoptformat-jl-error-when-reading-mps-file-objective-functions-with-constant-terms/55683)

<div class="topic-metadata">

**Author:** [@hustkisas](https://discourse.julialang.org/u/hustkisas)\
**Replies:** 1\
**Last updated:** [February 20, 2021, 9:31pm UTC](https://discourse.julialang.org/t/mathoptformat-jl-error-when-reading-mps-file-objective-functions-with-constant-terms/55683 "2021-02-20T21:31:21Z")

</div>

The objective function of a math programming problem usually does not have constant terms. But occasionally, MILP models processed by the solvers (CPLEX in this case) have constants in objective functions. When JuMP.read…

---

## [How to create multidimensional sets in JuMP/Julia as in GAMS](https://discourse.julialang.org/t/how-to-create-multidimensional-sets-in-jump-julia-as-in-gams/55581)

<div class="topic-metadata">

**Author:** [@GraceMabele](https://discourse.julialang.org/u/GraceMabele)\
**Replies:** 5\
**Last updated:** [February 20, 2021, 10:49am UTC](https://discourse.julialang.org/t/how-to-create-multidimensional-sets-in-jump-julia-as-in-gams/55581 "2021-02-20T10:49:38Z")

</div>

In GAMS, we can create multidimensional sets as follows Set i "mining regions" / china, ghana, ee+ussr, s-leone / n "ports" / accra, freetown, leningrad, shanghai / in(i,n) "mines to…

---

## [ODEProblem error --\> LoadError: UndefVarError: \_derivative not defined](https://discourse.julialang.org/t/odeproblem-error-loaderror-undefvarerror-derivative-not-defined/55038)

<div class="topic-metadata">

**Author:** [@grheadrick](https://discourse.julialang.org/u/grheadrick)\
**Replies:** 2\
**Last updated:** [February 20, 2021, 3:47am UTC](https://discourse.julialang.org/t/odeproblem-error-loaderror-undefvarerror-derivative-not-defined/55038 "2021-02-20T03:47:12Z")

</div>

I am getting an error when solving a system of differential equations. I have made the below example to demonstrate. Julia v1.5.3 ModelingToolkit v5.6.0 OrdinaryDiffEq v5.50.2 using ModelingToolkit, OrdinaryDiffEq, P…

---

## [Delete/redraw plot in Makie](https://discourse.julialang.org/t/delete-redraw-plot-in-makie/55659)

<div class="topic-metadata">

**Author:** [@darsnack](https://discourse.julialang.org/u/darsnack)\
**Replies:** 1\
**Last updated:** [February 20, 2021, 1:56am UTC](https://discourse.julialang.org/t/delete-redraw-plot-in-makie/55659 "2021-02-20T01:56:25Z")

</div>

I have a neural network and I am plotting its decision boundary using a trick with contourf! (basically make a 2D grid of points then apply the neural network to classify each point; contour line will end up on the decis…

---

## [Flux VAE on the iris dataset](https://discourse.julialang.org/t/flux-vae-on-the-iris-dataset/55657)

<div class="topic-metadata">

**Author:** [@rsteckel](https://discourse.julialang.org/u/rsteckel)\
**Replies:** 2\
**Last updated:** [February 20, 2021, 12:35am UTC](https://discourse.julialang.org/t/flux-vae-on-the-iris-dataset/55657 "2021-02-20T00:35:12Z")

</div>

I’ve been stuck trying to get a variational autoencoder working using Flux. I’ve tried to adapt the mnist VAE in Flux’s model zoo (which I could not get to work either) to the iris data set. Here’s my code so far: usin…

---

## [How to use a Button in GLMakie](https://discourse.julialang.org/t/how-to-use-a-button-in-glmakie/55583)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [February 19, 2021, 6:11am UTC](https://discourse.julialang.org/t/how-to-use-a-button-in-glmakie/55583 "2021-02-19T06:11:32Z")

</div>

The following code fails: using GLMakie, AbstractPlotting, AbstractPlotting.MakieLayout scene, layout = layoutscene(resolution = (840, 900)) Button(scene, label = "RESET") with the following error: julia\> include("sr…

---

## [Any lib for getting Hong Kong stock data?](https://discourse.julialang.org/t/any-lib-for-getting-hong-kong-stock-data/55500)

<div class="topic-metadata">

**Author:** [@hellojason](https://discourse.julialang.org/u/hellojason)\
**Replies:** 2\
**Last updated:** [February 19, 2021, 3:27am UTC](https://discourse.julialang.org/t/any-lib-for-getting-hong-kong-stock-data/55500 "2021-02-19T03:27:46Z")

</div>

I have tried Alpha Vantage, that I can plot chart easily, but it seems no way to retrieve Hong Kong stock data. Does any lib. supporting for it? If really no way then I considering to try it by python … Btw, as I am int…

---

## [AMDGPU available for Windows?](https://discourse.julialang.org/t/amdgpu-available-for-windows/55547)

<div class="topic-metadata">

**Author:** [@MatsMor](https://discourse.julialang.org/u/MatsMor)\
**Replies:** 4\
**Last updated:** [February 18, 2021, 9:39pm UTC](https://discourse.julialang.org/t/amdgpu-available-for-windows/55547 "2021-02-18T21:39:40Z")

</div>

Does anyone know when the AMDGPU.jl package will be available for Windows? Right now, it is only available for Linux. Thxs!

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

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