# Specific Domains

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

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

**Page:** 526

---

## [Releasing processes by restarting the kernel](https://discourse.julialang.org/t/releasing-processes-by-restarting-the-kernel/15066)

<div class="topic-metadata">

**Author:** [@Snir\_Gazit](https://discourse.julialang.org/u/Snir_Gazit)\
**Replies:** 0\
**Last updated:** [September 17, 2018, 1:08pm UTC](https://discourse.julialang.org/t/releasing-processes-by-restarting-the-kernel/15066 "2018-09-17T13:08:26Z")

</div>

Does restarting a kernel (either from the command line or Jupyter) will also release running processes added by addprocs()? By looking at the CPU usage using top from the command line, it appears that this is not the cas…

---

## [System of equation, domain error: initial value setting problem?](https://discourse.julialang.org/t/system-of-equation-domain-error-initial-value-setting-problem/15057)

<div class="topic-metadata">

**Author:** [@axelle](https://discourse.julialang.org/u/axelle)\
**Replies:** 3\
**Last updated:** [September 17, 2018, 12:31pm UTC](https://discourse.julialang.org/t/system-of-equation-domain-error-initial-value-setting-problem/15057 "2018-09-17T12:31:04Z")

</div>

Good afternoon, I have been blocked for a very long time on this so any help would really help me as I am completely stuck there. I am new to Julia so please pardon my errors. I have a system of equations (very simplif…

---

## [Format x-labels using VegaLite](https://discourse.julialang.org/t/format-x-labels-using-vegalite/14811)

<div class="topic-metadata">

**Author:** [@johann.spies](https://discourse.julialang.org/u/johann.spies)\
**Replies:** 6\
**Last updated:** [September 17, 2018, 6:41am UTC](https://discourse.julialang.org/t/format-x-labels-using-vegalite/14811 "2018-09-17T06:41:00Z")

</div>

I have waisted a lot of time unsuccessfully trying to find how to format the x-labels in the following graph to show a year as 2016 in stead of 2, 016 in the following plot: where df is pubyear za\_count world\_coun…

---

## [JuMP: solver errors in reformulating Complex NLP to Real NLP](https://discourse.julialang.org/t/jump-solver-errors-in-reformulating-complex-nlp-to-real-nlp/14977)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 0\
**Last updated:** [September 14, 2018, 8:25pm UTC](https://discourse.julialang.org/t/jump-solver-errors-in-reformulating-complex-nlp-to-real-nlp/14977 "2018-09-14T20:25:46Z")

</div>

I’m trying to convert the following complex NLP to a real NLP and I think I have a formulation issue. Complex problem: \\underset{v, m, f, a} {min} \\quad v^H Q v + f^T f + c\_1^T \\log(m) + c\_2^T a s.t. \\qquad v = m \\ti…

---

## [Is this deleted? yes](https://discourse.julialang.org/t/is-this-deleted-yes/15041)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 0\
**Last updated:** [September 17, 2018, 12:06am UTC](https://discourse.julialang.org/t/is-this-deleted-yes/15041 "2018-09-17T00:06:43Z")

</div>

deleted. bye. deleted

---

## [Lasso/lars](https://discourse.julialang.org/t/lasso-lars/12937)

<div class="topic-metadata">

**Author:** [@Paul\_Soderlind](https://discourse.julialang.org/u/Paul_Soderlind)\
**Replies:** 12\
**Last updated:** [September 17, 2018, 2:56am UTC](https://discourse.julialang.org/t/lasso-lars/12937 "2018-09-17T02:56:32Z")

</div>

Is there a package with a LASSO/LARS algorithm? (I earlier used Lasso.jl, but it downgrades a bunch packages, so I am looking for something else.)

---

## [Plots.jl: interrogating Plot](https://discourse.julialang.org/t/plots-jl-interrogating-plot/15038)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 0\
**Last updated:** [September 16, 2018, 11:26pm UTC](https://discourse.julialang.org/t/plots-jl-interrogating-plot/15038 "2018-09-16T23:26:17Z")

</div>

Dear Plots experts—I want to write a function that calculates the native slope between two points, so that I can put a label there with the same angle. So, I need to find out, from the plot object, what the four corners…

---

## [Some feedback while waiting for pmap](https://discourse.julialang.org/t/some-feedback-while-waiting-for-pmap/14970)

<div class="topic-metadata">

**Author:** [@turtle](https://discourse.julialang.org/u/turtle)\
**Replies:** 9\
**Last updated:** [September 16, 2018, 10:24am UTC](https://discourse.julialang.org/t/some-feedback-while-waiting-for-pmap/14970 "2018-09-16T10:24:03Z")

</div>

I am running a long calculation distributed on several workers and several computers: output = pmap( i-\>iter(i,parameters), 1:1000 ) While waiting I would like to know which i is being processed. How can I get this s…

---

## [ControlSystems -- root locus, etc.?](https://discourse.julialang.org/t/controlsystems-root-locus-etc/14706)

<div class="topic-metadata">

**Author:** [@BLI](https://discourse.julialang.org/u/BLI)\
**Replies:** 14\
**Last updated:** [September 15, 2018, 3:36pm UTC](https://discourse.julialang.org/t/controlsystems-root-locus-etc/14706 "2018-09-15T15:36:53Z")

</div>

I was just playing around with the ControlSystems package. One question and one observation… Q: is there a function for plotting root locus? Of course, it is easy to do this in a for loop, but if there is a function, my…

---

## [Plot drifts as focus in/out of the window](https://discourse.julialang.org/t/plot-drifts-as-focus-in-out-of-the-window/14752)

<div class="topic-metadata">

**Author:** [@LeoK987](https://discourse.julialang.org/u/LeoK987)\
**Replies:** 1\
**Last updated:** [September 15, 2018, 4:50am UTC](https://discourse.julialang.org/t/plot-drifts-as-focus-in-out-of-the-window/14752 "2018-09-15T04:50:58Z")

</div>

$ julia \_ \_ \_ \_(\_)\_ | Documentation: https://docs.julialang.org (\_) | (\_) (\_) | \_ \_ \_| |\_ \_\_ \_ | Type "?" for help, "\]?" for Pkg help. | | | | | | |/ \_\` | | | | |\_| | |…

---

## [DataFrames.jl - Choosing between the core functions and available libraries (Query.jl, DataFramesMeta.jl, etc)](https://discourse.julialang.org/t/dataframes-jl-choosing-between-the-core-functions-and-available-libraries-query-jl-dataframesmeta-jl-etc/14938)

<div class="topic-metadata">

**Author:** [@mdsalerno](https://discourse.julialang.org/u/mdsalerno)\
**Replies:** 10\
**Last updated:** [September 15, 2018, 12:00am UTC](https://discourse.julialang.org/t/dataframes-jl-choosing-between-the-core-functions-and-available-libraries-query-jl-dataframesmeta-jl-etc/14938 "2018-09-15T00:00:57Z")

</div>

In addition to the core functions in DataFrames.jl, I have come across libraries such as Query.jl and DataFramesMeta.jl which provide general querying and manipulation of DataFrames. Are there compelling reasons to use …

---

## [Announcement: Knet-1.1.0 and AutoGrad-1.1.0 have been released with callable object support](https://discourse.julialang.org/t/announcement-knet-1-1-0-and-autograd-1-1-0-have-been-released-with-callable-object-support/14913)

<div class="topic-metadata">

**Author:** [@denizyuret](https://discourse.julialang.org/u/denizyuret)\
**Replies:** 9\
**Last updated:** [September 14, 2018, 7:50pm UTC](https://discourse.julialang.org/t/announcement-knet-1-1-0-and-autograd-1-1-0-have-been-released-with-callable-object-support/14913 "2018-09-14T19:50:49Z")

</div>

I added support for the Flux style of defining models/layers as callable objects. struct Linear; w; b; end (m::Linear)(x) = m.w \* x .+ m.b This way a model/layer acts as a (predict) function as well as a collection of…

---

## [Beta Gadfly available for 1.0](https://discourse.julialang.org/t/beta-gadfly-available-for-1-0/14949)

<div class="topic-metadata">

**Author:** [@bjarthur](https://discourse.julialang.org/u/bjarthur)\
**Replies:** 4\
**Last updated:** [September 14, 2018, 2:43pm UTC](https://discourse.julialang.org/t/beta-gadfly-available-for-1-0/14949 "2018-09-14T14:43:09Z")

</div>

before tagging a release we’d like to get feedback from field testers to see if there are any issues. please checkout the master branch of both Gadfly and Compose.

---

## [Plotting 3D bar graph](https://discourse.julialang.org/t/plotting-3d-bar-graph/12735)

<div class="topic-metadata">

**Author:** [@muriloasouza](https://discourse.julialang.org/u/muriloasouza)\
**Replies:** 7\
**Last updated:** [September 14, 2018, 7:22am UTC](https://discourse.julialang.org/t/plotting-3d-bar-graph/12735 "2018-09-14T07:22:41Z")

</div>

Hello, is there anyway i can plot a 3D bar graph with using StatPlots? Like this one: In this case, i got a 17x25 matrix. If thats not possible, wich package can do it?

---

## [Adding JuMP variable via list of tuples (Specify dimensions using tuples)](https://discourse.julialang.org/t/adding-jump-variable-via-list-of-tuples-specify-dimensions-using-tuples/14867)

<div class="topic-metadata">

**Author:** [@skam](https://discourse.julialang.org/u/skam)\
**Replies:** 1\
**Last updated:** [September 14, 2018, 4:05am UTC](https://discourse.julialang.org/t/adding-jump-variable-via-list-of-tuples-specify-dimensions-using-tuples/14867 "2018-09-14T04:05:12Z")

</div>

Hi, I was wondering whether there is a smart solution for adding variables with “nonsquare” dimensions. A minimal example: using JuMP testset=\[("a","b"), ("c","d")\] indices=\["a","b","c","d"\] m = Model() v=@variable…

---

## [JuMP: AffExpr error](https://discourse.julialang.org/t/jump-affexpr-error/14921)

<div class="topic-metadata">

**Author:** [@jacob-roth](https://discourse.julialang.org/u/jacob-roth)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 11:21pm UTC](https://discourse.julialang.org/t/jump-affexpr-error/14921 "2018-09-13T23:21:28Z")

</div>

I’m using Julia v0.6.4 on Ubuntu (14.04) and am getting an affine expression error in the following toy model: using JuMP using Ipopt model = Model(solver=IpoptSolver()) ## params N = 5 idx1 = \[1, 2\] idx2 = \[5, 4\] ##…

---

## [Suggestions for styling Julia/JuMP code in a Latex?](https://discourse.julialang.org/t/suggestions-for-styling-julia-jump-code-in-a-latex/6269)

<div class="topic-metadata">

**Author:** [@ccoffrin](https://discourse.julialang.org/u/ccoffrin)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 7:30pm UTC](https://discourse.julialang.org/t/suggestions-for-styling-julia-jump-code-in-a-latex/6269 "2018-09-13T19:30:42Z")

</div>

Are there any suggestions around how to best style Julia/JuMP code in Latex?

---

## [How to generate graph?](https://discourse.julialang.org/t/how-to-generate-graph/14911)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 6\
**Last updated:** [September 13, 2018, 7:06pm UTC](https://discourse.julialang.org/t/how-to-generate-graph/14911 "2018-09-13T19:06:20Z")

</div>

How to generate graph of a mathematical model? I’ve already tried using PyPlot, and I still could not. using JuMP, Cbc m = Model(solver = CbcSolver()) #Declaração das variáveis @defVar(m, x1 \>= 0) @defVar(m, x2 \>= 0)…

---

## [Large dataframe. fast row selection](https://discourse.julialang.org/t/large-dataframe-fast-row-selection/14849)

<div class="topic-metadata">

**Author:** [@grandemundo82](https://discourse.julialang.org/u/grandemundo82)\
**Replies:** 5\
**Last updated:** [September 13, 2018, 5:49pm UTC](https://discourse.julialang.org/t/large-dataframe-fast-row-selection/14849 "2018-09-13T17:49:23Z")

</div>

I have a very large dataframe and would like to know the fastest way to select a subset of rows. I tried Query package. It is elegant but really slow compared to ugly/brute force solution. Any hints? Thank you. Much appr…

---

## [Plots.jl : Some Odd Attribute Behavior](https://discourse.julialang.org/t/plots-jl-some-odd-attribute-behavior/14786)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 8\
**Last updated:** [September 13, 2018, 3:40pm UTC](https://discourse.julialang.org/t/plots-jl-some-odd-attribute-behavior/14786 "2018-09-13T15:40:22Z")

</div>

macos, julia 1.0.0. julia\> using Plots; x= 1:0.1:10; Y= \[ sin.(x), cos.(x) \]; julia\> plot( x, Y, tickfontrotation=50 ) julia\> savefig("tickfontrotation.png") I am looking the output of the above, and commands like ti…

---

## [Package use, CUDA stream support, etc](https://discourse.julialang.org/t/package-use-cuda-stream-support-etc/14868)

<div class="topic-metadata">

**Author:** [@drinkwell](https://discourse.julialang.org/u/drinkwell)\
**Replies:** 5\
**Last updated:** [September 13, 2018, 2:59pm UTC](https://discourse.julialang.org/t/package-use-cuda-stream-support-etc/14868 "2018-09-13T14:59:02Z")

</div>

Hi, I’m just starting to think about writing some Julia GPU code and am trying to bottom out a few things so would appreciate some pointers. First off, what are the currently preferred packages to use? I’ve Nvidia hard…

---

## [Single value in DataFrame-structure](https://discourse.julialang.org/t/single-value-in-dataframe-structure/14904)

<div class="topic-metadata">

**Author:** [@sebastianskejoe](https://discourse.julialang.org/u/sebastianskejoe)\
**Replies:** 2\
**Last updated:** [September 13, 2018, 12:47pm UTC](https://discourse.julialang.org/t/single-value-in-dataframe-structure/14904 "2018-09-13T12:47:16Z")

</div>

I use a variable v to index one or more columns of a DataFrame. Sometimes v is a Symbol and sometimes v is an array of symbols. Is there a single syntax to always return the value(s) in a DataFrame-structure, even when v …

---

## [Flux four errors in Julia v0.7 none in v0.6.4](https://discourse.julialang.org/t/flux-four-errors-in-julia-v0-7-none-in-v0-6-4/14793)

<div class="topic-metadata">

**Author:** [@hskramer](https://discourse.julialang.org/u/hskramer)\
**Replies:** 1\
**Last updated:** [September 13, 2018, 5:48am UTC](https://discourse.julialang.org/t/flux-four-errors-in-julia-v0-7-none-in-v0-6-4/14793 "2018-09-13T05:48:01Z")

</div>

I’m starting my migration from v0.6.4 and when testing Flux it had four errors all related to to cudnn.jl with same message “Got exception ErrorException(“scalar getindex is disabled”) outside of a @test” . I tested all…

---

## [Missing or NaN Data in GLM (e.g., in DataFrame, @formula)](https://discourse.julialang.org/t/missing-or-nan-data-in-glm-e-g-in-dataframe-formula/14783)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 10\
**Last updated:** [September 12, 2018, 2:26pm UTC](https://discourse.julialang.org/t/missing-or-nan-data-in-glm-e-g-in-dataframe-formula/14783 "2018-09-12T14:26:29Z")

</div>

If a series contains missing or NaN values, R will ignore the missing observations in its lm command. This is convenient when one runs different models, which have different observations due to variations in whether the…

---

## [Calling Julia from HPC code](https://discourse.julialang.org/t/calling-julia-from-hpc-code/14680)

<div class="topic-metadata">

**Author:** [@nurban](https://discourse.julialang.org/u/nurban)\
**Replies:** 3\
**Last updated:** [September 11, 2018, 7:05pm UTC](https://discourse.julialang.org/t/calling-julia-from-hpc-code/14680 "2018-09-11T19:05:22Z")

</div>

I’m interested in the possibility of writing Julia functions as subroutines that can be invoked from a modern HPC code (i.e. something written in Fortran or C++, often with a compiler tuned to a specific supercomputer ar…

---

## [Computing eigenvalues/eigenvectors using GPU?](https://discourse.julialang.org/t/computing-eigenvalues-eigenvectors-using-gpu/12396)

<div class="topic-metadata">

**Author:** [@Noel\_Araujo](https://discourse.julialang.org/u/Noel_Araujo)\
**Replies:** 9\
**Last updated:** [September 11, 2018, 6:14pm UTC](https://discourse.julialang.org/t/computing-eigenvalues-eigenvectors-using-gpu/12396 "2018-09-11T18:14:29Z")

</div>

Hi everyone I have a Vega RX 64 and I would like to speed up eigenvalues decomposition on it. Does anybody know a (simple) solution with Julia ?

---

## [Syntactical Question about optimize](https://discourse.julialang.org/t/syntactical-question-about-optimize/14771)

<div class="topic-metadata">

**Author:** [@OvidiusCicero](https://discourse.julialang.org/u/OvidiusCicero)\
**Replies:** 3\
**Last updated:** [September 11, 2018, 1:55pm UTC](https://discourse.julialang.org/t/syntactical-question-about-optimize/14771 "2018-09-11T13:55:23Z")

</div>

Hi, someone not knowing much about optimization here… Why does this code searching for the minimum of the two-dimensional paraboloid optimize(x-\>x\[1\]^2+x\[2\]^2,\[1.0, 1.0\]) work without given algorithm whilst this one-d…

---

## [CUDAnative question: "recursion not currently supported error" when running reduce.jl example](https://discourse.julialang.org/t/cudanative-question-recursion-not-currently-supported-error-when-running-reduce-jl-example/14776)

<div class="topic-metadata">

**Author:** [@MeBlueDolphin](https://discourse.julialang.org/u/MeBlueDolphin)\
**Replies:** 1\
**Last updated:** [September 11, 2018, 7:57am UTC](https://discourse.julialang.org/t/cudanative-question-recursion-not-currently-supported-error-when-running-reduce-jl-example/14776 "2018-09-11T07:57:05Z")

</div>

I am trying to run your “reduce.jl” example with julia 0.7.0 on my PC laptop which has the 940MX card. I am getting the following “recursion not supported error:” julia\> include(“verify\_reduce.jl”) ERROR: LoadError: GP…

---

## [Use Dynamic Arrays (Vectors) during Multi-threading](https://discourse.julialang.org/t/use-dynamic-arrays-vectors-during-multi-threading/14759)

<div class="topic-metadata">

**Author:** [@SohamTamb](https://discourse.julialang.org/u/SohamTamb)\
**Replies:** 7\
**Last updated:** [September 10, 2018, 11:50pm UTC](https://discourse.julialang.org/t/use-dynamic-arrays-vectors-during-multi-threading/14759 "2018-09-10T23:50:16Z")

</div>

Consider a situation where each thread is performing push! on a unique vector. i.e. no 2 threads can edit the same vector. This can cause a race condition because push! can invoke memory reallocation. If 2 different t…

---

## [Incomplete Attribute Docs for Plots.jl](https://discourse.julialang.org/t/incomplete-attribute-docs-for-plots-jl/14779)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 2\
**Last updated:** [September 10, 2018, 8:27pm UTC](https://discourse.julialang.org/t/incomplete-attribute-docs-for-plots-jl/14779 "2018-09-10T20:27:00Z")

</div>

I am looking at plotattr(). I understand many but not all attributes. The docs in Overview · Plots are not complete (e.g., for Plots, it is link, overwrite\_figure, pos, show, size, thickness\_scaling, window\_title). So…

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

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