# Specific Domains

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

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

**Page:** 528

---

## [Ingesting data to JuliaDB without .csv files](https://discourse.julialang.org/t/ingesting-data-to-juliadb-without-csv-files/11347)

<div class="topic-metadata">

**Author:** [@ElOceanografo](https://discourse.julialang.org/u/ElOceanografo)\
**Replies:** 4\
**Last updated:** [August 30, 2018, 5:52am UTC](https://discourse.julialang.org/t/ingesting-data-to-juliadb-without-csv-files/11347 "2018-08-30T05:52:20Z")

</div>

I’ve got a large dataset of several million short audio clips (i.e., waveforms in 1D arrays, plus metadata). Total size is about 500 GB, stored across 140,000 .jld files. I need to go through and calculate a set of sum…

---

## [is the code correct to set parameters in Gurobi](https://discourse.julialang.org/t/is-the-code-correct-to-set-parameters-in-gurobi/14226)

<div class="topic-metadata">

**Author:** [@Summer](https://discourse.julialang.org/u/Summer)\
**Replies:** 2\
**Last updated:** [August 30, 2018, 4:49am UTC](https://discourse.julialang.org/t/is-the-code-correct-to-set-parameters-in-gurobi/14226 "2018-08-30T04:49:43Z")

</div>

Hello, I am using Gurobi as the solver in Julia to solve the problem but now encountered the out-of-memory error. I understand that Gurobi has parameters such as NodefileStart and Thread to deal with this problem (h…

---

## [Performant, interactive Plots.jl backend for jupyter notebook](https://discourse.julialang.org/t/performant-interactive-plots-jl-backend-for-jupyter-notebook/11266)

<div class="topic-metadata">

**Author:** [@standarddeviant](https://discourse.julialang.org/u/standarddeviant)\
**Replies:** 7\
**Last updated:** [August 30, 2018, 3:29am UTC](https://discourse.julialang.org/t/performant-interactive-plots-jl-backend-for-jupyter-notebook/11266 "2018-08-30T03:29:59Z")

</div>

I’ve been using Plots.jl with plotlyjs() for interactive plots and automated ‘report’ generation. I appreciate the work that’s gone in to Plots.jl and PlotlyJS.jl - I use them every day! Some of the individual plots ha…

---

## [Julia program reading CSV file from stdin](https://discourse.julialang.org/t/julia-program-reading-csv-file-from-stdin/14208)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 13\
**Last updated:** [August 29, 2018, 7:56pm UTC](https://discourse.julialang.org/t/julia-program-reading-csv-file-from-stdin/14208 "2018-08-29T19:56:56Z")

</div>

I am wondering whether it is possible to embed a CSV file in a julia program. It almost works with CSV.read(), except I do not see a way to signal “EOF” (like with ^D on the REPL). julia\> using DataFrames, CSV julia\> …

---

## [ANN: Feather.jl v0.4.0 (lazy edition)](https://discourse.julialang.org/t/ann-feather-jl-v0-4-0-lazy-edition/14219)

<div class="topic-metadata">

**Author:** [@ExpandingMan](https://discourse.julialang.org/u/ExpandingMan)\
**Replies:** 2\
**Last updated:** [August 29, 2018, 1:23pm UTC](https://discourse.julialang.org/t/ann-feather-jl-v0-4-0-lazy-edition/14219 "2018-08-29T13:23:14Z")

</div>

Hello all, it’s finally time to announce something that we’ve been working on and using extensively for a good while now, that is the new Feather.jl. (We still have to fix our docs, see latest for the v0.4.0 docs.) For…

---

## [SubDataFrame to DataFrame](https://discourse.julialang.org/t/subdataframe-to-dataframe/2241)

<div class="topic-metadata">

**Author:** [@Diego\_Javier\_Zea](https://discourse.julialang.org/u/Diego_Javier_Zea)\
**Replies:** 4\
**Last updated:** [August 29, 2018, 9:47am UTC](https://discourse.julialang.org/t/subdataframe-to-dataframe/2241 "2018-08-29T09:47:21Z")

</div>

Hi! I was trying to use a function that not accept SubDataFrames inside by() (in particular https://github.com/JuliaInterop/RCall.jl/issues/167). I found that there is not way to get a DataFrame from a SubDataFrame. It …

---

## [How to (row) append two JuliaDB tables together?](https://discourse.julialang.org/t/how-to-row-append-two-juliadb-tables-together/14228)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [August 29, 2018, 9:11am UTC](https://discourse.julialang.org/t/how-to-row-append-two-juliadb-tables-together/14228 "2018-08-29T09:11:45Z")

</div>

How do I (row) append two JuliaDB tables togehter? In DataFrames.jl \[data1;data2\] is sufficient, but the same syntax doesn’t work in JuliaDB. Also How do I append table 2 to table 1 by modifying table 1? See MWE using…

---

## [Compose.jl basic usage](https://discourse.julialang.org/t/compose-jl-basic-usage/14185)

<div class="topic-metadata">

**Author:** [@LaurentPlagne](https://discourse.julialang.org/u/LaurentPlagne)\
**Replies:** 4\
**Last updated:** [August 29, 2018, 7:03am UTC](https://discourse.julialang.org/t/compose-jl-basic-usage/14185 "2018-08-29T07:03:06Z")

</div>

Hi, I try to use compose.jl and I fail to understand the very basic usage of it. I want to draw a circle and a text, and it works until I try to put a black line around the circle (stroke which is not in the documentat…

---

## [Right multiplication of Diagonal matrix](https://discourse.julialang.org/t/right-multiplication-of-diagonal-matrix/12590)

<div class="topic-metadata">

**Author:** [@pochoi](https://discourse.julialang.org/u/pochoi)\
**Replies:** 2\
**Last updated:** [August 29, 2018, 2:28am UTC](https://discourse.julialang.org/t/right-multiplication-of-diagonal-matrix/12590 "2018-08-29T02:28:56Z")

</div>

In Julia 0.7 using SparseArrays n = 1000 @time Diagonal(1:n) \* sparse(1:n, n:-1:1, 1:n) @time sparse(1:n, n:-1:1, 1:n) \* Diagonal(1:n) 0.002262 seconds (42 allocations: 110.125 KiB) 0.893608 seconds (39 allocations:…

---

## [How does cache works in JuliaDiffEq?](https://discourse.julialang.org/t/how-does-cache-works-in-juliadiffeq/14214)

<div class="topic-metadata">

**Author:** [@wsrinin](https://discourse.julialang.org/u/wsrinin)\
**Replies:** 1\
**Last updated:** [August 29, 2018, 12:15am UTC](https://discourse.julialang.org/t/how-does-cache-works-in-juliadiffeq/14214 "2018-08-29T00:15:28Z")

</div>

Hi, I am trying to understand the internal of JuliaDiffEq package. I have encountered many files names sth\_cache.jl. Can anyone explain to me what do these files do and why we need it? I tried to find the explanations i…

---

## [CSV Reader / Writer Choices](https://discourse.julialang.org/t/csv-reader-writer-choices/14218)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 1\
**Last updated:** [August 28, 2018, 11:16pm UTC](https://discourse.julialang.org/t/csv-reader-writer-choices/14218 "2018-08-28T23:16:35Z")

</div>

Has someone compared the various packages to read and write csv files (e.g., readtables, DelimitedFiles and CSV)?

---

## [Repeated Solving of Linear System with the Same Structure](https://discourse.julialang.org/t/repeated-solving-of-linear-system-with-the-same-structure/14153)

<div class="topic-metadata">

**Author:** [@Juser](https://discourse.julialang.org/u/Juser)\
**Replies:** 7\
**Last updated:** [August 28, 2018, 10:57pm UTC](https://discourse.julialang.org/t/repeated-solving-of-linear-system-with-the-same-structure/14153 "2018-08-28T22:57:34Z")

</div>

UPDATE WITH MORE COMPLETE EXAMPLE The advice already provided has been extremely helpful, and I am adding this update to provide greater detail and a more concrete example in case it spurs any other thoughts/advice. The…

---

## [Optim.jl - computing value, gradient and hessian simultaneously](https://discourse.julialang.org/t/optim-jl-computing-value-gradient-and-hessian-simultaneously/1219)

<div class="topic-metadata">

**Author:** [@piever](https://discourse.julialang.org/u/piever)\
**Replies:** 17\
**Last updated:** [August 28, 2018, 7:58pm UTC](https://discourse.julialang.org/t/optim-jl-computing-value-gradient-and-hessian-simultaneously/1219 "2018-08-28T19:58:45Z")

</div>

I’ve seen in the documentation of Optim.jl that there is a basic trick to avoid recomputing the same quantity when evaluating a function and its gradient (and potentially also its hessian). The idea is to store whatever …

---

## [Need help with NLopt AUGLAG termination criteria](https://discourse.julialang.org/t/need-help-with-nlopt-auglag-termination-criteria/14189)

<div class="topic-metadata">

**Author:** [@ivborissov](https://discourse.julialang.org/u/ivborissov)\
**Replies:** 0\
**Last updated:** [August 28, 2018, 12:57pm UTC](https://discourse.julialang.org/t/need-help-with-nlopt-auglag-termination-criteria/14189 "2018-08-28T12:57:49Z")

</div>

Hi, I have an optimization problem with equality constraints and I use NLopt LN\_AUGLAG solver with derivative-free local solver like LN\_NELDERMEAD or LN\_SBPLX. However I don’t have a clear understanding how to choose to…

---

## [Error with Julia 1.0 + Plots with GR and PyPlot + Conda](https://discourse.julialang.org/t/error-with-julia-1-0-plots-with-gr-and-pyplot-conda/14118)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 6\
**Last updated:** [August 28, 2018, 6:34am UTC](https://discourse.julialang.org/t/error-with-julia-1-0-plots-with-gr-and-pyplot-conda/14118 "2018-08-28T06:34:34Z")

</div>

Hi, I’m using Julia 1.0 and is trying to use Plots for my plotting. For PyCall, I’m using system conda installation. julia\> versioninfo() Julia Version 1.0.0 Commit 5d4eaca0c9 (2018-08-08 20:58 UTC) Platform Info: OS…

---

## [The equivalent of R's var() for matrix?](https://discourse.julialang.org/t/the-equivalent-of-rs-var-for-matrix/14148)

<div class="topic-metadata">

**Author:** [@DominiqueMakowski](https://discourse.julialang.org/u/DominiqueMakowski)\
**Replies:** 2\
**Last updated:** [August 27, 2018, 6:35pm UTC](https://discourse.julialang.org/t/the-equivalent-of-rs-var-for-matrix/14148 "2018-08-27T18:35:10Z")

</div>

I am trying to reproduce the following R code in Julia: simdata\_correlation \<- function(coefs=c(0.2, 0.5), n=100){ # Generate outcome y \<- rnorm(n, 0, 1) n\_var \<- length(coefs) X \<- scale(matrix(rnorm(n\*(n\_var…

---

## [Supported Attributes tables in Plots documentaion disappeared](https://discourse.julialang.org/t/supported-attributes-tables-in-plots-documentaion-disappeared/14069)

<div class="topic-metadata">

**Author:** [@Carsten](https://discourse.julialang.org/u/Carsten)\
**Replies:** 2\
**Last updated:** [August 27, 2018, 10:56am UTC](https://discourse.julialang.org/t/supported-attributes-tables-in-plots-documentaion-disappeared/14069 "2018-08-27T10:56:40Z")

</div>

In Plots documentation no Supported Attributes are enlisted anymore. Instead I’ve got: # 404 \*\*File not found\*\* The site configured at this address does not contain the requested file.

---

## [JuMP solver callback arguments](https://discourse.julialang.org/t/jump-solver-callback-arguments/13936)

<div class="topic-metadata">

**Author:** [@Zacharie\_ALES](https://discourse.julialang.org/u/Zacharie_ALES)\
**Replies:** 4\
**Last updated:** [August 27, 2018, 9:02am UTC](https://discourse.julialang.org/t/jump-solver-callback-arguments/13936 "2018-08-27T09:02:06Z")

</div>

Hello, I use CPLEX and a callback to solve several instances of a problem. In the callback I need to access variables (for example it could be the size of the problem or any additional information about the instance cu…

---

## [Venn Diagram](https://discourse.julialang.org/t/venn-diagram/14084)

<div class="topic-metadata">

**Author:** [@sampie](https://discourse.julialang.org/u/sampie)\
**Replies:** 2\
**Last updated:** [August 27, 2018, 6:37am UTC](https://discourse.julialang.org/t/venn-diagram/14084 "2018-08-27T06:37:30Z")

</div>

Hi, I am wondering how to draw a venn diagram with language. What is a preferred and well supported way of doing that in Julia language? I would be happy if there was some example code that would work out of the box. I …

---

## [The kernel appears to have died. It will restart automatically, when using NLopt](https://discourse.julialang.org/t/the-kernel-appears-to-have-died-it-will-restart-automatically-when-using-nlopt/11362)

<div class="topic-metadata">

**Author:** [@Ludo](https://discourse.julialang.org/u/Ludo)\
**Replies:** 1\
**Last updated:** [August 26, 2018, 2:06pm UTC](https://discourse.julialang.org/t/the-kernel-appears-to-have-died-it-will-restart-automatically-when-using-nlopt/11362 "2018-08-26T14:06:14Z")

</div>

Trying to find a solve a NL system using a derivative-free (LN\_COBYLA or GN\_ISRES) algorithm with NLopt, within JuMP. I receive the following error message: The kernel appears to have died. It will restart automatically…

---

## [Transparency in surface plots](https://discourse.julialang.org/t/transparency-in-surface-plots/14099)

<div class="topic-metadata">

**Author:** [@Alvaro\_Jose\_Gonzalez](https://discourse.julialang.org/u/Alvaro_Jose_Gonzalez)\
**Replies:** 1\
**Last updated:** [August 26, 2018, 11:05pm UTC](https://discourse.julialang.org/t/transparency-in-surface-plots/14099 "2018-08-26T23:05:13Z")

</div>

I am making a surface under Plots.jl (pyplot backend) and cannot change the transparency of the surface. I have played with the parameter alpha, but no results. Any tips?

---

## [JuMP Ipopt on Julia 0.7](https://discourse.julialang.org/t/jump-ipopt-on-julia-0-7/14041)

<div class="topic-metadata">

**Author:** [@Bernard\_GODARD](https://discourse.julialang.org/u/Bernard_GODARD)\
**Replies:** 4\
**Last updated:** [August 26, 2018, 3:35pm UTC](https://discourse.julialang.org/t/jump-ipopt-on-julia-0-7/14041 "2018-08-26T15:35:32Z")

</div>

This is a continuation of Julia 0.7 and JuMP: ERROR: cosd is not defined for type Variable - #5 by tkoolen trying to get my JuMP problem converted to Julia 0.7. How to create an Ipopt problem with JuMP on Julia 0.7? Acc…

---

## [Julia 1.0 Example of @distributed and pmap](https://discourse.julialang.org/t/julia-1-0-example-of-distributed-and-pmap/14064)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 1\
**Last updated:** [August 26, 2018, 2:56am UTC](https://discourse.julialang.org/t/julia-1-0-example-of-distributed-and-pmap/14064 "2018-08-26T02:56:14Z")

</div>

I am unable to get @distributed (aka @parallel) to work, even with a trivial example. I get errors. is it obvious what I am doing wrong? $ julia \_ \_ \_ \_(\_)\_ | Documentation: https://docs.…

---

## [JuMP beginners help](https://discourse.julialang.org/t/jump-beginners-help/14016)

<div class="topic-metadata">

**Author:** [@Jon\_Norberg](https://discourse.julialang.org/u/Jon_Norberg)\
**Replies:** 2\
**Last updated:** [August 25, 2018, 6:18am UTC](https://discourse.julialang.org/t/jump-beginners-help/14016 "2018-08-25T06:18:22Z")

</div>

Hi, I have the following problem: N=10 r=rand(N)\*2 a=rand(N,N)\*0.5-0.25 \[a\[i,i\]=1.0 for i=1:N\] m = Model(solver = NLoptSolver(algorithm=:LD\_MMA)) @variable(m, x\[1:N\] \>= 0 ) @variable(m, 1.0 \>= h\[1:N…

---

## [Heuristic methods for solving the p-median problem](https://discourse.julialang.org/t/heuristic-methods-for-solving-the-p-median-problem/14022)

<div class="topic-metadata">

**Author:** [@Stuart\_Rogers](https://discourse.julialang.org/u/Stuart_Rogers)\
**Replies:** 0\
**Last updated:** [August 25, 2018, 3:00am UTC](https://discourse.julialang.org/t/heuristic-methods-for-solving-the-p-median-problem/14022 "2018-08-25T03:00:53Z")

</div>

Are there any Julia implementations of heuristic methods (e.g. genetic algorithm, simulated annealing, tabu search, variable neighborhood search) for solving the p-median problem? I did find a Lagrangian relaxation imple…

---

## [Why the reshape in Flux mnist convolution example](https://discourse.julialang.org/t/why-the-reshape-in-flux-mnist-convolution-example/13973)

<div class="topic-metadata">

**Author:** [@hskramer](https://discourse.julialang.org/u/hskramer)\
**Replies:** 1\
**Last updated:** [August 25, 2018, 12:57am UTC](https://discourse.julialang.org/t/why-the-reshape-in-flux-mnist-convolution-example/13973 "2018-08-25T00:57:02Z")

</div>

I have learned to use most of the ML packages and I can compute the outcome of convolutions given kernel, stride pad…, but I don’t understand why or how to do a reshape when using Flux with convolutions and probably oth…

---

## [Share a modules between processes](https://discourse.julialang.org/t/share-a-modules-between-processes/13903)

<div class="topic-metadata">

**Author:** [@vitreo12](https://discourse.julialang.org/u/vitreo12)\
**Replies:** 0\
**Last updated:** [August 22, 2018, 7:51pm UTC](https://discourse.julialang.org/t/share-a-modules-between-processes/13903 "2018-08-22T19:51:46Z")

</div>

Duplicate of: Share a module between two Worker processes Sorry for the mistake.

---

## [IJulia: Save a Image from PyPlot as PDF in JupyterLab](https://discourse.julialang.org/t/ijulia-save-a-image-from-pyplot-as-pdf-in-jupyterlab/12880)

<div class="topic-metadata">

**Author:** [@v-i-s-h](https://discourse.julialang.org/u/v-i-s-h)\
**Replies:** 1\
**Last updated:** [August 23, 2018, 2:54pm UTC](https://discourse.julialang.org/t/ijulia-save-a-image-from-pyplot-as-pdf-in-jupyterlab/12880 "2018-08-23T14:54:29Z")

</div>

Hi, I use jupyter-lab with IJulia kernel for my research. I use PyPlot for my plotting. When using normal Julia scripts, I’m able to use figure() # ... Code to Plot data... savefig( "my\_results.pdf", bbox\_inches = "t…

---

## [\[ANN\] MixedDistributions.jl to manipulate mixed discrete-continuous variables](https://discourse.julialang.org/t/ann-mixeddistributions-jl-to-manipulate-mixed-discrete-continuous-variables/13935)

<div class="topic-metadata">

**Author:** [@mbesancon](https://discourse.julialang.org/u/mbesancon)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 12:17pm UTC](https://discourse.julialang.org/t/ann-mixeddistributions-jl-to-manipulate-mixed-discrete-continuous-variables/13935 "2018-08-23T12:17:00Z")

</div>

Built on top of Distributions.jl, the goal of MixedDistributions is to represent and manipulate discrete-continuous variables. An informal definition of such variable is a continuous distribution with mass points (the C…

---

## [Discrete variables over continuous](https://discourse.julialang.org/t/discrete-variables-over-continuous/13934)

<div class="topic-metadata">

**Author:** [@mbesancon](https://discourse.julialang.org/u/mbesancon)\
**Replies:** 0\
**Last updated:** [August 23, 2018, 12:07pm UTC](https://discourse.julialang.org/t/discrete-variables-over-continuous/13934 "2018-08-23T12:07:23Z")

</div>

From Distributions.jl source: https://github.com/JuliaStats/Distributions.jl/blob/9b7a3483ae5e96a77d406cdce8aa9de0180484f0/src/common.jl#L12 Can’t a discrete distribution have a support over real numbers outside of int…

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

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