# Latest

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

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

**Page:** 962

---

## [Precompile a script?](https://discourse.julialang.org/t/precompile-a-script/5364)

<div class="topic-metadata">

**Author:** [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Replies:** 17\
**Last updated:** [August 5, 2022, 11:52am UTC](https://discourse.julialang.org/t/precompile-a-script/5364 "2022-08-05T11:52:29Z")

</div>

Is there a way to precompile a script, so that I can execute it in batch fast?

---

## [\[ANN\] BetaML v 0.7 New Missing values imputers and "standardised" fit!/predict API](https://discourse.julialang.org/t/ann-betaml-v-0-7-new-missing-values-imputers-and-standardised-fit-predict-api/85167)

<div class="topic-metadata">

**Author:** [@sylvaticus](https://discourse.julialang.org/u/sylvaticus)\
**Replies:** 0\
**Last updated:** [August 2, 2022, 2:15pm UTC](https://discourse.julialang.org/t/ann-betaml-v-0-7-new-missing-values-imputers-and-standardised-fit-predict-api/85167 "2022-08-02T14:15:06Z")

</div>

Hello all, I have just released a “big” new release of BetaML.jl, the Machine Learning toolbox of the Bureau d’Économie Théorique et Appliquée (“BETA”) of Nancy, a repository with several Machine Learning algorithms (lin…

---

## [Create gif from saved images](https://discourse.julialang.org/t/create-gif-from-saved-images/85146)

<div class="topic-metadata">

**Author:** [@Sergey\_Novak](https://discourse.julialang.org/u/Sergey_Novak)\
**Replies:** 19\
**Last updated:** [August 5, 2022, 9:33am UTC](https://discourse.julialang.org/t/create-gif-from-saved-images/85146 "2022-08-05T09:33:56Z")

</div>

I have 3000 images.They are the result of calculations on Julia. This images is a graphic of probablity density function (PDF), time series and lyapunov spectrum. How can i create gif from images PDF, time series and lya…

---

## [Open zip file with non UTF-8 encoding](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241)

<div class="topic-metadata">

**Author:** [@julien\_goo](https://discourse.julialang.org/u/julien_goo)\
**Replies:** 1\
**Last updated:** [August 5, 2022, 9:14am UTC](https://discourse.julialang.org/t/open-zip-file-with-non-utf-8-encoding/85241 "2022-08-05T09:14:44Z")

</div>

Hi all, I want to download a file and unzip the only file in the archive to feed a CSV.File (Energy data for a France region from https://eco2mix.rte-france.com/download/eco2mix/eCO2mix\_RTE\_Auvergne-Rhône-Alpes\_En-cours…

---

## [SVG to RGB: How to save a series of svg images to video?](https://discourse.julialang.org/t/svg-to-rgb-how-to-save-a-series-of-svg-images-to-video/85309)

<div class="topic-metadata">

**Author:** [@rakeshvar](https://discourse.julialang.org/u/rakeshvar)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 8:11am UTC](https://discourse.julialang.org/t/svg-to-rgb-how-to-save-a-series-of-svg-images-to-video/85309 "2022-08-05T08:11:08Z")

</div>

My code generates a series of svg images as text. Now I want to save them as an animated video. Here is a MWE. svgtxt = """ \<svg width="100%" height="100%" viewBox="30 57 1102 582"\> \<g style="stroke:#f00; stroke-width…

---

## [Is it possible to add reliable tests that functions do not allocate?](https://discourse.julialang.org/t/is-it-possible-to-add-reliable-tests-that-functions-do-not-allocate/85320)

<div class="topic-metadata">

**Author:** [@heyx3](https://discourse.julialang.org/u/heyx3)\
**Replies:** 4\
**Last updated:** [August 5, 2022, 7:50am UTC](https://discourse.julialang.org/t/is-it-possible-to-add-reliable-tests-that-functions-do-not-allocate/85320 "2022-08-05T07:50:59Z")

</div>

I’m working on a project involving 3D graphics. In this sort of domain, you create a lot of short-term vector and matrix data of a constant size (usually 2D, 3D, and 4D). As well as quaternions, which are stored like a 4…

---

## [Julia 1.7.3 on Fedora 33](https://discourse.julialang.org/t/julia-1-7-3-on-fedora-33/85289)

<div class="topic-metadata">

**Author:** [@Dario-Rosa85](https://discourse.julialang.org/u/Dario-Rosa85)\
**Replies:** 2\
**Last updated:** [August 5, 2022, 7:24am UTC](https://discourse.julialang.org/t/julia-1-7-3-on-fedora-33/85289 "2022-08-05T07:24:44Z")

</div>

Hi all, I am running some codes in a old server which still uses Fedora 33. I installed Julia via dnf (here is a link to the procedure I followed) but it installed only the version 1.5.3. Do you know how to get the 1.7.…

---

## [Using perf top with non-stdlib julia code](https://discourse.julialang.org/t/using-perf-top-with-non-stdlib-julia-code/85322)

<div class="topic-metadata">

**Author:** [@ikirill](https://discourse.julialang.org/u/ikirill)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 4:46am UTC](https://discourse.julialang.org/t/using-perf-top-with-non-stdlib-julia-code/85322 "2022-08-05T04:46:51Z")

</div>

When running sudo perf top -p $(pidof -s julia) on a running Julia process, none of the function addresses are resolved to names: Samples: 39K of event 'cycles', 4000 Hz, Event count (approx.): 22211461168 lost: 0/0 dro…

---

## [How can I swap columns of InMemoryDatasets?](https://discourse.julialang.org/t/how-can-i-swap-columns-of-inmemorydatasets/84808)

<div class="topic-metadata">

**Author:** [@ufechner7](https://discourse.julialang.org/u/ufechner7)\
**Replies:** 3\
**Last updated:** [August 5, 2022, 4:38am UTC](https://discourse.julialang.org/t/how-can-i-swap-columns-of-inmemorydatasets/84808 "2022-08-05T04:38:33Z")

</div>

I have the following example: using InMemoryDatasets g1 = repeat(1:6, inner = 4); g2 = repeat(1:4, 6); y = \["d8888b. ", " .d8b. ", "d888888b ", " .d8b. ", "88 \`8D ", "d8' \`8b ", "\`~~88~~' ", " d8' \`…

---

## [Issues using multithreading with Combinatorics](https://discourse.julialang.org/t/issues-using-multithreading-with-combinatorics/85318)

<div class="topic-metadata">

**Author:** [@Philip\_Stuckey](https://discourse.julialang.org/u/Philip_Stuckey)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 11:44pm UTC](https://discourse.julialang.org/t/issues-using-multithreading-with-combinatorics/85318 "2022-08-04T23:44:56Z")

</div>

When I try to run the following code using Combinatorics using Base.Threads five\_letter\_words = \["taxis", "deans", "krone", "unset", "other", "ovens", "spilt", "yanks", "flout", "clang"\] @threads :static for combo in co…

---

## [Type conversions with 2π (2pi) and how to avoid them](https://discourse.julialang.org/t/type-conversions-with-2-2pi-and-how-to-avoid-them/85168)

<div class="topic-metadata">

**Author:** [@roflmaostc](https://discourse.julialang.org/u/roflmaostc)\
**Replies:** 15\
**Last updated:** [August 4, 2022, 10:50pm UTC](https://discourse.julialang.org/t/type-conversions-with-2-2pi-and-how-to-avoid-them/85168 "2022-08-04T22:50:08Z")

</div>

Hi! Quite often I write expressions such as: julia\> x = randn(Float32, (2, 2)); julia\> typeof(pi) Irrational{:π} julia\> x ./ π # all good 2×2 Matrix{Float32}: -0.22765 -0.10363 0.0520012 0.129431 julia\> x ./…

---

## [\`using SomePackage\` in block](https://discourse.julialang.org/t/using-somepackage-in-block/85314)

<div class="topic-metadata">

**Author:** [@TheLateKronos](https://discourse.julialang.org/u/TheLateKronos)\
**Replies:** 3\
**Last updated:** [August 4, 2022, 10:48pm UTC](https://discourse.julialang.org/t/using-somepackage-in-block/85314 "2022-08-04T22:48:25Z")

</div>

How can I call using SomePackage to load a package inside a block? Be it begin, a function, or any other block. Here is my attempts at loading GLMakie in a block: julia\> begin using GLMakie L"f(x)…

---

## [\[ANN\] SimpleFeatures.jl: Working with simple feature GIS data in Julia](https://discourse.julialang.org/t/ann-simplefeatures-jl-working-with-simple-feature-gis-data-in-julia/85313)

<div class="topic-metadata">

**Author:** [@acgold](https://discourse.julialang.org/u/acgold)\
**Replies:** 6\
**Last updated:** [August 4, 2022, 8:50pm UTC](https://discourse.julialang.org/t/ann-simplefeatures-jl-working-with-simple-feature-gis-data-in-julia/85313 "2022-08-04T20:50:48Z")

</div>

Hi everyone! I’m excited to announce a new package called SimpleFeatures.jl. This package is used to work with vector GIS data in Julia. This package: Works with feature data as a DataFrame. Stores coordinate ref…

---

## [Can stiff ODE methods have an interpolant of the same order?](https://discourse.julialang.org/t/can-stiff-ode-methods-have-an-interpolant-of-the-same-order/85278)

<div class="topic-metadata">

**Author:** [@xzackli](https://discourse.julialang.org/u/xzackli)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 8:25pm UTC](https://discourse.julialang.org/t/can-stiff-ode-methods-have-an-interpolant-of-the-same-order/85278 "2022-08-04T20:25:00Z")

</div>

Are there implicit methods that generate a continuous extension (i.e. dense output) at the same order as the integration? Many non-stiff solvers have this property, but I don’t know of any 4th or 5th order implicit solve…

---

## [State maintained by the Julia Package Ststem](https://discourse.julialang.org/t/state-maintained-by-the-julia-package-ststem/85316)

<div class="topic-metadata">

**Author:** [@Mark\_Nahabedian](https://discourse.julialang.org/u/Mark_Nahabedian)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 8:20pm UTC](https://discourse.julialang.org/t/state-maintained-by-the-julia-package-ststem/85316 "2022-08-04T20:20:49Z")

</div>

The Julia Package system maintains various loci of state for each package. The ones I can think of off the top of my head are the General registry on GitHub the user’s local copy of the General registry in .julia/regi…

---

## [Jupyter not finding Julia 1.5.1](https://discourse.julialang.org/t/jupyter-not-finding-julia-1-5-1/47146)

<div class="topic-metadata">

**Author:** [@matthew-wingate](https://discourse.julialang.org/u/matthew-wingate)\
**Replies:** 3\
**Last updated:** [August 4, 2022, 7:59pm UTC](https://discourse.julialang.org/t/jupyter-not-finding-julia-1-5-1/47146 "2022-08-04T19:59:12Z")

</div>

Hi. Usually when I want to install a new version of julia kernel for use in a jupyter notebook, I follow the follow these steps: Install julia (say v1.5.1) Run julia from a command line. julia\> using Pkg; Pkg.add("IJul…

---

## [Determining size of DataFrame for memory management](https://discourse.julialang.org/t/determining-size-of-dataframe-for-memory-management/85277)

<div class="topic-metadata">

**Author:** [@dlakelan](https://discourse.julialang.org/u/dlakelan)\
**Replies:** 35\
**Last updated:** [August 4, 2022, 6:43pm UTC](https://discourse.julialang.org/t/determining-size-of-dataframe-for-memory-management/85277 "2022-08-04T18:43:46Z")

</div>

I’m working on some data analysis, and I don’t have as much RAM as I’d ideally like. I’m building a variety of datasets by joining several together etc. I’d like to get a list of all objects in the global environment, f…

---

## [What to do when Julia runs away from you? (how to interrupt on C-c?)](https://discourse.julialang.org/t/what-to-do-when-julia-runs-away-from-you-how-to-interrupt-on-c-c/85310)

<div class="topic-metadata">

**Author:** [@Brad\_Carman](https://discourse.julialang.org/u/Brad_Carman)\
**Replies:** 2\
**Last updated:** [August 4, 2022, 6:26pm UTC](https://discourse.julialang.org/t/what-to-do-when-julia-runs-away-from-you-how-to-interrupt-on-c-c/85310 "2022-08-04T18:26:19Z")

</div>

I’m currently working on a model that somehow get’s in a solving loop that I can’t cancel with Ctrl+C. To prove this I’m printing to the console from within the while loop that is running away. I can see the print stat…

---

## [RobotOS publishing PointCloud](https://discourse.julialang.org/t/robotos-publishing-pointcloud/85311)

<div class="topic-metadata">

**Author:** [@ga72kud](https://discourse.julialang.org/u/ga72kud)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 6:01pm UTC](https://discourse.julialang.org/t/robotos-publishing-pointcloud/85311 "2022-08-04T18:01:32Z")

</div>

I am using Pointclouds in ROS and Julia Lang with RobotOS.jl I am able to create a random pointcloud, but I have trouble in specifying the right colors. It is in RGB8.

---

## [Julia Gender Inclusive coffee meet-up with Letícia Maria Pequeno Madureira](https://discourse.julialang.org/t/julia-gender-inclusive-coffee-meet-up-with-leticia-maria-pequeno-madureira/85308)

<div class="topic-metadata">

**Author:** [@kimauth](https://discourse.julialang.org/u/kimauth)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 5:14pm UTC](https://discourse.julialang.org/t/julia-gender-inclusive-coffee-meet-up-with-leticia-maria-pequeno-madureira/85308 "2022-08-04T17:14:54Z")

</div>

How we became quantum chemists using Julia Hey everyone! Julia Gender Inclusive invites you to the next coffee meetup on Sunday, 7th of August at 11AM EDT / 3pm UTC / 5pm CEST / 8:30 pm IST! Sign-up here for a link to …

---

## [Write jld2 files to s3 bucket](https://discourse.julialang.org/t/write-jld2-files-to-s3-bucket/85307)

<div class="topic-metadata">

**Author:** [@sunayana](https://discourse.julialang.org/u/sunayana)\
**Replies:** 0\
**Last updated:** [August 4, 2022, 5:00pm UTC](https://discourse.julialang.org/t/write-jld2-files-to-s3-bucket/85307 "2022-08-04T17:00:48Z")

</div>

Hi, I would like to write a jld2 file to an s3 bucket. Since I cannot use the save function from JLD2 library directly any suggestion on how to do this is much appreciated. Thanks!

---

## [\[ANN\] Clarabel.jl: New convex optimization solver](https://discourse.julialang.org/t/ann-clarabel-jl-new-convex-optimization-solver/83915)

<div class="topic-metadata">

**Author:** [@pgoulart](https://discourse.julialang.org/u/pgoulart)\
**Replies:** 20\
**Last updated:** [August 4, 2022, 4:39pm UTC](https://discourse.julialang.org/t/ann-clarabel-jl-new-convex-optimization-solver/83915 "2022-08-04T16:39:29Z")

</div>

Dear Julia Optimizers, We are happy to announce the release of Clarabel.jl v0.1.0, a new interior point code for conic optimization written entirely in Julia. The code currently supports LP/QP/SOCP/SDP problems and can…

---

## [Dependencies in \`./test/Project.toml\`](https://discourse.julialang.org/t/dependencies-in-test-project-toml/85285)

<div class="topic-metadata">

**Author:** [@this\_josh](https://discourse.julialang.org/u/this_josh)\
**Replies:** 6\
**Last updated:** [August 4, 2022, 4:17pm UTC](https://discourse.julialang.org/t/dependencies-in-test-project-toml/85285 "2022-08-04T16:17:41Z")

</div>

According to the Pkg.jl docs for Julia versions \>1.2 it is recommended to create a test environment, activate ./test. Here, your package foo is automatically added and you can add relevant packages such as Test.jl. Howev…

---

## [Arithmetic on colors](https://discourse.julialang.org/t/arithmetic-on-colors/85297)

<div class="topic-metadata">

**Author:** [@rakeshvar](https://discourse.julialang.org/u/rakeshvar)\
**Replies:** 16\
**Last updated:** [August 4, 2022, 3:40pm UTC](https://discourse.julialang.org/t/arithmetic-on-colors/85297 "2022-08-04T15:40:28Z")

</div>

Hello there, I want to find the total Sum of Squared Errors of a set of colors from their mean. Using Colors. The colors and the mean look something like this, where m = mean(cols). cols\[1:10\] = RGB{FixedPointNumbers.…

---

## [Is there a way to turn off the warnings "indexing with indices obtained from 'length','size' etc is discouraged in VSCode?](https://discourse.julialang.org/t/is-there-a-way-to-turn-off-the-warnings-indexing-with-indices-obtained-from-length-size-etc-is-discouraged-in-vscode/85093)

<div class="topic-metadata">

**Author:** [@Steven\_Sagaert](https://discourse.julialang.org/u/Steven_Sagaert)\
**Replies:** 14\
**Last updated:** [August 4, 2022, 3:20pm UTC](https://discourse.julialang.org/t/is-there-a-way-to-turn-off-the-warnings-indexing-with-indices-obtained-from-length-size-etc-is-discouraged-in-vscode/85093 "2022-08-04T15:20:46Z")

</div>

I get that you want these warnings for package writers but this is an application using Base matrices and it’s never going to use any other matrices with exotic indexing and you can’t pass matrices as an argument to the …

---

## [Neural ODE works for small networks, but throws error for larger networks (getindex() method)?](https://discourse.julialang.org/t/neural-ode-works-for-small-networks-but-throws-error-for-larger-networks-getindex-method/85258)

<div class="topic-metadata">

**Author:** [@jvkoch](https://discourse.julialang.org/u/jvkoch)\
**Replies:** 4\
**Last updated:** [August 4, 2022, 3:06pm UTC](https://discourse.julialang.org/t/neural-ode-works-for-small-networks-but-throws-error-for-larger-networks-getindex-method/85258 "2022-08-04T15:06:42Z")

</div>

Hello all: I’m running into strange behavior with neural ODEs defined with composite functions and FastChain definitions. In short, the below code works w/o issue for small neural networks, but fails for larger networks…

---

## [Port conflict when running several nodes on a Slurm cluster](https://discourse.julialang.org/t/port-conflict-when-running-several-nodes-on-a-slurm-cluster/85024)

<div class="topic-metadata">

**Author:** [@matthiasbe](https://discourse.julialang.org/u/matthiasbe)\
**Replies:** 3\
**Last updated:** [August 4, 2022, 1:36pm UTC](https://discourse.julialang.org/t/port-conflict-when-running-several-nodes-on-a-slurm-cluster/85024 "2022-08-04T13:36:58Z")

</div>

Hello, I have trouble running Julia on a cluster. It randomly crashes when trying to connect the workers with addprocs() with error “connection refused”. From what I understand, the problem comes from the fact that sev…

---

## [Repetitive Matrix Addition using Threads](https://discourse.julialang.org/t/repetitive-matrix-addition-using-threads/85292)

<div class="topic-metadata">

**Author:** [@Amol\_H](https://discourse.julialang.org/u/Amol_H)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 11:30am UTC](https://discourse.julialang.org/t/repetitive-matrix-addition-using-threads/85292 "2022-08-04T11:30:37Z")

</div>

Greetings All, Please suggest how to reduce the Matrix addition using @threads. In the following example, I am trying to add 10x10 ones matrix 100 times. Ideally, the sum of all elements of the final matrix should be 10…

---

## [Error: curl\_easy\_setopt: 48](https://discourse.julialang.org/t/error-curl-easy-setopt-48/85287)

<div class="topic-metadata">

**Author:** [@emreK](https://discourse.julialang.org/u/emreK)\
**Replies:** 2\
**Last updated:** [August 4, 2022, 11:00am UTC](https://discourse.julialang.org/t/error-curl-easy-setopt-48/85287 "2022-08-04T11:00:27Z")

</div>

When I try to install a package on my personal computer, where I have v1.7.3, everything is fine. When I try it in our cluster for v1.7.3, I get the below error. This is the case for even older versions (v1.3, v1.5), wh…

---

## [Julia GLMakie plotting "contour" animation, old frames stay](https://discourse.julialang.org/t/julia-glmakie-plotting-contour-animation-old-frames-stay/85283)

<div class="topic-metadata">

**Author:** [@Kenneth\_E\_Lee](https://discourse.julialang.org/u/Kenneth_E_Lee)\
**Replies:** 1\
**Last updated:** [August 4, 2022, 10:48am UTC](https://discourse.julialang.org/t/julia-glmakie-plotting-contour-animation-old-frames-stay/85283 "2022-08-04T10:48:03Z")

</div>

Trying to use the GLMakie.record() function to make an animation of GLMakie.contour!() 3D contour plots. The code is quite classic. I will just list out the structure of it. @lift GLMakie.contour!(ax, xx.val, yy.val, zz…

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

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