# Specific Domains

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

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

**Page:** 524

---

## [Transparent surfaces in Makie.jl](https://discourse.julialang.org/t/transparent-surfaces-in-makie-jl/15775)

<div class="topic-metadata">

**Author:** [@kellertuer](https://discourse.julialang.org/u/kellertuer)\
**Replies:** 4\
**Last updated:** [October 3, 2018, 12:46pm UTC](https://discourse.julialang.org/t/transparent-surfaces-in-makie-jl/15775 "2018-10-03T12:46:10Z")

</div>

I just got to know Makie.jl and I am enjoying its consistency. I am trying to plot points on the sphere, where the sphere should be a little transparent, since the points on the opposite side should be a little visible. …

---

## [UndefVarError in JuMP constraint](https://discourse.julialang.org/t/undefvarerror-in-jump-constraint/15701)

<div class="topic-metadata">

**Author:** [@chisquared](https://discourse.julialang.org/u/chisquared)\
**Replies:** 4\
**Last updated:** [October 3, 2018, 9:20am UTC](https://discourse.julialang.org/t/undefvarerror-in-jump-constraint/15701 "2018-10-03T09:20:22Z")

</div>

I’m using the dev version of JuMP (primarily for compatibility with Julia 1.0) with GLPK, and I encountered this error which I can’t figure out: ERROR: LoadError: UndefVarError: ##366 not defined Stacktrace: \[1\] macro …

---

## [Gadly - Resizing and zooming into plots](https://discourse.julialang.org/t/gadly-resizing-and-zooming-into-plots/15813)

<div class="topic-metadata">

**Author:** [@mdsalerno](https://discourse.julialang.org/u/mdsalerno)\
**Replies:** 2\
**Last updated:** [October 3, 2018, 8:14am UTC](https://discourse.julialang.org/t/gadly-resizing-and-zooming-into-plots/15813 "2018-10-03T08:14:08Z")

</div>

I’m running Julia 1.0.1 and using Atom/Juno. I’d like to know how to resize or zoom in and out of images as I find they use only a small cross-section in the plots pane which can make them difficult to interpret in some…

---

## [Object detecion with 10 lines of code](https://discourse.julialang.org/t/object-detecion-with-10-lines-of-code/11748)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 3\
**Last updated:** [October 3, 2018, 7:10am UTC](https://discourse.julialang.org/t/object-detecion-with-10-lines-of-code/11748 "2018-10-03T07:10:48Z")

</div>

This is a good article. Does anyone have a feel on how easy it would be to port to Julia? Looking at the github it makes use of many libraries which are already available in Julia

---

## [New package ASDF.jl](https://discourse.julialang.org/t/new-package-asdf-jl/15808)

<div class="topic-metadata">

**Author:** [@schnetter](https://discourse.julialang.org/u/schnetter)\
**Replies:** 0\
**Last updated:** [October 3, 2018, 12:39am UTC](https://discourse.julialang.org/t/new-package-asdf-jl/15808 "2018-10-03T00:39:55Z")

</div>

I have created a package ASDF.jl https://github.com/eschnett/ASDF.jl that implements the ASDF (Advanced Scientific Data Format) file format https://github.com/spacetelescope/asdf-standard. This file format has similariti…

---

## [InitError with PyPlot on Julia 1.0.1](https://discourse.julialang.org/t/initerror-with-pyplot-on-julia-1-0-1/15792)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 1\
**Last updated:** [October 2, 2018, 8:34pm UTC](https://discourse.julialang.org/t/initerror-with-pyplot-on-julia-1-0-1/15792 "2018-10-02T20:34:00Z")

</div>

I posted this https://github.com/JuliaPy/PyPlot.jl/issues/394 in case it’s a genuine issue, but since upgrading to 1.0.1, something has changed and my PyPlot module generates a stack trace (see the link).

---

## [Does anyone know how to retrieve the number of generated cuts in the informational callback?](https://discourse.julialang.org/t/does-anyone-know-how-to-retrieve-the-number-of-generated-cuts-in-the-informational-callback/15370)

<div class="topic-metadata">

**Author:** [@CBongiova](https://discourse.julialang.org/u/CBongiova)\
**Replies:** 9\
**Last updated:** [October 2, 2018, 9:44am UTC](https://discourse.julialang.org/t/does-anyone-know-how-to-retrieve-the-number-of-generated-cuts-in-the-informational-callback/15370 "2018-10-02T09:44:40Z")

</div>

Hi, I would like to retrieve the information contained at the end of the Gurobi log (the summary section MIP Logging) In particular, I am interested in saving the number of cuts applied to my MIP (MIP\_CUTCNT : http://w…

---

## [Announce: A different way to read JSON data, LazyJSON.jl](https://discourse.julialang.org/t/announce-a-different-way-to-read-json-data-lazyjson-jl/9046)

<div class="topic-metadata">

**Author:** [@samoconnor](https://discourse.julialang.org/u/samoconnor)\
**Replies:** 19\
**Last updated:** [October 2, 2018, 2:07am UTC](https://discourse.julialang.org/t/announce-a-different-way-to-read-json-data-lazyjson-jl/9046 "2018-10-02T02:07:34Z")

</div>

LazyJSON.jl implements yet another a different way of reading JSON data in Julia. I wrote this as a proof of concept and it is probably not production ready, but if you work with JSON data in a performance sensitive appl…

---

## [CSV.write() to Unix Pipe (e.g., lz4 or bzip2)](https://discourse.julialang.org/t/csv-write-to-unix-pipe-e-g-lz4-or-bzip2/15759)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 6\
**Last updated:** [October 1, 2018, 11:32pm UTC](https://discourse.julialang.org/t/csv-write-to-unix-pipe-e-g-lz4-or-bzip2/15759 "2018-10-01T23:32:43Z")

</div>

I am wondering whether CSV.write() can write to a different non-gzip compressor. julia\> using DataFrames, CSV julia\> textbz2= open("test.txt.bz2", "w") IOStream(\<file test.txt.bz2\>) julia\> open( \`bzip2 -c\`, "w", text…

---

## [Memory Allocation of Channel Buffers of type Array](https://discourse.julialang.org/t/memory-allocation-of-channel-buffers-of-type-array/15655)

<div class="topic-metadata">

**Author:** [@rohanmclure](https://discourse.julialang.org/u/rohanmclure)\
**Replies:** 0\
**Last updated:** [September 29, 2018, 7:55am UTC](https://discourse.julialang.org/t/memory-allocation-of-channel-buffers-of-type-array/15655 "2018-09-29T07:55:27Z")

</div>

I have distributed workers wishing to perform an in-place distributed transpose. In this particular example, each worker has access to a ‘column block’ of a dense matrix, and workers must send off-diagonal sections of th…

---

## [Is post deleted deleted deleted](https://discourse.julialang.org/t/is-post-deleted-deleted-deleted/15746)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 0\
**Last updated:** [October 1, 2018, 5:36pm UTC](https://discourse.julialang.org/t/is-post-deleted-deleted-deleted/15746 "2018-10-01T17:36:57Z")

</div>

deleted deleteddeleteddeleteddeleted

---

## [Knet 1.1.1 is out: performance improvements, new monitoring tools, new gpu memory manager](https://discourse.julialang.org/t/knet-1-1-1-is-out-performance-improvements-new-monitoring-tools-new-gpu-memory-manager/15745)

<div class="topic-metadata">

**Author:** [@denizyuret](https://discourse.julialang.org/u/denizyuret)\
**Replies:** 0\
**Last updated:** [October 1, 2018, 5:20pm UTC](https://discourse.julialang.org/t/knet-1-1-1-is-out-performance-improvements-new-monitoring-tools-new-gpu-memory-manager/15745 "2018-10-01T17:20:27Z")

</div>

Knet 1.1.0 introduced the new interface allowing the use of structs in models and callable objects for model / layer definitions. Knet 1.1.1 focuses on performance. There is a number of performance improvements the most…

---

## [Row wise operations in DataFrames](https://discourse.julialang.org/t/row-wise-operations-in-dataframes/15682)

<div class="topic-metadata">

**Author:** [@cosmia](https://discourse.julialang.org/u/cosmia)\
**Replies:** 3\
**Last updated:** [September 30, 2018, 7:29pm UTC](https://discourse.julialang.org/t/row-wise-operations-in-dataframes/15682 "2018-09-30T19:29:24Z")

</div>

Hey guys, I have a very big DataFrame, where I want to do row wise linear algebra operations if certain conditions are met. What i need is that for every row, check if column (variable) is 1 or 0, and for each case, do …

---

## [Problem with unzippig file and reading it with CSV](https://discourse.julialang.org/t/problem-with-unzippig-file-and-reading-it-with-csv/15645)

<div class="topic-metadata">

**Author:** [@alejandromerchan](https://discourse.julialang.org/u/alejandromerchan)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 5:35am UTC](https://discourse.julialang.org/t/problem-with-unzippig-file-and-reading-it-with-csv/15645 "2018-09-29T05:35:57Z")

</div>

I’m having issues now with a code that was working before and will appreciate any help to solve this, because despite some comments from @quinnj on the Slack, I still haven’t been able to figure it out. I’m downloading …

---

## [When solving non-diagonal noise SDE: Function g called twice in each timestep, changing u inbetween?](https://discourse.julialang.org/t/when-solving-non-diagonal-noise-sde-function-g-called-twice-in-each-timestep-changing-u-inbetween/15618)

<div class="topic-metadata">

**Author:** [@Torkel](https://discourse.julialang.org/u/Torkel)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 9:39pm UTC](https://discourse.julialang.org/t/when-solving-non-diagonal-noise-sde-function-g-called-twice-in-each-timestep-changing-u-inbetween/15618 "2018-09-28T21:39:23Z")

</div>

In short: When making solving SDEs the noise function seems to be called twice in every timestep, with the variable values being changed in between. This causes out of domain errors when my positive\_domain callback canno…

---

## [Convert external to internal indexing in PowerModels.jl](https://discourse.julialang.org/t/convert-external-to-internal-indexing-in-powermodels-jl/15630)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 1\
**Last updated:** [September 28, 2018, 7:49pm UTC](https://discourse.julialang.org/t/convert-external-to-internal-indexing-in-powermodels-jl/15630 "2018-09-28T19:49:52Z")

</div>

Some Matpower test systems have their own indexing feature (e.g., nesta\_case73\_ieee\_rts) in which bus indexing is not compatible with actual bus number. Matpower has provided the ext2int script which converts the test ca…

---

## [\[JuMP\] Sectionwise definition of matrix with @expression](https://discourse.julialang.org/t/jump-sectionwise-definition-of-matrix-with-expression/15639)

<div class="topic-metadata">

**Author:** [@korpuskel](https://discourse.julialang.org/u/korpuskel)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 7:21pm UTC](https://discourse.julialang.org/t/jump-sectionwise-definition-of-matrix-with-expression/15639 "2018-09-28T19:21:52Z")

</div>

I need to define an expression/variable that resembles a matrix. This matrix is defined sectionwise, so I tried: @expression(m, O\[b=1:n, i=1:n, j=1:n\], 0) @expression(m, O\[b=1:n, i=n+1, j=1:n\], 0.5T\_i\[b\]\[j\]) @expres…

---

## [Generic code, iterative methods and automatic differentiation](https://discourse.julialang.org/t/generic-code-iterative-methods-and-automatic-differentiation/15528)

<div class="topic-metadata">

**Author:** [@Bernard\_GODARD](https://discourse.julialang.org/u/Bernard_GODARD)\
**Replies:** 3\
**Last updated:** [September 28, 2018, 4:37pm UTC](https://discourse.julialang.org/t/generic-code-iterative-methods-and-automatic-differentiation/15528 "2018-09-28T16:37:08Z")

</div>

In Julia it is quite easy to write generic code that can be used with many numbers type (eg BigFloat) or many automatic differentiation algorithms. However if this code contains some iterative parts eg such as: find t s…

---

## [How to set series colors from parameter?](https://discourse.julialang.org/t/how-to-set-series-colors-from-parameter/15582)

<div class="topic-metadata">

**Author:** [@martinzh](https://discourse.julialang.org/u/martinzh)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 4:16pm UTC](https://discourse.julialang.org/t/how-to-set-series-colors-from-parameter/15582 "2018-09-28T16:16:35Z")

</div>

I’m plotting different series (from the columns in a 2D Array) and I would like to set the color of each series according to a parameter. In the example, I would like to set the color of the line at the bottom to the bla…

---

## [Anyone can help explain about these statements?](https://discourse.julialang.org/t/anyone-can-help-explain-about-these-statements/15545)

<div class="topic-metadata">

**Author:** [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Replies:** 12\
**Last updated:** [September 28, 2018, 1:25am UTC](https://discourse.julialang.org/t/anyone-can-help-explain-about-these-statements/15545 "2018-09-28T01:25:05Z")

</div>

I am trying to find out an issue that causes julia to freeze when my large script uses with new releases of CSV and Tables. I tried to cook up simple demo code but none could reproduce the issue. So I tried to dig into…

---

## [Nobs() -\> Float or Int?](https://discourse.julialang.org/t/nobs-float-or-int/15485)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 5\
**Last updated:** [September 27, 2018, 4:28pm UTC](https://discourse.julialang.org/t/nobs-float-or-int/15485 "2018-09-27T16:28:26Z")

</div>

minor question: shouldn’t nobs() return an integer for a GLM lm model? julia\> y= \[1:10;\] ; X= hcat( fill(1,10), y.^2, y.^3 ); julia\> nobs( GLM.lm(X,y) ) 10.0 are there cases where this can become a fraction?

---

## [How does the future of ParallelAccelerator look like?](https://discourse.julialang.org/t/how-does-the-future-of-parallelaccelerator-look-like/15510)

<div class="topic-metadata">

**Author:** [@MiguelGoncalves](https://discourse.julialang.org/u/MiguelGoncalves)\
**Replies:** 3\
**Last updated:** [September 27, 2018, 9:36am UTC](https://discourse.julialang.org/t/how-does-the-future-of-parallelaccelerator-look-like/15510 "2018-09-27T09:36:25Z")

</div>

It seems I cannot add ParallelAccelerator to Julia 1.0 because it requires version 0.6. That being said, the last commit to the package is from October 2017. Are there any plans for: making the package compatible with …

---

## [Memory usage in JuMP model](https://discourse.julialang.org/t/memory-usage-in-jump-model/15475)

<div class="topic-metadata">

**Author:** [@Reza](https://discourse.julialang.org/u/Reza)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 2:54am UTC](https://discourse.julialang.org/t/memory-usage-in-jump-model/15475 "2018-09-27T02:54:52Z")

</div>

Hi I am using JuMP model calling CPLEX 12.6 solver for my problem. My problem is like that I am running a loop and at each iteration, I am solving a convex optimization problem by calling CPLEX in JuMP. At each iteratio…

---

## [Getting variable values in PowerModels.jl](https://discourse.julialang.org/t/getting-variable-values-in-powermodels-jl/15192)

<div class="topic-metadata">

**Author:** [@Rasoul](https://discourse.julialang.org/u/Rasoul)\
**Replies:** 20\
**Last updated:** [September 26, 2018, 11:39pm UTC](https://discourse.julialang.org/t/getting-variable-values-in-powermodels-jl/15192 "2018-09-26T23:39:48Z")

</div>

Does anyone know how I can get the value of the lifted variables (e.g., \_td) in PowerModels.jl? Thanks in advance!

---

## [Vtk.js for web visualization](https://discourse.julialang.org/t/vtk-js-for-web-visualization/15497)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 2\
**Last updated:** [September 26, 2018, 2:21pm UTC](https://discourse.julialang.org/t/vtk-js-for-web-visualization/15497 "2018-09-26T14:21:37Z")

</div>

I recently saw itk-vtk-viewer ITK/VTK Image Viewer is a Web based viewer for loading 2D/3D images and more… Looks like there has been activity in writing VTK files with Julia, but it stalled a year ago. Is the philosop…

---

## [Optim.jl returns \`Stopped by an increasing objective: true\`](https://discourse.julialang.org/t/optim-jl-returns-stopped-by-an-increasing-objective-true/15428)

<div class="topic-metadata">

**Author:** [@gasagna](https://discourse.julialang.org/u/gasagna)\
**Replies:** 5\
**Last updated:** [September 26, 2018, 11:54am UTC](https://discourse.julialang.org/t/optim-jl-returns-stopped-by-an-increasing-objective-true/15428 "2018-09-26T11:54:56Z")

</div>

Hi, Under exactly what conditions does optimize in Optim.jl return Stopped by an increasing objective: true? I have a fairly complicated optimisation problem using LBFGS which terminates at some point with this stateme…

---

## [Why does RemoteChannel have few constructors.](https://discourse.julialang.org/t/why-does-remotechannel-have-few-constructors/15502)

<div class="topic-metadata">

**Author:** [@YonghyunRyu](https://discourse.julialang.org/u/YonghyunRyu)\
**Replies:** 1\
**Last updated:** [September 26, 2018, 9:30am UTC](https://discourse.julialang.org/t/why-does-remotechannel-have-few-constructors/15502 "2018-09-26T09:30:49Z")

</div>

The constructor that creates a RemoteChannel with a specific size and type requires a function as the first argument like RemoteChannel(()-\>Channel{Int}(10), pid). Using lambda functions as parameters is inconvenient be…

---

## [Data spread over multiple files](https://discourse.julialang.org/t/data-spread-over-multiple-files/15464)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 3\
**Last updated:** [September 26, 2018, 4:55am UTC](https://discourse.julialang.org/t/data-spread-over-multiple-files/15464 "2018-09-26T04:55:45Z")

</div>

Hi, I would like to ask, if someone has dealt in principle manner with problem, where the data for machine learning is spread over several files. I have once defined an iterator, which takes loadfunction and list of fi…

---

## [Unexpected behavior of Flux.jl](https://discourse.julialang.org/t/unexpected-behavior-of-flux-jl/15460)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 0\
**Last updated:** [September 25, 2018, 9:21am UTC](https://discourse.julialang.org/t/unexpected-behavior-of-flux-jl/15460 "2018-09-25T09:21:39Z")

</div>

julia\> f(x) = 3x^2 + 2x +1 f (generic function with 1 method) julia\> Tracker.gradient(f,-2) ERROR: DomainError with log: -2.0 will only return a complex Is this documented somewhere and I’m missing it?

---

## [Trouble understanding rem\_pio2\_kernel](https://discourse.julialang.org/t/trouble-understanding-rem-pio2-kernel/15409)

<div class="topic-metadata">

**Author:** [@dpsanders](https://discourse.julialang.org/u/dpsanders)\
**Replies:** 2\
**Last updated:** [September 24, 2018, 4:21pm UTC](https://discourse.julialang.org/t/trouble-understanding-rem-pio2-kernel/15409 "2018-09-24T16:21:31Z")

</div>

I’m having trouble understanding Base.Math.rem\_pio2\_kernel. Consider the following: julia\> const rempio2 = Base.Math.rem\_pio2\_kernel rem\_pio2\_kernel (generic function with 2 methods) julia\> rempio2(0.0) (-1, Base.Math…

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

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