# Specific Domains

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

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

**Page:** 523

---

## [Does Plots support resizing plots based on window size?](https://discourse.julialang.org/t/does-plots-support-resizing-plots-based-on-window-size/15647)

<div class="topic-metadata">

**Author:** [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 10:22am UTC](https://discourse.julialang.org/t/does-plots-support-resizing-plots-based-on-window-size/15647 "2018-10-09T10:22:38Z")

</div>

If I change the size of the window by mouse, how can I get plot size to be changed accordingly?

---

## [Gzipped (.csv.gz) writing?](https://discourse.julialang.org/t/gzipped-csv-gz-writing/11767)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 6\
**Last updated:** [October 9, 2018, 8:13am UTC](https://discourse.julialang.org/t/gzipped-csv-gz-writing/11767 "2018-10-09T08:13:35Z")

</div>

What is or will be the recommended way to write a data frame to a .csv.gz file? (I tried GZip.open with writetable but this failed.) regards, /iaw

---

## [How to convert Flux.jl's tracked values to just values](https://discourse.julialang.org/t/how-to-convert-flux-jls-tracked-values-to-just-values/16051)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [October 9, 2018, 4:13am UTC](https://discourse.julialang.org/t/how-to-convert-flux-jls-tracked-values-to-just-values/16051 "2018-10-09T04:13:57Z")

</div>

I have a Flux.jl tracked calculated value and I would like to convert it to Float64 for plotting. How do I do that? using Flux model = Flux.Chain( Dense(14\*16+4, 64, relu), Dense(64, 16, relu), Dense(16, 1, …

---

## [Permission for download datasets from other peoples websites](https://discourse.julialang.org/t/permission-for-download-datasets-from-other-peoples-websites/15973)

<div class="topic-metadata">

**Author:** [@simonschoelly](https://discourse.julialang.org/u/simonschoelly)\
**Replies:** 9\
**Last updated:** [October 9, 2018, 1:33am UTC](https://discourse.julialang.org/t/permission-for-download-datasets-from-other-peoples-websites/15973 "2018-10-09T01:33:20Z")

</div>

I’m developing a a package that downloads some datasets (using DataDeps) that are publicly available on the internet. I was wondering if there might me some legal or ethical problems with that. Should I ask the authors…

---

## [Singular exception when it shouldn't happen, tol for inv?](https://discourse.julialang.org/t/singular-exception-when-it-shouldnt-happen-tol-for-inv/16043)

<div class="topic-metadata">

**Author:** [@Zhiye\_Xia](https://discourse.julialang.org/u/Zhiye_Xia)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 9:15pm UTC](https://discourse.julialang.org/t/singular-exception-when-it-shouldnt-happen-tol-for-inv/16043 "2018-10-08T21:15:48Z")

</div>

x = somevector X = hcat(ones(length(x)), x, x.^2) inv(X'\* X) Result: SingularException(3) somevector may be a random vector with multiple zeros but more than 2 non-zero & non-equal elements are ensured to make X to be…

---

## [Error to show a JuMP model in v0.7/1.0](https://discourse.julialang.org/t/error-to-show-a-jump-model-in-v0-7-1-0/15972)

<div class="topic-metadata">

**Author:** [@chkwon](https://discourse.julialang.org/u/chkwon)\
**Replies:** 4\
**Last updated:** [October 8, 2018, 8:16pm UTC](https://discourse.julialang.org/t/error-to-show-a-jump-model-in-v0-7-1-0/15972 "2018-10-08T20:16:27Z")

</div>

julia\> m = Model(solver=ClpSolver()) Feasibility problem with: \* 0 linear constraints \* 0 variables Solver is Error showing value of type Model: ERROR: BoundsError: attempt to access 1-element Array{SubString{String},1…

---

## [JuMP is slow \*before\* creating model](https://discourse.julialang.org/t/jump-is-slow-before-creating-model/16024)

<div class="topic-metadata">

**Author:** [@fa-bien](https://discourse.julialang.org/u/fa-bien)\
**Replies:** 6\
**Last updated:** [October 8, 2018, 8:01pm UTC](https://discourse.julialang.org/t/jump-is-slow-before-creating-model/16024 "2018-10-08T20:01:48Z")

</div>

I have a function, say A(), that calls a function B(). B() creates a JuMP model (using Gurobi) and returns a mutable struct containing the model and other things. All JuMP macro calls are in B(). A() is called from the t…

---

## [Parallel without communication using MPI](https://discourse.julialang.org/t/parallel-without-communication-using-mpi/16016)

<div class="topic-metadata">

**Author:** [@milankl](https://discourse.julialang.org/u/milankl)\
**Replies:** 3\
**Last updated:** [October 8, 2018, 5:54pm UTC](https://discourse.julialang.org/t/parallel-without-communication-using-mpi/16016 "2018-10-08T17:54:41Z")

</div>

using MPI function main() MPI.Init() comm = MPI.COMM\_WORLD id = MPI.Comm\_rank(comm) # compile and initialize inv(rand(100,100)); A = rand(3500,3500) @time inv(A); println("$id of $(MPI.…

---

## [Gettting RHS range for shadow prices](https://discourse.julialang.org/t/gettting-rhs-range-for-shadow-prices/16026)

<div class="topic-metadata">

**Author:** [@Prashant\_Chintapalli](https://discourse.julialang.org/u/Prashant_Chintapalli)\
**Replies:** 0\
**Last updated:** [October 8, 2018, 3:23pm UTC](https://discourse.julialang.org/t/gettting-rhs-range-for-shadow-prices/16026 "2018-10-08T15:23:40Z")

</div>

Hi, I am using getdual() function to fetch the shadow prices. However, I am unable to find a function to get the range of RHS of the constraints for which the shadow prices are valid. Does any one know about such a func…

---

## [Change to improve JuMP compatibility with PackageCompiler](https://discourse.julialang.org/t/change-to-improve-jump-compatibility-with-packagecompiler/15944)

<div class="topic-metadata">

**Author:** [@jwveysey](https://discourse.julialang.org/u/jwveysey)\
**Replies:** 8\
**Last updated:** [October 8, 2018, 2:56pm UTC](https://discourse.julialang.org/t/change-to-improve-jump-compatibility-with-packagecompiler/15944 "2018-10-08T14:56:17Z")

</div>

Hi, JuMP community - I have a suggestion for improving the compatibility of JuMP with PackageCompiler. I hope I’m using the right means to convey it; I haven’t contributed to the community before and am trying to follo…

---

## [Extending OBBT in PowerModels](https://discourse.julialang.org/t/extending-obbt-in-powermodels/15856)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 6\
**Last updated:** [October 8, 2018, 1:11pm UTC](https://discourse.julialang.org/t/extending-obbt-in-powermodels/15856 "2018-10-08T13:11:31Z")

</div>

I want to extend the current version of OBBT approach in PowerModels by tightening “Voltage Magnitude Differences” besides the “Voltage Magnitude” and “Voltage Angle Dffference” variables. In this connection, I have modi…

---

## [Question about how to train a neural network using Flux.jl](https://discourse.julialang.org/t/question-about-how-to-train-a-neural-network-using-flux-jl/16011)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 1\
**Last updated:** [October 8, 2018, 10:01am UTC](https://discourse.julialang.org/t/question-about-how-to-train-a-neural-network-using-flux-jl/16011 "2018-10-08T10:01:09Z")

</div>

I am trying to build a neural network that has about 200 Boolean features as inputs and I would like to train it against a regression output (so the y is continuous). I tried to setup the network like so using Flux mode…

---

## [Problems with a picewise quadratic problem](https://discourse.julialang.org/t/problems-with-a-picewise-quadratic-problem/7728)

<div class="topic-metadata">

**Author:** [@gcabrera](https://discourse.julialang.org/u/gcabrera)\
**Replies:** 6\
**Last updated:** [October 7, 2018, 8:51pm UTC](https://discourse.julialang.org/t/problems-with-a-picewise-quadratic-problem/7728 "2018-10-07T20:51:58Z")

</div>

Hi Guys, I need to model the following optimization problem \\sum\_{j=1}^{N} (\\alpha \* w\_j (d\_j(x)-p\_j)^2) where \\alpha = 1 when (d\_j(x)-p\_j) \> 0 and \\alpha = 0 otherwise I’ve been through the JuMP’s documentation with…

---

## [JuMP's new contributor recognition goes to Issam Tahiri](https://discourse.julialang.org/t/jumps-new-contributor-recognition-goes-to-issam-tahiri/15955)

<div class="topic-metadata">

**Author:** [@miles.lubin](https://discourse.julialang.org/u/miles.lubin)\
**Replies:** 2\
**Last updated:** [October 8, 2018, 3:58am UTC](https://discourse.julialang.org/t/jumps-new-contributor-recognition-goes-to-issam-tahiri/15955 "2018-10-08T03:58:09Z")

</div>

The JuMP steering committee would like to recognize Issam Tahiri both for his leadership and service as a local organizer for the JuMP-dev workshop at the University of Bordeaux this year, and for his technical contri…

---

## [My parallel cellular automata with Distributed Arrays is very slowly](https://discourse.julialang.org/t/my-parallel-cellular-automata-with-distributed-arrays-is-very-slowly/15998)

<div class="topic-metadata">

**Author:** [@dsHitman](https://discourse.julialang.org/u/dsHitman)\
**Replies:** 0\
**Last updated:** [October 7, 2018, 6:31pm UTC](https://discourse.julialang.org/t/my-parallel-cellular-automata-with-distributed-arrays-is-very-slowly/15998 "2018-10-07T18:31:36Z")

</div>

Hi, I tried to implement a Game Of Life in Julia using the distributed Array and the Distributed library to improve it and make it faster than the sequential version, but althoug I have a quad core i7 CPU the programm is…

---

## [Electron.jl - Is there a way to display an html file loaded into a string variable?](https://discourse.julialang.org/t/electron-jl-is-there-a-way-to-display-an-html-file-loaded-into-a-string-variable/10375)

<div class="topic-metadata">

**Author:** [@mwsohn](https://discourse.julialang.org/u/mwsohn)\
**Replies:** 4\
**Last updated:** [October 7, 2018, 1:57pm UTC](https://discourse.julialang.org/t/electron-jl-is-there-a-way-to-display-an-html-file-loaded-into-a-string-variable/10375 "2018-10-07T13:57:50Z")

</div>

I am constructing an html file that I want to display in an electron window. I accumulate the whole html file in a Julia string. I am wondering whether there is a way to display it without first writing it into a file. F…

---

## [Observation is sum of random variables in Turing](https://discourse.julialang.org/t/observation-is-sum-of-random-variables-in-turing/15963)

<div class="topic-metadata">

**Author:** [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)\
**Replies:** 1\
**Last updated:** [October 6, 2018, 9:54pm UTC](https://discourse.julialang.org/t/observation-is-sum-of-random-variables-in-turing/15963 "2018-10-06T21:54:58Z")

</div>

I’m playing around with Turing.jl for the first time and am trying to infer my weight from a sequence of noisy observations. The reason I’m looking at MCMC is I want to experiment with different noise models and not only…

---

## [SCS Warning: (column pointers) not strictly increasing](https://discourse.julialang.org/t/scs-warning-column-pointers-not-strictly-increasing/12563)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 7\
**Last updated:** [October 6, 2018, 3:48pm UTC](https://discourse.julialang.org/t/scs-warning-column-pointers-not-strictly-increasing/12563 "2018-10-06T15:48:26Z")

</div>

Does anyone know what would cause a JuMP (v0.18) model to result in SCS providing the following warning, “WARN: A-\>p (column pointers) not strictly increasing, column 1 empty”?

---

## [Knet vs MXNet for programmer new to ML](https://discourse.julialang.org/t/knet-vs-mxnet-for-programmer-new-to-ml/10073)

<div class="topic-metadata">

**Author:** [@tdh](https://discourse.julialang.org/u/tdh)\
**Replies:** 25\
**Last updated:** [October 6, 2018, 1:48pm UTC](https://discourse.julialang.org/t/knet-vs-mxnet-for-programmer-new-to-ml/10073 "2018-10-06T13:48:11Z")

</div>

I’m an old programmer, but new to deep learning. I’ve done a lot of reading and simple tutorials to get a handle on the basics. I was getting ready to start a deep dive on the MXNet and Gluon documentation and tutorials …

---

## [Extract inverse Hessian representation used by L-BFGS](https://discourse.julialang.org/t/extract-inverse-hessian-representation-used-by-l-bfgs/15948)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 1\
**Last updated:** [October 6, 2018, 8:20am UTC](https://discourse.julialang.org/t/extract-inverse-hessian-representation-used-by-l-bfgs/15948 "2018-10-06T08:20:51Z")

</div>

Is it possible to extract the inverse Hessian representation used by L-BFGS after convergence? I would like to use this approximate implicit representation for some further calculations. I am currently using Optim or NL…

---

## [\[ANN\] LinearFractional.jl](https://discourse.julialang.org/t/ann-linearfractional-jl/12653)

<div class="topic-metadata">

**Author:** [@ianfiske](https://discourse.julialang.org/u/ianfiske)\
**Replies:** 1\
**Last updated:** [October 5, 2018, 6:27pm UTC](https://discourse.julialang.org/t/ann-linearfractional-jl/12653 "2018-10-05T18:27:16Z")

</div>

I’d like to introduce the package LinearFractional: GitHub - nexteraanalytics/LinearFractional.jl: Linear fractional programming with Julia and JuMP. LinearFractional is an extension to JuMP and applies the Charnes-Coo…

---

## [How to remove PyPlot.jl from the distribution of a package that uses it](https://discourse.julialang.org/t/how-to-remove-pyplot-jl-from-the-distribution-of-a-package-that-uses-it/15130)

<div class="topic-metadata">

**Author:** [@MartinOtter](https://discourse.julialang.org/u/MartinOtter)\
**Replies:** 9\
**Last updated:** [October 5, 2018, 5:05pm UTC](https://discourse.julialang.org/t/how-to-remove-pyplot-jl-from-the-distribution-of-a-package-that-uses-it/15130 "2018-10-05T17:05:14Z")

</div>

Maybe someone can give advice how to remove PyPlot from the distribution of a Julia package in which it is used, in particular from package ModiaMath. So, this means “PyPlot” should not be within the Project.toml file of…

---

## [Time-dependent problems with Method of Lines using JuliaDiffEq](https://discourse.julialang.org/t/time-dependent-problems-with-method-of-lines-using-juliadiffeq/15895)

<div class="topic-metadata">

**Author:** [@mzilhao](https://discourse.julialang.org/u/mzilhao)\
**Replies:** 7\
**Last updated:** [October 5, 2018, 3:20pm UTC](https://discourse.julialang.org/t/time-dependent-problems-with-method-of-lines-using-juliadiffeq/15895 "2018-10-05T15:20:46Z")

</div>

I’m writing a code to integrate a time-dependent PDE system that I convert to a large ODE system using Method of Lines. These are very long time integrations, for now in 2+1 dimensions, which I’ll eventually generalize t…

---

## [Bioformats in Julia?](https://discourse.julialang.org/t/bioformats-in-julia/2440)

<div class="topic-metadata">

**Author:** [@yalexand](https://discourse.julialang.org/u/yalexand)\
**Replies:** 66\
**Last updated:** [October 5, 2018, 3:04pm UTC](https://discourse.julialang.org/t/bioformats-in-julia/2440 "2018-10-05T15:04:40Z")

</div>

Hi All, I look how Julia may be suitable for my current project (related to Bioimaging), and as I see, there is no connection to Bioformats. Bioformats is Biomicroscopy format crunching I/O software easily accessible f…

---

## [How can I speed up a batch of numerical integrations from a shared array?](https://discourse.julialang.org/t/how-can-i-speed-up-a-batch-of-numerical-integrations-from-a-shared-array/15925)

<div class="topic-metadata">

**Author:** [@joshdorrington](https://discourse.julialang.org/u/joshdorrington)\
**Replies:** 1\
**Last updated:** [October 5, 2018, 1:40pm UTC](https://discourse.julialang.org/t/how-can-i-speed-up-a-batch-of-numerical-integrations-from-a-shared-array/15925 "2018-10-05T13:40:55Z")

</div>

I am trying to carry out numerical integrations on a large number of initial conditions, storing them in a shared array: D=6 N=1000 T=150 state=SharedArray{Float64}((D,N,T)) state\[:,:,1\]=randn(D,N); @everywhere include…

---

## [Error when building Gtk.jl on Julia 1.0.0, Windows 10](https://discourse.julialang.org/t/error-when-building-gtk-jl-on-julia-1-0-0-windows-10/15717)

<div class="topic-metadata">

**Author:** [@linearlyIndependent](https://discourse.julialang.org/u/linearlyIndependent)\
**Replies:** 0\
**Last updated:** [October 1, 2018, 3:06am UTC](https://discourse.julialang.org/t/error-when-building-gtk-jl-on-julia-1-0-0-windows-10/15717 "2018-10-01T03:06:50Z")

</div>

edit: There was some interference with other programs. Creating a new user or reinstalling Windows solves this issue. I’m trying to build Gtk.jl with Julia 1.0.0 but I keep getting a build error which I cannot resolve.…

---

## [Broadcasting for in-place operations on polynomials (blog post)](https://discourse.julialang.org/t/broadcasting-for-in-place-operations-on-polynomials-blog-post/15754)

<div class="topic-metadata">

**Author:** [@tkluck](https://discourse.julialang.org/u/tkluck)\
**Replies:** 4\
**Last updated:** [October 4, 2018, 5:12pm UTC](https://discourse.julialang.org/t/broadcasting-for-in-place-operations-on-polynomials-blog-post/15754 "2018-10-04T17:12:13Z")

</div>

Some of you may be interested in this post that I just published: TL;DR: I used the new broadcasting feature (thanks @mbauman + others!) to get a significant performance optimization in a setting without axes and indic…

---

## [Error Precompiling AmplNLWriter](https://discourse.julialang.org/t/error-precompiling-amplnlwriter/15836)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 1\
**Last updated:** [October 3, 2018, 6:58pm UTC](https://discourse.julialang.org/t/error-precompiling-amplnlwriter/15836 "2018-10-03T18:58:36Z")

</div>

I’m starting to use Julia 1.0.1 today. I saw that the CouenneNL package only works on 0.6, so i went back to using the AmplNLWriter package. julia\> Pkg.add("AmplNLWriter") WARNING: Base.Pkg is deprecated, run \`using Pkg…

---

## [Modify power flow equation in PowerModels.jl](https://discourse.julialang.org/t/modify-power-flow-equation-in-powermodels-jl/15807)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 2\
**Last updated:** [October 3, 2018, 6:53pm UTC](https://discourse.julialang.org/t/modify-power-flow-equation-in-powermodels-jl/15807 "2018-10-03T18:53:59Z")

</div>

I want to implement a different form of power flow equation, which is based on one trigonometric term instead of two, in PowerModels. In this connection, I have defined new envelopes for trig functions, and could easily …

---

## [Package for map visualizations?](https://discourse.julialang.org/t/package-for-map-visualizations/1875)

<div class="topic-metadata">

**Author:** [@evanfields](https://discourse.julialang.org/u/evanfields)\
**Replies:** 29\
**Last updated:** [October 3, 2018, 12:49pm UTC](https://discourse.julialang.org/t/package-for-map-visualizations/1875 "2018-10-03T12:49:37Z")

</div>

Is there a Julia package with resources for plotting map visualizations - something similar to R’s ggmap, perhaps? I’ve scanned through the Gadfly and Plots documentation and pkg.julialang.org and didn’t see anything obv…

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

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