# Latest

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

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

**Page:** 1232

---

## [Creating a video "file" and sending it to a web server without saving it to disk](https://discourse.julialang.org/t/creating-a-video-file-and-sending-it-to-a-web-server-without-saving-it-to-disk/70074)

<div class="topic-metadata">

**Author:** [@adriano.vilela](https://discourse.julialang.org/u/adriano.vilela)\
**Replies:** 2\
**Last updated:** [October 21, 2021, 3:08pm UTC](https://discourse.julialang.org/t/creating-a-video-file-and-sending-it-to-a-web-server-without-saving-it-to-disk/70074 "2021-10-21T15:08:17Z")

</div>

Hi, I’m working on a problem where I need to encode a video and send it to a web server. I’m using VideoIO.jl to encode the video, as shown here: https://juliaio.github.io/VideoIO.jl/stable/writing/ The link above sh…

---

## [Build failure for release-1.7 branch on Ubuntu 21.10](https://discourse.julialang.org/t/build-failure-for-release-1-7-branch-on-ubuntu-21-10/70160)

<div class="topic-metadata">

**Author:** [@dmbates](https://discourse.julialang.org/u/dmbates)\
**Replies:** 0\
**Last updated:** [October 21, 2021, 3:06pm UTC](https://discourse.julialang.org/t/build-failure-for-release-1-7-branch-on-ubuntu-21-10/70160 "2021-10-21T15:06:06Z")

</div>

I recently updated to Ubuntu 21.10 which uses gcc version 11.2.0. I noticed that the VERSION in the release-1.7 branch of the Julia sources has been changed to 1.7.0-rc2 and tried to compile it. I am consistently encou…

---

## [How to distribute standalone Julia applications to non-programmers?](https://discourse.julialang.org/t/how-to-distribute-standalone-julia-applications-to-non-programmers/70151)

<div class="topic-metadata">

**Author:** [@greatpet](https://discourse.julialang.org/u/greatpet)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 2:39pm UTC](https://discourse.julialang.org/t/how-to-distribute-standalone-julia-applications-to-non-programmers/70151 "2021-10-21T14:39:08Z")

</div>

I’d like to distribute standalone applications written in Julia to users who don’t program in Julia, and I want the installation process to be as easy as possible. The user may be using a remote cluster with an outdated …

---

## [Arrays of arrays and arrays of structures in CUDA kernels cause random errors](https://discourse.julialang.org/t/arrays-of-arrays-and-arrays-of-structures-in-cuda-kernels-cause-random-errors/69739)

<div class="topic-metadata">

**Author:** [@fedoroff](https://discourse.julialang.org/u/fedoroff)\
**Replies:** 21\
**Last updated:** [October 21, 2021, 2:21pm UTC](https://discourse.julialang.org/t/arrays-of-arrays-and-arrays-of-structures-in-cuda-kernels-cause-random-errors/69739 "2021-10-21T14:21:01Z")

</div>

Hello, I want to pass an array of structures to CUDA kernel. Each structure contains an array of CuArrays. Most of the time my code works well, but sometimes randomly I see errors of the following type: ERROR: Out-of-…

---

## [Help Converting For Loop in Python to Julia (Indexing in For Loop)](https://discourse.julialang.org/t/help-converting-for-loop-in-python-to-julia-indexing-in-for-loop/70147)

<div class="topic-metadata">

**Author:** [@PJoynt](https://discourse.julialang.org/u/PJoynt)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 1:56pm UTC](https://discourse.julialang.org/t/help-converting-for-loop-in-python-to-julia-indexing-in-for-loop/70147 "2021-10-21T13:56:02Z")

</div>

Hi All, I am trying to convert some relatively slow Python code to Julia. The code calculates the skewness of mesh elements for mixed meshes (quads and tris) based on the nodal coordinates. An example of what the code l…

---

## [Type stable return types](https://discourse.julialang.org/t/type-stable-return-types/70140)

<div class="topic-metadata">

**Author:** [@Amval](https://discourse.julialang.org/u/Amval)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 1:40pm UTC](https://discourse.julialang.org/t/type-stable-return-types/70140 "2021-10-21T13:40:14Z")

</div>

Hello, I have a question regarding type-stability and good practices. Let’s say I have a function/constructor that takes a params::Dict which has some optional fields and returns a Session struct instance with the follo…

---

## [Julia in fusion research](https://discourse.julialang.org/t/julia-in-fusion-research/26460)

<div class="topic-metadata">

**Author:** [@johnh](https://discourse.julialang.org/u/johnh)\
**Replies:** 10\
**Last updated:** [October 21, 2021, 1:18pm UTC](https://discourse.julialang.org/t/julia-in-fusion-research/26460 "2021-10-21T13:18:56Z")

</div>

Following on fromn the discussion on PIC codes. Is there much activity in using Julia for fusion and plasma simulations? Any pointers gratefully received.

---

## [\[ANN\] BioRecordsProcessing.jl - Easily process your biological records](https://discourse.julialang.org/t/ann-biorecordsprocessing-jl-easily-process-your-biological-records/70149)

<div class="topic-metadata">

**Author:** [@jonathanBieler](https://discourse.julialang.org/u/jonathanBieler)\
**Replies:** 0\
**Last updated:** [October 21, 2021, 1:10pm UTC](https://discourse.julialang.org/t/ann-biorecordsprocessing-jl-easily-process-your-biological-records/70149 "2021-10-21T13:10:53Z")

</div>

This is a small utility package that help reduce the boilerplate when processing files containing biological records (fastqs, bams, vcfs, …). It deals with files management, opening & closing readers and writers, process…

---

## [Is there a defined minimal interface for a type to work with SparseArrays?](https://discourse.julialang.org/t/is-there-a-defined-minimal-interface-for-a-type-to-work-with-sparsearrays/69602)

<div class="topic-metadata">

**Author:** [@suavesito](https://discourse.julialang.org/u/suavesito)\
**Replies:** 22\
**Last updated:** [October 21, 2021, 1:05pm UTC](https://discourse.julialang.org/t/is-there-a-defined-minimal-interface-for-a-type-to-work-with-sparsearrays/69602 "2021-10-21T13:05:14Z")

</div>

Hi! I’ve been trying to use Symbolics + SparseArrays, but I get errors because in SparseArrays to check for zeros it is used != 0 and that doesn’t work with Num. I learned about 30573 in which they discuss about this e…

---

## [Help building Julia Pkg.jl repo locally to work on an issue](https://discourse.julialang.org/t/help-building-julia-pkg-jl-repo-locally-to-work-on-an-issue/70021)

<div class="topic-metadata">

**Author:** [@Chandu-4444](https://discourse.julialang.org/u/Chandu-4444)\
**Replies:** 6\
**Last updated:** [October 21, 2021, 12:31pm UTC](https://discourse.julialang.org/t/help-building-julia-pkg-jl-repo-locally-to-work-on-an-issue/70021 "2021-10-21T12:31:01Z")

</div>

I was working on this issue #42687. As a part of this I need to setup this repo locally. But upon following the instruction given in the repo, I followed all the steps. But I’m getting this error upon executing import Pk…

---

## [\`show\` versus \`parse\` and arrays with 2 dimensions but only one column](https://discourse.julialang.org/t/show-versus-parse-and-arrays-with-2-dimensions-but-only-one-column/70142)

<div class="topic-metadata">

**Author:** [@PGS62](https://discourse.julialang.org/u/PGS62)\
**Replies:** 4\
**Last updated:** [October 21, 2021, 12:16pm UTC](https://discourse.julialang.org/t/show-versus-parse-and-arrays-with-2-dimensions-but-only-one-column/70142 "2021-10-21T12:16:31Z")

</div>

The documentation for show states: “Write a text representation of a value x … and should be parseable Julia code when possible”. So I took that to mean that show and Main.eval(Meta.parse()) should (if poss) be inverses …

---

## [Hands-On Julia Programming - Available now](https://discourse.julialang.org/t/hands-on-julia-programming-available-now/70145)

<div class="topic-metadata">

**Author:** [@sambitdash](https://discourse.julialang.org/u/sambitdash)\
**Replies:** 1\
**Last updated:** [October 21, 2021, 11:26am UTC](https://discourse.julialang.org/t/hands-on-julia-programming-available-now/70145 "2021-10-21T11:26:36Z")

</div>

Hi All, As some of you are aware and have been helping me by reviewing the content, the book has been released by BPB Publications. Finally, the rubber hits the road… Intended for professional programmers who are con…

---

## [I think there is a memory leak either in julia or in HTTP.jl](https://discourse.julialang.org/t/i-think-there-is-a-memory-leak-either-in-julia-or-in-http-jl/68990)

<div class="topic-metadata">

**Author:** [@Steven\_Sagaert](https://discourse.julialang.org/u/Steven_Sagaert)\
**Replies:** 8\
**Last updated:** [October 11, 2021, 3:00pm UTC](https://discourse.julialang.org/t/i-think-there-is-a-memory-leak-either-in-julia-or-in-http-jl/68990 "2021-10-11T15:00:13Z")

</div>

I have a web application that loads a trained model and then basically queries this model and shows result in handwritten html only using HTTP.jl no other web frameworks. Training the model goes fine as far a memory is …

---

## [Debugging noninterruptible program](https://discourse.julialang.org/t/debugging-noninterruptible-program/70119)

<div class="topic-metadata">

**Author:** [@goerch](https://discourse.julialang.org/u/goerch)\
**Replies:** 2\
**Last updated:** [October 21, 2021, 9:25am UTC](https://discourse.julialang.org/t/debugging-noninterruptible-program/70119 "2021-10-21T09:25:15Z")

</div>

I have a program running in the Juno Julia console, which under unclear circumstances seems to diverge. The Juno command Interrupt Julia doesn’t seem to work. Any hints how to debug in this scenario? Thank you. NB: this…

---

## [Turing Model: Multiple return variables](https://discourse.julialang.org/t/turing-model-multiple-return-variables/70039)

<div class="topic-metadata">

**Author:** [@Temi-Tory](https://discourse.julialang.org/u/Temi-Tory)\
**Replies:** 3\
**Last updated:** [October 21, 2021, 9:00am UTC](https://discourse.julialang.org/t/turing-model-multiple-return-variables/70039 "2021-10-21T09:00:17Z")

</div>

Hi, I’m new to Turing and Julia and I honestly can’t figure out what I am doing wrong here. I have a model that I want to return: an array and of Boolean values of N values eg: \[true, false, true, false\] An integer va…

---

## [Reviewers needed for a book on Julia programming](https://discourse.julialang.org/t/reviewers-needed-for-a-book-on-julia-programming/62717)

<div class="topic-metadata">

**Author:** [@sambitdash](https://discourse.julialang.org/u/sambitdash)\
**Replies:** 5\
**Last updated:** [October 21, 2021, 8:42am UTC](https://discourse.julialang.org/t/reviewers-needed-for-a-book-on-julia-programming/62717 "2021-10-21T08:42:15Z")

</div>

Hi All, It gives me immense pleasure to share that I have finished writing a book titled Hands-On Julia Programming. The book is for professional programmers who will like to understand Julia and use it for their produc…

---

## [Package ExprRules - defining a grammar by referencing a vector](https://discourse.julialang.org/t/package-exprrules-defining-a-grammar-by-referencing-a-vector/70132)

<div class="topic-metadata">

**Author:** [@anneJulia](https://discourse.julialang.org/u/anneJulia)\
**Replies:** 2\
**Last updated:** [October 21, 2021, 8:26am UTC](https://discourse.julialang.org/t/package-exprrules-defining-a-grammar-by-referencing-a-vector/70132 "2021-10-21T08:26:37Z")

</div>

I am trying to define a boolean expression grammar which has changing rules. I would like to reference a vector of strings, to then change certain production rules of the grammar. The following minimal working example i…

---

## [Looking for MG solver for sparse matrix on GPU](https://discourse.julialang.org/t/looking-for-mg-solver-for-sparse-matrix-on-gpu/61347)

<div class="topic-metadata">

**Author:** [@Ludovic\_Dumoulin](https://discourse.julialang.org/u/Ludovic_Dumoulin)\
**Replies:** 7\
**Last updated:** [October 21, 2021, 8:24am UTC](https://discourse.julialang.org/t/looking-for-mg-solver-for-sparse-matrix-on-gpu/61347 "2021-10-21T08:24:27Z")

</div>

Hey, I’m looking for an algebraic multigrid solver that run on GPU. The AlgebraicMultigrid.jl package is not compatible with CUDA and I can’t find other package. I could use the AMGX library in Cuda and C++ but then I’l…

---

## [How group nodes if a path exists between nodes?](https://discourse.julialang.org/t/how-group-nodes-if-a-path-exists-between-nodes/70127)

<div class="topic-metadata">

**Author:** [@Manu\_Francis](https://discourse.julialang.org/u/Manu_Francis)\
**Replies:** 1\
**Last updated:** [October 21, 2021, 8:15am UTC](https://discourse.julialang.org/t/how-group-nodes-if-a-path-exists-between-nodes/70127 "2021-10-21T08:15:55Z")

</div>

Hi, If I have some nodes coordinates and I have to group these nodes together if there is path exist between them. Is there any algorithm available? The graph structure looks like below: # Load the packages using Ligh…

---

## [Attaching simple metadata to types](https://discourse.julialang.org/t/attaching-simple-metadata-to-types/70131)

<div class="topic-metadata">

**Author:** [@Jae-Mo\_Lihm](https://discourse.julialang.org/u/Jae-Mo_Lihm)\
**Replies:** 1\
**Last updated:** [October 21, 2021, 7:25am UTC](https://discourse.julialang.org/t/attaching-simple-metadata-to-types/70131 "2021-10-21T07:25:16Z")

</div>

I want to create an object that behaves identically as some existing type (StructArrays in my case), but with some metadata. So x::StructArrayWithMeta, that does what StructArray does, and also has a x.meta1 field. Hav…

---

## [Flux model corresponding to PyTorch nn.BatchNorm1d](https://discourse.julialang.org/t/flux-model-corresponding-to-pytorch-nn-batchnorm1d/70125)

<div class="topic-metadata">

**Author:** [@RedDocMD](https://discourse.julialang.org/u/RedDocMD)\
**Replies:** 4\
**Last updated:** [October 21, 2021, 6:11am UTC](https://discourse.julialang.org/t/flux-model-corresponding-to-pytorch-nn-batchnorm1d/70125 "2021-10-21T06:11:13Z")

</div>

Flux provides several different normalization “models” to model normalization layers. Which one of them corresponds to the PyTorch’s nn.BatchNorm1d?

---

## [Map and reduce with multiple parameters](https://discourse.julialang.org/t/map-and-reduce-with-multiple-parameters/70109)

<div class="topic-metadata">

**Author:** [@Bardo](https://discourse.julialang.org/u/Bardo)\
**Replies:** 8\
**Last updated:** [October 21, 2021, 4:35am UTC](https://discourse.julialang.org/t/map-and-reduce-with-multiple-parameters/70109 "2021-10-21T04:35:39Z")

</div>

The following Python-to-Julia exercise is taken from https://maryrosecook.com/blog/post/a-practical-introduction-to-functional-programming Generally I am having difficulties with map and reduce when dealing with multip…

---

## [How to conduct multiple steps within Matlab using MATLAB.jl?](https://discourse.julialang.org/t/how-to-conduct-multiple-steps-within-matlab-using-matlab-jl/70116)

<div class="topic-metadata">

**Author:** [@leon](https://discourse.julialang.org/u/leon)\
**Replies:** 1\
**Last updated:** [October 20, 2021, 10:59pm UTC](https://discourse.julialang.org/t/how-to-conduct-multiple-steps-within-matlab-using-matlab-jl/70116 "2021-10-20T22:59:17Z")

</div>

I have a Matlab table called T1 stored in the file F1. Below is what I’m trying to do using MATLAB.jl, but it does not work. What did I do wrong? using MATLAB F1 = "/Path/Test.mat"; @mput F1; eval\_string("load F1;"); ev…

---

## [How to format a float in annotate](https://discourse.julialang.org/t/how-to-format-a-float-in-annotate/70073)

<div class="topic-metadata">

**Author:** [@hdcpereira](https://discourse.julialang.org/u/hdcpereira)\
**Replies:** 2\
**Last updated:** [October 20, 2021, 9:09pm UTC](https://discourse.julialang.org/t/how-to-format-a-float-in-annotate/70073 "2021-10-20T21:09:32Z")

</div>

I’m trying to annotate something in a plot but i’m unable to format the floats i’m working with. I’m trying to change the precision of the float, is it possible with annotate or do I need to do it outside the annotate fu…

---

## [JuMP installation issue in Julia v1.6](https://discourse.julialang.org/t/jump-installation-issue-in-julia-v1-6/58721)

<div class="topic-metadata">

**Author:** [@erans](https://discourse.julialang.org/u/erans)\
**Replies:** 20\
**Last updated:** [October 20, 2021, 4:29pm UTC](https://discourse.julialang.org/t/jump-installation-issue-in-julia-v1-6/58721 "2021-10-20T16:29:07Z")

</div>

Hello, Something rather strange just happened when I tried to use JuMP with Julia v1.6 and I’m curious if it’s a bug, or if I can get some explanation on why something like this would happen. (I hope this is the approp…

---

## [Integer Optimization: performance help](https://discourse.julialang.org/t/integer-optimization-performance-help/67524)

<div class="topic-metadata">

**Author:** [@jmcastro2109](https://discourse.julialang.org/u/jmcastro2109)\
**Replies:** 11\
**Last updated:** [October 20, 2021, 10:10pm UTC](https://discourse.julialang.org/t/integer-optimization-performance-help/67524 "2021-10-20T22:10:50Z")

</div>

Hello, I am working with an integer optimization problem and I am looking for ways to speed the code up. The math problem is the following I am sampling K different outcomes of the random variable \\omega^{k} which in t…

---

## [Has any one tried Julia on Windows 11?](https://discourse.julialang.org/t/has-any-one-tried-julia-on-windows-11/69530)

<div class="topic-metadata">

**Author:** [@PetrKryslUCSD](https://discourse.julialang.org/u/PetrKryslUCSD)\
**Replies:** 3\
**Last updated:** [October 20, 2021, 9:58pm UTC](https://discourse.julialang.org/t/has-any-one-tried-julia-on-windows-11/69530 "2021-10-20T21:58:08Z")

</div>

MS has already started harassing me to update to W11. Has any one been brave enough to try it?

---

## ['Stale File Handle' Error When Submitting Job Array on SLURM](https://discourse.julialang.org/t/stale-file-handle-error-when-submitting-job-array-on-slurm/70108)

<div class="topic-metadata">

**Author:** [@dleather](https://discourse.julialang.org/u/dleather)\
**Replies:** 1\
**Last updated:** [October 20, 2021, 9:20pm UTC](https://discourse.julialang.org/t/stale-file-handle-error-when-submitting-job-array-on-slurm/70108 "2021-10-20T21:20:48Z")

</div>

I’m attempting to submit a large number of jobs on an HPC running SLURM. The code runs fine when submitting a single job at a time, but I am submitting 4000 jobs at once. The error is as follows: ERROR: SystemError: cl…

---

## [Problems with quotient modules (AbstractAlgebra)](https://discourse.julialang.org/t/problems-with-quotient-modules-abstractalgebra/70071)

<div class="topic-metadata">

**Author:** [@Gilles\_Dubois](https://discourse.julialang.org/u/Gilles_Dubois)\
**Replies:** 4\
**Last updated:** [October 20, 2021, 9:17pm UTC](https://discourse.julialang.org/t/problems-with-quotient-modules-abstractalgebra/70071 "2021-10-20T21:17:06Z")

</div>

Hi everybody ! Here’s the ‘coercions’ paragraph of the ‘modules’ chapter of AbstractAlgebra package doc. https://nemocas.github.io/AbstractAlgebra.jl/dev/module/ Coercions Given a module M and an element n of a modul…

---

## [Plotting basic bifurcation diagram using DiffEq and BifurcationKit.jl](https://discourse.julialang.org/t/plotting-basic-bifurcation-diagram-using-diffeq-and-bifurcationkit-jl/69957)

<div class="topic-metadata">

**Author:** [@affans](https://discourse.julialang.org/u/affans)\
**Replies:** 3\
**Last updated:** [October 20, 2021, 5:17pm UTC](https://discourse.julialang.org/t/plotting-basic-bifurcation-diagram-using-diffeq-and-bifurcationkit-jl/69957 "2021-10-20T17:17:02Z")

</div>

I am trying to plot a very basic bifurcation plot of my simple first order ODE. using DifferentialEquations using Gnuplot using BifurcationKit # this definition makes the dI a vector so have to send in vector initial c…

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

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