# Latest

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

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

**Page:** 1112

---

## [How to release memory with EzXML](https://discourse.julialang.org/t/how-to-release-memory-with-ezxml/76533)

<div class="topic-metadata">

**Author:** [@jade\_mackay](https://discourse.julialang.org/u/jade_mackay)\
**Replies:** 1\
**Last updated:** [February 25, 2022, 5:56am UTC](https://discourse.julialang.org/t/how-to-release-memory-with-ezxml/76533 "2022-02-25T05:56:55Z")

</div>

Is there any way to release the memory after using EzXML’s readxml(path) function? I have tried doc = readxml(path) doc = nothing GC.gc() Thanks!

---

## [Comprehension doesn't infer type of parametric type collection when empty](https://discourse.julialang.org/t/comprehension-doesnt-infer-type-of-parametric-type-collection-when-empty/77040)

<div class="topic-metadata">

**Author:** [@filchristou](https://discourse.julialang.org/u/filchristou)\
**Replies:** 2\
**Last updated:** [February 25, 2022, 5:06am UTC](https://discourse.julialang.org/t/comprehension-doesnt-infer-type-of-parametric-type-collection-when-empty/77040 "2022-02-25T05:06:03Z")

</div>

When comprehension returns a empty collection of a parametric type, the type is lost. In simple code: struct A{T} a::T end vs = \[A(1), A(2), A(3), A(1.0), A(2.0), A(3.0)\] #6-element Vector{A}: # A{Int64}(1) # A{In…

---

## [Best way to extend a type doc string](https://discourse.julialang.org/t/best-way-to-extend-a-type-doc-string/76878)

<div class="topic-metadata">

**Author:** [@ablaom](https://discourse.julialang.org/u/ablaom)\
**Replies:** 5\
**Last updated:** [February 25, 2022, 4:43am UTC](https://discourse.julialang.org/t/best-way-to-extend-a-type-doc-string/76878 "2022-02-25T04:43:15Z")

</div>

Pkg A defines some type Foo, and this includes the declaration of a document string. Pkg B extends the functionality of Foo objects and wants to extend, not replace, the type’s docstring. What’s a clean way to do this? …

---

## [Adding a \`Priority\` besides normal and mute](https://discourse.julialang.org/t/adding-a-priority-besides-normal-and-mute/76795)

<div class="topic-metadata">

**Author:** [@adamwillisMastery](https://discourse.julialang.org/u/adamwillisMastery)\
**Replies:** 2\
**Last updated:** [February 24, 2022, 11:04pm UTC](https://discourse.julialang.org/t/adding-a-priority-besides-normal-and-mute/76795 "2022-02-24T23:04:14Z")

</div>

We’re interested in so many Topics, over a variety of Rich Categories It’s So easy to lose track time and of what’s interesting and truly Worthwhile Hence, it would be better to add a mini-feature, a ‘Priority’ choice …

---

## [Error when asking for sign of positive Irrational](https://discourse.julialang.org/t/error-when-asking-for-sign-of-positive-irrational/77015)

<div class="topic-metadata">

**Author:** [@jd-foster](https://discourse.julialang.org/u/jd-foster)\
**Replies:** 3\
**Last updated:** [February 24, 2022, 10:51pm UTC](https://discourse.julialang.org/t/error-when-asking-for-sign-of-positive-irrational/77015 "2022-02-24T22:51:23Z")

</div>

This is an error julia\> sign(π) ERROR: InexactError: Bool(-1) Stacktrace: \[1\] Bool @ ./float.jl:158 \[inlined\] \[2\] convert @ ./number.jl:7 \[inlined\] \[3\] oftype(x::Bool, y::Int64) @ Base ./essentials.jl:396 \[…

---

## [Differentiate spherical harmonics FastTransforms.jl](https://discourse.julialang.org/t/differentiate-spherical-harmonics-fasttransforms-jl/77038)

<div class="topic-metadata">

**Author:** [@zhiwei](https://discourse.julialang.org/u/zhiwei)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 8:07pm UTC](https://discourse.julialang.org/t/differentiate-spherical-harmonics-fasttransforms-jl/77038 "2022-02-24T20:07:29Z")

</div>

Hello, I am trying to differentiate spherical harmonic expansion by first converting to bivariate Fourier series using the package FastTransforms.jl. Here’s what I have so far: julia\> N=15; julia\> M=2\*N-1; julia\> C=…

---

## [Problems fitting a model using \`LsqFit.jl\`](https://discourse.julialang.org/t/problems-fitting-a-model-using-lsqfit-jl/77003)

<div class="topic-metadata">

**Author:** [@bhaveshshrimali](https://discourse.julialang.org/u/bhaveshshrimali)\
**Replies:** 2\
**Last updated:** [February 24, 2022, 6:35pm UTC](https://discourse.julialang.org/t/problems-fitting-a-model-using-lsqfit-jl/77003 "2022-02-24T18:35:39Z")

</div>

Hi everyone, It’s a long shot as the problem is quite niche, but I would still appreciate any help/comments from the community. Problem Description To put it briefly, I am interested in fitting a nonlinear model S(\\la…

---

## [How to test if values are randomly distributed in a matrix?](https://discourse.julialang.org/t/how-to-test-if-values-are-randomly-distributed-in-a-matrix/76966)

<div class="topic-metadata">

**Author:** [@Fred](https://discourse.julialang.org/u/Fred)\
**Replies:** 6\
**Last updated:** [February 24, 2022, 6:09pm UTC](https://discourse.julialang.org/t/how-to-test-if-values-are-randomly-distributed-in-a-matrix/76966 "2022-02-24T18:09:55Z")

</div>

Hi ! I build an image from a matrix with (X,Y) coordinates and intensities (I). Do you know a function to score the randomness of the intensities distribution in this matrix. In other words, is there a statistical test …

---

## [Same code run multiple times gives wildly different timings](https://discourse.julialang.org/t/same-code-run-multiple-times-gives-wildly-different-timings/76976)

<div class="topic-metadata">

**Author:** [@ForceBru](https://discourse.julialang.org/u/ForceBru)\
**Replies:** 39\
**Last updated:** [February 24, 2022, 4:52pm UTC](https://discourse.julialang.org/t/same-code-run-multiple-times-gives-wildly-different-timings/76976 "2022-02-24T16:52:40Z")

</div>

I have some code that heavily uses @tturbo from LoopVectorization for matmul-like operations. The main idea here is that I use Julia’s dispatch to pass settings to the algorithm. For example, I call fit!(option), and thi…

---

## [How to download, extract and import a zipped or tgz csv file from internet?](https://discourse.julialang.org/t/how-to-download-extract-and-import-a-zipped-or-tgz-csv-file-from-internet/77025)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 4:10pm UTC](https://discourse.julialang.org/t/how-to-download-extract-and-import-a-zipped-or-tgz-csv-file-from-internet/77025 "2022-02-24T16:10:57Z")

</div>

For a CSV file, I am using a combination of Pipe, HTTP and CSV to download, (eventually) modify the file and import it as a DataFrame without any temporary writing on disk: urlData = "https://github.com/sylvaticus/Intro…

---

## [Checkpointing.jl Checkpointing Library for Timestepping Codes](https://discourse.julialang.org/t/checkpointing-jl-checkpointing-library-for-timestepping-codes/77028)

<div class="topic-metadata">

**Author:** [@sriharikrishna](https://discourse.julialang.org/u/sriharikrishna)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 3:32pm UTC](https://discourse.julialang.org/t/checkpointing-jl-checkpointing-library-for-timestepping-codes/77028 "2022-02-24T15:32:08Z")

</div>

@Michel\_Schanen and I have created a package that provides checkpointing schemes for adjoint computation using automatic differentiation/autodiff (AD) of time stepping loops. The schemes are agnostic to the ADTool being …

---

## [What is the closest thing to Tidymodels in Julia?](https://discourse.julialang.org/t/what-is-the-closest-thing-to-tidymodels-in-julia/77026)

<div class="topic-metadata">

**Author:** [@logankilpatrick](https://discourse.julialang.org/u/logankilpatrick)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 3:17pm UTC](https://discourse.julialang.org/t/what-is-the-closest-thing-to-tidymodels-in-julia/77026 "2022-02-24T15:17:16Z")

</div>

Coming from the R community, what is the closest thing to emulate the features provided by Tidymodels in Julia? I think it might be https://github.com/alan-turing-institute/MLJ.jl but I want to confirm with other folks w…

---

## [How to use the app generated by PackageCompiler.jl?](https://discourse.julialang.org/t/how-to-use-the-app-generated-by-packagecompiler-jl/76994)

<div class="topic-metadata">

**Author:** [@Carol](https://discourse.julialang.org/u/Carol)\
**Replies:** 1\
**Last updated:** [February 24, 2022, 2:34pm UTC](https://discourse.julialang.org/t/how-to-use-the-app-generated-by-packagecompiler-jl/76994 "2022-02-24T14:34:43Z")

</div>

Hi, I want to make an app for my Julia package named “MyApp”. Below is the simplified usage of MyApp in Julia: using MyApp, DataFrames, CSV, Distributions a = CSV.read("data.csv", Dataframe) b = "y=x" c = 1 d = Norma…

---

## [Make "Please read" post a pop up in new threads](https://discourse.julialang.org/t/make-please-read-post-a-pop-up-in-new-threads/76837)

<div class="topic-metadata">

**Author:** [@juliohm](https://discourse.julialang.org/u/juliohm)\
**Replies:** 8\
**Last updated:** [February 24, 2022, 2:32pm UTC](https://discourse.julialang.org/t/make-please-read-post-a-pop-up-in-new-threads/76837 "2022-02-24T14:32:34Z")

</div>

The post is quite useful and we are always directing new users to it. Can Discourse add a warning or pop up whenever a user it typing a new thread?

---

## [Case insentitive package completion](https://discourse.julialang.org/t/case-insentitive-package-completion/76017)

<div class="topic-metadata">

**Author:** [@albheim](https://discourse.julialang.org/u/albheim)\
**Replies:** 3\
**Last updated:** [February 24, 2022, 12:25pm UTC](https://discourse.julialang.org/t/case-insentitive-package-completion/76017 "2022-02-24T12:25:18Z")

</div>

I have often found myself to know a package name, but fail to remember the casing (some packages are easy, some not as consistent). It is not hard to make a guess and try to tab complete until something works, but I feel…

---

## [\[ANN\] FileCmp.jl](https://discourse.julialang.org/t/ann-filecmp-jl/76919)

<div class="topic-metadata">

**Author:** [@jlapeyre](https://discourse.julialang.org/u/jlapeyre)\
**Replies:** 2\
**Last updated:** [February 24, 2022, 12:14pm UTC](https://discourse.julialang.org/t/ann-filecmp-jl/76919 "2022-02-24T12:14:27Z")

</div>

FileCmp.jl is in the General Registry. FileCmp.filecmp(path1, path2) returns true if the files at path1 and path2 are byte-for-byte equal. There was a Discourse post on this a few years ago, linked from the README link…

---

## [Accelerate pairwise damage computation](https://discourse.julialang.org/t/accelerate-pairwise-damage-computation/76278)

<div class="topic-metadata">

**Author:** [@maphdze](https://discourse.julialang.org/u/maphdze)\
**Replies:** 12\
**Last updated:** [February 24, 2022, 10:06am UTC](https://discourse.julialang.org/t/accelerate-pairwise-damage-computation/76278 "2022-02-24T10:06:56Z")

</div>

Can someone help me to accelerate the pairwise damage computation? This problem is very similar to the one in Accelerate pairwise L-J force computation. And I adopted the conclusion that the pairlist should be sorted fir…

---

## [Type computation: numerical type with twice more bits](https://discourse.julialang.org/t/type-computation-numerical-type-with-twice-more-bits/77000)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 3\
**Last updated:** [February 24, 2022, 9:42am UTC](https://discourse.julialang.org/t/type-computation-numerical-type-with-twice-more-bits/77000 "2022-02-24T09:42:47Z")

</div>

I’m trying to write a generic function accepting two Integers as arguments. The function will need a local variable storing the product of the two integers. So if the functions arguments are of type Int16, the local vari…

---

## [CUDA doesn't work](https://discourse.julialang.org/t/cuda-doesnt-work/75596)

<div class="topic-metadata">

**Author:** [@vietanh.do](https://discourse.julialang.org/u/vietanh.do)\
**Replies:** 3\
**Last updated:** [February 24, 2022, 9:20am UTC](https://discourse.julialang.org/t/cuda-doesnt-work/75596 "2022-02-24T09:20:54Z")

</div>

Hi there. I want to train the data through GPU. CUDA.jl ist installed, but when I check the Cuda function like has\_cuda(), it returns false. I have done these following things: all the drivers and programms updated (C…

---

## [MbedTLS requires cmake for install, can it be avoided?](https://discourse.julialang.org/t/mbedtls-requires-cmake-for-install-can-it-be-avoided/77011)

<div class="topic-metadata">

**Author:** [@xor0110](https://discourse.julialang.org/u/xor0110)\
**Replies:** 0\
**Last updated:** [February 24, 2022, 8:41am UTC](https://discourse.julialang.org/t/mbedtls-requires-cmake-for-install-can-it-be-avoided/77011 "2022-02-24T08:41:58Z")

</div>

I’m running a Julia HTTP application in a container, and I noticed that installing MbedTLS required me to install cmake, g++, etc in order to build something. I understand that binary dependencies are ideally satisfied b…

---

## [Error Compiling Julia on Apple M1](https://discourse.julialang.org/t/error-compiling-julia-on-apple-m1/76450)

<div class="topic-metadata">

**Author:** [@SEA](https://discourse.julialang.org/u/SEA)\
**Replies:** 5\
**Last updated:** [February 24, 2022, 5:51am UTC](https://discourse.julialang.org/t/error-compiling-julia-on-apple-m1/76450 "2022-02-24T05:51:11Z")

</div>

I am running into an error while compiling Julia from GitHub (both using today’s master and using this commit) on an M1 chip. I’d highly appreciate any help in resolving this. The specific error message is: make\[1\]: \*\*\*…

---

## [Embed python packages into julia](https://discourse.julialang.org/t/embed-python-packages-into-julia/76989)

<div class="topic-metadata">

**Author:** [@xspeng](https://discourse.julialang.org/u/xspeng)\
**Replies:** 4\
**Last updated:** [February 24, 2022, 1:29am UTC](https://discourse.julialang.org/t/embed-python-packages-into-julia/76989 "2022-02-24T01:29:12Z")

</div>

Hi, I have a problem with loading python package dragonfly into julia and call it, don’t know why, since with the same way it works for another case here https://discourse.julialang.org/t/call-python-packages-from-juli…

---

## [Performance issues with CartesianIndices](https://discourse.julialang.org/t/performance-issues-with-cartesianindices/76990)

<div class="topic-metadata">

**Author:** [@nchisholm](https://discourse.julialang.org/u/nchisholm)\
**Replies:** 5\
**Last updated:** [February 24, 2022, 2:54am UTC](https://discourse.julialang.org/t/performance-issues-with-cartesianindices/76990 "2022-02-24T02:54:19Z")

</div>

I am encountering a handful of performance issues using CartesianIndices (versus using hard-coded nested for loops) to write dimension-agnostic code: There is apparent runtime cost associated with using type parameters…

---

## [A Python-like breakpoint](https://discourse.julialang.org/t/a-python-like-breakpoint/76998)

<div class="topic-metadata">

**Author:** [@astrobc1](https://discourse.julialang.org/u/astrobc1)\
**Replies:** 2\
**Last updated:** [February 24, 2022, 1:17am UTC](https://discourse.julialang.org/t/a-python-like-breakpoint/76998 "2022-02-24T01:17:22Z")

</div>

What’s the easiest way to implement/utilize a Python-like breakpoint? I know of Debugger.jl and the @bp macro, and it seems Julia has the potential to be far more powerful than Python’s breakpoint(), but I can’t figure o…

---

## [Anderson-Darling test pvalue](https://discourse.julialang.org/t/anderson-darling-test-pvalue/76929)

<div class="topic-metadata">

**Author:** [@as4831](https://discourse.julialang.org/u/as4831)\
**Replies:** 5\
**Last updated:** [February 23, 2022, 10:37pm UTC](https://discourse.julialang.org/t/anderson-darling-test-pvalue/76929 "2022-02-23T22:37:12Z")

</div>

Hi everyone, I’m using an Anderson-Darling test to check for normality and am unsure about the results. I am expecting to reject at the .01 level with a p-value around .008. The pvalue() call on the OneSampleADTest retur…

---

## [Trying to understand parallel performance in Turing](https://discourse.julialang.org/t/trying-to-understand-parallel-performance-in-turing/74963)

<div class="topic-metadata">

**Author:** [@Pablo\_Marchant](https://discourse.julialang.org/u/Pablo_Marchant)\
**Replies:** 6\
**Last updated:** [February 23, 2022, 10:00pm UTC](https://discourse.julialang.org/t/trying-to-understand-parallel-performance-in-turing/74963 "2022-02-23T22:00:44Z")

</div>

Hi! I’ve been learning Turing for the last couple of weeks and while trying to make the most out of the 8 cores in my computer, I realized performance was not scaling as I expected when sampling multiple chains with mul…

---

## [Unexpected Allocations with Multiple Dispatch](https://discourse.julialang.org/t/unexpected-allocations-with-multiple-dispatch/76988)

<div class="topic-metadata">

**Author:** [@pulsipher](https://discourse.julialang.org/u/pulsipher)\
**Replies:** 2\
**Last updated:** [February 23, 2022, 9:53pm UTC](https://discourse.julialang.org/t/unexpected-allocations-with-multiple-dispatch/76988 "2022-02-23T21:53:58Z")

</div>

I am setting up a multiple dispatch structure and get unexpected allocations when I use more than 3 dispatch types as illustrated in the MWE below: Consider the following composite types: for T in (:A, :B, :C) @eva…

---

## [Tag each unique combination of column values in DataFrames](https://discourse.julialang.org/t/tag-each-unique-combination-of-column-values-in-dataframes/76203)

<div class="topic-metadata">

**Author:** [@Gabriel\_Kreindler](https://discourse.julialang.org/u/Gabriel_Kreindler)\
**Replies:** 5\
**Last updated:** [February 23, 2022, 9:25pm UTC](https://discourse.julialang.org/t/tag-each-unique-combination-of-column-values-in-dataframes/76203 "2022-02-23T21:25:21Z")

</div>

I have columns c1,c2, …, cN in a dataframe and I would like to create a column c\_new that takes a unique numeric value for each unique combination of values of c1,…, cN. If there a function to achieve this? (In Stata I…

---

## [Neptune: how to execute the whole notebook / all its cells?](https://discourse.julialang.org/t/neptune-how-to-execute-the-whole-notebook-all-its-cells/76813)

<div class="topic-metadata">

**Author:** [@reumle](https://discourse.julialang.org/u/reumle)\
**Replies:** 2\
**Last updated:** [February 23, 2022, 8:54pm UTC](https://discourse.julialang.org/t/neptune-how-to-execute-the-whole-notebook-all-its-cells/76813 "2022-02-23T20:54:25Z")

</div>

Hi , I use Neptune (it is terrific for debugging some workflows). From time to time I would like to rerun all the cells in the notebook. Currently I have to go to every single cell an rerun it individually (point and cli…

---

## [WMS - Web Map Services displays](https://discourse.julialang.org/t/wms-web-map-services-displays/14483)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 12\
**Last updated:** [February 23, 2022, 8:30pm UTC](https://discourse.julialang.org/t/wms-web-map-services-displays/14483 "2022-02-23T20:30:45Z")

</div>

May I ask if anyone is familiar with WMS displays of data Web Map Service - MATLAB & Simulink - MathWorks United Kingdom Web Map Service - Wikipedia I ask for a good reason, as I would like to do some example plots usi…

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

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