# Latest

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

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

**Page:** 1263

---

## [Julia Gender Inclusive digital coffee meeting](https://discourse.julialang.org/t/julia-gender-inclusive-digital-coffee-meeting/68411)

<div class="topic-metadata">

**Author:** [@kimauth](https://discourse.julialang.org/u/kimauth)\
**Replies:** 0\
**Last updated:** [September 19, 2021, 2:51pm UTC](https://discourse.julialang.org/t/julia-gender-inclusive-digital-coffee-meeting/68411 "2021-09-19T14:51:01Z")

</div>

Dear all! Julia Gender Inclusive invites to another coffee meetup on Sunday, September 26th at 11AM EDT / 3pm UTC / 5pm CEST / 8:30 pm IST! The coffee meetups are meant to give a space for getting to know each other, d…

---

## [Vector of arrays initialization](https://discourse.julialang.org/t/vector-of-arrays-initialization/68402)

<div class="topic-metadata">

**Author:** [@henry2004y](https://discourse.julialang.org/u/henry2004y)\
**Replies:** 3\
**Last updated:** [September 19, 2021, 2:45pm UTC](https://discourse.julialang.org/t/vector-of-arrays-initialization/68402 "2021-09-19T14:45:14Z")

</div>

Hi, I have a case where I want to create a container for a list of arrays with known sizes but different types. The first thing that comes to mind is vector of vectors, like this: nv = 2 T = \[Float32, Int32\] nsize = \[4…

---

## [DifferentialEquations.jl 2.0 Release: Blog Post and Breaking Changes](https://discourse.julialang.org/t/differentialequations-jl-2-0-release-blog-post-and-breaking-changes/3525)

<div class="topic-metadata">

**Author:** [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Replies:** 0\
**Last updated:** [May 5, 2017, 12:20am UTC](https://discourse.julialang.org/t/differentialequations-jl-2-0-release-blog-post-and-breaking-changes/3525 "2017-05-05T00:20:42Z")

</div>

Hello everyone, I am pleased to announce the release of DifferentialEquations.jl 2.0. The release notes are at the JuliaDiffEq blog: This post details breaking changes. These were some lasting issues in the API that …

---

## [How to plot periodogram from DSP.jl?](https://discourse.julialang.org/t/how-to-plot-periodogram-from-dsp-jl/67969)

<div class="topic-metadata">

**Author:** [@mdsa3d](https://discourse.julialang.org/u/mdsa3d)\
**Replies:** 5\
**Last updated:** [September 19, 2021, 10:07am UTC](https://discourse.julialang.org/t/how-to-plot-periodogram-from-dsp-jl/67969 "2021-09-19T10:07:12Z")

</div>

I am trying to plot a periodogram for the following data. However, I am not sure how can i plot a periodogram object ? Code: #= DataFrame 10×10 DataFrame Row │ Date Open High Low Close Volume …

---

## [How to do non-centered parameterization in Turing](https://discourse.julialang.org/t/how-to-do-non-centered-parameterization-in-turing/44702)

<div class="topic-metadata">

**Author:** [@vkv](https://discourse.julialang.org/u/vkv)\
**Replies:** 13\
**Last updated:** [September 19, 2021, 9:38am UTC](https://discourse.julialang.org/t/how-to-do-non-centered-parameterization-in-turing/44702 "2021-09-19T09:38:50Z")

</div>

k is a random variable k ~ Normal(μ, σ), μ and σ have some other priors. I want to use a non-centered parameterization of the prior. I want to do something like this k\_ ~ Normal(0, 1) k = k\_ \* σ + μ Since the above doe…

---

## [Performance of cld vs ceil](https://discourse.julialang.org/t/performance-of-cld-vs-ceil/68309)

<div class="topic-metadata">

**Author:** [@jishnub](https://discourse.julialang.org/u/jishnub)\
**Replies:** 3\
**Last updated:** [September 17, 2021, 1:28pm UTC](https://discourse.julialang.org/t/performance-of-cld-vs-ceil/68309 "2021-09-17T13:28:36Z")

</div>

For floating-point arguments, julia\> x = 5.5; y = 2.2; julia\> @btime cld($(Ref(x))\[\], $(Ref(y))\[\]) 23.836 ns (0 allocations: 0 bytes) 3.0 julia\> @btime ceil(($(Ref(x))\[\] / $(Ref(y))\[\])) 2.682 ns (0 allocations: 0 …

---

## [Plots package install error](https://discourse.julialang.org/t/plots-package-install-error/68393)

<div class="topic-metadata">

**Author:** [@sqwu547](https://discourse.julialang.org/u/sqwu547)\
**Replies:** 3\
**Last updated:** [September 19, 2021, 7:20am UTC](https://discourse.julialang.org/t/plots-package-install-error/68393 "2021-09-19T07:20:38Z")

</div>

How can I figure this error?

---

## [Writing Arrow record batch requires a lot of RAM](https://discourse.julialang.org/t/writing-arrow-record-batch-requires-a-lot-of-ram/68313)

<div class="topic-metadata">

**Author:** [@kobusherbst](https://discourse.julialang.org/u/kobusherbst)\
**Replies:** 5\
**Last updated:** [September 19, 2021, 4:31am UTC](https://discourse.julialang.org/t/writing-arrow-record-batch-requires-a-lot-of-ram/68313 "2021-09-19T04:31:25Z")

</div>

I am using this function to save a batch Arrow files into a single Arrow file with record batches: function combinebatches(path::String, file::String, batches) files = Array{String,1}() for i = 1:batches …

---

## [Why the following code is not generating the normal wave period?](https://discourse.julialang.org/t/why-the-following-code-is-not-generating-the-normal-wave-period/68341)

<div class="topic-metadata">

**Author:** [@jcbritobr](https://discourse.julialang.org/u/jcbritobr)\
**Replies:** 10\
**Last updated:** [September 18, 2021, 11:02pm UTC](https://discourse.julialang.org/t/why-the-following-code-is-not-generating-the-normal-wave-period/68341 "2021-09-18T23:02:06Z")

</div>

Hello. Good afternoon I’m trying to do signal process with julia, and I’m new in language. I m having trouble with language to generate a simple signal(i came from matlab and octave). May someone help? using Plots fre…

---

## [Probably stupid plotting question in regards to saving figures](https://discourse.julialang.org/t/probably-stupid-plotting-question-in-regards-to-saving-figures/68381)

<div class="topic-metadata">

**Author:** [@charperflow](https://discourse.julialang.org/u/charperflow)\
**Replies:** 5\
**Last updated:** [September 18, 2021, 6:58pm UTC](https://discourse.julialang.org/t/probably-stupid-plotting-question-in-regards-to-saving-figures/68381 "2021-09-18T18:58:44Z")

</div>

I do not understand why my following code does not work: #crit\_theta.jl using Plots deg = 5 rad = deg/360 \* 3.14159 a = 0.15 α = -0.9 f(x) = ((tand(x)-tand(deg))/a)^α plt = plot(f, 5.1, 15, …

---

## [Easy workflow file for setting up GitHub Actions CI for your Julia package](https://discourse.julialang.org/t/easy-workflow-file-for-setting-up-github-actions-ci-for-your-julia-package/49765)

<div class="topic-metadata">

**Author:** [@dilumaluthge](https://discourse.julialang.org/u/dilumaluthge)\
**Replies:** 77\
**Last updated:** [September 18, 2021, 5:24pm UTC](https://discourse.julialang.org/t/easy-workflow-file-for-setting-up-github-actions-ci-for-your-julia-package/49765 "2021-09-18T17:24:46Z")

</div>

Travis CI no longer offers unlimited free minutes for public open-source repositories. However, GitHub Actions continues to offer unlimited free minutes for public open-source repositories. To set up GitHub Actions CI …

---

## [Render LaTeX in plot](https://discourse.julialang.org/t/render-latex-in-plot/68376)

<div class="topic-metadata">

**Author:** [@vinicius\_de\_lima](https://discourse.julialang.org/u/vinicius_de_lima)\
**Replies:** 1\
**Last updated:** [September 18, 2021, 4:45pm UTC](https://discourse.julialang.org/t/render-latex-in-plot/68376 "2021-09-18T16:45:10Z")

</div>

I’m trying to render LaTex in the following plot: using LaTeXStrings using Plots plotly() plot(100 \* ω\_compac,ρ\_seco, title = "Curva de Compactação", xlabel = "ω(%)", ylabel = L"\\rho\_{seco}(…

---

## [Econometrics.jl vs. R's plm](https://discourse.julialang.org/t/econometrics-jl-vs-rs-plm/68345)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 2\
**Last updated:** [September 18, 2021, 3:24pm UTC](https://discourse.julialang.org/t/econometrics-jl-vs-rs-plm/68345 "2021-09-18T15:24:21Z")

</div>

I’m working through the Econometrics With R online book, specifically the example in 10.3 on fixed effects regression, but I’m trying to follow along with Econometrics.jl. Here’s the full code to reproduce the example: …

---

## [Pkg security question](https://discourse.julialang.org/t/pkg-security-question/7949)

<div class="topic-metadata">

**Author:** [@Liso](https://discourse.julialang.org/u/Liso)\
**Replies:** 10\
**Last updated:** [May 17, 2018, 1:07pm UTC](https://discourse.julialang.org/t/pkg-security-question/7949 "2018-05-17T13:07:11Z")

</div>

Do we need to be afraid of something like malicious packages?

---

## [Relative barmode in PGFPlotsX.jl](https://discourse.julialang.org/t/relative-barmode-in-pgfplotsx-jl/68095)

<div class="topic-metadata">

**Author:** [@fipelle](https://discourse.julialang.org/u/fipelle)\
**Replies:** 4\
**Last updated:** [September 18, 2021, 2:43pm UTC](https://discourse.julialang.org/t/relative-barmode-in-pgfplotsx-jl/68095 "2021-09-18T14:43:04Z")

</div>

Hi, I am trying to make a bar chart in PGFPlotsX.jl with the same properties of the PlotlyJS bar charts with relative barmode. I was not able to find an example neither in the PGFPlots.jl gallery, nor in the Plots.jl do…

---

## [What are the advantages of using @recipe in Plots vs import RecipesBase.plot?](https://discourse.julialang.org/t/what-are-the-advantages-of-using-recipe-in-plots-vs-import-recipesbase-plot/68366)

<div class="topic-metadata">

**Author:** [@viraltux](https://discourse.julialang.org/u/viraltux)\
**Replies:** 0\
**Last updated:** [September 18, 2021, 10:06am UTC](https://discourse.julialang.org/t/what-are-the-advantages-of-using-recipe-in-plots-vs-import-recipesbase-plot/68366 "2021-09-18T10:06:25Z")

</div>

@recipe is described in its docstring as This functionality is primarily geared to turning user types and settings into the data and attributes that describe a Plots.jl visualization. The example given to dispatch o…

---

## [\[ANN\] LinearFitXYerrors.jl : least squares ﬁtting of straight lines with correlated errors](https://discourse.julialang.org/t/ann-linearfitxyerrors-jl-least-squares-tting-of-straight-lines-with-correlated-errors/68112)

<div class="topic-metadata">

**Author:** [@rafael.guerra](https://discourse.julialang.org/u/rafael.guerra)\
**Replies:** 0\
**Last updated:** [September 13, 2021, 6:34pm UTC](https://discourse.julialang.org/t/ann-linearfitxyerrors-jl-least-squares-tting-of-straight-lines-with-correlated-errors/68112 "2021-09-13T18:34:55Z")

</div>

LinearFitXYerrors.jl is a small Julia package, based on York et al. (2004) with a few additions, to perform 1D linear fitting of experimental data with errors in both X and Y variables. The README.md file provides detai…

---

## [Has anyone used Kasdin's Runge-Kutta SDE algorithm?](https://discourse.julialang.org/t/has-anyone-used-kasdins-runge-kutta-sde-algorithm/68198)

<div class="topic-metadata">

**Author:** [@CRquantum](https://discourse.julialang.org/u/CRquantum)\
**Replies:** 4\
**Last updated:** [September 17, 2021, 7:46pm UTC](https://discourse.julialang.org/t/has-anyone-used-kasdins-runge-kutta-sde-algorithm/68198 "2021-09-17T19:46:31Z")

</div>

Dear all, I am doing SDE now. I know Julia has fancy differentialequations.jl. It has several SDE solver like SRIW1 or something like that, which uses adaptive Runge-Kutta (RK). I also found there is a fortran version o…

---

## [Extract a \`PlotlyJS.Plot\` object from \`Plots.Plot\`](https://discourse.julialang.org/t/extract-a-plotlyjs-plot-object-from-plots-plot/68362)

<div class="topic-metadata">

**Author:** [@iHany](https://discourse.julialang.org/u/iHany)\
**Replies:** 1\
**Last updated:** [September 18, 2021, 6:56am UTC](https://discourse.julialang.org/t/extract-a-plotlyjs-plot-object-from-plots-plot/68362 "2021-09-18T06:56:15Z")

</div>

Hi, I’m looking forward to how to use Dash.jl conveniently. For interactive plotting, I found that PlotlyJS.Plot object should be returned in a callback of Dash.jl like this examples. And I’m familiar with Plots.jl s…

---

## [Contact for JuliaIO Github org?](https://discourse.julialang.org/t/contact-for-juliaio-github-org/68350)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 5\
**Last updated:** [September 18, 2021, 2:35am UTC](https://discourse.julialang.org/t/contact-for-juliaio-github-org/68350 "2021-09-18T02:35:19Z")

</div>

Who is a good contact for the JuliaIO Github organization? https://github.com/JuliaIO

---

## [Finding BLAS/LAPACK in BinaryBuilder](https://discourse.julialang.org/t/finding-blas-lapack-in-binarybuilder/68321)

<div class="topic-metadata">

**Author:** [@circonflexe](https://discourse.julialang.org/u/circonflexe)\
**Replies:** 3\
**Last updated:** [September 18, 2021, 12:19am UTC](https://discourse.julialang.org/t/finding-blas-lapack-in-binarybuilder/68321 "2021-09-18T00:19:43Z")

</div>

So I try to compile with BinaryBuilder.jl some binary artifacts which depend on BLAS (via cmake), which is included in Julia and thus should not cause an extra download. What is the right way to indicate this dependency…

---

## [Value of @\_\_DIR\_\_ in Pluto notebook on Binder](https://discourse.julialang.org/t/value-of-dir-in-pluto-notebook-on-binder/68179)

<div class="topic-metadata">

**Author:** [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)\
**Replies:** 7\
**Last updated:** [September 18, 2021, 12:02am UTC](https://discourse.julialang.org/t/value-of-dir-in-pluto-notebook-on-binder/68179 "2021-09-18T00:02:02Z")

</div>

I have a Pluto notebook checked into GitHub that I’d like to be able to access through Binder. My notebook uses @DIR to activate a workspace (also in GitHub) that identifies the packages needed by the notebook. This wo…

---

## [How to define an element inside a structure with type 3x3 Matrix{Float64}](https://discourse.julialang.org/t/how-to-define-an-element-inside-a-structure-with-type-3x3-matrix-float64/68357)

<div class="topic-metadata">

**Author:** [@Amro](https://discourse.julialang.org/u/Amro)\
**Replies:** 6\
**Last updated:** [September 17, 2021, 11:45pm UTC](https://discourse.julialang.org/t/how-to-define-an-element-inside-a-structure-with-type-3x3-matrix-float64/68357 "2021-09-17T23:45:20Z")

</div>

I need to define Ls to be of 3x3 Matrix{Float64}. I could write as below but it is not working, any idea to define this? mutable struct R Ls::Array{Float64, 3x3} = \[0,0,0; 0,0,0; 0,0,0\] Ls::Vector{Vector{Float6…

---

## [Julia folder size](https://discourse.julialang.org/t/julia-folder-size/68356)

<div class="topic-metadata">

**Author:** [@evad](https://discourse.julialang.org/u/evad)\
**Replies:** 4\
**Last updated:** [September 17, 2021, 11:32pm UTC](https://discourse.julialang.org/t/julia-folder-size/68356 "2021-09-17T23:32:03Z")

</div>

Can I ask why ~/.julia folder keeps on growing in size? I need to remove the ~/.julia folder and reinstall everything once in a while, to keep a small footprint… currently the folder is over 2.8G for 57 packages… whereas…

---

## [Set aspect ratio of Makie plot](https://discourse.julialang.org/t/set-aspect-ratio-of-makie-plot/20707)

<div class="topic-metadata">

**Author:** [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)\
**Replies:** 5\
**Last updated:** [September 17, 2021, 7:35pm UTC](https://discourse.julialang.org/t/set-aspect-ratio-of-makie-plot/20707 "2021-09-17T19:35:58Z")

</div>

I want to set the aspect ratio of a Makie.volume plot. It seems to be fixed by the number of voxels in each direction: using Makie volume(rand(32, 32, 64))

---

## [Julia bindings for ZStd](https://discourse.julialang.org/t/julia-bindings-for-zstd/68349)

<div class="topic-metadata">

**Author:** [@mkitti](https://discourse.julialang.org/u/mkitti)\
**Replies:** 0\
**Last updated:** [September 17, 2021, 6:47pm UTC](https://discourse.julialang.org/t/julia-bindings-for-zstd/68349 "2021-09-17T18:47:29Z")

</div>

I’m building bindings for Zstd ( Zstandard - Real-time data compression algorithm ) using Clang.jl. I’ve currently put together as a pull request to @bicycle1885’s CodecZstd.jl. https://github.com/JuliaIO/CodecZstd.jl/p…

---

## [Specifying name of exported images in Literate.jl](https://discourse.julialang.org/t/specifying-name-of-exported-images-in-literate-jl/68348)

<div class="topic-metadata">

**Author:** [@Tomas\_Pevny](https://discourse.julialang.org/u/Tomas_Pevny)\
**Replies:** 0\
**Last updated:** [September 17, 2021, 6:29pm UTC](https://discourse.julialang.org/t/specifying-name-of-exported-images-in-literate-jl/68348 "2021-09-17T18:29:07Z")

</div>

Hello, I have followed the recommendation in Literate.jl’s docs to export plots as PNGs as follows p = plot(...) DisplayAs.PNG(p) which saves the figure and inserts the link. The trouble is that the image file has alw…

---

## [Hash function for immutable struct containing mutable vectors](https://discourse.julialang.org/t/hash-function-for-immutable-struct-containing-mutable-vectors/68326)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 2\
**Last updated:** [September 17, 2021, 6:24pm UTC](https://discourse.julialang.org/t/hash-function-for-immutable-struct-containing-mutable-vectors/68326 "2021-09-17T18:24:45Z")

</div>

Suppose I have an immutable struct A containing immutable fields as well as a (mutable) vector of immutable objects (such as Int64 objects), struct A x::Int y::Vector{Int} end Does Julia automatically define se…

---

## [Materials to better understand Econometrics.jl absorb feature](https://discourse.julialang.org/t/materials-to-better-understand-econometrics-jl-absorb-feature/68276)

<div class="topic-metadata">

**Author:** [@mthelm85](https://discourse.julialang.org/u/mthelm85)\
**Replies:** 3\
**Last updated:** [September 17, 2021, 5:02pm UTC](https://discourse.julialang.org/t/materials-to-better-understand-econometrics-jl-absorb-feature/68276 "2021-09-17T17:02:01Z")

</div>

This is only a little bit of a Julia question and mostly a question about where to find materials for learning econometrics, but: I’m wondering if anyone can suggest good materials for learning about modelling techniques…

---

## [Performance of select! on a DataFrame](https://discourse.julialang.org/t/performance-of-select-on-a-dataframe/68343)

<div class="topic-metadata">

**Author:** [@CameronBieganek](https://discourse.julialang.org/u/CameronBieganek)\
**Replies:** 2\
**Last updated:** [September 17, 2021, 4:12pm UTC](https://discourse.julialang.org/t/performance-of-select-on-a-dataframe/68343 "2021-09-17T16:12:50Z")

</div>

Naively I would expect that dropping columns (in place) from a DataFrame with select! would be a very cheap operation, on the order of nanoseconds. But I’m getting times in the microsecond range: julia\> using DataFrames…

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

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