# Latest

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

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

**Page:** 1779

---

## [Install Gaston on Julia](https://discourse.julialang.org/t/install-gaston-on-julia/37360)

<div class="topic-metadata">

**Author:** [@brett\_knoss](https://discourse.julialang.org/u/brett_knoss)\
**Replies:** 7\
**Last updated:** [April 10, 2020, 7:12pm UTC](https://discourse.julialang.org/t/install-gaston-on-julia/37360 "2020-04-10T19:12:54Z")

</div>

I tried istaling the Gnuplot package, and Gaston on the front end. But, I get this error when I test Gaston.jl IOError: could not spawn \`gnuplot --version\`: no such file or directory (ENOENT) Stacktrace: \[1\] \_spawn\_pri…

---

## [Calculating the analytical solution of an Ornstein-Uhlenbeck SDE](https://discourse.julialang.org/t/calculating-the-analytical-solution-of-an-ornstein-uhlenbeck-sde/37359)

<div class="topic-metadata">

**Author:** [@williamjsdavis](https://discourse.julialang.org/u/williamjsdavis)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 6:04pm UTC](https://discourse.julialang.org/t/calculating-the-analytical-solution-of-an-ornstein-uhlenbeck-sde/37359 "2020-04-10T18:04:25Z")

</div>

I want to compare different SDE solvers against the analytical solution for the Ornstein-Uhlenbeck process. Currently I am doing this by solving numerically first (e.g. Euler-Maruyama), saving the noise, and calculating …

---

## [Rewriting Python code using Images.jl](https://discourse.julialang.org/t/rewriting-python-code-using-images-jl/37323)

<div class="topic-metadata">

**Author:** [@Christian](https://discourse.julialang.org/u/Christian)\
**Replies:** 2\
**Last updated:** [April 10, 2020, 5:38pm UTC](https://discourse.julialang.org/t/rewriting-python-code-using-images-jl/37323 "2020-04-10T17:38:10Z")

</div>

Hello, I’m trying to convert some Python to Julia but I’m having an issue with the following lines. The code takes an array of gradients (all with nxm dims) and returns the median gradient (in nxm dims). In Python the…

---

## [Regridding 3d array](https://discourse.julialang.org/t/regridding-3d-array/37349)

<div class="topic-metadata">

**Author:** [@asb](https://discourse.julialang.org/u/asb)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 5:37pm UTC](https://discourse.julialang.org/t/regridding-3d-array/37349 "2020-04-10T17:37:32Z")

</div>

nub question. I have a 3d array of input data1 of dimensions \[nx,ny,nz\] The data represent a 3D continuous function sampled on an irregular grid. data\[i,j,k\] is the data at grid point \[i,j,k\]. xgrid1\[i,j,k\] are the x…

---

## [Atom and Juno problem after the installation : I can't run my files](https://discourse.julialang.org/t/atom-and-juno-problem-after-the-installation-i-cant-run-my-files/37326)

<div class="topic-metadata">

**Author:** [@juju](https://discourse.julialang.org/u/juju)\
**Replies:** 7\
**Last updated:** [April 10, 2020, 5:16pm UTC](https://discourse.julialang.org/t/atom-and-juno-problem-after-the-installation-i-cant-run-my-files/37326 "2020-04-10T17:16:27Z")

</div>

Hello, I just installed Julia, Atom, and Juno. When I am trying to write a code, I have this error : “Warning: Atom.jl: unrecognised message ismodule”. I really don’t know what’s the probleme, and I didn’t found any …

---

## [ArgumentError: cannot take the CPU address of a CuArray when using selectdim](https://discourse.julialang.org/t/argumenterror-cannot-take-the-cpu-address-of-a-cuarray-when-using-selectdim/37281)

<div class="topic-metadata">

**Author:** [@Geoffrey](https://discourse.julialang.org/u/Geoffrey)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 5:06pm UTC](https://discourse.julialang.org/t/argumenterror-cannot-take-the-cpu-address-of-a-cuarray-when-using-selectdim/37281 "2020-04-10T17:06:11Z")

</div>

Hi, I’m quite new to Julia computing and even more to GPU computing but I notice that selectdim function from julia output is stored on the CPU acording to this error: “ERROR: ArgumentError: cannot take the CPU address …

---

## [Problem with random generator](https://discourse.julialang.org/t/problem-with-random-generator/37311)

<div class="topic-metadata">

**Author:** [@sergevic](https://discourse.julialang.org/u/sergevic)\
**Replies:** 8\
**Last updated:** [April 10, 2020, 5:04pm UTC](https://discourse.julialang.org/t/problem-with-random-generator/37311 "2020-04-10T17:04:24Z")

</div>

I’m completely puzzled with a problem concerning my code: using LinearAlgebra using DeterminantalPointProcesses L=Symmetric(rand(100,100)) variables=collect(1:100) dpp=DPP(eigen(L)) M0=rand(dpp,1) function proposal(Mt:…

---

## [Join Deprecation Warning Pairs](https://discourse.julialang.org/t/join-deprecation-warning-pairs/37329)

<div class="topic-metadata">

**Author:** [@compleat](https://discourse.julialang.org/u/compleat)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 3:47pm UTC](https://discourse.julialang.org/t/join-deprecation-warning-pairs/37329 "2020-04-10T15:47:14Z")

</div>

I have been using ‘join’ in accordance with the example given on https://juliadata.github.io/DataFrames.jl/stable/man/joins/ julia\> join(a, b, on = \[(:City, :Location), (:Job, :Work)\]) Which seems straightforward enou…

---

## [Parallel processing](https://discourse.julialang.org/t/parallel-processing/37319)

<div class="topic-metadata">

**Author:** [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Replies:** 7\
**Last updated:** [April 10, 2020, 3:19pm UTC](https://discourse.julialang.org/t/parallel-processing/37319 "2020-04-10T15:19:02Z")

</div>

I did some experiments with parallel processing, i.e. solving models in parallel. But the result is not what I expected: using Distributed import JuMP addprocs(4) function simple\_model(a, b) model = JuMP.Model() …

---

## [What package\[s\] are state-of-the art OR attract you to Julia, and make you stay there (not easily replicateable in e.g. Python, R, MATLAB)?](https://discourse.julialang.org/t/what-package-s-are-state-of-the-art-or-attract-you-to-julia-and-make-you-stay-there-not-easily-replicateable-in-e-g-python-r-matlab/11294)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 61\
**Last updated:** [April 10, 2020, 3:09pm UTC](https://discourse.julialang.org/t/what-package-s-are-state-of-the-art-or-attract-you-to-julia-and-make-you-stay-there-not-easily-replicateable-in-e-g-python-r-matlab/11294 "2020-04-10T15:09:44Z")

</div>

You tend to see Julia described as “immature” “but developing very fast”. I believe “immature” is just not correct, when applied to the language, nor it seems to the package ecosystem. I think Julia may just need more …

---

## [Correct formula for MixedModels, lme4](https://discourse.julialang.org/t/correct-formula-for-mixedmodels-lme4/37343)

<div class="topic-metadata">

**Author:** [@Enrico\_Schulz](https://discourse.julialang.org/u/Enrico_Schulz)\
**Replies:** 0\
**Last updated:** [April 10, 2020, 1:59pm UTC](https://discourse.julialang.org/t/correct-formula-for-mixedmodels-lme4/37343 "2020-04-10T13:59:21Z")

</div>

Dear statistics experts, I am using MixedModels.jl in Julia with this formula: f2 = @formula(fmri~AMP+SLP+aSLP+(0+AMP|session)+(0+SLP|session)+(0+aSLP|session)); The toolbox in Julia is from Douglas Bates und the form…

---

## [Error using Agents.jl](https://discourse.julialang.org/t/error-using-agents-jl/37314)

<div class="topic-metadata">

**Author:** [@ennvvy](https://discourse.julialang.org/u/ennvvy)\
**Replies:** 8\
**Last updated:** [April 10, 2020, 11:24am UTC](https://discourse.julialang.org/t/error-using-agents-jl/37314 "2020-04-10T11:24:38Z")

</div>

I am trying to simulate the example that is published in the documentation of Agents.jl - Continuous Space Social Distancing for COVID 19. Despite installing the required packages, I still get the following error, ERROR…

---

## [Current timestamp with microsecond precision](https://discourse.julialang.org/t/current-timestamp-with-microsecond-precision/37317)

<div class="topic-metadata">

**Author:** [@robsmith11](https://discourse.julialang.org/u/robsmith11)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 9:22am UTC](https://discourse.julialang.org/t/current-timestamp-with-microsecond-precision/37317 "2020-04-10T09:22:40Z")

</div>

I’m recording events arriving over the network and would like a little more precision than milliseconds. Dates.now() only provides a milliscond timestamp. Has anyone already written a function to wrap the Linux system …

---

## [How to configure IP address in Franklin.jl](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312)

<div class="topic-metadata">

**Author:** [@Sijun](https://discourse.julialang.org/u/Sijun)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 8:49am UTC](https://discourse.julialang.org/t/how-to-configure-ip-address-in-franklin-jl/37312 "2020-04-10T08:49:19Z")

</div>

First of all, thanks to creators of Franklin.jl (https://franklinjl.org/) for the wonderful package. I would like to know how to configure server IP address. The method serve() takes port number but I can’t find in the …

---

## [New pkg.julialang.org](https://discourse.julialang.org/t/new-pkg-julialang-org/22622)

<div class="topic-metadata">

**Author:** [@StefanKarpinski](https://discourse.julialang.org/u/StefanKarpinski)\
**Replies:** 51\
**Last updated:** [April 10, 2020, 7:56am UTC](https://discourse.julialang.org/t/new-pkg-julialang-org/22622 "2020-04-10T07:56:27Z")

</div>

I’m happy to announce a brand new https://pkg.julialang.org site. You can search for packages by name and topic (topics are populated from GitHub) and view the docs for all registered packages in one central place. In th…

---

## [How to draw a pixel in Julia Graphics?](https://discourse.julialang.org/t/how-to-draw-a-pixel-in-julia-graphics/37316)

<div class="topic-metadata">

**Author:** [@Neeraj\_Verma\_ASETRAI](https://discourse.julialang.org/u/Neeraj_Verma_ASETRAI)\
**Replies:** 1\
**Last updated:** [April 10, 2020, 7:55am UTC](https://discourse.julialang.org/t/how-to-draw-a-pixel-in-julia-graphics/37316 "2020-04-10T07:55:58Z")

</div>

How to draw a pixel in Julia Graphics? eg - in C programming we draw a pixel by function putpixel(x,y) which modules or Pkg i need to install please help me I am using Plots Pkg and GR as backend

---

## [Nested Multivariate Regression](https://discourse.julialang.org/t/nested-multivariate-regression/36710)

<div class="topic-metadata">

**Author:** [@Humphrey\_Lee](https://discourse.julialang.org/u/Humphrey_Lee)\
**Replies:** 8\
**Last updated:** [April 10, 2020, 7:28am UTC](https://discourse.julialang.org/t/nested-multivariate-regression/36710 "2020-04-10T07:28:41Z")

</div>

Title: Nested Multivariate Regression Appreciate some guidance and sample codes. I’m new to Julia language, but have used Python and R a bit. This is a curve fitting / regression of data (csv) exercise. The equation to …

---

## [Benchmarking Julia vs. Python vs. R with PyCall and RCall](https://discourse.julialang.org/t/benchmarking-julia-vs-python-vs-r-with-pycall-and-rcall/37308)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 3\
**Last updated:** [April 10, 2020, 7:09am UTC](https://discourse.julialang.org/t/benchmarking-julia-vs-python-vs-r-with-pycall-and-rcall/37308 "2020-04-10T07:09:58Z")

</div>

I’m putting together an Intro to Julia Jupyter notebook and in my section on Why you should learn Julia I’m emphasizing Julia’s performance. This notebook is for colleagues of mine who primarily use R and a few that use …

---

## [Lazy database join](https://discourse.julialang.org/t/lazy-database-join/37304)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 4\
**Last updated:** [April 10, 2020, 6:54am UTC](https://discourse.julialang.org/t/lazy-database-join/37304 "2020-04-10T06:54:05Z")

</div>

I have a very large database A, and a much smaller one B. Since A is so large, I cannot load it in memory at once. I keep A as a gzip compressed CSV file on disk, and I want to load it lazily. On the other hand B is smal…

---

## [Send output of show to file](https://discourse.julialang.org/t/send-output-of-show-to-file/37287)

<div class="topic-metadata">

**Author:** [@harven](https://discourse.julialang.org/u/harven)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 10:59pm UTC](https://discourse.julialang.org/t/send-output-of-show-to-file/37287 "2020-04-09T22:59:41Z")

</div>

How do I send the output of show to a file? I tried the following with several mime types without success. julia\> open("file.jl", "w") do io show(io, MIME"plain/text", \[\[1,2\],\[3,4\]\]) end

---

## [Keeping Up With The Cartesians - Findall Return Type](https://discourse.julialang.org/t/keeping-up-with-the-cartesians-findall-return-type/37298)

<div class="topic-metadata">

**Author:** [@blackeneth](https://discourse.julialang.org/u/blackeneth)\
**Replies:** 4\
**Last updated:** [April 9, 2020, 9:31pm UTC](https://discourse.julialang.org/t/keeping-up-with-the-cartesians-findall-return-type/37298 "2020-04-09T21:31:29Z")

</div>

I was writing Julia code yesterday and came across a bug in my code – the return from findall(f,A) came back with type Array{CartesianIndex{2},1} instead of what I expected, type Array{Int64,1}. Working in the REPL, I al…

---

## [How is Julia Like Python?](https://discourse.julialang.org/t/how-is-julia-like-python/37157)

<div class="topic-metadata">

**Author:** [@jasheldo](https://discourse.julialang.org/u/jasheldo)\
**Replies:** 38\
**Last updated:** [April 9, 2020, 9:20pm UTC](https://discourse.julialang.org/t/how-is-julia-like-python/37157 "2020-04-09T21:20:57Z")

</div>

I’ve been spending quite a bit of time learning Julia at a high level and have to say I’m excited and the prospect of what it is and what it can do. The benchmarks are impressive and the stated goals are hugely impressiv…

---

## [A way to create large dictionary? "ERROR: LoadError: syntax: expression too large"](https://discourse.julialang.org/t/a-way-to-create-large-dictionary-error-loaderror-syntax-expression-too-large/37247)

<div class="topic-metadata">

**Author:** [@olugovoy](https://discourse.julialang.org/u/olugovoy)\
**Replies:** 8\
**Last updated:** [April 9, 2020, 6:45pm UTC](https://discourse.julialang.org/t/a-way-to-create-large-dictionary-error-loaderror-syntax-expression-too-large/37247 "2020-04-09T18:45:23Z")

</div>

Hi there, What is the best way to create a large dictionary? This expression works for smaller Dicts: pDemand = Dict( (:DEM\_ELC\_DH, :ELC, :AL, :2018, :d001\_h00) =\> 20.4280246, (:DEM\_ELC\_DH, :ELC, :AR, :2018, :d001\_h…

---

## [Array index which is an index of another array](https://discourse.julialang.org/t/array-index-which-is-an-index-of-another-array/37285)

<div class="topic-metadata">

**Author:** [@jakub1998](https://discourse.julialang.org/u/jakub1998)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 4:13pm UTC](https://discourse.julialang.org/t/array-index-which-is-an-index-of-another-array/37285 "2020-04-09T16:13:27Z")

</div>

I have to solve a problem with permutations. The function takes vector a with n elements as a parameter. I declare b as @variable - there should be the permutation 1:n that gives the best result after finding t…

---

## [Wrapping simple structures with CxxWrap](https://discourse.julialang.org/t/wrapping-simple-structures-with-cxxwrap/36945)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 1\
**Last updated:** [April 9, 2020, 6:38pm UTC](https://discourse.julialang.org/t/wrapping-simple-structures-with-cxxwrap/36945 "2020-04-09T18:38:24Z")

</div>

I’m trying to use CxxWrap, and my C++ library contains a simple structure like this: struct Address { uint8\_t a; uint8\_t b; uint8\_t c; uint8\_t d; }; Right now I’m getting this problem when I try to comp…

---

## [Efficient way for looping over off-diagonal terms](https://discourse.julialang.org/t/efficient-way-for-looping-over-off-diagonal-terms/37282)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 4\
**Last updated:** [April 9, 2020, 6:37pm UTC](https://discourse.julialang.org/t/efficient-way-for-looping-over-off-diagonal-terms/37282 "2020-04-09T18:37:54Z")

</div>

Hello, What is the most efficient way of doing the following double loop? function test(N,T) νtemp = rand(N,T) v = zeros(N,T) println(νtemp) @inbounds for n=1:N, t=1:T ν\[n,t\] = νtemp\[n,t\] …

---

## [Custom plots](https://discourse.julialang.org/t/custom-plots/37259)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 7\
**Last updated:** [April 9, 2020, 6:22pm UTC](https://discourse.julialang.org/t/custom-plots/37259 "2020-04-09T18:22:04Z")

</div>

Hello, I would like to understand how I can mark highest and lowest value on the y-axis in a plot. Assume a simple plot using Plots x = 1:10; y = rand(10) plot(x, y) I will appreciate your guidance on, how a. I can m…

---

## [Scope of variables in optimisation](https://discourse.julialang.org/t/scope-of-variables-in-optimisation/37258)

<div class="topic-metadata">

**Author:** [@JohnZ](https://discourse.julialang.org/u/JohnZ)\
**Replies:** 7\
**Last updated:** [April 9, 2020, 5:21pm UTC](https://discourse.julialang.org/t/scope-of-variables-in-optimisation/37258 "2020-04-09T17:21:29Z")

</div>

Hello, folks! I am new to JuMP, so my apologies if it sounds a naive question. I wrap an optimisation problem in a function and then run it by changing input data in a loop. I define the variables as global so that thes…

---

## [Closing the REPL pane or Git/GitHub pane](https://discourse.julialang.org/t/closing-the-repl-pane-or-git-github-pane/27470)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 3\
**Last updated:** [April 9, 2020, 4:52pm UTC](https://discourse.julialang.org/t/closing-the-repl-pane-or-git-github-pane/27470 "2020-04-09T16:52:05Z")

</div>

I prefer to use keyboard bindings when I can. One binding I haven’t been able to figure out is closing the REPL pane (I think it is called a pane but I could be wrong). I can do it with the mouse by clicking on the dow…

---

## [Possible doc typos, inconsistencies, etc](https://discourse.julialang.org/t/possible-doc-typos-inconsistencies-etc/37209)

<div class="topic-metadata">

**Author:** [@binarygcd](https://discourse.julialang.org/u/binarygcd)\
**Replies:** 9\
**Last updated:** [April 9, 2020, 4:33pm UTC](https://discourse.julialang.org/t/possible-doc-typos-inconsistencies-etc/37209 "2020-04-09T16:33:03Z")

</div>

Hi everyone. First, english isn’t my first language(not even second) so excuse me if these are just false positives. You can find theses issues(?) by searching them in the pdf doc of Julia 1.4. Binomial coeffient (shou…

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

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