# Latest

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

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

**Page:** 1882

---

## [Help with ProgressMeter?](https://discourse.julialang.org/t/help-with-progressmeter/31143)

<div class="topic-metadata">

**Author:** [@bashonubuntu](https://discourse.julialang.org/u/bashonubuntu)\
**Replies:** 2\
**Last updated:** [November 16, 2019, 3:54am UTC](https://discourse.julialang.org/t/help-with-progressmeter/31143 "2019-11-16T03:54:50Z")

</div>

Hello, I am trying to implement hints given in ProgressMeter.jl to print a progressbar. I have written two toy functions (one directly copied from the hint and another one building off on the hint) but unable to unders…

---

## [Can Blosc.jl only decompress content that it has compressed?](https://discourse.julialang.org/t/can-blosc-jl-only-decompress-content-that-it-has-compressed/31141)

<div class="topic-metadata">

**Author:** [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Replies:** 3\
**Last updated:** [November 16, 2019, 2:55am UTC](https://discourse.julialang.org/t/can-blosc-jl-only-decompress-content-that-it-has-compressed/31141 "2019-11-16T02:55:06Z")

</div>

I have been using Blocs.jl and it’s quite awesome. I am trying to make passing compressed data between Python, Julia, and R easier so I was looking for compression format that can used in all of them. I tried to compres…

---

## [Julia Distributed ethernet adapter switching](https://discourse.julialang.org/t/julia-distributed-ethernet-adapter-switching/30570)

<div class="topic-metadata">

**Author:** [@subunit](https://discourse.julialang.org/u/subunit)\
**Replies:** 2\
**Last updated:** [November 15, 2019, 11:58pm UTC](https://discourse.julialang.org/t/julia-distributed-ethernet-adapter-switching/30570 "2019-11-15T23:58:03Z")

</div>

I am doing calculations on a cluster of workers with over ssh with machines on both wifi and wired LAN. I noticed that I am able to connect an ethernet cable to a machine that started the calculations on wifi, and the wo…

---

## [State of Compilation to Single Executable for Julia](https://discourse.julialang.org/t/state-of-compilation-to-single-executable-for-julia/30792)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 13\
**Last updated:** [November 15, 2019, 11:26pm UTC](https://discourse.julialang.org/t/state-of-compilation-to-single-executable-for-julia/30792 "2019-11-15T23:26:24Z")

</div>

This seems like the right forum part to post this to, but please put it to the correct one if necesssry. I saw some messages on the forum about compiling to executables, but nothing about the current state. What is t…

---

## [Set disjunction for arguments, if defining a function](https://discourse.julialang.org/t/set-disjunction-for-arguments-if-defining-a-function/31124)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 8\
**Last updated:** [November 15, 2019, 10:40pm UTC](https://discourse.julialang.org/t/set-disjunction-for-arguments-if-defining-a-function/31124 "2019-11-15T22:40:57Z")

</div>

If you define a function, can you set disjunctions for the arguments? For example; function simpleadd(a::Float64||Int64, b::Float64||Int64) a + b end I could use Any, but this alternative would be more expressiv…

---

## [Easily enforce horizontal space use REPL, if printing](https://discourse.julialang.org/t/easily-enforce-horizontal-space-use-repl-if-printing/31132)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 4\
**Last updated:** [November 15, 2019, 5:48pm UTC](https://discourse.julialang.org/t/easily-enforce-horizontal-space-use-repl-if-printing/31132 "2019-11-15T17:48:20Z")

</div>

If you let something be printed to the REPL, can you enforce that horizontal space is used to the right side of an existing printout? For example, you have some variables, a small DataFrame and something else; you have …

---

## [How to get the gradient of NN wr to its input?](https://discourse.julialang.org/t/how-to-get-the-gradient-of-nn-wr-to-its-input/31034)

<div class="topic-metadata">

**Author:** [@HenriDeh](https://discourse.julialang.org/u/HenriDeh)\
**Replies:** 6\
**Last updated:** [November 15, 2019, 5:16pm UTC](https://discourse.julialang.org/t/how-to-get-the-gradient-of-nn-wr-to-its-input/31034 "2019-11-15T17:16:49Z")

</div>

Why do I get this error with this MWE ? nn= Dense(5,1) static\_input = \[1,2,3,4\] variable\_input = 5 opt = Nesterov() ps = Flux.Params(variable\_input) g = Flux.gradient(ps) do sum(nn(vcat(static\_input, variable\_input)…

---

## [Has anyone implemented slopecharts/slopegraphs/bump charts in Julia yet?](https://discourse.julialang.org/t/has-anyone-implemented-slopecharts-slopegraphs-bump-charts-in-julia-yet/31107)

<div class="topic-metadata">

**Author:** [@anon97116444](https://discourse.julialang.org/u/anon97116444)\
**Replies:** 7\
**Last updated:** [November 15, 2019, 5:10pm UTC](https://discourse.julialang.org/t/has-anyone-implemented-slopecharts-slopegraphs-bump-charts-in-julia-yet/31107 "2019-11-15T17:10:15Z")

</div>

Hi all not started with Julia YET but will do so next week. I would like to know if there is a mechanism for implementing SLOPEGRAPHS ( sometimes called bump charts) in Julia? This is an article on the form of the char…

---

## [Qqnorm and qqplot](https://discourse.julialang.org/t/qqnorm-and-qqplot/6118)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 10\
**Last updated:** [November 15, 2019, 4:11pm UTC](https://discourse.julialang.org/t/qqnorm-and-qqplot/6118 "2019-11-15T16:11:35Z")

</div>

Is there an equivalent to R qqnorm and qqplot functions in some julia package?

---

## [How to set the seed properly in CURAND](https://discourse.julialang.org/t/how-to-set-the-seed-properly-in-curand/24180)

<div class="topic-metadata">

**Author:** [@findmyway](https://discourse.julialang.org/u/findmyway)\
**Replies:** 4\
**Last updated:** [November 15, 2019, 4:04pm UTC](https://discourse.julialang.org/t/how-to-set-the-seed-properly-in-curand/24180 "2019-11-15T16:04:49Z")

</div>

I just found it’s a little tricky for me to set the seed in CuArrays.CURAND julia\> using CuArrays, CuArrays.CURAND julia\> s = CuArrays.CURAND.create\_generator() CuArrays.CURAND.RNG(Ptr{Nothing} @0x00000000054faec0, 100…

---

## [Any Tracker.forward in Zygote.jl?](https://discourse.julialang.org/t/any-tracker-forward-in-zygote-jl/31079)

<div class="topic-metadata">

**Author:** [@vavrines](https://discourse.julialang.org/u/vavrines)\
**Replies:** 5\
**Last updated:** [November 15, 2019, 1:36pm UTC](https://discourse.julialang.org/t/any-tracker-forward-in-zygote-jl/31079 "2019-11-15T13:36:28Z")

</div>

Hi, Maybe a noob question. I’ve an old code based on Flux and Tracker, which solves the derivatives of a matrix using Flux ann = Chain(Dense(2, 10, tanh), Dense(10, 1)) u(x) = ann(x) ux(x) = Tracker.forward(u, x)\[2\](1…

---

## [First steps with Jupyterlab](https://discourse.julialang.org/t/first-steps-with-jupyterlab/30893)

<div class="topic-metadata">

**Author:** [@Usor](https://discourse.julialang.org/u/Usor)\
**Replies:** 20\
**Last updated:** [November 15, 2019, 11:22am UTC](https://discourse.julialang.org/t/first-steps-with-jupyterlab/30893 "2019-11-15T11:22:11Z")

</div>

If this is not in the correct forum, can someone move ot to the right one? Maybe Tooling? Thanks. I don’t know much about Jupyterlab, so I am here to learn. I read up on it, but I need some to-the-point guidance and ans…

---

## [How to get the .osm file of an area based on a given boxing latitude and longitude pair limit?](https://discourse.julialang.org/t/how-to-get-the-osm-file-of-an-area-based-on-a-given-boxing-latitude-and-longitude-pair-limit/31121)

<div class="topic-metadata">

**Author:** [@bsnyh](https://discourse.julialang.org/u/bsnyh)\
**Replies:** 0\
**Last updated:** [November 15, 2019, 10:35am UTC](https://discourse.julialang.org/t/how-to-get-the-osm-file-of-an-area-based-on-a-given-boxing-latitude-and-longitude-pair-limit/31121 "2019-11-15T10:35:49Z")

</div>

Hi. I was confused about how to use osm data to create a road network, and I would really appreciate it if someone could point me to any references or comments. So, I downloaded .osm.pbf file data from the internet and t…

---

## [Problem of binarycrossentropy with GPU?](https://discourse.julialang.org/t/problem-of-binarycrossentropy-with-gpu/31026)

<div class="topic-metadata">

**Author:** [@taot](https://discourse.julialang.org/u/taot)\
**Replies:** 2\
**Last updated:** [November 15, 2019, 9:49am UTC](https://discourse.julialang.org/t/problem-of-binarycrossentropy-with-gpu/31026 "2019-11-15T09:49:41Z")

</div>

Hi, I am trying to create a model in Flux, with binarycrossentropy in loss function, but encountered a problem invoking binarycrossentropy on GPU. I reproduced the error with this simple case: # just copy from document…

---

## [How to specifying coefficient in NNlib.leakyrelu?](https://discourse.julialang.org/t/how-to-specifying-coefficient-in-nnlib-leakyrelu/31009)

<div class="topic-metadata">

**Author:** [@taot](https://discourse.julialang.org/u/taot)\
**Replies:** 2\
**Last updated:** [November 15, 2019, 9:28am UTC](https://discourse.julialang.org/t/how-to-specifying-coefficient-in-nnlib-leakyrelu/31009 "2019-11-15T09:28:06Z")

</div>

Hi, I am trying to specify the coefficient in leayrelu activation function, something like this: conv1 = Conv( (4,4), 3=\>16, x -\> leakyrelu(x, 0.02), stride=2, pad=(1,1) ) conv2 = Conv( (4,4), 16=\>32, x -\> leakyrelu(x,…

---

## [Function to calculate the mode in Julia?](https://discourse.julialang.org/t/function-to-calculate-the-mode-in-julia/31095)

<div class="topic-metadata">

**Author:** [@vlandau](https://discourse.julialang.org/u/vlandau)\
**Replies:** 4\
**Last updated:** [November 15, 2019, 7:13am UTC](https://discourse.julialang.org/t/function-to-calculate-the-mode-in-julia/31095 "2019-11-15T07:13:46Z")

</div>

I feel silly even asking this, but I can’t find the answer via google search for the life of me. Does Julia not have a function to calculate the mode of an array? I’ve tried the code below in Julia 1.2 and Julia 1.3-rc4 …

---

## [How to extend \`Base.parse\` for my types?](https://discourse.julialang.org/t/how-to-extend-base-parse-for-my-types/30940)

<div class="topic-metadata">

**Author:** [@singularitti](https://discourse.julialang.org/u/singularitti)\
**Replies:** 0\
**Last updated:** [November 11, 2019, 7:09am UTC](https://discourse.julialang.org/t/how-to-extend-base-parse-for-my-types/30940 "2019-11-11T07:09:22Z")

</div>

Suppose I have an output from a software. It is a pure text without any specific syntax. I need to write regular expressions to capture the information I want. For example, if I want to capture the following pattern: XX…

---

## [Type Unstable: Function within a Struct](https://discourse.julialang.org/t/type-unstable-function-within-a-struct/31110)

<div class="topic-metadata">

**Author:** [@Eric\_Chen](https://discourse.julialang.org/u/Eric_Chen)\
**Replies:** 1\
**Last updated:** [November 15, 2019, 2:20am UTC](https://discourse.julialang.org/t/type-unstable-function-within-a-struct/31110 "2019-11-15T02:20:19Z")

</div>

I want to add a Function inside a Struct, Because I will read from a user provided CSV file that tell me what function to use. In below example, I had a “sound” function inside each struct, that can perform different op…

---

## [Array of arrays construction](https://discourse.julialang.org/t/array-of-arrays-construction/31096)

<div class="topic-metadata">

**Author:** [@SingingKim](https://discourse.julialang.org/u/SingingKim)\
**Replies:** 10\
**Last updated:** [November 15, 2019, 1:44am UTC](https://discourse.julialang.org/t/array-of-arrays-construction/31096 "2019-11-15T01:44:38Z")

</div>

Hi, The following is how I usually construct an array. Each element of array temp is an array that has different number of elements (which I assign later). temp = Array{Array{Float64},1}(undef,10) for ii in 1:10 tem…

---

## [Convert Vector{AbstractType} to Vector{ConcreteType}](https://discourse.julialang.org/t/convert-vector-abstracttype-to-vector-concretetype/31108)

<div class="topic-metadata">

**Author:** [@Eric\_Chen](https://discourse.julialang.org/u/Eric_Chen)\
**Replies:** 3\
**Last updated:** [November 15, 2019, 1:20am UTC](https://discourse.julialang.org/t/convert-vector-abstracttype-to-vector-concretetype/31108 "2019-11-15T01:20:19Z")

</div>

How to Convert Vector{AbstractType} to Vector{ConcreteType} ? e.g. Vector{Real} to Vector{Int} and generate an error if the array contains different concrete types? e.g. my below example: I can only think of one way:…

---

## [Julia 1.3 missing windows dependency, ERROR: LoadError: LoadError: error compiling top-level scope: could not load library “zlib1”](https://discourse.julialang.org/t/julia-1-3-missing-windows-dependency-error-loaderror-loaderror-error-compiling-top-level-scope-could-not-load-library-zlib1/31102)

<div class="topic-metadata">

**Author:** [@vlandau](https://discourse.julialang.org/u/vlandau)\
**Replies:** 1\
**Last updated:** [November 15, 2019, 1:11am UTC](https://discourse.julialang.org/t/julia-1-3-missing-windows-dependency-error-loaderror-loaderror-error-compiling-top-level-scope-could-not-load-library-zlib1/31102 "2019-11-15T01:11:48Z")

</div>

Hi All, I’m running into an error trying to test my package on windows in Julia 1.3 via Travis. Everything works fine in Julia 1.2 but I’m confronted with this error when testing in Julia 1.3. ERROR: LoadError: LoadErr…

---

## [LightGraph tutorial](https://discourse.julialang.org/t/lightgraph-tutorial/31070)

<div class="topic-metadata">

**Author:** [@gmouts](https://discourse.julialang.org/u/gmouts)\
**Replies:** 6\
**Last updated:** [November 14, 2019, 11:16pm UTC](https://discourse.julialang.org/t/lightgraph-tutorial/31070 "2019-11-14T23:16:47Z")

</div>

I am trying to replicate this LightGraph tutorial. Right at the start it has this snippet of code: pkgs = readdir(Pkg.dir("METADATA")) filterfunc = p -\> isdir(joinpath(Pkg.dir("METADATA"), p)) && p ∉ \[".git",".test"\] pk…

---

## [JuliaDB question](https://discourse.julialang.org/t/juliadb-question/31106)

<div class="topic-metadata">

**Author:** [@stillill](https://discourse.julialang.org/u/stillill)\
**Replies:** 0\
**Last updated:** [November 14, 2019, 11:13pm UTC](https://discourse.julialang.org/t/juliadb-question/31106 "2019-11-14T23:13:22Z")

</div>

Hello, Is there a way to remove duplicate row values in JuliaDB based on a subset of columns (which are also the keys in my case)? I’m working with a distributed table in chunks in case that matters. For example, for d…

---

## [Clarification about memory management of immutable and mutable struct](https://discourse.julialang.org/t/clarification-about-memory-management-of-immutable-and-mutable-struct/31064)

<div class="topic-metadata">

**Author:** [@nben](https://discourse.julialang.org/u/nben)\
**Replies:** 12\
**Last updated:** [November 14, 2019, 10:08pm UTC](https://discourse.julialang.org/t/clarification-about-memory-management-of-immutable-and-mutable-struct/31064 "2019-11-14T22:08:57Z")

</div>

Hello, I’ve been playing around with Julia for awhile and am a big fan of the language overall. Recently, I’ve been doing a bit of work to construct an immutable collections and functional utilities library (work in pro…

---

## [Trouble with Basic Setup](https://discourse.julialang.org/t/trouble-with-basic-setup/31067)

<div class="topic-metadata">

**Author:** [@whale](https://discourse.julialang.org/u/whale)\
**Replies:** 9\
**Last updated:** [November 14, 2019, 8:48pm UTC](https://discourse.julialang.org/t/trouble-with-basic-setup/31067 "2019-11-14T20:48:35Z")

</div>

I followed these instructions to install Julia and Juno: Installation Instructions · Juno Documentation I’m using Windows 10. I followed Steps 1-3 successfully. In the settings for the package “julia-client”, the path …

---

## [Cant' build/load SymEngine package](https://discourse.julialang.org/t/cant-build-load-symengine-package/31085)

<div class="topic-metadata">

**Author:** [@JazielSM](https://discourse.julialang.org/u/JazielSM)\
**Replies:** 5\
**Last updated:** [November 14, 2019, 8:36pm UTC](https://discourse.julialang.org/t/cant-build-load-symengine-package/31085 "2019-11-14T20:36:33Z")

</div>

I kind of new in programming. I was following the DifferentialEquations.jl tutorial with the next function: lv! = @ode\_def LotkaVolterra begin dx = a\*x - b\*x\*y dy = -c\*y + d\*x\*y end a b c d I noticed I had to i…

---

## [(Kolmogorov-) Lilliefors (K-L) distribution](https://discourse.julialang.org/t/kolmogorov-lilliefors-k-l-distribution/31086)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [November 14, 2019, 8:33pm UTC](https://discourse.julialang.org/t/kolmogorov-lilliefors-k-l-distribution/31086 "2019-11-14T20:33:32Z")

</div>

Hello, does any Julia packages provides the (Kolmogorov-)Lilliefors distribution ? This should be used in hypothesis testing when we want to perform a goodness of fit test against a generic probability family, once we h…

---

## [Tips for high level structuring of a Gtk.jl UI](https://discourse.julialang.org/t/tips-for-high-level-structuring-of-a-gtk-jl-ui/31090)

<div class="topic-metadata">

**Author:** [@mantzaris](https://discourse.julialang.org/u/mantzaris)\
**Replies:** 1\
**Last updated:** [November 14, 2019, 7:24pm UTC](https://discourse.julialang.org/t/tips-for-high-level-structuring-of-a-gtk-jl-ui/31090 "2019-11-14T19:24:35Z")

</div>

I am using Gtk.jl to work on a UI. There will be multiple windows and components with the box layouts in different sections. I am wondering what is the recommended structuring for the definition and organization of the c…

---

## [Pkg3 install packages for entire system](https://discourse.julialang.org/t/pkg3-install-packages-for-entire-system/31088)

<div class="topic-metadata">

**Author:** [@ejolson](https://discourse.julialang.org/u/ejolson)\
**Replies:** 2\
**Last updated:** [November 14, 2019, 4:34pm UTC](https://discourse.julialang.org/t/pkg3-install-packages-for-entire-system/31088 "2019-11-14T16:34:31Z")

</div>

Please pardon my sudden joining and immediate question to this forum. I’m teaching a university-level course in numerical methods. Our setup is to ipxe boot the lab computers to a network-mounted live Linux image that …

---

## [Unnecessary \`where {T}\` causes huge performance drop?](https://discourse.julialang.org/t/unnecessary-where-t-causes-huge-performance-drop/31078)

<div class="topic-metadata">

**Author:** [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Replies:** 6\
**Last updated:** [November 14, 2019, 2:12pm UTC](https://discourse.julialang.org/t/unnecessary-where-t-causes-huge-performance-drop/31078 "2019-11-14T14:12:02Z")

</div>

This might be a silly question but I something which I do not understand. I was playing around with different implementations of a function to check the performance changes and sometimes I left an unnecessary where {T} i…

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

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