# Specific Domains

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

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

**Page:** 483

---

## [How to quickly bulk insert into postgres](https://discourse.julialang.org/t/how-to-quickly-bulk-insert-into-postgres/15194)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 14\
**Last updated:** [September 10, 2019, 1:03pm UTC](https://discourse.julialang.org/t/how-to-quickly-bulk-insert-into-postgres/15194 "2019-09-10T13:03:48Z")

</div>

This is sort of a shot in the dark, I don’t have any reason to believe there’s a better solution to this but I thought I’d give it a try. I’m trying to insert data into tables on a postgres database. I’m using the exce…

---

## [Federated Learning in Julia](https://discourse.julialang.org/t/federated-learning-in-julia/28535)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 8\
**Last updated:** [September 10, 2019, 11:37am UTC](https://discourse.julialang.org/t/federated-learning-in-julia/28535 "2019-09-10T11:37:36Z")

</div>

Is anyone working with federated learning in Julia? Asking for a friend.

---

## [Lagrange multipliers (duals) in JuMP 0.19](https://discourse.julialang.org/t/lagrange-multipliers-duals-in-jump-0-19/28328)

<div class="topic-metadata">

**Author:** [@ko56](https://discourse.julialang.org/u/ko56)\
**Replies:** 15\
**Last updated:** [September 9, 2019, 6:06pm UTC](https://discourse.julialang.org/t/lagrange-multipliers-duals-in-jump-0-19/28328 "2019-09-09T18:06:59Z")

</div>

I have Julia 1.1.1 and JuMP 0.19. I am solving a concave maximization problem with linear constraints with Ipopt. I am confused with what is happening to the signs of the Lagrange multipliers: The correct multipliers a…

---

## [How can I handle uuid and jsob in PGSQL](https://discourse.julialang.org/t/how-can-i-handle-uuid-and-jsob-in-pgsql/28539)

<div class="topic-metadata">

**Author:** [@hasanOryx](https://discourse.julialang.org/u/hasanOryx)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 5:35pm UTC](https://discourse.julialang.org/t/how-can-i-handle-uuid-and-jsob-in-pgsql/28539 "2019-09-09T17:35:28Z")

</div>

In my database, I’ve the below structure: CREATE TABLE public.devices ( id uuid, data jsonb ) When I run my query using this package, I got the below, how can I read the output properly?

---

## [Bar chart with rotated x label for each bar](https://discourse.julialang.org/t/bar-chart-with-rotated-x-label-for-each-bar/28554)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 5\
**Last updated:** [September 9, 2019, 5:32pm UTC](https://discourse.julialang.org/t/bar-chart-with-rotated-x-label-for-each-bar/28554 "2019-09-09T17:32:38Z")

</div>

I’m having a hard time plotting a simple bar chart with Plots.jl that has a label below each bar. The data are stored in a DataFrame that looks like this: julia\> merged\[:, \[1,5,6\]\] 85×3 DataFrame │ Row │ naics │ % of to…

---

## [JuMP v0.20 has been released](https://discourse.julialang.org/t/jump-v0-20-has-been-released/28221)

<div class="topic-metadata">

**Author:** [@blegat](https://discourse.julialang.org/u/blegat)\
**Replies:** 4\
**Last updated:** [September 9, 2019, 3:49pm UTC](https://discourse.julialang.org/t/jump-v0-20-has-been-released/28221 "2019-09-09T15:49:54Z")

</div>

We are pleased to announce the release of JuMP v0.20 and MathOptInterface (MOI) v0.9. This release is an incremental improvement over JuMP v0.19, with the majority of breaking changes affecting only solver developers. We…

---

## [JuMP/GLPK with equal upper and lower bounds](https://discourse.julialang.org/t/jump-glpk-with-equal-upper-and-lower-bounds/28469)

<div class="topic-metadata">

**Author:** [@pierre-haessig](https://discourse.julialang.org/u/pierre-haessig)\
**Replies:** 5\
**Last updated:** [September 9, 2019, 2:57pm UTC](https://discourse.julialang.org/t/jump-glpk-with-equal-upper-and-lower-bounds/28469 "2019-09-09T14:57:42Z")

</div>

Hello, I’m solving a linear optimization problem with JuMP (0.19.2) using GLPK.jl (0.10.0) as the solver. I’m struggling with the situation where the lower and upper bounds of a variable are equal (and because it’s in a…

---

## [Anything like Distributions.jl for GPU?](https://discourse.julialang.org/t/anything-like-distributions-jl-for-gpu/17147)

<div class="topic-metadata">

**Author:** [@dfdx](https://discourse.julialang.org/u/dfdx)\
**Replies:** 15\
**Last updated:** [September 8, 2019, 9:29pm UTC](https://discourse.julialang.org/t/anything-like-distributions-jl-for-gpu/17147 "2019-09-08T21:29:42Z")

</div>

Is there any package supporting multivariate distributions and basic operations on them like sampling and log pdf, but working on GPU?

---

## [FM demodulation](https://discourse.julialang.org/t/fm-demodulation/27604)

<div class="topic-metadata">

**Author:** [@Alexander-Barth](https://discourse.julialang.org/u/Alexander-Barth)\
**Replies:** 5\
**Last updated:** [September 8, 2019, 6:53pm UTC](https://discourse.julialang.org/t/fm-demodulation/27604 "2019-09-08T18:53:10Z")

</div>

Does Julia have a FM demodulation function? My plan is to process data from a software-defined radio (SDR). Would it be a suitable contribution for the DSP.jl package, if such a function does not jet exists for julia?

---

## [Converting a Matrix to a DataFrame](https://discourse.julialang.org/t/converting-a-matrix-to-a-dataframe/6114)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 4\
**Last updated:** [September 8, 2019, 4:05pm UTC](https://discourse.julialang.org/t/converting-a-matrix-to-a-dataframe/6114 "2019-09-08T16:05:14Z")

</div>

I am struggling to convert a Matrix where I have the first row as header and possible NA values in a DataFrame. Actually I did find at least two ways, and the resulting df seems ok, but in reality the individual columns…

---

## [Basic usage of NLsolve for scalar problems](https://discourse.julialang.org/t/basic-usage-of-nlsolve-for-scalar-problems/28489)

<div class="topic-metadata">

**Author:** [@zdenek\_hurak](https://discourse.julialang.org/u/zdenek_hurak)\
**Replies:** 3\
**Last updated:** [September 7, 2019, 11:15am UTC](https://discourse.julialang.org/t/basic-usage-of-nlsolve-for-scalar-problems/28489 "2019-09-07T11:15:43Z")

</div>

I have troubles to use NLsolve package for solving the following simple scalar example: 0 = cos(x) for x initialized to, say, 1.5 (the anticipated solution is thus pi/2, that is, something like 1.57). The code is juli…

---

## [How to view which of your binary values are 1](https://discourse.julialang.org/t/how-to-view-which-of-your-binary-values-are-1/28446)

<div class="topic-metadata">

**Author:** [@marinarrd](https://discourse.julialang.org/u/marinarrd)\
**Replies:** 7\
**Last updated:** [September 6, 2019, 9:14pm UTC](https://discourse.julialang.org/t/how-to-view-which-of-your-binary-values-are-1/28446 "2019-09-06T21:14:07Z")

</div>

I am very new to Julia. I wish to obtain the indices of my output that are non-zero

---

## [Transposed convolution aka deconvolution layer in Flux.jl](https://discourse.julialang.org/t/transposed-convolution-aka-deconvolution-layer-in-flux-jl/12142)

<div class="topic-metadata">

**Author:** [@Azamat](https://discourse.julialang.org/u/Azamat)\
**Replies:** 1\
**Last updated:** [September 6, 2019, 8:19pm UTC](https://discourse.julialang.org/t/transposed-convolution-aka-deconvolution-layer-in-flux-jl/12142 "2019-09-06T20:19:30Z")

</div>

I would like to use deconvolutional layer (transposed convolution) in my network. How can this be done in Flux.jl? To be specific, it is described here: image processing - How does the unpooling and deconvolution work …

---

## [DARPA looks to propel parallelism with PAPPA](https://discourse.julialang.org/t/darpa-looks-to-propel-parallelism-with-pappa/28421)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [September 6, 2019, 5:38pm UTC](https://discourse.julialang.org/t/darpa-looks-to-propel-parallelism-with-pappa/28421 "2019-09-06T17:38:27Z")

</div>

https://t.co/iybdsybN0l PAPPA specifically seeks to fill the gap between programing frameworks that automate parallelism but lack the ability to scale and popular data science programming languages like Python and R th…

---

## [\[DSP.jl\] What resampling parameters should I use to get the same output as the decimate function in MATLAB?](https://discourse.julialang.org/t/dsp-jl-what-resampling-parameters-should-i-use-to-get-the-same-output-as-the-decimate-function-in-matlab/28357)

<div class="topic-metadata">

**Author:** [@Losses](https://discourse.julialang.org/u/Losses)\
**Replies:** 4\
**Last updated:** [September 6, 2019, 10:58am UTC](https://discourse.julialang.org/t/dsp-jl-what-resampling-parameters-should-i-use-to-get-the-same-output-as-the-decimate-function-in-matlab/28357 "2019-09-06T10:58:16Z")

</div>

Hello everyone, I am a cognitive neuroscience researcher, have little knowledge about the detail of signal processing, We are trying to resampling our signal with DSP.jl, and expect to get identical(or similar) result as…

---

## [Compute parity of a bit vector](https://discourse.julialang.org/t/compute-parity-of-a-bit-vector/28453)

<div class="topic-metadata">

**Author:** [@Deniz](https://discourse.julialang.org/u/Deniz)\
**Replies:** 3\
**Last updated:** [September 6, 2019, 10:11am UTC](https://discourse.julialang.org/t/compute-parity-of-a-bit-vector/28453 "2019-09-06T10:11:10Z")

</div>

I’m trying to compute the dot product of two UInt8 bit vectors. First I bitwise-xor them, then I have to compute the parity of the result. Is there a simple way to compute the parity of a single byte stored in a UInt8, …

---

## [Review inefficient pipeline?](https://discourse.julialang.org/t/review-inefficient-pipeline/28215)

<div class="topic-metadata">

**Author:** [@danriggins](https://discourse.julialang.org/u/danriggins)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 11:06pm UTC](https://discourse.julialang.org/t/review-inefficient-pipeline/28215 "2019-09-05T23:06:12Z")

</div>

Hi, I’m a new learner, trying to learn/practice data ingestion in Julia. I was wondering if anyone could review this pipeline I created to see if there’s a more efficient way to do it. I ultimately want a JuliaDB table, …

---

## [Handling INFEASIBLE\_OR\_UNBOUNDED](https://discourse.julialang.org/t/handling-infeasible-or-unbounded/28354)

<div class="topic-metadata">

**Author:** [@tomerarnon](https://discourse.julialang.org/u/tomerarnon)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 6:57pm UTC](https://discourse.julialang.org/t/handling-infeasible-or-unbounded/28354 "2019-09-05T18:57:53Z")

</div>

Using JuMP, I am getting the return code INFEASIBLE\_OR\_UNBOUNDED, but in my case, knowing whether the problem is feasible is important. I.e. I should be handling an unbounded problem differently from an infeasible one. I…

---

## [Function with Gurobi model and optional solver parameters](https://discourse.julialang.org/t/function-with-gurobi-model-and-optional-solver-parameters/28327)

<div class="topic-metadata">

**Author:** [@ibabeo](https://discourse.julialang.org/u/ibabeo)\
**Replies:** 3\
**Last updated:** [September 5, 2019, 1:05pm UTC](https://discourse.julialang.org/t/function-with-gurobi-model-and-optional-solver-parameters/28327 "2019-09-05T13:05:44Z")

</div>

I’m trying to make a function with arguments that I can pass to the model if any, otherwise stay default. function mymip(; verbose = true, timelimit=false, mipfocus=false, rins=false) model = Model(with\_optimizer(G…

---

## [Calling Fortran routine within Jump objective function](https://discourse.julialang.org/t/calling-fortran-routine-within-jump-objective-function/28347)

<div class="topic-metadata">

**Author:** [@kuwi](https://discourse.julialang.org/u/kuwi)\
**Replies:** 2\
**Last updated:** [September 5, 2019, 1:00pm UTC](https://discourse.julialang.org/t/calling-fortran-routine-within-jump-objective-function/28347 "2019-09-05T13:00:03Z")

</div>

Hello, I have a question regarding the call of Fortran routines within a Jump objective function. With the help of several forum posts, I managed to write Julia and Fortran code so I can call the Fortran routine from Ju…

---

## [Creating functions with ModelingToolkit for parallel usage](https://discourse.julialang.org/t/creating-functions-with-modelingtoolkit-for-parallel-usage/27632)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 4\
**Last updated:** [September 5, 2019, 4:22am UTC](https://discourse.julialang.org/t/creating-functions-with-modelingtoolkit-for-parallel-usage/27632 "2019-09-05T04:22:08Z")

</div>

Hi, after figuring out how to use ModelingToolkit to create functions/derivates etc. I would like to run code generated by ModelingToolkit in parallel. E.g. solving the Lorenz system for multiple initial states, see the…

---

## [String Index for DataFrames](https://discourse.julialang.org/t/string-index-for-dataframes/28390)

<div class="topic-metadata">

**Author:** [@yakyak](https://discourse.julialang.org/u/yakyak)\
**Replies:** 1\
**Last updated:** [September 4, 2019, 10:27pm UTC](https://discourse.julialang.org/t/string-index-for-dataframes/28390 "2019-09-04T22:27:52Z")

</div>

I am using the DataFrames package, and I would like to set a string column of it as the index. For example, let x = │ Row │ name │ val│ │ │ String │ String │ ├─────┼────────┼────────┤ │ 1 │ A │ 1│ │ 2 │ B…

---

## [Information on auto-switching solvers](https://discourse.julialang.org/t/information-on-auto-switching-solvers/27853)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 2\
**Last updated:** [September 4, 2019, 9:11pm UTC](https://discourse.julialang.org/t/information-on-auto-switching-solvers/27853 "2019-09-04T21:11:26Z")

</div>

Hi, I just want to know more about how the auto-switching algorithms in DifferentialEquations work. For example, when do they switch from non-stiff to stiff solver ? when do they switch back ? what happens to switchin…

---

## [Iterate over a SparseAxisArray container to retrieve variable values and index (jump 0.18+)](https://discourse.julialang.org/t/iterate-over-a-sparseaxisarray-container-to-retrieve-variable-values-and-index-jump-0-18/19498)

<div class="topic-metadata">

**Author:** [@willu47](https://discourse.julialang.org/u/willu47)\
**Replies:** 2\
**Last updated:** [September 4, 2019, 1:44pm UTC](https://discourse.julialang.org/t/iterate-over-a-sparseaxisarray-container-to-retrieve-variable-values-and-index-jump-0-18/19498 "2019-09-04T13:44:26Z")

</div>

I wish to iterate over the variables contained in a JuMP.SparseAxisArray so that I can write out variable values using JuMP.value(var), where var is an entry in the array. I would also like to obtain the value of the in…

---

## [How to solve non-linear system with input array?](https://discourse.julialang.org/t/how-to-solve-non-linear-system-with-input-array/28336)

<div class="topic-metadata">

**Author:** [@alvrg](https://discourse.julialang.org/u/alvrg)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 10:15pm UTC](https://discourse.julialang.org/t/how-to-solve-non-linear-system-with-input-array/28336 "2019-09-03T22:15:58Z")

</div>

Hi, I want to find the roots of a system of non-linear equations like this one: function f!(F::Vector{Float64}, Δ::Vector{Float64}, L::Int64, N::Int64, g::Float64, …

---

## [\[ANN\] QuasiMonteCarlo.jl](https://discourse.julialang.org/t/ann-quasimontecarlo-jl/28343)

<div class="topic-metadata">

**Author:** [@cscherrer](https://discourse.julialang.org/u/cscherrer)\
**Replies:** 0\
**Last updated:** [September 3, 2019, 6:48pm UTC](https://discourse.julialang.org/t/ann-quasimontecarlo-jl/28343 "2019-09-03T18:48:24Z")

</div>

I’ve started a library to make it convenient to do quasi Monte Carlo simulations. This leverages @stevengj’s Sobol.jl, @tkf’s Transducers.jl, and Mose Giordano et al’s Measurements.jl EDIT: Forgot to link to it: QuasiMo…

---

## [Makie: visualize subset of the data](https://discourse.julialang.org/t/makie-visualize-subset-of-the-data/28318)

<div class="topic-metadata">

**Author:** [@JesperMartinsson](https://discourse.julialang.org/u/JesperMartinsson)\
**Replies:** 1\
**Last updated:** [September 3, 2019, 2:28pm UTC](https://discourse.julialang.org/t/makie-visualize-subset-of-the-data/28318 "2019-09-03T14:28:57Z")

</div>

using Makie Without removing data is it possible to only visualize a subset of the data (e.g. in scatter!) by defining geometric boundaries. I’ve been playing around with limits using FRec3D but that only sets the axis …

---

## [Gradient in simple regression not working](https://discourse.julialang.org/t/gradient-in-simple-regression-not-working/27839)

<div class="topic-metadata">

**Author:** [@Ali\_Vahdati](https://discourse.julialang.org/u/Ali_Vahdati)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 10:40am UTC](https://discourse.julialang.org/t/gradient-in-simple-regression-not-working/27839 "2019-09-03T10:40:02Z")

</div>

I tried to replicate a simple regression model from Flux’s documentation with a slightly larger dataset. But the gradient descent seems to always diverge. A manual implementation of the algorithm works well. I would app…

---

## [Subplots without gap between them](https://discourse.julialang.org/t/subplots-without-gap-between-them/27491)

<div class="topic-metadata">

**Author:** [@Topias\_Karjalainen](https://discourse.julialang.org/u/Topias_Karjalainen)\
**Replies:** 3\
**Last updated:** [September 3, 2019, 10:06am UTC](https://discourse.julialang.org/t/subplots-without-gap-between-them/27491 "2019-09-03T10:06:33Z")

</div>

Hi! I’m trying to create a plotting package for plotting financial data (as an exercise, and as a tool that I need). For it to look like I want it to look, I need to plot a subplot for indicators under the main plot tha…

---

## [ERROR: InvalidIRError: compiling reduce\_kernel with \`eigen\` command](https://discourse.julialang.org/t/error-invalidirerror-compiling-reduce-kernel-with-eigen-command/28307)

<div class="topic-metadata">

**Author:** [@sergevic](https://discourse.julialang.org/u/sergevic)\
**Replies:** 4\
**Last updated:** [September 3, 2019, 12:31am UTC](https://discourse.julialang.org/t/error-invalidirerror-compiling-reduce-kernel-with-eigen-command/28307 "2019-09-03T00:31:34Z")

</div>

I’m trying to convert my Julia code with CUDA programming, because I get a OutOfMemory() error when I run the original code on Julia v.1.2. My converted code starts with the following lines: using CuArrays using Dista…

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

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