# Latest

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

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

**Page:** 1786

---

## [A Julia library comparable to pysimplegui (simple graphical user interface)](https://discourse.julialang.org/t/a-julia-library-comparable-to-pysimplegui-simple-graphical-user-interface/36907)

<div class="topic-metadata">

**Author:** [@scelles](https://discourse.julialang.org/u/scelles)\
**Replies:** 6\
**Last updated:** [April 2, 2020, 7:35pm UTC](https://discourse.julialang.org/t/a-julia-library-comparable-to-pysimplegui-simple-graphical-user-interface/36907 "2020-04-02T19:35:15Z")

</div>

Hello, I wonder if a Julia library comparable to pysimplegui exists. I’m looking for a “pure” Julia solution… ie not using PyCall. Kind regards PS : repository GitHub - PySimpleGUI/PySimpleGUI: Launched in 2018. It's…

---

## [Best way of checking whether a polyhedron contains an integral point](https://discourse.julialang.org/t/best-way-of-checking-whether-a-polyhedron-contains-an-integral-point/36766)

<div class="topic-metadata">

**Author:** [@python15](https://discourse.julialang.org/u/python15)\
**Replies:** 8\
**Last updated:** [April 2, 2020, 6:57pm UTC](https://discourse.julialang.org/t/best-way-of-checking-whether-a-polyhedron-contains-an-integral-point/36766 "2020-04-02T18:57:41Z")

</div>

Hey! I’m quite new to Julia and try to solve the following problem efficiently: For a given bounded polyhedron (by the linear equations Ax = 0 and bounds on x), I have to check whether it contains a non-negative integr…

---

## [Could someone please help me fix my travis integration?](https://discourse.julialang.org/t/could-someone-please-help-me-fix-my-travis-integration/36906)

<div class="topic-metadata">

**Author:** [@anon94023334](https://discourse.julialang.org/u/anon94023334)\
**Replies:** 5\
**Last updated:** [April 2, 2020, 6:04pm UTC](https://discourse.julialang.org/t/could-someone-please-help-me-fix-my-travis-integration/36906 "2020-04-02T18:04:44Z")

</div>

Hi all. About a week ago I was prompted to move repos from travis-ci.org to travis-ci.com, which I did because our CI integration was failing. Now, though, while the new integration seems to be working, I can’t get rid …

---

## [Printing a Julia source with unicode from Atom](https://discourse.julialang.org/t/printing-a-julia-source-with-unicode-from-atom/36869)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 10\
**Last updated:** [April 2, 2020, 4:54pm UTC](https://discourse.julialang.org/t/printing-a-julia-source-with-unicode-from-atom/36869 "2020-04-02T16:54:58Z")

</div>

Is there an accepted way to print a Julia source file keeping the Unicode intact? Thanks.

---

## [How to deal with isprobvec(p) error?](https://discourse.julialang.org/t/how-to-deal-with-isprobvec-p-error/36911)

<div class="topic-metadata">

**Author:** [@DeepQ](https://discourse.julialang.org/u/DeepQ)\
**Replies:** 0\
**Last updated:** [April 2, 2020, 4:39pm UTC](https://discourse.julialang.org/t/how-to-deal-with-isprobvec-p-error/36911 "2020-04-02T16:39:06Z")

</div>

I’ve written a neural network using Knet library and I am trying to use the normalized output of the neural network as a density function. The problem is when I use ReLU as the activation function of the neural net and a…

---

## [Channels and Conditions: How to do notify channel is ready](https://discourse.julialang.org/t/channels-and-conditions-how-to-do-notify-channel-is-ready/36904)

<div class="topic-metadata">

**Author:** [@prototact](https://discourse.julialang.org/u/prototact)\
**Replies:** 1\
**Last updated:** [April 2, 2020, 4:14pm UTC](https://discourse.julialang.org/t/channels-and-conditions-how-to-do-notify-channel-is-ready/36904 "2020-04-02T16:14:44Z")

</div>

Hi all, I am doing an exercise with Julia and the Task related primitives. It is a function that adds an array of integers from the left. There is also one symmetrical adding from the right. In the main function i sch…

---

## [Running small functions bundled in an outer function taking twice the time of running them separately](https://discourse.julialang.org/t/running-small-functions-bundled-in-an-outer-function-taking-twice-the-time-of-running-them-separately/36894)

<div class="topic-metadata">

**Author:** [@atrabattoni](https://discourse.julialang.org/u/atrabattoni)\
**Replies:** 7\
**Last updated:** [April 2, 2020, 4:06pm UTC](https://discourse.julialang.org/t/running-small-functions-bundled-in-an-outer-function-taking-twice-the-time-of-running-them-separately/36894 "2020-04-02T16:06:39Z")

</div>

I’m working on optimizing some code. I isolated small functions, I benchmarked them and I was happy with their speed. But when I bundle those functions in an outer function, the timing almost twice the sum of the isolate…

---

## [\[ANN\] GeoStats.jl v0.11](https://discourse.julialang.org/t/ann-geostats-jl-v0-11/36909)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 3\
**Last updated:** [April 2, 2020, 4:05pm UTC](https://discourse.julialang.org/t/ann-geostats-jl-v0-11/36909 "2020-04-02T16:05:18Z")

</div>

GeoStats.jl v0.11: GitHub - JuliaEarth/GeoStats.jl: An extensible framework for geospatial data science and geostatistical modeling fully written in Julia Updated documentation: https://juliaearth.github.io/GeoStats.jl…

---

## [API/traits for chunked out-of-core arrays?](https://discourse.julialang.org/t/api-traits-for-chunked-out-of-core-arrays/36873)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 6\
**Last updated:** [April 2, 2020, 3:23pm UTC](https://discourse.julialang.org/t/api-traits-for-chunked-out-of-core-arrays/36873 "2020-04-02T15:23:23Z")

</div>

Do we have some API/traits for out-of core arrays (e.g. on-disk arrays), especially if access to the array data is most efficient in a certain block/chunk size?

---

## [Repl suddenly stops displaying output](https://discourse.julialang.org/t/repl-suddenly-stops-displaying-output/36867)

<div class="topic-metadata">

**Author:** [@eirikeb](https://discourse.julialang.org/u/eirikeb)\
**Replies:** 2\
**Last updated:** [April 2, 2020, 2:11pm UTC](https://discourse.julialang.org/t/repl-suddenly-stops-displaying-output/36867 "2020-04-02T14:11:56Z")

</div>

Hi, I’ve been struggling with this issue for some time now while using Julia, Atom and Juno on PopOS (a version of Ubuntu). The issue started to occured after I updated juno a few weeks ago. The issue is that suddently …

---

## [Cell list algorithm is slower than double for loop](https://discourse.julialang.org/t/cell-list-algorithm-is-slower-than-double-for-loop/36621)

<div class="topic-metadata">

**Author:** [@Maize](https://discourse.julialang.org/u/Maize)\
**Replies:** 18\
**Last updated:** [April 2, 2020, 1:58pm UTC](https://discourse.julialang.org/t/cell-list-algorithm-is-slower-than-double-for-loop/36621 "2020-04-02T13:58:44Z")

</div>

I want to solve the fixed radius near neighbor problem, i.e., for a given point set in 2D, find all the point pairs whose length is less than a given radius r. I use the cell list algorithm, see Cell List algorithm and…

---

## [GPU Sort Function](https://discourse.julialang.org/t/gpu-sort-function/36065)

<div class="topic-metadata">

**Author:** [@bmit](https://discourse.julialang.org/u/bmit)\
**Replies:** 20\
**Last updated:** [April 2, 2020, 1:28pm UTC](https://discourse.julialang.org/t/gpu-sort-function/36065 "2020-04-02T13:28:25Z")

</div>

I was wondering if anyone has implemented a sort or partialsort function that is GPU friendly. Ultimately I need to compute statistical metrics of a dataset such as median or quartile that require sorting. I saw it was …

---

## [Multiply the first column of a matrix by several different scalars](https://discourse.julialang.org/t/multiply-the-first-column-of-a-matrix-by-several-different-scalars/36897)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 7\
**Last updated:** [April 2, 2020, 1:14pm UTC](https://discourse.julialang.org/t/multiply-the-first-column-of-a-matrix-by-several-different-scalars/36897 "2020-04-02T13:14:03Z")

</div>

I have a matrix, A, which is of size nx2 and a vector, v, of 1000 coefficients. I would like to create a vector of arrays, A\_mult which has 1000 elements, such that every entry in A\_mult consists of A with the first col…

---

## [Why does a function wait for a loop to finish before printing something inside the loop?](https://discourse.julialang.org/t/why-does-a-function-wait-for-a-loop-to-finish-before-printing-something-inside-the-loop/36881)

<div class="topic-metadata">

**Author:** [@wpkzz](https://discourse.julialang.org/u/wpkzz)\
**Replies:** 6\
**Last updated:** [April 2, 2020, 11:23am UTC](https://discourse.julialang.org/t/why-does-a-function-wait-for-a-loop-to-finish-before-printing-something-inside-the-loop/36881 "2020-04-02T11:23:46Z")

</div>

I have been using Julia since 0.4 and this is the first time that something like that happens. I have a function with a loop inside it and a print inside the loop. Usually I use this loop to know which parameters make th…

---

## [Fast derivatives for tensor expressions using ForwardDiff](https://discourse.julialang.org/t/fast-derivatives-for-tensor-expressions-using-forwarddiff/36840)

<div class="topic-metadata">

**Author:** [@rrhiemstra](https://discourse.julialang.org/u/rrhiemstra)\
**Replies:** 1\
**Last updated:** [April 2, 2020, 9:03am UTC](https://discourse.julialang.org/t/fast-derivatives-for-tensor-expressions-using-forwarddiff/36840 "2020-04-02T09:03:23Z")

</div>

I want to evaluate and differentiate functions on a grid of points that have an underlying tensor structure g(x,y) = Lᵢ(xₖ) Aᵢⱼ Lⱼ(yₗ) Here x = \[x₁, …, xₙ\] and y = \[x₁, …, xₙ\] Here A is a n x n Matrix of coefficien…

---

## [CoCalc offers Julia 1.4 now](https://discourse.julialang.org/t/cocalc-offers-julia-1-4-now/36738)

<div class="topic-metadata">

**Author:** [@ha\_sch](https://discourse.julialang.org/u/ha_sch)\
**Replies:** 2\
**Last updated:** [April 2, 2020, 8:59am UTC](https://discourse.julialang.org/t/cocalc-offers-julia-1-4-now/36738 "2020-04-02T08:59:35Z")

</div>

CoCalc released yet another software update including Julia 1.4.

---

## [Voronoi Visualization](https://discourse.julialang.org/t/voronoi-visualization/36602)

<div class="topic-metadata">

**Author:** [@gideonsimpson](https://discourse.julialang.org/u/gideonsimpson)\
**Replies:** 16\
**Last updated:** [April 2, 2020, 7:42am UTC](https://discourse.julialang.org/t/voronoi-visualization/36602 "2020-04-02T07:42:47Z")

</div>

I have a set of points in 2D that I’m using to define Voronoi cells using NearestNeighbors.jl. I’d like to do some visualization of this. The two things I would ideally like to be able to do: Plot the Voronoi cells C…

---

## [Use value of a field of a structure to define other fields of the structure](https://discourse.julialang.org/t/use-value-of-a-field-of-a-structure-to-define-other-fields-of-the-structure/36887)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 1\
**Last updated:** [April 2, 2020, 7:35am UTC](https://discourse.julialang.org/t/use-value-of-a-field-of-a-structure-to-define-other-fields-of-the-structure/36887 "2020-04-02T07:35:40Z")

</div>

Hello everyone, I would like to create a structure with an integer p and a Static vector A whose size depends on p. If p==0 then A will contain 2 Float64 elements otherwise A will contain p+1 Float64 elements. For a st…

---

## [I wanted to plot Graphs in Jullia (IntellijIdea)](https://discourse.julialang.org/t/i-wanted-to-plot-graphs-in-jullia-intellijidea/36781)

<div class="topic-metadata">

**Author:** [@Neeraj\_Verma\_ASETRAI](https://discourse.julialang.org/u/Neeraj_Verma_ASETRAI)\
**Replies:** 8\
**Last updated:** [April 2, 2020, 6:04am UTC](https://discourse.julialang.org/t/i-wanted-to-plot-graphs-in-jullia-intellijidea/36781 "2020-04-02T06:04:09Z")

</div>

I wanted to plot Graphs in Jullia I am using IntellijIdea which packages should i use Please describe step by step guide I am getting error with Plots “precompile PlotTheme Error”

---

## [Livereload with Weave.jl](https://discourse.julialang.org/t/livereload-with-weave-jl/36750)

<div class="topic-metadata">

**Author:** [@mpf01](https://discourse.julialang.org/u/mpf01)\
**Replies:** 5\
**Last updated:** [April 2, 2020, 5:28am UTC](https://discourse.julialang.org/t/livereload-with-weave-jl/36750 "2020-04-02T05:28:09Z")

</div>

Are there existing tools that, on saving in the editor (I use Spacemacs), would automatically run weave and reload the browser to view the latest output? I see that LiveServer.jl has this functionality, but for Literate…

---

## [Numerical differentiation for functions of complex numbers](https://discourse.julialang.org/t/numerical-differentiation-for-functions-of-complex-numbers/341)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 15\
**Last updated:** [April 2, 2020, 4:09am UTC](https://discourse.julialang.org/t/numerical-differentiation-for-functions-of-complex-numbers/341 "2020-04-02T04:09:55Z")

</div>

Does anyone know of an available package which supports differentiating complex numbers? This has come up when trying to make stiff solvers for ODEs compatible with complex numbers since numerical Jacobians usually need …

---

## [Is the a function that essentially does foldr but witha stopping condition?](https://discourse.julialang.org/t/is-the-a-function-that-essentially-does-foldr-but-witha-stopping-condition/36875)

<div class="topic-metadata">

**Author:** [@jtaylor306](https://discourse.julialang.org/u/jtaylor306)\
**Replies:** 4\
**Last updated:** [April 2, 2020, 2:40am UTC](https://discourse.julialang.org/t/is-the-a-function-that-essentially-does-foldr-but-witha-stopping-condition/36875 "2020-04-02T02:40:17Z")

</div>

What I essentially want to do is keep folding an array from left to right with an operator, and then stopping what I hit a total so some number X. for example: foldl(+,\[1,2,3,4,5,6\],10) I expect the results to be 10,…

---

## [How to define a variable function in advance](https://discourse.julialang.org/t/how-to-define-a-variable-function-in-advance/36609)

<div class="topic-metadata">

**Author:** [@dmetivie](https://discourse.julialang.org/u/dmetivie)\
**Replies:** 8\
**Last updated:** [April 2, 2020, 1:58am UTC](https://discourse.julialang.org/t/how-to-define-a-variable-function-in-advance/36609 "2020-04-02T01:58:07Z")

</div>

I want to define families of polynomial functions for which I can compute the coefficients in advance. For example, (here I stop at degree 3) function poly1(n::Int64, x) if n == 0 return 1. elseif n == …

---

## [Julia Markdown: Error converting document to pdf. Try running latex manually](https://discourse.julialang.org/t/julia-markdown-error-converting-document-to-pdf-try-running-latex-manually/12342)

<div class="topic-metadata">

**Author:** [@mvcavalcanti](https://discourse.julialang.org/u/mvcavalcanti)\
**Replies:** 2\
**Last updated:** [April 2, 2020, 12:53am UTC](https://discourse.julialang.org/t/julia-markdown-error-converting-document-to-pdf-try-running-latex-manually/12342 "2020-04-02T00:53:30Z")

</div>

I have been using Weave to generate PDFs from Julia markdown, but it is not working. If I run using Weave weave(“gadfly\_md\_sample.jmd”; doctype=“md2pdf”, latex\_cmd=“pdflatex”) I get the following warning: WARNING: E…

---

## [Polar plot problem in Plots.jl with the PlotlyJS backend](https://discourse.julialang.org/t/polar-plot-problem-in-plots-jl-with-the-plotlyjs-backend/36863)

<div class="topic-metadata">

**Author:** [@wrighteap](https://discourse.julialang.org/u/wrighteap)\
**Replies:** 0\
**Last updated:** [April 1, 2020, 6:18pm UTC](https://discourse.julialang.org/t/polar-plot-problem-in-plots-jl-with-the-plotlyjs-backend/36863 "2020-04-01T18:18:05Z")

</div>

Hello, I am having some trouble (see figure below) with polar plots using the plotlyjs backend in the plots.jl package in jupyterlab and juno. I had a look around (google for the most part) and could not find anyone wit…

---

## [Parallel coordinates plot with PlotlyJS](https://discourse.julialang.org/t/parallel-coordinates-plot-with-plotlyjs/36672)

<div class="topic-metadata">

**Author:** [@healyp](https://discourse.julialang.org/u/healyp)\
**Replies:** 4\
**Last updated:** [April 1, 2020, 9:15pm UTC](https://discourse.julialang.org/t/parallel-coordinates-plot-with-plotlyjs/36672 "2020-04-01T21:15:05Z")

</div>

I would like to use PlotlyJS’s parallel coordinates plot to achieve something similar to this python example. I have tried extracting into separate dataframes my separate groupings, built separate traces and then, fina…

---

## [Store a sum of parameterized scalar functions](https://discourse.julialang.org/t/store-a-sum-of-parameterized-scalar-functions/36815)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 13\
**Last updated:** [April 1, 2020, 9:00pm UTC](https://discourse.julialang.org/t/store-a-sum-of-parameterized-scalar-functions/36815 "2020-04-01T21:00:40Z")

</div>

Hello everyone, I need to compute the same sum of scalar functions (constant, linear, Gaussian kernel…) for a large number of different values. I would like to create a structure that will hold the sum of these functio…

---

## [Strange behavior with list comprehensions using Iterators.Stateful](https://discourse.julialang.org/t/strange-behavior-with-list-comprehensions-using-iterators-stateful/29715)

<div class="topic-metadata">

**Author:** [@altre](https://discourse.julialang.org/u/altre)\
**Replies:** 3\
**Last updated:** [April 1, 2020, 8:47pm UTC](https://discourse.julialang.org/t/strange-behavior-with-list-comprehensions-using-iterators-stateful/29715 "2020-04-01T20:47:08Z")

</div>

I’m having trouble to understand the following behavior of Iterators.Stateful. This is as expected julia\> for a in Iterators.Stateful(\[1,2,3\]) print(a) end 123 But this seems strange: julia\> \[a f…

---

## [Combine multiple ranges with different resolution](https://discourse.julialang.org/t/combine-multiple-ranges-with-different-resolution/36822)

<div class="topic-metadata">

**Author:** [@baptiste](https://discourse.julialang.org/u/baptiste)\
**Replies:** 9\
**Last updated:** [April 1, 2020, 6:31pm UTC](https://discourse.julialang.org/t/combine-multiple-ranges-with-different-resolution/36822 "2020-04-01T18:31:08Z")

</div>

I’m computing a function that is smooth in some domain and has quite a few fine features somewhere else, so I would like my x variable to have a different resolution in different regions. I’m using range() for each subdo…

---

## [Sampling from a normal distribution](https://discourse.julialang.org/t/sampling-from-a-normal-distribution/36848)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 4\
**Last updated:** [April 1, 2020, 4:28pm UTC](https://discourse.julialang.org/t/sampling-from-a-normal-distribution/36848 "2020-04-01T16:28:11Z")

</div>

I am trying to draw 1000 random values from a normal distribution with a specific mean and standard deviation. Additionally, the values cannot be negative, which is an added constraint. To do this I have been trying to u…

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

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