# Latest

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

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

**Page:** 1590

---

## [Idiomatic storage for intermediate calculations](https://discourse.julialang.org/t/idiomatic-storage-for-intermediate-calculations/49138)

<div class="topic-metadata">

**Author:** [@GlenHenshaw](https://discourse.julialang.org/u/GlenHenshaw)\
**Replies:** 8\
**Last updated:** [October 28, 2020, 5:20pm UTC](https://discourse.julialang.org/t/idiomatic-storage-for-intermediate-calculations/49138 "2020-10-28T17:20:30Z")

</div>

I’m writing a module that’s numerically intensive (aren’t we all?), and I’m running into an issue where I seem to be fighting the language… which makes me suspect I’m doing it wrong. Specifically, I want to have a struc…

---

## [ERROR: expected package \`PkgAuthentication \[4722fa14\]\` to be registered](https://discourse.julialang.org/t/error-expected-package-pkgauthentication-4722fa14-to-be-registered/40215)

<div class="topic-metadata">

**Author:** [@akahs](https://discourse.julialang.org/u/akahs)\
**Replies:** 6\
**Last updated:** [October 28, 2020, 5:02pm UTC](https://discourse.julialang.org/t/error-expected-package-pkgauthentication-4722fa14-to-be-registered/40215 "2020-10-28T17:02:35Z")

</div>

Hello, I was using JuliaPro v1.4.0 on Windows 10. I was trying to install a package but the REPL got stuck so I interrupted it. Since then I’m no longer able to install any package due to this error. Did I break somethin…

---

## [Mezzanine like framework](https://discourse.julialang.org/t/mezzanine-like-framework/49189)

<div class="topic-metadata">

**Author:** [@rveltz](https://discourse.julialang.org/u/rveltz)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 4:50pm UTC](https://discourse.julialang.org/t/mezzanine-like-framework/49189 "2020-10-28T16:50:57Z")

</div>

Hi, I am wondering if there is something close to mezzanine (django) but made ( i guess) with Genie.jl. Does anybody knows? Thank you, Romain

---

## [Confusing Julia & JuliaPro environment variables](https://discourse.julialang.org/t/confusing-julia-juliapro-environment-variables/48978)

<div class="topic-metadata">

**Author:** [@ardsatcg](https://discourse.julialang.org/u/ardsatcg)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 4:28pm UTC](https://discourse.julialang.org/t/confusing-julia-juliapro-environment-variables/48978 "2020-10-28T16:28:36Z")

</div>

What should i add for Julia & JuliaPro in environment variables ( windows 10 )

---

## [Interpolation with matrices](https://discourse.julialang.org/t/interpolation-with-matrices/49058)

<div class="topic-metadata">

**Author:** [@gregory](https://discourse.julialang.org/u/gregory)\
**Replies:** 13\
**Last updated:** [October 28, 2020, 3:15pm UTC](https://discourse.julialang.org/t/interpolation-with-matrices/49058 "2020-10-28T15:15:06Z")

</div>

Using Interpolations x = rand(50,5)\*2 .- 1 # Fake input data y = rand(50) # Fake output data itp = interpolate((x,),y, BSpline(Linear())) ERROR: MethodError: no method matching interpolate(::Tuple{Array{Float64,1}},…

---

## [L1 regularization with box constraint in JuMP?](https://discourse.julialang.org/t/l1-regularization-with-box-constraint-in-jump/49105)

<div class="topic-metadata">

**Author:** [@yewalenikhil65](https://discourse.julialang.org/u/yewalenikhil65)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 3:07pm UTC](https://discourse.julialang.org/t/l1-regularization-with-box-constraint-in-jump/49105 "2020-10-28T15:07:01Z")

</div>

Does JuMP have L1 regularization with box constraint in following form as utility ? minimize || Ax - b || subject to 1st norm of x i.e. |x| \< lambda (some parameter) and 0 \<= x\[i\] \<= kappa (some parameter) where, A i…

---

## [Dynamically Create a Function - Initial Idea with eval failed due to World Age Issue](https://discourse.julialang.org/t/dynamically-create-a-function-initial-idea-with-eval-failed-due-to-world-age-issue/49139)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 19\
**Last updated:** [October 28, 2020, 2:51pm UTC](https://discourse.julialang.org/t/dynamically-create-a-function-initial-idea-with-eval-failed-due-to-world-age-issue/49139 "2020-10-28T14:51:42Z")

</div>

Hey all, I’m struggling to implement a certain problem. My current situation is the following: Some parts of my project consist of using Tullio functions. Since my arrays can be of arbitrary dimensions and I want to ap…

---

## [Difference in julia version between terminal and atom](https://discourse.julialang.org/t/difference-in-julia-version-between-terminal-and-atom/49176)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 2:49pm UTC](https://discourse.julialang.org/t/difference-in-julia-version-between-terminal-and-atom/49176 "2020-10-28T14:49:46Z")

</div>

Hello, I have just upgraded to Julia 1.5 from 1.4. I simply copied the new files in the old directory where I keep julia (in /home/). Although Atom is linked to the julia executable, the version does not match: # termi…

---

## [Plots.jl: Combine two plots into one with two series](https://discourse.julialang.org/t/plots-jl-combine-two-plots-into-one-with-two-series/4185)

<div class="topic-metadata">

**Author:** [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Replies:** 8\
**Last updated:** [October 28, 2020, 2:38pm UTC](https://discourse.julialang.org/t/plots-jl-combine-two-plots-into-one-with-two-series/4185 "2020-10-28T14:38:55Z")

</div>

Hi, I’m using the Plots.jl package and I’d like to do some manipulation to graph layout inside my functions, that return an aray of plot objects, that I finaly plot with grid layout. When I run the function with two set…

---

## [Error in running DifferentialEquations: DiffEqBase.NullParameters](https://discourse.julialang.org/t/error-in-running-differentialequations-diffeqbase-nullparameters/49175)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 2:16pm UTC](https://discourse.julialang.org/t/error-in-running-differentialequations-diffeqbase-nullparameters/49175 "2020-10-28T14:16:07Z")

</div>

Hello, a few months ago I generated a figure of the expected interaction between bacteria and phages using a delayed ODE: Now I tried to re-run that file but I got an error. Here is what happened: Version 1.4.1 jul…

---

## [Julia back-end / algorithmic ML development roles at Tangent Works (Slovakia / Belgium / Remote)](https://discourse.julialang.org/t/julia-back-end-algorithmic-ml-development-roles-at-tangent-works-slovakia-belgium-remote/49040)

<div class="topic-metadata">

**Author:** [@Jan\_Dolinsky](https://discourse.julialang.org/u/Jan_Dolinsky)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 1:36pm UTC](https://discourse.julialang.org/t/julia-back-end-algorithmic-ml-development-roles-at-tangent-works-slovakia-belgium-remote/49040 "2020-10-28T13:36:21Z")

</div>

Hello, we are looking for a Julia back-end developer and other related roles. You will be working on building the back-end components of a distributed machine learning system TIM (Tangent Information Modeller). Your wo…

---

## [Getting mp4 animations from Plots.jl to work in Firefox, Safari, etc.?](https://discourse.julialang.org/t/getting-mp4-animations-from-plots-jl-to-work-in-firefox-safari-etc/49072)

<div class="topic-metadata">

**Author:** [@PolarizedPoutine](https://discourse.julialang.org/u/PolarizedPoutine)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 1:06pm UTC](https://discourse.julialang.org/t/getting-mp4-animations-from-plots-jl-to-work-in-firefox-safari-etc/49072 "2020-10-28T13:06:44Z")

</div>

We’ve been using Plots.jl to create mp4 animations for Literate.jl examples (they work beautifully together!) but recently noticed that the mp4 animations do not show up in Firefox or Safari but do show up in Chrome. Ex…

---

## [Splatting keyword arguments to @variable macro in JuMP](https://discourse.julialang.org/t/splatting-keyword-arguments-to-variable-macro-in-jump/49130)

<div class="topic-metadata">

**Author:** [@gobs](https://discourse.julialang.org/u/gobs)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 12:57pm UTC](https://discourse.julialang.org/t/splatting-keyword-arguments-to-variable-macro-in-jump/49130 "2020-10-28T12:57:00Z")

</div>

I have a function which returns a particular variable, but defines it differently depending on my model type. I’ve recreated a MWE below. using JuMP function get\_z\_kwargs(m::Model) if m.ext\[:model\_type\] == "binary"…

---

## [Help with Interact and Jupyter notebook](https://discourse.julialang.org/t/help-with-interact-and-jupyter-notebook/49116)

<div class="topic-metadata">

**Author:** [@shashankchahar](https://discourse.julialang.org/u/shashankchahar)\
**Replies:** 2\
**Last updated:** [October 28, 2020, 10:54am UTC](https://discourse.julialang.org/t/help-with-interact-and-jupyter-notebook/49116 "2020-10-28T10:54:20Z")

</div>

I am new to Julia and have been trying to run Interact but it seems that Interact is not able to generate widgets on my machine. I did the following steps: Install Julia Pkg.add(“IJulia”) Pkg.add(“Interact”) Pkg.add(“…

---

## [Atom writes an envir file each time it runs](https://discourse.julialang.org/t/atom-writes-an-envir-file-each-time-it-runs/49167)

<div class="topic-metadata">

**Author:** [@Luigi\_Marongiu](https://discourse.julialang.org/u/Luigi_Marongiu)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 9:29am UTC](https://discourse.julialang.org/t/atom-writes-an-envir-file-each-time-it-runs/49167 "2020-10-28T09:29:05Z")

</div>

Hello, I am running Atom 1.52.0 on Ubuntu 20.04 with Julia 1.4.1. Now Atom started writing a file ~/ATOM\_DISABLE\_SHELLING\_OUT\_FOR\_ENVIRONMENT=false (which is empty). What is it and how can I remove it? Shall I add this…

---

## [How to GC a SharedArray](https://discourse.julialang.org/t/how-to-gc-a-sharedarray/48699)

<div class="topic-metadata">

**Author:** [@ianshmean](https://discourse.julialang.org/u/ianshmean)\
**Replies:** 6\
**Last updated:** [October 28, 2020, 9:23am UTC](https://discourse.julialang.org/t/how-to-gc-a-sharedarray/48699 "2020-10-28T09:23:08Z")

</div>

What’s the right way to garbage collect a SharedArray? This doesn’t work. Julia consumes 8 GB memory indefinitely (Version 1.6.0-DEV.1237) using SharedArrays begin a = SharedArray{Float64}(10000000) @distributed…

---

## [Ordered container clarification](https://discourse.julialang.org/t/ordered-container-clarification/49125)

<div class="topic-metadata">

**Author:** [@anon60034542](https://discourse.julialang.org/u/anon60034542)\
**Replies:** 3\
**Last updated:** [October 28, 2020, 8:49am UTC](https://discourse.julialang.org/t/ordered-container-clarification/49125 "2020-10-28T08:49:49Z")

</div>

From the push()! documentation: Insert one or more items in collection . If collection is an ordered container, the items are inserted at the end (in the given order). What does ordered mean is this case? That the co…

---

## [Modifying CuArray elements in-place with index arrays](https://discourse.julialang.org/t/modifying-cuarray-elements-in-place-with-index-arrays/49091)

<div class="topic-metadata">

**Author:** [@berquist](https://discourse.julialang.org/u/berquist)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 8:23am UTC](https://discourse.julialang.org/t/modifying-cuarray-elements-in-place-with-index-arrays/49091 "2020-10-28T08:23:20Z")

</div>

I’m trying to implement the vectorized square root for complex CUDA arrays, and am starting from the commented-out implementation in https://github.com/JuliaLang/julia/blob/5d8225a1116685e449fcc08b207acdd0f5106409/base/c…

---

## [Fit Poisson ditribution to histogram](https://discourse.julialang.org/t/fit-poisson-ditribution-to-histogram/48883)

<div class="topic-metadata">

**Author:** [@phlavenk](https://discourse.julialang.org/u/phlavenk)\
**Replies:** 4\
**Last updated:** [October 28, 2020, 7:43am UTC](https://discourse.julialang.org/t/fit-poisson-ditribution-to-histogram/48883 "2020-10-28T07:43:43Z")

</div>

Is there a way how to fit a Poisson distribution (determine the lambda parameter) from a histogram of an experimental process? In the experimental setup, in each event we are recording the number of detected photons and…

---

## [Collect a singleton query result as a dict with no missing values](https://discourse.julialang.org/t/collect-a-singleton-query-result-as-a-dict-with-no-missing-values/49157)

<div class="topic-metadata">

**Author:** [@mkarikom](https://discourse.julialang.org/u/mkarikom)\
**Replies:** 0\
**Last updated:** [October 28, 2020, 1:14am UTC](https://discourse.julialang.org/t/collect-a-singleton-query-result-as-a-dict-with-no-missing-values/49157 "2020-10-28T01:14:09Z")

</div>

How can I refactor the following queries so that the tests pass? df = DataFrame(:a=\>\[1,2\],:b=\>\["a","b"\],:c=\>\[1,missing\]) 2×3 DataFrame │ Row │ a │ b │ c │ │ │ Int64 │ String │ Int64? │ ├─────┼───────…

---

## [Parallel/multithreading version of linear regression](https://discourse.julialang.org/t/parallel-multithreading-version-of-linear-regression/48771)

<div class="topic-metadata">

**Author:** [@Antonina\_Klyuyeva](https://discourse.julialang.org/u/Antonina_Klyuyeva)\
**Replies:** 19\
**Last updated:** [October 28, 2020, 1:28am UTC](https://discourse.julialang.org/t/parallel-multithreading-version-of-linear-regression/48771 "2020-10-28T01:28:09Z")

</div>

Hi there, I’m new to Julia. I implemented regression model with interactions using Julia GLM package: Reg = lm(@formula(dep\_var ~ var1&var2&var3), data, true). But fitting this formula requires a lot of RAM (\> 80 GB)…

---

## [Need access to Julia Slack](https://discourse.julialang.org/t/need-access-to-julia-slack/49010)

<div class="topic-metadata">

**Author:** [@quantumspacetime](https://discourse.julialang.org/u/quantumspacetime)\
**Replies:** 8\
**Last updated:** [October 28, 2020, 12:13am UTC](https://discourse.julialang.org/t/need-access-to-julia-slack/49010 "2020-10-28T00:13:04Z")

</div>

Hi, May I have access to slack. Thank You.

---

## [Sizehint! a Dict with a BigInt size not possible?](https://discourse.julialang.org/t/sizehint-a-dict-with-a-bigint-size-not-possible/49151)

<div class="topic-metadata">

**Author:** [@malacroi](https://discourse.julialang.org/u/malacroi)\
**Replies:** 8\
**Last updated:** [October 27, 2020, 11:25pm UTC](https://discourse.julialang.org/t/sizehint-a-dict-with-a-bigint-size-not-possible/49151 "2020-10-27T23:25:54Z")

</div>

I’m using a dictionary to store some values indexed by integer partitions of 40. Since I know that there are 37338 of them, I attempted to sizehint! the dictionary, but instead of manually entering 37338, I used a funct…

---

## [Type promotion clarification](https://discourse.julialang.org/t/type-promotion-clarification/49148)

<div class="topic-metadata">

**Author:** [@djbarker](https://discourse.julialang.org/u/djbarker)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 9:22pm UTC](https://discourse.julialang.org/t/type-promotion-clarification/49148 "2020-10-27T21:22:25Z")

</div>

Hi All, Complete Julia newbie here. I thought I roughly understood the idea behind the promote\_rule and convert stuff (after looking at the docs and a few articles) but I don’t understand the following abstract type A …

---

## [Changing numerical base and other math tools/functions](https://discourse.julialang.org/t/changing-numerical-base-and-other-math-tools-functions/49137)

<div class="topic-metadata">

**Author:** [@Renan\_Rabelo](https://discourse.julialang.org/u/Renan_Rabelo)\
**Replies:** 6\
**Last updated:** [October 27, 2020, 8:32pm UTC](https://discourse.julialang.org/t/changing-numerical-base-and-other-math-tools-functions/49137 "2020-10-27T20:32:18Z")

</div>

Is there any packages to fast change numerical base, like to binary or octal, without using a custom function? I have some algorithms that I coded myself, but definitely there is faster algorithms to do so. Any help? I…

---

## [\[ANN\] MPI.jl 0.14 changes](https://discourse.julialang.org/t/ann-mpi-jl-0-14-changes/39126)

<div class="topic-metadata">

**Author:** [@simonbyrne](https://discourse.julialang.org/u/simonbyrne)\
**Replies:** 6\
**Last updated:** [October 27, 2020, 8:30pm UTC](https://discourse.julialang.org/t/ann-mpi-jl-0-14-changes/39126 "2020-10-27T20:30:30Z")

</div>

I’ve just tagged MPI.jl 0.14: the major change in this release is that it will now use a BinaryBuilder-provided MPI binary (Microsoft MPI on Windows, MPICH on other platforms). If you are running on a HPC system you wil…

---

## [Can't get WEBIO to work](https://discourse.julialang.org/t/cant-get-webio-to-work/49143)

<div class="topic-metadata">

**Author:** [@Hyako\_Issei](https://discourse.julialang.org/u/Hyako_Issei)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 7:52pm UTC](https://discourse.julialang.org/t/cant-get-webio-to-work/49143 "2020-10-27T19:52:16Z")

</div>

Im trying to create an interactive plot in julia with a slider but It throws the following error: Unable to load WebIO. Please make sure WebIO works for your Jupyter client. In the Julia terminal I try to install WEBIO…

---

## [Normalized densities in Gadfly](https://discourse.julialang.org/t/normalized-densities-in-gadfly/49141)

<div class="topic-metadata">

**Author:** [@yarnton](https://discourse.julialang.org/u/yarnton)\
**Replies:** 1\
**Last updated:** [October 27, 2020, 7:40pm UTC](https://discourse.julialang.org/t/normalized-densities-in-gadfly/49141 "2020-10-27T19:40:07Z")

</div>

As a newcomer I’ve found Gadfly very easy to learn and elegant to use. I encountered a little issue. A simple Geom.density seems to be non-normalized. That is, to be a function of frequencies, not probabilities. @tlnag…

---

## [Objective function error in a robust model](https://discourse.julialang.org/t/objective-function-error-in-a-robust-model/49123)

<div class="topic-metadata">

**Author:** [@RaquelSantos](https://discourse.julialang.org/u/RaquelSantos)\
**Replies:** 2\
**Last updated:** [October 27, 2020, 7:29pm UTC](https://discourse.julialang.org/t/objective-function-error-in-a-robust-model/49123 "2020-10-27T19:29:42Z")

</div>

I need to put this objective function in Julia. Can someone help me? I started doing this, but I still couldn’t compile the objective function using JuMP, JuMPeR, DataFrames, MathOptInterface, GLPKMathProgInterface M…

---

## [SymPy.jl vs SymEngine.jl vs Reduce.jl vs](https://discourse.julialang.org/t/sympy-jl-vs-symengine-jl-vs-reduce-jl-vs/10381)

<div class="topic-metadata">

**Author:** [@oxinabox](https://discourse.julialang.org/u/oxinabox)\
**Replies:** 23\
**Last updated:** [October 27, 2020, 7:10pm UTC](https://discourse.julialang.org/t/sympy-jl-vs-symengine-jl-vs-reduce-jl-vs/10381 "2020-10-27T19:10:14Z")

</div>

Has anyone made a serious comparison of the Symbolic Math packages we a currently have? (others?) There is a little (off topic) discussion here

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

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