# Latest

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

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

**Page:** 1724

---

## [Graphical Exploratory Data Analysis in Julia with VegaLite/Gadfly/Plots](https://discourse.julialang.org/t/graphical-exploratory-data-analysis-in-julia-with-vegalite-gadfly-plots/40488)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 34\
**Last updated:** [June 9, 2020, 6:54pm UTC](https://discourse.julialang.org/t/graphical-exploratory-data-analysis-in-julia-with-vegalite-gadfly-plots/40488 "2020-06-09T18:54:21Z")

</div>

I use R quite a bit for exploratory data analysis, data munging, visualization, and model fitting. I’m trying to simultaneously teach myself how to use Julia in this context, and write some tutorials. Here are some typi…

---

## [Named tuples](https://discourse.julialang.org/t/named-tuples/41061)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 6\
**Last updated:** [June 9, 2020, 6:46pm UTC](https://discourse.julialang.org/t/named-tuples/41061 "2020-06-09T18:46:42Z")

</div>

I am experimenting with named tuples to store my parameters for code readability. I have noticed that although one can create a tuple with one element, it cannot be accessed via the dot notation: a = (b=3) returns jul…

---

## [Workers do not show any IO when using a cluster](https://discourse.julialang.org/t/workers-do-not-show-any-io-when-using-a-cluster/40955)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 6\
**Last updated:** [June 9, 2020, 6:39pm UTC](https://discourse.julialang.org/t/workers-do-not-show-any-io-when-using-a-cluster/40955 "2020-06-09T18:39:12Z")

</div>

See the following code that works as expected. julia\> addprocs(4); julia\> pmap(x -\> println(x), 1:8) From worker 3: 4 From worker 5: 1 From worker 5: 5 From worker 3: 6 From wo…

---

## [Vertex neighbors in LightGraphs.jl](https://discourse.julialang.org/t/vertex-neighbors-in-lightgraphs-jl/41076)

<div class="topic-metadata">

**Author:** [@erlebach](https://discourse.julialang.org/u/erlebach)\
**Replies:** 8\
**Last updated:** [June 9, 2020, 6:35pm UTC](https://discourse.julialang.org/t/vertex-neighbors-in-lightgraphs-jl/41076 "2020-06-09T18:35:46Z")

</div>

I am using LightGraphs.jl to implement a fast SIR algorithm, which I have done. However, I am now trying to improve the timings. In the course of investigating, I find that neighbors(g, v) allocates memory (I used @time …

---

## [Workflow tips for small-team academic projectscode](https://discourse.julialang.org/t/workflow-tips-for-small-team-academic-projectscode/40965)

<div class="topic-metadata">

**Author:** [@elenev](https://discourse.julialang.org/u/elenev)\
**Replies:** 13\
**Last updated:** [June 9, 2020, 6:27pm UTC](https://discourse.julialang.org/t/workflow-tips-for-small-team-academic-projectscode/40965 "2020-06-09T18:27:02Z")

</div>

I’m a longtime MATLAB user and have been learning Julia the past few weeks with a view to switch at least computationally intensive, if not all, coding work. But while I think I’ve gotten the hang of language basics lik…

---

## [Portability of serialized files](https://discourse.julialang.org/t/portability-of-serialized-files/24733)

<div class="topic-metadata">

**Author:** [@tencnivel](https://discourse.julialang.org/u/tencnivel)\
**Replies:** 2\
**Last updated:** [May 30, 2019, 10:25pm UTC](https://discourse.julialang.org/t/portability-of-serialized-files/24733 "2019-05-30T22:25:14Z")

</div>

I’m trying to understand what the following actually means from the documentation of julia V1.1.0 about serialization https://pkg.julialang.org/docs/julia/THl1k/1.1.0/stdlib/Serialization.html: The read-back value will…

---

## [I cannot not run juno via atom](https://discourse.julialang.org/t/i-cannot-not-run-juno-via-atom/41074)

<div class="topic-metadata">

**Author:** [@Florian\_Stampfer](https://discourse.julialang.org/u/Florian_Stampfer)\
**Replies:** 16\
**Last updated:** [June 9, 2020, 4:51pm UTC](https://discourse.julialang.org/t/i-cannot-not-run-juno-via-atom/41074 "2020-06-09T16:51:46Z")

</div>

Hi, every one, i am new to julia and i wanted to install juno via atom. for the life of me i cannot make it work. this is the first time ever to post something in a forum. i am desperate. My problem: After installation …

---

## [Why am I not getting a slower performance when a set the precision of BigFloat higher?](https://discourse.julialang.org/t/why-am-i-not-getting-a-slower-performance-when-a-set-the-precision-of-bigfloat-higher/41081)

<div class="topic-metadata">

**Author:** [@Lucas\_Queiroz](https://discourse.julialang.org/u/Lucas_Queiroz)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 4:26pm UTC](https://discourse.julialang.org/t/why-am-i-not-getting-a-slower-performance-when-a-set-the-precision-of-bigfloat-higher/41081 "2020-06-09T16:26:53Z")

</div>

I have experimented summing the elements of a BigFloat array while varying the precision of BigFloat arithmetic to see how it affects the perfomance. julia\> a = rand(BigFloat, 80) 80-element Array{BigFloat,1}: 0.661053…

---

## [Suggestions needed: global binary optimization](https://discourse.julialang.org/t/suggestions-needed-global-binary-optimization/40952)

<div class="topic-metadata">

**Author:** [@Chong\_Wang](https://discourse.julialang.org/u/Chong_Wang)\
**Replies:** 8\
**Last updated:** [June 9, 2020, 3:31pm UTC](https://discourse.julialang.org/t/suggestions-needed-global-binary-optimization/40952 "2020-06-09T15:31:40Z")

</div>

The problem is very simple: x is a vector taking value from 0 or 1; S is a real symmetric matrix. The object is to minimize dot(x.+c, S, x.+c) with the constraint sum(x)=N, where N is an integer smaller than length(x) an…

---

## [A question about the "plot"](https://discourse.julialang.org/t/a-question-about-the-plot/41071)

<div class="topic-metadata">

**Author:** [@abcde](https://discourse.julialang.org/u/abcde)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 3:00pm UTC](https://discourse.julialang.org/t/a-question-about-the-plot/41071 "2020-06-09T15:00:03Z")

</div>

using GR x=0:0.1:100 y=sin.(x) xlim=(\[0,120\]) ylim=(\[-1.5,1.5\]) plot(x,y) why does it wrong?thanks!

---

## [Compile R code directly to Julia native code](https://discourse.julialang.org/t/compile-r-code-directly-to-julia-native-code/41073)

<div class="topic-metadata">

**Author:** [@Ravinder\_Ram](https://discourse.julialang.org/u/Ravinder_Ram)\
**Replies:** 2\
**Last updated:** [June 9, 2020, 2:59pm UTC](https://discourse.julialang.org/t/compile-r-code-directly-to-julia-native-code/41073 "2020-06-09T14:59:46Z")

</div>

can i directly convert R code into julia intermediate/ native code?

---

## [Julia in-place modification and memory usages](https://discourse.julialang.org/t/julia-in-place-modification-and-memory-usages/40962)

<div class="topic-metadata">

**Author:** [@ZhiyuanYao](https://discourse.julialang.org/u/ZhiyuanYao)\
**Replies:** 21\
**Last updated:** [June 8, 2020, 3:11pm UTC](https://discourse.julialang.org/t/julia-in-place-modification-and-memory-usages/40962 "2020-06-08T15:11:08Z")

</div>

I’m struggling to understand the in-place modification operator .= in Julia 1.0+ in the following examples, julia\> b = rand(1000, 1000) julia\> @time begin Ham = zeros(1000, 1000) for i in 1:100 …

---

## [Julia 1.4.2 fails to include Plots package](https://discourse.julialang.org/t/julia-1-4-2-fails-to-include-plots-package/40473)

<div class="topic-metadata">

**Author:** [@Adamszk](https://discourse.julialang.org/u/Adamszk)\
**Replies:** 6\
**Last updated:** [June 9, 2020, 2:47pm UTC](https://discourse.julialang.org/t/julia-1-4-2-fails-to-include-plots-package/40473 "2020-06-09T14:47:45Z")

</div>

Hi, I am trying to do simple plots in julia. I wrote, using Pkg Pkg.add(“Plots”) and it failed. It displayed some lenghty text about FFMEG artifacts in red colour. How do I fix it?

---

## [PTX JIT compilation failed with Flux and CUDAnative while using Flux](https://discourse.julialang.org/t/ptx-jit-compilation-failed-with-flux-and-cudanative-while-using-flux/41034)

<div class="topic-metadata">

**Author:** [@bafonso](https://discourse.julialang.org/u/bafonso)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 2:37pm UTC](https://discourse.julialang.org/t/ptx-jit-compilation-failed-with-flux-and-cudanative-while-using-flux/41034 "2020-06-09T14:37:55Z")

</div>

This one is a bit weird, not sure it should be here or in Juno? Anyway, this code runs fine via reply from terminal but I get an error running this in Juno once it is using the GPU. The second part errors out. using Flu…

---

## [Postdoc (Research Associate) in large-scale computational engineering in Luxembourg, Europe](https://discourse.julialang.org/t/postdoc-research-associate-in-large-scale-computational-engineering-in-luxembourg-europe/41070)

<div class="topic-metadata">

**Author:** [@laurentheirendt](https://discourse.julialang.org/u/laurentheirendt)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 2:18pm UTC](https://discourse.julialang.org/t/postdoc-research-associate-in-large-scale-computational-engineering-in-luxembourg-europe/41070 "2020-06-09T14:18:32Z")

</div>

We have an opening for a research associate (postdoc) in large-scale computational engineering. For this project, Julia is the main programming language. This fully-funded position is based at the Luxembourg Centre for S…

---

## [Construction of the objective function for a mathematical model](https://discourse.julialang.org/t/construction-of-the-objective-function-for-a-mathematical-model/40765)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 11\
**Last updated:** [June 9, 2020, 1:29pm UTC](https://discourse.julialang.org/t/construction-of-the-objective-function-for-a-mathematical-model/40765 "2020-06-09T13:29:11Z")

</div>

Could someone help me in the construction of this objective function? Every time I try to compile the same array error appears using JuMP, Cbc C1 = \[11; 11; 11; 11; 11\] C2 = \[50; 50; 50; 50; 50\] #Sets i = 80 #activiti…

---

## [Tick align in Plots](https://discourse.julialang.org/t/tick-align-in-plots/41064)

<div class="topic-metadata">

**Author:** [@thomas\_vilches](https://discourse.julialang.org/u/thomas_vilches)\
**Replies:** 1\
**Last updated:** [June 9, 2020, 1:21pm UTC](https://discourse.julialang.org/t/tick-align-in-plots/41064 "2020-06-09T13:21:38Z")

</div>

Hi everyone, I amtrying to plot a simple scatter plot, but I want the y-axis ticks to be rotated 90 degrees. That is fine. However, the miss the alignment, staying below the tick mark. I want to align the tick mark at t…

---

## [Puzzling behaviour when assigning to variables which are function names](https://discourse.julialang.org/t/puzzling-behaviour-when-assigning-to-variables-which-are-function-names/41053)

<div class="topic-metadata">

**Author:** [@sgaure](https://discourse.julialang.org/u/sgaure)\
**Replies:** 4\
**Last updated:** [June 9, 2020, 11:51am UTC](https://discourse.julialang.org/t/puzzling-behaviour-when-assigning-to-variables-which-are-function-names/41053 "2020-06-09T11:51:45Z")

</div>

Coming from R I am a bit puzzled by how namespaces are handled in Julia. julia\> cos(3) -0.9899924966004454 julia\> sin = 0 0 julia\> cos = 0 ERROR: cannot assign a value to variable Base.cos from module Main Stacktrace: \[…

---

## [Research Software Engineer at Imperial College](https://discourse.julialang.org/t/research-software-engineer-at-imperial-college/41056)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 0\
**Last updated:** [June 9, 2020, 10:10am UTC](https://discourse.julialang.org/t/research-software-engineer-at-imperial-college/41056 "2020-06-09T10:10:47Z")

</div>

http://www.imperial.ac.uk/jobs/description/MED01613/research-software-engineer-data-scientist As we seem to post RSE jobs here, this one has a decent salary. Sadly Python based (eeewwwww). Iam not familair with this g…

---

## [Ensuring Gtk.jl responsivity](https://discourse.julialang.org/t/ensuring-gtk-jl-responsivity/40710)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 8\
**Last updated:** [June 9, 2020, 10:02am UTC](https://discourse.julialang.org/t/ensuring-gtk-jl-responsivity/40710 "2020-06-09T10:02:16Z")

</div>

I’m writing a Gtk.jl application, and it’s easy to see that any time some time-consuming activity happens, such as running a long computation, this interferes with the UI responsivity. In especial, even updating a label …

---

## [Bounds error: attempt to access 21-element array](https://discourse.julialang.org/t/bounds-error-attempt-to-access-21-element-array/41050)

<div class="topic-metadata">

**Author:** [@Savvy21](https://discourse.julialang.org/u/Savvy21)\
**Replies:** 4\
**Last updated:** [June 9, 2020, 9:38am UTC](https://discourse.julialang.org/t/bounds-error-attempt-to-access-21-element-array/41050 "2020-06-09T09:38:43Z")

</div>

I am trying to get an output of the function in array form. #Additionally, I am unable to ask my questions nicely in the post, as in I am unable to write cells.

---

## [Ethnic statistics in Julia User Survey](https://discourse.julialang.org/t/ethnic-statistics-in-julia-user-survey/41022)

<div class="topic-metadata">

**Author:** [@lhp22](https://discourse.julialang.org/u/lhp22)\
**Replies:** 4\
**Last updated:** [June 9, 2020, 7:56am UTC](https://discourse.julialang.org/t/ethnic-statistics-in-julia-user-survey/41022 "2020-06-09T07:56:37Z")

</div>

What’s the purpose of the ethnic questions in the julia user survey ? It’s completely inappropriate. NB : Same questions are asking with LGBT+ questions …

---

## [Help! Pkg.add from company's Bitbucket repository fails due to SSH authentication](https://discourse.julialang.org/t/help-pkg-add-from-companys-bitbucket-repository-fails-due-to-ssh-authentication/33897)

<div class="topic-metadata">

**Author:** [@Zhong\_Pan](https://discourse.julialang.org/u/Zhong_Pan)\
**Replies:** 5\
**Last updated:** [June 9, 2020, 7:47am UTC](https://discourse.julialang.org/t/help-pkg-add-from-companys-bitbucket-repository-fails-due-to-ssh-authentication/33897 "2020-06-09T07:47:55Z")

</div>

I am not sure if this is a bug or I’m doing something wrong… We have a Julia package hosted on our company’s private Bitbucket server. Since I had already created SSH keys at my Git for Windows client (Git Bash), and I …

---

## [Remote REPLs with julia-repl in emacs](https://discourse.julialang.org/t/remote-repls-with-julia-repl-in-emacs/36435)

<div class="topic-metadata">

**Author:** [@atteson](https://discourse.julialang.org/u/atteson)\
**Replies:** 12\
**Last updated:** [June 9, 2020, 7:46am UTC](https://discourse.julialang.org/t/remote-repls-with-julia-repl-in-emacs/36435 "2020-06-09T07:46:24Z")

</div>

I’m having difficulty using julia-repl to run a remote REPL with tramp in emacs. I like julia-repl better than ESS because it uses the emacs term which allows use of the package manager, etc. in the REPL. However, it s…

---

## [Value of gradients with DiffEqFlux and solve](https://discourse.julialang.org/t/value-of-gradients-with-diffeqflux-and-solve/40982)

<div class="topic-metadata">

**Author:** [@MikeKlocCZ](https://discourse.julialang.org/u/MikeKlocCZ)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 7:27am UTC](https://discourse.julialang.org/t/value-of-gradients-with-diffeqflux-and-solve/40982 "2020-06-09T07:27:46Z")

</div>

As recently announced, solve command is now compatible with Flux and should be used. I am confused about the value of the gradients which I obtain in these two very simple examples. using Flux, DiffEqFlux, DifferentialE…

---

## [Why does binarycrossentropy needs an index in a denoising autoencoder?](https://discourse.julialang.org/t/why-does-binarycrossentropy-needs-an-index-in-a-denoising-autoencoder/41013)

<div class="topic-metadata">

**Author:** [@swuyts](https://discourse.julialang.org/u/swuyts)\
**Replies:** 2\
**Last updated:** [June 9, 2020, 7:12am UTC](https://discourse.julialang.org/t/why-does-binarycrossentropy-needs-an-index-in-a-denoising-autoencoder/41013 "2020-06-09T07:12:44Z")

</div>

Hi there, I am still somewhat a rookie in Julia and Flux and I have problem understanding what is going on when I switch between crossentropy and binarycrossentropy loss functions. I coded the following simple denoisin…

---

## [How to define function input type a struct from a different module?](https://discourse.julialang.org/t/how-to-define-function-input-type-a-struct-from-a-different-module/41031)

<div class="topic-metadata">

**Author:** [@Saad\_Mahmud](https://discourse.julialang.org/u/Saad_Mahmud)\
**Replies:** 4\
**Last updated:** [June 9, 2020, 6:30am UTC](https://discourse.julialang.org/t/how-to-define-function-input-type-a-struct-from-a-different-module/41031 "2020-06-09T06:30:44Z")

</div>

I have just started to learn Julia. I am having difficulty defining function input type. Consider this 3 files: #Mymodule.jl module Mymodule export getP, point mutable struct point x::Int32 …

---

## [Gadfly Geom.line not in order](https://discourse.julialang.org/t/gadfly-geom-line-not-in-order/41019)

<div class="topic-metadata">

**Author:** [@Chris\_Anderson](https://discourse.julialang.org/u/Chris_Anderson)\
**Replies:** 8\
**Last updated:** [June 9, 2020, 5:43am UTC](https://discourse.julialang.org/t/gadfly-geom-line-not-in-order/41019 "2020-06-09T05:43:31Z")

</div>

I produced a table that I then plotted. The plot is all wonky though, the values have mixed themselves up to make a perfect line. See below. graph = plot(a, x = :Years\_mean, y = :Overall\_mean, Geom.line) How do I g…

---

## [\[ANN\] Numerics.jl – The Extended Standard Library](https://discourse.julialang.org/t/ann-numerics-jl-the-extended-standard-library/40694)

<div class="topic-metadata">

**Author:** [@djsegal](https://discourse.julialang.org/u/djsegal)\
**Replies:** 46\
**Last updated:** [June 9, 2020, 5:26am UTC](https://discourse.julialang.org/t/ann-numerics-jl-the-extended-standard-library/40694 "2020-06-09T05:26:06Z")

</div>

Hi All, Made a package that just reexports the 5 packages most common to Numerics: LinearAlgebra StatsBase Statistics DataFrames DataStructures If you do: \] add Numerics using Numerics You now have access to norm,…

---

## [Random seed in multi-core parallel running](https://discourse.julialang.org/t/random-seed-in-multi-core-parallel-running/41017)

<div class="topic-metadata">

**Author:** [@Jing\_Zhang](https://discourse.julialang.org/u/Jing_Zhang)\
**Replies:** 3\
**Last updated:** [June 9, 2020, 2:41am UTC](https://discourse.julialang.org/t/random-seed-in-multi-core-parallel-running/41017 "2020-06-09T02:41:35Z")

</div>

Dear Julia Users, I was using @distributed to run 1000 replicates of simulations across 100 cores. How should I set the random seed across these cores to make simulation results reproducible? We need to make sure differ…

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

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