# Latest

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

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

**Page:** 1785

---

## [Julia v1.4.0 has been released](https://discourse.julialang.org/t/julia-v1-4-0-has-been-released/36324)

<div class="topic-metadata">

**Author:** [@ararslan](https://discourse.julialang.org/u/ararslan)\
**Replies:** 24\
**Last updated:** [April 3, 2020, 2:35pm UTC](https://discourse.julialang.org/t/julia-v1-4-0-has-been-released/36324 "2020-04-03T14:35:40Z")

</div>

The Julia developers are pleased to annouce the release of Julia v1.4.0, the fourth minor release in the 1.x series. Binaries are available for all of your favorite platforms (Linux, macOS, Windows, and FreeBSD) at Downl…

---

## [First Julia Paris meetup](https://discourse.julialang.org/t/first-julia-paris-meetup/29239)

<div class="topic-metadata">

**Author:** [@frapac](https://discourse.julialang.org/u/frapac)\
**Replies:** 13\
**Last updated:** [April 3, 2020, 8:51pm UTC](https://discourse.julialang.org/t/first-julia-paris-meetup/29239 "2020-04-03T20:51:30Z")

</div>

Hi everyone, with a few Julia folks, we are planning to organize the first Julia Paris Meetup, to be held on Thursday, October 17th. The location is still to be determined, but we have several plans ahead. We have crea…

---

## [Activating a shared named environment via JULIA\_PROJECT?](https://discourse.julialang.org/t/activating-a-shared-named-environment-via-julia-project/36975)

<div class="topic-metadata">

**Author:** [@oschulz](https://discourse.julialang.org/u/oschulz)\
**Replies:** 9\
**Last updated:** [April 3, 2020, 8:26pm UTC](https://discourse.julialang.org/t/activating-a-shared-named-environment-via-julia-project/36975 "2020-04-03T20:26:38Z")

</div>

Is there a way to activate a shared named environment via $JULIA\_PROJECT or julia --project, without using the absolute path? So, an equivalent to \] activate --shared myenv?

---

## [Understand this part of the Zygote docs](https://discourse.julialang.org/t/understand-this-part-of-the-zygote-docs/36816)

<div class="topic-metadata">

**Author:** [@jaynick](https://discourse.julialang.org/u/jaynick)\
**Replies:** 2\
**Last updated:** [April 3, 2020, 8:24pm UTC](https://discourse.julialang.org/t/understand-this-part-of-the-zygote-docs/36816 "2020-04-03T20:24:32Z")

</div>

I am wondering if there are several typos in introduction example to custom adjoints, https://fluxml.ai/Zygote.jl/dev/adjoints/ In other words pullback(sin, x) behaves the same as dsin(x) = sin(x), ȳ -\> (ȳ \* cos(x)…

---

## [Pass a 1-D view to a function defined for Array{Float,1}?](https://discourse.julialang.org/t/pass-a-1-d-view-to-a-function-defined-for-array-float-1/36977)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 7\
**Last updated:** [April 3, 2020, 7:36pm UTC](https://discourse.julialang.org/t/pass-a-1-d-view-to-a-function-defined-for-array-float-1/36977 "2020-04-03T19:36:58Z")

</div>

Hello, I would like to pass a view of an Array{Float64,1} to a function defined for Array{Float64,1}, however I got a type-error by proceeding this way. Is there a generic type that includes Array{Float64,1} and its Sub…

---

## [Import types "above" a module with ..: for consistency and brevity?](https://discourse.julialang.org/t/import-types-above-a-module-with-for-consistency-and-brevity/36754)

<div class="topic-metadata">

**Author:** [@tuckermcclure](https://discourse.julialang.org/u/tuckermcclure)\
**Replies:** 7\
**Last updated:** [April 3, 2020, 7:02pm UTC](https://discourse.julialang.org/t/import-types-above-a-module-with-for-consistency-and-brevity/36754 "2020-04-03T19:02:01Z")

</div>

You can import stuff from “above” with ..Thing, such as: module Mod # Define some common types. struct T1; field::Int64; end struct T2; field::Float64; end # Define a sub module. Maybe this would even live in a differ…

---

## [Julia on remote RedHat cluster](https://discourse.julialang.org/t/julia-on-remote-redhat-cluster/36345)

<div class="topic-metadata">

**Author:** [@LysandrosAn](https://discourse.julialang.org/u/LysandrosAn)\
**Replies:** 5\
**Last updated:** [April 3, 2020, 6:27pm UTC](https://discourse.julialang.org/t/julia-on-remote-redhat-cluster/36345 "2020-04-03T18:27:33Z")

</div>

Dear all, in order to conduct numerical calculations I have been granted access to a remote high-performance cluster running on Redhat linux. So far, I can run a batch script that calls a simple julia file with: printl…

---

## [Currying and constant propagation, Base.@pure](https://discourse.julialang.org/t/currying-and-constant-propagation-base-pure/36908)

<div class="topic-metadata">

**Author:** [@AndiMD](https://discourse.julialang.org/u/AndiMD)\
**Replies:** 4\
**Last updated:** [April 3, 2020, 6:02pm UTC](https://discourse.julialang.org/t/currying-and-constant-propagation-base-pure/36908 "2020-04-03T18:02:03Z")

</div>

Dear Julians, I have a generic model function with many parameters. I want to hold subsets of these parameters constant, and obtain well-specialized methods on a reduced parameter set. Unfortunately, in many cases, no …

---

## [Slow performance with Julia on optimization problems](https://discourse.julialang.org/t/slow-performance-with-julia-on-optimization-problems/36917)

<div class="topic-metadata">

**Author:** [@bandaya](https://discourse.julialang.org/u/bandaya)\
**Replies:** 2\
**Last updated:** [April 3, 2020, 5:20pm UTC](https://discourse.julialang.org/t/slow-performance-with-julia-on-optimization-problems/36917 "2020-04-03T17:20:54Z")

</div>

I am getting slow performance with JuliaDB when I run optimization problems. I store data for all simulations in one CSV file for each set of data, and then filter it for the relevant simulation and make a call to the op…

---

## [Next Julia LTS: 1.5 or make it 2.0?](https://discourse.julialang.org/t/next-julia-lts-1-5-or-make-it-2-0/36968)

<div class="topic-metadata">

**Author:** [@Palli](https://discourse.julialang.org/u/Palli)\
**Replies:** 7\
**Last updated:** [April 3, 2020, 5:04pm UTC](https://discourse.julialang.org/t/next-julia-lts-1-5-or-make-it-2-0/36968 "2020-04-03T17:04:47Z")

</div>

I seem to remember talk of Julia 1.5 likely to be made the next long-term-support (LTS) version (at least 1.4 isn’t that version). Julia 1.5 has a due date for April 15, 2020, and seems likely on time (with 8 open issue…

---

## [Matrix formulation of multiple regression](https://discourse.julialang.org/t/matrix-formulation-of-multiple-regression/33358)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 3\
**Last updated:** [April 3, 2020, 4:56pm UTC](https://discourse.julialang.org/t/matrix-formulation-of-multiple-regression/33358 "2020-04-03T16:56:52Z")

</div>

I’ve been studying linear algebra and I decided I would see what it takes to code a multiple regression model from scratch to deepen my understanding of some of the things I’ve been learning. I couldn’t really find any J…

---

## [What is the best way to manipulete with the fourier images of the functions](https://discourse.julialang.org/t/what-is-the-best-way-to-manipulete-with-the-fourier-images-of-the-functions/36976)

<div class="topic-metadata">

**Author:** [@misha\_mikhasenko](https://discourse.julialang.org/u/misha_mikhasenko)\
**Replies:** 0\
**Last updated:** [April 3, 2020, 4:46pm UTC](https://discourse.julialang.org/t/what-is-the-best-way-to-manipulete-with-the-fourier-images-of-the-functions/36976 "2020-04-03T16:46:35Z")

</div>

I would like to calculate a combined probability density function from components using their Fourier images, g(x) = \\int\_{-\\infty}^{\\infty} \\mathrm{d}t \\, f(t)^N\\, e^{-ixt}, \\qquad N=100 f(t) = \\int\_{-1}^{1} \\rho\_0(…

---

## [Zygote custom adjoint has surprising performance effects](https://discourse.julialang.org/t/zygote-custom-adjoint-has-surprising-performance-effects/36972)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 0\
**Last updated:** [April 3, 2020, 3:26pm UTC](https://discourse.julialang.org/t/zygote-custom-adjoint-has-surprising-performance-effects/36972 "2020-04-03T15:26:03Z")

</div>

I am experimenting with custom adjoints in Zygote. In the following code, I defined an adjoint for the function gauss. Surprisingly, benchmarking gradient on gauss and a “wrapper” closure f around gauss shows that the gr…

---

## [Working with BigInt type](https://discourse.julialang.org/t/working-with-bigint-type/36935)

<div class="topic-metadata">

**Author:** [@sergevic](https://discourse.julialang.org/u/sergevic)\
**Replies:** 2\
**Last updated:** [April 3, 2020, 3:32pm UTC](https://discourse.julialang.org/t/working-with-bigint-type/36935 "2020-04-03T15:32:43Z")

</div>

I have a set of p=100 covariates with some covariance matrix given for example by: using LinearAlgebra L=Symmetric(rand(100,100)) I need to extract submatrices from L and perform some operations. However, I have a very…

---

## [Installation of Julia in atom](https://discourse.julialang.org/t/installation-of-julia-in-atom/36966)

<div class="topic-metadata">

**Author:** [@hamza](https://discourse.julialang.org/u/hamza)\
**Replies:** 1\
**Last updated:** [April 3, 2020, 3:19pm UTC](https://discourse.julialang.org/t/installation-of-julia-in-atom/36966 "2020-04-03T15:19:27Z")

</div>

I tried to run Julia in my windows but I installed with atom and Python. The program runs but the images do not appear. What is the problem?

---

## [\[Error\] Calling function of a dict from in a Task](https://discourse.julialang.org/t/error-calling-function-of-a-dict-from-in-a-task/36946)

<div class="topic-metadata">

**Author:** [@Impressium](https://discourse.julialang.org/u/Impressium)\
**Replies:** 6\
**Last updated:** [April 3, 2020, 3:17pm UTC](https://discourse.julialang.org/t/error-calling-function-of-a-dict-from-in-a-task/36946 "2020-04-03T15:17:17Z")

</div>

I want to call all function that I put in a dict. So far that works great. But as soon as I add another function the task fails. julia\> d = Dict() Dict{Any,Any} with 0 entries julia\> d\[1\] = (()-\>"1", ()) (var"#21#22"(…

---

## [Does someone have experience in Augmented Lagrangian in julia?](https://discourse.julialang.org/t/does-someone-have-experience-in-augmented-lagrangian-in-julia/36872)

<div class="topic-metadata">

**Author:** [@Markus\_Hauschel](https://discourse.julialang.org/u/Markus_Hauschel)\
**Replies:** 12\
**Last updated:** [April 3, 2020, 2:23pm UTC](https://discourse.julialang.org/t/does-someone-have-experience-in-augmented-lagrangian-in-julia/36872 "2020-04-03T14:23:10Z")

</div>

It seems that most of the posts, I can find, are old. My code is currently in R and I think about porting to Julia. Does it work well?

---

## [How close is StaticCompile?](https://discourse.julialang.org/t/how-close-is-staticcompile/36880)

<div class="topic-metadata">

**Author:** [@peter.wolf](https://discourse.julialang.org/u/peter.wolf)\
**Replies:** 6\
**Last updated:** [April 3, 2020, 2:25pm UTC](https://discourse.julialang.org/t/how-close-is-staticcompile/36880 "2020-04-03T14:25:44Z")

</div>

Hello, I am new to the Julia community, and I want to thank you for making a terrific language, wonderful free tools, and very supportive experts that answer questions quickly on Slack and Stack Overflow. I am a big fan. …

---

## [Return outer function in do block](https://discourse.julialang.org/t/return-outer-function-in-do-block/35660)

<div class="topic-metadata">

**Author:** [@jamblejoe](https://discourse.julialang.org/u/jamblejoe)\
**Replies:** 10\
**Last updated:** [April 3, 2020, 2:06pm UTC](https://discourse.julialang.org/t/return-outer-function-in-do-block/35660 "2020-04-03T14:06:20Z")

</div>

Is it possible to return an outer function from a do block, e.g. the following code f(x) = map(x) do y; if y==1; return -1; end; x \*=2; end f(\[1,2\]) evaluates to 2-element Array{Int64,1}: -1 4 I guess this is beca…

---

## [COVID-19 - Model and ODE delay equations](https://discourse.julialang.org/t/covid-19-model-and-ode-delay-equations/36632)

<div class="topic-metadata">

**Author:** [@Emmanuel-R8](https://discourse.julialang.org/u/Emmanuel-R8)\
**Replies:** 19\
**Last updated:** [April 3, 2020, 1:53pm UTC](https://discourse.julialang.org/t/covid-19-model-and-ode-delay-equations/36632 "2020-04-03T13:53:38Z")

</div>

I have a working model and parameter optimiser for the COVID-19 epidemy (Emmanuel-R8/COVID-19-Julia\](\[GitHub - Emmanuel-R8/COVID-19-Julia: A re-implementation of the Neherlab.org model in Julia). The model is inspired (b…

---

## [Flip a weighted coin](https://discourse.julialang.org/t/flip-a-weighted-coin/36947)

<div class="topic-metadata">

**Author:** [@samantp](https://discourse.julialang.org/u/samantp)\
**Replies:** 5\
**Last updated:** [April 3, 2020, 11:15am UTC](https://discourse.julialang.org/t/flip-a-weighted-coin/36947 "2020-04-03T11:15:17Z")

</div>

I am looking for a function/package that will let me flip a weighted coin in Julia, where I can specify the weight. e.g. some adjustable probability p, that determines the probability of heads. I found the bitrand funct…

---

## [Multiple Computer Example](https://discourse.julialang.org/t/multiple-computer-example/10518)

<div class="topic-metadata">

**Author:** [@iwelch](https://discourse.julialang.org/u/iwelch)\
**Replies:** 11\
**Last updated:** [April 3, 2020, 11:07am UTC](https://discourse.julialang.org/t/multiple-computer-example/10518 "2020-04-03T11:07:23Z")

</div>

Does anybody have a really simple example of a local host farming out a task to another ssh-connected computer (with julia on it)? think @everywhere function abc(n::Int) sum=0; for i=1:n; sum+=i; end;#for r…

---

## [Simple SEIR model for simulating Covid-19 outbreak](https://discourse.julialang.org/t/simple-seir-model-for-simulating-covid-19-outbreak/35854)

<div class="topic-metadata">

**Author:** [@Bernd\_Blasius](https://discourse.julialang.org/u/Bernd_Blasius)\
**Replies:** 1\
**Last updated:** [April 3, 2020, 9:07am UTC](https://discourse.julialang.org/t/simple-seir-model-for-simulating-covid-19-outbreak/35854 "2020-04-03T09:07:12Z")

</div>

Implementation of a SEIR-like model describing the Coronavirus Covid-19 outbreak 2019/20, based on the publication: Wang et al. (2020) Evolving epidemiology and impact of non-pharmaceutical interventions on the outbreak …

---

## [Multithreading mystery](https://discourse.julialang.org/t/multithreading-mystery/36922)

<div class="topic-metadata">

**Author:** [@GunnarFarneback](https://discourse.julialang.org/u/GunnarFarneback)\
**Replies:** 3\
**Last updated:** [April 3, 2020, 7:12am UTC](https://discourse.julialang.org/t/multithreading-mystery/36922 "2020-04-03T07:12:22Z")

</div>

Is this a bug or am I misusing/misunderstanding @sync/@spawn? julia\> function f() x = 0 @sync while x \< 3 @spawn println(x) x += 1 end end f (generic…

---

## [Is it possible to name slices of arrays as functions?](https://discourse.julialang.org/t/is-it-possible-to-name-slices-of-arrays-as-functions/36934)

<div class="topic-metadata">

**Author:** [@peterj](https://discourse.julialang.org/u/peterj)\
**Replies:** 5\
**Last updated:** [April 3, 2020, 5:49am UTC](https://discourse.julialang.org/t/is-it-possible-to-name-slices-of-arrays-as-functions/36934 "2020-04-03T05:49:29Z")

</div>

A common use case for me, and lots of people I would think, is to have large systems of DEs such as dx\_i / dt = … dy\_i / dt = … where i \\in \[1, n\] and x\_i, y\_i represents the ith class of x, y respectively. Usually I…

---

## [Do I need to define a random Sampler?](https://discourse.julialang.org/t/do-i-need-to-define-a-random-sampler/36925)

<div class="topic-metadata">

**Author:** [@ChandlerKilpatrick1](https://discourse.julialang.org/u/ChandlerKilpatrick1)\
**Replies:** 3\
**Last updated:** [April 3, 2020, 5:27am UTC](https://discourse.julialang.org/t/do-i-need-to-define-a-random-sampler/36925 "2020-04-03T05:27:15Z")

</div>

Hey all, I am getting the following error when I run my code: ERROR: LoadError: MethodError: no method matching &(::TagState, ::UInt8) Closest candidates are: &(::Any, ::Any, ::Any, ::Any...) at operators.jl:529 &(:…

---

## [How to use Julia to create Golden section search](https://discourse.julialang.org/t/how-to-use-julia-to-create-golden-section-search/36916)

<div class="topic-metadata">

**Author:** [@11129](https://discourse.julialang.org/u/11129)\
**Replies:** 5\
**Last updated:** [April 3, 2020, 5:22am UTC](https://discourse.julialang.org/t/how-to-use-julia-to-create-golden-section-search/36916 "2020-04-03T05:22:39Z")

</div>

How to use code to reach the Golden section search.

---

## [Interpreting LOAD\_PATH in 1.0](https://discourse.julialang.org/t/interpreting-load-path-in-1-0/13529)

<div class="topic-metadata">

**Author:** [@tk3369](https://discourse.julialang.org/u/tk3369)\
**Replies:** 3\
**Last updated:** [April 3, 2020, 5:20am UTC](https://discourse.julialang.org/t/interpreting-load-path-in-1-0/13529 "2020-04-03T05:20:06Z")

</div>

What does the @ sign mean? I tried to look it up from the manual but couldn’t find it… julia\> LOAD\_PATH 3-element Array{String,1}: "@" "@v#.#" "@stdlib"

---

## [Python \_\_call\_\_ equivalent in Julia](https://discourse.julialang.org/t/python-call-equivalent-in-julia/36905)

<div class="topic-metadata">

**Author:** [@HiroIshida](https://discourse.julialang.org/u/HiroIshida)\
**Replies:** 5\
**Last updated:** [April 3, 2020, 1:39am UTC](https://discourse.julialang.org/t/python-call-equivalent-in-julia/36905 "2020-04-03T01:39:29Z")

</div>

In python, one can use an instance as a function by defining \_\_call\_\_ as following code. I want to do the similar thing in Julia by using a struct instead of a class. Could anyone tell me how to do this? class Mul: …

---

## [\[ANN\] UnofficialJuliaMirror now hosts mirrors on GitLab and Bitbucket (in addition to GitHub)](https://discourse.julialang.org/t/ann-unofficialjuliamirror-now-hosts-mirrors-on-gitlab-and-bitbucket-in-addition-to-github/17130)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 2\
**Last updated:** [April 3, 2020, 12:29am UTC](https://discourse.julialang.org/t/ann-unofficialjuliamirror-now-hosts-mirrors-on-gitlab-and-bitbucket-in-addition-to-github/17130 "2020-04-03T00:29:51Z")

</div>

UnofficialJuliaMirror now hosts mirrors on GitLab and Bitbucket, in addition to GitHub. The mirrors are located at the following locations: GitHub: https://github.com/UnofficialJuliaMirror GitLab: https://gitlab.com/U…

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

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