# Latest

**URL:** https://discourse.julialang.org/latest.md?page=1950

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

**Page:** 1951

---

## [How can I solve error UndefVarError while I was using describe for DataFrames](https://discourse.julialang.org/t/how-can-i-solve-error-undefvarerror-while-i-was-using-describe-for-dataframes/26925)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 4\
**Last updated:** [July 30, 2019, 7:41am UTC](https://discourse.julialang.org/t/how-can-i-solve-error-undefvarerror-while-i-was-using-describe-for-dataframes/26925 "2019-07-30T07:41:45Z")

</div>

Hi, I am trying to use describe() function for DataFrame like describe(data). But I am getting error “UndefVarError: describe not defined”. What is the reason? I am using Atom with julia version 1.1.0. I am new to Juli…

---

## [Atom Julia bug - Windows 10](https://discourse.julialang.org/t/atom-julia-bug-windows-10/26945)

<div class="topic-metadata">

**Author:** [@Honza9723](https://discourse.julialang.org/u/Honza9723)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 7:24am UTC](https://discourse.julialang.org/t/atom-julia-bug-windows-10/26945 "2019-07-30T07:24:43Z")

</div>

Dear all, today, my Atom editor automatically upgraded to version 1.39.1. As it discussed in the previous thread, Julia extension of Atom stopped working. I tried to install (according to previous thread) 1.38 version o…

---

## [Gradient of a normal (NOT vector) function that has vector arguments](https://discourse.julialang.org/t/gradient-of-a-normal-not-vector-function-that-has-vector-arguments/26621)

<div class="topic-metadata">

**Author:** [@Ujku\_KU](https://discourse.julialang.org/u/Ujku_KU)\
**Replies:** 10\
**Last updated:** [July 30, 2019, 1:52am UTC](https://discourse.julialang.org/t/gradient-of-a-normal-not-vector-function-that-has-vector-arguments/26621 "2019-07-30T01:52:19Z")

</div>

Hi guys, I am trying to implement a code in Julia (it’s my first in Julia) and I am having problems in computing the gradient of a function with vector arguments. I would like to compute the derivative in relation with…

---

## [Difference in sparsity pattern caused by @NLconstraint and @constraint in JuMP](https://discourse.julialang.org/t/difference-in-sparsity-pattern-caused-by-nlconstraint-and-constraint-in-jump/26919)

<div class="topic-metadata">

**Author:** [@Ksun46](https://discourse.julialang.org/u/Ksun46)\
**Replies:** 4\
**Last updated:** [July 30, 2019, 1:48am UTC](https://discourse.julialang.org/t/difference-in-sparsity-pattern-caused-by-nlconstraint-and-constraint-in-jump/26919 "2019-07-30T01:48:32Z")

</div>

Hi all, I am solving a nonlinear problem using JuMP and IPOPT. All my constraints are linear or degree 2 polynomials. I firstly try to add nonlinear constraints using @NLconstraint and here is the summary of IPOPT Thi…

---

## ["Diversity 101" - Compiled Resources from the Astronomy Community](https://discourse.julialang.org/t/diversity-101-compiled-resources-from-the-astronomy-community/26881)

<div class="topic-metadata">

**Author:** [@mihalybaci](https://discourse.julialang.org/u/mihalybaci)\
**Replies:** 3\
**Last updated:** [July 30, 2019, 12:09am UTC](https://discourse.julialang.org/t/diversity-101-compiled-resources-from-the-astronomy-community/26881 "2019-07-30T00:09:20Z")

</div>

Hi all, One of my takeaways from JuliaCon 2019 was how the Julia community at-large should move forward on issues of diversity, equity, and inclusion. As a (former) member of the astro community, I thought I would share…

---

## [Summer school on modeling complex networks in Julia](https://discourse.julialang.org/t/summer-school-on-modeling-complex-networks-in-julia/22712)

<div class="topic-metadata">

**Author:** [@bkamins](https://discourse.julialang.org/u/bkamins)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 10:30pm UTC](https://discourse.julialang.org/t/summer-school-on-modeling-complex-networks-in-julia/22712 "2019-07-29T22:30:57Z")

</div>

On August 19 - 23, 2019 at Fields Institute (Toronto, Canada) a summer school on data science tools and techniques in modelling complex networks will be held. Half of the courses will use Julia. Registration will open s…

---

## [Trying to find GUI options for Julia (windows + linux)](https://discourse.julialang.org/t/trying-to-find-gui-options-for-julia-windows-linux/14575)

<div class="topic-metadata">

**Author:** [@mark](https://discourse.julialang.org/u/mark)\
**Replies:** 17\
**Last updated:** [July 29, 2019, 10:17pm UTC](https://discourse.julialang.org/t/trying-to-find-gui-options-for-julia-windows-linux/14575 "2019-07-29T22:17:19Z")

</div>

I’m trying to find out what options there are for creating GUI applications with Julia. When I visit the Julia Observer GUI category it lists just 7, some of which are web UIs. It doesn’t list Gtk or any windows native G…

---

## [Maxpool in Flux 0.8](https://discourse.julialang.org/t/maxpool-in-flux-0-8/26956)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 9:28pm UTC](https://discourse.julialang.org/t/maxpool-in-flux-0-8/26956 "2019-07-29T21:28:51Z")

</div>

This line is from the model-zoo, mnist, conv example (source: https://github.com/FluxML/model-zoo/blob/42967f6767beee4092348fd41b1af33442b75924/vision/mnist/conv.jl#L44): Chain(..., x -\> maxpool(x, (2,2)), ...) It does…

---

## [Setting Variables from a Parameters Text File](https://discourse.julialang.org/t/setting-variables-from-a-parameters-text-file/26946)

<div class="topic-metadata">

**Author:** [@dburch](https://discourse.julialang.org/u/dburch)\
**Replies:** 5\
**Last updated:** [July 29, 2019, 9:24pm UTC](https://discourse.julialang.org/t/setting-variables-from-a-parameters-text-file/26946 "2019-07-29T21:24:10Z")

</div>

Is it possible to do this and how would I do it? I have a file populated with variable name, variable type, and variable value. name,type,value var1,Int64,44 var2,Float64,1.5 var3,String,Hello World I want to use…

---

## [MixedModels v2.0.0](https://discourse.julialang.org/t/mixedmodels-v2-0-0/26858)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 7\
**Last updated:** [July 29, 2019, 8:16pm UTC](https://discourse.julialang.org/t/mixedmodels-v2-0-0/26858 "2019-07-29T20:16:09Z")

</div>

I plan to release v"2.0.0" of the MixedModels package on Aug. 1. This version is compatible with StatsModels v"0.6.0" (a.k.a. Terms2.0), which allows for much greater flexibility in formula specification. Also, the int…

---

## [Filling a preallocated array without allocations](https://discourse.julialang.org/t/filling-a-preallocated-array-without-allocations/26896)

<div class="topic-metadata">

**Author:** [@guilhermebodin](https://discourse.julialang.org/u/guilhermebodin)\
**Replies:** 7\
**Last updated:** [July 29, 2019, 6:05pm UTC](https://discourse.julialang.org/t/filling-a-preallocated-array-without-allocations/26896 "2019-07-29T18:05:28Z")

</div>

Hello, does anybody know if it is possible to fill a preallocated array without allocations? In other words, is there a way of performing this function loop without allocations mutable struct KF F::Array{Float64, 3…

---

## [Hello everybody i am a new member](https://discourse.julialang.org/t/hello-everybody-i-am-a-new-member/26927)

<div class="topic-metadata">

**Author:** [@dangquan09](https://discourse.julialang.org/u/dangquan09)\
**Replies:** 6\
**Last updated:** [July 29, 2019, 5:11pm UTC](https://discourse.julialang.org/t/hello-everybody-i-am-a-new-member/26927 "2019-07-29T17:11:54Z")

</div>

Hello everyone I am a new member I am really happy to meet you all

---

## [Efficient design for library of objects](https://discourse.julialang.org/t/efficient-design-for-library-of-objects/26890)

<div class="topic-metadata">

**Author:** [@Julia\_coder](https://discourse.julialang.org/u/Julia_coder)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 4:53pm UTC](https://discourse.julialang.org/t/efficient-design-for-library-of-objects/26890 "2019-07-29T16:53:18Z")

</div>

Hello, I’m trying to make a library of user-constructed mutable structs which I can quickly search through, extract values from, and add new structs to. The most obvious design to me is to put each struct object into an…

---

## [\[ANN\] DigitalComm.jl - Tools and utilities for digital communication](https://discourse.julialang.org/t/ann-digitalcomm-jl-tools-and-utilities-for-digital-communication/25595)

<div class="topic-metadata">

**Author:** [@RGerzaguet](https://discourse.julialang.org/u/RGerzaguet)\
**Replies:** 3\
**Last updated:** [July 29, 2019, 3:18pm UTC](https://discourse.julialang.org/t/ann-digitalcomm-jl-tools-and-utilities-for-digital-communication/25595 "2019-07-29T15:18:06Z")

</div>

Hello everyone, It is my pleasure to announce DigitalComm.jl a simple package that proposes some tools and functions associated to digital communications simulations. The package will be extended later on and currently…

---

## [Easiest way to live plot?](https://discourse.julialang.org/t/easiest-way-to-live-plot/26929)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 14\
**Last updated:** [July 29, 2019, 1:36pm UTC](https://discourse.julialang.org/t/easiest-way-to-live-plot/26929 "2019-07-29T13:36:29Z")

</div>

Hey guys, so I have this case; I am running a simulation program which at every time steps outputs a data file, which I then strip for data - I would like to do this and showcase it with a live plot but I am struggling a…

---

## [Can I rely on sleep waking up from a call to yield(task)](https://discourse.julialang.org/t/can-i-rely-on-sleep-waking-up-from-a-call-to-yield-task/26910)

<div class="topic-metadata">

**Author:** [@pixel27](https://discourse.julialang.org/u/pixel27)\
**Replies:** 6\
**Last updated:** [July 29, 2019, 12:59pm UTC](https://discourse.julialang.org/t/can-i-rely-on-sleep-waking-up-from-a-call-to-yield-task/26910 "2019-07-29T12:59:37Z")

</div>

The documentation for sleep() doesn’t mention that yield wakes it up, which I guess makes it an undocumented feature…But I’d really like to utilize that if possible… Example: using Dates task = schedule(Task() do …

---

## [Threading issue - working on a view of a bool array](https://discourse.julialang.org/t/threading-issue-working-on-a-view-of-a-bool-array/26907)

<div class="topic-metadata">

**Author:** [@timmm](https://discourse.julialang.org/u/timmm)\
**Replies:** 4\
**Last updated:** [July 29, 2019, 10:59am UTC](https://discourse.julialang.org/t/threading-issue-working-on-a-view-of-a-bool-array/26907 "2019-07-29T10:59:32Z")

</div>

Appears to be an issue for me on both Julia 1.1 and 1.3.alpha-0. Not tried other builds. I am using a array of falses AList=(falses(n)) and A=view(AList) inside the the threaded loop. See the following repo: https://g…

---

## [Why is there an inconsistent behaviour in PyCall while adding a directory to the path?](https://discourse.julialang.org/t/why-is-there-an-inconsistent-behaviour-in-pycall-while-adding-a-directory-to-the-path/26934)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 1\
**Last updated:** [July 29, 2019, 10:40am UTC](https://discourse.julialang.org/t/why-is-there-an-inconsistent-behaviour-in-pycall-while-adding-a-directory-to-the-path/26934 "2019-07-29T10:40:15Z")

</div>

I’m trying to add the current directory to sys.path. The step works if I set index using a string, but fails for the recommended dot overload, or if I use a symbol to access the path. julia\> using PyCall julia\> s=pyimp…

---

## [How to plot correctly a discontinuous function?](https://discourse.julialang.org/t/how-to-plot-correctly-a-discontinuous-function/26931)

<div class="topic-metadata">

**Author:** [@Masacroso](https://discourse.julialang.org/u/Masacroso)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 10:52am UTC](https://discourse.julialang.org/t/how-to-plot-correctly-a-discontinuous-function/26931 "2019-07-29T10:52:16Z")

</div>

If you want to plot a discontinuous functions, by example with this using Plots r = -5:.1:5 plot(r, floor.(r)) you get a graph with a continuous line, however the function have a discontinuity at any integer. How to pr…

---

## [PackageCompiler errors on compile\_incremental second run](https://discourse.julialang.org/t/packagecompiler-errors-on-compile-incremental-second-run/26932)

<div class="topic-metadata">

**Author:** [@KestutisMa](https://discourse.julialang.org/u/KestutisMa)\
**Replies:** 0\
**Last updated:** [July 29, 2019, 9:23am UTC](https://discourse.julialang.org/t/packagecompiler-errors-on-compile-incremental-second-run/26932 "2019-07-29T09:23:45Z")

</div>

I use Fezzik.jl (nice API for PackageCompiler). It allows to compile all statements used in REPL, that allows simple snooping, and tries to solve “time to first anything” problem. But I faced issue that it can’t run it o…

---

## [Finding indices using "setdiff"?](https://discourse.julialang.org/t/finding-indices-using-setdiff/26930)

<div class="topic-metadata">

**Author:** [@Ahmed\_Salih](https://discourse.julialang.org/u/Ahmed_Salih)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 9:25am UTC](https://discourse.julialang.org/t/finding-indices-using-setdiff/26930 "2019-07-29T09:25:24Z")

</div>

Hey guys, say I have these two arrays: A = \["1" "2" "3" "4"\]; B = \["1" "2" "3" "4" "5" "6"\]; Then I can use “setdiff” to find the elements which they do not have in common as such: C = setdiff(B,A) 2-element Array{Str…

---

## [Examples of Well-Written Julia packages to emulate--in terms of generic functions, design, etc](https://discourse.julialang.org/t/examples-of-well-written-julia-packages-to-emulate-in-terms-of-generic-functions-design-etc/26903)

<div class="topic-metadata">

**Author:** [@00krishna](https://discourse.julialang.org/u/00krishna)\
**Replies:** 16\
**Last updated:** [July 29, 2019, 6:07am UTC](https://discourse.julialang.org/t/examples-of-well-written-julia-packages-to-emulate-in-terms-of-generic-functions-design-etc/26903 "2019-07-29T06:07:32Z")

</div>

I am trying to understand how to write programs in a more Julia, less object oriented way. I was reading the lectures by the QuantEcon folks on how to write generic functions and more generic code etc. The lectures are q…

---

## [Julia 1.3.0-alpha is now available](https://discourse.julialang.org/t/julia-1-3-0-alpha-is-now-available/26753)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 7\
**Last updated:** [July 29, 2019, 1:41am UTC](https://discourse.julialang.org/t/julia-1-3-0-alpha-is-now-available/26753 "2019-07-29T01:41:47Z")

</div>

The Julia developers are pleased to announce that, as those of you at JuliaCon may already know, Julia v1.3.0-alpha has been released. Binaries are available for Linux (i686, x86-64, ARMv7, AArch64), macOS, Windows (32-,…

---

## [Inconsistent \`@code\_warntype\` and \`@inferred\`](https://discourse.julialang.org/t/inconsistent-code-warntype-and-inferred/24998)

<div class="topic-metadata">

**Author:** [@jw3126](https://discourse.julialang.org/u/jw3126)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 1:15am UTC](https://discourse.julialang.org/t/inconsistent-code-warntype-and-inferred/24998 "2019-07-29T01:15:07Z")

</div>

I have a function that has good looking @code\_warntype but @inferred fails: julia\> @inferred waterdose(int, pts, ncase=ncase) ERROR: return type Array{UncertaintyPropagation.Errorful{Float64},1} does not match inferred …

---

## [ChemometricsTools.jl usage](https://discourse.julialang.org/t/chemometricstools-jl-usage/26770)

<div class="topic-metadata">

**Author:** [@lnacquaroli](https://discourse.julialang.org/u/lnacquaroli)\
**Replies:** 2\
**Last updated:** [July 29, 2019, 1:11am UTC](https://discourse.julialang.org/t/chemometricstools-jl-usage/26770 "2019-07-29T01:11:42Z")

</div>

I am trying to use the example of Curve Resolution as describe in the docs here but using the tecator.csv dataset as the triliq.csv is missing (could not find it). I try different things but I am stuck getting zeros and …

---

## [Optional parts in Cmd](https://discourse.julialang.org/t/optional-parts-in-cmd/26911)

<div class="topic-metadata">

**Author:** [@Tamas\_Papp](https://discourse.julialang.org/u/Tamas_Papp)\
**Replies:** 3\
**Last updated:** [July 28, 2019, 10:56pm UTC](https://discourse.julialang.org/t/optional-parts-in-cmd/26911 "2019-07-28T22:56:24Z")

</div>

I would like to construct a Cmd with some optional parts, depending in the caller. I got this working by collecting strings and then interpolating a vector of them, and this actually works fine (with escaping, etc) but I…

---

## [Precompile a subset of all packgaes?](https://discourse.julialang.org/t/precompile-a-subset-of-all-packgaes/26723)

<div class="topic-metadata">

**Author:** [@jling](https://discourse.julialang.org/u/jling)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 9:06pm UTC](https://discourse.julialang.org/t/precompile-a-subset-of-all-packgaes/26723 "2019-07-28T21:06:02Z")

</div>

Usage: I use external GPU and Cuda related stuff will fail to precompile if they are detached and will terminate the precompile process. can we have a syntax like: pkg\> precompile ^CuArrays ^CUDAnative

---

## [Couenne no results - seems stuck](https://discourse.julialang.org/t/couenne-no-results-seems-stuck/26879)

<div class="topic-metadata">

**Author:** [@Raminel](https://discourse.julialang.org/u/Raminel)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 6:27pm UTC](https://discourse.julialang.org/t/couenne-no-results-seems-stuck/26879 "2019-07-28T18:27:52Z")

</div>

Hi all, I am using Couenne for my MINLP problem. I have a problem using Couenne when I add a nonlinear term to the objective. I have tried different options in the couenne.opt file based on different posts here, still n…

---

## [Go to Declaration in juno does nothing](https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499)

<div class="topic-metadata">

**Author:** [@Ross\_Boylan](https://discourse.julialang.org/u/Ross_Boylan)\
**Replies:** 2\
**Last updated:** [July 28, 2019, 4:35pm UTC](https://discourse.julialang.org/t/go-to-declaration-in-juno-does-nothing/25499 "2019-07-28T16:35:14Z")

</div>

If, in atom/juno, I select an identifier in a julia source file and right click, “Go to Declaration” is one of the choices. However, when I select it the right click menu closes and nothing else happens. This is simila…

---

## [CUDAdrv fails to build](https://discourse.julialang.org/t/cudadrv-fails-to-build/26476)

<div class="topic-metadata">

**Author:** [@knavely](https://discourse.julialang.org/u/knavely)\
**Replies:** 0\
**Last updated:** [July 17, 2019, 6:47pm UTC](https://discourse.julialang.org/t/cudadrv-fails-to-build/26476 "2019-07-17T18:47:33Z")

</div>

Got it working but not quite sure exactly how so im just deleting this

[Previous page](https://discourse.julialang.org/latest.md?page=1949)

[Next page](https://discourse.julialang.org/latest.md?page=1951)
