# Specific Domains

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

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

**Page:** 480

---

## [Parallel Postprocessing](https://discourse.julialang.org/t/parallel-postprocessing/29487)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 10\
**Last updated:** [October 5, 2019, 7:00pm UTC](https://discourse.julialang.org/t/parallel-postprocessing/29487 "2019-10-05T19:00:21Z")

</div>

Hi everyone, I am using Julia PyPlot to do postprocessing for simulation data. Here is the sample script for my parallel work: using Distributed @everywhere using PyCall @everywhere matplotlib = pyimport("matplotlib") …

---

## [Interactive plotting from the REPL?](https://discourse.julialang.org/t/interactive-plotting-from-the-repl/29410)

<div class="topic-metadata">

**Author:** [@chakravala](https://discourse.julialang.org/u/chakravala)\
**Replies:** 8\
**Last updated:** [October 5, 2019, 1:10am UTC](https://discourse.julialang.org/t/interactive-plotting-from-the-repl/29410 "2019-10-05T01:10:23Z")

</div>

Goal is to do some interactive plotting from the REPL on linux (not using an Atom or Jupyter web browser) Previously I made the Fatou.jl package and I would like to make an interactive plot inspired by the repo: Ha…

---

## [Plots.jl twinx question](https://discourse.julialang.org/t/plots-jl-twinx-question/29496)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 0\
**Last updated:** [October 4, 2019, 5:03pm UTC](https://discourse.julialang.org/t/plots-jl-twinx-question/29496 "2019-10-04T17:03:03Z")

</div>

I have two questions about the twinx tool in Plots.jl: Is there a way to have a single legend that includes the labels for both sets? How do I assign a different ylabel to the right axes from the left axes?

---

## [Distributed parallelism within packages/applications](https://discourse.julialang.org/t/distributed-parallelism-within-packages-applications/14320)

<div class="topic-metadata">

**Author:** [@SebastianM-C](https://discourse.julialang.org/u/SebastianM-C)\
**Replies:** 15\
**Last updated:** [October 4, 2019, 2:30pm UTC](https://discourse.julialang.org/t/distributed-parallelism-within-packages-applications/14320 "2019-10-04T14:30:59Z")

</div>

How can I use parallelism (on multiple processes) in a julia application/package? I have an application (in the Pkg3 sense that is not a package) in which I use pmap. I tried to load the package with using ParallelTest …

---

## [How to add a constraint in a JuMP model using the obj function of another JuMP model](https://discourse.julialang.org/t/how-to-add-a-constraint-in-a-jump-model-using-the-obj-function-of-another-jump-model/29432)

<div class="topic-metadata">

**Author:** [@Mahbubar06](https://discourse.julialang.org/u/Mahbubar06)\
**Replies:** 8\
**Last updated:** [October 3, 2019, 10:10pm UTC](https://discourse.julialang.org/t/how-to-add-a-constraint-in-a-jump-model-using-the-obj-function-of-another-jump-model/29432 "2019-10-03T22:10:33Z")

</div>

Hello, I have the following JuMP model: using JuMP using MathProgBase using Ipopt model=Model(solver=IpoptSolver()) @variable(model, -100 \<= x\[1:5\] \<=100) @constraint(model, sum(x\[i\] for i in 1:5) \<= 50) @NLconstraint(…

---

## [Serious performance issue with MySQL.jl](https://discourse.julialang.org/t/serious-performance-issue-with-mysql-jl/29289)

<div class="topic-metadata">

**Author:** [@Sh4pe](https://discourse.julialang.org/u/Sh4pe)\
**Replies:** 2\
**Last updated:** [October 3, 2019, 9:31pm UTC](https://discourse.julialang.org/t/serious-performance-issue-with-mysql-jl/29289 "2019-10-03T21:31:24Z")

</div>

Hi there! I hope that any MySQL.jl experts are out there. I’ve posted this issue already as #130 there and I hope to increase visibility by adding a topic here as well. In this test on my fork of MySQL.jl, I’ve managed…

---

## [SimpleANOVA v0.4.0](https://discourse.julialang.org/t/simpleanova-v0-4-0/28661)

<div class="topic-metadata">

**Author:** [@BioTurboNick](https://discourse.julialang.org/u/BioTurboNick)\
**Replies:** 1\
**Last updated:** [October 3, 2019, 5:28pm UTC](https://discourse.julialang.org/t/simpleanova-v0-4-0/28661 "2019-10-03T17:28:01Z")

</div>

Just putting out a new version of my SimpleANOVA package, now with Levene’s test baked in. Just waiting for the registry merge. https://github.com/BioTurboNick/SimpleANOVA.jl Use at own risk, but I’m using it for my ow…

---

## [Forbidden range for a variable of a LP](https://discourse.julialang.org/t/forbidden-range-for-a-variable-of-a-lp/29071)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 6\
**Last updated:** [October 3, 2019, 3:01pm UTC](https://discourse.julialang.org/t/forbidden-range-for-a-variable-of-a-lp/29071 "2019-10-03T15:01:29Z")

</div>

I would like to express a linear program having a variable that can only be greater or equal than a constant P or equal to 0. Like : x≥P or x=0 I know I could express it as a mixed integer problem but I really need to …

---

## [Parallel DataFrame processing](https://discourse.julialang.org/t/parallel-dataframe-processing/29397)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 2\
**Last updated:** [October 3, 2019, 9:07am UTC](https://discourse.julialang.org/t/parallel-dataframe-processing/29397 "2019-10-03T09:07:43Z")

</div>

Hi ! I try to process DataFrame columns in parallel. I first think using pmap() but it was not possible because it is not just applying a function to each columns. So I created a toy example here producing my error. It…

---

## [Solve\_time is not working - JuMP](https://discourse.julialang.org/t/solve-time-is-not-working-jump/29062)

<div class="topic-metadata">

**Author:** [@jayce\_ram](https://discourse.julialang.org/u/jayce_ram)\
**Replies:** 13\
**Last updated:** [October 3, 2019, 8:01am UTC](https://discourse.julialang.org/t/solve-time-is-not-working-jump/29062 "2019-10-03T08:01:47Z")

</div>

I have updated Julia version to 1.0 and I have tried to find the new way to get the solve time reported by the solver, in my case Clp. I have tried to use the fonction solve\_time(model::Model) as described in documentat…

---

## [Linear Algebra Rounding Errors?](https://discourse.julialang.org/t/linear-algebra-rounding-errors/29387)

<div class="topic-metadata">

**Author:** [@manderson](https://discourse.julialang.org/u/manderson)\
**Replies:** 6\
**Last updated:** [October 3, 2019, 7:43am UTC](https://discourse.julialang.org/t/linear-algebra-rounding-errors/29387 "2019-10-03T07:43:04Z")

</div>

I’ve run into some confusion about rounding with some linear algebra things which is causing some trouble for me in an image reconstruction algorithm I’m working on. When I run the following example code, I sometimes see…

---

## [Math In Plots.jl](https://discourse.julialang.org/t/math-in-plots-jl/14930)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 11\
**Last updated:** [October 3, 2019, 12:22am UTC](https://discourse.julialang.org/t/math-in-plots-jl/14930 "2019-10-03T00:22:52Z")

</div>

could someone please show me how to set a simple equation into a plot, say \\sqrt{\\frac{a}{b}} ?

---

## [Error when setting up Flux and CuArrays](https://discourse.julialang.org/t/error-when-setting-up-flux-and-cuarrays/29079)

<div class="topic-metadata">

**Author:** [@John\_G](https://discourse.julialang.org/u/John_G)\
**Replies:** 4\
**Last updated:** [October 2, 2019, 4:22pm UTC](https://discourse.julialang.org/t/error-when-setting-up-flux-and-cuarrays/29079 "2019-10-02T16:22:32Z")

</div>

I get the following error whenever I run using Flux or using CuArrays, but I haven’t gotten the error when running any other Julia packages so far. Honestly I have no idea what it means or what to do about it, and any he…

---

## [How to build a Cointegration model in Julia?](https://discourse.julialang.org/t/how-to-build-a-cointegration-model-in-julia/29292)

<div class="topic-metadata">

**Author:** [@yw892](https://discourse.julialang.org/u/yw892)\
**Replies:** 1\
**Last updated:** [October 2, 2019, 8:02am UTC](https://discourse.julialang.org/t/how-to-build-a-cointegration-model-in-julia/29292 "2019-10-02T08:02:20Z")

</div>

Is there any stable package that could build a cointegration or VECM model? Thanks!

---

## [Fast diag(A'\*B)](https://discourse.julialang.org/t/fast-diag-a-b/29363)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 6\
**Last updated:** [October 1, 2019, 9:05pm UTC](https://discourse.julialang.org/t/fast-diag-a-b/29363 "2019-10-01T21:05:29Z")

</div>

Is there a fast way to compute dot products of the columns of two similar matrices? MWE: using LinearAlgebra, BenchmarkTools f1(A, B) = diag(A'\*B) # suboptimal, but surprisingly fast f2(A, B) = map(dot, eachc…

---

## [Jupyter lab plot update only the curve and not the axes](https://discourse.julialang.org/t/jupyter-lab-plot-update-only-the-curve-and-not-the-axes/29097)

<div class="topic-metadata">

**Author:** [@amit112amit](https://discourse.julialang.org/u/amit112amit)\
**Replies:** 9\
**Last updated:** [October 1, 2019, 7:13pm UTC](https://discourse.julialang.org/t/jupyter-lab-plot-update-only-the-curve-and-not-the-axes/29097 "2019-10-01T19:13:00Z")

</div>

Hi. I have tried using “Interact.jl” with “PyPlot.jl” in Jupyter lab and it works. But it updates the whole figure every time I move the sliders. Thus, there is blinking. Is there something like jupyter-matplotlib that …

---

## [How to add this formula as an objective function?](https://discourse.julialang.org/t/how-to-add-this-formula-as-an-objective-function/29345)

<div class="topic-metadata">

**Author:** [@Shor](https://discourse.julialang.org/u/Shor)\
**Replies:** 6\
**Last updated:** [October 1, 2019, 4:15pm UTC](https://discourse.julialang.org/t/how-to-add-this-formula-as-an-objective-function/29345 "2019-10-01T16:15:51Z")

</div>

Hi, I am new here. I don’t know how to add this formula in my minimization objective function. where //x//\_1 stands for the sum of the absolute values of the components of x. (x is a 10x1 array) Anyone can help me w…

---

## [HTTP multipart/form-data processing by server](https://discourse.julialang.org/t/http-multipart-form-data-processing-by-server/24076)

<div class="topic-metadata">

**Author:** [@rssdev10](https://discourse.julialang.org/u/rssdev10)\
**Replies:** 6\
**Last updated:** [October 1, 2019, 1:45pm UTC](https://discourse.julialang.org/t/http-multipart-form-data-processing-by-server/24076 "2019-10-01T13:45:12Z")

</div>

Is any way to parse multipart/form-data by HTTP functions? I’m trying to upload and process a file in Bukdu app with \<form method="post" enctype="multipart/form-data"\>...\</form\> The request.body is correct for multi…

---

## [Unable to use setparam for Xpress under JuMP](https://discourse.julialang.org/t/unable-to-use-setparam-for-xpress-under-jump/26804)

<div class="topic-metadata">

**Author:** [@Diego](https://discourse.julialang.org/u/Diego)\
**Replies:** 12\
**Last updated:** [October 1, 2019, 1:13pm UTC](https://discourse.julialang.org/t/unable-to-use-setparam-for-xpress-under-jump/26804 "2019-10-01T13:13:52Z")

</div>

Team, I am trying to have Xpress report its log. When programming in Mosel I used: setparam(“XPRS\_VERBOSE”,true) Though I have tried many different things I am unable to do this with JuMP. This is what I have tried la…

---

## [Logistic Regression Package](https://discourse.julialang.org/t/logistic-regression-package/29354)

<div class="topic-metadata">

**Author:** [@infinitylabs](https://discourse.julialang.org/u/infinitylabs)\
**Replies:** 5\
**Last updated:** [October 1, 2019, 10:45am UTC](https://discourse.julialang.org/t/logistic-regression-package/29354 "2019-10-01T10:45:58Z")

</div>

Hi, Has anybody released a package foe logistic and multinomial regressions? We are planning to release one soon. Couldnt find a direct package like that in sklearn. Has anyone come across any such packages?

---

## [Efficient (possibly preallocated) chain of Kronecker products](https://discourse.julialang.org/t/efficient-possibly-preallocated-chain-of-kronecker-products/29328)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 2\
**Last updated:** [September 30, 2019, 8:10pm UTC](https://discourse.julialang.org/t/efficient-possibly-preallocated-chain-of-kronecker-products/29328 "2019-09-30T20:10:32Z")

</div>

I need to calculate something not unlike reduce(kron, As...) where As are 3–8 matrices. If it helps, I can preallocate for the output. Elements of As are dense, the length of As is known at compile time (unrolling is p…

---

## [\`UndefVarError: x not defined\` but x is in the model](https://discourse.julialang.org/t/undefvarerror-x-not-defined-but-x-is-in-the-model/29326)

<div class="topic-metadata">

**Author:** [@Ariel\_Cruz\_Cruz](https://discourse.julialang.org/u/Ariel_Cruz_Cruz)\
**Replies:** 5\
**Last updated:** [September 30, 2019, 4:20pm UTC](https://discourse.julialang.org/t/undefvarerror-x-not-defined-but-x-is-in-the-model/29326 "2019-09-30T16:20:58Z")

</div>

Hi, I’m having the next problem: I want to solve a given optimization problem using a JuMP model. In the algorithm that I am using I need to pass the model itself to another function having just the variables and I will…

---

## [CuArray allocation issue: How often is it a problem?](https://discourse.julialang.org/t/cuarray-allocation-issue-how-often-is-it-a-problem/27508)

<div class="topic-metadata">

**Author:** [@haberdashPI](https://discourse.julialang.org/u/haberdashPI)\
**Replies:** 5\
**Last updated:** [September 30, 2019, 2:40pm UTC](https://discourse.julialang.org/t/cuarray-allocation-issue-how-often-is-it-a-problem/27508 "2019-09-30T14:40:28Z")

</div>

Hi there, I’m thinking about making use of Flux and CuArrays for a new project. However, I was a little troubled to learn about this issue. It’s hard to a get a sense from that thread how often this is coming up as a pr…

---

## [Polyaxon with Julia - anyone?](https://discourse.julialang.org/t/polyaxon-with-julia-anyone/29318)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [September 30, 2019, 11:46am UTC](https://discourse.julialang.org/t/polyaxon-with-julia-anyone/29318 "2019-09-30T11:46:11Z")

</div>

Is anyone using Polyaxon with Julia? I would appreciate hearing about your setup.

---

## [How to evaluate MathProgBase functions of a JuMP model](https://discourse.julialang.org/t/how-to-evaluate-mathprogbase-functions-of-a-jump-model/29303)

<div class="topic-metadata">

**Author:** [@Mahbubar06](https://discourse.julialang.org/u/Mahbubar06)\
**Replies:** 2\
**Last updated:** [September 30, 2019, 5:04am UTC](https://discourse.julialang.org/t/how-to-evaluate-mathprogbase-functions-of-a-jump-model/29303 "2019-09-30T05:04:18Z")

</div>

I have a JuMP model and I want to evaluate the following functions for this model: MathProgBase.eval\_f(), MathProgBase.eval\_g(), MathProgBase.jac\_structure(), MathProgBase.eval\_grad\_f(). The model is as the following: M…

---

## [Turing: "no method matching cholenksy"](https://discourse.julialang.org/t/turing-no-method-matching-cholenksy/29287)

<div class="topic-metadata">

**Author:** [@jdhooghe](https://discourse.julialang.org/u/jdhooghe)\
**Replies:** 2\
**Last updated:** [September 29, 2019, 2:30pm UTC](https://discourse.julialang.org/t/turing-no-method-matching-cholenksy/29287 "2019-09-29T14:30:17Z")

</div>

Good morning, I am doing a Bayesian logistic regression with correlated logit regression co-efficients. Here is the model I am working with: ’ Turing.setadbackend(:reverse\_diff) @model BayesLogisticRegression(y, X) =…

---

## [Gardner-Altman Plots in Julia](https://discourse.julialang.org/t/gardner-altman-plots-in-julia/29286)

<div class="topic-metadata">

**Author:** [@Clement\_POIRET](https://discourse.julialang.org/u/Clement_POIRET)\
**Replies:** 5\
**Last updated:** [September 29, 2019, 1:35pm UTC](https://discourse.julialang.org/t/gardner-altman-plots-in-julia/29286 "2019-09-29T13:35:51Z")

</div>

Hi everyone, I’m switching from Python to Julia, and I’m interested in Estimation Statistics to replace classical NHST approach. To do so, I’d like to make Gardner-Altman Plots in Julia but I have to say I’m a bit confu…

---

## [Is there any package for Lomb Scagle?](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850)

<div class="topic-metadata">

**Author:** [@yw892](https://discourse.julialang.org/u/yw892)\
**Replies:** 5\
**Last updated:** [September 29, 2019, 12:55pm UTC](https://discourse.julialang.org/t/is-there-any-package-for-lomb-scagle/28850 "2019-09-29T12:55:30Z")

</div>

Just wondering. It seems Julia doesn’t support many DSP algorithms like EMD and Lomb Scagle.

---

## [Is it possible to draw contour plot in Makie.jl from predefined x, y coordinates of z data points?](https://discourse.julialang.org/t/is-it-possible-to-draw-contour-plot-in-makie-jl-from-predefined-x-y-coordinates-of-z-data-points/29147)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 6\
**Last updated:** [September 28, 2019, 3:55pm UTC](https://discourse.julialang.org/t/is-it-possible-to-draw-contour-plot-in-makie-jl-from-predefined-x-y-coordinates-of-z-data-points/29147 "2019-09-28T15:55:17Z")

</div>

Hi, I am thinking how to quickly visualize 2D matrix, given with matrices X, Y of coordinates of corresponding data points in Z matrix. It will be used in real-time visualization of action potential propagation in cardia…

---

## [Convenient way to generate all interaction terms up to a specified order](https://discourse.julialang.org/t/convenient-way-to-generate-all-interaction-terms-up-to-a-specified-order/25537)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 2\
**Last updated:** [September 28, 2019, 9:27am UTC](https://discourse.julialang.org/t/convenient-way-to-generate-all-interaction-terms-up-to-a-specified-order/25537 "2019-09-28T09:27:19Z")

</div>

Given 4 variables, is there a convenient way to generate a formula with all main effects and all interactions up to 3-way interactions? I believe in R it would be ~(b+c+d+e)^3. In julia that syntax appears to be interp…

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

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