# Latest

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

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

**Page:** 1340

---

## [Memory usage data for getproperty function](https://discourse.julialang.org/t/memory-usage-data-for-getproperty-function/64139)

<div class="topic-metadata">

**Author:** [@jsjie](https://discourse.julialang.org/u/jsjie)\
**Replies:** 3\
**Last updated:** [July 6, 2021, 10:56am UTC](https://discourse.julialang.org/t/memory-usage-data-for-getproperty-function/64139 "2021-07-06T10:56:09Z")

</div>

I’m analysing memory usage as described in julia manual , and I found that getproperty functions seem to be related to large numbers. The following lines is taken from the result .mem file: - function Base.getp…

---

## [Overloading ≫ yields ERROR: TypeError: non-boolean used in boolean context](https://discourse.julialang.org/t/overloading-yields-error-typeerror-non-boolean-used-in-boolean-context/64132)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 3\
**Last updated:** [July 6, 2021, 9:56am UTC](https://discourse.julialang.org/t/overloading-yields-error-typeerror-non-boolean-used-in-boolean-context/64132 "2021-07-06T09:56:07Z")

</div>

Can anyone help why this weird error happens? (working on julia 1.6.1) julia\> a ≫ b = a + b ≫ (generic function with 1 method) julia\> (1 ≫ 2) ≫ 3 6 julia\> 1 ≫ (2 ≫ 3) 6 julia\> 1 ≫ 2 ≫ 3 ERROR: TypeError: non-b…

---

## [@printf not consistent with C printf?](https://discourse.julialang.org/t/printf-not-consistent-with-c-printf/64136)

<div class="topic-metadata">

**Author:** [@floswald](https://discourse.julialang.org/u/floswald)\
**Replies:** 3\
**Last updated:** [July 6, 2021, 9:32am UTC](https://discourse.julialang.org/t/printf-not-consistent-with-c-printf/64136 "2021-07-06T09:32:57Z")

</div>

quick question about %02.3f format specifier - that should left pad zeros to the left of the comma sign, and have 3 digits afterwards, like here formatting - 'printf' with leading zeros in C - Stack Overflow julia\> @pri…

---

## [Two Y-axis in PlotlyJS](https://discourse.julialang.org/t/two-y-axis-in-plotlyjs/62701)

<div class="topic-metadata">

**Author:** [@VivMendes](https://discourse.julialang.org/u/VivMendes)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 9:11am UTC](https://discourse.julialang.org/t/two-y-axis-in-plotlyjs/62701 "2021-07-06T09:11:28Z")

</div>

Hi, I am trying to come up with a two yy-axis in a plot using PlotlyJS. I have tried many variations on the Plotly example (displayed below), but all the time, something comes out wrong. Help will be very much appreciat…

---

## [Julia 1.6 UndefVarError: .. not defined](https://discourse.julialang.org/t/julia-1-6-undefvarerror-not-defined/64085)

<div class="topic-metadata">

**Author:** [@reemmasoud123](https://discourse.julialang.org/u/reemmasoud123)\
**Replies:** 5\
**Last updated:** [July 6, 2021, 8:56am UTC](https://discourse.julialang.org/t/julia-1-6-undefvarerror-not-defined/64085 "2021-07-06T08:56:00Z")

</div>

I just downloaded Julia 1.6 and the syntax: \[-1. .1\] that expresses a range of numbers which used to work in Julia 1.5 no longer works. Does anyone know what the latest syntax for “. .” is? I need it as I am using the…

---

## [Overlap scatter plot and curve plot for data fitting](https://discourse.julialang.org/t/overlap-scatter-plot-and-curve-plot-for-data-fitting/64128)

<div class="topic-metadata">

**Author:** [@minhnguyen](https://discourse.julialang.org/u/minhnguyen)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 5:45am UTC](https://discourse.julialang.org/t/overlap-scatter-plot-and-curve-plot-for-data-fitting/64128 "2021-07-06T05:45:53Z")

</div>

Hi everyone, I’m trying to do math modeling based on a differential equation. I’m figuring out the parameters that make the graph matched the supported data. In order to see the fitness, I’d like to do overlapping graph…

---

## [How do I watch JuliaCon 2021, if I missed it?](https://discourse.julialang.org/t/how-do-i-watch-juliacon-2021-if-i-missed-it/64126)

<div class="topic-metadata">

**Author:** [@development\_mentor](https://discourse.julialang.org/u/development_mentor)\
**Replies:** 4\
**Last updated:** [July 6, 2021, 5:18am UTC](https://discourse.julialang.org/t/how-do-i-watch-juliacon-2021-if-i-missed-it/64126 "2021-07-06T05:18:31Z")

</div>

I went with my family on holiday and couldn’t watch JuliaCon 2021. Is there a way to watch it now, or will it come on youtube?, Thanks!

---

## [Cannot run ReinforcementLearning#master](https://discourse.julialang.org/t/cannot-run-reinforcementlearning-master/64050)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 1\
**Last updated:** [July 6, 2021, 4:49am UTC](https://discourse.julialang.org/t/cannot-run-reinforcementlearning-master/64050 "2021-07-06T04:49:45Z")

</div>

Hi. Running pkg\> add ReinforcementLearning works as it should. Then, I wanted to try download the latest master branch from the git repo, as it also looks that the docu Tutorial · ReinforcementLearning.jl is based on thi…

---

## [Interested for co-authoring a book titled "ML in Julia ecosystem"](https://discourse.julialang.org/t/interested-for-co-authoring-a-book-titled-ml-in-julia-ecosystem/64125)

<div class="topic-metadata">

**Author:** [@Naba7](https://discourse.julialang.org/u/Naba7)\
**Replies:** 0\
**Last updated:** [July 6, 2021, 4:39am UTC](https://discourse.julialang.org/t/interested-for-co-authoring-a-book-titled-ml-in-julia-ecosystem/64125 "2021-07-06T04:39:41Z")

</div>

I have been asked by Packt Publishing to author a book titled “ML in Julia ecosystem”. The outline is almost finished and I will be sending a final draft by this week. The Edboard team of Packt are asking for a co-author…

---

## [Using functors for sparse Jacobian evaluations](https://discourse.julialang.org/t/using-functors-for-sparse-jacobian-evaluations/64111)

<div class="topic-metadata">

**Author:** [@jdlara-berkeley](https://discourse.julialang.org/u/jdlara-berkeley)\
**Replies:** 2\
**Last updated:** [July 6, 2021, 12:13am UTC](https://discourse.julialang.org/t/using-functors-for-sparse-jacobian-evaluations/64111 "2021-07-06T00:13:38Z")

</div>

I am trying to use ForwardDiff to calculate the Jacobian of a function so that I can reuse the resulting Jacobian function and use it as an input for several packages. For instance, pass it to NLsolve and later use it in…

---

## [Developing a Beginner's Roadmap to Learn Julia High Performance Computing for Data Science](https://discourse.julialang.org/t/developing-a-beginners-roadmap-to-learn-julia-high-performance-computing-for-data-science/63970)

<div class="topic-metadata">

**Author:** [@TheCedarPrince](https://discourse.julialang.org/u/TheCedarPrince)\
**Replies:** 30\
**Last updated:** [July 5, 2021, 11:53pm UTC](https://discourse.julialang.org/t/developing-a-beginners-roadmap-to-learn-julia-high-performance-computing-for-data-science/63970 "2021-07-05T23:53:19Z")

</div>

Hi all :wave: Hope you are doing well! In alignment with both my professional and personal interests, I am slowly starting to turn my attention to the domain of High Performance Computing for the purposes of: Designin…

---

## [Array indexing](https://discourse.julialang.org/t/array-indexing/64095)

<div class="topic-metadata">

**Author:** [@Marcell\_Havlik](https://discourse.julialang.org/u/Marcell_Havlik)\
**Replies:** 7\
**Last updated:** [July 5, 2021, 10:43pm UTC](https://discourse.julialang.org/t/array-indexing/64095 "2021-07-05T22:43:14Z")

</div>

Hey Julianners, Are there a way to ha a syntax like this: arrofarr = \[randn(2,4) for \_ in 1:10\] arrofarr\[7:end\]\[1:2,3:end\] # would select a \[4\] x \[2,2\] dim array. Is this possible? It would be really clean and it coul…

---

## [Recent publications of Julia packages for Power Systems modeling](https://discourse.julialang.org/t/recent-publications-of-julia-packages-for-power-systems-modeling/64114)

<div class="topic-metadata">

**Author:** [@jdlara-berkeley](https://discourse.julialang.org/u/jdlara-berkeley)\
**Replies:** 0\
**Last updated:** [July 5, 2021, 10:36pm UTC](https://discourse.julialang.org/t/recent-publications-of-julia-packages-for-power-systems-modeling/64114 "2021-07-05T22:36:05Z")

</div>

For all the users interested in Power system modeling, I would like to share two recent publications about the packages we have been developing in Julia. PowerSystems.jl provides data structures to model power systems w…

---

## [ForwardDiff.derivative! of inplace functions](https://discourse.julialang.org/t/forwarddiff-derivative-of-inplace-functions/54014)

<div class="topic-metadata">

**Author:** [@jokasimr](https://discourse.julialang.org/u/jokasimr)\
**Replies:** 1\
**Last updated:** [July 5, 2021, 10:17pm UTC](https://discourse.julialang.org/t/forwarddiff-derivative-of-inplace-functions/54014 "2021-07-05T22:17:43Z")

</div>

I’m learning how to use the FiniteDifference.jl package without allocating, and I want to implement a function for doing Jacobian vector products inplace. :slight\_smile: The goal is to accomplish the same as jvp\_finite…

---

## [Learning Epidemic Model With Neural Differential Equations](https://discourse.julialang.org/t/learning-epidemic-model-with-neural-differential-equations/63386)

<div class="topic-metadata">

**Author:** [@bkuwahara](https://discourse.julialang.org/u/bkuwahara)\
**Replies:** 5\
**Last updated:** [July 5, 2021, 9:26pm UTC](https://discourse.julialang.org/t/learning-epidemic-model-with-neural-differential-equations/63386 "2021-07-05T21:26:22Z")

</div>

I’m trying to use neural networks with DiffEqFlux to learn an SIR model with vaccination dynamics. The equations for this model are function SIRx!(du, u, p, t) β, μ, γ, a, b = Float32.(\[280, 1/50, 365/22, 100, 0.05\]…

---

## [\[ANN\] FIRLSFilterDesign.jl](https://discourse.julialang.org/t/ann-firlsfilterdesign-jl/59820)

<div class="topic-metadata">

**Author:** [@LeoKoo](https://discourse.julialang.org/u/LeoKoo)\
**Replies:** 4\
**Last updated:** [July 5, 2021, 9:03pm UTC](https://discourse.julialang.org/t/ann-firlsfilterdesign-jl/59820 "2021-07-05T21:03:22Z")

</div>

Hi everyone, I want to announce FIRLSFilterDesign.jl, which is a package that allows you to design linear phase Finite Impulse Response filters using weighted Least-Squares. It supports: All types of linear phase FIR…

---

## [What is package that needs to be added to use SparseMatrix?](https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 8:51pm UTC](https://discourse.julialang.org/t/what-is-package-that-needs-to-be-added-to-use-sparsematrix/64105 "2021-07-05T20:51:44Z")

</div>

Hello, I am trying to use the spzeros() function, but I couldnt know which package I need to install? Bests,

---

## [Unable to use Flux](https://discourse.julialang.org/t/unable-to-use-flux/64077)

<div class="topic-metadata">

**Author:** [@development\_mentor](https://discourse.julialang.org/u/development_mentor)\
**Replies:** 5\
**Last updated:** [July 5, 2021, 8:25pm UTC](https://discourse.julialang.org/t/unable-to-use-flux/64077 "2021-07-05T20:25:08Z")

</div>

Hello, I’m trying to do reinforcement learning and deep learning with Julia. But can’t use Flux. I get an error: ┌ Info: Precompiling Flux \[587475ba-b771-5e3f-ad9e-33799f191a9c\] └ @ Base loading.jl:1317 ERROR: LoadError…

---

## [How to get 'stable' URL for documentation?](https://discourse.julialang.org/t/how-to-get-stable-url-for-documentation/64030)

<div class="topic-metadata">

**Author:** [@MattWillFlood](https://discourse.julialang.org/u/MattWillFlood)\
**Replies:** 6\
**Last updated:** [July 5, 2021, 8:19pm UTC](https://discourse.julialang.org/t/how-to-get-stable-url-for-documentation/64030 "2021-07-05T20:19:59Z")

</div>

According to the documentation for Documenter.jl: Documentation built for a tag vX.Y.Z will be stored in a folder vX.Y.Z . Documentation built from the devbranch branch ( master by default) is stored in a folder deter…

---

## [Unable to install JuliaPro on Ubuntu](https://discourse.julialang.org/t/unable-to-install-juliapro-on-ubuntu/64091)

<div class="topic-metadata">

**Author:** [@Mahesh](https://discourse.julialang.org/u/Mahesh)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 7:59pm UTC](https://discourse.julialang.org/t/unable-to-install-juliapro-on-ubuntu/64091 "2021-07-05T19:59:32Z")

</div>

Hello Julia, I have tried installing Julia on my Ubuntu 20.04 LTS but could not install it. Your help is much appreciated. sudo yum -y install xclip && sudo yum -y install libXScrnSaver chmod 777 JuliaPro-1.5.4-1\_buil…

---

## [Does Julia have tail call optimization?](https://discourse.julialang.org/t/does-julia-have-tail-call-optimization/64101)

<div class="topic-metadata">

**Author:** [@purplishrock](https://discourse.julialang.org/u/purplishrock)\
**Replies:** 4\
**Last updated:** [July 5, 2021, 7:50pm UTC](https://discourse.julialang.org/t/does-julia-have-tail-call-optimization/64101 "2021-07-05T19:50:10Z")

</div>

does Julia have tail call optimization ? or does a recursive function always overflow regardless of if you are careful to construct it in that fashion ?

---

## [Having difficulty to produce a .pdf (but not .html) output using Weave.jl](https://discourse.julialang.org/t/having-difficulty-to-produce-a-pdf-but-not-html-output-using-weave-jl/64100)

<div class="topic-metadata">

**Author:** [@quant-biologist](https://discourse.julialang.org/u/quant-biologist)\
**Replies:** 0\
**Last updated:** [July 5, 2021, 7:45pm UTC](https://discourse.julialang.org/t/having-difficulty-to-produce-a-pdf-but-not-html-output-using-weave-jl/64100 "2021-07-05T19:45:38Z")

</div>

Good day, I am new to Julia, but really eager to learn. I am preparing a scientific manuscript and I would like to provide reproducible documents (i.e. Julia code) to publish on a GitHub repository. I have no problem us…

---

## [My function for a struct complains access to undefined reference?](https://discourse.julialang.org/t/my-function-for-a-struct-complains-access-to-undefined-reference/64092)

<div class="topic-metadata">

**Author:** [@EMCP](https://discourse.julialang.org/u/EMCP)\
**Replies:** 2\
**Last updated:** [July 5, 2021, 7:09pm UTC](https://discourse.julialang.org/t/my-function-for-a-struct-complains-access-to-undefined-reference/64092 "2021-07-05T19:09:32Z")

</div>

I have 3 julialang files so far… and trying to get a working setup… but hit a snag … here’s my code dense\_layer.jl mutable struct LayerDense num\_inputs num\_neurons weights::Matrix{Float64} biases::Matri…

---

## [Differential operators: curl div, grad, laplacian, partial derivatives with automatic differentiation](https://discourse.julialang.org/t/differential-operators-curl-div-grad-laplacian-partial-derivatives-with-automatic-differentiation/39375)

<div class="topic-metadata">

**Author:** [@mleprovost](https://discourse.julialang.org/u/mleprovost)\
**Replies:** 9\
**Last updated:** [July 5, 2021, 7:21pm UTC](https://discourse.julialang.org/t/differential-operators-curl-div-grad-laplacian-partial-derivatives-with-automatic-differentiation/39375 "2021-07-05T19:21:52Z")

</div>

Hello, Is there a package that implements the operators curl div, grad, laplacian, partial derivatives with automatic differentiation for scalar functions and vector fields?

---

## [Closed Source Dependencies and Licenses from SAS](https://discourse.julialang.org/t/closed-source-dependencies-and-licenses-from-sas/64090)

<div class="topic-metadata">

**Author:** [@nucklass](https://discourse.julialang.org/u/nucklass)\
**Replies:** 3\
**Last updated:** [July 5, 2021, 7:03pm UTC](https://discourse.julialang.org/t/closed-source-dependencies-and-licenses-from-sas/64090 "2021-07-05T19:03:00Z")

</div>

Hoping some some more experienced devs could chime in. I’m looking to write a package for Julia to interface with SAS, akin to the saspy package SAS maintains. Long story short, the Julia package will need these four jar…

---

## [Dot vs. array comprehension vs. loop](https://discourse.julialang.org/t/dot-vs-array-comprehension-vs-loop/64049)

<div class="topic-metadata">

**Author:** [@pmlo](https://discourse.julialang.org/u/pmlo)\
**Replies:** 4\
**Last updated:** [July 4, 2021, 10:56pm UTC](https://discourse.julialang.org/t/dot-vs-array-comprehension-vs-loop/64049 "2021-07-04T22:56:10Z")

</div>

Hello! New Julia user here. Following this post, I try to learn the way to speed up sums / integrals. I am doing the following test: using BenchmarkTools xvec = range(0, 4, length=1000) function fdot() function …

---

## [Announcing SubspaceInference.jl](https://discourse.julialang.org/t/announcing-subspaceinference-jl/64094)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 0\
**Last updated:** [July 5, 2021, 6:01pm UTC](https://discourse.julialang.org/t/announcing-subspaceinference-jl/64094 "2021-07-05T18:01:11Z")

</div>

I’m happy to announce SubspaceInference.jl , a fast implementation to generate uncertainties in Neural Networks and Neural ODE’s Scaling of Bayesian inference techniques to deep neural networks (Bayesian Neural Networks…

---

## [Question in Packages.ipynb](https://discourse.julialang.org/t/question-in-packages-ipynb/64093)

<div class="topic-metadata">

**Author:** [@Paresh](https://discourse.julialang.org/u/Paresh)\
**Replies:** 1\
**Last updated:** [July 5, 2021, 6:02pm UTC](https://discourse.julialang.org/t/question-in-packages-ipynb/64093 "2021-07-05T18:02:03Z")

</div>

Hello, How do we see the environment similar to (Introduction to Julia) pkg\> on the Terminal. Please help. Thank you.

---

## [JuliaMunich Share&Code: Probabilistic Modelling with Turing.jl](https://discourse.julialang.org/t/juliamunich-share-code-probabilistic-modelling-with-turing-jl/62832)

<div class="topic-metadata">

**Author:** [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Replies:** 4\
**Last updated:** [July 5, 2021, 4:19pm UTC](https://discourse.julialang.org/t/juliamunich-share-code-probabilistic-modelling-with-turing-jl/62832 "2021-07-05T16:19:31Z")

</div>

Time: 05. July 2021 at 18:30 Location: online, organized via Login to Meetup | Meetup Probabilistic programming is my favourite strength of the Julia language. I am glad to welcome @devmotion David Widmann, an active d…

---

## [ForwardDiff caches usage](https://discourse.julialang.org/t/forwarddiff-caches-usage/64058)

<div class="topic-metadata">

**Author:** [@jdlara-berkeley](https://discourse.julialang.org/u/jdlara-berkeley)\
**Replies:** 5\
**Last updated:** [July 5, 2021, 4:07pm UTC](https://discourse.julialang.org/t/forwarddiff-caches-usage/64058 "2021-07-05T16:07:06Z")

</div>

I have been trying to implement a cache correctly for ForwardDiff similar to DiffEqCache without too much success. My final objective is to have a Jacobian function of the system that we can reuse in multiple steps sinc…

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

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